IF
  Global("D0EdMae","LOCALS",1)
  AreaCheck("ar0300")
  !Dead("Maevar")
  InParty(Myself)
  Global("D0Maevar","GLOBAL",1)
THEN
  RESPONSE #100
    SetGlobal("D0EdMae","LOCALS",2)
    StartDialogueNoSet(Player1)
END

IF
  Global("D0GiveEdwinRing","GLOBAL",1)
  !HasItem("d0qprayi",Myself)
THEN
  RESPONSE #100
    SetGlobal("D0GiveEdwinRing","GLOBAL",2)
    GiveItemCreate("d0qprayi",Myself,1,0,0)
END

IF
  Global("D0GiveEdwinRing","GLOBAL",1)
  HasItem("d0qprayi",Myself)
THEN
  RESPONSE #100
    SetGlobal("D0GiveEdwinRing","GLOBAL",2)
END
