OBJ_EVENT_ID_PLAYER/CAMERA -> LOCALID_PLAYER/CAMERA
This commit is contained in:
+22
-22
@@ -108,7 +108,7 @@ CableClub_EventScript_CloseLinkAndExitLinkRoom::
|
||||
goto_if_eq VAR_0x8007, 0, CableClub_EventScript_PlayerExitLinkRoom
|
||||
applymovement VAR_0x8007, Movement_AttendantFaceLeft
|
||||
waitmovement 0
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerExitLinkRoom
|
||||
applymovement LOCALID_PLAYER, Movement_PlayerExitLinkRoom
|
||||
waitmovement 0
|
||||
applymovement VAR_0x8007, Movement_AttendantFaceDown
|
||||
waitmovement 0
|
||||
@@ -131,7 +131,7 @@ CableClub_EventScript_PlayerExitTradeCenter::
|
||||
setvar VAR_CABLE_CLUB_STATE, 0
|
||||
textcolor NPC_TEXT_COLOR_FEMALE
|
||||
goto_if_eq VAR_0x8007, 0, CableClub_EventScript_PlayerExitLinkRoom
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerFaceAttendantRight
|
||||
applymovement LOCALID_PLAYER, Movement_PlayerFaceAttendantRight
|
||||
waitmovement 0
|
||||
applymovement VAR_0x8007, Movement_AttendantFaceLeft
|
||||
waitmovement 0
|
||||
@@ -154,7 +154,7 @@ CableClub_EventScript_PlayerExitUnionRoom::
|
||||
setvar VAR_CABLE_CLUB_STATE, 0
|
||||
textcolor NPC_TEXT_COLOR_FEMALE
|
||||
goto_if_eq VAR_0x8007, 0, CableClub_EventScript_PlayerExitLinkRoom
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerFaceAttendantRight
|
||||
applymovement LOCALID_PLAYER, Movement_PlayerFaceAttendantRight
|
||||
waitmovement 0
|
||||
applymovement VAR_0x8007, Movement_AttendantFaceLeft
|
||||
waitmovement 0
|
||||
@@ -167,25 +167,25 @@ CableClub_EventScript_TrainerCardDataOverwritten::
|
||||
playse SE_PIN
|
||||
message CableClub_Text_HopeToSeeYouAgain
|
||||
waitmessage
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerExitLinkRoom
|
||||
applymovement LOCALID_PLAYER, Movement_PlayerExitLinkRoom
|
||||
waitmovement 0
|
||||
applymovement VAR_0x8007, Movement_AttendantFaceDown
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
CableClub_EventScript_PlayerExitLinkRoom::
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerExitLinkRoom
|
||||
applymovement LOCALID_PLAYER, Movement_PlayerExitLinkRoom
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
CableClub_EventScript_Tutorial::
|
||||
lockall
|
||||
textcolor NPC_TEXT_COLOR_FEMALE
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFasterUp
|
||||
applymovement LOCALID_PLAYER, Common_Movement_WalkInPlaceFasterUp
|
||||
waitmovement 0
|
||||
msgbox CableClub_Text_FirstTimeRightThisWay
|
||||
closemessage
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerApproachCounter
|
||||
applymovement LOCALID_PLAYER, Movement_PlayerApproachCounter
|
||||
waitmovement 0
|
||||
delay 30
|
||||
msgbox CableClub_Text_ExplainWirelessClubFirstTime
|
||||
@@ -297,13 +297,13 @@ CableClub_EventScript_EnterColosseum::
|
||||
applymovement VAR_LAST_TALKED, Movement_AttendantFaceLeft
|
||||
waitmovement 0
|
||||
closemessage
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerApproachLinkRoomLeft
|
||||
applymovement LOCALID_PLAYER, Movement_PlayerApproachLinkRoomLeft
|
||||
waitmovement 0
|
||||
opendoor 9, 1
|
||||
waitdooranim
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerEnterLinkRoom
|
||||
applymovement LOCALID_PLAYER, Movement_PlayerEnterLinkRoom
|
||||
waitmovement 0
|
||||
hideobjectat OBJ_EVENT_ID_PLAYER, 0
|
||||
hideobjectat LOCALID_PLAYER, 0
|
||||
closedoor 9, 1
|
||||
waitdooranim
|
||||
release
|
||||
@@ -316,7 +316,7 @@ CableClub_EventScript_EnterColosseum::
|
||||
|
||||
@ Unused
|
||||
CableClub_EventScript_PlayerApproachLinkRoomRight::
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerApproachLinkRoomRight
|
||||
applymovement LOCALID_PLAYER, Movement_PlayerApproachLinkRoomRight
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
@@ -395,13 +395,13 @@ CableClub_EventScript_EnterTradeCenter::
|
||||
applymovement VAR_LAST_TALKED, Movement_AttendantFaceLeft
|
||||
waitmovement 0
|
||||
closemessage
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerApproachLinkRoomLeft
|
||||
applymovement LOCALID_PLAYER, Movement_PlayerApproachLinkRoomLeft
|
||||
waitmovement 0
|
||||
opendoor 9, 1
|
||||
waitdooranim
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerEnterLinkRoom
|
||||
applymovement LOCALID_PLAYER, Movement_PlayerEnterLinkRoom
|
||||
waitmovement 0
|
||||
hideobjectat OBJ_EVENT_ID_PLAYER, 0
|
||||
hideobjectat LOCALID_PLAYER, 0
|
||||
closedoor 9, 1
|
||||
waitdooranim
|
||||
release
|
||||
@@ -783,13 +783,13 @@ CableClub_EventScript_EnterUnionRoom::
|
||||
delay 60
|
||||
applymovement VAR_LAST_TALKED, Movement_AttendantFaceLeft
|
||||
waitmovement 0
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerApproachLinkRoomLeft
|
||||
applymovement LOCALID_PLAYER, Movement_PlayerApproachLinkRoomLeft
|
||||
waitmovement 0
|
||||
opendoor 5, 1
|
||||
waitdooranim
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerEnterLinkRoom
|
||||
applymovement LOCALID_PLAYER, Movement_PlayerEnterLinkRoom
|
||||
waitmovement 0
|
||||
hideobjectat OBJ_EVENT_ID_PLAYER, 0
|
||||
hideobjectat LOCALID_PLAYER, 0
|
||||
closedoor 5, 1
|
||||
waitdooranim
|
||||
special Script_ResetUnionRoomTrade
|
||||
@@ -1060,13 +1060,13 @@ CableClub_EventScript_EnterWirelessLinkRoom::
|
||||
applymovement VAR_LAST_TALKED, Movement_AttendantFaceLeft
|
||||
waitmovement 0
|
||||
closemessage
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerApproachLinkRoomLeft
|
||||
applymovement LOCALID_PLAYER, Movement_PlayerApproachLinkRoomLeft
|
||||
waitmovement 0
|
||||
opendoor 9, 1
|
||||
waitdooranim
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerEnterLinkRoom
|
||||
applymovement LOCALID_PLAYER, Movement_PlayerEnterLinkRoom
|
||||
waitmovement 0
|
||||
hideobjectat OBJ_EVENT_ID_PLAYER, 0
|
||||
hideobjectat LOCALID_PLAYER, 0
|
||||
closedoor 9, 1
|
||||
waitdooranim
|
||||
release
|
||||
@@ -1244,9 +1244,9 @@ CableClub_EventScript_EnterMinigame::
|
||||
applymovement VAR_LAST_TALKED, Movement_AttendantFaceLeft
|
||||
waitmovement 0
|
||||
closemessage
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerEnterMinigameRoom
|
||||
applymovement LOCALID_PLAYER, Movement_PlayerEnterMinigameRoom
|
||||
waitmovement 0
|
||||
hideobjectat OBJ_EVENT_ID_PLAYER, 0
|
||||
hideobjectat LOCALID_PLAYER, 0
|
||||
release
|
||||
waitstate
|
||||
end
|
||||
|
||||
@@ -11,7 +11,7 @@ EventScript_FixCrackedGround::
|
||||
EventScript_FallDownHole::
|
||||
lockall
|
||||
delay 20
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_SetInvisible
|
||||
applymovement LOCALID_PLAYER, Movement_SetInvisible
|
||||
waitmovement 0
|
||||
playse SE_FALL
|
||||
delay 60
|
||||
@@ -23,7 +23,7 @@ EventScript_FallDownHole::
|
||||
EventScript_DoFallWarp::
|
||||
lockall
|
||||
delay 20
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_SetInvisible
|
||||
applymovement LOCALID_PLAYER, Movement_SetInvisible
|
||||
waitmovement 0
|
||||
playse SE_FALL
|
||||
delay 60
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
PokemonLeague_EventScript_OpenDoor::
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_Delay32
|
||||
applymovement LOCALID_PLAYER, Common_Movement_Delay32
|
||||
waitmovement 0
|
||||
playse SE_RS_DOOR
|
||||
call PokemonLeague_EventScript_SetDoorOpen
|
||||
@@ -8,7 +8,7 @@ PokemonLeague_EventScript_OpenDoor::
|
||||
return
|
||||
|
||||
PokemonLeague_EventScript_EnterRoom::
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkUp5
|
||||
applymovement LOCALID_PLAYER, Common_Movement_WalkUp5
|
||||
waitmovement 0
|
||||
setflag FLAG_TEMP_2
|
||||
playse SE_UNLOCK
|
||||
@@ -26,13 +26,13 @@ PokemonLeague_EventScript_PreventExit::
|
||||
textcolor NPC_TEXT_COLOR_MALE
|
||||
msgbox Text_VoiceRangOutDontRunAway
|
||||
closemessage
|
||||
applymovement OBJ_EVENT_ID_PLAYER, PokemonLeague_Movement_ForcePlayerIn
|
||||
applymovement LOCALID_PLAYER, PokemonLeague_Movement_ForcePlayerIn
|
||||
waitmovement 0
|
||||
releaseall
|
||||
end
|
||||
|
||||
PokemonLeague_EventScript_OpenDoorLance::
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_Delay32
|
||||
applymovement LOCALID_PLAYER, Common_Movement_Delay32
|
||||
waitmovement 0
|
||||
playse SE_RS_DOOR
|
||||
setmetatile 6, 4, METATILE_PokemonLeague_Door_Top_Open, 1
|
||||
|
||||
@@ -172,7 +172,7 @@ Route23_EventScript_MissingBoulderBadgeTrigger::
|
||||
playse SE_BOO
|
||||
msgbox Text_CantLetYouPass
|
||||
closemessage
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Route23_Movement_WalkDown
|
||||
applymovement LOCALID_PLAYER, Route23_Movement_WalkDown
|
||||
applymovement VAR_0x8009, Common_Movement_WalkInPlaceFasterDown
|
||||
waitmovement 0
|
||||
releaseall
|
||||
@@ -185,7 +185,7 @@ Route23_EventScript_MissingBadgeTrigger::
|
||||
waitbuttonpress
|
||||
closemessage
|
||||
waitse
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Route23_Movement_WalkDown
|
||||
applymovement LOCALID_PLAYER, Route23_Movement_WalkDown
|
||||
applymovement VAR_0x8009, Common_Movement_WalkInPlaceFasterDown
|
||||
waitmovement 0
|
||||
releaseall
|
||||
|
||||
@@ -118,7 +118,7 @@ EventScript_CancelSail::
|
||||
VermilionCity_EventScript_WalkUpPier::
|
||||
closemessage
|
||||
applymovement LOCALID_FERRY_SAILOR, Common_Movement_FaceOriginalDirection
|
||||
applymovement OBJ_EVENT_ID_PLAYER, VermilionCity_Movement_WalkUp
|
||||
applymovement LOCALID_PLAYER, VermilionCity_Movement_WalkUp
|
||||
waitmovement 0
|
||||
releaseall
|
||||
end
|
||||
|
||||
@@ -362,7 +362,7 @@ TrainerTower_EventScript_IneligibleForDoubleBattle::
|
||||
playse SE_DING_DONG
|
||||
msgbox TrainerTower_Lobby_Text_NeedTwoMonsForDouble
|
||||
closemessage
|
||||
applymovement OBJ_EVENT_ID_PLAYER, TrainerTower_Movement_PushPlayerBack
|
||||
applymovement LOCALID_PLAYER, TrainerTower_Movement_PushPlayerBack
|
||||
waitmovement 0
|
||||
releaseall
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user