mirror of
https://github.com/zeldaret/tmc
synced 2026-08-05 17:44:13 -04:00
label script functions
This commit is contained in:
@@ -13,15 +13,15 @@ script_08013FA4:
|
||||
CheckPlayerFlags 0x00400000
|
||||
JumpIfNot script_08013FA4
|
||||
EndBlock
|
||||
Call sub_0807FA40
|
||||
_0807E888
|
||||
Call WaitForPlayerNormalOrTalkEzlo
|
||||
DisablePlayerControl
|
||||
Call sub_0807DF38
|
||||
Wait 0x0078
|
||||
_0807EB28 0x1505
|
||||
EzloMessage 0x1505
|
||||
WaitUntilTextboxCloses
|
||||
SetLocalFlag 0x007d
|
||||
Call sub_0807DF50
|
||||
_0807E878
|
||||
EnablePlayerControl
|
||||
script_08013FE0:
|
||||
DoPostScriptAction 0x0006
|
||||
SCRIPT_END
|
||||
|
||||
@@ -15,17 +15,17 @@ script_08013FF0:
|
||||
CallWithArg sub_0807F6B4, 0x000000d0
|
||||
JumpIfNot script_08013FF0
|
||||
EndBlock
|
||||
Call sub_0807F9A4
|
||||
Call WaitForPlayerNormal
|
||||
BeginBlock
|
||||
_0807E864
|
||||
SetPlayerIdle
|
||||
Call sub_0807DF28
|
||||
EndBlock
|
||||
_0807EB28 0x1508
|
||||
EzloMessage 0x1508
|
||||
WaitUntilTextboxCloses
|
||||
StartPlayerScript script_PlayerSanctuary
|
||||
WaitForSyncFlagAndClear 0x00000001
|
||||
Call sub_0807DF50
|
||||
_0807E878
|
||||
EnablePlayerControl
|
||||
Jump script_08013FF0
|
||||
script_0801404C:
|
||||
DoPostScriptAction 0x0006
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@ Sanctuary NPC4E Rumble after fusing final sword
|
||||
SCRIPT_START script_Npc4EFinalSwordRumble
|
||||
Call sub_0807F3F8
|
||||
Call CreatePlayerExclamationMark
|
||||
Wait 0x003c
|
||||
.ifdef EU
|
||||
_0807F0B4 0x0007
|
||||
@@ -23,13 +23,13 @@ SCRIPT_START script_Npc4EFinalSwordRumble
|
||||
MoveEntityToPlayer
|
||||
CameraTargetEntity
|
||||
Wait 0x003c
|
||||
_0807EB28 0x1502
|
||||
EzloMessage 0x1502
|
||||
WaitUntilTextboxCloses
|
||||
_0807F0B4 0x0004
|
||||
CameraTargetPlayer
|
||||
SetLocalFlag 0x007c
|
||||
Call sub_08053250
|
||||
Call sub_0807DF50
|
||||
_0807E878
|
||||
EnablePlayerControl
|
||||
DoPostScriptAction 0x0006
|
||||
SCRIPT_END
|
||||
|
||||
@@ -13,9 +13,9 @@ script_0801427C:
|
||||
script_08014298:
|
||||
CheckEntityInteractType
|
||||
JumpIfNot script_08014298
|
||||
_0807E864
|
||||
SetPlayerIdle
|
||||
MessageFromTargetPos 0x0647, 0x000c
|
||||
WaitUntilTextboxCloses
|
||||
_0807E878
|
||||
EnablePlayerControl
|
||||
Jump script_08014298
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -10,7 +10,7 @@ SCRIPT_START script_Npc4EPedestal
|
||||
script_080134F8:
|
||||
CheckEntityInteractType
|
||||
JumpIfNot script_080134F8
|
||||
_0807E864
|
||||
SetPlayerIdle
|
||||
Call sub_0807DF28
|
||||
StartPlayerScript script_PlayerAtPedestal
|
||||
WaitForSyncFlagAndClear 0x00000001
|
||||
@@ -55,15 +55,15 @@ script_080134F8:
|
||||
_0807F078 0x0003, 0x0001
|
||||
Call sub_0806DC3C
|
||||
Call sub_0806DC58
|
||||
Call sub_0807F304
|
||||
Call WaitForPlayerFrameHiBit
|
||||
Wait 0x003c
|
||||
_0807E778 0x0004
|
||||
SetFadeTime 0x0004
|
||||
DoFade7
|
||||
PlaySound SFX_EVAPORATE
|
||||
WaitForFadeFinish
|
||||
Wait 0x003c
|
||||
SetSyncFlag 0x00000010
|
||||
_0807E778 0x0002
|
||||
SetFadeTime 0x0002
|
||||
DoFade6
|
||||
WaitForFadeFinish
|
||||
PlaySound SFX_109
|
||||
|
||||
@@ -12,14 +12,14 @@ script_08013B1E:
|
||||
CheckLocalFlag 0x0078
|
||||
JumpIf script_08013B1E
|
||||
EndBlock
|
||||
_0807E864
|
||||
Call sub_0807F9A4
|
||||
SetPlayerIdle
|
||||
Call WaitForPlayerNormal
|
||||
Call sub_0807DF28
|
||||
_0807EB28 0x1507
|
||||
EzloMessage 0x1507
|
||||
WaitUntilTextboxCloses
|
||||
StartPlayerScript script_PlayerSanctuary
|
||||
WaitForSyncFlagAndClear 0x00000001
|
||||
Call sub_0807DF50
|
||||
_0807E878
|
||||
EnablePlayerControl
|
||||
Jump script_08013B1E
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -4,23 +4,23 @@ SCRIPT_START script_Npc4ESanctuaryIntro
|
||||
script_08013CA6:
|
||||
CheckPlayerInRegion 0x00e8, 0x01e8, 0x4080
|
||||
JumpIfNot script_08013CA6
|
||||
_0807E864
|
||||
Call sub_0807F9A4
|
||||
SetPlayerIdle
|
||||
Call WaitForPlayerNormal
|
||||
Call sub_0807DF28
|
||||
Call sub_0807F3F8
|
||||
Call CreatePlayerExclamationMark
|
||||
Wait 0x003c
|
||||
_0807F0B4 0x0001
|
||||
SetEntityPositionRelative 0x00e8, 0x0138
|
||||
CameraTargetEntity
|
||||
Call sub_0807F5C0
|
||||
Call WaitForCameraTouchRoomBorder
|
||||
Wait 0x0078
|
||||
_0807F0B4 0x0004
|
||||
CameraTargetPlayer
|
||||
Call sub_0807F5C0
|
||||
_0807EB28 0x1504
|
||||
Call WaitForCameraTouchRoomBorder
|
||||
EzloMessage 0x1504
|
||||
WaitUntilTextboxCloses
|
||||
SetLocalFlag 0x0079
|
||||
Call sub_0807DF50
|
||||
_0807E878
|
||||
EnablePlayerControl
|
||||
DoPostScriptAction 0x0006
|
||||
SCRIPT_END
|
||||
|
||||
@@ -10,7 +10,7 @@ SCRIPT_START script_Npc4ESecondSanctuary
|
||||
script_0801373C:
|
||||
CheckEntityInteractType
|
||||
JumpIfNot script_0801373C
|
||||
_0807E864
|
||||
SetPlayerIdle
|
||||
Call sub_0807DF28
|
||||
StartPlayerScript script_PlayerAtPedestal
|
||||
WaitForSyncFlagAndClear 0x00000001
|
||||
@@ -58,15 +58,15 @@ script_0801373C:
|
||||
_0807F078 0x0004, 0x0001
|
||||
Call sub_0806DC3C
|
||||
Call sub_0806DC58
|
||||
Call sub_0807F304
|
||||
Call WaitForPlayerFrameHiBit
|
||||
Wait 0x003c
|
||||
_0807E778 0x0004
|
||||
SetFadeTime 0x0004
|
||||
DoFade7
|
||||
PlaySound SFX_EVAPORATE
|
||||
WaitForFadeFinish
|
||||
Wait 0x003c
|
||||
SetSyncFlag 0x00000010
|
||||
_0807E778 0x0002
|
||||
SetFadeTime 0x0002
|
||||
DoFade6
|
||||
WaitForFadeFinish
|
||||
PlaySound SFX_109
|
||||
@@ -76,7 +76,7 @@ script_0801373C:
|
||||
SetLocalFlag 0x007b
|
||||
Call sub_08053250
|
||||
Call sub_0807DF50
|
||||
_0807E878
|
||||
EnablePlayerControl
|
||||
DoPostScriptAction 0x0006
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@ Sanctuary NPC4E spawn text board
|
||||
SCRIPT_START script_Npc4ESpawnTextBoard
|
||||
Call sub_0807F3F8
|
||||
Call CreatePlayerExclamationMark
|
||||
Wait 0x003c
|
||||
_0807F0B4 0x0007
|
||||
SetEntityPositionRelative 0x00e8, 0x00a8
|
||||
@@ -12,13 +12,13 @@ SCRIPT_START script_Npc4ESpawnTextBoard
|
||||
_0807F0C8 0x0000, 0x0000
|
||||
StartPlayerScript script_PlayerTextBoardAppears
|
||||
WaitForSyncFlagAndClear 0x00000002
|
||||
_0807EB28 0x1501
|
||||
EzloMessage 0x1501
|
||||
WaitUntilTextboxCloses
|
||||
_0807F0B4 0x0004
|
||||
CameraTargetPlayer
|
||||
SetLocalFlag 0x007a
|
||||
Call sub_08053250
|
||||
Call sub_0807DF50
|
||||
_0807E878
|
||||
EnablePlayerControl
|
||||
DoPostScriptAction 0x0006
|
||||
SCRIPT_END
|
||||
|
||||
@@ -10,7 +10,7 @@ SCRIPT_START script_Npc4EThirdSanctuary
|
||||
script_080138D0:
|
||||
CheckEntityInteractType
|
||||
JumpIfNot script_080138D0
|
||||
_0807E864
|
||||
SetPlayerIdle
|
||||
Call sub_0807DF28
|
||||
StartPlayerScript script_PlayerAtPedestal
|
||||
WaitForSyncFlagAndClear 0x00000001
|
||||
@@ -63,15 +63,15 @@ script_080138D0:
|
||||
Call sub_0807AEE4
|
||||
Call sub_0806DC3C
|
||||
Call sub_0806DC58
|
||||
Call sub_0807F304
|
||||
Call WaitForPlayerFrameHiBit
|
||||
Wait 0x003c
|
||||
_0807E778 0x0004
|
||||
SetFadeTime 0x0004
|
||||
DoFade7
|
||||
PlaySound SFX_EVAPORATE
|
||||
WaitForFadeFinish
|
||||
Wait 0x003c
|
||||
SetSyncFlag 0x00000010
|
||||
_0807E778 0x0002
|
||||
SetFadeTime 0x0002
|
||||
DoFade6
|
||||
WaitForFadeFinish
|
||||
PlaySound SFX_109
|
||||
@@ -84,7 +84,7 @@ script_080138D0:
|
||||
CameraTargetEntity
|
||||
.endif
|
||||
Call sub_0806DC3C
|
||||
CallWithArg sub_0807F244, 0x00010001
|
||||
CallWithArg EquipItem, 0x00010001
|
||||
CallWithArg sub_0807F29C, gUnk_080049FE
|
||||
Wait 0x00c8
|
||||
CallWithArg sub_0807F29C, 0x00000000
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
SCRIPT_START script_Object6AEarthElement
|
||||
BeginBlock
|
||||
DoPostScriptAction 0x0007
|
||||
Call sub_0807F180
|
||||
Call SetCollisionLayer2
|
||||
SetEntityPositionRelative 0x00b0, 0x00f8
|
||||
_0807E930 0x0001
|
||||
SetAnimation 0x0001
|
||||
EndBlock
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
SCRIPT_START script_Object6AEarthElementFloating
|
||||
BeginBlock
|
||||
DoPostScriptAction 0x0007
|
||||
_0807E930 0x0000
|
||||
SetAnimation 0x0000
|
||||
EndBlock
|
||||
SetEntitySpeed 0x0080
|
||||
_0807EDD4 0x00b0, 0x00f8
|
||||
_0807E930 0x0001
|
||||
SetAnimation 0x0001
|
||||
SetSyncFlag 0x08000000
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
SCRIPT_START script_Object6AFireElement
|
||||
BeginBlock
|
||||
DoPostScriptAction 0x0007
|
||||
Call sub_0807F180
|
||||
Call SetCollisionLayer2
|
||||
SetEntityPositionRelative 0x0120, 0x00f8
|
||||
_0807E930 0x0003
|
||||
SetAnimation 0x0003
|
||||
EndBlock
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
SCRIPT_START script_Object6AFireElementFloating
|
||||
BeginBlock
|
||||
DoPostScriptAction 0x0007
|
||||
_0807E930 0x0002
|
||||
SetAnimation 0x0002
|
||||
EndBlock
|
||||
SetEntitySpeed 0x0080
|
||||
_0807EDD4 0x0120, 0x00f8
|
||||
_0807E930 0x0003
|
||||
SetAnimation 0x0003
|
||||
SetSyncFlag 0x10000000
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
SCRIPT_START script_Object6ASword2
|
||||
BeginBlock
|
||||
DoPostScriptAction 0x0007
|
||||
_0807E930 0x0009
|
||||
SetAnimation 0x0009
|
||||
EndBlock
|
||||
WaitForSyncFlagAndClear 0x00000080
|
||||
_0807E930 0x000c
|
||||
Call sub_0807F2D4
|
||||
SetAnimation 0x000c
|
||||
Call WaitForFrameHiBit
|
||||
SetSyncFlag 0x00000100
|
||||
WaitForSyncFlagAndClear 0x00000080
|
||||
DoPostScriptAction 0x0006
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
SCRIPT_START script_Object6ASword3
|
||||
BeginBlock
|
||||
DoPostScriptAction 0x0007
|
||||
_0807E930 0x000a
|
||||
SetAnimation 0x000a
|
||||
EndBlock
|
||||
WaitForSyncFlagAndClear 0x00000080
|
||||
_0807E930 0x000d
|
||||
Call sub_0807F2D4
|
||||
SetAnimation 0x000d
|
||||
Call WaitForFrameHiBit
|
||||
SetSyncFlag 0x00000100
|
||||
WaitForSyncFlagAndClear 0x00000080
|
||||
DoPostScriptAction 0x0006
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
SCRIPT_START script_Object6ASwordChange1
|
||||
BeginBlock
|
||||
DoPostScriptAction 0x0007
|
||||
_0807E930 0x0000
|
||||
SetAnimation 0x0000
|
||||
Call sub_0807F738
|
||||
EndBlock
|
||||
WaitForSyncFlag 0x00000040
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
SCRIPT_START script_Object6ASwordCharge10
|
||||
BeginBlock
|
||||
DoPostScriptAction 0x0007
|
||||
_0807E930 0x0015
|
||||
SetAnimation 0x0015
|
||||
Call sub_0807F714
|
||||
Call sub_0807F714
|
||||
CallWithArg sub_0807F994, 0x0000fffc
|
||||
CallWithArg SetSpriteOffset, 0x0000fffc
|
||||
EndBlock
|
||||
WaitForSyncFlag 0x00000020
|
||||
Wait 0x0078
|
||||
Call sub_0807F2D4
|
||||
Call WaitForFrameHiBit
|
||||
DoPostScriptAction 0x0006
|
||||
SCRIPT_END
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
SCRIPT_START script_Object6ASwordCharge2
|
||||
BeginBlock
|
||||
DoPostScriptAction 0x0007
|
||||
_0807E930 0x0001
|
||||
SetAnimation 0x0001
|
||||
Call sub_0807F738
|
||||
EndBlock
|
||||
WaitForSyncFlag 0x00000040
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
SCRIPT_START script_Object6ASwordCharge3
|
||||
BeginBlock
|
||||
DoPostScriptAction 0x0007
|
||||
_0807E930 0x0002
|
||||
SetAnimation 0x0002
|
||||
Call sub_0807F738
|
||||
OffsetEntityPosition 0x0000, 0xfff0
|
||||
EndBlock
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
SCRIPT_START script_Object6ASwordCharge4
|
||||
BeginBlock
|
||||
DoPostScriptAction 0x0007
|
||||
_0807E930 0x0003
|
||||
SetAnimation 0x0003
|
||||
Call sub_0807F738
|
||||
OffsetEntityPosition 0x0000, 0xfff0
|
||||
EndBlock
|
||||
|
||||
@@ -2,15 +2,15 @@
|
||||
SCRIPT_START script_Object6ASwordCharge5
|
||||
BeginBlock
|
||||
DoPostScriptAction 0x0007
|
||||
_0807E930 0x0004
|
||||
SetAnimation 0x0004
|
||||
EndBlock
|
||||
WaitForSyncFlagAndClear 0x00000200
|
||||
_0807E930 0x0008
|
||||
Call sub_0807F2D4
|
||||
_0807E930 0x000c
|
||||
SetAnimation 0x0008
|
||||
Call WaitForFrameHiBit
|
||||
SetAnimation 0x000c
|
||||
SetSyncFlag 0x00002000
|
||||
WaitForSyncFlag 0x00000020
|
||||
_0807E930 0x0010
|
||||
Call sub_0807F2D4
|
||||
SetAnimation 0x0010
|
||||
Call WaitForFrameHiBit
|
||||
DoPostScriptAction 0x0006
|
||||
SCRIPT_END
|
||||
|
||||
@@ -2,15 +2,15 @@
|
||||
SCRIPT_START script_Object6ASwordCharge6
|
||||
BeginBlock
|
||||
DoPostScriptAction 0x0007
|
||||
_0807E930 0x0005
|
||||
SetAnimation 0x0005
|
||||
EndBlock
|
||||
WaitForSyncFlagAndClear 0x00000400
|
||||
_0807E930 0x0009
|
||||
Call sub_0807F2D4
|
||||
_0807E930 0x000d
|
||||
SetAnimation 0x0009
|
||||
Call WaitForFrameHiBit
|
||||
SetAnimation 0x000d
|
||||
SetSyncFlag 0x00004000
|
||||
WaitForSyncFlag 0x00000020
|
||||
_0807E930 0x0011
|
||||
Call sub_0807F2D4
|
||||
SetAnimation 0x0011
|
||||
Call WaitForFrameHiBit
|
||||
DoPostScriptAction 0x0006
|
||||
SCRIPT_END
|
||||
|
||||
@@ -2,17 +2,17 @@
|
||||
SCRIPT_START script_Object6ASwordCharge8
|
||||
BeginBlock
|
||||
DoPostScriptAction 0x0007
|
||||
_0807E930 0x0007
|
||||
SetAnimation 0x0007
|
||||
OffsetEntityPosition 0x0000, 0xfff0
|
||||
EndBlock
|
||||
WaitForSyncFlagAndClear 0x00001000
|
||||
_0807E930 0x000b
|
||||
Call sub_0807F2D4
|
||||
_0807E930 0x000f
|
||||
SetAnimation 0x000b
|
||||
Call WaitForFrameHiBit
|
||||
SetAnimation 0x000f
|
||||
SetSyncFlag 0x00010000
|
||||
WaitForSyncFlag 0x00000020
|
||||
_0807E930 0x0013
|
||||
Call sub_0807F2D4
|
||||
SetAnimation 0x0013
|
||||
Call WaitForFrameHiBit
|
||||
DoPostScriptAction 0x0006
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
SCRIPT_START script_Object6ASwordCharge9
|
||||
BeginBlock
|
||||
DoPostScriptAction 0x0007
|
||||
_0807E930 0x0014
|
||||
SetAnimation 0x0014
|
||||
Call sub_0807F714
|
||||
CallWithArg sub_0807F994, 0x0000fffc
|
||||
CallWithArg SetSpriteOffset, 0x0000fffc
|
||||
EndBlock
|
||||
WaitForSyncFlag 0x00000020
|
||||
Wait 0x0078
|
||||
Call sub_0807F2D4
|
||||
Call WaitForFrameHiBit
|
||||
DoPostScriptAction 0x0006
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
SCRIPT_START script_Object6ASwordInPedestal
|
||||
BeginBlock
|
||||
DoPostScriptAction 0x0007
|
||||
_0807E930 0x0008
|
||||
SetAnimation 0x0008
|
||||
EndBlock
|
||||
WaitForSyncFlagAndClear 0x00000080
|
||||
_0807E930 0x000b
|
||||
Call sub_0807F2D4
|
||||
SetAnimation 0x000b
|
||||
Call WaitForFrameHiBit
|
||||
SetSyncFlag 0x00000100
|
||||
WaitForSyncFlagAndClear 0x00000080
|
||||
DoPostScriptAction 0x0006
|
||||
|
||||
@@ -14,7 +14,7 @@ SCRIPT_START script_Object6ATextBoard
|
||||
EndBlock
|
||||
DoPostScriptAction 0x0008
|
||||
WaitForSyncFlagAndClear 0x00000004
|
||||
_0807E908 0x0002
|
||||
SetAction 0x0002
|
||||
PlaySound SFX_134
|
||||
Jump script_08013C32
|
||||
script_08013C2A:
|
||||
@@ -38,22 +38,22 @@ script_08013C58:
|
||||
CheckEntityInteractType
|
||||
JumpIfNot script_08013C58
|
||||
EndBlock
|
||||
_0807E864
|
||||
_0807EB74
|
||||
SetPlayerIdle
|
||||
FacePlayer
|
||||
CheckLocalFlag 0x007d
|
||||
JumpIf script_08013C82
|
||||
_0807EB28 0x1501
|
||||
EzloMessage 0x1501
|
||||
Jump script_08013C86
|
||||
script_08013C82:
|
||||
_0807EB28 0x1506
|
||||
EzloMessage 0x1506
|
||||
script_08013C86:
|
||||
WaitUntilTextboxCloses
|
||||
Wait 0x000f
|
||||
_0807E878
|
||||
EnablePlayerControl
|
||||
Jump script_08013C58
|
||||
script_08013C92:
|
||||
EndBlock
|
||||
_0807E908 0x0004
|
||||
SetAction 0x0004
|
||||
script_08013C98:
|
||||
DoPostScriptAction 0x0008
|
||||
DoPostScriptAction 0x0006
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
SCRIPT_START script_Object6AWaterElement
|
||||
BeginBlock
|
||||
DoPostScriptAction 0x0007
|
||||
Call sub_0807F180
|
||||
Call SetCollisionLayer2
|
||||
SetEntityPositionRelative 0x0120, 0x0168
|
||||
_0807E930 0x0005
|
||||
SetAnimation 0x0005
|
||||
EndBlock
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
SCRIPT_START script_Object6AWaterElementFloating
|
||||
BeginBlock
|
||||
DoPostScriptAction 0x0007
|
||||
_0807E930 0x0004
|
||||
SetAnimation 0x0004
|
||||
EndBlock
|
||||
SetEntitySpeed 0x0080
|
||||
_0807EDD4 0x0120, 0x0168
|
||||
_0807E930 0x0005
|
||||
SetAnimation 0x0005
|
||||
SetSyncFlag 0x20000000
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
SCRIPT_START script_Object6AWindElement
|
||||
BeginBlock
|
||||
DoPostScriptAction 0x0007
|
||||
Call sub_0807F180
|
||||
Call SetCollisionLayer2
|
||||
SetEntityPositionRelative 0x00b0, 0x0168
|
||||
_0807E930 0x0007
|
||||
SetAnimation 0x0007
|
||||
EndBlock
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
SCRIPT_START script_Object6AWindElementFloating
|
||||
BeginBlock
|
||||
DoPostScriptAction 0x0007
|
||||
_0807E930 0x0006
|
||||
SetAnimation 0x0006
|
||||
EndBlock
|
||||
SetEntitySpeed 0x0080
|
||||
_0807EDD4 0x00b0, 0x0168
|
||||
_0807E930 0x0007
|
||||
SetAnimation 0x0007
|
||||
SetSyncFlag 0x40000000
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -2,17 +2,17 @@
|
||||
SCRIPT_START script_Objet6ASwordCharge7
|
||||
BeginBlock
|
||||
DoPostScriptAction 0x0007
|
||||
_0807E930 0x0006
|
||||
SetAnimation 0x0006
|
||||
OffsetEntityPosition 0x0000, 0xfff0
|
||||
EndBlock
|
||||
WaitForSyncFlagAndClear 0x00000800
|
||||
_0807E930 0x000a
|
||||
Call sub_0807F2D4
|
||||
_0807E930 0x000e
|
||||
SetAnimation 0x000a
|
||||
Call WaitForFrameHiBit
|
||||
SetAnimation 0x000e
|
||||
SetSyncFlag 0x00008000
|
||||
WaitForSyncFlag 0x00000020
|
||||
_0807E930 0x0012
|
||||
Call sub_0807F2D4
|
||||
SetAnimation 0x0012
|
||||
Call WaitForFrameHiBit
|
||||
DoPostScriptAction 0x0006
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -3,7 +3,7 @@ SCRIPT_START script_PlayerAtPedestal
|
||||
BeginBlock
|
||||
SetEntitySpeed 0x0100
|
||||
EndBlock
|
||||
Call sub_0807F584
|
||||
Call ReadPlayerAnimationState
|
||||
JumpTable script_080136F0, script_080136FA, script_08013704, script_080136FA
|
||||
script_080136F0:
|
||||
CallWithArg sub_0807F464, 0x000000d0
|
||||
@@ -11,7 +11,7 @@ script_080136FA:
|
||||
CallWithArg sub_0807F4F8, 0x00000124
|
||||
script_08013704:
|
||||
_0807EDD4 0x00e8, 0x0124
|
||||
_0807EB44 0x0004
|
||||
SetAnimationState 0x0004
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
|
||||
@@ -4,7 +4,7 @@ SCRIPT_START script_PlayerAtSanctuaryEntrance
|
||||
SetEntitySpeed 0x0100
|
||||
EndBlock
|
||||
_0807EDD4 0x0088, 0x0068
|
||||
_0807EB44 0x0000
|
||||
SetAnimationState 0x0000
|
||||
DoPostScriptAction 0x0000
|
||||
Wait 0x001e
|
||||
SetSyncFlag 0x00000001
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
SCRIPT_START script_PlayerGetElement
|
||||
BeginBlock
|
||||
SetEntitySpeed 0x0140
|
||||
_0807E864
|
||||
SetPlayerIdle
|
||||
Call sub_0807DF28
|
||||
EndBlock
|
||||
Wait 0x0078
|
||||
@@ -18,5 +18,5 @@ script_0800A0D2:
|
||||
WaitForSyncFlagAndClear 0x00000002
|
||||
Wait 0x003c
|
||||
SetEntitySpeed 0x0080
|
||||
_0807EC64 0x0030
|
||||
WalkNorth 0x0030
|
||||
SCRIPT_END
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
SCRIPT_START script_PlayerPickUpFinalSword
|
||||
CallWithArg sub_08095E7C, script_Object6ASwordCharge11
|
||||
PlaySound SFX_1D3
|
||||
CallWithArg sub_0807F238, 0x000008e3
|
||||
CallWithArg SetPlayerAnimation2, 0x000008e3
|
||||
Call sub_08096028
|
||||
Wait 0x0078
|
||||
SetSyncFlag 0x00020000
|
||||
Call sub_0807F304
|
||||
Call WaitForPlayerFrameHiBit
|
||||
Wait 0x0078
|
||||
WaitForSyncFlagAndClear 0x00040000
|
||||
Call sub_080791BC
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
@ Player at Sanctuary pick up sword
|
||||
SCRIPT_START script_PlayerPickUpSword
|
||||
PlaySound SFX_1D3
|
||||
CallWithArg sub_0807F238, 0x000008bf
|
||||
CallWithArg SetPlayerAnimation2, 0x000008bf
|
||||
Call sub_08096028
|
||||
Wait 0x003c
|
||||
SetSyncFlag 0x00020000
|
||||
Call sub_0807F304
|
||||
Call WaitForPlayerFrameHiBit
|
||||
Wait 0x0078
|
||||
WaitForSyncFlagAndClear 0x00040000
|
||||
Call sub_080791BC
|
||||
|
||||
@@ -3,8 +3,8 @@ SCRIPT_START script_PlayerSanctuary
|
||||
BeginBlock
|
||||
SetEntitySpeed 0x0100
|
||||
EndBlock
|
||||
_0807EC64 0x0010
|
||||
_0807EB44 0x0000
|
||||
WalkNorth 0x0010
|
||||
SetAnimationState 0x0000
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000001
|
||||
Call sub_080791BC
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
@ Player in Sanctuary during intro cutscene
|
||||
SCRIPT_START script_PlayerSanctuaryIntro
|
||||
BeginBlock
|
||||
_0807EB44 0x0000
|
||||
SetAnimationState 0x0000
|
||||
SetEntityPositionRelative 0x0098, 0x0070
|
||||
EndBlock
|
||||
SetSyncFlag 0x00000002
|
||||
|
||||
@@ -4,7 +4,7 @@ SCRIPT_START script_PlayerTextBoardAppears
|
||||
SetEntitySpeed 0x0100
|
||||
EndBlock
|
||||
_0807EDD4 0x00e8, 0x00a8
|
||||
_0807EB44 0x0000
|
||||
SetAnimationState 0x0000
|
||||
DoPostScriptAction 0x0000
|
||||
SetSyncFlag 0x00000002
|
||||
Call sub_080791BC
|
||||
|
||||
Reference in New Issue
Block a user