summaryrefslogtreecommitdiff
path: root/data/maps/BattleFrontier_PokemonCenter_1F
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-06-21 01:56:57 -0400
committerGriffinR <griffin.g.richards@gmail.com>2020-06-22 17:18:58 -0400
commitfac62881560190b3380d7fdbf197aa48ce337982 (patch)
tree028ddeb79c29fb61466b630ef7ff05706a7f81a0 /data/maps/BattleFrontier_PokemonCenter_1F
parent46f4a4bbf7239743c333cd32d30b74a7b3176acc (diff)
Add local object event ids for referenced objects
Diffstat (limited to 'data/maps/BattleFrontier_PokemonCenter_1F')
-rw-r--r--data/maps/BattleFrontier_PokemonCenter_1F/scripts.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/data/maps/BattleFrontier_PokemonCenter_1F/scripts.inc b/data/maps/BattleFrontier_PokemonCenter_1F/scripts.inc
index f77d9ab83..795c3fabe 100644
--- a/data/maps/BattleFrontier_PokemonCenter_1F/scripts.inc
+++ b/data/maps/BattleFrontier_PokemonCenter_1F/scripts.inc
@@ -1,3 +1,5 @@
+.set LOCALID_NURSE, 1
+
BattleFrontier_PokemonCenter_1F_MapScripts:: @ 82678F9
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_PokemonCenter_1F_OnTransition
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
@@ -7,9 +9,8 @@ BattleFrontier_PokemonCenter_1F_OnTransition: @ 8267904
setrespawn HEAL_LOCATION_BATTLE_FRONTIER_OUTSIDE_EAST
end
-@ VAR_0x800B is the Nurse's object event id
BattleFrontier_PokemonCenter_1F_EventScript_Nurse:: @ 8267908
- setvar VAR_0x800B, 1
+ setvar VAR_0x800B, LOCALID_NURSE
call Common_EventScript_PkmnCenterNurse
waitmessage
waitbuttonpress