Finish adding local IDs to map.json files
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"local_id": "LOCALID_SLATEPORT_TENT_CORRIDOR_ATTENDANT",
|
||||
"graphics_id": "OBJ_EVENT_GFX_SCIENTIST_1",
|
||||
"x": 2,
|
||||
"y": 6,
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
.set LOCALID_ATTENDANT, 1
|
||||
|
||||
SlateportCity_BattleTentCorridor_MapScripts::
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, SlateportCity_BattleTentCorridor_OnFrame
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, SlateportCity_BattleTentCorridor_OnWarp
|
||||
@@ -14,8 +12,8 @@ SlateportCity_BattleTentCorridor_OnWarp:
|
||||
SlateportCity_BattleTentCorridor_EventScript_SetUpObjects::
|
||||
setvar VAR_TEMP_1, 1
|
||||
goto_if_ne VAR_0x8006, 1, SlateportCity_BattleTentCorridor_EventScript_TurnPlayerNorth
|
||||
setobjectxy LOCALID_ATTENDANT, 2, 2
|
||||
turnobject LOCALID_ATTENDANT, DIR_SOUTH
|
||||
setobjectxy LOCALID_SLATEPORT_TENT_CORRIDOR_ATTENDANT, 2, 2
|
||||
turnobject LOCALID_SLATEPORT_TENT_CORRIDOR_ATTENDANT, DIR_SOUTH
|
||||
SlateportCity_BattleTentCorridor_EventScript_TurnPlayerNorth::
|
||||
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
|
||||
end
|
||||
@@ -27,7 +25,7 @@ SlateportCity_BattleTentCorridor_OnFrame:
|
||||
SlateportCity_BattleTentCorridor_EventScript_EnterCorridor::
|
||||
goto_if_eq VAR_0x8006, 1, SlateportCity_BattleTentCorridor_EventScript_ReturnToRoomFromBattle
|
||||
setvar VAR_TEMP_0, 1
|
||||
applymovement LOCALID_ATTENDANT, SlateportCity_BattleTentCorridor_Movement_AttendantEnter
|
||||
applymovement LOCALID_SLATEPORT_TENT_CORRIDOR_ATTENDANT, SlateportCity_BattleTentCorridor_Movement_AttendantEnter
|
||||
applymovement OBJ_EVENT_ID_PLAYER, SlateportCity_BattleTentCorridor_Movement_PlayerEnter
|
||||
waitmovement 0
|
||||
goto_if_eq VAR_0x8006, 2, SlateportCity_BattleTentCorridor_EventScript_ResumeChallenge
|
||||
@@ -40,11 +38,11 @@ SlateportCity_BattleTentCorridor_EventScript_EnterCorridor::
|
||||
SlateportCity_BattleTentCorridor_EventScript_EnterBattleRoom::
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_RightThisWay, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement LOCALID_ATTENDANT, Common_Movement_WalkInPlaceFasterUp
|
||||
applymovement LOCALID_SLATEPORT_TENT_CORRIDOR_ATTENDANT, Common_Movement_WalkInPlaceFasterUp
|
||||
waitmovement 0
|
||||
opendoor 2, 1
|
||||
waitdooranim
|
||||
applymovement LOCALID_ATTENDANT, SlateportCity_BattleTentCorridor_Movement_AttendantExit
|
||||
applymovement LOCALID_SLATEPORT_TENT_CORRIDOR_ATTENDANT, SlateportCity_BattleTentCorridor_Movement_AttendantExit
|
||||
applymovement OBJ_EVENT_ID_PLAYER, SlateportCity_BattleTentCorridor_Movement_PlayerExit
|
||||
waitmovement 0
|
||||
closedoor 2, 1
|
||||
|
||||
Reference in New Issue
Block a user