;Info [ Npc Name{GambleWoman} X=10 Y=6 MapName={Desireroom} ]

;NPC Release 1 (2003) By Geoff
;99% Translated NPCs Including Quests

[@main]
#IF
equal p9 0
#ACT
goto @main-1
BreakTimeRecall 
break

#IF
equal p9 1
#ACT
goto @pena2
BreakTimeRecall 
break

#IF
equal p9 2
#ACT
goto @pena3
BreakTimeRecall 
break

#IF
equal p9 3
#ACT
goto @cube
BreakTimeRecall 
break

#IF
equal p9 9
#ACT
goto @quit
BreakTimeRecall 
break

[@main-1]
#IF
#ACT
mov p9 0
#SAY
Hello <$USERNAME>, Welcome to Room 9\
I will take you to a place, and you must find the SpecialDrug for me\
Well get going, you havn't got long!\ \
<Enter/@Pena1>

[@Pena1]
#IF
#ACT
mov p9 1
SET [799] 1
TimeRecall 1
map T109

[@Pena2]
#IF
checkitem SpecialDrug 1
#ACT
mov p9 2
take SpecialDrug 40
SET [799] 0
goto @pena3
#ELSESAY
You didn't get my SpecialDrug\
You Failed\ \
<Bye/@Quit>
#ELSEACT
mov p9 9

[@pena3]
Now you can role the dice and move...\ \
<Cool/@pre_cube>

[@Quit]
#IF
#ACT
map B011

[@pre_cube]
#IF
checkitem gamblechip 1
#ACT
take gamblechip 1
mov p9 3
movr d0 6
inc d0 1
playdice 1 @cube
#SAY
Continue\ \
<Ok/@cube>
#ELSESAY
<$USERNAME>, you haven't got any chips!\
Go get some if you want to gamble\ \
<Silly Me/@Quit>
#ELSEACT
mov p9 9

[@cube]
#SAY
Hey, you roled a <$STR(D0)>\
You can now move <$STR(D0)> rooms forward.\ \
<Sweet, lets move!/@next_cube>

[@next_cube]
#IF
equal d0 1 
#ACT
goto @posi1
break

#IF
equal d0 2 
#ACT
goto @posi2
break

#IF
equal d0 3 
#ACT
goto @posi3
break

#IF
equal d0 4 
#ACT
goto @posi4
break

#IF
equal d0 5
#ACT
goto @posi5
break

#IF
equal d0 6 
#ACT
goto @posi6
break

[@Posi1]
#IF
#ACT
batchDelay 1
addbatch B110
batchmove

[@Posi2]
#IF
#ACT
batchDelay 1
addbatch B110
addbatch B111
batchmove

[@Posi3]
#IF
#ACT
batchDelay 1
addbatch B110
addbatch B111
addbatch B112
batchmove

[@Posi4]
#IF
#ACT
batchDelay 1
addbatch B110
addbatch B111
addbatch B112
addbatch B113
batchmove

[@Posi5]
#IF
#ACT
batchDelay 1
addbatch B110
addbatch B111
addbatch B112
addbatch B113
addbatch B114
batchmove

[@Posi6]
#IF
#ACT
batchDelay 1
addbatch B110
addbatch B111
addbatch B112
addbatch B113
addbatch B114
addbatch B115
batchmove


