Use more LOCALID constants
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
.set LOCALID_CAPTAIN, 1
|
||||
|
||||
SSAnne_CaptainsOffice_MapScripts:: @ 8160B39
|
||||
.byte 0
|
||||
|
||||
@@ -12,7 +14,7 @@ SSAnne_CaptainsOffice_EventScript_Captain:: @ 8160B3A
|
||||
waitfanfare
|
||||
call EventScript_RestorePrevTextColor
|
||||
delay 50
|
||||
applymovement 1, Movement_FacePlayer
|
||||
applymovement LOCALID_CAPTAIN, Movement_FacePlayer
|
||||
waitmovement 0
|
||||
msgbox SSAnne_CaptainsOffice_Text_ThankYouHaveHMForCut
|
||||
giveitem_msg SSAnne_CaptainsOffice_Text_ObtainedHM01FromCaptain, ITEM_HM01, 1, MUS_OBTAIN_KEY_ITEM
|
||||
@@ -26,13 +28,13 @@ SSAnne_CaptainsOffice_EventScript_Captain:: @ 8160B3A
|
||||
SSAnne_CaptainsOffice_EventScript_NoRoomForCut:: @ 8160BA0
|
||||
msgbox SSAnne_CaptainsOffice_Text_YouHaveNoRoomForThis
|
||||
closemessage
|
||||
applymovement 1, Movement_FaceOriginalDirection
|
||||
applymovement LOCALID_CAPTAIN, Movement_FaceOriginalDirection
|
||||
waitmovement 0
|
||||
release
|
||||
end
|
||||
|
||||
SSAnne_CaptainsOffice_EventScript_AlreadyGotCut:: @ 8160BB5
|
||||
applymovement 1, Movement_FacePlayer
|
||||
applymovement LOCALID_CAPTAIN, Movement_FacePlayer
|
||||
waitmovement 0
|
||||
msgbox SSAnne_CaptainsOffice_Text_SSAnneWillSetSailSoon
|
||||
release
|
||||
|
||||
Reference in New Issue
Block a user