Move local IDs to map.json

This commit is contained in:
GriffinR
2024-10-14 23:10:37 -04:00
parent 4dc5c47799
commit 50babdb07f
192 changed files with 863 additions and 891 deletions
+3 -5
View File
@@ -1,5 +1,3 @@
.set LOCALID_CAPTAIN, 1
SSAnne_CaptainsOffice_MapScripts::
.byte 0
@@ -14,7 +12,7 @@ SSAnne_CaptainsOffice_EventScript_Captain::
waitfanfare
call EventScript_RestorePrevTextColor
delay 50
applymovement LOCALID_CAPTAIN, Common_Movement_FacePlayer
applymovement LOCALID_SS_ANNE_CAPTAIN, Common_Movement_FacePlayer
waitmovement 0
msgbox SSAnne_CaptainsOffice_Text_ThankYouHaveHMForCut
giveitem_msg SSAnne_CaptainsOffice_Text_ObtainedHM01FromCaptain, ITEM_HM01, 1, MUS_OBTAIN_KEY_ITEM
@@ -28,13 +26,13 @@ SSAnne_CaptainsOffice_EventScript_Captain::
SSAnne_CaptainsOffice_EventScript_NoRoomForCut::
msgbox SSAnne_CaptainsOffice_Text_YouHaveNoRoomForThis
closemessage
applymovement LOCALID_CAPTAIN, Common_Movement_FaceOriginalDirection
applymovement LOCALID_SS_ANNE_CAPTAIN, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
SSAnne_CaptainsOffice_EventScript_AlreadyGotCut::
applymovement LOCALID_CAPTAIN, Common_Movement_FacePlayer
applymovement LOCALID_SS_ANNE_CAPTAIN, Common_Movement_FacePlayer
waitmovement 0
msgbox SSAnne_CaptainsOffice_Text_SSAnneWillSetSailSoon
release