summaryrefslogtreecommitdiff
path: root/data/maps/FallarborTown_MoveRelearnersHouse/scripts.inc
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/FallarborTown_MoveRelearnersHouse/scripts.inc
parent46f4a4bbf7239743c333cd32d30b74a7b3176acc (diff)
Add local object event ids for referenced objects
Diffstat (limited to 'data/maps/FallarborTown_MoveRelearnersHouse/scripts.inc')
-rw-r--r--data/maps/FallarborTown_MoveRelearnersHouse/scripts.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/data/maps/FallarborTown_MoveRelearnersHouse/scripts.inc b/data/maps/FallarborTown_MoveRelearnersHouse/scripts.inc
index ac0f42f20..780901c42 100644
--- a/data/maps/FallarborTown_MoveRelearnersHouse/scripts.inc
+++ b/data/maps/FallarborTown_MoveRelearnersHouse/scripts.inc
@@ -1,9 +1,11 @@
+.set LOCALID_MOVE_RELEARNER, 1
+
FallarborTown_MoveRelearnersHouse_MapScripts:: @ 8201382
.byte 0
FallarborTown_MoveRelearnersHouse_EventScript_MoveRelearner:: @ 8201383
lockall
- applymovement 1, Common_Movement_FacePlayer
+ applymovement LOCALID_MOVE_RELEARNER, Common_Movement_FacePlayer
waitmovement 0
goto_if_set FLAG_TEMP_1, FallarborTown_MoveRelearnersHouse_EventScript_AskTeachMove
msgbox FallarborTown_MoveRelearnersHouse_Text_ImTheMoveTutor, MSGBOX_DEFAULT
@@ -13,7 +15,7 @@ FallarborTown_MoveRelearnersHouse_EventScript_MoveRelearner:: @ 8201383
FallarborTown_MoveRelearnersHouse_EventScript_AskTeachMove:: @ 82013A8
checkitem ITEM_HEART_SCALE, 1
- compare VAR_RESULT, 0
+ compare VAR_RESULT, FALSE
goto_if_eq FallarborTown_MoveRelearnersHouse_EventScript_ComeBackWithHeartScale
msgbox FallarborTown_MoveRelearnersHouse_Text_ThatsAHeartScaleWantMeToTeachMove, MSGBOX_YESNO
switch VAR_RESULT