mirror of
https://github.com/zeldaret/tmc
synced 2026-07-08 14:36:41 -04:00
Identify player functions and update asm.h
This commit is contained in:
@@ -7,5 +7,5 @@ SCRIPT_START script_PlayerAtSiroc
|
||||
SetAnimationState 0x0000
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -74,7 +74,7 @@ script_08012824:
|
||||
SetPlayerIdle
|
||||
_0807E9DC
|
||||
CallWithArg sub_0807F5B0, 0x0000003c
|
||||
Call sub_080791D0
|
||||
Call ResetPlayerAnimationAndAction
|
||||
EndBlock
|
||||
SetSyncFlag 0x00000008
|
||||
WaitForSyncFlagAndClear 0x00000004
|
||||
|
||||
@@ -18,7 +18,7 @@ script_0801248A:
|
||||
_0807E80C 0x00000000
|
||||
WaitForFadeFinish
|
||||
_0807E858 0x0000
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
LoadRoomEntityList gUnk_080F4D70
|
||||
Call DeleteAllEnemies
|
||||
SetEntityPositionRelative 0x0388, 0x0168
|
||||
|
||||
@@ -8,5 +8,5 @@ SCRIPT_START script_PlayerDefeatedOctoroks
|
||||
SetAnimationState 0x0000
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -8,6 +8,6 @@ SCRIPT_START script_PlayerEzloBeingBullied
|
||||
DoPostScriptAction 0x0004
|
||||
Wait 0x003c
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
@ Get Ezlo cap Player
|
||||
SCRIPT_START script_PlayerGetEzloCap
|
||||
DoPostScriptAction 0x0015
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -20,5 +20,5 @@ SCRIPT_START script_PlayerIntro
|
||||
Call sub_08053250
|
||||
EnablePlayerControl
|
||||
Call sub_0807DF50
|
||||
Call sub_080791D0
|
||||
Call ResetPlayerAnimationAndAction
|
||||
SCRIPT_END
|
||||
|
||||
@@ -34,7 +34,7 @@ SCRIPT_START script_ZeldaTalkToSmith
|
||||
BeginBlock
|
||||
SetGlobalFlag 0x0013
|
||||
Call sub_0807DF50
|
||||
Call sub_080791D0
|
||||
Call ResetPlayerAnimationAndAction
|
||||
EnablePlayerControl
|
||||
EndBlock
|
||||
SCRIPT_END
|
||||
|
||||
@@ -15,6 +15,6 @@ SCRIPT_START script_PlayerEnters
|
||||
DoPostScriptAction 0x0000
|
||||
Wait 0x000f
|
||||
SetSyncFlag 0x00000020
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -8,6 +8,6 @@ SCRIPT_START script_PlayerGetSword
|
||||
MessageFromTargetPos 0x0501, 0x000e
|
||||
WaitUntilTextboxCloses
|
||||
SetSyncFlag 0x00000020
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -29,5 +29,5 @@ script_08009EA4:
|
||||
Call sub_08053250
|
||||
EnablePlayerControl
|
||||
Call sub_0807DF50
|
||||
Call sub_080791D0
|
||||
Call ResetPlayerAnimationAndAction
|
||||
SCRIPT_END
|
||||
|
||||
@@ -6,6 +6,6 @@ SCRIPT_START script_PlayerAtIntroBusinessScrub4
|
||||
SetAnimationState 0x0000
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000004
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -5,5 +5,5 @@ SCRIPT_START script_PlayerIntroBusinessScrub1
|
||||
SetAnimationState 0x0002
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000010
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -5,5 +5,5 @@ SCRIPT_START script_PlayerIntroBusinessScrub2
|
||||
SetAnimationState 0x0002
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000010
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -5,5 +5,5 @@ SCRIPT_START script_PlayerIntroBusinessScrub3
|
||||
SetAnimationState 0x0000
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000010
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -28,7 +28,7 @@ SCRIPT_START script_Npc4EMonsters
|
||||
CallWithArg DeleteManager36, 0x00000002
|
||||
_0807F0C8 0x0000, 0x0000
|
||||
Call sub_0806DC3C
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
CallWithArg EquipItem, 0x0000000d
|
||||
CallWithArg sub_0807F29C, gUnk_080049F6
|
||||
_0807F0B4 0x0001
|
||||
|
||||
@@ -8,7 +8,7 @@ SCRIPT_START script_Npc4EVaatiAttacking
|
||||
MessageFromTargetPos 0x1047, 0x0000
|
||||
WaitUntilTextboxCloses
|
||||
Call sub_0806DC3C
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
CallWithArg EquipItem, 0x0000000d
|
||||
CallWithArg sub_0807F29C, gUnk_080049F6
|
||||
Wait 0x001e
|
||||
|
||||
@@ -6,5 +6,5 @@ SCRIPT_START script_PlayerAtIntroCeremony
|
||||
SetSyncFlag 0x00000400
|
||||
ClearSyncFlag 0x00000002
|
||||
EndBlock
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -13,5 +13,5 @@ SCRIPT_START script_PlayerFainting
|
||||
EndBlock
|
||||
Call WaitForFrameHiBit
|
||||
WaitForSyncFlag 0x80000000
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -7,5 +7,5 @@ SCRIPT_START script_PlayerIntroCastle
|
||||
SetAnimationState 0x0000
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000400
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -9,5 +9,5 @@ SCRIPT_START script_PlayerProtectingZelda
|
||||
SetAnimationState 0x0004
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000400
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -160,7 +160,7 @@ SCRIPT_START script_Npc4EIntroTown
|
||||
GivePlayerItem 0x000d
|
||||
WaitPlayerGetItem
|
||||
Call sub_0806DC3C
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
CallWithArg EquipItem, 0x0000000d
|
||||
SetIntVariable 0x000000ff
|
||||
Call sub_0807F5B0
|
||||
|
||||
@@ -7,5 +7,5 @@ SCRIPT_START script_PlayerIntro1
|
||||
SetAnimationState 0x0006
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -7,5 +7,5 @@ SCRIPT_START script_PlayerIntro2
|
||||
SetAnimationState 0x0000
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -7,5 +7,5 @@ SCRIPT_START script_PlayerIntro3
|
||||
SetAnimationState 0x0000
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -7,5 +7,5 @@ SCRIPT_START script_PlayerIntro4
|
||||
SetAnimationState 0x0002
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -14,5 +14,5 @@ script_0800FB10:
|
||||
SetAnimationState 0x0000
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -5,6 +5,6 @@ SCRIPT_START script_PlayerIntroTown
|
||||
SetAnimationState 0x0000
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000008
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -12,5 +12,5 @@ SCRIPT_START script_PlayerAtFirstKinstone
|
||||
SetAnimationState 0x0006
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -3,6 +3,6 @@ SCRIPT_START script_PlayerAtHurdyGurdyManFirstKinstone1
|
||||
SetEntitySpeed 0x0100
|
||||
WalkEast 0x0008
|
||||
SetSyncFlag 0x00000400
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -3,6 +3,6 @@ SCRIPT_START script_PlayerAtHurdyGurdyManFirstKinstone2
|
||||
SetEntitySpeed 0x0100
|
||||
WalkWest 0x0008
|
||||
SetSyncFlag 0x00000400
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -3,6 +3,6 @@ SCRIPT_START script_PlayerAtHurdyGurdyManFirstKinstone3
|
||||
SetEntitySpeed 0x0100
|
||||
WalkSouth 0x0008
|
||||
SetSyncFlag 0x00000400
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -3,6 +3,6 @@ SCRIPT_START script_PlayerAtHurdyGurdyManFirstKinstone4
|
||||
SetEntitySpeed 0x0100
|
||||
WalkNorth 0x0008
|
||||
SetSyncFlag 0x00000400
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -9,6 +9,6 @@ SCRIPT_START script_PlayerAtVillageIntro
|
||||
_0807EDD4 0x0208, 0x0340
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000002
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -8,5 +8,5 @@ SCRIPT_START script_PlayerAtVaatisAppearance
|
||||
SetAnimationState 0x0004
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -8,5 +8,5 @@ SCRIPT_START script_PlayerDefeatedMoblins
|
||||
SetAnimationState 0x0004
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
@ Player Outside Castle after Ezlo explanation after ezlo cutscene
|
||||
SCRIPT_START script_PlayerReceivedExposition
|
||||
DoPostScriptAction 0x0015
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -7,5 +7,5 @@ SCRIPT_START script_PlayerSeenOriginStory
|
||||
SetAnimationState 0x0006
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -10,6 +10,6 @@ SCRIPT_START script_PlayerStoneWallsAppear
|
||||
Wait 0x000a
|
||||
SetAnimationState 0x0004
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -8,5 +8,5 @@ SCRIPT_START script_PlayerTryToFollowVaati
|
||||
SetAnimationState 0x0004
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -7,5 +7,5 @@ SCRIPT_START script_PlayerAtEzlo
|
||||
SetAnimationState 0x0000
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -10,5 +10,5 @@ SCRIPT_START script_PlayerAtOutro
|
||||
SetAnimationState 0x0006
|
||||
Wait 0x000a
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -22,5 +22,5 @@ SCRIPT_START script_PlayerGetGreenCap
|
||||
SetAnimationState 0x0000
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -7,4 +7,4 @@ SCRIPT_START script_PlayerSayGoodbye
|
||||
SetAnimationState 0x0000
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
|
||||
@@ -8,5 +8,5 @@ SCRIPT_START script_PlayerAtPicture
|
||||
SetAnimationState 0x0000
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000002
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -9,6 +9,6 @@ SCRIPT_START script_PlayerDistanceFromVaati
|
||||
DoPostScriptAction 0x0000
|
||||
DoPostScriptAction 0x000c
|
||||
SetSyncFlag 0x00000002
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -12,6 +12,6 @@ SCRIPT_START script_PlayerFaintAgain
|
||||
_0807EF3C 0x0200, 0x0020
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000002
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -7,6 +7,6 @@ SCRIPT_START script_PlayerMoveToPicture
|
||||
WalkNorth 0x0020
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000002
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -16,5 +16,5 @@ SCRIPT_START script_PlayerAtTakeover
|
||||
SetAnimationState 0x0004
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000100
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -9,6 +9,6 @@ SCRIPT_START script_PlayerAfterDefeatingV2
|
||||
WalkSouth 0x0010
|
||||
DoPostScriptAction 0x000c
|
||||
SetSyncFlag 0x00000004
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -11,5 +11,5 @@ SCRIPT_START script_PlayerAtDarkNut1
|
||||
DoPostScriptAction 0x0001
|
||||
Call sub_080752AC
|
||||
EnablePlayerControl
|
||||
Call sub_080791D0
|
||||
Call ResetPlayerAnimationAndAction
|
||||
SCRIPT_END
|
||||
|
||||
@@ -11,5 +11,5 @@ SCRIPT_START script_PlayerAtDarkNut2
|
||||
DoPostScriptAction 0x0001
|
||||
Call sub_080752AC
|
||||
EnablePlayerControl
|
||||
Call sub_080791D0
|
||||
Call ResetPlayerAnimationAndAction
|
||||
SCRIPT_END
|
||||
|
||||
@@ -11,5 +11,5 @@ SCRIPT_START script_PlayerAtDarkNut3
|
||||
DoPostScriptAction 0x0001
|
||||
Call sub_080752AC
|
||||
EnablePlayerControl
|
||||
Call sub_080791D0
|
||||
Call ResetPlayerAnimationAndAction
|
||||
SCRIPT_END
|
||||
|
||||
@@ -7,5 +7,5 @@ SCRIPT_START script_PlayerCastleCollapsing
|
||||
DoPostScriptAction 0x0000
|
||||
_0807EEF4 0x0000, 0x0080
|
||||
SetSyncFlag 0x00000004
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -7,5 +7,5 @@ SCRIPT_START script_PlayerCastleEscape
|
||||
SetAnimationState 0x0004
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -8,6 +8,6 @@ SCRIPT_START script_PlayerRescuedZelda
|
||||
SetAnimationState 0x0000
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000004
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -6,5 +6,5 @@ SCRIPT_START script_PlayerStonesFall
|
||||
CallWithArg SetPlayerAnimation2, 0x000003c5
|
||||
Call WaitForPlayerFrameHiBit
|
||||
SetSyncFlag 0x00000004
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -7,6 +7,6 @@ SCRIPT_START script_PlayerV2Defeated
|
||||
DoPostScriptAction 0x0001
|
||||
_0807EDD4 0x00a8, 0x002c
|
||||
SetSyncFlag 0x00000002
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -12,5 +12,5 @@ SCRIPT_START script_PlayerAtGraveyardHouseDoor
|
||||
DoPostScriptAction 0x000d
|
||||
SetEntitySpeed 0x0100
|
||||
WalkSouth 0x0010
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -8,5 +8,5 @@ SCRIPT_START script_PlayerAtKingGustav
|
||||
SetAnimationState 0x0000
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -16,6 +16,6 @@ SCRIPT_START script_PlayerGetKeyStolen
|
||||
_0807EF3C 0x0200, 0x0020
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000040
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -45,7 +45,7 @@ script_080101AC:
|
||||
DoFade5
|
||||
WaitForFadeFinish
|
||||
CallWithArg SetPlayerPos, 0x03400378
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
Call sub_0807FB74
|
||||
_0807E8E4_1
|
||||
Call SetPlayerCollisionLayer1
|
||||
|
||||
@@ -11,6 +11,6 @@ SCRIPT_START script_PlayerActivatedTrapCard
|
||||
DoPostScriptAction 0x0005
|
||||
Wait 0x003c
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -7,6 +7,6 @@ SCRIPT_START script_PlayerAtDrLeftDoor
|
||||
DoPostScriptAction 0x0001
|
||||
WalkSouth 0x0008
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -7,6 +7,6 @@ SCRIPT_START script_PlayerAtInnDoor
|
||||
SetAnimationState 0x0004
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -7,6 +7,6 @@ SCRIPT_START script_PlayerCannotEnter
|
||||
SetAnimationState 0x0002
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -15,6 +15,6 @@ script_08010A78:
|
||||
DoPostScriptAction 0x0014
|
||||
EnablePlayerControl
|
||||
Call sub_0807DF50
|
||||
Call sub_080791D0
|
||||
Call ResetPlayerAnimationAndAction
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -8,5 +8,5 @@ SCRIPT_START script_PlayerStepOnTrap
|
||||
_0807EDD4 0x0078, 0x0080
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -60,5 +60,5 @@ script_0800EEFE:
|
||||
MessageFromTarget 0x4c09
|
||||
WaitUntilTextboxCloses
|
||||
SetSyncFlag 0x00000048
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -6,6 +6,6 @@ SCRIPT_START script_PlayerAfterToD
|
||||
DoPostScriptAction 0x0004
|
||||
Wait 0x003c
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -9,5 +9,5 @@ SCRIPT_START script_PlayerAtBombMinish
|
||||
Wait 0x000f
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000002
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -8,5 +8,5 @@ SCRIPT_START script_PlayerAtFestari
|
||||
Wait 0x000f
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -9,5 +9,5 @@ SCRIPT_START script_PlayerAtGentari
|
||||
Wait 0x000f
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -12,5 +12,5 @@ SCRIPT_START script_PlayerAtMadderpillar
|
||||
DoPostScriptAction 0x0001
|
||||
Call sub_080752AC
|
||||
EnablePlayerControl
|
||||
Call sub_080791D0
|
||||
Call ResetPlayerAnimationAndAction
|
||||
SCRIPT_END
|
||||
|
||||
@@ -7,5 +7,5 @@ SCRIPT_START script_PlayerAtMelari
|
||||
SetAnimationState 0x0002
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000008
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -8,6 +8,6 @@ SCRIPT_START script_PlayerAtMountainMinishExit
|
||||
DoPostScriptAction 0x000d
|
||||
WalkSouth 0x0020
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -8,5 +8,5 @@ SCRIPT_START script_PlayerGetWhiteSword
|
||||
MessageNoOverlap 0x0502
|
||||
WaitUntilTextboxCloses
|
||||
SetSyncFlag 0x00000008
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -8,6 +8,6 @@ SCRIPT_START script_PlayerPlaceBrokenSword
|
||||
SetAnimationState 0x0004
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000008
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -5,5 +5,5 @@ SCRIPT_START script_PlayerAtBladeBrothers
|
||||
SetAnimationState 0x0000
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -60,7 +60,7 @@ script_080138D0:
|
||||
StartPlayerScript script_PlayerPickUpFinalSword
|
||||
SetSyncFlag 0x00000080
|
||||
_0807F078 0x0006, 0x0001
|
||||
Call sub_0807AEE4
|
||||
Call UpdatePlayerSkills
|
||||
Call sub_0806DC3C
|
||||
Call sub_0806DC58
|
||||
Call WaitForPlayerFrameHiBit
|
||||
|
||||
@@ -14,5 +14,5 @@ script_08013704:
|
||||
SetAnimationState 0x0004
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -8,5 +8,5 @@ SCRIPT_START script_PlayerAtSanctuaryEntrance
|
||||
DoPostScriptAction 0x0000
|
||||
Wait 0x001e
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -9,5 +9,5 @@ SCRIPT_START script_PlayerPickUpFinalSword
|
||||
Call WaitForPlayerFrameHiBit
|
||||
Wait 0x0078
|
||||
WaitForSyncFlagAndClear 0x00040000
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -8,6 +8,6 @@ SCRIPT_START script_PlayerPickUpSword
|
||||
Call WaitForPlayerFrameHiBit
|
||||
Wait 0x0078
|
||||
WaitForSyncFlagAndClear 0x00040000
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -7,6 +7,6 @@ SCRIPT_START script_PlayerSanctuary
|
||||
SetAnimationState 0x0000
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -5,5 +5,5 @@ SCRIPT_START script_PlayerSanctuaryIntro
|
||||
SetEntityPositionRelative 0x0098, 0x0070
|
||||
EndBlock
|
||||
SetSyncFlag 0x00000002
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -7,5 +7,5 @@ SCRIPT_START script_PlayerTextBoardAppears
|
||||
SetAnimationState 0x0000
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000002
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -3,6 +3,6 @@ SCRIPT_START script_0800FB2C
|
||||
SetAnimationState 0x0002
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -8,5 +8,5 @@ SCRIPT_START script_08012B24
|
||||
WalkSouth 0x0008
|
||||
SetSyncFlag 0x00000002
|
||||
CallWithArg sub_0807FB64, 0xffffffe2
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -8,5 +8,5 @@ SCRIPT_START script_08012B50
|
||||
WalkNorth 0x0008
|
||||
SetSyncFlag 0x00000002
|
||||
CallWithArg sub_0807FB64, 0xffffffe2
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -8,5 +8,5 @@ SCRIPT_START script_08012B7C
|
||||
WalkEast 0x0008
|
||||
SetSyncFlag 0x00000002
|
||||
CallWithArg sub_0807FB64, 0xffffffe2
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
@@ -11,7 +11,7 @@ script_08013D1C:
|
||||
CallWithArg sub_08095D54, 0x00000000
|
||||
PlaySound SFX_ELEMENT_PLACE
|
||||
SetSyncFlag 0x08000000
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
DoPostScriptAction 0x0006
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -11,7 +11,7 @@ script_08013D5C:
|
||||
CallWithArg sub_08095D54, 0x00000001
|
||||
PlaySound SFX_ELEMENT_PLACE
|
||||
SetSyncFlag 0x10000000
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
DoPostScriptAction 0x0006
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -11,7 +11,7 @@ script_08013D9C:
|
||||
CallWithArg sub_08095D54, 0x00000002
|
||||
PlaySound SFX_ELEMENT_PLACE
|
||||
SetSyncFlag 0x20000000
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
DoPostScriptAction 0x0006
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -11,7 +11,7 @@ script_08013DDC:
|
||||
CallWithArg sub_08095D54, 0x00000003
|
||||
PlaySound SFX_ELEMENT_PLACE
|
||||
SetSyncFlag 0x40000000
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
DoPostScriptAction 0x0006
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -6,6 +6,6 @@ SCRIPT_START script_08015A7C
|
||||
SetAnimationState 0x0000
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000004
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -6,6 +6,6 @@ SCRIPT_START script_08015AA0
|
||||
SetAnimationState 0x0002
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000004
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -8,5 +8,5 @@ SCRIPT_START script_PlayerAtTextboard
|
||||
SetAnimationState 0x0000
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
Call SetPlayerActionNormal
|
||||
SCRIPT_END
|
||||
|
||||
Reference in New Issue
Block a user