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

BEGIN ~_GAMES4~

IF ~RandomNum(24,1)
~ THEN BEGIN 0 // from:
  SAY #77118 /* ~Roll up and take a chance on the big wheel. One will get you twenty on a winning spin.~ */
  IF ~PartyGoldGT(0)
~ THEN REPLY #77106 /* ~Wager 1 gold.~ */ DO ~TakePartyGold(1)
~ GOTO 1
  IF ~PartyGoldGT(1)
~ THEN REPLY #77107 /* ~Wager 2 gold.~ */ DO ~TakePartyGold(2)
~ GOTO 2
  IF ~PartyGoldGT(4)
~ THEN REPLY #77108 /* ~Wager 5 gold.~ */ DO ~TakePartyGold(5)
~ GOTO 3
  IF ~~ THEN REPLY #61551 /* ~No thanks.~ */ GOTO 5
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #77119 /* ~The Lady smiles upon you! I take your 1 gold and you get 20!~ */
  IF ~~ THEN DO ~GiveGoldForce(20)
~ EXIT
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #77120 /* ~The Lady smiles upon you! I take your 2 gold and you get 40!~ */
  IF ~~ THEN DO ~GiveGoldForce(40)
~ EXIT
END

IF ~~ THEN BEGIN 3 // from: 0.2
  SAY #77121 /* ~The Lady smiles upon you! I take your 5 gold and you get 100!~ */
  IF ~~ THEN DO ~GiveGoldForce(100)
~ EXIT
END

IF ~~ THEN BEGIN 4 // from: 6.2 6.1 6.0
  SAY #77122 /* ~So sorry!  You'll have to try again.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 5 // from: 6.3 0.3
  SAY #77123 /* ~Move along then.~ */
  IF ~~ THEN EXIT
END

IF ~True()
~ THEN BEGIN 6 // from:
  SAY #77118 /* ~Roll up and take a chance on the big wheel. One will get you twenty on a winning spin.~ */
  IF ~PartyGoldGT(0)
~ THEN REPLY #77106 /* ~Wager 1 gold.~ */ DO ~TakePartyGold(1)
~ GOTO 4
  IF ~PartyGoldGT(1)
~ THEN REPLY #77107 /* ~Wager 2 gold.~ */ DO ~TakePartyGold(2)
~ GOTO 4
  IF ~PartyGoldGT(4)
~ THEN REPLY #77108 /* ~Wager 5 gold.~ */ DO ~TakePartyGold(5)
~ GOTO 4
  IF ~~ THEN REPLY #61551 /* ~No thanks.~ */ GOTO 5
END
