pokeemerald/data/maps/Route102/scripts.inc

112 lines
3.0 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
Route102_MapScripts:: @ 81EC0E0
.byte 0
Route102_EventScript_1EC0E1:: @ 81EC0E1
msgbox Route102_Text_1EC2C0, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
Route102_EventScript_1EC0EA:: @ 81EC0EA
msgbox Route102_Text_1EC35B, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
Route102_EventScript_1EC0F3:: @ 81EC0F3
msgbox Route102_Text_1EC373, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
Route102_EventScript_1EC0FC:: @ 81EC0FC
msgbox Route102_Text_1EC32E, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
Route102_EventScript_1EC105:: @ 81EC105
trainerbattle_single TRAINER_CALVIN_1, Route102_Text_294513, Route102_Text_29457C, Route102_EventScript_1EC146
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 Route102_EventScript_1EC19C
2017-11-10 02:21:31 +01:00
setvar VAR_0x8004, 318
specialvar VAR_RESULT, sub_813B4E0
compare VAR_RESULT, 0
2018-12-22 02:28:24 +01:00
goto_if_eq Route102_EventScript_1EC170
msgbox Route102_Text_2945AC, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
Route102_EventScript_1EC146:: @ 81EC146
special sub_80B4808
waitmovement 0
2018-12-22 02:28:24 +01:00
goto_if_set FLAG_HAS_MATCH_CALL, Route102_EventScript_1EC157
2017-11-10 02:21:31 +01:00
release
end
Route102_EventScript_1EC157:: @ 81EC157
msgbox Route102_Text_294668, 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
Route102_EventScript_1EC170:: @ 81EC170
2018-12-22 02:28:24 +01:00
goto_if_set FLAG_HAS_MATCH_CALL, Route102_EventScript_1EC183
msgbox Route102_Text_2945AC, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
Route102_EventScript_1EC183:: @ 81EC183
msgbox Route102_Text_2945EB, 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
Route102_EventScript_1EC19C:: @ 81EC19C
trainerbattle_rematch TRAINER_CALVIN_1, Route102_Text_2946AE, Route102_Text_29470C
msgbox Route102_Text_29473C, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route102_EventScript_1EC1B3:: @ 81EC1B3
trainerbattle_single TRAINER_RICK, Route102_Text_29480C, Route102_Text_294847
msgbox Route102_Text_294859, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route102_EventScript_1EC1CA:: @ 81EC1CA
trainerbattle_single TRAINER_TIANA, Route102_Text_29489E, Route102_Text_2948F3
msgbox Route102_Text_294916, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
Route102_EventScript_1EC1E1:: @ 81EC1E1
trainerbattle_single TRAINER_ALLEN, Route102_Text_294775, Route102_Text_2947AA
msgbox Route102_Text_2947DB, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
PetalburgCity_Text_1EC1F8: @ 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!$"
PetalburgCity_Text_1EC271: @ 81EC271
2018-12-07 16:41:08 +01:00
.string "WALLY: I did it… It's my…\n"
.string "My POKéMON!$"
PetalburgCity_Text_1EC297: @ 81EC297
.string "{PLAYER}, thank you!\n"
2018-12-07 16:41:08 +01:00
.string "Let's go back to the GYM!$"
Route102_Text_1EC2C0: @ 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!$"
Route102_Text_1EC32E: @ 81EC32E
2018-12-07 16:41:08 +01:00
.string "I'm going to catch a whole bunch of\n"
.string "POKéMON!$"
Route102_Text_1EC35B: @ 81EC35B
.string "ROUTE 102\n"
.string "{RIGHT_ARROW} OLDALE TOWN$"
Route102_Text_1EC373: @ 81EC373
.string "ROUTE 102\n"
.string "{LEFT_ARROW} PETALBURG CITY$"