Add local object event ids for referenced objects
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user