From 515dde69afea00d7eafd0693ee423fcc1ae0bac5 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Wed, 10 Feb 2021 20:20:15 -0500 Subject: Use more LOCALID constants --- data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc') diff --git a/data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc b/data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc index e0523d2ee..989450066 100644 --- a/data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc +++ b/data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc @@ -1,3 +1,5 @@ +.set LOCALID_DOOR_GUARD, 4 + IndigoPlateau_PokemonCenter_1F_MapScripts:: @ 816EA5A map_script MAP_SCRIPT_ON_TRANSITION, IndigoPlateau_PokemonCenter_1F_OnTransition map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume @@ -12,7 +14,7 @@ IndigoPlateau_PokemonCenter_1F_OnTransition:: @ 816EA65 IndigoPlateau_PokemonCenter_1F_EventScript_CheckBlockDoor:: @ 816EA79 goto_if_set FLAG_SYS_CAN_LINK_WITH_RS, EventScript_Return - setobjectxyperm 4, 4, 2 + setobjectxyperm LOCALID_DOOR_GUARD, 4, 2 return IndigoPlateau_PokemonCenter_1F_EventScript_DoorGuard:: @ 816EA8A -- cgit v1.2.3