From fac62881560190b3380d7fdbf197aa48ce337982 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Sun, 21 Jun 2020 01:56:57 -0400 Subject: Add local object event ids for referenced objects --- data/maps/SootopolisCity_PokemonCenter_1F/scripts.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'data/maps/SootopolisCity_PokemonCenter_1F') diff --git a/data/maps/SootopolisCity_PokemonCenter_1F/scripts.inc b/data/maps/SootopolisCity_PokemonCenter_1F/scripts.inc index d8ff4e7f6..712fd166b 100644 --- a/data/maps/SootopolisCity_PokemonCenter_1F/scripts.inc +++ b/data/maps/SootopolisCity_PokemonCenter_1F/scripts.inc @@ -1,3 +1,5 @@ +.set LOCALID_NURSE, 1 + SootopolisCity_PokemonCenter_1F_MapScripts:: @ 82264F1 map_script MAP_SCRIPT_ON_TRANSITION, SootopolisCity_PokemonCenter_1F_OnTransition map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume @@ -7,9 +9,8 @@ SootopolisCity_PokemonCenter_1F_OnTransition: @ 82264FC setrespawn HEAL_LOCATION_SOOTOPOLIS_CITY end -@ VAR_0x800B is the Nurse's object event id SootopolisCity_PokemonCenter_1F_EventScript_Nurse:: @ 8226500 - setvar VAR_0x800B, 1 + setvar VAR_0x800B, LOCALID_NURSE call Common_EventScript_PkmnCenterNurse waitmessage waitbuttonpress -- cgit v1.2.3