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
@@ -4,15 +4,15 @@ SCRIPT_START script_CastorWildsStatueLeft
CheckKinstoneFused 0x0006
JumpIf script_0800B302
_0807EA88 0x0006
_0807EB44 0x0002
SetAnimationState 0x0002
EndBlock
script_0800B268:
_0807EA4C
_0807E9F0
_0807E864
SetPlayerIdle
CheckKinstoneFused 0x0006
JumpIf script_0800B2E2
Call sub_0807DF50
_0807E878
EnablePlayerControl
Jump script_0800B268
.2byte 0x0000
@@ -4,15 +4,15 @@ SCRIPT_START script_CastorWildsStatueMiddle
CheckKinstoneFused 0x0007
JumpIf script_0800B302
_0807EA88 0x0007
_0807EB44 0x0002
SetAnimationState 0x0002
EndBlock
script_0800B298:
_0807EA4C
_0807E9F0
_0807E864
SetPlayerIdle
CheckKinstoneFused 0x0007
JumpIf script_0800B2E2
Call sub_0807DF50
_0807E878
EnablePlayerControl
Jump script_0800B298
.2byte 0x0000
@@ -4,20 +4,20 @@ SCRIPT_START script_CastorWildsStatueRight
CheckKinstoneFused 0x0008
JumpIf script_0800B302
_0807EA88 0x0008
_0807EB44 0x0002
SetAnimationState 0x0002
EndBlock
script_0800B2C8:
_0807EA4C
_0807E9F0
_0807E864
SetPlayerIdle
CheckKinstoneFused 0x0008
JumpIf script_0800B2E2
Call sub_0807DF50
_0807E878
EnablePlayerControl
Jump script_0800B2C8
script_0800B2E2:
DoPostScriptAction 0x0013
_0807EB44 0x0004
SetAnimationState 0x0004
_0807E9DC
Call sub_080676E0
Call sub_08067534
@@ -9,8 +9,8 @@ script_0800B6D4:
CheckPlayerInRegion 0x0078, 0x00b8, 0x1060
JumpIfNot script_0800B6D4
Call sub_08079184
_0807E864
Call sub_0807F9A4
SetPlayerIdle
Call WaitForPlayerNormal
StartPlayerScript script_PlayerAtGreatFairy
WaitForSyncFlagAndClear 0x00000004
SetRoomFlag 0x0000
@@ -19,7 +19,7 @@ script_0800B6D4:
JumpIf script_0800B7A2
MessageNoOverlap 0x057b
WaitUntilTextboxCloses
CallWithArg sub_0807F970, 0x0000057d
CallWithArg CheckMessageEqual, 0x0000057d
JumpIf script_0800B6A6
WaitUntilTextboxCloses
SetLocalFlag 0x009f
@@ -8,10 +8,10 @@ SCRIPT_START script_MalonAtRanch
script_0800B5FA:
CheckEntityInteractType
JumpIfNot script_0800B5FA
_0807E864
_0807EB74
SetPlayerIdle
FacePlayer
MessageNoOverlap 0x2009
WaitUntilTextboxCloses
_0807E878
_0807EB44 0x0004
EnablePlayerControl
SetAnimationState 0x0004
Jump script_0800B5FA
+1 -1
View File
@@ -30,7 +30,7 @@ script_0800B216:
Wait 0x000c
CameraTargetPlayer
Wait 0x0008
_0807E878
EnablePlayerControl
.ifdef JP
CheckLocalFlag 0x001e
.else
@@ -3,9 +3,9 @@ SCRIPT_START script_Object69DarknutFight
BeginBlock
Call sub_0807DF28
SetLocalFlag 0x0039
_0807E864
SetPlayerIdle
EndBlock
WaitForPlayerAction0x17
WaitForPlayerEnterRoom
StartPlayerScript script_PlayerAtDarknutFight
Wait 0x0018
SetSyncFlag 0x00000002
@@ -13,8 +13,8 @@ SCRIPT_START script_Object69DarknutFight
SetRoomFlag 0x0000
Wait 0x0010
PlayBgm BGM_FIGHT_THEME
_0807EB28 0x2701
_0807E878
EzloMessage 0x2701
EnablePlayerControl
Call sub_0807DF50
SCRIPT_END
.2byte 0x0000
@@ -1,12 +1,12 @@
@ Ezlo talk after getting wind element
SCRIPT_START script_EzloTalkPoW
_0807E864
SetPlayerIdle
Call sub_0807DF28
_0807EB28 0x1c05
EzloMessage 0x1c05
WaitUntilTextboxCloses
SetLocalFlagByBank 0x0100, 0x0005
Call sub_0807DF50
_0807E878
EnablePlayerControl
DoPostScriptAction 0x0006
SCRIPT_END
.2byte 0x0000
@@ -3,14 +3,14 @@ SCRIPT_START script_GregalHealthy
BeginBlock
Call sub_0806CD58
DoPostScriptAction 0x000a
_0807EB44 0x0004
_0807E930 0x0006
SetAnimationState 0x0004
SetAnimation 0x0006
EndBlock
script_08014C42:
CheckEntityInteractType
JumpIfNot script_08014C42
_0807E864
_0807EB74
SetPlayerIdle
FacePlayer
script_08014C4C:
Call sub_0806CCD0
JumpIfNot script_08014C4C
@@ -30,7 +30,7 @@ script_08014C7C:
WaitUntilTextboxCloses
script_08014C82:
Wait 0x000f
_0807E878
_0807EB44 0x0004
_0807E930 0x0006
EnablePlayerControl
SetAnimationState 0x0004
SetAnimation 0x0006
Jump script_08014C42
+10 -10
View File
@@ -2,7 +2,7 @@
SCRIPT_START script_GregalSick
BeginBlock
DoPostScriptAction 0x000a
_0807E930 0x0000
SetAnimation 0x0000
EndBlock
CheckLocalFlag 0x0063
JumpIf script_08014BE8
@@ -14,21 +14,21 @@ script_08014B48:
CheckEntityInteractType
JumpIfNot script_08014B48
EndBlock
_0807E864
_0807EB74
SetPlayerIdle
FacePlayer
MessageNoOverlap 0x2f01
WaitUntilTextboxCloses
Wait 0x000f
_0807E878
EnablePlayerControl
Jump script_08014B48
script_08014B70:
EndBlock
_0807E864
SetPlayerIdle
Call sub_0807DF28
SetSyncFlag 0x00000001
DoPostScriptAction 0x0004
WaitForSyncFlagAndClear 0x00000002
_0807E930 0x0010
SetAnimation 0x0010
Call sub_0806CCF8
Wait 0x0014
Call sub_0806CD04
@@ -46,14 +46,14 @@ script_08014B70:
SetSyncFlag 0x00000001
WaitForSyncFlagAndClear 0x00000002
Call sub_0807DF50
_0807E878
EnablePlayerControl
script_08014BE8:
_0807E930 0x0010
SetAnimation 0x0010
Call sub_0806CD4C
script_08014BF2:
CheckEntityInteractType
JumpIfNot script_08014BF2
_0807E864
SetPlayerIdle
CheckLocalFlag 0x0065
JumpIf script_08014C1C
SetLocalFlag 0x0065
@@ -68,5 +68,5 @@ script_08014C1C:
WaitUntilTextboxCloses
script_08014C22:
Wait 0x000f
_0807E878
EnablePlayerControl
Jump script_08014BF2
@@ -2,7 +2,7 @@
@ Reponsible for Kinstone cutscenes
SCRIPT_START script_Npc4EFirstCloud
BeginBlock
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x000b
DoPostScriptAction 0x0008
Call sub_0806DAAC
@@ -16,10 +16,10 @@ script_0800D636:
Call sub_0806DAAC
JumpIf script_0800D650
Call sub_0807DF50
_0807E878
EnablePlayerControl
Jump script_0800D636
script_0800D650:
_0807E864
SetPlayerIdle
Call sub_0807DF28
Call sub_0807FBC4
Call sub_0807FBA0
@@ -4,7 +4,7 @@ SCRIPT_START script_Npc4EKinstoneFused
_0807F0B4 0x0004
CameraTargetPlayer
Call sub_0807FBCC
_0807E878
EnablePlayerControl
Call sub_0807DF50
script_0800D6AE:
DoPostScriptAction 0x0006
@@ -1,7 +1,7 @@
@ Cloud Tops OBJECT_69 great whirlwind revealed
SCRIPT_START script_Object69GreatWhirlwindRevealed
BeginBlock
Call sub_0807F360
Call SetPriorityHighest
SetEntitySpeed 0x0700
_0807F0B4 0x0007
CameraTargetEntity
@@ -17,7 +17,7 @@ SCRIPT_START script_Object69GreatWhirlwindRevealed
_0807F0B4 0x0004
CameraTargetPlayer
Call sub_0807FBCC
_0807E878
EnablePlayerControl
Call sub_0807DF50
DoPostScriptAction 0x0006
SCRIPT_END
@@ -3,7 +3,7 @@ SCRIPT_START script_Object6AMysteriousCloud
BeginBlock
DoPostScriptAction 0x0007
DoPostScriptAction 0x0011
Call sub_0807F158
Call SetCollisionLayer1
Call sub_0807F738
EndBlock
SCRIPT_END
@@ -4,7 +4,7 @@ SCRIPT_START script_PlayerAtSiroc
SetEntitySpeed 0x0100
EndBlock
_0807EDD4 0x0078, 0x0040
_0807EB44 0x0000
SetAnimationState 0x0000
DoPostScriptAction 0x0000
SetSyncFlag 0x00000001
Call sub_080791BC
+5 -5
View File
@@ -5,13 +5,13 @@ SCRIPT_START script_Siroc
DoPostScriptAction 0x000a
EndBlock
script_08014AD2:
_0807E30C
FacePlayerAndCheckDist
JumpIfNot script_08014AD2
_0807E864
_0807EB74
SetPlayerIdle
FacePlayer
StartPlayerScript script_PlayerAtSiroc
WaitForSyncFlagAndClear 0x00000001
_0807EB74
FacePlayer
CheckLocalFlag 0x0064
JumpIf script_08014AFE
SetLocalFlag 0x0064
@@ -22,6 +22,6 @@ script_08014AFE:
script_08014B02:
WaitUntilTextboxCloses
Wait 0x000f
_0807E878
EnablePlayerControl
Jump script_08014AD2
.2byte 0x0000
@@ -5,17 +5,17 @@ SCRIPT_START script_WindTribespeople1
DoPostScriptAction 0x000a
CheckGlobalFlag 0x0058
JumpIf script_08014976
_0807EB44 0x0004
SetAnimationState 0x0004
SetEntityPositionRelative 0x0078, 0x0128
script_08014976:
EndBlock
script_08014978:
_0807E30C
FacePlayerAndCheckDist
JumpIfNot script_08014978
_0807E864
_0807EB74
SetPlayerIdle
FacePlayer
Call sub_0806C90C
WaitUntilTextboxCloses
Wait 0x000f
_0807E878
EnablePlayerControl
Jump script_08014978
@@ -7,14 +7,14 @@ SCRIPT_START script_WindTribespeople2
JumpIfNot script_080149C6
EndBlock
script_080149AA:
_0807E30C
FacePlayerAndCheckDist
JumpIfNot script_080149AA
_0807E864
_0807EB74
SetPlayerIdle
FacePlayer
Call sub_0806C90C
WaitUntilTextboxCloses
Wait 0x000f
_0807E878
EnablePlayerControl
Jump script_080149AA
script_080149C6:
DoPostScriptAction 0x0006
@@ -6,10 +6,10 @@ SCRIPT_START script_WindTribespeople3
DoPostScriptAction 0x000a
EndBlock
script_080149DE:
_0807E30C
FacePlayerAndCheckDist
JumpIfNot script_080149DE
_0807E864
_0807EB74
SetPlayerIdle
FacePlayer
Call sub_0806C90C
WaitUntilTextboxCloses
CheckLocalFlag 0x0064
@@ -21,10 +21,10 @@ script_080149DE:
DoPostScriptAction 0x0001
_0807EDD4 0x0068, 0x00f8
PlaySound SFX_SECRET
_0807EB74
FacePlayer
DoPostScriptAction 0x0000
DoPostScriptAction 0x000a
script_08014A20:
_0807E878
EnablePlayerControl
Jump script_080149DE
.2byte 0x0000
@@ -5,13 +5,13 @@ SCRIPT_START script_WindTribespeople4
DoPostScriptAction 0x000a
EndBlock
script_08014A36:
_0807E30C
FacePlayerAndCheckDist
JumpIfNot script_08014A36
_0807E864
_0807EB74
SetPlayerIdle
FacePlayer
Call sub_0806C90C
WaitUntilTextboxCloses
Wait 0x000f
_0807E878
EnablePlayerControl
Jump script_08014A36
.2byte 0x0000
@@ -5,13 +5,13 @@ SCRIPT_START script_WindTribespeople5
DoPostScriptAction 0x000a
EndBlock
script_08014A62:
_0807E30C
FacePlayerAndCheckDist
JumpIfNot script_08014A62
_0807E864
_0807EB74
SetPlayerIdle
FacePlayer
Call sub_0806C90C
WaitUntilTextboxCloses
Wait 0x000f
_0807E878
EnablePlayerControl
Jump script_08014A62
.2byte 0x0000
@@ -4,7 +4,7 @@ SCRIPT_START script_WindTribespeople6
DoPostScriptAction 0x000a
EndBlock
WaitForSyncFlagAndClear 0x00000001
_0807EB74
FacePlayer
DoPostScriptAction 0x0004
SetSyncFlag 0x00000002
WaitForSyncFlagAndClear 0x00000001
@@ -12,12 +12,12 @@ SCRIPT_START script_WindTribespeople6
WaitUntilTextboxCloses
SetSyncFlag 0x00000002
script_08014AAC:
_0807E30C
FacePlayerAndCheckDist
JumpIfNot script_08014AAC
_0807E864
_0807EB74
SetPlayerIdle
FacePlayer
MessageNoOverlap 0x2f0a
WaitUntilTextboxCloses
_0807E878
EnablePlayerControl
Jump script_08014AAC
.2byte 0x0000
@@ -12,14 +12,14 @@ script_08014CAE:
BeginBlock
CheckGlobalFlag 0x0024
JumpIf script_08014CD4
_0807E30C
FacePlayerAndCheckDist
JumpIfNot script_08014CAE
EndBlock
_0807E864
_0807EB74
SetPlayerIdle
FacePlayer
Call sub_0806C90C
WaitUntilTextboxCloses
_0807E878
EnablePlayerControl
Jump script_08014CAE
script_08014CD4:
DoPostScriptAction 0x0006
@@ -1,10 +1,10 @@
@ Cloud Tops WindTribespeople great whirlwind revealed 2
SCRIPT_START script_WindTribespeopleGreatWhirlwindRevealed1
BeginBlock
Call sub_0807F360
Call SetPriorityHighest
DoPostScriptAction 0x000b
SetEntitySpeed 0x0200
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x0000
EndBlock
WaitForSyncFlagAndClear 0x00000008
@@ -13,14 +13,14 @@ SCRIPT_START script_WindTribespeopleGreatWhirlwindRevealed1
PlaySound SFX_123
CallWithArg sub_0807F464, 0x000001e0
_0807EDD4 0x01e0, 0x01d8
_0807EB44 0x0002
SetAnimationState 0x0002
DoPostScriptAction 0x0000
SetSyncFlag 0x00000010
PlaySound SFX_PLY_JUMP
_0807EF3C 0x0180, 0x0030
PlaySound SFX_PLY_JUMP
_0807EF3C 0x0180, 0x0030
_0807EB44 0x0002
SetAnimationState 0x0002
DoPostScriptAction 0x0001
WaitForSyncFlagAndClear 0x00000008
Jump script_0800D80C
@@ -1,7 +1,7 @@
@ Cloud Tops WindTribespeople great whirlwind revealed
SCRIPT_START script_WindTribespeopleGreatWhirlwindRevealed2
BeginBlock
Call sub_0807F360
Call SetPriorityHighest
DoPostScriptAction 0x000b
SetEntityPositionRelative 0x0268, 0x01d8
SetEntitySpeed 0x0100
@@ -15,11 +15,11 @@ script_0800D80C:
_0807EEF4 0x0000, 0xffe0
DoPostScriptAction 0x000e
Call sub_0806CA5C
SetEntity0x20 0x00040000
SetEntityVelocity 0x00040000
PlaySound SFX_F5
script_0800D82A:
CallWithArg sub_0807F8D0, 0xffffe000
Call sub_0807F8BC
CallWithArg DoGravity, 0xffffe000
Call CheckEntityOnScreen
JumpIf script_0800D82A
SetSyncFlag 0x00000004
DoPostScriptAction 0x0006
+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

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