BEGIN ~flam10~

IF WEIGHT #2 ~Global("Invitation","GLOBAL",0)
NumTimesTalkedTo(0)~ THEN BEGIN 0
  SAY @7533
  IF ~~ THEN REPLY @7541 GOTO 1
  IF ~~ THEN REPLY @7542 GOTO 2
  IF ~PartyHasItem("MISC78")~ THEN REPLY @7543 GOTO 7
END

IF ~~ THEN BEGIN 1
  SAY @7534
  IF ~~ THEN DO ~Wait(5)
Shout(99)~ EXIT
END

IF ~~ THEN BEGIN 2
  SAY @7535
  IF ~~ THEN REPLY @7544 GOTO 3
  IF ~~ THEN REPLY @7545 GOTO 4
  IF ~~ THEN REPLY @7546 GOTO 5
  IF ~~ THEN REPLY @7547 GOTO 6
END

IF ~~ THEN BEGIN 3
  SAY @7536
  IF ~~ THEN DO ~Wait(5)
Shout(99)~ EXIT
END

IF ~~ THEN BEGIN 4
  SAY @7537
  IF ~~ THEN DO ~Shout(99)~ EXIT
END

IF ~~ THEN BEGIN 5
  SAY @7538
  IF ~~ THEN DO ~Shout(99)~ EXIT
END

IF ~~ THEN BEGIN 6
  SAY @7539
  IF ~~ THEN DO ~Wait(5)
Shout(99)~ EXIT
END

IF ~~ THEN BEGIN 7
  SAY @7540
  IF ~~ THEN DO ~SetGlobal("Invitation","GLOBAL",1)~ EXIT
END

IF WEIGHT #0 ~StateCheck(Myself,STATE_CHARMED)~ THEN BEGIN 8
  SAY @7548
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 9
  SAY @9007
  IF ~~ THEN EXIT
END
