mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
f497c1508b
Also move maps/scripts to scripts/maps
822 lines
23 KiB
PHP
822 lines
23 KiB
PHP
MauvilleCity_GameCorner_MapScripts:: @ 820FBB8
|
||
.byte 0
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FBB9:: @ 820FBB9
|
||
lock
|
||
faceplayer
|
||
msgbox MauvilleCity_GameCorner_Text_210460, 4
|
||
checkitem ITEM_COIN_CASE, 1
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_20FCB7
|
||
message MauvilleCity_GameCorner_Text_2104DF
|
||
waitmessage
|
||
showmoneybox 0, 0, 0
|
||
showcoinsbox 1, 6
|
||
goto MauvilleCity_GameCorner_EventScript_20FBE5
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FBE5:: @ 820FBE5
|
||
multichoicedefault 15, 0, 49, 0, 0
|
||
switch VAR_RESULT
|
||
case 0, MauvilleCity_GameCorner_EventScript_20FC33
|
||
case 1, MauvilleCity_GameCorner_EventScript_20FC75
|
||
goto MauvilleCity_GameCorner_EventScript_20FCD1
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FC0C:: @ 820FC0C
|
||
multichoicedefault 15, 0, 49, 1, 0
|
||
switch VAR_RESULT
|
||
case 0, MauvilleCity_GameCorner_EventScript_20FC33
|
||
case 1, MauvilleCity_GameCorner_EventScript_20FC75
|
||
goto MauvilleCity_GameCorner_EventScript_20FCD1
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FC33:: @ 820FC33
|
||
checkcoins VAR_0x4001
|
||
compare_var_to_value VAR_0x4001, 9950
|
||
goto_if 4, MauvilleCity_GameCorner_EventScript_20FCE1
|
||
checkmoney 0x3e8, 0
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_20FCC1
|
||
givecoins 50
|
||
takemoney 0x3e8, 0
|
||
updatemoneybox 0, 0
|
||
nop
|
||
updatecoinsbox 1, 6
|
||
playse SE_REGI
|
||
msgbox MauvilleCity_GameCorner_Text_210529, 4
|
||
hidemoneybox
|
||
nop
|
||
nop
|
||
hidecoinsbox 0, 5
|
||
release
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FC75:: @ 820FC75
|
||
checkcoins VAR_0x4001
|
||
compare_var_to_value VAR_0x4001, 9500
|
||
goto_if 4, MauvilleCity_GameCorner_EventScript_20FCE1
|
||
checkmoney 0x2710, 0
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_20FCC1
|
||
givecoins 500
|
||
takemoney 0x2710, 0
|
||
updatemoneybox 0, 0
|
||
nop
|
||
updatecoinsbox 1, 6
|
||
playse SE_REGI
|
||
msgbox MauvilleCity_GameCorner_Text_210529, 4
|
||
hidemoneybox
|
||
nop
|
||
nop
|
||
hidecoinsbox 0, 5
|
||
release
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FCB7:: @ 820FCB7
|
||
msgbox MauvilleCity_GameCorner_Text_21047E, 4
|
||
release
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FCC1:: @ 820FCC1
|
||
msgbox MauvilleCity_GameCorner_Text_210553, 4
|
||
hidemoneybox
|
||
nop
|
||
nop
|
||
hidecoinsbox 0, 5
|
||
release
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FCD1:: @ 820FCD1
|
||
msgbox MauvilleCity_GameCorner_Text_21059A, 4
|
||
hidemoneybox
|
||
nop
|
||
nop
|
||
hidecoinsbox 0, 5
|
||
release
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FCE1:: @ 820FCE1
|
||
msgbox MauvilleCity_GameCorner_Text_21057E, 4
|
||
hidemoneybox
|
||
nop
|
||
nop
|
||
hidecoinsbox 0, 5
|
||
release
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FCF1:: @ 820FCF1
|
||
lock
|
||
faceplayer
|
||
msgbox MauvilleCity_GameCorner_Text_2105D7, 4
|
||
checkitem ITEM_COIN_CASE, 1
|
||
compare_var_to_value VAR_RESULT, 1
|
||
goto_eq MauvilleCity_GameCorner_EventScript_20FD0D
|
||
release
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FD0D:: @ 820FD0D
|
||
message MauvilleCity_GameCorner_Text_21060D
|
||
waitmessage
|
||
setvar VAR_0x4001, 0
|
||
showcoinsbox 1, 1
|
||
goto MauvilleCity_GameCorner_EventScript_20FD2B
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FD20:: @ 820FD20
|
||
message MauvilleCity_GameCorner_Text_21060D
|
||
waitmessage
|
||
goto MauvilleCity_GameCorner_EventScript_20FD2B
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FD2B:: @ 820FD2B
|
||
multichoice 12, 0, 48, 0
|
||
switch VAR_RESULT
|
||
case 0, MauvilleCity_GameCorner_EventScript_20FD67
|
||
case 1, MauvilleCity_GameCorner_EventScript_20FD75
|
||
case 2, MauvilleCity_GameCorner_EventScript_20FD83
|
||
case 3, MauvilleCity_GameCorner_EventScript_20FE92
|
||
goto MauvilleCity_GameCorner_EventScript_20FE92
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FD67:: @ 820FD67
|
||
setvar VAR_0x4001, 1
|
||
bufferdecorationname 0, 88
|
||
goto MauvilleCity_GameCorner_EventScript_20FD91
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FD75:: @ 820FD75
|
||
setvar VAR_0x4001, 2
|
||
bufferdecorationname 0, 89
|
||
goto MauvilleCity_GameCorner_EventScript_20FD91
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FD83:: @ 820FD83
|
||
setvar VAR_0x4001, 3
|
||
bufferdecorationname 0, 90
|
||
goto MauvilleCity_GameCorner_EventScript_20FD91
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FD91:: @ 820FD91
|
||
msgbox MauvilleCity_GameCorner_Text_210705, 5
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_20FE92
|
||
switch VAR_0x4001
|
||
case 1, MauvilleCity_GameCorner_EventScript_20FDCB
|
||
case 2, MauvilleCity_GameCorner_EventScript_20FE05
|
||
case 3, MauvilleCity_GameCorner_EventScript_20FE3F
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FDCB:: @ 820FDCB
|
||
checkcoins VAR_0x4002
|
||
compare_var_to_value VAR_0x4002, 1000
|
||
goto_if 0, MauvilleCity_GameCorner_EventScript_20FE79
|
||
bufferdecorationname 1, 88
|
||
checkdecorspace 88
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_20FE87
|
||
takecoins 1000
|
||
givedecoration 88
|
||
updatecoinsbox 1, 1
|
||
playse SE_REGI
|
||
msgbox MauvilleCity_GameCorner_Text_210646, 4
|
||
goto MauvilleCity_GameCorner_EventScript_20FD20
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FE05:: @ 820FE05
|
||
checkcoins VAR_0x4002
|
||
compare_var_to_value VAR_0x4002, 1000
|
||
goto_if 0, MauvilleCity_GameCorner_EventScript_20FE79
|
||
bufferdecorationname 1, 89
|
||
checkdecorspace 89
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_20FE87
|
||
takecoins 1000
|
||
givedecoration 89
|
||
updatecoinsbox 1, 1
|
||
playse SE_REGI
|
||
msgbox MauvilleCity_GameCorner_Text_210646, 4
|
||
goto MauvilleCity_GameCorner_EventScript_20FD20
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FE3F:: @ 820FE3F
|
||
checkcoins VAR_0x4002
|
||
compare_var_to_value VAR_0x4002, 1000
|
||
goto_if 0, MauvilleCity_GameCorner_EventScript_20FE79
|
||
bufferdecorationname 1, 90
|
||
checkdecorspace 90
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_20FE87
|
||
takecoins 1000
|
||
givedecoration 90
|
||
updatecoinsbox 1, 1
|
||
playse SE_REGI
|
||
msgbox MauvilleCity_GameCorner_Text_210646, 4
|
||
goto MauvilleCity_GameCorner_EventScript_20FD20
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FE79:: @ 820FE79
|
||
msgbox MauvilleCity_GameCorner_Text_210673, 4
|
||
goto MauvilleCity_GameCorner_EventScript_20FD20
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FE87:: @ 820FE87
|
||
call MauvilleCity_GameCorner_EventScript_272071
|
||
goto MauvilleCity_GameCorner_EventScript_20FD20
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FE92:: @ 820FE92
|
||
msgbox MauvilleCity_GameCorner_Text_2106BF, 4
|
||
hidecoinsbox 0, 0
|
||
release
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FE9F:: @ 820FE9F
|
||
lock
|
||
faceplayer
|
||
msgbox MauvilleCity_GameCorner_Text_2105D7, 4
|
||
checkitem ITEM_COIN_CASE, 1
|
||
compare_var_to_value VAR_RESULT, 1
|
||
goto_eq MauvilleCity_GameCorner_EventScript_20FEBB
|
||
release
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FEBB:: @ 820FEBB
|
||
message MauvilleCity_GameCorner_Text_21060D
|
||
waitmessage
|
||
setvar VAR_0x4001, 0
|
||
showcoinsbox 1, 1
|
||
goto MauvilleCity_GameCorner_EventScript_20FED9
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FECE:: @ 820FECE
|
||
message MauvilleCity_GameCorner_Text_21060D
|
||
waitmessage
|
||
goto MauvilleCity_GameCorner_EventScript_20FED9
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FED9:: @ 820FED9
|
||
multichoice 12, 0, 55, 0
|
||
switch VAR_RESULT
|
||
case 0, MauvilleCity_GameCorner_EventScript_20FF2B
|
||
case 1, MauvilleCity_GameCorner_EventScript_20FF3E
|
||
case 2, MauvilleCity_GameCorner_EventScript_20FF51
|
||
case 3, MauvilleCity_GameCorner_EventScript_20FF64
|
||
case 4, MauvilleCity_GameCorner_EventScript_20FF77
|
||
case 5, MauvilleCity_GameCorner_EventScript_210118
|
||
goto MauvilleCity_GameCorner_EventScript_210118
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FF2B:: @ 820FF2B
|
||
setvar VAR_0x4001, 1
|
||
bufferitemname 0, ITEM_TM32
|
||
setvar VAR_0x8004, 320
|
||
goto MauvilleCity_GameCorner_EventScript_20FF8A
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FF3E:: @ 820FF3E
|
||
setvar VAR_0x4001, 2
|
||
bufferitemname 0, ITEM_TM29
|
||
setvar VAR_0x8004, 317
|
||
goto MauvilleCity_GameCorner_EventScript_20FF8A
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FF51:: @ 820FF51
|
||
setvar VAR_0x4001, 3
|
||
bufferitemname 0, ITEM_TM35
|
||
setvar VAR_0x8004, 323
|
||
goto MauvilleCity_GameCorner_EventScript_20FF8A
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FF64:: @ 820FF64
|
||
setvar VAR_0x4001, 4
|
||
bufferitemname 0, ITEM_TM24
|
||
setvar VAR_0x8004, 312
|
||
goto MauvilleCity_GameCorner_EventScript_20FF8A
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FF77:: @ 820FF77
|
||
setvar VAR_0x4001, 5
|
||
bufferitemname 0, ITEM_TM13
|
||
setvar VAR_0x8004, 301
|
||
goto MauvilleCity_GameCorner_EventScript_20FF8A
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FF8A:: @ 820FF8A
|
||
special sub_81398C0
|
||
msgbox MauvilleCity_GameCorner_Text_210629, 5
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_210118
|
||
switch VAR_0x4001
|
||
case 1, MauvilleCity_GameCorner_EventScript_20FFDD
|
||
case 2, MauvilleCity_GameCorner_EventScript_210017
|
||
case 3, MauvilleCity_GameCorner_EventScript_210051
|
||
case 4, MauvilleCity_GameCorner_EventScript_21008B
|
||
case 5, MauvilleCity_GameCorner_EventScript_2100C5
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_20FFDD:: @ 820FFDD
|
||
checkcoins VAR_0x4002
|
||
compare_var_to_value VAR_0x4002, 1500
|
||
goto_if 0, MauvilleCity_GameCorner_EventScript_2100FF
|
||
checkitemspace ITEM_TM32, 1
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_21010D
|
||
takecoins 1500
|
||
giveitem ITEM_TM32, 1
|
||
updatecoinsbox 1, 1
|
||
playse SE_REGI
|
||
msgbox MauvilleCity_GameCorner_Text_21071B, 4
|
||
goto MauvilleCity_GameCorner_EventScript_20FECE
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_210017:: @ 8210017
|
||
checkcoins VAR_0x4002
|
||
compare_var_to_value VAR_0x4002, 3500
|
||
goto_if 0, MauvilleCity_GameCorner_EventScript_2100FF
|
||
checkitemspace ITEM_TM29, 1
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_21010D
|
||
takecoins 3500
|
||
giveitem ITEM_TM29, 1
|
||
updatecoinsbox 1, 1
|
||
playse SE_REGI
|
||
msgbox MauvilleCity_GameCorner_Text_21071B, 4
|
||
goto MauvilleCity_GameCorner_EventScript_20FECE
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_210051:: @ 8210051
|
||
checkcoins VAR_0x4002
|
||
compare_var_to_value VAR_0x4002, 4000
|
||
goto_if 0, MauvilleCity_GameCorner_EventScript_2100FF
|
||
checkitemspace ITEM_TM35, 1
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_21010D
|
||
takecoins 4000
|
||
giveitem ITEM_TM35, 1
|
||
updatecoinsbox 1, 1
|
||
playse SE_REGI
|
||
msgbox MauvilleCity_GameCorner_Text_21071B, 4
|
||
goto MauvilleCity_GameCorner_EventScript_20FECE
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_21008B:: @ 821008B
|
||
checkcoins VAR_0x4002
|
||
compare_var_to_value VAR_0x4002, 4000
|
||
goto_if 0, MauvilleCity_GameCorner_EventScript_2100FF
|
||
checkitemspace ITEM_TM24, 1
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_21010D
|
||
takecoins 4000
|
||
giveitem ITEM_TM24, 1
|
||
updatecoinsbox 1, 1
|
||
playse SE_REGI
|
||
msgbox MauvilleCity_GameCorner_Text_21071B, 4
|
||
goto MauvilleCity_GameCorner_EventScript_20FECE
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_2100C5:: @ 82100C5
|
||
checkcoins VAR_0x4002
|
||
compare_var_to_value VAR_0x4002, 4000
|
||
goto_if 0, MauvilleCity_GameCorner_EventScript_2100FF
|
||
checkitemspace ITEM_TM13, 1
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_21010D
|
||
takecoins 4000
|
||
giveitem ITEM_TM13, 1
|
||
updatecoinsbox 1, 1
|
||
playse SE_REGI
|
||
msgbox MauvilleCity_GameCorner_Text_21071B, 4
|
||
goto MauvilleCity_GameCorner_EventScript_20FECE
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_2100FF:: @ 82100FF
|
||
msgbox MauvilleCity_GameCorner_Text_210673, 4
|
||
goto MauvilleCity_GameCorner_EventScript_20FECE
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_21010D:: @ 821010D
|
||
call MauvilleCity_GameCorner_EventScript_27205E
|
||
goto MauvilleCity_GameCorner_EventScript_20FECE
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_210118:: @ 8210118
|
||
msgbox MauvilleCity_GameCorner_Text_2106BF, 4
|
||
hidecoinsbox 0, 0
|
||
release
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_210125:: @ 8210125
|
||
msgbox MauvilleCity_GameCorner_Text_2109D3, 2
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_21012E:: @ 821012E
|
||
msgbox MauvilleCity_GameCorner_Text_210A05, 2
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_210137:: @ 8210137
|
||
lock
|
||
faceplayer
|
||
checkflag FLAG_0x0E2
|
||
goto_eq MauvilleCity_GameCorner_EventScript_210213
|
||
msgbox MauvilleCity_GameCorner_Text_210750, 5
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_210209
|
||
switch VAR_FIRST_POKE
|
||
case 0, MauvilleCity_GameCorner_EventScript_21017C
|
||
case 1, MauvilleCity_GameCorner_EventScript_2101A6
|
||
case 2, MauvilleCity_GameCorner_EventScript_2101D0
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_21017C:: @ 821017C
|
||
bufferdecorationname 1, 88
|
||
checkdecorspace 88
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_2101FA
|
||
msgbox MauvilleCity_GameCorner_Text_21079C, 4
|
||
givedecoration_std 88
|
||
setflag FLAG_0x0E2
|
||
goto MauvilleCity_GameCorner_EventScript_210213
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_2101A6:: @ 82101A6
|
||
bufferdecorationname 1, 89
|
||
checkdecorspace 89
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_2101FA
|
||
msgbox MauvilleCity_GameCorner_Text_21079C, 4
|
||
givedecoration_std 89
|
||
setflag FLAG_0x0E2
|
||
goto MauvilleCity_GameCorner_EventScript_210213
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_2101D0:: @ 82101D0
|
||
bufferdecorationname 1, 90
|
||
checkdecorspace 90
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_2101FA
|
||
msgbox MauvilleCity_GameCorner_Text_21079C, 4
|
||
givedecoration_std 90
|
||
setflag FLAG_0x0E2
|
||
goto MauvilleCity_GameCorner_EventScript_210213
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_2101FA:: @ 82101FA
|
||
call MauvilleCity_GameCorner_EventScript_272071
|
||
msgbox MauvilleCity_GameCorner_Text_2107A9, 4
|
||
release
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_210209:: @ 8210209
|
||
msgbox MauvilleCity_GameCorner_Text_2107CE, 4
|
||
release
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_210213:: @ 8210213
|
||
msgbox MauvilleCity_GameCorner_Text_2107FB, 4
|
||
release
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_21021D:: @ 821021D
|
||
lock
|
||
faceplayer
|
||
checkitem ITEM_COIN_CASE, 1
|
||
compare_var_to_value VAR_RESULT, 1
|
||
goto_eq MauvilleCity_GameCorner_EventScript_21023D
|
||
msgbox MauvilleCity_GameCorner_Text_210830, 4
|
||
goto MauvilleCity_GameCorner_EventScript_2102A9
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_21023D:: @ 821023D
|
||
checkflag FLAG_0x0E1
|
||
goto_eq MauvilleCity_GameCorner_EventScript_21026B
|
||
checkcoins VAR_0x4001
|
||
compare_var_to_value VAR_0x4001, 1
|
||
goto_if 4, MauvilleCity_GameCorner_EventScript_21026B
|
||
setflag FLAG_0x0E1
|
||
givecoins 20
|
||
msgbox MauvilleCity_GameCorner_Text_2108A0, 4
|
||
playse SE_REGI
|
||
goto MauvilleCity_GameCorner_EventScript_21026B
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_21026B:: @ 821026B
|
||
msgbox MauvilleCity_GameCorner_Text_2108EF, 4
|
||
goto MauvilleCity_GameCorner_EventScript_2102A9
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_210279:: @ 8210279
|
||
lock
|
||
faceplayer
|
||
msgbox MauvilleCity_GameCorner_Text_210932, 4
|
||
goto MauvilleCity_GameCorner_EventScript_2102A9
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_210289:: @ 8210289
|
||
lock
|
||
faceplayer
|
||
msgbox MauvilleCity_GameCorner_Text_21098E, 4
|
||
goto MauvilleCity_GameCorner_EventScript_2102A9
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_210299:: @ 8210299
|
||
lock
|
||
faceplayer
|
||
msgbox MauvilleCity_GameCorner_Text_210A51, 4
|
||
goto MauvilleCity_GameCorner_EventScript_2102A9
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_2102A9:: @ 82102A9
|
||
closemessage
|
||
applymovement VAR_LAST_TALKED, MauvilleCity_GameCorner_Movement_2725A2
|
||
waitmovement 0
|
||
release
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_2102B6:: @ 82102B6
|
||
lock
|
||
faceplayer
|
||
msgbox MauvilleCity_GameCorner_Text_210A82, 4
|
||
goto MauvilleCity_GameCorner_EventScript_2102A9
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_2102C6:: @ 82102C6
|
||
lock
|
||
faceplayer
|
||
msgbox MauvilleCity_GameCorner_Text_210B04, 4
|
||
goto MauvilleCity_GameCorner_EventScript_2102A9
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_2102D6:: @ 82102D6
|
||
lockall
|
||
checkitem ITEM_COIN_CASE, 1
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_210456
|
||
setvar VAR_0x8004, 0
|
||
specialvar VAR_RESULT, sub_8139248
|
||
playslotmachine VAR_RESULT
|
||
releaseall
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_2102F6:: @ 82102F6
|
||
lockall
|
||
checkitem ITEM_COIN_CASE, 1
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_210456
|
||
setvar VAR_0x8004, 1
|
||
specialvar VAR_RESULT, sub_8139248
|
||
playslotmachine VAR_RESULT
|
||
releaseall
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_210316:: @ 8210316
|
||
lockall
|
||
checkitem ITEM_COIN_CASE, 1
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_210456
|
||
setvar VAR_0x8004, 2
|
||
specialvar VAR_RESULT, sub_8139248
|
||
playslotmachine VAR_RESULT
|
||
releaseall
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_210336:: @ 8210336
|
||
lockall
|
||
checkitem ITEM_COIN_CASE, 1
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_210456
|
||
setvar VAR_0x8004, 3
|
||
specialvar VAR_RESULT, sub_8139248
|
||
playslotmachine VAR_RESULT
|
||
releaseall
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_210356:: @ 8210356
|
||
lockall
|
||
checkitem ITEM_COIN_CASE, 1
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_210456
|
||
setvar VAR_0x8004, 4
|
||
specialvar VAR_RESULT, sub_8139248
|
||
playslotmachine VAR_RESULT
|
||
releaseall
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_210376:: @ 8210376
|
||
lockall
|
||
checkitem ITEM_COIN_CASE, 1
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_210456
|
||
setvar VAR_0x8004, 5
|
||
specialvar VAR_RESULT, sub_8139248
|
||
playslotmachine VAR_RESULT
|
||
releaseall
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_210396:: @ 8210396
|
||
lockall
|
||
checkitem ITEM_COIN_CASE, 1
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_210456
|
||
setvar VAR_0x8004, 6
|
||
specialvar VAR_RESULT, sub_8139248
|
||
playslotmachine VAR_RESULT
|
||
releaseall
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_2103B6:: @ 82103B6
|
||
lockall
|
||
checkitem ITEM_COIN_CASE, 1
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_210456
|
||
setvar VAR_0x8004, 7
|
||
specialvar VAR_RESULT, sub_8139248
|
||
playslotmachine VAR_RESULT
|
||
releaseall
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_2103D6:: @ 82103D6
|
||
lockall
|
||
checkitem ITEM_COIN_CASE, 1
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_210456
|
||
setvar VAR_0x8004, 8
|
||
specialvar VAR_RESULT, sub_8139248
|
||
playslotmachine VAR_RESULT
|
||
releaseall
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_2103F6:: @ 82103F6
|
||
lockall
|
||
checkitem ITEM_COIN_CASE, 1
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_210456
|
||
setvar VAR_0x8004, 9
|
||
specialvar VAR_RESULT, sub_8139248
|
||
playslotmachine VAR_RESULT
|
||
releaseall
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_210416:: @ 8210416
|
||
lockall
|
||
checkitem ITEM_COIN_CASE, 1
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_210456
|
||
setvar VAR_0x8004, 10
|
||
specialvar VAR_RESULT, sub_8139248
|
||
playslotmachine VAR_RESULT
|
||
releaseall
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_210436:: @ 8210436
|
||
lockall
|
||
checkitem ITEM_COIN_CASE, 1
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq MauvilleCity_GameCorner_EventScript_210456
|
||
setvar VAR_0x8004, 11
|
||
specialvar VAR_RESULT, sub_8139248
|
||
playslotmachine VAR_RESULT
|
||
releaseall
|
||
end
|
||
|
||
MauvilleCity_GameCorner_EventScript_210456:: @ 8210456
|
||
msgbox MauvilleCity_GameCorner_Text_210C2E, 4
|
||
releaseall
|
||
end
|
||
|
||
MauvilleCity_GameCorner_Text_210460: @ 8210460
|
||
.string "This is MAUVILLE GAME CORNER.$"
|
||
|
||
MauvilleCity_GameCorner_Text_21047E: @ 821047E
|
||
.string "Okay, you wanted some COINS for\n"
|
||
.string "the games?\p"
|
||
.string "But you don’t have a COIN CASE for\n"
|
||
.string "stowing the COINS.$"
|
||
|
||
MauvilleCity_GameCorner_Text_2104DF: @ 82104DF
|
||
.string "Were you looking for COINS?\p"
|
||
.string "It’s ¥1000 for 50 COINS.\n"
|
||
.string "Would you like some?$"
|
||
|
||
MauvilleCity_GameCorner_Text_210529: @ 8210529
|
||
.string "Thank you very much!\n"
|
||
.string "Here are your COINS!$"
|
||
|
||
MauvilleCity_GameCorner_Text_210553: @ 8210553
|
||
.string "Um… You don’t appear to have\n"
|
||
.string "enough money…$"
|
||
|
||
MauvilleCity_GameCorner_Text_21057E: @ 821057E
|
||
.string "Oh?\n"
|
||
.string "Your COIN CASE is full.$"
|
||
|
||
MauvilleCity_GameCorner_Text_21059A: @ 821059A
|
||
.string "Oh… You don’t need COINS, then?\n"
|
||
.string "Good luck on your adventure!$"
|
||
|
||
MauvilleCity_GameCorner_Text_2105D7: @ 82105D7
|
||
.string "Welcome.\p"
|
||
.string "You can exchange your COINS for\n"
|
||
.string "prizes here.$"
|
||
|
||
MauvilleCity_GameCorner_Text_21060D: @ 821060D
|
||
.string "Which prize would you like?$"
|
||
|
||
MauvilleCity_GameCorner_Text_210629: @ 8210629
|
||
.string "So your choice is\n"
|
||
.string "the {STR_VAR_1} {STR_VAR_2}?$"
|
||
|
||
MauvilleCity_GameCorner_Text_210646: @ 8210646
|
||
.string "Thank you!\n"
|
||
.string "We’ll send it to your PC at home.$"
|
||
|
||
MauvilleCity_GameCorner_Text_210673: @ 8210673
|
||
.string "You don’t have enough COINS.$"
|
||
|
||
MauvilleCity_GameCorner_Text_210690: @ 8210690
|
||
.string "There isn’t any room available for\n"
|
||
.string "placing {STR_VAR_1}.$"
|
||
|
||
MauvilleCity_GameCorner_Text_2106BF: @ 82106BF
|
||
.string "Oh, is that so? \n"
|
||
.string "You need to save some COINS before\l"
|
||
.string "coming back here.$"
|
||
|
||
MauvilleCity_GameCorner_Text_210705: @ 8210705
|
||
.string "So your choice is {STR_VAR_1}?$"
|
||
|
||
MauvilleCity_GameCorner_Text_21071B: @ 821071B
|
||
.string "Here you go!$"
|
||
|
||
MauvilleCity_GameCorner_Text_210728: @ 8210728
|
||
.string "Oh, you can’t carry any more than that.$"
|
||
|
||
MauvilleCity_GameCorner_Text_210750: @ 8210750
|
||
.string "I made a mistake and got two of\n"
|
||
.string "the same DOLLS.\p"
|
||
.string "Would you like one of them?$"
|
||
|
||
MauvilleCity_GameCorner_Text_21079C: @ 821079C
|
||
.string "Here you go!$"
|
||
|
||
MauvilleCity_GameCorner_Text_2107A9: @ 82107A9
|
||
.string "Huh?\n"
|
||
.string "You want it, but not right now?$"
|
||
|
||
MauvilleCity_GameCorner_Text_2107CE: @ 82107CE
|
||
.string "Oh, don’t be so negative!\n"
|
||
.string "You can have this!$"
|
||
|
||
MauvilleCity_GameCorner_Text_2107FB: @ 82107FB
|
||
.string "There’s a prize I want, but I can’t win\n"
|
||
.string "the jackpot.$"
|
||
|
||
MauvilleCity_GameCorner_Text_210830: @ 8210830
|
||
.string "Hey, kid, if you want to play here,\n"
|
||
.string "you need a COIN CASE.\p"
|
||
.string "I think the young lady next door\n"
|
||
.string "had one. Go see her!$"
|
||
|
||
MauvilleCity_GameCorner_Text_2108A0: @ 82108A0
|
||
.string "My luck can only last so long.\n"
|
||
.string "This is too much for me.\l"
|
||
.string "Here, take some COINS!$"
|
||
|
||
MauvilleCity_GameCorner_Text_2108EF: @ 82108EF
|
||
.string "MAUVILLE has something for\n"
|
||
.string "everyone.\p"
|
||
.string "For me, it’s the GAME CORNER.$"
|
||
|
||
MauvilleCity_GameCorner_Text_210932: @ 8210932
|
||
.string "The ROULETTE tables have different\n"
|
||
.string "rates.\p"
|
||
.string "Check your COINS if you’re going to\n"
|
||
.string "pick a table.$"
|
||
|
||
MauvilleCity_GameCorner_Text_21098E: @ 821098E
|
||
.string "It’s easy to lose track of time in here. \n"
|
||
.string "I should get back to work.$"
|
||
|
||
MauvilleCity_GameCorner_Text_2109D3: @ 82109D3
|
||
.string "COINS are needed to play here\n"
|
||
.string "in the GAME CORNER.$"
|
||
|
||
MauvilleCity_GameCorner_Text_210A05: @ 8210A05
|
||
.string "This ROULETTE thing…\n"
|
||
.string "It’s rather demanding.\p"
|
||
.string "Win or lose, it’s only by luck.$"
|
||
|
||
MauvilleCity_GameCorner_Text_210A51: @ 8210A51
|
||
.string "Up to three COINS can be used to play\n"
|
||
.string "the SLOTS.$"
|
||
|
||
MauvilleCity_GameCorner_Text_210A82: @ 8210A82
|
||
.string "It’s very difficult to make it stop\n"
|
||
.string "right on “7.”\p"
|
||
.string "If it stops on “7” during the REEL TIME\n"
|
||
.string "bonus game, you’ll receive extra COINS.$"
|
||
|
||
MauvilleCity_GameCorner_Text_210B04: @ 8210B04
|
||
.string "Here’s some information for you\n"
|
||
.string "about the SLOTS.\p"
|
||
.string "The more lightning bolts you stock,\n"
|
||
.string "the more REEL TIME chances you get.\p"
|
||
.string "In a game with the maximum five\n"
|
||
.string "REEL TIME chances…\p"
|
||
.string "It is possible to receive four regular\n"
|
||
.string "bonuses, then a big bonus.\p"
|
||
.string "That would total 660 COINS, but it’s\n"
|
||
.string "very difficult to get.$"
|
||
|
||
MauvilleCity_GameCorner_Text_210C2E: @ 8210C2E
|
||
.string "You can’t play if you don’t have\n"
|
||
.string "a COIN CASE.$"
|
||
|