// creator  : weidu.exe (version 23100)
// argument : BOGRE1.DLG
// game		 : .
// source	 : ./DATA/DIALOG.BIF
// dialog	 : ./DIALOG.TLK
// dialogF  : (none)

BEGIN ~BOGRE1~ 2 // non-zero flags may indicate non-pausing dialogue
//////////////////////////////////////////////////
// WARNING: this file contains non-trivial WEIGHTs
//////////////////////////////////////////////////

IF WEIGHT #2 /* Triggers after states #: 4 5 even though they appear after this state */
~NumTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #26215 /* ~(grunt!)  Uh!  You!  You give me money... ALL money... NOW!!~ */
  IF ~PartyGoldGT(0)
~ THEN REPLY #26217 /* ~Alright, here you go...!~ */ DO ~TakePartyGold(1000000)
~ GOTO 1
  IF ~PartyGold(0)
~ THEN REPLY #26218 /* ~But I have nothing to give you!~ */ GOTO 2
  IF ~~ THEN REPLY #26219 /* ~You'll have to take it from my dead body, ogre... and that's not likely!~ */ GOTO 3
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #26220 /* ~Uh!  (grunt)  Good!  Good!~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #26221 /* ~Then I SMASH YOU!!~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 3 // from: 0.2
  SAY #26224 /* ~Oh?  Then I SMASH YOU!!  I SMASH YOU GOOD!!~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF WEIGHT #0 ~IsValidForPartyDialog("Valygar")~ THEN BEGIN 4 // from:
  SAY #48738 /* ~(grunt!)  Uh!  You!  You give me money... ALL money... NOW!!~ */
  IF ~~ THEN EXTERN ~VALYGARJ~ 48
END

IF WEIGHT #1 ~IsValidForPartyDialog("Korgan")~ THEN BEGIN 5 // from:
  SAY #48739 /* ~(grunt!)  Uh!  You!  You give me --~ */
  IF ~~ THEN EXTERN ~KORGANJ~ 77
END
