Move local IDs to map.json

This commit is contained in:
GriffinR
2024-10-14 23:10:37 -04:00
parent 4dc5c47799
commit 50babdb07f
192 changed files with 863 additions and 891 deletions
@@ -30,6 +30,7 @@
"flag": "0"
},
{
"local_id": "LOCALID_LEAGUE_NURSE",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_NURSE",
"x": 13,
@@ -58,6 +59,7 @@
"flag": "0"
},
{
"local_id": "LOCALID_LEAGUE_DOOR_GUARD",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_COOLTRAINER_F",
"x": 5,
@@ -1,5 +1,3 @@
.set LOCALID_DOOR_GUARD, 4
IndigoPlateau_PokemonCenter_1F_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, IndigoPlateau_PokemonCenter_1F_OnTransition
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
@@ -13,7 +11,7 @@ IndigoPlateau_PokemonCenter_1F_OnTransition::
IndigoPlateau_PokemonCenter_1F_EventScript_CheckBlockDoor::
goto_if_set FLAG_SYS_CAN_LINK_WITH_RS, EventScript_Return
setobjectxyperm LOCALID_DOOR_GUARD, 4, 2
setobjectxyperm LOCALID_LEAGUE_DOOR_GUARD, 4, 2
return
IndigoPlateau_PokemonCenter_1F_EventScript_DoorGuard::