pokeemerald/data/maps/Route102/scripts.inc

112 lines
3.5 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
Route102_MapScripts:: @ 81EC0E0
.byte 0
2019-10-22 22:53:49 +02:00
Route102_EventScript_LittleBoy:: @ 81EC0E1
msgbox Route102_Text_ImNotVeryTall, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2019-10-22 22:53:49 +02:00
Route102_EventScript_RouteSignOldale:: @ 81EC0EA
msgbox Route102_Text_RouteSignOldale, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
2019-10-22 22:53:49 +02:00
Route102_EventScript_RouteSignPetalburg:: @ 81EC0F3
msgbox Route102_Text_RouteSignPetalburg, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
2019-10-22 22:53:49 +02:00
Route102_EventScript_Boy:: @ 81EC0FC
msgbox Route102_Text_CatchWholeBunchOfPokemon, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2019-10-22 22:53:49 +02:00
Route102_EventScript_Calvin:: @ 81EC105
trainerbattle_single TRAINER_CALVIN_1, Route102_Text_CalvinIntro, Route102_Text_CalvinDefeated, Route102_EventScript_CalvinRegisterMatchCallAfterBattle
2017-12-01 21:25:13 +01:00
specialvar VAR_RESULT, ShouldTryRematchBattle
2019-10-22 22:53:49 +02:00
compare VAR_RESULT, TRUE
goto_if_eq Route102_EventScript_CalvinRematch
2019-09-30 07:42:52 +02:00
setvar VAR_0x8004, TRAINER_CALVIN_1
specialvar VAR_RESULT, IsTrainerRegistered
2019-10-22 22:53:49 +02:00
compare VAR_RESULT, FALSE
goto_if_eq Route102_EventScript_CalvinTryRegister
msgbox Route102_Text_CalvinPostBattle, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2019-10-22 22:53:49 +02:00
Route102_EventScript_CalvinRegisterMatchCallAfterBattle:: @ 81EC146
2019-11-01 08:41:55 +01:00
special PlayerFaceTrainerAfterBattle
2017-11-10 02:21:31 +01:00
waitmovement 0
2019-10-22 22:53:49 +02:00
goto_if_set FLAG_HAS_MATCH_CALL, Route102_EventScript_CalvinRegisterMatchCall
2017-11-10 02:21:31 +01:00
release
end
2019-10-22 22:53:49 +02:00
Route102_EventScript_CalvinRegisterMatchCall:: @ 81EC157
msgbox Route102_Text_CalvinRegisterShort, MSGBOX_DEFAULT
2018-12-02 12:04:59 +01:00
register_matchcall TRAINER_CALVIN_1
2017-11-10 02:21:31 +01:00
release
end
2019-10-22 22:53:49 +02:00
Route102_EventScript_CalvinTryRegister:: @ 81EC170
goto_if_set FLAG_HAS_MATCH_CALL, Route102_EventScript_CalvinRegister
msgbox Route102_Text_CalvinPostBattle, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2019-10-22 22:53:49 +02:00
Route102_EventScript_CalvinRegister:: @ 81EC183
msgbox Route102_Text_CalvinRegister, MSGBOX_DEFAULT
2018-12-02 12:04:59 +01:00
register_matchcall TRAINER_CALVIN_1
2017-11-10 02:21:31 +01:00
release
end
2019-10-22 22:53:49 +02:00
Route102_EventScript_CalvinRematch:: @ 81EC19C
trainerbattle_rematch TRAINER_CALVIN_1, Route102_Text_CalvinRematchIntro, Route102_Text_CalvinRematchDefeated
msgbox Route102_Text_CalvinRematchPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2019-10-22 22:53:49 +02:00
Route102_EventScript_Rick:: @ 81EC1B3
trainerbattle_single TRAINER_RICK, Route102_Text_RickIntro, Route102_Text_RickDefeated
msgbox Route102_Text_RickPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2019-10-22 22:53:49 +02:00
Route102_EventScript_Tiana:: @ 81EC1CA
trainerbattle_single TRAINER_TIANA, Route102_Text_TianaIntro, Route102_Text_TianaDefeated
msgbox Route102_Text_TianaPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2019-10-22 22:53:49 +02:00
Route102_EventScript_Allen:: @ 81EC1E1
trainerbattle_single TRAINER_ALLEN, Route102_Text_AllenIntro, Route102_Text_AllenDefeated
msgbox Route102_Text_AllenPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2019-10-19 19:11:51 +02:00
Route102_Text_WatchMeCatchPokemon: @ 81EC1F8
.string "WALLY: {PLAYER}…\n"
.string "POKéMON hide in tall grass like this,\l"
2018-12-07 16:41:08 +01:00
.string "don't they?\p"
.string "Please watch me and see if I can\n"
.string "catch one properly.\p"
.string "…Whoa!$"
2019-10-19 19:11:51 +02:00
Route102_Text_WallyIDidIt: @ 81EC271
2018-12-07 16:41:08 +01:00
.string "WALLY: I did it… It's my…\n"
.string "My POKéMON!$"
2019-10-19 19:11:51 +02:00
Route102_Text_LetsGoBack: @ 81EC297
.string "{PLAYER}, thank you!\n"
2018-12-07 16:41:08 +01:00
.string "Let's go back to the GYM!$"
2019-10-22 22:53:49 +02:00
Route102_Text_ImNotVeryTall: @ 81EC2C0
2018-12-07 16:41:08 +01:00
.string "I'm…not very tall, so I sink right\n"
.string "into tall grass.\p"
.string "The grass goes up my nose and…\n"
.string "Fwafwafwafwafwa…\p"
.string "Fwatchoo!$"
2019-10-22 22:53:49 +02:00
Route102_Text_CatchWholeBunchOfPokemon: @ 81EC32E
2018-12-07 16:41:08 +01:00
.string "I'm going to catch a whole bunch of\n"
.string "POKéMON!$"
2019-10-22 22:53:49 +02:00
Route102_Text_RouteSignOldale: @ 81EC35B
.string "ROUTE 102\n"
.string "{RIGHT_ARROW} OLDALE TOWN$"
2019-10-22 22:53:49 +02:00
Route102_Text_RouteSignPetalburg: @ 81EC373
.string "ROUTE 102\n"
.string "{LEFT_ARROW} PETALBURG CITY$"