label script functions

This commit is contained in:
theo3
2021-12-27 21:26:32 -08:00
parent ebaa6d76fa
commit c4f2efe132
525 changed files with 2621 additions and 2625 deletions
+63 -63
View File
@@ -4,20 +4,20 @@ SCRIPT_START script_EzloCap
SetEntitySpeed 0x0040
DoPostScriptAction 0x0007
EndBlock
_0807E930 0x0020
SetAnimation 0x0020
WaitForSyncFlagAndClear 0x00000004
_0807E930 0x0022
SetAnimation 0x0022
Call sub_0807F3C8
MessageFromTargetPos 0x1102, 0x000c
WaitUntilTextboxCloses
_0807E930 0x0020
SetAnimation 0x0020
SetSyncFlag 0x00000008
WaitForSyncFlagAndClear 0x00000004
_0807E930 0x0021
SetAnimation 0x0021
Call sub_0807F3C8
MessageFromTargetPos 0x1103, 0x000c
WaitUntilTextboxCloses
_0807E930 0x0020
SetAnimation 0x0020
SetSyncFlag 0x00000008
WaitForSyncFlagAndClear 0x00000004
DoPostScriptAction 0x0004
@@ -25,32 +25,32 @@ SCRIPT_START script_EzloCap
SetSyncFlag 0x00000008
WaitForSyncFlagAndClear 0x00000004
DoPostScriptAction 0x0011
_0807E930 0x001c
SetAnimation 0x001c
MessageFromTargetPos 0x1105, 0x000c
WaitUntilTextboxCloses
_0807E930 0x0020
SetAnimation 0x0020
SetSyncFlag 0x00000008
WaitForSyncFlagAndClear 0x00000004
_0807E930 0x0022
SetAnimation 0x0022
Call sub_0807F3C8
MessageFromTargetPos 0x1106, 0x000c
WaitUntilTextboxCloses
_0807E930 0x001c
SetAnimation 0x001c
Call sub_0806D96C
MessageFromTargetPos 0x1107, 0x000c
WaitUntilTextboxCloses
_0807E930 0x0020
SetAnimation 0x0020
SetSyncFlag 0x00000008
WaitForSyncFlagAndClear 0x00000004
_0807E930 0x0021
SetAnimation 0x0021
Call sub_0807F3C8
MessageFromTargetPos 0x1108, 0x000c
WaitUntilTextboxCloses
_0807E930 0x001c
SetAnimation 0x001c
Call sub_0806D96C
MessageFromTargetPos 0x1109, 0x000c
WaitUntilTextboxCloses
_0807E930 0x0020
SetAnimation 0x0020
DoPostScriptAction 0x000a
_0807E9D4
SetSyncFlag 0x00000008
@@ -62,16 +62,16 @@ script_080127F2:
CheckEntityInteractType
JumpIfNot script_080127F2
EndBlock
_0807E864
SetPlayerIdle
Call sub_0806D944
_0807E930 0x0010
SetAnimation 0x0010
MessageFromTargetPos 0x1114, 0x000c
WaitUntilTextboxCloses
_0807E930 0x0020
_0807E878
SetAnimation 0x0020
EnablePlayerControl
Jump script_080127F2
script_08012824:
_0807E864
SetPlayerIdle
_0807E9DC
CallWithArg sub_0807F5B0, 0x0000003c
Call sub_080791D0
@@ -82,39 +82,39 @@ script_08012824:
SetSyncFlag 0x00000008
WaitForSyncFlagAndClear 0x00000004
Call sub_0806D944
_0807E930 0x0010
SetAnimation 0x0010
MessageFromTargetPos 0x110a, 0x000c
WaitUntilTextboxCloses
_0807E930 0x001f
SetAnimation 0x001f
SetSyncFlag 0x00000008
WaitForSyncFlagAndClear 0x00000004
_0807E930 0x0010
SetAnimation 0x0010
MessageFromTargetPos 0x110b, 0x000c
WaitUntilTextboxCloses
_0807E930 0x001f
SetAnimation 0x001f
SetSyncFlag 0x00000008
WaitForSyncFlagAndClear 0x00000004
DoPostScriptAction 0x0004
Wait 0x003c
_0807E930 0x0010
SetAnimation 0x0010
MessageFromTargetPos 0x110c, 0x000c
WaitUntilTextboxCloses
_0807E930 0x001f
SetAnimation 0x001f
SetSyncFlag 0x00000008
WaitForSyncFlagAndClear 0x00000004
_0807E930 0x0010
SetAnimation 0x0010
MessageFromTargetPos 0x110d, 0x000c
WaitUntilTextboxCloses
_0807E930 0x001f
SetAnimation 0x001f
SetSyncFlag 0x00000008
WaitForSyncFlagAndClear 0x00000004
_0807E930 0x0010
SetAnimation 0x0010
MessageFromTargetPos 0x110e, 0x000c
WaitUntilTextboxCloses
_0807E930 0x0018
SetAnimation 0x0018
SetEntitySpeed 0x0080
Call sub_0806D908
_0807EC1C 0x0010
WalkForward 0x0010
DoPostScriptAction 0x000a
_0807E9D4
SetSyncFlag 0x00000008
@@ -129,30 +129,30 @@ script_08012904:
JumpIfNot script_0801293A
Jump script_08012904
script_08012920:
_0807E864
_0807E930 0x0010
SetPlayerIdle
SetAnimation 0x0010
EndBlock
MessageFromTargetPos 0x1115, 0x000c
WaitUntilTextboxCloses
_0807E930 0x0018
_0807E878
SetAnimation 0x0018
EnablePlayerControl
Jump script_08012904
script_0801293A:
EndBlock
_0807E864
Call sub_0807F9A4
SetPlayerIdle
Call WaitForPlayerNormal
Call sub_0807DF28
_0807EB8C
FaceAwayFromPlayer
Call sub_0806D944
_0807E930 0x0010
SetAnimation 0x0010
MessageFromTargetPos 0x110f, 0x000c
_0807E930 0x0018
SetAnimation 0x0018
SetEntitySpeed 0x0080
Call sub_0806D908
_0807EC1C 0x0050
WalkForward 0x0050
WaitUntilTextboxCloses
Call sub_0807DF50
_0807E878
EnablePlayerControl
SetSyncFlag 0x00000008
WaitForSyncFlagAndClear 0x00000004
script_08012984:
@@ -165,31 +165,31 @@ script_08012984:
JumpIfNot script_080129BA
Jump script_08012984
script_080129A0:
_0807E864
_0807E930 0x0010
SetPlayerIdle
SetAnimation 0x0010
EndBlock
MessageFromTargetPos 0x1115, 0x000c
WaitUntilTextboxCloses
_0807E930 0x0018
_0807E878
SetAnimation 0x0018
EnablePlayerControl
Jump script_08012984
script_080129BA:
EndBlock
_0807E864
Call sub_0807F9A4
SetPlayerIdle
Call WaitForPlayerNormal
Call sub_0807DF28
_0807EB8C
FaceAwayFromPlayer
Call sub_0806D944
_0807E930 0x0010
SetAnimation 0x0010
MessageFromTargetPos 0x1110, 0x000c
_0807E930 0x0018
SetAnimation 0x0018
SetEntitySpeed 0x0080
Call sub_0806D908
_0807EC1C 0x0050
_0807E930 0x0018
WalkForward 0x0050
SetAnimation 0x0018
WaitUntilTextboxCloses
Call sub_0807DF50
_0807E878
EnablePlayerControl
SetSyncFlag 0x00000008
WaitForSyncFlagAndClear 0x00000004
script_08012A08:
@@ -202,32 +202,32 @@ script_08012A08:
JumpIfNot script_08012A3E
Jump script_08012A08
script_08012A24:
_0807E864
_0807E930 0x0010
SetPlayerIdle
SetAnimation 0x0010
EndBlock
MessageFromTargetPos 0x1115, 0x000c
WaitUntilTextboxCloses
_0807E930 0x0018
_0807E878
SetAnimation 0x0018
EnablePlayerControl
Jump script_08012A08
script_08012A3E:
EndBlock
_0807E864
Call sub_0807F9A4
SetPlayerIdle
Call WaitForPlayerNormal
Call sub_0807DF28
StopBgm
DoPostScriptAction 0x000b
_0807EB8C
FaceAwayFromPlayer
Call sub_0806D944
_0807E930 0x0010
SetAnimation 0x0010
MessageFromTargetPos 0x1111, 0x000c
_0807E930 0x0018
SetAnimation 0x0018
SetEntitySpeed 0x0080
Call sub_0806D8A0
script_08012A74:
_0807EE30
JumpIfNot script_08012A74
_0807E930 0x001f
SetAnimation 0x001f
WaitUntilTextboxCloses
StartPlayerScript script_PlayerGetEzloCap
Call sub_0806D9A4
@@ -236,7 +236,7 @@ script_08012A74:
PlayBgm BGM_EZLO_THEME
BeginBlock
_0807E8E4_2
_0807EB28 0x1112
EzloMessage 0x1112
EndBlock
WaitUntilTextboxCloses
SetSyncFlag 0x00000008
@@ -7,14 +7,14 @@ script_0801248A:
CheckPlayerInRegion 0x0208, 0x02c8, 0x4020
JumpIfNot script_0801248A
StopBgm
_0807E864
Call sub_0807F9A4
SetPlayerIdle
Call WaitForPlayerNormal
Call sub_0807DF28
StartPlayerScript script_PlayerAtFirstLookAtEzlo
MessageFromTargetPos 0x1101, 0x0007
WaitUntilTextboxCloses
CameraTargetPlayer
_0807E778 0x0004
SetFadeTime 0x0004
_0807E80C 0x00000000
WaitForFadeFinish
_0807E858 0x0000
@@ -23,7 +23,7 @@ script_0801248A:
Call DeleteAllEnemies
SetEntityPositionRelative 0x0388, 0x0168
Call sub_0807F844
_0807E778 0x0004
SetFadeTime 0x0004
_0807E800 0x00000000
WaitForFadeFinish
PlayBgm BGM_EZLO_THEME
@@ -38,24 +38,24 @@ script_0801248A:
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000008
StopBgm
_0807E778 0x0004
SetFadeTime 0x0004
_0807E80C 0x00000000
WaitForFadeFinish
MoveEntityToPlayer
Call sub_0807F844
CameraTargetPlayer
SetFadeMask 0xffffffff
_0807E778 0x0004
SetFadeTime 0x0004
_0807E800 0x00000000
WaitForFadeFinish
Call sub_0807DF50
_0807E878
EnablePlayerControl
PlayBGM
script_08012566:
CheckPlayerInRegion 0x03a0, 0x01a0, 0x1020
JumpIfNot script_08012566
_0807E864
Call sub_0807F9A4
SetPlayerIdle
Call WaitForPlayerNormal
Call sub_0807DF28
Call sub_0806DC7C
StopBgm
@@ -83,12 +83,12 @@ script_08012566:
StopBgm
PlayBgm BGM_FIGHT_THEME2
Call sub_0807DF50
_0807E878
EnablePlayerControl
SetSyncFlag 0x00000050
LoadRoomEntityList gUnk_080F51D0
WaitForSyncFlagAndClear 0x00000008
_0807E864
Call sub_0807FA40
SetPlayerIdle
Call WaitForPlayerNormalOrTalkEzlo
Call sub_0807DF28
PlaySound SFX_SECRET
StopBgm
@@ -116,7 +116,7 @@ script_08012566:
_0807F0B4 0x0004
CameraTargetPlayer
Call sub_0807DF50
_0807E878
EnablePlayerControl
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000008
SetSyncFlag 0x00000004
@@ -128,8 +128,8 @@ script_08012566:
PlayBGM
Call sub_08054570
SetGlobalFlag 0x0014
CallWithArg sub_0807F6F8, 0x00000008
CallWithArg ResetPlayerFlag, 0x00000008
Call sub_0807DF50
_0807E878
EnablePlayerControl
DoPostScriptAction 0x0006
SCRIPT_END
@@ -1,20 +1,20 @@
@ First look at Ezlo OBJECT_6A left octorok
SCRIPT_START script_Object6ALeftBullyingOctorok
BeginBlock
_0807EB44 0x0002
SetAnimationState 0x0002
DoPostScriptAction 0x0007
_0807E930 0x0001
SetAnimation 0x0001
EndBlock
WaitForSyncFlagAndClear 0x00000040
_0807E930 0x0005
SetAnimation 0x0005
Wait 0x001e
SetSyncFlag 0x00000080
_0807E930 0x0001
SetAnimation 0x0001
WaitForSyncFlagAndClear 0x00000040
_0807E930 0x0005
SetAnimation 0x0005
Wait 0x001e
SetSyncFlag 0x00000080
_0807E930 0x0001
SetAnimation 0x0001
WaitForSyncFlagAndClear 0x00000040
Wait 0x0001
DoPostScriptAction 0x0006
@@ -1,20 +1,20 @@
@ First look at Ezlo OBJECT_6A right octorok
SCRIPT_START script_Object6ARightBullyingOctorok
BeginBlock
_0807EB44 0x0006
SetAnimationState 0x0006
DoPostScriptAction 0x0007
_0807E930 0x0003
SetAnimation 0x0003
EndBlock
WaitForSyncFlagAndClear 0x00000010
_0807E930 0x0007
SetAnimation 0x0007
Wait 0x001e
SetSyncFlag 0x00000020
_0807E930 0x0003
SetAnimation 0x0003
WaitForSyncFlagAndClear 0x00000010
_0807E930 0x0007
SetAnimation 0x0007
Wait 0x001e
SetSyncFlag 0x00000020
_0807E930 0x0003
SetAnimation 0x0003
WaitForSyncFlagAndClear 0x00000010
Wait 0x0001
DoPostScriptAction 0x0006
@@ -2,9 +2,9 @@
SCRIPT_START script_PlayerAtFirstLookAtEzlo
EndBlock
script_08012AB2:
_0807EB44 0x0002
SetAnimationState 0x0002
Wait 0x000a
_0807EB44 0x0006
SetAnimationState 0x0006
Wait 0x000a
Jump script_08012AB2
.2byte 0x0000
@@ -5,7 +5,7 @@ SCRIPT_START script_PlayerDefeatedOctoroks
EndBlock
DoPostScriptAction 0x0001
_0807EDD4 0x0388, 0x0180
_0807EB44 0x0000
SetAnimationState 0x0000
DoPostScriptAction 0x0000
SetSyncFlag 0x00000001
Call sub_080791BC
@@ -3,7 +3,7 @@ SCRIPT_START script_PlayerEzloBeingBullied
BeginBlock
SetEntitySpeed 0x0080
EndBlock
_0807EB44 0x0000
SetAnimationState 0x0000
DoPostScriptAction 0x0000
DoPostScriptAction 0x0004
Wait 0x003c
@@ -11,7 +11,7 @@ SCRIPT_START script_HouseDoorIntro
PlaySound SFX_F1
DoPostScriptAction 0x0007
Wait 0x005a
_0807E778 0x0004
SetFadeTime 0x0004
@ Circle transition
_0807E80C 0x00000000
WaitForFadeFinish @ Wait for end of transition
@@ -5,7 +5,7 @@ SCRIPT_START script_IntroCameraTarget
SetEntitySpeed 0x0080
Wait 0x0078
PlayBgm BGM_MINISH_CAP
_0807E778 0x0002
SetFadeTime 0x0002
@ Fade in
DoFade4
WaitForFadeFinish @ TODO wait for fade to be finished
@@ -3,11 +3,11 @@ SCRIPT_START script_Npc4EOutsideLinksHouse
BeginBlock
SetEntityPositionRelative 0x0238, 0x01a8
Call sub_0807F844
Call sub_0807F348
_0807E864
Call SetPriorityMessage
SetPlayerIdle
Call sub_0807DF28
EndBlock
_0807E778 0x0010
SetFadeTime 0x0010
DoFade6
WaitForFadeFinish
SetSyncFlag 0x00000001
@@ -15,7 +15,7 @@ SCRIPT_START script_Npc4EOutsideLinksHouse
_0807F0B4 0x0004
CameraTargetPlayer
Call sub_0807DF50
_0807E878
EnablePlayerControl
DoPostScriptAction 0x0006
SCRIPT_END
.2byte 0x0000
@@ -2,7 +2,7 @@
SCRIPT_START script_Object69Intro
BeginBlock
Call sub_0807DF28
_0807E864
SetPlayerIdle
SetSyncFlag 0x00000000
EndBlock
WaitForFadeFinish
@@ -11,6 +11,6 @@ SCRIPT_START script_Object69Intro
WaitForSyncFlagAndClear 0x00000001
SetGlobalFlag 0x001c
Call sub_0807DF50
_0807E878
EnablePlayerControl
Call sub_0807921C
SCRIPT_END
@@ -2,7 +2,7 @@
SCRIPT_START script_PlayerIntro
BeginBlock
Call sub_0807DF28
_0807E864
SetPlayerIdle
SetLocalFlag 0x0046
EndBlock
WaitForFadeFinish
@@ -18,7 +18,7 @@ SCRIPT_START script_PlayerIntro
Wait 0x001e
@ Give control to the player?
Call sub_08053250
_0807E878
EnablePlayerControl
Call sub_0807DF50
Call sub_080791D0
SCRIPT_END
@@ -1,37 +1,37 @@
@ Intro Smith 1
SCRIPT_START script_SmithIntro
BeginBlock
Call sub_0807F348
Call SetPriorityMessage
SetEntitySpeed 0x0040
_0807EB44 0x0004
_0807E930 0x000c
_0807E908 0x0003
SetAnimationState 0x0004
SetAnimation 0x000c
SetAction 0x0003
EndBlock
Wait 0x001e
CameraTargetEntity
_0807E778 0x0004
SetFadeTime 0x0004
_0807E800 0x00000000
WaitForFadeFinish
WaitForSyncFlagAndClear 0x00000008
DoPostScriptAction 0x0004
Wait 0x001e
_0807E930 0x000b
SetAnimation 0x000b
Wait 0x001e
MessageFromTarget 0x1002
WaitUntilTextboxCloses
DoPostScriptAction 0x0000
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000008
_0807E908 0x0001
_0807EB44 0x0004
SetAction 0x0001
SetAnimationState 0x0004
_0807EDD4 0x00b8, 0x005c
_0807EB44 0x0006
SetAnimationState 0x0006
DoPostScriptAction 0x0001
MessageFromTarget 0x1004
WaitUntilTextboxCloses
DoPostScriptAction 0x0000
Wait 0x001e
_0807E778 0x0002
SetFadeTime 0x0002
DoFade5
WaitForFadeFinish
Call sub_08053634
@@ -1,21 +1,21 @@
@ Intro Smith 2
SCRIPT_START script_SmithIntro2
BeginBlock
_0807EB44 0x0006
SetAnimationState 0x0006
SetEntitySpeed 0x0080
_0807E9D4
Call sub_0807F348
Call SetPriorityMessage
EndBlock
CheckGlobalFlag 0x0013
JumpIf script_08009C4C
_0807E888
DisablePlayerControl
Wait 0x000a
_0807E864
SetPlayerIdle
StartPlayerScript script_PlayerMoveToSmith
Call sub_0807DF28
WaitForSyncFlagAndClear 0x00000008
_0807EDD4 0x0080, 0x005c
_0807EB44 0x0006
SetAnimationState 0x0006
DoPostScriptAction 0x0000
Wait 0x000f
DoPostScriptAction 0x0001
@@ -25,7 +25,7 @@ SCRIPT_START script_SmithIntro2
DoPostScriptAction 0x0000
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000008
_0807EB8C
FaceAwayFromPlayer
DoPostScriptAction 0x0001
MessageFromTargetPos 0x100b, 0x0000
WaitUntilTextboxCloses
@@ -36,7 +36,7 @@ SCRIPT_START script_SmithIntro2
Wait 0x000f
DoPostScriptAction 0x000d
_0807EDD4 0x0084, 0x005c
_0807EB44 0x0006
SetAnimationState 0x0006
DoPostScriptAction 0x000c
DoPostScriptAction 0x0000
SetSyncFlag 0x00000002
@@ -57,10 +57,10 @@ script_08009C4C:
script_08009C50:
CheckEntityInteractType
JumpIfNot script_08009C50
_0807E864
_0807EB74
SetPlayerIdle
FacePlayer
MessageNoOverlap 0x100e
_0807E878
EnablePlayerControl
Jump script_08009C50
SCRIPT_END
.2byte 0x0000
@@ -1,9 +1,9 @@
@ Intro Zelda at Smith
SCRIPT_START script_ZeldaIntro
BeginBlock
Call sub_0807F348
Call SetPriorityMessage
SetEntitySpeed 0x00c0
_0807EB44 0x0002
SetAnimationState 0x0002
DoPostScriptAction 0x0008
EndBlock
WaitForSyncFlagAndClear 0x00000004
@@ -2,7 +2,7 @@
SCRIPT_START script_ZeldaLeaveLinksHouse
BeginBlock
SetEntitySpeed 0x0100
_0807EB44 0x0006
SetAnimationState 0x0006
EndBlock
_0807EDD4 0x0078, 0x0060
_0807EDD4 0x0078, 0x007c
@@ -11,7 +11,7 @@ SCRIPT_START script_ZeldaLeaveLinksHouse
Wait 0x0008
_0807EDD4 0x0078, 0x0098
DoPostScriptAction 0x0008
_0807E778 0x0010
SetFadeTime 0x0010
DoFade5
WaitForFadeFinish
Call sub_08053634
@@ -6,12 +6,12 @@ SCRIPT_START script_ZeldaOutsideLinksHouse
Call sub_08066D04
Call sub_08066D14
SetEntityPositionRelative 0x01e8, 0x0180
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x0000
EndBlock
WaitForSyncFlagAndClear 0x00000001
Call sub_08066E08
_0807E864
SetPlayerIdle
MessageFromTargetPos 0x1010, 0x000c
WaitUntilTextboxCloses
SetSyncFlag 0x00000002
@@ -22,41 +22,41 @@ script_08014D1E:
CheckPlayerInRegion 0x01d8, 0x0160, 0x3050
JumpIfNot script_08014D1E
EndBlock
_0807E864
Call sub_0807F9A4
SetPlayerIdle
Call WaitForPlayerNormal
Call sub_0807DF28
MessageNoOverlap 0x1012
WaitUntilTextboxCloses
_0807EC64 0x0040
_0807EB44 0x0004
WalkNorth 0x0040
SetAnimationState 0x0004
Call sub_08066E08
SetEntityPositionRelative 0x01f8, 0x00c8
Call sub_0807DF50
_0807E878
EnablePlayerControl
script_08014D60:
@ Between trees
CallWithArg sub_0807F6B4, 0x000000e8
JumpIf script_08014D60
_0807E864
SetPlayerIdle
Call sub_0807DF28
MessageNoOverlap 0x1013
WaitUntilTextboxCloses
_0807EC64 0x0040
_0807EB44 0x0004
WalkNorth 0x0040
SetAnimationState 0x0004
DoPostScriptAction 0x0000
SetEntityPositionRelative 0x01e8, 0x0028
Call sub_0807DF50
_0807E878
EnablePlayerControl
script_08014D96:
@ Before hyrule town entry
CheckPlayerInRegion 0x01f8, 0x0028, 0x2040
JumpIfNot script_08014D96
_0807E864
Call sub_0807F9A4
SetPlayerIdle
Call WaitForPlayerNormal
Call sub_0807DF28
MessageNoOverlap 0x1014
WaitUntilTextboxCloses
_0807EC64 0x0018
WalkNorth 0x0018
.ifdef JP
SetLocalFlag 0x006b
.else
@@ -71,6 +71,6 @@ script_08014D96:
.endif
.endif
Call sub_0807DF50
_0807E878
EnablePlayerControl
DoPostScriptAction 0x0006
SCRIPT_END
@@ -1,28 +1,28 @@
@ Intro Zelda at Smith 2
SCRIPT_START script_ZeldaTalkToSmith
BeginBlock
_0807EB44 0x0002
SetAnimationState 0x0002
SetEntitySpeed 0x0100
Call sub_0807F348
Call SetPriorityMessage
EndBlock
WaitForSyncFlagAndClear 0x00000004
DoPostScriptAction 0x0004
_0807EB74
FacePlayer
WaitForSyncFlagAndClear 0x00000004
_0807EB74
FacePlayer
WaitForSyncFlagAndClear 0x00000004
_0807EB74
_0807EB8C
FacePlayer
FaceAwayFromPlayer
DoPostScriptAction 0x0001
MessageFromTargetPos 0x100a, 0x0000
WaitUntilTextboxCloses
DoPostScriptAction 0x0000
SetSyncFlag 0x00000008
WaitForSyncFlagAndClear 0x00000004
_0807EB8C
FaceAwayFromPlayer
DoPostScriptAction 0x0001
_0807EB8C
_0807EB44 0x0002
FaceAwayFromPlayer
SetAnimationState 0x0002
MessageFromTargetPos 0x100d, 0x0000
WaitUntilTextboxCloses
DoPostScriptAction 0x0000
@@ -35,7 +35,7 @@ SCRIPT_START script_ZeldaTalkToSmith
SetGlobalFlag 0x0013
Call sub_0807DF50
Call sub_080791D0
_0807E878
EnablePlayerControl
EndBlock
SCRIPT_END
.2byte 0x0000
@@ -1,19 +1,19 @@
@ Intro Assembly Guard
SCRIPT_START script_GuardAtAssembly
BeginBlock
_0807EB44 0x0000
_0807E930 0x0000
SetAnimationState 0x0000
SetAnimation 0x0000
EndBlock
WaitForSyncFlag 0x00000010
PlaySound SFX_11C
_0807E930 0x0001
SetAnimation 0x0001
Wait 0x0010
PlaySound SFX_11C
_0807EB44 0x0004
_0807E930 0x0006
SetAnimationState 0x0004
SetAnimation 0x0006
Wait 0x0010
DoPostScriptAction 0x000f
SetEntitySpeed 0x0200
_0807ECC4 0x1c20
WalkSouth 0x1c20
DoPostScriptAction 0x0006
SCRIPT_END
@@ -1,57 +1,57 @@
@ Intro Assembly King Daltus
SCRIPT_START script_KingDaltusAtAssembly
BeginBlock
Call sub_0807F348
Call SetPriorityMessage
SetEntitySpeed 0x0100
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x0000
_0807E9D4
DoPostScriptAction 0x000a
EndBlock
WaitForSyncFlagAndClear 0x00000080
_0807EB44 0x0004
_0807ECC4 0x0008
_0807E930 0x0004
SetAnimationState 0x0004
WalkSouth 0x0008
SetAnimation 0x0004
MessageFromTargetPos 0x1050, 0x000e
WaitUntilTextboxCloses
DoPostScriptAction 0x0000
SetSyncFlag 0x00000100
WaitForSyncFlagAndClear 0x00000080
_0807E930 0x0004
SetAnimation 0x0004
MessageFromTargetPos 0x1052, 0x000e
WaitUntilTextboxCloses
DoPostScriptAction 0x0000
SetSyncFlag 0x00000100
WaitForSyncFlagAndClear 0x00000080
_0807EB44 0x0006
_0807E930 0x0005
SetAnimationState 0x0006
SetAnimation 0x0005
MessageFromTargetPos 0x1054, 0x000e
WaitUntilTextboxCloses
DoPostScriptAction 0x0000
SetSyncFlag 0x00000100
WaitForSyncFlagAndClear 0x00000080
_0807EB44 0x0004
SetAnimationState 0x0004
SetSyncFlag 0x00000100
WaitForSyncFlagAndClear 0x00000080
_0807E930 0x0004
SetAnimation 0x0004
MessageFromTargetPos 0x1056, 0x000e
WaitUntilTextboxCloses
DoPostScriptAction 0x0000
SetSyncFlag 0x00000100
WaitForSyncFlagAndClear 0x00000080
_0807E930 0x0004
SetAnimation 0x0004
MessageFromTargetPos 0x1057, 0x000e
WaitUntilTextboxCloses
DoPostScriptAction 0x0000
SetSyncFlag 0x00000100
WaitForSyncFlagAndClear 0x00000080
_0807E930 0x0004
SetAnimation 0x0004
MessageFromTargetPos 0x1058, 0x000e
WaitUntilTextboxCloses
DoPostScriptAction 0x0000
SetSyncFlag 0x00000100
WaitForSyncFlagAndClear 0x00000080
_0807E930 0x0004
SetAnimation 0x0004
MessageFromTargetPos 0x105c, 0x000e
WaitUntilTextboxCloses
DoPostScriptAction 0x0000
@@ -59,10 +59,10 @@ SCRIPT_START script_KingDaltusAtAssembly
script_0800917C:
CheckEntityInteractType
JumpIfNot script_0800917C
_0807E864
_0807EB74
SetPlayerIdle
FacePlayer
Call sub_0806673C
WaitUntilTextboxCloses
Wait 0x000f
_0807E878
EnablePlayerControl
Jump script_0800917C
@@ -1,16 +1,16 @@
@ Intro Assembly Minister Potho
SCRIPT_START script_MinisterPothoAtAssembly
BeginBlock
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x0000
EndBlock
WaitForSyncFlagAndClear 0x00000004
PlaySound SFX_PLY_JUMP
_0807EF3C 0x0180, 0x0030
_0807EB44 0x0002
SetAnimationState 0x0002
SetSyncFlag 0x00000008
WaitForSyncFlagAndClear 0x00000004
_0807EB44 0x0004
SetAnimationState 0x0004
SetSyncFlag 0x00000008
BeginBlock
_0807E9D4
@@ -6,12 +6,12 @@ SCRIPT_START script_Npc4EIntroAssembly
script_08008E12:
CheckPlayerInRegion 0x00d8, 0x0098, 0x4020
JumpIfNot script_08008E12
_0807E864
Call sub_0807F9A4
SetPlayerIdle
Call WaitForPlayerNormal
Call sub_0807DF28
_0807F0B4 0x0001
CameraTargetEntity
WaitForPlayerAction0x17
WaitForPlayerEnterRoom
Wait 0x003c
StartPlayerScript script_PlayerEnters
WaitForSyncFlagAndClear 0x00000020
@@ -62,7 +62,7 @@ script_08008E12:
GivePlayerItem 0x0047
WaitPlayerGetItem
SetIntVariable 0x00000003
Call sub_0807F420
Call LoadMenu
_0807E8E4_0
SetSyncFlag 0x00000080
WaitForSyncFlagAndClear 0x00000100
@@ -71,7 +71,7 @@ script_08008E12:
SetGlobalFlag 0x0015
Call sub_0806DCC0
Call sub_0807DF50
_0807E878
EnablePlayerControl
DoPostScriptAction 0x0006
SCRIPT_END
.2byte 0x0000
@@ -5,13 +5,13 @@ SCRIPT_START script_PlayerEnters
EndBlock
DoPostScriptAction 0x0001
_0807EDD4 0x00b8, 0x0090
_0807EB44 0x0006
SetAnimationState 0x0006
DoPostScriptAction 0x0000
SetSyncFlag 0x00000020
WaitForSyncFlagAndClear 0x00000040
DoPostScriptAction 0x0001
_0807EDD4 0x0088, 0x0078
_0807EB44 0x0000
SetAnimationState 0x0000
DoPostScriptAction 0x0000
Wait 0x000f
SetSyncFlag 0x00000020
@@ -1,10 +1,10 @@
@ Intro Assembly Player gets Sword
SCRIPT_START script_PlayerGetSword
_0807F078 0x0001, 0x0001
CallWithArg sub_0807F918, 0x00000001
CallWithArg PutItemAnySlot, 0x00000001
PlaySound SFX_109
CallWithArg sub_0807F238, 0x0000045f
Call sub_0807F304
CallWithArg SetPlayerAnimation2, 0x0000045f
Call WaitForPlayerFrameHiBit
MessageFromTargetPos 0x0501, 0x000e
WaitUntilTextboxCloses
SetSyncFlag 0x00000020
@@ -2,7 +2,7 @@
SCRIPT_START script_PlayerWakingUpInHyruleCastle
BeginBlock
Call sub_0807DF28
_0807E864
SetPlayerIdle
.ifdef JP
SetLocalFlag 0x009e
.else
@@ -18,16 +18,16 @@ SCRIPT_START script_PlayerWakingUpInHyruleCastle
.endif
EndBlock
Wait 0x003c
_0807E778 0x0004
SetFadeTime 0x0004
DoFade4
WaitForFadeFinish
script_08009EA4:
Call sub_0807F0D8
Call CheckAnyKeyPressed
JumpIfNot script_08009EA4
DoPostScriptAction 0x0014
Wait 0x000a
Call sub_08053250
_0807E878
EnablePlayerControl
Call sub_0807DF50
Call sub_080791D0
SCRIPT_END
@@ -1,19 +1,19 @@
@ Intro Assembly Smith
SCRIPT_START script_SmithAtAssembly
BeginBlock
Call sub_0807F348
_0807EB44 0x0006
Call SetPriorityMessage
SetAnimationState 0x0006
DoPostScriptAction 0x0000
EndBlock
WaitForSyncFlagAndClear 0x00000001
_0807EB74
FacePlayer
DoPostScriptAction 0x0001
MessageFromTargetPos 0x105b, 0x0000
WaitUntilTextboxCloses
DoPostScriptAction 0x0000
SetSyncFlag 0x00000002
WaitForSyncFlagAndClear 0x00000001
_0807EB44 0x0006
SetAnimationState 0x0006
DoPostScriptAction 0x0000
SetSyncFlag 0x00000002
WaitForSyncFlagAndClear 0x00000001
@@ -27,21 +27,21 @@ SCRIPT_START script_SmithAtAssembly
WaitForSyncFlagAndClear 0x00000001
DoPostScriptAction 0x0004
Wait 0x003c
_0807EB74
_0807EB8C
FacePlayer
FaceAwayFromPlayer
DoPostScriptAction 0x0001
MessageFromTargetPos 0x1055, 0x0000
WaitUntilTextboxCloses
DoPostScriptAction 0x0000
SetSyncFlag 0x00000002
WaitForSyncFlagAndClear 0x00000001
_0807EB74
FacePlayer
SetSyncFlag 0x00000002
WaitForSyncFlagAndClear 0x00000001
SetEntitySpeed 0x0080
DoPostScriptAction 0x0001
_0807EDD4 0x0098, 0x0078
_0807EB74
FacePlayer
DoPostScriptAction 0x0000
DoPostScriptAction 0x0001
MessageFromTargetPos 0x1059, 0x0000
@@ -2,20 +2,20 @@
SCRIPT_START script_080157AC
CheckPlayerInRegion 0x01f8, 0x0310, 0x2020
JumpIfNot script_080157AC
_0807E864
Call sub_0807F9A4
SetPlayerIdle
Call WaitForPlayerNormal
Call sub_0807DF28
SetSyncFlag 0x00000001
WaitForSyncFlagAndClear 0x00000002
Call sub_0807DF50
_0807E878
EnablePlayerControl
script_080157DA:
CheckPlayerInRegion 0x0250, 0x0230, 0x3040
JumpIfNot script_080157DA
_0807E864
Call sub_0807F9A4
SetPlayerIdle
Call WaitForPlayerNormal
Call sub_0807DF28
Call sub_0807F3F8
Call CreatePlayerExclamationMark
Wait 0x003c
SetSyncFlag 0x00000001
WaitForSyncFlagAndClear 0x00000002
@@ -23,7 +23,7 @@ script_080157DA:
_0807F0B4 0x0001
SetEntityPositionRelative 0x0248, 0x0218
CameraTargetEntity
Call sub_0807F5C0
Call WaitForCameraTouchRoomBorder
WaitForSyncFlagAndClear 0x00000010
SetSyncFlag 0x00000008
WaitForSyncFlagAndClear 0x00000020
@@ -38,7 +38,7 @@ script_080157DA:
SetSyncFlag 0x00000001
WaitForSyncFlagAndClear 0x00000002
Call sub_0807DF50
_0807E878
EnablePlayerControl
Call sub_08066F94
SetSyncFlag 0x00000008
script_08015880:
@@ -48,7 +48,7 @@ script_08015888:
WaitUntilTextboxCloses
ComparePlayerAction 0x001c
JumpIf script_08015888
_0807E864
SetPlayerIdle
Call sub_0807DF28
_0807F0B4 0x0002
SetEntityPositionRelative 0x0248, 0x0208
@@ -79,7 +79,7 @@ script_08015888:
.endif
Call sub_08066FB8
Call sub_0807DF50
_0807E878
EnablePlayerControl
_0807F0B4 0x0004
CameraTargetPlayer
DoPostScriptAction 0x0006
@@ -1,7 +1,7 @@
@ OBJECT_6A in sub_080954AC ? businessScrubPrologue?
SCRIPT_START script_08015B14
BeginBlock
_0807E930 0x0018
SetAnimation 0x0018
SetEntitySpeed 0x0300
EndBlock
_0807EDD4 0x0248, 0x0218
@@ -20,15 +20,15 @@ SCRIPT_START script_08015B34
CallWithArg sub_0807F6B4, 0x00000318
JumpIfNot script_08015B34
EndBlock
_0807E864
Call sub_0807F9A4
SetPlayerIdle
Call WaitForPlayerNormal
Call sub_0807DF28
MessageFromTargetPos 0x2506, 0x0002
WaitUntilTextboxCloses
StartPlayerScript script_PlayerAtIntroBusinessScrub4
WaitForSyncFlagAndClear 0x00000004
Call sub_0807DF50
_0807E878
EnablePlayerControl
Jump script_08015B34
script_08015B7E:
DoPostScriptAction 0x0006
@@ -3,15 +3,15 @@ SCRIPT_START script_BusinessScrubIntro
BeginBlock
DoPostScriptAction 0x0007
DoPostScriptAction 0x000a
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x0000
EndBlock
WaitForSyncFlagAndClear 0x00000008
_0807E908 0x0007
SetAction 0x0007
WaitForSyncFlagAndClear 0x00000008
_0807E908 0x0006
SetAction 0x0006
SetRoomFlag 0x0000
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x0000
WaitForSyncFlagAndClear 0x00000008
Wait 0x003c
@@ -2,8 +2,8 @@
SCRIPT_START script_PlayerAtIntroBusinessScrub4
SetEntitySpeed 0x0100
DoPostScriptAction 0x0001
_0807EC64 0x0010
_0807EB44 0x0000
WalkNorth 0x0010
SetAnimationState 0x0000
DoPostScriptAction 0x0000
SetSyncFlag 0x00000004
Call sub_080791BC
@@ -2,7 +2,7 @@
SCRIPT_START script_PlayerIntroBusinessScrub1
SetEntitySpeed 0x0100
_0807EDD4 0x0218, 0x0238
_0807EB44 0x0002
SetAnimationState 0x0002
DoPostScriptAction 0x0000
SetSyncFlag 0x00000010
Call sub_080791BC
@@ -2,7 +2,7 @@
SCRIPT_START script_PlayerIntroBusinessScrub2
SetEntitySpeed 0x0100
_0807EDD4 0x0238, 0x0228
_0807EB44 0x0002
SetAnimationState 0x0002
DoPostScriptAction 0x0000
SetSyncFlag 0x00000010
Call sub_080791BC
@@ -2,7 +2,7 @@
SCRIPT_START script_PlayerIntroBusinessScrub3
SetEntitySpeed 0x0100
_0807EDD4 0x0248, 0x0208
_0807EB44 0x0000
SetAnimationState 0x0000
DoPostScriptAction 0x0000
SetSyncFlag 0x00000010
Call sub_080791BC
@@ -12,39 +12,39 @@ SCRIPT_START script_ZeldaIntroBusinessScrub
MoveEntityToPlayer
EndBlock
DoPostScriptAction 0x0007
_0807EB74
FacePlayer
_0807EDD4 0x01f8, 0x02f8
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x0000
MessageFromTargetPos 0x1011, 0x0002
WaitUntilTextboxCloses
_0807EDD4 0x01f8, 0x0268
SetEntityPositionRelative 0x0248, 0x0218
_0807EB44 0x0006
SetAnimationState 0x0006
DoPostScriptAction 0x0000
SetSyncFlag 0x00000002
WaitForSyncFlagAndClear 0x00000001
_0807EB44 0x0000
SetAnimationState 0x0000
DoPostScriptAction 0x0000
SetSyncFlag 0x00000002
WaitForSyncFlagAndClear 0x00000001
Call sub_0807F3C8
PlaySound SFX_VO_ZELDA3
SetEntitySpeed 0x0200
_0807ECC4 0x0008
_0807E930 0x0040
Call sub_0807F2D4
_0807EB44 0x0006
WalkSouth 0x0008
SetAnimation 0x0040
Call WaitForFrameHiBit
SetAnimationState 0x0006
DoPostScriptAction 0x0000
SetSyncFlag 0x00000002
WaitForSyncFlagAndClear 0x00000001
_0807EB44 0x0006
SetAnimationState 0x0006
DoPostScriptAction 0x0000
SetSyncFlag 0x00000002
WaitForSyncFlagAndClear 0x00000001
SetEntitySpeed 0x0100
_0807EDD4 0x0238, 0x0238
_0807EB44 0x0000
SetAnimationState 0x0000
DoPostScriptAction 0x0000
DoPostScriptAction 0x000a
_0807E9D4
@@ -52,7 +52,7 @@ SCRIPT_START script_ZeldaIntroBusinessScrub
script_08015A32:
EndBlock
BeginBlock
_0807EB74
FacePlayer
CheckRoomFlag 0x0000
JumpIf script_08015A54
CheckEntityInteractType
@@ -64,7 +64,7 @@ script_08015A32:
script_08015A54:
EndBlock
DoPostScriptAction 0x000b
_0807EB44 0x0000
SetAnimationState 0x0000
DoPostScriptAction 0x0000
WaitForSyncFlagAndClear 0x00000001
Call sub_08066D4C
@@ -1,7 +1,7 @@
@ Something during Intro Ceremony? Called via script_VaatiIntroCeremony
SCRIPT_START script_08011890
BeginBlock
_0807E930 0x0000
SetAnimation 0x0000
SetEntitySpeed 0x0200
Call nullsub_527
Call sub_08094B80
@@ -3,33 +3,33 @@ SCRIPT_START script_GuardBottomRight
ClearSyncFlag 0x00002000
SetSyncFlag 0x00004000
WaitForSyncFlagAndClear 0x00002000
_0807E930 0x0005
_0807EB44 0x0002
_0807EC94 0x0010
_0807EB44 0x0004
_0807E930 0x0002
SetAnimation 0x0005
SetAnimationState 0x0002
WalkEast 0x0010
SetAnimationState 0x0004
SetAnimation 0x0002
SetSyncFlag 0x00004000
WaitForSyncFlagAndClear 0x00002000
DoPostScriptAction 0x0004
Wait 0x003c
_0807E930 0x0012
SetAnimation 0x0012
PlaySound SFX_EM_MOBLIN_SPEAR
Wait 0x003c
_0807E930 0x0014
SetAnimation 0x0014
SetEntitySpeed 0x0100
_0807EDD4 0x0200, 0x0098
_0807EDD4 0x0200, 0x00c8
_0807E930 0x0013
SetAnimation 0x0013
SetSyncFlag 0x00004000
WaitForSyncFlagAndClear 0x00002000
DoPostScriptAction 0x0010
Wait 0x000a
DoPostScriptAction 0x0010
Call sub_0807F3C8
_0807E930 0x0014
SetAnimation 0x0014
SetEntitySpeed 0x0400
SetEntityDirection 0x0002
_0807EC1C 0x003c
WalkForward 0x003c
SetSyncFlag 0x00004000
DoPostScriptAction 0x0006
SCRIPT_END
@@ -5,17 +5,17 @@ SCRIPT_START script_GuardCarryingChest
DoPostScriptAction 0x0008
SetEntitySpeed 0x0100
Call sub_08095244
Call sub_0807F338
Call DeleteHitbox
EndBlock
WaitForSyncFlag 0x0002a800
DoPostScriptAction 0x0007
_0807E930 0x0006
_0807ECC4 0x0010
SetAnimation 0x0006
WalkSouth 0x0010
Wait 0x003c
_0807ECC4 0x0010
WalkSouth 0x0010
Wait 0x003c
_0807ECC4 0x0010
_0807E930 0x0002
WalkSouth 0x0010
SetAnimation 0x0002
Call sub_08064050
JumpTable script_08011312, script_GuardBottomRight, script_GuardTopLeft, script_GuardTopRight
@ Guard bottom left:
@@ -23,33 +23,33 @@ script_08011312:
ClearSyncFlag 0x00000800
SetSyncFlag 0x00001000
WaitForSyncFlagAndClear 0x00000800
_0807E930 0x0007
_0807EB44 0x0006
_0807ECF4 0x0010
_0807EB44 0x0004
_0807E930 0x0002
SetAnimation 0x0007
SetAnimationState 0x0006
WalkWest 0x0010
SetAnimationState 0x0004
SetAnimation 0x0002
SetSyncFlag 0x00001000
WaitForSyncFlagAndClear 0x00000800
DoPostScriptAction 0x0004
Wait 0x003c
_0807E930 0x0012
SetAnimation 0x0012
PlaySound SFX_EM_MOBLIN_SPEAR
Wait 0x003c
_0807E930 0x0014
SetAnimation 0x0014
SetEntitySpeed 0x0100
_0807EDD4 0x01f0, 0x0098
_0807EDD4 0x01f0, 0x00c8
_0807E930 0x0013
SetAnimation 0x0013
SetSyncFlag 0x00001000
WaitForSyncFlagAndClear 0x00000800
DoPostScriptAction 0x0010
Wait 0x000a
DoPostScriptAction 0x0010
Call sub_0807F3C8
_0807E930 0x0014
SetAnimation 0x0014
SetEntitySpeed 0x0400
SetEntityDirection 0x001e
_0807EC1C 0x003c
WalkForward 0x003c
SetSyncFlag 0x00001000
DoPostScriptAction 0x0006
SCRIPT_END
@@ -2,14 +2,14 @@
SCRIPT_START script_GuardEntryLeft
BeginBlock
SetEntitySpeed 0x0100
_0807EB44 0x0002
_0807E930 0x0001
SetAnimationState 0x0002
SetAnimation 0x0001
EndBlock
WaitForSyncFlagAndClear 0x00080000
_0807E930 0x0005
SetAnimation 0x0005
PlaySound SFX_11C
_0807ECF4 0x0010
_0807E930 0x0001
WalkWest 0x0010
SetAnimation 0x0001
SetSyncFlag 0x00100000
WaitForSyncFlagAndClear 0x00080000
DoPostScriptAction 0x0006
@@ -2,14 +2,14 @@
SCRIPT_START script_GuardEntryRight
BeginBlock
SetEntitySpeed 0x0100
_0807EB44 0x0006
_0807E930 0x0003
SetAnimationState 0x0006
SetAnimation 0x0003
EndBlock
WaitForSyncFlagAndClear 0x00200000
_0807E930 0x0007
SetAnimation 0x0007
PlaySound SFX_11C
_0807EC94 0x0010
_0807E930 0x0003
WalkEast 0x0010
SetAnimation 0x0003
SetSyncFlag 0x00400000
WaitForSyncFlagAndClear 0x00200000
DoPostScriptAction 0x0006
@@ -3,42 +3,42 @@ SCRIPT_START script_GuardTopLeft
ClearSyncFlag 0x00008000
SetSyncFlag 0x00010000
WaitForSyncFlagAndClear 0x00008000
_0807E930 0x0007
_0807EB44 0x0006
_0807ECF4 0x0020
_0807EB44 0x0004
_0807E930 0x0006
_0807ECC4 0x0010
_0807E930 0x0002
SetAnimation 0x0007
SetAnimationState 0x0006
WalkWest 0x0020
SetAnimationState 0x0004
SetAnimation 0x0006
WalkSouth 0x0010
SetAnimation 0x0002
SetSyncFlag 0x00010000
WaitForSyncFlagAndClear 0x00008000
DoPostScriptAction 0x0004
Wait 0x003c
_0807E930 0x0012
SetAnimation 0x0012
PlaySound SFX_EM_MOBLIN_SPEAR
SetSyncFlag 0x00010000
WaitForSyncFlagAndClear 0x00008000
_0807E930 0x0014
SetAnimation 0x0014
SetEntitySpeed 0x0100
_0807EDD4 0x01e8, 0x0098
SetEntitySpeed 0x0040
_0807EEF4 0x0000, 0x0010
_0807E930 0x0013
SetAnimation 0x0013
SetSyncFlag 0x00010000
WaitForSyncFlagAndClear 0x00008000
DoPostScriptAction 0x000d
_0807E930 0x0014
SetAnimation 0x0014
SetEntitySpeed 0x0020
_0807EEF4 0x0000, 0xfff0
_0807E930 0x0013
SetAnimation 0x0013
DoPostScriptAction 0x0010
SetSyncFlag 0x00010000
WaitForSyncFlagAndClear 0x00008000
Call sub_0807F3C8
_0807E930 0x0014
SetAnimation 0x0014
SetEntitySpeed 0x0400
SetEntityDirection 0x001e
_0807EC1C 0x003c
WalkForward 0x003c
SetSyncFlag 0x00010000
DoPostScriptAction 0x0006
SCRIPT_END
@@ -3,42 +3,42 @@ SCRIPT_START script_GuardTopRight
ClearSyncFlag 0x00020000
SetSyncFlag 0x00040000
WaitForSyncFlagAndClear 0x00020000
_0807E930 0x0005
_0807EB44 0x0002
_0807EC94 0x0020
_0807EB44 0x0004
_0807E930 0x0006
_0807ECC4 0x0010
_0807E930 0x0002
SetAnimation 0x0005
SetAnimationState 0x0002
WalkEast 0x0020
SetAnimationState 0x0004
SetAnimation 0x0006
WalkSouth 0x0010
SetAnimation 0x0002
SetSyncFlag 0x00040000
WaitForSyncFlagAndClear 0x00020000
DoPostScriptAction 0x0004
Wait 0x003c
_0807E930 0x0012
SetAnimation 0x0012
PlaySound SFX_EM_MOBLIN_SPEAR
SetSyncFlag 0x00040000
WaitForSyncFlagAndClear 0x00020000
_0807E930 0x0014
SetAnimation 0x0014
SetEntitySpeed 0x0100
_0807EDD4 0x0208, 0x0098
SetEntitySpeed 0x0040
_0807EEF4 0x0000, 0x0010
_0807E930 0x0013
SetAnimation 0x0013
SetSyncFlag 0x00040000
WaitForSyncFlagAndClear 0x00020000
DoPostScriptAction 0x000d
_0807E930 0x0014
SetAnimation 0x0014
SetEntitySpeed 0x0020
_0807EEF4 0x0000, 0xfff0
_0807E930 0x0013
SetAnimation 0x0013
DoPostScriptAction 0x0010
SetSyncFlag 0x00040000
WaitForSyncFlagAndClear 0x00020000
Call sub_0807F3C8
_0807E930 0x0014
SetAnimation 0x0014
SetEntitySpeed 0x0400
SetEntityDirection 0x0002
_0807EC1C 0x003c
WalkForward 0x003c
SetSyncFlag 0x00040000
DoPostScriptAction 0x0006
SCRIPT_END
@@ -2,10 +2,10 @@
SCRIPT_START script_KingDaltusIntroCeremony
BeginBlock
DoPostScriptAction 0x0008
_0807EB44 0x0004
SetAnimationState 0x0004
SetEntitySpeed 0x0100
EndBlock
Call sub_0807F338
Call DeleteHitbox
WaitForSyncFlagAndClear 0x00000040
DoPostScriptAction 0x0007
DoPostScriptAction 0x0001
@@ -20,7 +20,7 @@ SCRIPT_START script_KingDaltusIntroCeremony
Call sub_0807F3C8
SetEntitySpeed 0x0400
SetEntityDirection 0x0008
_0807EC1C 0x003c
WalkForward 0x003c
SetSyncFlag 0x00000080
DoPostScriptAction 0x0006
SCRIPT_END
@@ -1,7 +1,7 @@
@ Intro Hyrule Castle Minister Potho
SCRIPT_START script_MinisterPothoIntroCastle
BeginBlock
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x0000
.ifdef JP
.ifndef DEMO_JP
@@ -22,18 +22,18 @@ script_08011134:
DoPostScriptAction 0x000b
WaitForSyncFlagAndClear 0x00000004
SetEntityPositionRelative 0x01b8, 0x0058
_0807EB44 0x0004
SetAnimationState 0x0004
SetSyncFlag 0x00000008
WaitForSyncFlagAndClear 0x00000004
_0807EB44 0x0006
SetAnimationState 0x0006
SetSyncFlag 0x00000008
WaitForSyncFlagAndClear 0x00000004
_0807EB44 0x0004
SetAnimationState 0x0004
SetSyncFlag 0x00000008
WaitForSyncFlagAndClear 0x00000004
SetEntitySpeed 0x0100
DoPostScriptAction 0x0001
_0807ECC4 0x0010
WalkSouth 0x0010
DoPostScriptAction 0x0000
SetSyncFlag 0x00000008
WaitForSyncFlagAndClear 0x00000004
@@ -43,7 +43,7 @@ script_08011134:
Call sub_0807F3C8
SetEntitySpeed 0x0400
SetEntityDirection 0x001c
_0807EC1C 0x003c
WalkForward 0x003c
SetSyncFlag 0x00000008
DoPostScriptAction 0x0006
SCRIPT_END
@@ -13,7 +13,7 @@ SCRIPT_START script_Npc4EMonsters
PlaySound SFX_12C
SetSyncFlag 0x00800000
WaitForSyncFlagAndClear 0x01000000
_0807E778 0x0004
SetFadeTime 0x0004
DoFade7
WaitForFadeFinish
Wait 0x003c
@@ -22,14 +22,14 @@ SCRIPT_START script_Npc4EMonsters
LoadRoomEntityList gUnk_080F0770
SetSyncFlag 0x00000010
WaitForSyncFlagAndClear 0x00000020
_0807E778 0x0002
SetFadeTime 0x0002
DoFade6
WaitForFadeFinish
CallWithArg DeleteManager36, 0x00000002
_0807F0C8 0x0000, 0x0000
Call sub_0806DC3C
Call sub_080791BC
CallWithArg sub_0807F244, 0x0000000d
CallWithArg EquipItem, 0x0000000d
CallWithArg sub_0807F29C, gUnk_080049F6
_0807F0B4 0x0001
SetEntityPositionRelative 0x01f8, 0x0068
@@ -9,7 +9,7 @@ SCRIPT_START script_Npc4EVaatiAttacking
WaitUntilTextboxCloses
Call sub_0806DC3C
Call sub_080791BC
CallWithArg sub_0807F244, 0x0000000d
CallWithArg EquipItem, 0x0000000d
CallWithArg sub_0807F29C, gUnk_080049F6
Wait 0x001e
SetSyncFlag 0x00000100
@@ -12,7 +12,7 @@ SCRIPT_START script_Object6ASwordInChest
Wait 0x003c
SetSyncFlag 0x01000000
WaitForSyncFlagAndClear 0x00800000
_0807E930 0x0002
SetAnimation 0x0002
SetSyncFlag 0x01000000
WaitForSyncFlagAndClear 0x00800000
DoPostScriptAction 0x0006
@@ -1,7 +1,7 @@
@ Intro Ceremony Player
SCRIPT_START script_PlayerAtIntroCeremony
SetEntityPositionRelative 0x01a8, 0x0058
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x0000
SetSyncFlag 0x00000400
ClearSyncFlag 0x00000002
@@ -1,17 +1,17 @@
@ Intro Ceremony Player fainting
SCRIPT_START script_PlayerFainting
PlaySound SFX_PLY_VO6
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x000d
PlaySound SFX_86
Call sub_0807F36C
SetEntitySpeed 0x0400
_0807ECF4 0x0008
WalkWest 0x0008
BeginBlock
Call sub_0807F1E8
DoPostScriptAction 0x0011
EndBlock
Call sub_0807F2D4
Call WaitForFrameHiBit
WaitForSyncFlag 0x80000000
Call sub_080791BC
SCRIPT_END
@@ -4,7 +4,7 @@ SCRIPT_START script_PlayerIntroCastle
SetEntitySpeed 0x0080
EndBlock
_0807EDD4 0x01e8, 0x0050
_0807EB44 0x0000
SetAnimationState 0x0000
DoPostScriptAction 0x0000
SetSyncFlag 0x00000400
Call sub_080791BC
@@ -6,7 +6,7 @@ SCRIPT_START script_PlayerProtectingZelda
SetEntitySpeed 0x0200
DoPostScriptAction 0x0001
_0807EDD4 0x01d8, 0x0068
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x0000
SetSyncFlag 0x00000400
Call sub_080791BC
@@ -1,7 +1,7 @@
@ Intro Ceremony Vaati Dark magic?
SCRIPT_START script_VaatiDarkMagic
BeginBlock
_0807E930 0x0000
SetAnimation 0x0000
SetEntitySpeed 0x0200
Call nullsub_527
Call sub_08094B80
@@ -1,37 +1,37 @@
@ Intro Ceremony Vaati
SCRIPT_START script_VaatiIntroCeremony
BeginBlock
_0807EB44 0x0000
SetAnimationState 0x0000
SetEntitySpeed 0x0100
EndBlock
Call sub_0807F338
Call DeleteHitbox
WaitForSyncFlagAndClear 0x00000100
DoPostScriptAction 0x0001
_0807EDD4 0x01f8, 0x00d0
DoPostScriptAction 0x0000
SetSyncFlag 0x00000200
WaitForSyncFlagAndClear 0x00000100
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x001c
Call sub_0807F2D4
_0807EB44 0x0004
Call WaitForFrameHiBit
SetAnimationState 0x0004
DoPostScriptAction 0x0000
SetSyncFlag 0x00000200
WaitForSyncFlagAndClear 0x00000100
_0807EB44 0x0000
SetAnimationState 0x0000
DoPostScriptAction 0x001c
Call sub_0807F2D4
_0807EB44 0x0000
Call WaitForFrameHiBit
SetAnimationState 0x0000
DoPostScriptAction 0x0000
SetSyncFlag 0x00000200
WaitForSyncFlagAndClear 0x00000100
_0807EB44 0x0000
SetAnimationState 0x0000
DoPostScriptAction 0x001a
Call sub_0807F2D4
Call WaitForFrameHiBit
DoPostScriptAction 0x0000
SetSyncFlag 0x00000200
WaitForSyncFlagAndClear 0x00000100
_0807EB44 0x0000
SetAnimationState 0x0000
DoPostScriptAction 0x0014
PlaySound SFX_CHARGING_UP
CallWithArg sub_08095420, script_08011890
@@ -45,7 +45,7 @@ SCRIPT_START script_VaatiIntroCeremony
SetEntitySpeed 0x0080
DoPostScriptAction 0x0001
_0807EDD4 0x01d8, 0x00a8
_0807EB44 0x0000
SetAnimationState 0x0000
DoPostScriptAction 0x0000
SetSyncFlag 0x00000200
WaitForSyncFlagAndClear 0x00000100
@@ -65,14 +65,14 @@ SCRIPT_START script_VaatiIntroCeremony
SetEntitySpeed 0x0100
DoPostScriptAction 0x0001
_0807EDD4 0x01f8, 0x0098
_0807EB44 0x0000
SetAnimationState 0x0000
DoPostScriptAction 0x0000
DoPostScriptAction 0x0004
Wait 0x005a
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x001c
Call sub_0807F2D4
_0807EB44 0x0004
Call WaitForFrameHiBit
SetAnimationState 0x0004
DoPostScriptAction 0x0000
Wait 0x001e
SetSyncFlag 0x00000200
@@ -5,20 +5,20 @@ SCRIPT_START script_ZeldaIntroCastle
SetEntitySpeed 0x0100
Call sub_08066D04
EndBlock
Call sub_0807F338
Call DeleteHitbox
WaitForSyncFlagAndClear 0x00000010
Call sub_08066D14
JumpIf script_080111F6
MoveEntityToPlayer
script_080111F6:
Call sub_0807F8BC
Call CheckEntityOnScreen
JumpIf script_08011206
SetEntityPositionRelative 0x01f8, 0x00b8
script_08011206:
DoPostScriptAction 0x0007
DoPostScriptAction 0x0001
_0807EDD4 0x01f8, 0x0050
_0807EB74
FacePlayer
DoPostScriptAction 0x0000
SetSyncFlag 0x00000020
WaitForSyncFlagAndClear 0x00000010
@@ -48,7 +48,7 @@ script_08011206:
Call sub_08066E20
Wait 0x0014
DoPostScriptAction 0x0010
Call sub_0807F2D4
Call WaitForFrameHiBit
PlaySound SFX_1CA
SetSyncFlag 0x00000020
WaitForSyncFlagAndClear 0x00000010
@@ -1,20 +1,20 @@
@ Intro Hyrule Town Beedle
SCRIPT_START script_BeedleIntro
BeginBlock
_0807EB44 0x0004
_0807E930 0x0000
SetAnimationState 0x0004
SetAnimation 0x0000
_0807E9D4
DoPostScriptAction 0x000a
Call sub_0807F348
Call SetPriorityMessage
EndBlock
script_0800F604:
CheckEntityInteractType
JumpIfNot script_0800F604
_0807E864
_0807EB74
SetPlayerIdle
FacePlayer
CallWithArg sub_0807F3D8, 0x00000008
MessageNoOverlap 0x2511
WaitUntilTextboxCloses
Wait 0x000f
_0807E878
EnablePlayerControl
Jump script_0800F604
@@ -1,7 +1,7 @@
@ Intro Hyrule Town Guard
SCRIPT_START script_GuardIntro
BeginBlock
_0807EB44 0x0006
SetAnimationState 0x0006
_0807E9D4
DoPostScriptAction 0x000a
CallWithArg sub_0807F3D8, 0x00000008
@@ -9,11 +9,11 @@ SCRIPT_START script_GuardIntro
script_0800F5C8:
CheckEntityInteractType
JumpIfNot script_0800F5C8
_0807E864
_0807EB74
SetPlayerIdle
FacePlayer
CallWithArg sub_0807F3D8, 0x00000008
Call sub_08064428
WaitUntilTextboxCloses
_0807E878
EnablePlayerControl
Jump script_0800F5C8
.2byte 0x0000
@@ -8,11 +8,11 @@ SCRIPT_START script_KidIntro1
script_0800F592:
CheckEntityInteractType
JumpIfNot script_0800F592
_0807E864
_0807EB74
SetPlayerIdle
FacePlayer
Call sub_0806265C
WaitUntilTextboxCloses
_0807E878
EnablePlayerControl
DoPostScriptAction 0x0001
Jump script_0800F592
.2byte 0x0000
@@ -23,11 +23,11 @@ script_0800F6F4:
JumpIf script_0800F718
CheckEntityInteractType
JumpIfNot script_0800F6F4
_0807E864
_0807EB74
SetPlayerIdle
FacePlayer
Call sub_0806265C
WaitUntilTextboxCloses
_0807E878
EnablePlayerControl
DoPostScriptAction 0x0001
Jump script_0800F6F4
script_0800F718:
@@ -1,7 +1,7 @@
@ Intro Hyrule Castle NPC4E
SCRIPT_START script_Npc4EIntroCastle
_0807E864
Call sub_0807F9A4
SetPlayerIdle
Call WaitForPlayerNormal
Call sub_0807DF28
StartPlayerScript script_PlayerIntroCastle
WaitForSyncFlagAndClear 0x00000400
@@ -17,7 +17,7 @@ SCRIPT_START script_Npc4EIntroCastle
MessageFromTargetPos 0x1038, 0x000c
WaitUntilTextboxCloses
StopBgm
_0807E778 0x0004
SetFadeTime 0x0004
DoFade5
WaitForFadeFinish
Call sub_08064180
@@ -38,7 +38,7 @@ SCRIPT_START script_Npc4EIntroCastle
CameraTargetEntity
Wait 0x000a
_0807F0B4 0x0001
_0807E778 0x0001
SetFadeTime 0x0001
DoFade4
SetSyncFlag 0x0002a800
WaitForSyncFlagAndClear 0x00055000
@@ -14,23 +14,23 @@ SCRIPT_START script_Npc4EIntroTown
.endif
.endif
JumpIf script_0800FA4C
_0807E864
SetPlayerIdle
Call sub_0807DF28
SetEntityPositionRelative 0x00c8, 0x0148
Call sub_0807F844
_0807E778 0x0002
SetFadeTime 0x0002
DoFade6
WaitForFadeFinish
StartPlayerScript script_PlayerIntro1
SetSyncFlag 0x00000002
_0807F0B4 0x0001
SetEntityPositionRelative 0x00c8, 0x0218
Call sub_0807F5C0
Call WaitForCameraTouchRoomBorder
Wait 0x0064
@ Camera reaches center of town square
_0807F0B4 0x0002
SetEntityPositionRelative 0x00c8, 0x0368
Call sub_0807F5C0
Call WaitForCameraTouchRoomBorder
WaitForSyncFlagAndClear 0x00000001
WaitForSyncFlagAndClear 0x00000004
@ First message from Zelda
@@ -42,10 +42,10 @@ SCRIPT_START script_Npc4EIntroTown
_0807F0B4 0x0004
CameraTargetPlayer
Call sub_0807DF50
_0807E878
EnablePlayerControl
SetSyncFlag 0x00000010
WaitForSyncFlagAndClear 0x00000004
_0807E864
SetPlayerIdle
Call sub_0807DF28
StartPlayerScript script_PlayerIntro2
WaitForSyncFlagAndClear 0x00000001
@@ -56,9 +56,9 @@ SCRIPT_START script_Npc4EIntroTown
SetSyncFlag 0x00000002
WaitForSyncFlagAndClear 0x00000004
Call sub_0807DF50
_0807E878
EnablePlayerControl
WaitForSyncFlagAndClear 0x00000004
_0807E864
SetPlayerIdle
Call sub_0807DF28
StartPlayerScript script_PlayerIntro3
WaitForSyncFlagAndClear 0x00000001
@@ -69,9 +69,9 @@ SCRIPT_START script_Npc4EIntroTown
SetSyncFlag 0x00000002
WaitForSyncFlagAndClear 0x00000004
Call sub_0807DF50
_0807E878
EnablePlayerControl
WaitForSyncFlagAndClear 0x00000004
_0807E864
SetPlayerIdle
Call sub_0807DF28
StartPlayerScript script_PlayerIntro4
WaitForSyncFlagAndClear 0x00000001
@@ -82,16 +82,16 @@ SCRIPT_START script_Npc4EIntroTown
SetSyncFlag 0x00000002
WaitForSyncFlagAndClear 0x00000004
Call sub_0807DF50
_0807E878
EnablePlayerControl
@ Wait for Link at Pina
WaitForSyncFlagAndClear 0x00000004
_0807E864
SetPlayerIdle
Call sub_0807DF28
Call sub_08063C5C
PlaySound SFX_CUCCO_MINIGAME_BELL
Wait 0x001e
_0807E8E4_0
Call sub_0807F3F8
Call CreatePlayerExclamationMark
Wait 0x003c
MessageFromTargetPos 0x1021, 0x000e
WaitUntilTextboxCloses
@@ -152,7 +152,7 @@ SCRIPT_START script_Npc4EIntroTown
Call sub_08094E0C
Wait 0x001e
_0807E8E4_1
Call sub_0807F3F8
Call CreatePlayerExclamationMark
Wait 0x003c
MessageFromTargetPos 0x102b, 0x0000
WaitUntilTextboxCloses
@@ -161,7 +161,7 @@ SCRIPT_START script_Npc4EIntroTown
WaitPlayerGetItem
Call sub_0806DC3C
Call sub_080791BC
CallWithArg sub_0807F244, 0x0000000d
CallWithArg EquipItem, 0x0000000d
SetIntVariable 0x000000ff
Call sub_0807F5B0
CallWithArg sub_0807F29C, gUnk_080049D6
@@ -192,7 +192,7 @@ SCRIPT_START script_Npc4EIntroTown
.endif
.endif
Call sub_0807DF50
_0807E878
EnablePlayerControl
script_0800FA4C:
DoPostScriptAction 0x0006
SCRIPT_END
@@ -33,24 +33,24 @@ script_0800FD1A:
.endif
.endif
JumpIf script_0800FD5C
_0807E864
Call sub_0807F9A4
SetPlayerIdle
Call WaitForPlayerNormal
MessageFromTargetPos 0x2506, 0x0000
WaitUntilTextboxCloses
StartPlayerScript script_PlayerIntroTown
WaitForSyncFlagAndClear 0x00000008
_0807E878
EnablePlayerControl
Jump script_0800FD1A
script_0800FD50:
CheckPlayerInRegion 0x00c8, 0x03c0, 0x1040
JumpIfNot script_0800FD50
script_0800FD5C:
_0807E864
Call sub_0807F9A4
SetPlayerIdle
Call WaitForPlayerNormal
MessageFromTargetPos 0x106c, 0x0000
WaitUntilTextboxCloses
StartPlayerScript script_PlayerIntroTown
WaitForSyncFlagAndClear 0x00000008
_0807E878
EnablePlayerControl
Jump script_0800FD50
.2byte 0x0000
@@ -1,7 +1,7 @@
@ Intro Hyrule Town Percy
SCRIPT_START script_PercyIntro
BeginBlock
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x0000
DoPostScriptAction 0x000a
_0807E9D4
@@ -9,13 +9,13 @@ SCRIPT_START script_PercyIntro
script_0800F662:
CheckEntityInteractType
JumpIfNot script_0800F662
_0807E864
_0807EB74
SetPlayerIdle
FacePlayer
DoPostScriptAction 0x0001
Call sub_0806B4F0
WaitUntilTextboxCloses
Wait 0x000f
_0807E878
EnablePlayerControl
DoPostScriptAction 0x0000
Jump script_0800F662
.2byte 0x0000
@@ -1,17 +1,17 @@
@ Intro Hyrule Town Pina
SCRIPT_START script_PinaIntro
BeginBlock
_0807EB44 0x0004
_0807E930 0x0000
SetAnimationState 0x0004
SetAnimation 0x0000
_0807E9D4
DoPostScriptAction 0x000a
Call sub_0807F348
Call SetPriorityMessage
EndBlock
script_0800F6A0:
CheckEntityInteractType
JumpIfNot script_0800F6A0
_0807E864
_0807EB74
SetPlayerIdle
FacePlayer
CallWithArg sub_0807F3D8, 0x00000004
.ifdef JP
CheckLocalFlag 0x00ca
@@ -34,7 +34,7 @@ script_0800F6C4:
script_0800F6C8:
WaitUntilTextboxCloses
Wait 0x000f
_0807E878
EnablePlayerControl
CallWithArg sub_0807F3D8, 0x00000000
Jump script_0800F6A0
.2byte 0x0000
@@ -4,7 +4,7 @@ SCRIPT_START script_PlayerIntro1
SetEntitySpeed 0x0100
EndBlock
SetEntityPositionRelative 0x00d8, 0x0398
_0807EB44 0x0006
SetAnimationState 0x0006
DoPostScriptAction 0x0000
SetSyncFlag 0x00000001
Call sub_080791BC
@@ -4,7 +4,7 @@ SCRIPT_START script_PlayerIntro2
SetEntitySpeed 0x0100
EndBlock
_0807EDD4 0x00a0, 0x0278
_0807EB44 0x0000
SetAnimationState 0x0000
DoPostScriptAction 0x0000
SetSyncFlag 0x00000001
Call sub_080791BC
@@ -4,7 +4,7 @@ SCRIPT_START script_PlayerIntro3
SetEntitySpeed 0x0100
EndBlock
_0807EDD4 0x0078, 0x01c0
_0807EB44 0x0000
SetAnimationState 0x0000
DoPostScriptAction 0x0000
SetSyncFlag 0x00000001
Call sub_080791BC
@@ -4,7 +4,7 @@ SCRIPT_START script_PlayerIntro4
SetEntitySpeed 0x0100
EndBlock
_0807EDD4 0x0108, 0x01c8
_0807EB44 0x0002
SetAnimationState 0x0002
DoPostScriptAction 0x0000
SetSyncFlag 0x00000001
Call sub_080791BC
@@ -3,7 +3,7 @@ SCRIPT_START script_PlayerIntro5
BeginBlock
SetEntitySpeed 0x0100
EndBlock
Call sub_0807F584
Call ReadPlayerAnimationState
JumpTable script_0800FB06, script_0800FB10, script_0800FB06, script_0800FAFC
script_0800FAFC:
CallWithArg sub_0807F4F8, 0x0000027c
@@ -11,7 +11,7 @@ script_0800FB06:
CallWithArg sub_0807F464, 0x000000e8
script_0800FB10:
_0807EDD4 0x00e8, 0x0270
_0807EB44 0x0000
SetAnimationState 0x0000
DoPostScriptAction 0x0000
SetSyncFlag 0x00000001
Call sub_080791BC
@@ -1,8 +1,8 @@
@ Hyrule Town Intro Player
SCRIPT_START script_PlayerIntroTown
SetEntitySpeed 0x0080
_0807EC64 0x0020
_0807EB44 0x0000
WalkNorth 0x0020
SetAnimationState 0x0000
DoPostScriptAction 0x0000
SetSyncFlag 0x00000008
Call sub_080791BC
@@ -8,11 +8,11 @@ SCRIPT_START script_TownsperonIntro
script_0800F564:
CheckEntityInteractType
JumpIfNot script_0800F564
_0807E864
_0807EB74
SetPlayerIdle
FacePlayer
Call sub_08061FE4
Call sub_08061FF4
WaitUntilTextboxCloses
_0807E878
EnablePlayerControl
Jump script_0800F564
.2byte 0x0000
@@ -6,12 +6,12 @@ SCRIPT_START script_WindtribespeopleIntro
DoPostScriptAction 0x0001
EndBlock
script_0800F636:
_0807E30C
FacePlayerAndCheckDist
JumpIfNot script_0800F636
_0807E864
_0807EB74
SetPlayerIdle
FacePlayer
Call sub_0806C90C
WaitUntilTextboxCloses
_0807E878
EnablePlayerControl
Jump script_0800F636
.2byte 0x0000
@@ -13,25 +13,25 @@ SCRIPT_START script_ZeldaIntroTown
script_0800FB6C:
DoPostScriptAction 0x0007
SetEntityPositionRelative 0x00b8, 0x0398
_0807EB44 0x0002
SetAnimationState 0x0002
DoPostScriptAction 0x0000
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000002
SetEntitySpeed 0x0200
_0807EDD4 0x00b8, 0x0318
SetEntityPositionRelative 0x00a0, 0x0260
_0807EB44 0x0000
SetAnimationState 0x0000
DoPostScriptAction 0x0001
SetSyncFlag 0x00000004
DoPostScriptAction 0x000a
_0807E9D4
script_0800FBAE:
_0807E30C
FacePlayerAndCheckDist
JumpIfNot script_0800FBAE
DoPostScriptAction 0x000b
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000002
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x0000
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000002
@@ -40,41 +40,41 @@ script_0800FBAE:
_0807EDD4 0x0070, 0x0268
_0807EDD4 0x0070, 0x0208
SetEntityPositionRelative 0x0078, 0x01a8
_0807EB44 0x0000
SetAnimationState 0x0000
DoPostScriptAction 0x0001
SetSyncFlag 0x00000004
DoPostScriptAction 0x000a
script_0800FC06:
_0807E30C
FacePlayerAndCheckDist
JumpIfNot script_0800FC06
DoPostScriptAction 0x000b
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000002
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x0000
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000002
SetEntitySpeed 0x0200
_0807EDD4 0x00f8, 0x01a8
SetEntityPositionRelative 0x0118, 0x01c8
_0807EB44 0x0002
SetAnimationState 0x0002
DoPostScriptAction 0x0001
SetSyncFlag 0x00000004
DoPostScriptAction 0x000a
script_0800FC52:
_0807E30C
FacePlayerAndCheckDist
JumpIfNot script_0800FC52
DoPostScriptAction 0x000b
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000002
_0807EB44 0x0006
SetAnimationState 0x0006
DoPostScriptAction 0x0000
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000002
SetEntitySpeed 0x0200
_0807EDD4 0x0118, 0x0260
SetEntityPositionRelative 0x00f8, 0x0270
_0807EB44 0x0000
SetAnimationState 0x0000
DoPostScriptAction 0x0001
SetSyncFlag 0x00000004
DoPostScriptAction 0x000a
@@ -83,22 +83,22 @@ script_0800FC9E:
CheckEntityInteractType
JumpIfNot script_0800FC9E
DoPostScriptAction 0x000b
_0807EB44 0x0000
SetAnimationState 0x0000
DoPostScriptAction 0x0000
SetSyncFlag 0x00000004
DoPostScriptAction 0x0004
WaitForSyncFlagAndClear 0x00000002
DoPostScriptAction 0x000d
SetEntitySpeed 0x0040
_0807EC94 0x0020
_0807EB44 0x0000
WalkEast 0x0020
SetAnimationState 0x0000
DoPostScriptAction 0x0000
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000002
DoPostScriptAction 0x000c
SetEntitySpeed 0x0040
_0807ECF4 0x0020
_0807EB44 0x0006
WalkWest 0x0020
SetAnimationState 0x0006
DoPostScriptAction 0x0000
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000002
@@ -5,15 +5,15 @@ SCRIPT_START script_HurdyGurdyManFirstKinstone
DoPostScriptAction 0x0008
DoPostScriptAction 0x000a
EndBlock
Call sub_0807F348
_0807EB44 0x0002
Call SetPriorityMessage
SetAnimationState 0x0002
WaitForSyncFlagAndClear 0x00000002
DoPostScriptAction 0x0007
_0807EDD4 0x01b8, 0x0328
SetSyncFlag 0x00000040
_0807EDD4 0x01f8, 0x0328
_0807EB44 0x0004
_0807E930 0x0008
SetAnimationState 0x0004
SetAnimation 0x0008
_0807E8E4_0
SetSyncFlag 0x00000040
WaitForSyncFlagAndClear 0x00000002
@@ -27,65 +27,65 @@ script_0800F1E6:
CallWithArg sub_0807F680, 0x000001c0
JumpIf script_0800F22A
EndBlock
_0807E864
Call sub_0807F9A4
_0807EB74
_0807E930 0x0008
SetPlayerIdle
Call WaitForPlayerNormal
FacePlayer
SetAnimation 0x0008
DoPostScriptAction 0x0004
Wait 0x003c
MessageFromTargetPos 0x1206, 0x000c
WaitUntilTextboxCloses
StartPlayerScript script_PlayerAtHurdyGurdyManFirstKinstone1
WaitForSyncFlagAndClear 0x00000400
_0807E878
EnablePlayerControl
Jump script_0800F1E6
script_0800F22A:
CallWithArg sub_0807F680, 0x00000230
JumpIfNot script_0800F26A
EndBlock
_0807E864
Call sub_0807F9A4
_0807EB74
_0807E930 0x0008
SetPlayerIdle
Call WaitForPlayerNormal
FacePlayer
SetAnimation 0x0008
DoPostScriptAction 0x0004
Wait 0x003c
MessageFromTargetPos 0x1206, 0x000c
WaitUntilTextboxCloses
StartPlayerScript script_PlayerAtHurdyGurdyManFirstKinstone2
WaitForSyncFlagAndClear 0x00000400
_0807E878
EnablePlayerControl
Jump script_0800F1E6
script_0800F26A:
CallWithArg sub_0807F6B4, 0x00000310
JumpIf script_0800F2AA
EndBlock
_0807E864
Call sub_0807F9A4
_0807EB74
_0807E930 0x0008
SetPlayerIdle
Call WaitForPlayerNormal
FacePlayer
SetAnimation 0x0008
DoPostScriptAction 0x0004
Wait 0x003c
MessageFromTargetPos 0x1206, 0x000c
WaitUntilTextboxCloses
StartPlayerScript script_PlayerAtHurdyGurdyManFirstKinstone3
WaitForSyncFlagAndClear 0x00000400
_0807E878
EnablePlayerControl
Jump script_0800F1E6
script_0800F2AA:
CallWithArg sub_0807F6B4, 0x00000340
JumpIfNot script_0800F2EA
EndBlock
_0807E864
Call sub_0807F9A4
_0807EB74
_0807E930 0x0008
SetPlayerIdle
Call WaitForPlayerNormal
FacePlayer
SetAnimation 0x0008
DoPostScriptAction 0x0004
Wait 0x003c
MessageFromTargetPos 0x1206, 0x000c
WaitUntilTextboxCloses
StartPlayerScript script_PlayerAtHurdyGurdyManFirstKinstone4
WaitForSyncFlagAndClear 0x00000400
_0807E878
EnablePlayerControl
Jump script_0800F1E6
script_0800F2EA:
EndBlock
@@ -95,19 +95,19 @@ script_0800F2EA:
CheckEntityInteractType
JumpIfNot script_0800F2EA
EndBlock
_0807E864
_0807EB74
_0807E930 0x0008
SetPlayerIdle
FacePlayer
SetAnimation 0x0008
MessageFromTargetPos 0x1208, 0x000c
WaitUntilTextboxCloses
_0807E878
EnablePlayerControl
Jump script_0800F1E6
script_0800F314:
EndBlock
SetSyncFlag 0x00000040
WaitForSyncFlagAndClear 0x00000002
SetEntitySpeed 0x0100
_0807EB44 0x0002
SetAnimationState 0x0002
_0807EEF4 0x00c0, 0x0000
SetSyncFlag 0x00000040
DoPostScriptAction 0x0006
@@ -2,19 +2,19 @@
SCRIPT_START script_KidKinstone1
BeginBlock
_0807E9D4
_0807EB44 0x0002
SetAnimationState 0x0002
DoPostScriptAction 0x0001
DoPostScriptAction 0x0008
SetEntitySpeed 0x0080
DoPostScriptAction 0x000b
EndBlock
Call sub_0807F348
Call SetPriorityMessage
WaitForSyncFlagAndClear 0x00000004
DoPostScriptAction 0x0007
_0807EDD4 0x01f8, 0x0318
_0807EDD4 0x0208, 0x0318
_0807EDD4 0x0208, 0x0338
_0807EB44 0x0006
SetAnimationState 0x0006
DoPostScriptAction 0x0000
DoPostScriptAction 0x000a
SetSyncFlag 0x00000080
@@ -24,11 +24,11 @@ script_0800F3EA:
CheckEntityInteractType
JumpIfNot script_0800F402
EndBlock
_0807E864
_0807EB74
SetPlayerIdle
FacePlayer
MessageNoOverlap 0x1237
WaitUntilTextboxCloses
_0807E878
EnablePlayerControl
script_0800F402:
CheckSyncFlagAndClear 0x00000004
JumpIfNot script_0800F3EA
@@ -36,7 +36,7 @@ script_0800F402:
DoPostScriptAction 0x000b
Wait 0x0010
SetEntitySpeed 0x0100
_0807EC64 0x0010
WalkNorth 0x0010
_0807EDD4 0x0288, 0x0328
SetSyncFlag 0x00000080
DoPostScriptAction 0x0006
@@ -2,18 +2,18 @@
SCRIPT_START script_KidKinstone2
BeginBlock
_0807E9D4
_0807EB44 0x0002
SetAnimationState 0x0002
DoPostScriptAction 0x0001
DoPostScriptAction 0x0008
SetEntitySpeed 0x0080
DoPostScriptAction 0x000b
EndBlock
Call sub_0807F348
Call SetPriorityMessage
WaitForSyncFlagAndClear 0x00000008
DoPostScriptAction 0x0007
_0807EDD4 0x01d8, 0x0328
_0807EDD4 0x01f8, 0x0348
_0807EB44 0x0000
SetAnimationState 0x0000
DoPostScriptAction 0x0000
DoPostScriptAction 0x000a
SetSyncFlag 0x00000100
@@ -23,11 +23,11 @@ script_0800F478:
CheckEntityInteractType
JumpIfNot script_0800F490
EndBlock
_0807E864
_0807EB74
SetPlayerIdle
FacePlayer
MessageNoOverlap 0x1238
WaitUntilTextboxCloses
_0807E878
EnablePlayerControl
script_0800F490:
CheckSyncFlagAndClear 0x00000008
JumpIfNot script_0800F478
@@ -35,8 +35,8 @@ script_0800F490:
DoPostScriptAction 0x000b
Wait 0x0018
SetEntitySpeed 0x0100
_0807EC94 0x0010
_0807EC64 0x0020
WalkEast 0x0010
WalkNorth 0x0020
_0807EDD4 0x0288, 0x0328
SetSyncFlag 0x00000100
DoPostScriptAction 0x0006
@@ -2,18 +2,18 @@
SCRIPT_START script_KidKinstone3
BeginBlock
_0807E9D4
_0807EB44 0x0002
SetAnimationState 0x0002
DoPostScriptAction 0x0001
DoPostScriptAction 0x0008
SetEntitySpeed 0x0080
DoPostScriptAction 0x000b
EndBlock
Call sub_0807F348
Call SetPriorityMessage
WaitForSyncFlagAndClear 0x00000010
DoPostScriptAction 0x0007
_0807EDD4 0x01c8, 0x0328
_0807EDD4 0x01e8, 0x0338
_0807EB44 0x0002
SetAnimationState 0x0002
DoPostScriptAction 0x0000
DoPostScriptAction 0x000a
SetSyncFlag 0x00000200
@@ -23,11 +23,11 @@ script_0800F50C:
CheckEntityInteractType
JumpIfNot script_0800F524
EndBlock
_0807E864
_0807EB74
SetPlayerIdle
FacePlayer
MessageNoOverlap 0x1239
WaitUntilTextboxCloses
_0807E878
EnablePlayerControl
script_0800F524:
CheckSyncFlagAndClear 0x00000010
JumpIfNot script_0800F50C
@@ -35,7 +35,7 @@ script_0800F524:
DoPostScriptAction 0x000b
Wait 0x0028
SetEntitySpeed 0x0100
_0807EC64 0x0010
WalkNorth 0x0010
_0807EDD4 0x0288, 0x0328
SetSyncFlag 0x00000200
DoPostScriptAction 0x0006
@@ -7,8 +7,8 @@ SCRIPT_START script_Npc4EFirstKinstone
script_0800F09A:
CheckPlayerInRegion 0x01f8, 0x0338, 0x1030
JumpIfNot script_0800F09A
_0807E864
Call sub_0807F9A4
SetPlayerIdle
Call WaitForPlayerNormal
Call sub_0807DF28
LoadRoomEntityList gUnk_080EE8AC
StartPlayerScript script_PlayerAtFirstKinstone
@@ -30,19 +30,19 @@ script_0800F09A:
WaitUntilTextboxCloses
SetSyncFlag 0x00000002
Call sub_0807DF50
_0807E878
EnablePlayerControl
WaitForSyncFlagAndClear 0x00000040
script_0800F11A:
CheckKinstoneFused 0x0032
JumpIfNot script_0800F11A
_0807E864
SetPlayerIdle
Call sub_0807DF28
SetSyncFlag 0x0000001e
Wait 0x003c
_0807E8E4_1
WaitForSyncFlagAndClear 0x000003c0
Call sub_0807DF50
_0807E878
EnablePlayerControl
DoPostScriptAction 0x0006
SCRIPT_END
.2byte 0x0000
@@ -4,12 +4,12 @@ SCRIPT_START script_PlayerAtFirstKinstone
SetEntitySpeed 0x0080
EndBlock
DoPostScriptAction 0x0000
_0807EB44 0x0006
SetAnimationState 0x0006
DoPostScriptAction 0x0004
Wait 0x003c
DoPostScriptAction 0x0001
_0807EDD4 0x01f8, 0x0338
_0807EB44 0x0006
SetAnimationState 0x0006
DoPostScriptAction 0x0000
SetSyncFlag 0x00000001
Call sub_080791BC
@@ -1,7 +1,7 @@
@ Player at Hyrule Town Kinstone cutscene HurdyGurdyMan
SCRIPT_START script_PlayerAtHurdyGurdyManFirstKinstone1
SetEntitySpeed 0x0100
_0807EC94 0x0008
WalkEast 0x0008
SetSyncFlag 0x00000400
Call sub_080791BC
SCRIPT_END
@@ -1,7 +1,7 @@
@ Player at Hyrule Town Kinstone cutscene HurdyGurdyMan 2
SCRIPT_START script_PlayerAtHurdyGurdyManFirstKinstone2
SetEntitySpeed 0x0100
_0807ECF4 0x0008
WalkWest 0x0008
SetSyncFlag 0x00000400
Call sub_080791BC
SCRIPT_END
@@ -1,7 +1,7 @@
@ Player at Hyrule Town Kinstone cutscene HurdyGurdyMan 3
SCRIPT_START script_PlayerAtHurdyGurdyManFirstKinstone3
SetEntitySpeed 0x0100
_0807ECC4 0x0008
WalkSouth 0x0008
SetSyncFlag 0x00000400
Call sub_080791BC
SCRIPT_END
@@ -1,7 +1,7 @@
@ Player at Hyrule Town Kinstone cutscene HurdyGurdyMan 4
SCRIPT_START script_PlayerAtHurdyGurdyManFirstKinstone4
SetEntitySpeed 0x0100
_0807EC64 0x0008
WalkNorth 0x0008
SetSyncFlag 0x00000400
Call sub_080791BC
SCRIPT_END
@@ -5,12 +5,12 @@ SCRIPT_START script_ForestMinish5
DoPostScriptAction 0x0008
SetEntitySpeed 0x0100
DoPostScriptAction 0x000f
Call sub_0807F338
Call DeleteHitbox
EndBlock
WaitForSyncFlagAndClear 0x00000200
DoPostScriptAction 0x0007
_0807EDD4 0x0208, 0x0308
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x0000
SetSyncFlag 0x00000400
WaitForSyncFlagAndClear 0x00000200
@@ -5,14 +5,14 @@ SCRIPT_START script_ForestMinish6
DoPostScriptAction 0x0008
SetEntitySpeed 0x0100
DoPostScriptAction 0x000f
Call sub_0807F338
Call DeleteHitbox
EndBlock
WaitForSyncFlagAndClear 0x00000800
DoPostScriptAction 0x0007
_0807EB44 0x0002
SetAnimationState 0x0002
DoPostScriptAction 0x0001
_0807EDD4 0x01a8, 0x0330
_0807EB44 0x0002
SetAnimationState 0x0002
DoPostScriptAction 0x0000
SetSyncFlag 0x00001000
WaitForSyncFlagAndClear 0x00000800
@@ -5,12 +5,12 @@ SCRIPT_START script_ForestMinish7
DoPostScriptAction 0x0008
SetEntitySpeed 0x0100
DoPostScriptAction 0x000f
Call sub_0807F338
Call DeleteHitbox
EndBlock
WaitForSyncFlagAndClear 0x00002000
DoPostScriptAction 0x0007
_0807EDD4 0x0258, 0x0330
_0807EB44 0x0006
SetAnimationState 0x0006
DoPostScriptAction 0x0000
SetSyncFlag 0x00004000
WaitForSyncFlagAndClear 0x00002000
@@ -5,12 +5,12 @@ SCRIPT_START script_ForestMinish8
DoPostScriptAction 0x0000
SetEntitySpeed 0x0100
DoPostScriptAction 0x000f
Call sub_0807F338
Call DeleteHitbox
EndBlock
WaitForSyncFlagAndClear 0x00008000
DoPostScriptAction 0x0007
_0807EDD4 0x01b8, 0x0320
_0807EB44 0x0002
SetAnimationState 0x0002
DoPostScriptAction 0x0000
SetSyncFlag 0x00010000
WaitForSyncFlagAndClear 0x00008000
@@ -5,12 +5,12 @@ SCRIPT_START script_ForestMinish9
DoPostScriptAction 0x0008
SetEntitySpeed 0x0100
DoPostScriptAction 0x000f
Call sub_0807F338
Call DeleteHitbox
EndBlock
WaitForSyncFlagAndClear 0x00020000
DoPostScriptAction 0x0007
_0807EDD4 0x0268, 0x0338
_0807EB44 0x0006
SetAnimationState 0x0006
DoPostScriptAction 0x0000
SetSyncFlag 0x00040000
WaitForSyncFlagAndClear 0x00020000
@@ -1,19 +1,19 @@
@ Minish Village OBJECT_69 Intro Cutscene?
SCRIPT_START script_Object69VillageIntro
BeginBlock
_0807EB44 0x0004
SetAnimationState 0x0004
SetEntitySpeed 0x0300
EndBlock
script_0800C928:
CheckPlayerInRegion 0x0208, 0x0360, 0x2040
JumpIfNot script_0800C928
_0807E864
Call sub_0807F9A4
SetPlayerIdle
Call WaitForPlayerNormal
Call sub_0807DF28
StartPlayerScript script_PlayerAtVillageIntro
WaitForSyncFlagAndClear 0x00000002
Wait 0x003c
_0807EB28 0x1125
EzloMessage 0x1125
WaitUntilTextboxCloses
SetSyncFlag 0x00000800
_0807E8E4_3
@@ -41,7 +41,7 @@ script_0800C928:
WaitForSyncFlagAndClear 0x00000400
_0807E8E4_0
MessageFromTarget 0x1126
Call sub_0807F40C
Call CreatePlayerQuestionMark
WaitUntilTextboxCloses
SetSyncFlag 0x00000200
SetSyncFlag 0x00000800
@@ -74,10 +74,10 @@ script_0800C928:
WaitForSyncFlagAndClear 0x00010000
WaitForSyncFlagAndClear 0x00040000
_0807E8E4_0
_0807EB28 0x1129
EzloMessage 0x1129
WaitUntilTextboxCloses
SetLocalFlag 0x008d
Call sub_0807DF50
_0807E878
EnablePlayerControl
DoPostScriptAction 0x0006
SCRIPT_END
@@ -4,18 +4,18 @@ SCRIPT_START script_EzloCapExplainingOriginStory
SetEntitySpeed 0x0080
DoPostScriptAction 0x0007
EndBlock
_0807E930 0x001f
SetAnimation 0x001f
Call sub_0806D944
WaitForSyncFlagAndClear 0x00000008
_0807E930 0x0010
SetAnimation 0x0010
MessageFromTargetPos 0x1314, 0x000c
WaitUntilTextboxCloses
_0807E930 0x0018
SetAnimation 0x0018
Call sub_0806D8A0
script_080153C2:
_0807EE30
JumpIfNot script_080153C2
_0807E930 0x001f
SetAnimation 0x001f
StartPlayerScript script_PlayerReceivedExposition
Call sub_0806D9A4
DoPostScriptAction 0x0008
@@ -3,24 +3,24 @@ SCRIPT_START script_MinishEzlo
BeginBlock
SetEntitySpeed 0x0080
DoPostScriptAction 0x0007
_0807EB44 0x0000
Call sub_0807F338
SetAnimationState 0x0000
Call DeleteHitbox
EndBlock
CallWithArg sub_0806AF60, 0x00000000
WaitForSyncFlagAndClear 0x00008000
CallWithArg sub_0806AF60, 0x00000004
_0807EDD4 0x0078, 0x00b8
_0807EB44 0x0000
SetAnimationState 0x0000
CallWithArg sub_0806AF60, 0x00000000
SetSyncFlag 0x00010000
WaitForSyncFlagAndClear 0x00008000
DoPostScriptAction 0x000d
_0807EB44 0x0000
SetAnimationState 0x0000
CallWithArg sub_0806AF60, 0x00000004
_0807EDD4 0x0078, 0x00c8
SetSyncFlag 0x00010000
WaitForSyncFlagAndClear 0x00008000
_0807EB44 0x0000
SetAnimationState 0x0000
CallWithArg sub_0806AF60, 0x00000000
DoPostScriptAction 0x0010
Wait 0x0028
@@ -33,8 +33,8 @@ SCRIPT_START script_MinishEzlo
DoPostScriptAction 0x0010
SetSyncFlag 0x00010000
WaitForSyncFlagAndClear 0x00008000
_0807E930 0x000d
Call sub_0807F2D4
SetAnimation 0x000d
Call WaitForFrameHiBit
SetSyncFlag 0x00010000
Wait 0x003c
DoPostScriptAction 0x0005
@@ -19,7 +19,7 @@ SCRIPT_START script_Object69CameraTarget
SetSyncFlag 0x00000800
WaitForSyncFlagAndClear 0x00001000
StopBgm
_0807E778 0x0004
SetFadeTime 0x0004
DoFade5
WaitForFadeFinish
SetRoomFlag 0x0001
@@ -6,7 +6,7 @@ SCRIPT_START script_Object69MinishVaati
CameraTargetEntity
EndBlock
PlayBgm BGM_EZLO_STORY
_0807E778 0x0004
SetFadeTime 0x0004
DoFade4
WaitForFadeFinish
Wait 0x003c
@@ -7,8 +7,8 @@ SCRIPT_START script_Object69VaatiAppears
script_08014FCC:
CheckPlayerInRegion 0x01f8, 0x00a0, 0x2040
JumpIfNot script_08014FCC
_0807E864
Call sub_0807F9A4
SetPlayerIdle
Call WaitForPlayerNormal
Call sub_0807DF28
StopBgm
_0807F0B4 0x0001
@@ -17,24 +17,24 @@ script_08014FCC:
WaitForSyncFlagAndClear 0x00000001
MessageFromTargetPos 0x1301, 0x0002
WaitUntilTextboxCloses
Call sub_0807F3F8
Call CreatePlayerExclamationMark
Wait 0x003c
SetSyncFlag 0x00000002
WaitForSyncFlagAndClear 0x00000004
SetSyncFlag 0x00000002
WaitForSyncFlagAndClear 0x00000004
PlayBgm BGM_VAATI_THEME
_0807EB28 0x1302
EzloMessage 0x1302
WaitUntilTextboxCloses
MessageFromTargetPos 0x1303, 0x0002
WaitUntilTextboxCloses
_0807EB28 0x1304
EzloMessage 0x1304
WaitUntilTextboxCloses
MessageFromTargetPos 0x1305, 0x0002
WaitUntilTextboxCloses
SetSyncFlag 0x00000002
WaitForSyncFlagAndClear 0x00000004
_0807EB28 0x1306
EzloMessage 0x1306
WaitUntilTextboxCloses
StopBgm
StartPlayerScript script_PlayerTryToFollowVaati
@@ -71,13 +71,13 @@ script_08014FCC:
LoadRoomEntityList gUnk_080F7FC0
PlayBgm BGM_FIGHT_THEME
Call sub_0807DF50
_0807E878
EnablePlayerControl
script_08015104:
CheckRoomFlag 0x0000
JumpIfNot script_08015104
@ Defeated Moblins
_0807E864
Call sub_0807F9A4
SetPlayerIdle
Call WaitForPlayerNormal
Call sub_0807DF28
StopBgm
StartPlayerScript script_PlayerDefeatedMoblins
@@ -120,35 +120,35 @@ script_08015104:
.endif
.endif
.endif
_0807EB28 0x130c
EzloMessage 0x130c
WaitUntilTextboxCloses
@ Ezlo cutscene starts
CameraTargetPlayer
_0807E778 0x0004
SetFadeTime 0x0004
_0807E80C 0x00000000
WaitForFadeFinish
Call sub_08053B3C
BeginBlock
_0807E864
CallWithArg sub_0807F6E8, 0x00000008
SetPlayerIdle
CallWithArg SetPlayerFlag, 0x00000008
MoveEntityToPlayer
_0807F0B4 0x0004
CameraTargetEntity
_0807E778 0x0100
SetFadeTime 0x0100
DoFade4
_0807E80C 0x00000000
EndBlock
StartPlayerScript script_PlayerSeenOriginStory
WaitForSyncFlagAndClear 0x00000001
LoadRoomEntityList gUnk_080F7CB0
_0807E778 0x0004
SetFadeTime 0x0004
_0807E800 0x00000000
WaitForFadeFinish
SetSyncFlag 0x00000008
WaitForSyncFlagAndClear 0x00000010
BeginBlock
_0807E8E4_2
_0807EB28 0x1315
EzloMessage 0x1315
EndBlock
WaitUntilTextboxCloses
_0807F0B4 0x0004
@@ -156,6 +156,6 @@ script_08015104:
Call sub_08054570
PlayBGM
Call sub_0807DF50
_0807E878
EnablePlayerControl
DoPostScriptAction 0x0006
SCRIPT_END
@@ -1,7 +1,7 @@
@ Ezlo Cutscene OBJECT_6A dark magic
SCRIPT_START script_Object6ADarkMagic
BeginBlock
_0807E930 0x0000
SetAnimation 0x0000
SetEntitySpeed 0x0200
Call sub_08094B80
EndBlock
@@ -16,8 +16,8 @@ SCRIPT_START script_Object6AMinishCap
Wait 0x003c
SetSyncFlag 0x00000100
WaitForSyncFlagAndClear 0x00000080
_0807E930 0x0001
Call sub_0807F2D4
SetAnimation 0x0001
Call WaitForFrameHiBit
DoPostScriptAction 0x0006
SCRIPT_END
.2byte 0x0000
@@ -5,7 +5,7 @@ SCRIPT_START script_PlayerAtVaatisAppearance
EndBlock
DoPostScriptAction 0x0001
_0807EDD4 0x01f8, 0x00b8
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x0000
SetSyncFlag 0x00000001
Call sub_080791BC
@@ -5,7 +5,7 @@ SCRIPT_START script_PlayerDefeatedMoblins
EndBlock
DoPostScriptAction 0x0001
_0807EDD4 0x01f8, 0x0148
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x0000
SetSyncFlag 0x00000001
Call sub_080791BC
@@ -4,7 +4,7 @@ SCRIPT_START script_PlayerSeenOriginStory
SetEntitySpeed 0x0100
SetEntityPositionRelative 0x0208, 0x0148
EndBlock
_0807EB44 0x0006
SetAnimationState 0x0006
DoPostScriptAction 0x0000
SetSyncFlag 0x00000001
Call sub_080791BC
@@ -1,14 +1,14 @@
@ Player Outside Castle when stones appear before Moblin Fight
SCRIPT_START script_PlayerStoneWallsAppear
_0807EB44 0x0002
SetAnimationState 0x0002
Wait 0x000a
_0807EB44 0x0006
SetAnimationState 0x0006
Wait 0x000a
_0807EB44 0x0002
SetAnimationState 0x0002
Wait 0x000a
_0807EB44 0x0006
SetAnimationState 0x0006
Wait 0x000a
_0807EB44 0x0004
SetAnimationState 0x0004
SetSyncFlag 0x00000001
Call sub_080791BC
SCRIPT_END
@@ -5,7 +5,7 @@ SCRIPT_START script_PlayerTryToFollowVaati
EndBlock
DoPostScriptAction 0x0001
_0807EDD4 0x01f8, 0x0148
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x0000
SetSyncFlag 0x00000001
Call sub_080791BC

Some files were not shown because too many files have changed in this diff Show More