// creator  : weidu.exe (version 23100)
// argument : _GAZIB.DLG
// game		 : .
// source	 : ./override/_GAZIB.DLG
// dialog	 : ./DIALOG.TLK
// dialogF  : (none)

BEGIN ~_GAZIB~

IF ~NumberOfTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #77042 /* ~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],0)
~ 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~ 71
END

IF ~NumberOfTimesTalkedTo(1)
~ THEN BEGIN 1 // from:
  SAY #77043 /* ~Fun for the whole family! Now, let's try that crowd-pleaser one more time.~ */
  IF ~~ THEN DO ~CreateCreature("_OOPAH",[1282.3222],0)
~ 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~ 52
  IF ~Global("X#GAZIB1","GLOBAL",0)
InParty("branwen")
InMyArea("branwen")
!StateCheck("branwen",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#GAZIB1","GLOBAL",1)~ EXTERN ~_BRANWJ~ 101
END

IF ~True()
~ THEN BEGIN 2 // from:
  SAY #77044 /* ~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],0)
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~ 103
END

IF ~~ THEN BEGIN 3 // from: _GARRIJ:71.1
  SAY #100105 /* ~Step right up!~ */
  IF ~~ THEN DO ~CreateCreature("_OOPAH",[1282.3222],0)
~ EXIT
END

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