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
+1
View File
@@ -16,6 +16,7 @@
"connections": null,
"object_events": [
{
"local_id": "LOCALID_NAVEL_ROCK_LUGIA",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_LUGIA",
"x": 10,
+1 -3
View File
@@ -1,5 +1,3 @@
.set LOCALID_LUGIA, 1
NavelRock_Base_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, NavelRock_Base_OnTransition
map_script MAP_SCRIPT_ON_RESUME, NavelRock_Base_OnResume
@@ -26,7 +24,7 @@ NavelRock_Base_OnResume::
NavelRock_Base_EventScript_TryRemoveLugia::
specialvar VAR_RESULT, GetBattleOutcome
goto_if_ne VAR_RESULT, B_OUTCOME_CAUGHT, EventScript_Return
removeobject LOCALID_LUGIA
removeobject LOCALID_NAVEL_ROCK_LUGIA
return
NavelRock_Base_EventScript_Lugia::