diff options
| author | GriffinR <griffin.g.richards@gmail.com> | 2020-06-21 01:56:57 -0400 |
|---|---|---|
| committer | GriffinR <griffin.g.richards@gmail.com> | 2020-06-22 17:18:58 -0400 |
| commit | fac62881560190b3380d7fdbf197aa48ce337982 (patch) | |
| tree | 028ddeb79c29fb61466b630ef7ff05706a7f81a0 /data/maps/Route119_WeatherInstitute_1F | |
| parent | 46f4a4bbf7239743c333cd32d30b74a7b3176acc (diff) | |
Add local object event ids for referenced objects
Diffstat (limited to 'data/maps/Route119_WeatherInstitute_1F')
| -rw-r--r-- | data/maps/Route119_WeatherInstitute_1F/scripts.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/data/maps/Route119_WeatherInstitute_1F/scripts.inc b/data/maps/Route119_WeatherInstitute_1F/scripts.inc index c734ee3c4..03c537cf0 100644 --- a/data/maps/Route119_WeatherInstitute_1F/scripts.inc +++ b/data/maps/Route119_WeatherInstitute_1F/scripts.inc @@ -1,3 +1,5 @@ +.set LOCALID_LITTLE_BOY, 5 + Route119_WeatherInstitute_1F_MapScripts:: @ 826FA86 map_script MAP_SCRIPT_ON_TRANSITION, Route119_WeatherInstitute_1F_OnTransition .byte 0 @@ -8,8 +10,8 @@ Route119_WeatherInstitute_1F_OnTransition: @ 826FA8C end Route119_WeatherInstitute_1F_EventScript_SetLittleBoyPos:: @ 826FA98 - setobjectxyperm 5, 0, 5 - setobjectmovementtype 5, MOVEMENT_TYPE_FACE_RIGHT + setobjectxyperm LOCALID_LITTLE_BOY, 0, 5 + setobjectmovementtype LOCALID_LITTLE_BOY, MOVEMENT_TYPE_FACE_RIGHT return Route119_WeatherInstitute_1F_EventScript_LittleBoy:: @ 826FAA4 |
