;;不要删掉此行

; @move 4 158 135

[@Main]
#SAY
Fun Stuff:\\
<Gamble/@Gamble>\

[@Gamble]
#SAY
How much do you want to gamble?\\
<1000/@Gamble1000>\
<10000/@Gamble10000>\
<100000/@Gamble10000>\

[@Gamble1000]
#IF
CheckGold 1000
#ACT
Take Gold 1000
#ELSEACT
BREAK
#ELSESAY
No Gold...

#IF
Random 6
#ACT
Mov A0 6
GoTo @Gamble1000_Next
BREAK

;------------

#IF
Random 5
#ACT
Mov A0 5
GoTo @Gamble1000_Next
BREAK

;------------

#IF
Random 4
#ACT
Mov A0 4
GoTo @Gamble1000_Next
BREAK

;------------

#IF
Random 3
#ACT
Mov A0 3
GoTo @Gamble1000_Next
BREAK

;------------

#IF
Random 2
#ACT
Mov A0 2
GoTo @Gamble1000_Next
BREAK

;------------

#IF
Random 1
#ACT
Mov A0 1
GoTo @Gamble1000_Next
BREAK

;------------

[@Gamble1000_Next]
#IF
Random 6
#ACT
Mov A1 6
GoTo @Gamble1000_Next2
BREAK

;------------

#IF
Random 5
#ACT
Mov A1 5
GoTo @Gamble1000_Next2
BREAK

;------------

#IF
Random 4
#ACT
Mov A1 4
GoTo @Gamble1000_Next2
BREAK

;------------

#IF
Random 3
#ACT
Mov A1 3
GoTo @Gamble1000_Next2
BREAK

;------------

#IF
Random 2
#ACT
Mov A1 2
GoTo @Gamble1000_Next2
BREAK

;------------

#IF
Random 1
#ACT
Mov A1 1
GoTo @Gamble1000_Next2
BREAK

;------------

[@Gamble1000_Next2]
#IF
Random 6
#ACT
Mov A2 6
GoTo @Gamble1000_Next3
BREAK

;------------

#IF
Random 5
#ACT
Mov A2 5
GoTo @Gamble1000_Next3
BREAK

;------------

#IF
Random 4
#ACT
Mov A2 4
GoTo @Gamble1000_Next3
BREAK

;------------

#IF
Random 3
#ACT
Mov A2 3
GoTo @Gamble1000_Next3
BREAK

;------------

#IF
Random 2
#ACT
Mov A2 2
GoTo @Gamble1000_Next3
BREAK

;------------

#IF
Random 1
#ACT
Mov A2 1
GoTo @Gamble1000_Next3
BREAK

;------------

[@Gamble1000_Next3]
#SAY
3 Numbers above 3 = x2 money\
3 matching = x4 money\
3 numbers below 3 = nothing\
Dice 1: {FCOLOR/10}<$OUTPUT(A0)>{FCOLOR/12}\
Dice 2: {FCOLOR/10}<$OUTPUT(A1)>{FCOLOR/12}\
Dice 3: {FCOLOR/10}<$OUTPUT(A2)>{FCOLOR/12}\\

<All my numbers are 3 or above/@Gamble1000_Check3above>\
<All my numbers are 3 or below/@Gamble1000_Check3below>\
<All my numbers are the same /@Gamble1000_Check3match>\

[@Gamble1000_Check3above]
#IF
Large A0 2
Large A1 2
Large A2 2
#SAY
Big Prize!
#ELSESAY
Failed...\

[@Gamble1000_Check3below]
#IF
Small A0 4
Small A1 4
Small A2 4
#SAY
Big Prize!
#ELSESAY
Failed...\

;;不要删掉此行