Continue adding local IDs to map.json files

This commit is contained in:
GriffinR
2024-10-12 09:59:56 -04:00
parent a2a3255bdd
commit cb66ea6653
169 changed files with 1233 additions and 1325 deletions

View File

@@ -1,7 +1,3 @@
.set LOCALID_NURSE, 1
.set LOCALID_GUARD_1, 3
.set LOCALID_GUARD_2, 4
EverGrandeCity_PokemonLeague_1F_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, EverGrandeCity_PokemonLeague_1F_OnTransition
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
@@ -14,12 +10,12 @@ EverGrandeCity_PokemonLeague_1F_OnTransition:
end
EverGrandeCity_PokemonLeague_1F_EventScript_GuardsBlockDoor::
setobjectxyperm LOCALID_GUARD_1, 9, 2
setobjectxyperm LOCALID_GUARD_2, 10, 2
setobjectxyperm LOCALID_LEAGUE_GUARD_1, 9, 2
setobjectxyperm LOCALID_LEAGUE_GUARD_2, 10, 2
return
EverGrandeCity_PokemonLeague_1F_EventScript_Nurse::
setvar VAR_0x800B, LOCALID_NURSE
setvar VAR_0x800B, LOCALID_LEAGUE_NURSE
call Common_EventScript_PkmnCenterNurse
waitmessage
waitbuttonpress
@@ -62,8 +58,8 @@ EverGrandeCity_PokemonLeague_1F_EventScript_DoorGuard::
delay 120
goto_if_unset FLAG_BADGE06_GET, EverGrandeCity_PokemonLeague_1F_EventScript_NotAllBadges
closemessage
applymovement LOCALID_GUARD_1, EverGrandeCity_PokemonLeague_1F_Movement_LeftGuardOutOfWay
applymovement LOCALID_GUARD_2, EverGrandeCity_PokemonLeague_1F_Movement_RightGuardOutOfWay
applymovement LOCALID_LEAGUE_GUARD_1, EverGrandeCity_PokemonLeague_1F_Movement_LeftGuardOutOfWay
applymovement LOCALID_LEAGUE_GUARD_2, EverGrandeCity_PokemonLeague_1F_Movement_RightGuardOutOfWay
waitmovement 0
delay 10
playfanfare MUS_OBTAIN_BADGE
@@ -71,8 +67,8 @@ EverGrandeCity_PokemonLeague_1F_EventScript_DoorGuard::
waitmessage
waitfanfare
closemessage
copyobjectxytoperm LOCALID_GUARD_1
copyobjectxytoperm LOCALID_GUARD_2
copyobjectxytoperm LOCALID_LEAGUE_GUARD_1
copyobjectxytoperm LOCALID_LEAGUE_GUARD_2
setflag FLAG_ENTERED_ELITE_FOUR
releaseall
end