pokeemerald/data/maps/Route121/scripts.inc

192 lines
5.0 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
Route121_MapScripts:: @ 81F5DFC
.byte 0
Route121_EventScript_1F5DFD:: @ 81F5DFD
msgbox Route121_Text_1F607F, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
Route121_EventScript_1F5E06:: @ 81F5E06
msgbox Route121_Text_1F60D3, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
Route121_EventScript_1F5E0F:: @ 81F5E0F
msgbox Route121_Text_1F611E, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
Route121_EventScript_1F5E18:: @ 81F5E18
lockall
2017-12-22 08:46:19 +01:00
playbgm MUS_AQA_0, 0
2017-11-10 02:21:31 +01:00
applymovement 13, Route121_Movement_2725B8
waitmovement 0
msgbox Route121_Text_1F605A, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
applymovement 12, Route121_Movement_1F5E59
applymovement 13, Route121_Movement_1F5E62
applymovement 14, Route121_Movement_1F5E6B
waitmovement 0
fadedefaultbgm
removeobject 12
removeobject 13
removeobject 14
setvar VAR_0x4074, 1
releaseall
end
Route121_Movement_1F5E59: @ 81F5E59
walk_down
walk_down
walk_down
walk_down
walk_down
walk_down
walk_down
walk_down
2017-11-10 02:21:31 +01:00
step_end
Route121_Movement_1F5E62: @ 81F5E62
walk_down
walk_down
walk_down
walk_down
walk_down
walk_down
walk_down
walk_down
2017-11-10 02:21:31 +01:00
step_end
Route121_Movement_1F5E6B: @ 81F5E6B
walk_down
walk_down
walk_down
walk_down
walk_down
walk_down
walk_down
walk_down
2017-11-10 02:21:31 +01:00
step_end
Route121_EventScript_1F5E74:: @ 81F5E74
trainerbattle 0, TRAINER_VANESSA, 0, Route121_Text_29F0EC, Route121_Text_29F11F
msgbox Route121_Text_29F138, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route121_EventScript_1F5E8B:: @ 81F5E8B
trainerbattle 2, TRAINER_WALTER_1, 0, Route121_Text_29F199, Route121_Text_29F20D, Route121_EventScript_1F5EB7
2017-12-01 21:25:13 +01:00
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
2017-11-10 02:21:31 +01:00
goto_eq Route121_EventScript_1F5ED6
msgbox Route121_Text_29F21E, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
Route121_EventScript_1F5EB7:: @ 81F5EB7
special sub_80B4808
waitmovement 0
msgbox Route121_Text_29F25B, MSGBOX_DEFAULT
2018-12-02 12:04:59 +01:00
register_matchcall TRAINER_WALTER_1
2017-11-10 02:21:31 +01:00
release
end
Route121_EventScript_1F5ED6:: @ 81F5ED6
trainerbattle 5, TRAINER_WALTER_1, 0, Route121_Text_29F2A6, Route121_Text_29F31A
msgbox Route121_Text_29F32B, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route121_EventScript_1F5EED:: @ 81F5EED
trainerbattle 0, TRAINER_TAMMY, 0, Route121_Text_29F381, Route121_Text_29F3B9
msgbox Route121_Text_29F3C6, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route121_EventScript_1F5F04:: @ 81F5F04
trainerbattle 4, TRAINER_KATE_AND_JOY, 0, Route121_Text_29F3FB, Route121_Text_29F43F, Route121_Text_29F4C9
msgbox Route121_Text_29F476, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route121_EventScript_1F5F1F:: @ 81F5F1F
trainerbattle 4, TRAINER_KATE_AND_JOY, 0, Route121_Text_29F521, Route121_Text_29F564, Route121_Text_29F5CE
msgbox Route121_Text_29F582, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route121_EventScript_1F5F3A:: @ 81F5F3A
trainerbattle 2, TRAINER_JESSICA_1, 0, Route121_Text_29F612, Route121_Text_29F641, Route121_EventScript_1F5F66
2017-12-01 21:25:13 +01:00
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
2017-11-10 02:21:31 +01:00
goto_eq Route121_EventScript_1F5F85
msgbox Route121_Text_29F66F, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
Route121_EventScript_1F5F66:: @ 81F5F66
special sub_80B4808
waitmovement 0
msgbox Route121_Text_29F69F, MSGBOX_DEFAULT
2018-12-02 12:04:59 +01:00
register_matchcall TRAINER_JESSICA_1
2017-11-10 02:21:31 +01:00
release
end
Route121_EventScript_1F5F85:: @ 81F5F85
trainerbattle 5, TRAINER_JESSICA_1, 0, Route121_Text_29F6E4, Route121_Text_29F710
msgbox Route121_Text_29F740, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route121_EventScript_1F5F9C:: @ 81F5F9C
trainerbattle 0, TRAINER_CALE, 0, Route121_Text_29F91A, Route121_Text_29F97B
msgbox Route121_Text_29F9AE, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route121_EventScript_1F5FB3:: @ 81F5FB3
trainerbattle 0, TRAINER_MYLES, 0, Route121_Text_29FA1E, Route121_Text_29FA64
msgbox Route121_Text_29FA73, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route121_EventScript_1F5FCA:: @ 81F5FCA
trainerbattle 0, TRAINER_PAT, 0, Route121_Text_29FAA7, Route121_Text_29FAD8
msgbox Route121_Text_29FAEA, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route121_EventScript_1F5FE1:: @ 81F5FE1
trainerbattle 0, TRAINER_MARCEL, 0, Route121_Text_29FB35, Route121_Text_29FB8C
msgbox Route121_Text_29FBA8, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route121_EventScript_1F5FF8:: @ 81F5FF8
trainerbattle 2, TRAINER_CRISTIN_1, 0, Route121_Text_29F770, Route121_Text_29F7C1, Route121_EventScript_1F6024
2017-12-01 21:25:13 +01:00
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
2017-11-10 02:21:31 +01:00
goto_eq Route121_EventScript_1F6043
msgbox Route121_Text_29F7D4, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
Route121_EventScript_1F6024:: @ 81F6024
special sub_80B4808
waitmovement 0
msgbox Route121_Text_29F80D, MSGBOX_DEFAULT
2018-12-02 12:04:59 +01:00
register_matchcall TRAINER_CRISTIN_1
2017-11-10 02:21:31 +01:00
release
end
Route121_EventScript_1F6043:: @ 81F6043
trainerbattle 5, TRAINER_CRISTIN_1, 0, Route121_Text_29F855, Route121_Text_29F8A8
msgbox Route121_Text_29F8D0, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route121_Text_1F605A: @ 81F605A
.string "Okay!\n"
.string "Were to move out to MT. PYRE!$"
Route121_Text_1F607F: @ 81F607F
.string "Ahead looms MT. PYRE…\p"
.string "It is a natural monument to the spirits \n"
.string "of departed POKéMON…$"
Route121_Text_1F60D3: @ 81F60D3
.string "MT. PYRE PIER\p"
.string "…The sign is old and worn out.\n"
.string "The words are barely legible…$"
Route121_Text_1F611E: @ 81F611E
.string "“Filled with rare POKéMON!”\n"
.string "SAFARI ZONE$"