Move local IDs to map.json
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"local_id": "LOCALID_SS_ANNE_CAPTAIN",
|
||||
"type": "object",
|
||||
"graphics_id": "OBJ_EVENT_GFX_CAPTAIN",
|
||||
"x": 5,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user