summaryrefslogtreecommitdiff
path: root/data/maps/Route103/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/Route103/scripts.inc')
-rw-r--r--data/maps/Route103/scripts.inc110
1 files changed, 55 insertions, 55 deletions
diff --git a/data/maps/Route103/scripts.inc b/data/maps/Route103/scripts.inc
index b096069e7..f0ac53949 100644
--- a/data/maps/Route103/scripts.inc
+++ b/data/maps/Route103/scripts.inc
@@ -1,25 +1,25 @@
.set LOCALID_RIVAL, 2
-Route103_MapScripts:: @ 81EC38E
+Route103_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, Route103_OnTransition
map_script MAP_SCRIPT_ON_LOAD, Route103_OnLoad
.byte 0
-Route103_OnTransition: @ 81EC399
+Route103_OnTransition:
call Common_EventScript_SetupRivalGfxId
call ProfBirch_EventScript_UpdateLocation
end
-Route103_OnLoad: @ 81EC3A4
+Route103_OnLoad:
call_if_set FLAG_SYS_GAME_CLEAR, Route103_EventScript_OpenAlteringCave
end
-Route103_EventScript_OpenAlteringCave:: @ 81EC3AE
+Route103_EventScript_OpenAlteringCave::
setmetatile 45, 5, METATILE_General_CaveEntrance_Top, 1
setmetatile 45, 6, METATILE_General_CaveEntrance_Bottom, 0
return
-Route103_EventScript_Rival:: @ 81EC3C1
+Route103_EventScript_Rival::
lockall
checkplayergender
compare VAR_RESULT, MALE
@@ -28,7 +28,7 @@ Route103_EventScript_Rival:: @ 81EC3C1
goto_if_eq Route103_EventScript_RivalBrendan
end
-Route103_EventScript_RivalMay:: @ 81EC3DA
+Route103_EventScript_RivalMay::
msgbox Route103_Text_MayRoute103Pokemon, MSGBOX_DEFAULT
closemessage
playbgm MUS_ENCOUNTER_MAY, TRUE
@@ -45,7 +45,7 @@ Route103_EventScript_RivalMay:: @ 81EC3DA
case 2, Route103_EventScript_StartMayBattleMudkip
end
-Route103_EventScript_RivalBrendan:: @ 81EC434
+Route103_EventScript_RivalBrendan::
msgbox Route103_Text_BrendanRoute103Pokemon, MSGBOX_DEFAULT
closemessage
playbgm MUS_ENCOUNTER_BRENDAN, TRUE
@@ -62,47 +62,47 @@ Route103_EventScript_RivalBrendan:: @ 81EC434
case 2, Route103_EventScript_StartBrendanBattleMudkip
end
-Route103_EventScript_StartMayBattleTreecko:: @ 81EC48E
+Route103_EventScript_StartMayBattleTreecko::
trainerbattle_no_intro TRAINER_MAY_ROUTE_103_TREECKO, Route103_Text_MayDefeated
goto Route103_EventScript_AfterMayBattle
end
-Route103_EventScript_StartMayBattleTorchic:: @ 81EC49E
+Route103_EventScript_StartMayBattleTorchic::
trainerbattle_no_intro TRAINER_MAY_ROUTE_103_TORCHIC, Route103_Text_MayDefeated
goto Route103_EventScript_AfterMayBattle
end
-Route103_EventScript_StartMayBattleMudkip:: @ 81EC4AE
+Route103_EventScript_StartMayBattleMudkip::
trainerbattle_no_intro TRAINER_MAY_ROUTE_103_MUDKIP, Route103_Text_MayDefeated
goto Route103_EventScript_AfterMayBattle
end
-Route103_EventScript_StartBrendanBattleTreecko:: @ 81EC4BE
+Route103_EventScript_StartBrendanBattleTreecko::
trainerbattle_no_intro TRAINER_BRENDAN_ROUTE_103_TREECKO, Route103_Text_BrendanDefeated
goto Route103_EventScript_AfterBrendanBattle
end
-Route103_EventScript_StartBrendanBattleTorchic:: @ 81EC4CE
+Route103_EventScript_StartBrendanBattleTorchic::
trainerbattle_no_intro TRAINER_BRENDAN_ROUTE_103_TORCHIC, Route103_Text_BrendanDefeated
goto Route103_EventScript_AfterBrendanBattle
end
-Route103_EventScript_StartBrendanBattleMudkip:: @ 81EC4DE
+Route103_EventScript_StartBrendanBattleMudkip::
trainerbattle_no_intro TRAINER_BRENDAN_ROUTE_103_MUDKIP, Route103_Text_BrendanDefeated
goto Route103_EventScript_AfterBrendanBattle
end
-Route103_EventScript_AfterMayBattle:: @ 81EC4EE
+Route103_EventScript_AfterMayBattle::
msgbox Route103_Text_MayTimeToHeadBack, MSGBOX_DEFAULT
goto Route103_EventScript_RivalExit
end
-Route103_EventScript_AfterBrendanBattle:: @ 81EC4FC
+Route103_EventScript_AfterBrendanBattle::
msgbox Route103_Text_BrendanTimeToHeadBack, MSGBOX_DEFAULT
goto Route103_EventScript_RivalExit
end
-Route103_EventScript_RivalExit:: @ 81EC50A
+Route103_EventScript_RivalExit::
closemessage
switch VAR_FACING
case DIR_SOUTH, Route103_EventScript_RivalExitFacingSouth
@@ -111,7 +111,7 @@ Route103_EventScript_RivalExit:: @ 81EC50A
case DIR_EAST, Route103_EventScript_RivalExitFacingEastOrWest
end
-Route103_EventScript_RivalExitFacingNorth:: @ 81EC53D
+Route103_EventScript_RivalExitFacingNorth::
applymovement OBJ_EVENT_ID_PLAYER, Route103_Movement_WatchRivalExitFacingNorth
applymovement LOCALID_RIVAL, Route103_Movement_RivalExitFacingNorth1
waitmovement 0
@@ -121,7 +121,7 @@ Route103_EventScript_RivalExitFacingNorth:: @ 81EC53D
goto Route103_EventScript_RivalEnd
end
-Route103_EventScript_RivalExitFacingEastOrWest:: @ 81EC561
+Route103_EventScript_RivalExitFacingEastOrWest::
applymovement OBJ_EVENT_ID_PLAYER, Route103_Movement_WatchRivalExitFacingEastOrWest
applymovement LOCALID_RIVAL, Route103_Movement_RivalExit1
waitmovement 0
@@ -131,7 +131,7 @@ Route103_EventScript_RivalExitFacingEastOrWest:: @ 81EC561
goto Route103_EventScript_RivalEnd
end
-Route103_EventScript_RivalExitFacingSouth:: @ 81EC585
+Route103_EventScript_RivalExitFacingSouth::
applymovement LOCALID_RIVAL, Route103_Movement_RivalExit1
waitmovement 0
playse SE_LEDGE
@@ -140,7 +140,7 @@ Route103_EventScript_RivalExitFacingSouth:: @ 81EC585
goto Route103_EventScript_RivalEnd
end
-Route103_EventScript_RivalEnd:: @ 81EC5A2
+Route103_EventScript_RivalEnd::
removeobject LOCALID_RIVAL
setvar VAR_BIRCH_LAB_STATE, 4
clearflag FLAG_HIDE_LITTLEROOT_TOWN_BIRCHS_LAB_RIVAL
@@ -152,12 +152,12 @@ Route103_EventScript_RivalEnd:: @ 81EC5A2
releaseall
end
-Route103_Movement_RivalExitFacingNorth1: @ 81EC5BE
+Route103_Movement_RivalExitFacingNorth1:
walk_left
walk_down
step_end
-Route103_EventScript_RivalExitFacingNorth2: @ 81EC5C1
+Route103_EventScript_RivalExitFacingNorth2:
jump_2_down
delay_16
walk_down
@@ -166,7 +166,7 @@ Route103_EventScript_RivalExitFacingNorth2: @ 81EC5C1
walk_down
step_end
-Route103_Movement_WatchRivalExitFacingNorth: @ 81EC5C8
+Route103_Movement_WatchRivalExitFacingNorth:
delay_16
delay_4
walk_in_place_fastest_left
@@ -174,11 +174,11 @@ Route103_Movement_WatchRivalExitFacingNorth: @ 81EC5C8
walk_in_place_fastest_down
step_end
-Route103_Movement_RivalExit1: @ 81EC5CE
+Route103_Movement_RivalExit1:
walk_down
step_end
-Route103_Movement_RivalExit2: @ 81EC5D0
+Route103_Movement_RivalExit2:
jump_2_down
delay_16
walk_down
@@ -186,29 +186,29 @@ Route103_Movement_RivalExit2: @ 81EC5D0
walk_down
step_end
-Route103_Movement_WatchRivalExitFacingEastOrWest: @ 81EC5D6
+Route103_Movement_WatchRivalExitFacingEastOrWest:
delay_16
walk_in_place_fastest_down
step_end
-Route103_EventScript_Boy:: @ 81EC5D9
+Route103_EventScript_Boy::
msgbox Route103_Text_ShouldHaveBroughtPotion, MSGBOX_NPC
end
-Route103_EventScript_Man:: @ 81EC5E2
+Route103_EventScript_Man::
msgbox Route103_Text_ShortcutToOldale, MSGBOX_NPC
end
-Route103_EventScript_RouteSign:: @ 81EC5EB
+Route103_EventScript_RouteSign::
msgbox Route103_Text_RouteSign, MSGBOX_SIGN
end
-Route103_EventScript_Daisy:: @ 81EC5F4
+Route103_EventScript_Daisy::
trainerbattle_single TRAINER_DAISY, Route103_Text_DaisyIntro, Route103_Text_DaisyDefeated
msgbox Route103_Text_DaisyPostBattle, MSGBOX_AUTOCLOSE
end
-Route103_EventScript_Amy:: @ 81EC60B
+Route103_EventScript_Amy::
trainerbattle_double TRAINER_AMY_AND_LIV_1, Route103_Text_AmyIntro, Route103_Text_AmyDefeated, Route103_Text_AmyNotEnoughPokemon, Route102_EventScript_AmyRegisterMatchCallAfterBattle
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
@@ -216,18 +216,18 @@ Route103_EventScript_Amy:: @ 81EC60B
msgbox Route103_Text_AmyPostBattle, MSGBOX_AUTOCLOSE
end
-Route102_EventScript_AmyRegisterMatchCallAfterBattle:: @ 81EC63A
+Route102_EventScript_AmyRegisterMatchCallAfterBattle::
msgbox Route103_Text_AmyLivRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_AMY_AND_LIV_1
release
end
-Route102_EventScript_AmyRematch:: @ 81EC653
+Route102_EventScript_AmyRematch::
trainerbattle_rematch_double TRAINER_AMY_AND_LIV_1, Route103_Text_AmyRematchIntro, Route103_Text_AmyRematchDefeated, Route103_Text_AmyRematchNotEnoughPokemon
msgbox Route103_Text_AmyRematchPostBattle, MSGBOX_AUTOCLOSE
end
-Route103_EventScript_Liv:: @ 81EC66E
+Route103_EventScript_Liv::
trainerbattle_double TRAINER_AMY_AND_LIV_1, Route103_Text_LivIntro, Route103_Text_LivDefeated, Route103_Text_LivNotEnoughPokemon, Route102_EventScript_LivRegisterMatchCallAfterBattle
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
@@ -235,23 +235,23 @@ Route103_EventScript_Liv:: @ 81EC66E
msgbox Route103_Text_LivPostBattle, MSGBOX_AUTOCLOSE
end
-Route102_EventScript_LivRegisterMatchCallAfterBattle:: @ 81EC69D
+Route102_EventScript_LivRegisterMatchCallAfterBattle::
msgbox Route103_Text_AmyLivRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_AMY_AND_LIV_1
release
end
-Route102_EventScript_LivRematch:: @ 81EC6B6
+Route102_EventScript_LivRematch::
trainerbattle_rematch_double TRAINER_AMY_AND_LIV_1, Route103_Text_LivRematchIntro, Route103_Text_LivRematchDefeated, Route103_Text_LivRematchNotEnoughPokemon
msgbox Route103_Text_LivRematchPostBattle, MSGBOX_AUTOCLOSE
end
-Route103_EventScript_Andrew:: @ 81EC6D1
+Route103_EventScript_Andrew::
trainerbattle_single TRAINER_ANDREW, Route103_Text_AndrewIntro, Route103_Text_AndrewDefeated
msgbox Route103_Text_AndrewPostBattle, MSGBOX_AUTOCLOSE
end
-Route103_EventScript_Miguel:: @ 81EC6E8
+Route103_EventScript_Miguel::
trainerbattle_single TRAINER_MIGUEL_1, Route103_Text_MiguelIntro, Route103_Text_MiguelDefeated, Route102_EventScript_MiguelRegisterMatchCallAfterBattle
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
@@ -260,7 +260,7 @@ Route103_EventScript_Miguel:: @ 81EC6E8
release
end
-Route102_EventScript_MiguelRegisterMatchCallAfterBattle:: @ 81EC714
+Route102_EventScript_MiguelRegisterMatchCallAfterBattle::
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox Route103_Text_MiguelRegister, MSGBOX_DEFAULT
@@ -268,36 +268,36 @@ Route102_EventScript_MiguelRegisterMatchCallAfterBattle:: @ 81EC714
release
end
-Route103_EventScript_MiguelRematch:: @ 81EC733
+Route103_EventScript_MiguelRematch::
trainerbattle_rematch TRAINER_MIGUEL_1, Route103_Text_MiguelRematchIntro, Route103_Text_MiguelRematchDefeated
msgbox Route103_Text_MiguelRematchPostBattle, MSGBOX_AUTOCLOSE
end
-Route103_EventScript_Marcos:: @ 81EC74A
+Route103_EventScript_Marcos::
trainerbattle_single TRAINER_MARCOS, Route103_Text_MarcosIntro, Route103_Text_MarcosDefeated
msgbox Route103_Text_MarcosPostBattle, MSGBOX_AUTOCLOSE
end
-Route103_EventScript_Rhett:: @ 81EC761
+Route103_EventScript_Rhett::
trainerbattle_single TRAINER_RHETT, Route103_Text_RhettIntro, Route103_Text_RhettDefeated
msgbox Route103_Text_RhettPostBattle, MSGBOX_AUTOCLOSE
end
-Route103_EventScript_Pete:: @ 81EC778
+Route103_EventScript_Pete::
trainerbattle_single TRAINER_PETE, Route103_Text_PeteIntro, Route103_Text_PeteDefeated
msgbox Route103_Text_PetePostBattle, MSGBOX_AUTOCLOSE
end
-Route103_EventScript_Isabelle:: @ 81EC78F
+Route103_EventScript_Isabelle::
trainerbattle_single TRAINER_ISABELLE, Route103_Text_IsabelleIntro, Route103_Text_IsabelleDefeated
msgbox Route103_Text_IsabellePostBattle, MSGBOX_AUTOCLOSE
end
-Route103_Text_MayRoute103Pokemon: @ 81EC7A6
+Route103_Text_MayRoute103Pokemon:
.string "MAY: Let's see… The POKéMON found\n"
.string "on ROUTE 103 include…$"
-Route103_Text_MayLetsBattle: @ 81EC7DE
+Route103_Text_MayLetsBattle:
.string "Oh, hi, {PLAYER}{KUN}!\p"
.string "…Oh, I see, my dad gave you\n"
.string "a POKéMON as a gift.\p"
@@ -306,11 +306,11 @@ Route103_Text_MayLetsBattle: @ 81EC7DE
.string "I'll give you a taste of what being\n"
.string "a TRAINER is like.$"
-Route103_Text_MayDefeated: @ 81EC881
+Route103_Text_MayDefeated:
.string "Wow! That's great!\n"
.string "{PLAYER}{KUN}, you're pretty good!$"
-Route103_Text_MayTimeToHeadBack: @ 81EC8AE
+Route103_Text_MayTimeToHeadBack:
.string "MAY: I think I know why my dad has\n"
.string "an eye out for you now.\p"
.string "I mean, you just got that POKéMON,\n"
@@ -320,11 +320,11 @@ Route103_Text_MayTimeToHeadBack: @ 81EC8AE
.string "Well, it's time to head back to\n"
.string "the LAB.$"
-Route103_Text_BrendanRoute103Pokemon: @ 81EC989
+Route103_Text_BrendanRoute103Pokemon:
.string "BRENDAN: Okay, so it's this one and\n"
.string "that one that live on ROUTE 103…$"
-Route103_Text_BrendanLetsBattle: @ 81EC9CE
+Route103_Text_BrendanLetsBattle:
.string "Hey, it's {PLAYER}!\p"
.string "…Oh, yeah, Dad gave you a POKéMON.\p"
.string "Since we're here, how about a little\n"
@@ -332,10 +332,10 @@ Route103_Text_BrendanLetsBattle: @ 81EC9CE
.string "I'll teach you what being a TRAINER's\n"
.string "about!$"
-Route103_Text_BrendanDefeated: @ 81ECA59
+Route103_Text_BrendanDefeated:
.string "Huh, {PLAYER}, you're not too shabby.$"
-Route103_Text_BrendanTimeToHeadBack: @ 81ECA79
+Route103_Text_BrendanTimeToHeadBack:
.string "BRENDAN: I think I get it.\n"
.string "I think I know why my dad has his eye\l"
.string "out for you now.\p"
@@ -345,16 +345,16 @@ Route103_Text_BrendanTimeToHeadBack: @ 81ECA79
.string "could befriend any POKéMON with ease.\p"
.string "We should head back to the LAB.$"
-Route103_Text_ShouldHaveBroughtPotion: @ 81ECB73
+Route103_Text_ShouldHaveBroughtPotion:
.string "My POKéMON is staggeringly tired…\n"
.string "I should have brought a POTION…$"
-Route103_Text_ShortcutToOldale: @ 81ECBB5
+Route103_Text_ShortcutToOldale:
.string "If you cross the sea from here,\n"
.string "it'll be a shortcut to OLDALE TOWN.\p"
.string "Fufufu, that's useful, isn't it?$"
-Route103_Text_RouteSign: @ 81ECC1A
+Route103_Text_RouteSign:
.string "ROUTE 103\n"
.string "{DOWN_ARROW} OLDALE TOWN$"