// creator  : weidu.exe (version 23600)
// argument : GAZIB.DLG
// game     : .
// source   : ./override/GAZIB.DLG
// dialog   : lang\en_us/dialog.tlk
// dialogF  : (none)

BEGIN ~GAZIB~

IF ~  NumberOfTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #18659 /* ~Hi, come well and welcome! You have stumbled upon The Great Gazib Show, starring yours truly, the Great Gazib! Allow me to introduce the Amazing Oopah, the world's only exploding ogre!~ */
  IF ~~ THEN DO ~CreateCreature("OOPAH",[1282.3222],S)
~ EXIT
  IF ~Global("X#GarGaz","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#GarGaz","GLOBAL",1)~ EXTERN ~GARRIJ~ 63
END

IF ~  NumberOfTimesTalkedTo(1)
See("OGRE")
StateCheck(LastSeenBy,STATE_REALLY_DEAD)
~ THEN BEGIN 1 // from:
  SAY #18669 /* ~Fun for the whole family! Now, let's try that crowd pleaser one more time.~ */
  IF ~~ THEN DO ~CreateCreature("OOPAH",[1282.3222],S)
~ EXIT
  IF ~Global("X#GAZIB1","GLOBAL",0)
InParty("quayle")
InMyArea("quayle")
!StateCheck("quayle",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#GAZIB1","GLOBAL",1)~ EXTERN ~QUAYLJ~ 47
  IF ~Global("X#GAZIB1","GLOBAL",0)
InParty("branwen")
InMyArea("branwen")
!StateCheck("branwen",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#GAZIB1","GLOBAL",1)~ EXTERN ~BRANWJ~ 93
END

IF ~  NumberOfTimesTalkedTo(2)
See("OGRE")
StateCheck(LastSeenBy,STATE_REALLY_DEAD)
~ THEN BEGIN 2 // from:
  SAY #18672 /* ~You're either a die-hard fan or a sadist, friend... (No, Oopah, just one more, one last one, then you can go back to the tent... Oopah, put the weapon down— Oopah?) Aaaeee!~ */
  IF ~~ THEN DO ~CreateCreature("OOPAH2",[1282.3222],S)
EscapeArea()
~ EXIT
  IF ~Global("X#VicGaz","GLOBAL",0)
InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#VicGaz","GLOBAL",1)~ EXTERN ~VICONJ~ 111
END

IF ~~ THEN BEGIN 3 // from: GARRIJ:63.1
  SAY #46754 /* ~Step right up!~ */
  IF ~~ THEN DO ~CreateCreature("OOPAH",[1282.3222],S)
~ EXIT
END

IF ~~ THEN BEGIN 4 // from:
  SAY #47428 /* ~Noooo!~ */
  IF ~~ THEN DO ~CreateCreature("OOPAH2",[1282.3222],S)
EscapeArea()
~ EXIT
END
