Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #freespace 0xFF
- #dynamic 0xF00000
- #org 0x20FEBB
- preparemsg 0x821060D '"Which prize would you like?"
- waitmsg
- setvar 0x4001 0x0
- showcoins 0x1 0x1
- goto @choices
- #org @choices
- multichoice 0xC 0x0 0x37 0x0
- copyvar 0x8000 LASTRESULT
- compare 0x8000 0x0
- if 0x1 goto @stick
- compare 0x8000 0x1
- if 0x1 goto @thickclub
- compare 0x8000 0x2
- if 0x1 goto @luckypunch
- compare 0x8000 0x3
- if 0x1 goto 0x8210118
- goto 0x8210118
- #org @stick
- setvar 0x4001 0x1
- bufferitem 0x0 0xE1
- goto 0x820FF8A
- #org @thickclub
- setvar 0x4001 0x2
- bufferitem 0x0 0xE0
- goto 0x820FF8A
- #org @luckypunch
- setvar 0x4001 0x3
- bufferitem 0x0 0xDE
- goto 0x820FF8A
- #org 0x20FF8A
- special 0x19E
- msgbox @question MSG_YESNO '"So your choice is\nthe [buffer1] [..."
- compare LASTRESULT 0x0
- if 0x1 goto 0x8210118
- copyvar 0x8000 0x4001
- compare 0x8000 0x1
- if 0x1 goto @stick2
- compare 0x8000 0x2
- if 0x1 goto @thickclub2
- compare 0x8000 0x3
- if 0x1 goto @luckypunch2
- end
- #org @stick2
- checkcoins 0x4002
- compare 0x4002 0x5DC
- if 0x0 goto 0x82100FF
- checkitemroom 0xE1 0x1
- compare LASTRESULT 0x0
- if 0x1 goto 0x821010D
- removecoins 0x5DC
- additem 0xE1 0x1
- updatecoins 0x1 0x1
- sound 0x5F
- msgbox 0x821071B MSG_KEEPOPEN '"Here you go!"
- goto 0x820FECE
- #org @thickclub2
- checkcoins 0x4002
- compare 0x4002 0xDAC
- if 0x0 goto 0x82100FF
- checkitemroom 0xE0 0x1
- compare LASTRESULT 0x0
- if 0x1 goto 0x821010D
- removecoins 0xDAC
- additem 0xE0 0x1
- updatecoins 0x1 0x1
- sound 0x5F
- msgbox 0x821071B MSG_KEEPOPEN '"Here you go!"
- goto 0x820FECE
- #org @luckypunch2
- checkcoins 0x4002
- compare 0x4002 0xFA0
- if 0x0 goto 0x82100FF
- checkitemroom 0xDE 0x1
- compare LASTRESULT 0x0
- if 0x1 goto 0x821010D
- removecoins 0xFA0
- additem 0xDE 0x1
- updatecoins 0x1 0x1
- sound 0x5F
- msgbox 0x821071B MSG_KEEPOPEN '"Here you go!"
- goto 0x820FECE
- #org @question
- = So your choice is the [buffer1]?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement