pokeemerald/data/maps/Route117/scripts.inc

214 lines
6.3 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
Route117_MapScripts:: @ 81F397D
map_script MAP_SCRIPT_ON_TRANSITION, Route117_OnTransition
2017-11-10 02:21:31 +01:00
.byte 0
Route117_OnTransition: @ 81F3983
2017-11-10 02:21:31 +01:00
call Route117_EventScript_1F3989
end
Route117_EventScript_1F3989:: @ 81F3989
2018-12-22 02:28:24 +01:00
goto_if_unset FLAG_PENDING_DAYCARE_EGG, Route117_EventScript_1F3999
2017-11-10 02:21:31 +01:00
setobjectxyperm 3, 47, 6
Route117_EventScript_1F3999:: @ 81F3999
return
Route117_EventScript_1F399A:: @ 81F399A
msgbox Route117_Text_1F3CFD, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
Route117_EventScript_1F39A3:: @ 81F39A3
msgbox Route117_Text_1F3D41, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
Route117_EventScript_1F39AC:: @ 81F39AC
msgbox Route117_Text_1F3C7C, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
Route117_EventScript_1F39B5:: @ 81F39B5
msgbox Route117_Text_1F3D58, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
Route117_EventScript_1F39BE:: @ 81F39BE
msgbox Route117_Text_1F3D74, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
Route117_EventScript_1F39C7:: @ 81F39C7
msgbox Route117_Text_1F3D8E, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
Route117_EventScript_1F39D0:: @ 81F39D0
trainerbattle_single TRAINER_ISAAC_1, Route117_Text_29C43F, Route117_Text_29C47A, Route117_EventScript_1F39FC
2017-12-01 21:25:13 +01:00
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
2018-12-22 02:28:24 +01:00
goto_if_eq Route117_EventScript_1F3A1B
msgbox Route117_Text_29C498, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
Route117_EventScript_1F39FC:: @ 81F39FC
2019-11-01 08:41:55 +01:00
special PlayerFaceTrainerAfterBattle
2017-11-10 02:21:31 +01:00
waitmovement 0
msgbox Route117_Text_29C508, MSGBOX_DEFAULT
2018-12-02 12:04:59 +01:00
register_matchcall TRAINER_ISAAC_1
2017-11-10 02:21:31 +01:00
release
end
Route117_EventScript_1F3A1B:: @ 81F3A1B
trainerbattle_rematch TRAINER_ISAAC_1, Route117_Text_29C549, Route117_Text_29C58B
msgbox Route117_Text_29C5D0, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route117_EventScript_1F3A32:: @ 81F3A32
trainerbattle_single TRAINER_LYDIA_1, Route117_Text_29C612, Route117_Text_29C659, Route117_EventScript_1F3A5E
2017-12-01 21:25:13 +01:00
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
2018-12-22 02:28:24 +01:00
goto_if_eq Route117_EventScript_1F3A7D
msgbox Route117_Text_29C679, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
Route117_EventScript_1F3A5E:: @ 81F3A5E
2019-11-01 08:41:55 +01:00
special PlayerFaceTrainerAfterBattle
2017-11-10 02:21:31 +01:00
waitmovement 0
msgbox Route117_Text_29C6BC, MSGBOX_DEFAULT
2018-12-02 12:04:59 +01:00
register_matchcall TRAINER_LYDIA_1
2017-11-10 02:21:31 +01:00
release
end
Route117_EventScript_1F3A7D:: @ 81F3A7D
trainerbattle_rematch TRAINER_LYDIA_1, Route117_Text_29C6FD, Route117_Text_29C73E
msgbox Route117_Text_29C75A, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route117_EventScript_1F3A94:: @ 81F3A94
trainerbattle_single TRAINER_DYLAN_1, Route117_Text_29C7A5, Route117_Text_29C7EB, Route117_EventScript_1F3AC0
2017-12-01 21:25:13 +01:00
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
2018-12-22 02:28:24 +01:00
goto_if_eq Route117_EventScript_1F3ADF
msgbox Route117_Text_29C800, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
Route117_EventScript_1F3AC0:: @ 81F3AC0
2019-11-01 08:41:55 +01:00
special PlayerFaceTrainerAfterBattle
2017-11-10 02:21:31 +01:00
waitmovement 0
msgbox Route117_Text_29C846, MSGBOX_DEFAULT
2018-12-02 12:04:59 +01:00
register_matchcall TRAINER_DYLAN_1
2017-11-10 02:21:31 +01:00
release
end
Route117_EventScript_1F3ADF:: @ 81F3ADF
trainerbattle_rematch TRAINER_DYLAN_1, Route117_Text_29C880, Route117_Text_29C8E3
msgbox Route117_Text_29C8FE, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route117_EventScript_1F3AF6:: @ 81F3AF6
trainerbattle_single TRAINER_MARIA_1, Route117_Text_29C955, Route117_Text_29C9A6, Route117_EventScript_1F3B22
2017-12-01 21:25:13 +01:00
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
2018-12-22 02:28:24 +01:00
goto_if_eq Route117_EventScript_1F3B41
msgbox Route117_Text_29C9D0, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
Route117_EventScript_1F3B22:: @ 81F3B22
2019-11-01 08:41:55 +01:00
special PlayerFaceTrainerAfterBattle
2017-11-10 02:21:31 +01:00
waitmovement 0
msgbox Route117_Text_29CA32, MSGBOX_DEFAULT
2018-12-02 12:04:59 +01:00
register_matchcall TRAINER_MARIA_1
2017-11-10 02:21:31 +01:00
release
end
Route117_EventScript_1F3B41:: @ 81F3B41
trainerbattle_rematch TRAINER_MARIA_1, Route117_Text_29CA7C, Route117_Text_29CACC
msgbox Route117_Text_29CAF6, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route117_EventScript_1F3B58:: @ 81F3B58
trainerbattle_single TRAINER_DEREK, Route117_Text_29CB32, Route117_Text_29CB87
msgbox Route117_Text_29CBAD, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route117_EventScript_1F3B6F:: @ 81F3B6F
trainerbattle_double TRAINER_ANNA_AND_MEG_1, Route117_Text_29CC4A, Route117_Text_29CC8E, Route117_Text_29CD61, Route117_EventScript_1F3B9F
2017-12-01 21:25:13 +01:00
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
2018-12-22 02:28:24 +01:00
goto_if_eq Route117_EventScript_1F3BB8
msgbox Route117_Text_29CCCB, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
Route117_EventScript_1F3B9F:: @ 81F3B9F
msgbox Route117_Text_29CD1D, MSGBOX_DEFAULT
2018-12-02 12:04:59 +01:00
register_matchcall TRAINER_ANNA_AND_MEG_1
2017-11-10 02:21:31 +01:00
release
end
Route117_EventScript_1F3BB8:: @ 81F3BB8
trainerbattle_rematch_double TRAINER_ANNA_AND_MEG_1, Route117_Text_29CEB6, Route117_Text_29CEF6, Route117_Text_29CF6E
msgbox Route117_Text_29CF1C, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route117_EventScript_1F3BD3:: @ 81F3BD3
trainerbattle_double TRAINER_ANNA_AND_MEG_1, Route117_Text_29CD9D, Route117_Text_29CDE9, Route117_Text_29CE52, Route117_EventScript_1F3C03
2017-12-01 21:25:13 +01:00
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
2018-12-22 02:28:24 +01:00
goto_if_eq Route117_EventScript_1F3C1C
msgbox Route117_Text_29CE17, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
Route117_EventScript_1F3C03:: @ 81F3C03
msgbox Route117_Text_29CD1D, MSGBOX_DEFAULT
2018-12-02 12:04:59 +01:00
register_matchcall TRAINER_ANNA_AND_MEG_1
2017-11-10 02:21:31 +01:00
release
end
Route117_EventScript_1F3C1C:: @ 81F3C1C
trainerbattle_rematch_double TRAINER_ANNA_AND_MEG_1, Route117_Text_29CFAA, Route117_Text_29CFED, Route117_Text_29D053
msgbox Route117_Text_29CFFE, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route117_EventScript_1F3C37:: @ 81F3C37
trainerbattle_single TRAINER_MELINA, Route117_Text_29D0B7, Route117_Text_29D0F1
msgbox Route117_Text_29D10E, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route117_EventScript_1F3C4E:: @ 81F3C4E
trainerbattle_single TRAINER_BRANDI, Route117_Text_29D14B, Route117_Text_29D189
msgbox Route117_Text_29D196, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route117_EventScript_1F3C65:: @ 81F3C65
trainerbattle_single TRAINER_AISHA, Route117_Text_29D1D1, Route117_Text_29D206
msgbox Route117_Text_29D24C, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route117_Text_1F3C7C: @ 81F3C7C
.string "I left my POKéMON at the DAY CARE.\p"
.string "When I got it back, it had a new move\n"
2018-12-07 16:41:08 +01:00
.string "that I didn't teach it.\l"
2017-11-10 02:21:31 +01:00
.string "I was really, really surprised.$"
Route117_Text_1F3CFD: @ 81F3CFD
.string "What do you think?\n"
2018-12-07 16:41:08 +01:00
.string "Aren't these flowers pretty?\p"
2017-11-10 02:21:31 +01:00
.string "I planted them all!$"
Route117_Text_1F3D41: @ 81F3D41
.string "The air is tasty here!$"
Route117_Text_1F3D58: @ 81F3D58
.string "ROUTE 117\n"
.string "{LEFT_ARROW} VERDANTURF TOWN$"
2017-11-10 02:21:31 +01:00
Route117_Text_1F3D74: @ 81F3D74
.string "ROUTE 117\n"
.string "{RIGHT_ARROW} MAUVILLE CITY$"
2017-11-10 02:21:31 +01:00
Route117_Text_1F3D8E: @ 81F3D8E
.string "POKéMON DAY CARE\n"
.string "“Let us raise your POKéMON.”$"