summaryrefslogtreecommitdiff
path: root/data/maps/CaveOfOrigin_B1F
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-07-17 18:18:47 -0400
committerGitHub <noreply@github.com>2020-07-17 18:18:47 -0400
commit96fd719a1906346db062daf13e1107b3c4b220ed (patch)
tree5df2369f01325a40ca65a4f744545460e348a198 /data/maps/CaveOfOrigin_B1F
parent50e48898d2ab25b792b563825dca79d327bcb542 (diff)
parent89bcf3cbd9ad9d3c3631159c5ba20d3660819066 (diff)
Merge pull request #1081 from GriffinRichards/add-localids
Add local object event ids for referenced objects
Diffstat (limited to 'data/maps/CaveOfOrigin_B1F')
-rw-r--r--data/maps/CaveOfOrigin_B1F/scripts.inc12
1 files changed, 7 insertions, 5 deletions
diff --git a/data/maps/CaveOfOrigin_B1F/scripts.inc b/data/maps/CaveOfOrigin_B1F/scripts.inc
index 552f3b095..ea8d6cec8 100644
--- a/data/maps/CaveOfOrigin_B1F/scripts.inc
+++ b/data/maps/CaveOfOrigin_B1F/scripts.inc
@@ -1,3 +1,5 @@
+.set LOCALID_WALLACE, 1
+
CaveOfOrigin_B1F_MapScripts:: @ 82357A8
.byte 0
@@ -6,16 +8,16 @@ CaveOfOrigin_B1F_EventScript_Wallace:: @ 82357A9
faceplayer
msgbox CaveOfOrigin_B1F_Text_WallaceStory, MSGBOX_DEFAULT
closemessage
- applymovement 1, Common_Movement_WalkInPlaceFastestUp
+ applymovement LOCALID_WALLACE, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
delay 60
playse SE_PIN
- applymovement 1, Common_Movement_ExclamationMark
+ applymovement LOCALID_WALLACE, Common_Movement_ExclamationMark
waitmovement 0
- applymovement 1, Common_Movement_Delay48
+ applymovement LOCALID_WALLACE, Common_Movement_Delay48
waitmovement 0
delay 30
- applymovement 1, Common_Movement_FacePlayer
+ applymovement LOCALID_WALLACE, Common_Movement_FacePlayer
waitmovement 0
message CaveOfOrigin_B1F_Text_WhereIsRayquaza
waitmessage
@@ -53,7 +55,7 @@ CaveOfOrigin_B1F_EventScript_AtSkyPillar:: @ 823584D
fadescreenspeed FADE_TO_BLACK, 4
setflag FLAG_WALLACE_GOES_TO_SKY_PILLAR
setvar VAR_SOOTOPOLIS_CITY_STATE, 3
- removeobject 1
+ removeobject LOCALID_WALLACE
clearflag FLAG_HIDE_SKY_PILLAR_WALLACE
fadescreen FADE_FROM_BLACK
release