diff options
Diffstat (limited to 'data/maps/Route113/scripts.inc')
-rw-r--r-- | data/maps/Route113/scripts.inc | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/data/maps/Route113/scripts.inc b/data/maps/Route113/scripts.inc index 24c57c29c..0a8bb092c 100644 --- a/data/maps/Route113/scripts.inc +++ b/data/maps/Route113/scripts.inc @@ -1,18 +1,18 @@ -Route113_MapScripts:: @ 81F2153 +Route113_MapScripts:: map_script MAP_SCRIPT_ON_RESUME, Route113_OnResume map_script MAP_SCRIPT_ON_TRANSITION, Route113_OnTransition .byte 0 -Route113_OnResume: @ 81F215E +Route113_OnResume: setstepcallback STEP_CB_ASH end -Route113_OnTransition: @ 81F2161 +Route113_OnTransition: clearflag FLAG_FORCE_MIRAGE_TOWER_VISIBLE call Route113_EventScript_CheckSetAshWeather end -Route113_EventScript_CheckSetAshWeather:: @ 81F216A +Route113_EventScript_CheckSetAshWeather:: getplayerxy VAR_TEMP_0, VAR_TEMP_1 compare VAR_TEMP_0, 19 goto_if_lt Route113_EventScript_DontSetAshWeather @@ -21,44 +21,44 @@ Route113_EventScript_CheckSetAshWeather:: @ 81F216A setweather WEATHER_VOLCANIC_ASH return -Route113_EventScript_DontSetAshWeather:: @ 81F2189 +Route113_EventScript_DontSetAshWeather:: return -Route113_EventScript_Gentleman:: @ 81F218A +Route113_EventScript_Gentleman:: msgbox Route113_Text_AshCanBeFashionedIntoGlass, MSGBOX_NPC end -Route113_EventScript_NinjaBoy:: @ 81F2193 +Route113_EventScript_NinjaBoy:: msgbox Route113_Text_FunWalkingThroughAsh, MSGBOX_NPC end -Route113_EventScript_RouteSign111:: @ 81F219C +Route113_EventScript_RouteSign111:: msgbox Route113_Text_RouteSign111, MSGBOX_SIGN end -Route113_EventScript_RouteSignFallarbor:: @ 81F21A5 +Route113_EventScript_RouteSignFallarbor:: msgbox Route113_Text_RouteSignFallarbor, MSGBOX_SIGN end -Route113_EventScript_GlassWorkshopSign:: @ 81F21AE +Route113_EventScript_GlassWorkshopSign:: msgbox Route113_Text_GlassWorkshopSign, MSGBOX_SIGN end -Route113_EventScript_TrainerTipsRegisterKeyItems:: @ 81F21B7 +Route113_EventScript_TrainerTipsRegisterKeyItems:: msgbox Route113_Text_TrainerTipsRegisterKeyItems, MSGBOX_SIGN end -Route113_EventScript_Jaylen:: @ 81F21C0 +Route113_EventScript_Jaylen:: trainerbattle_single TRAINER_JAYLEN, Route113_Text_JaylenIntro, Route113_Text_JaylenDefeat msgbox Route113_Text_JaylenPostBattle, MSGBOX_AUTOCLOSE end -Route113_EventScript_Dillon:: @ 81F21D7 +Route113_EventScript_Dillon:: trainerbattle_single TRAINER_DILLON, Route113_Text_DillonIntro, Route113_Text_DillonDefeat msgbox Route113_Text_DillonPostBattle, MSGBOX_AUTOCLOSE end -Route113_EventScript_Madeline:: @ 81F21EE +Route113_EventScript_Madeline:: trainerbattle_single TRAINER_MADELINE_1, Route113_Text_MadelineIntro, Route113_Text_MadelineDefeat, Route113_EventScript_RegisterMadeline specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, TRUE @@ -67,7 +67,7 @@ Route113_EventScript_Madeline:: @ 81F21EE release end -Route113_EventScript_RegisterMadeline:: @ 81F221A +Route113_EventScript_RegisterMadeline:: special PlayerFaceTrainerAfterBattle waitmovement 0 msgbox Route113_Text_MadelineRegister, MSGBOX_DEFAULT @@ -75,12 +75,12 @@ Route113_EventScript_RegisterMadeline:: @ 81F221A release end -Route113_EventScript_RematchMadeline:: @ 81F2239 +Route113_EventScript_RematchMadeline:: trainerbattle_rematch TRAINER_MADELINE_1, Route113_Text_MadelineRematchIntro, Route113_Text_MadelineRematchDefeat msgbox Route113_Text_MadelinePostRematch, MSGBOX_AUTOCLOSE end -Route113_EventScript_Lao:: @ 81F2250 +Route113_EventScript_Lao:: trainerbattle_single TRAINER_LAO_1, Route113_Text_LaoIntro, Route113_Text_LaoDefeat, Route113_EventScript_RegisterLao specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, TRUE @@ -89,7 +89,7 @@ Route113_EventScript_Lao:: @ 81F2250 release end -Route113_EventScript_RegisterLao:: @ 81F227C +Route113_EventScript_RegisterLao:: special PlayerFaceTrainerAfterBattle waitmovement 0 msgbox Route113_Text_LaoRegister, MSGBOX_DEFAULT @@ -97,74 +97,74 @@ Route113_EventScript_RegisterLao:: @ 81F227C release end -Route113_EventScript_RematchLao:: @ 81F229B +Route113_EventScript_RematchLao:: trainerbattle_rematch TRAINER_LAO_1, Route113_Text_LaoRematchIntro, Route113_Text_LaoRematchDefeat msgbox Route113_Text_LaoPostRematch, MSGBOX_AUTOCLOSE end -Route113_EventScript_Lung:: @ 81F22B2 +Route113_EventScript_Lung:: trainerbattle_single TRAINER_LUNG, Route113_Text_LungIntro, Route113_Text_LungDefeat msgbox Route113_Text_LungPostBattle, MSGBOX_AUTOCLOSE end -Route113_EventScript_Tori:: @ 81F22C9 +Route113_EventScript_Tori:: trainerbattle_double TRAINER_TORI_AND_TIA, Route113_Text_ToriIntro, Route113_Text_ToriDefeat, Route113_Text_ToriNotEnoughMons msgbox Route113_Text_ToriPostBattle, MSGBOX_AUTOCLOSE end -Route113_EventScript_Tia:: @ 81F22E4 +Route113_EventScript_Tia:: trainerbattle_double TRAINER_TORI_AND_TIA, Route113_Text_TiaIntro, Route113_Text_TiaDefeat, Route113_Text_TiaNotEnoughMons msgbox Route113_Text_TiaPostBattle, MSGBOX_AUTOCLOSE end -Route113_EventScript_Sophie:: @ 81F22FF +Route113_EventScript_Sophie:: trainerbattle_single TRAINER_SOPHIE, Route113_Text_SophieIntro, Route113_Text_SophieDefeat msgbox Route113_Text_SophiePostBattle, MSGBOX_AUTOCLOSE end -Route113_EventScript_Coby:: @ 81F2316 +Route113_EventScript_Coby:: trainerbattle_single TRAINER_COBY, Route113_Text_CobyIntro, Route113_Text_CobyDefeat msgbox Route113_Text_CobyPostBattle, MSGBOX_AUTOCLOSE end -Route113_EventScript_Lawrence:: @ 81F232D +Route113_EventScript_Lawrence:: trainerbattle_single TRAINER_LAWRENCE, Route113_Text_LawrenceIntro, Route113_Text_LawrenceDefeat msgbox Route113_Text_LawrencePostBattle, MSGBOX_AUTOCLOSE end -Route113_EventScript_Wyatt:: @ 81F2344 +Route113_EventScript_Wyatt:: trainerbattle_single TRAINER_WYATT, Route113_Text_WyattIntro, Route113_Text_WyattDefeat msgbox Route113_Text_WyattPostBattle, MSGBOX_AUTOCLOSE end -Route113_Text_AshCanBeFashionedIntoGlass: @ 81F235B +Route113_Text_AshCanBeFashionedIntoGlass: .string "Wahahaha! Today's technology is a\n" .string "wondrous thing!\p" .string "Take this volcanic ash here.\n" .string "It can be fashioned into glass.$" -Route113_Text_FunWalkingThroughAsh: @ 81F23CA +Route113_Text_FunWalkingThroughAsh: .string "It's fun walking through the volcano's\n" .string "ashes on the ground and grass.\p" .string "You can see where you walked--it's\n" .string "really neat!$" -Route113_Text_RouteSign111: @ 81F2440 +Route113_Text_RouteSign111: .string "ROUTE 113\n" .string "{RIGHT_ARROW} ROUTE 111$" -Route113_Text_RouteSignFallarbor: @ 81F2456 +Route113_Text_RouteSignFallarbor: .string "ROUTE 113\n" .string "{LEFT_ARROW} FALLARBOR TOWN$" -Route113_Text_TrainerTipsRegisterKeyItems: @ 81F2471 +Route113_Text_TrainerTipsRegisterKeyItems: .string "TRAINER TIPS\p" .string "You may register one of the KEY ITEMS\n" .string "in your BAG as SELECT.\p" .string "Simply press SELECT to use\n" .string "the registered item conveniently.$" -Route113_Text_GlassWorkshopSign: @ 81F24F8 +Route113_Text_GlassWorkshopSign: .string "GLASS WORKSHOP\n" .string "“Turning Volcanic Ash into Glass Items”$" |