'-----------------------
#org 0x20FCF1
lock
faceplayer
msgbox 0x82105D7 '"Welcome.\pYou can exchange your COI..."
callstd 0x4
checkitem 0x104 0x1
compare LASTRESULT 0x1
if 0x1 goto 0x820FD0D
release
end
'-----------------------
#org 0x20FD0D
msgbox2 0x821060D '"Which prize would you like?"
waitmsgbox
setvar 0x4001 0x0
showcoins 0x1 0x1
goto 0x820FD2B
msgbox2 0x821060D '"Which prize would you like?"
waitmsgbox
goto 0x820FD2B
multichoice 0xC 0x0 0x30 0x0
copyvar 0x8000 LASTRESULT
compare 0x8000 0x0
if 0x1 goto 0x820FD67
compare 0x8000 0x1
if 0x1 goto 0x820FD75
compare 0x8000 0x2
if 0x1 goto 0x820FD83
compare 0x8000 0x3
if 0x1 goto 0x820FE92
goto 0x820FE92
end
'-----------------------
#org 0x20FD2B
multichoice 0xC 0x0 0x30 0x0
copyvar 0x8000 LASTRESULT
compare 0x8000 0x0
if 0x1 goto 0x820FD67
compare 0x8000 0x1
if 0x1 goto 0x820FD75
compare 0x8000 0x2
if 0x1 goto 0x820FD83
compare 0x8000 0x3
if 0x1 goto 0x820FE92
goto 0x820FE92
end
'-----------------------
#org 0x20FD67
setvar 0x4001 0x1
bufferpcitem 0x0 0x58
goto 0x820FD91
setvar 0x4001 0x2
bufferpcitem 0x0 0x59
goto 0x820FD91
setvar 0x4001 0x3
bufferpcitem 0x0 0x5A
goto 0x820FD91
msgbox 0x8210705 '"So your choice is ?"
callstd 0x5
compare LASTRESULT 0x0
if 0x1 goto 0x820FE92
copyvar 0x8000 0x4001
compare 0x8000 0x1
if 0x1 goto 0x820FDCB
compare 0x8000 0x2
if 0x1 goto 0x820FE05
compare 0x8000 0x3
if 0x1 goto 0x820FE3F
end
'-----------------------
#org 0x20FD75
setvar 0x4001 0x2
bufferpcitem 0x0 0x59
goto 0x820FD91
setvar 0x4001 0x3
bufferpcitem 0x0 0x5A
goto 0x820FD91
msgbox 0x8210705 '"So your choice is ?"
callstd 0x5
compare LASTRESULT 0x0
if 0x1 goto 0x820FE92
copyvar 0x8000 0x4001
compare 0x8000 0x1
if 0x1 goto 0x820FDCB
compare 0x8000 0x2
if 0x1 goto 0x820FE05
compare 0x8000 0x3
if 0x1 goto 0x820FE3F
end
'-----------------------
#org 0x20FD83
setvar 0x4001 0x3
bufferpcitem 0x0 0x5A
goto 0x820FD91
msgbox 0x8210705 '"So your choice is ?"
callstd 0x5
compare LASTRESULT 0x0
if 0x1 goto 0x820FE92
copyvar 0x8000 0x4001
compare 0x8000 0x1
if 0x1 goto 0x820FDCB
compare 0x8000 0x2
if 0x1 goto 0x820FE05
compare 0x8000 0x3
if 0x1 goto 0x820FE3F
end
'-----------------------
#org 0x20FE92
msgbox 0x82106BF '"Oh, is that so? \nYou need to save ..."
callstd 0x4
hidecoins 0x0 0x0
release
end
'-----------------------
#org 0x20FD91
msgbox 0x8210705 '"So your choice is ?"
callstd 0x5
compare LASTRESULT 0x0
if 0x1 goto 0x820FE92
copyvar 0x8000 0x4001
compare 0x8000 0x1
if 0x1 goto 0x820FDCB
compare 0x8000 0x2
if 0x1 goto 0x820FE05
compare 0x8000 0x3
if 0x1 goto 0x820FE3F
end
'-----------------------
#org 0x20FDCB
checkcoins 0x4002
compare 0x4002 0x3E8
if 0x0 goto 0x820FE79
bufferpcitem 0x1 0x58
checkdecoration 0x58
compare LASTRESULT 0x0
if 0x1 goto 0x820FE87
removecoins 0x3E8
adddecoration 0x58
updatecoins 0x1 0x1
sound 0x5F
msgbox 0x8210646 '"Thank you!\nWe'll send it to your P..."
callstd 0x4
goto 0x820FD20
end
'-----------------------
#org 0x20FE05
checkcoins 0x4002
compare 0x4002 0x3E8
if 0x0 goto 0x820FE79
bufferpcitem 0x1 0x59
checkdecoration 0x59
compare LASTRESULT 0x0
if 0x1 goto 0x820FE87
removecoins 0x3E8
adddecoration 0x59
updatecoins 0x1 0x1
sound 0x5F
msgbox 0x8210646 '"Thank you!\nWe'll send it to your P..."
callstd 0x4
goto 0x820FD20
end
'-----------------------
#org 0x20FE3F
checkcoins 0x4002
compare 0x4002 0x3E8
if 0x0 goto 0x820FE79
bufferpcitem 0x1 0x5A
checkdecoration 0x5A
compare LASTRESULT 0x0
if 0x1 goto 0x820FE87
removecoins 0x3E8
adddecoration 0x5A
updatecoins 0x1 0x1
sound 0x5F
msgbox 0x8210646 '"Thank you!\nWe'll send it to your P..."
callstd 0x4
goto 0x820FD20
end
'-----------------------
#org 0x20FE79
msgbox 0x8210673 '"You don't have enough COINS."
callstd 0x4
goto 0x820FD20
end
'-----------------------
#org 0x20FE87
call 0x8272071
goto 0x820FD20
end
'-----------------------
#org 0x20FD20
msgbox2 0x821060D '"Which prize would you like?"
waitmsgbox
goto 0x820FD2B
multichoice 0xC 0x0 0x30 0x0
copyvar 0x8000 LASTRESULT
compare 0x8000 0x0
if 0x1 goto 0x820FD67
compare 0x8000 0x1
if 0x1 goto 0x820FD75
compare 0x8000 0x2
if 0x1 goto 0x820FD83
compare 0x8000 0x3
if 0x1 goto 0x820FE92
goto 0x820FE92
end
'-----------------------
#org 0x272071
msgbox 0x8272B1A '"Too bad! There's no room left for\n..."
callstd 0x4
return
'---------
' Strings
'---------
#org 0x2105D7
= Welcome.\pYou can exchange your COINS for\nprizes here.
#org 0x21060D
= Which prize would you like?
#org 0x210705
= So your choice is ?
#org 0x2106BF
= Oh, is that so? \nYou need to save some COINS before\lcoming back here.
#org 0x210646
= Thank you!\nWe'll send it to your PC at home.
#org 0x210673
= You don't have enough COINS.
#org 0x272B1A
= Too bad! There's no room left for\nanother [.]
#org 0x20FCF1
lock
faceplayer
msgbox 0x82105D7 '"Welcome.\pYou can exchange your COI..."
callstd 0x4
checkitem 0x104 0x1
compare LASTRESULT 0x1
if 0x1 goto 0x820FD0D
release
end
'-----------------------
#org 0x20FD0D
msgbox2 0x821060D '"Which prize would you like?"
waitmsgbox
setvar 0x4001 0x0
showcoins 0x1 0x1
goto 0x820FD2B
msgbox2 0x821060D '"Which prize would you like?"
waitmsgbox
goto 0x820FD2B
multichoice 0xC 0x0 0x30 0x0
copyvar 0x8000 LASTRESULT
compare 0x8000 0x0
if 0x1 goto 0x820FD67
compare 0x8000 0x1
if 0x1 goto 0x820FD75
compare 0x8000 0x2
if 0x1 goto 0x820FD83
compare 0x8000 0x3
if 0x1 goto 0x820FE92
goto 0x820FE92
end
'-----------------------
#org 0x20FD2B
multichoice 0xC 0x0 0x30 0x0
copyvar 0x8000 LASTRESULT
compare 0x8000 0x0
if 0x1 goto 0x820FD67
compare 0x8000 0x1
if 0x1 goto 0x820FD75
compare 0x8000 0x2
if 0x1 goto 0x820FD83
compare 0x8000 0x3
if 0x1 goto 0x820FE92
goto 0x820FE92
end
'-----------------------
#org 0x20FD67
setvar 0x4001 0x1
bufferpcitem 0x0 0x58
goto 0x820FD91
setvar 0x4001 0x2
bufferpcitem 0x0 0x59
goto 0x820FD91
setvar 0x4001 0x3
bufferpcitem 0x0 0x5A
goto 0x820FD91
msgbox 0x8210705 '"So your choice is ?"
callstd 0x5
compare LASTRESULT 0x0
if 0x1 goto 0x820FE92
copyvar 0x8000 0x4001
compare 0x8000 0x1
if 0x1 goto 0x820FDCB
compare 0x8000 0x2
if 0x1 goto 0x820FE05
compare 0x8000 0x3
if 0x1 goto 0x820FE3F
end
'-----------------------
#org 0x20FD75
setvar 0x4001 0x2
bufferpcitem 0x0 0x59
goto 0x820FD91
setvar 0x4001 0x3
bufferpcitem 0x0 0x5A
goto 0x820FD91
msgbox 0x8210705 '"So your choice is ?"
callstd 0x5
compare LASTRESULT 0x0
if 0x1 goto 0x820FE92
copyvar 0x8000 0x4001
compare 0x8000 0x1
if 0x1 goto 0x820FDCB
compare 0x8000 0x2
if 0x1 goto 0x820FE05
compare 0x8000 0x3
if 0x1 goto 0x820FE3F
end
'-----------------------
#org 0x20FD83
setvar 0x4001 0x3
bufferpcitem 0x0 0x5A
goto 0x820FD91
msgbox 0x8210705 '"So your choice is ?"
callstd 0x5
compare LASTRESULT 0x0
if 0x1 goto 0x820FE92
copyvar 0x8000 0x4001
compare 0x8000 0x1
if 0x1 goto 0x820FDCB
compare 0x8000 0x2
if 0x1 goto 0x820FE05
compare 0x8000 0x3
if 0x1 goto 0x820FE3F
end
'-----------------------
#org 0x20FE92
msgbox 0x82106BF '"Oh, is that so? \nYou need to save ..."
callstd 0x4
hidecoins 0x0 0x0
release
end
'-----------------------
#org 0x20FD91
msgbox 0x8210705 '"So your choice is ?"
callstd 0x5
compare LASTRESULT 0x0
if 0x1 goto 0x820FE92
copyvar 0x8000 0x4001
compare 0x8000 0x1
if 0x1 goto 0x820FDCB
compare 0x8000 0x2
if 0x1 goto 0x820FE05
compare 0x8000 0x3
if 0x1 goto 0x820FE3F
end
'-----------------------
#org 0x20FDCB
checkcoins 0x4002
compare 0x4002 0x3E8
if 0x0 goto 0x820FE79
bufferpcitem 0x1 0x58
checkdecoration 0x58
compare LASTRESULT 0x0
if 0x1 goto 0x820FE87
removecoins 0x3E8
adddecoration 0x58
updatecoins 0x1 0x1
sound 0x5F
msgbox 0x8210646 '"Thank you!\nWe'll send it to your P..."
callstd 0x4
goto 0x820FD20
end
'-----------------------
#org 0x20FE05
checkcoins 0x4002
compare 0x4002 0x3E8
if 0x0 goto 0x820FE79
bufferpcitem 0x1 0x59
checkdecoration 0x59
compare LASTRESULT 0x0
if 0x1 goto 0x820FE87
removecoins 0x3E8
adddecoration 0x59
updatecoins 0x1 0x1
sound 0x5F
msgbox 0x8210646 '"Thank you!\nWe'll send it to your P..."
callstd 0x4
goto 0x820FD20
end
'-----------------------
#org 0x20FE3F
checkcoins 0x4002
compare 0x4002 0x3E8
if 0x0 goto 0x820FE79
bufferpcitem 0x1 0x5A
checkdecoration 0x5A
compare LASTRESULT 0x0
if 0x1 goto 0x820FE87
removecoins 0x3E8
adddecoration 0x5A
updatecoins 0x1 0x1
sound 0x5F
msgbox 0x8210646 '"Thank you!\nWe'll send it to your P..."
callstd 0x4
goto 0x820FD20
end
'-----------------------
#org 0x20FE79
msgbox 0x8210673 '"You don't have enough COINS."
callstd 0x4
goto 0x820FD20
end
'-----------------------
#org 0x20FE87
call 0x8272071
goto 0x820FD20
end
'-----------------------
#org 0x20FD20
msgbox2 0x821060D '"Which prize would you like?"
waitmsgbox
goto 0x820FD2B
multichoice 0xC 0x0 0x30 0x0
copyvar 0x8000 LASTRESULT
compare 0x8000 0x0
if 0x1 goto 0x820FD67
compare 0x8000 0x1
if 0x1 goto 0x820FD75
compare 0x8000 0x2
if 0x1 goto 0x820FD83
compare 0x8000 0x3
if 0x1 goto 0x820FE92
goto 0x820FE92
end
'-----------------------
#org 0x272071
msgbox 0x8272B1A '"Too bad! There's no room left for\n..."
callstd 0x4
return
'---------
' Strings
'---------
#org 0x2105D7
= Welcome.\pYou can exchange your COINS for\nprizes here.
#org 0x21060D
= Which prize would you like?
#org 0x210705
= So your choice is ?
#org 0x2106BF
= Oh, is that so? \nYou need to save some COINS before\lcoming back here.
#org 0x210646
= Thank you!\nWe'll send it to your PC at home.
#org 0x210673
= You don't have enough COINS.
#org 0x272B1A
= Too bad! There's no room left for\nanother [.]