diff options
| author | GriffinR <griffin.g.richards@gmail.com> | 2021-02-14 14:07:32 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-14 14:07:32 -0500 |
| commit | 8c66bde7153cd29be3fd17dccb3fef6b09dd8ee4 (patch) | |
| tree | 21964480572d1cf8f95c49b798f955e3bbe19be2 /data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc | |
| parent | b422fd4a499e44889243dc5087b34fdd9f85c6aa (diff) | |
| parent | 515dde69afea00d7eafd0693ee423fcc1ae0bac5 (diff) | |
Merge pull request #388 from GriffinRichards/constants-localids
Use more LOCALID constants
Diffstat (limited to 'data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc')
| -rw-r--r-- | data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
