Add local object event ids for referenced objects

This commit is contained in:
GriffinR
2020-06-21 01:56:57 -04:00
parent 46f4a4bbf7
commit fac6288156
192 changed files with 2857 additions and 2205 deletions
+5 -3
View File
@@ -1,3 +1,5 @@
.set LOCALID_WINGULL, 3
MossdeepCity_House2_MapScripts:: @ 82220DE
.byte 0
@@ -23,17 +25,17 @@ MossdeepCity_House2_EventScript_Wingull:: @ 82220F1
call_if_eq MossdeepCity_House2_EventScript_WingullExitNorth
compare VAR_FACING, DIR_WEST
call_if_eq MossdeepCity_House2_EventScript_WingullExitWest
removeobject 3
removeobject LOCALID_WINGULL
release
end
MossdeepCity_House2_EventScript_WingullExitNorth:: @ 8222124
applymovement 3, MossdeepCity_House2_Movement_WingullExitNorth
applymovement LOCALID_WINGULL, MossdeepCity_House2_Movement_WingullExitNorth
waitmovement 0
return
MossdeepCity_House2_EventScript_WingullExitWest:: @ 822212F
applymovement 3, MossdeepCity_House2_Movement_WingullExitEast
applymovement LOCALID_WINGULL, MossdeepCity_House2_Movement_WingullExitEast
waitmovement 0
return