diff options
Diffstat (limited to 'data/maps/InsideOfTruck/scripts.inc')
-rw-r--r-- | data/maps/InsideOfTruck/scripts.inc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/data/maps/InsideOfTruck/scripts.inc b/data/maps/InsideOfTruck/scripts.inc index fb75273cc..3068b1184 100644 --- a/data/maps/InsideOfTruck/scripts.inc +++ b/data/maps/InsideOfTruck/scripts.inc @@ -1,19 +1,19 @@ -InsideOfTruck_MapScripts:: @ 823BEDA +InsideOfTruck_MapScripts:: map_script MAP_SCRIPT_ON_LOAD, InsideOfTruck_OnLoad map_script MAP_SCRIPT_ON_RESUME, InsideOfTruck_OnResume .byte 0 -InsideOfTruck_OnLoad: @ 823BEE5 +InsideOfTruck_OnLoad: setmetatile 4, 1, METATILE_InsideOfTruck_ExitLight_Top, 0 setmetatile 4, 2, METATILE_InsideOfTruck_ExitLight_Mid, 0 setmetatile 4, 3, METATILE_InsideOfTruck_ExitLight_Bottom, 0 end -InsideOfTruck_OnResume: @ 823BF01 +InsideOfTruck_OnResume: setstepcallback STEP_CB_TRUCK end -InsideOfTruck_EventScript_SetIntroFlags:: @ 823BF04 +InsideOfTruck_EventScript_SetIntroFlags:: lockall setflag FLAG_HIDE_MAP_NAME_POPUP checkplayergender @@ -23,7 +23,7 @@ InsideOfTruck_EventScript_SetIntroFlags:: @ 823BF04 goto_if_eq InsideOfTruck_EventScript_SetIntroFlagsFemale end -InsideOfTruck_EventScript_SetIntroFlagsMale:: @ 823BF20 +InsideOfTruck_EventScript_SetIntroFlagsMale:: setrespawn HEAL_LOCATION_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F setvar VAR_LITTLEROOT_INTRO_STATE, 1 setflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_MOM @@ -36,7 +36,7 @@ InsideOfTruck_EventScript_SetIntroFlagsMale:: @ 823BF20 releaseall end -InsideOfTruck_EventScript_SetIntroFlagsFemale:: @ 823BF46 +InsideOfTruck_EventScript_SetIntroFlagsFemale:: setrespawn HEAL_LOCATION_LITTLEROOT_TOWN_MAYS_HOUSE_2F setvar VAR_LITTLEROOT_INTRO_STATE, 2 setflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_MOM @@ -49,11 +49,11 @@ InsideOfTruck_EventScript_SetIntroFlagsFemale:: @ 823BF46 releaseall end -InsideOfTruck_EventScript_MovingBox:: @ 823BF6C +InsideOfTruck_EventScript_MovingBox:: msgbox InsideOfTruck_Text_BoxPrintedWithMonLogo, MSGBOX_SIGN end -InsideOfTruck_Text_BoxPrintedWithMonLogo: @ 823BF75 +InsideOfTruck_Text_BoxPrintedWithMonLogo: .string "The box is printed with a POKéMON logo.\p" .string "It's a POKéMON brand moving and\n" .string "delivery service.$" |