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
@@ -1,9 +1,9 @@
@ Bomb Forest Minish during Kinstone cutscene
SCRIPT_START script_BombMinishKinstone
BeginBlock
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x0000
Call sub_0807F348
Call SetPriorityMessage
EndBlock
script_0800BB42:
CheckRoomFlag 0x00ff
@@ -1,7 +1,7 @@
@ Kinstone Cutscene for Carlov
SCRIPT_START script_CarlovKinstone
BeginBlock
_0807E930 0x0000
SetAnimation 0x0000
EndBlock
script_0800BBE4:
CheckRoomFlag 0x00ff
@@ -2,7 +2,7 @@
SCRIPT_START script_GhostBrotherKinstone
BeginBlock
DoPostScriptAction 0x0007
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x0000
EndBlock
script_0800BC18:
@@ -13,8 +13,8 @@ script_0800BC18:
MessageNoOverlap 0x0e07
WaitUntilTextboxCloses
BeginBlock
_0807EB44 0x0000
_0807E930 0x0004
SetAnimationState 0x0000
SetAnimation 0x0004
EndBlock
Wait 0x003c
Call sub_08065CCC
@@ -1,10 +1,10 @@
@ Hyrule Town Gorman during Kinstone cutscene for first empty house
SCRIPT_START script_GormanFirstAppearance
BeginBlock
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x0000
SetEntitySpeed 0x0040
Call sub_0807F348
Call SetPriorityMessage
EndBlock
script_0800BA8E:
CheckRoomFlag 0x00ff
@@ -13,7 +13,7 @@ script_0800BA8E:
Wait 0x001e
DoPostScriptAction 0x0004
Wait 0x003c
_0807EB44 0x0006
SetAnimationState 0x0006
Wait 0x001e
_0807EDD4 0x02f0, 0x0350
Wait 0x001e
@@ -1,17 +1,17 @@
@ 1st Goron during Kinstone cutscene for 2nd Goron
SCRIPT_START script_Goron1Kinstone2
BeginBlock
_0807EB44 0x0004
_0807E930 0x0008
Call sub_0807F348
SetAnimationState 0x0004
SetAnimation 0x0008
Call SetPriorityMessage
EndBlock
WaitForFadeFinish
Wait 0x00f0
_0807E930 0x0000
SetAnimation 0x0000
Wait 0x003c
MessageNoOverlap 0x0e0a
WaitUntilTextboxCloses
_0807E930 0x0008
SetAnimation 0x0008
Wait 0x003c
SetSyncFlag 0x00000001
script_0800BD1C:
@@ -19,7 +19,7 @@ script_0800BD1C:
JumpIfNot script_0800BD1C
SetSyncFlag 0x00000002
WaitForSyncFlagAndClear 0x00000004
_0807E930 0x0000
SetAnimation 0x0000
DoPostScriptAction 0x0004
Wait 0x003c
MessageNoOverlap 0x0e0c
@@ -27,11 +27,11 @@ script_0800BD1C:
SetSyncFlag 0x00000002
WaitForSyncFlagAndClear 0x00000004
DoPostScriptAction 0x000f
_0807E930 0x0008
SetAnimation 0x0008
Wait 0x0168
_0807E930 0x0000
SetAnimation 0x0000
Wait 0x003c
_0807EB44 0x0002
SetAnimationState 0x0002
WaitForSyncFlagAndClear 0x00000004
SetEntitySpeed 0x0080
_0807EEF4 0x0000, 0xffe0
@@ -1,18 +1,18 @@
@ 1st Goron during 3rd Goron Kinstone cutscene
SCRIPT_START script_Goron1Kinstone3
BeginBlock
_0807EB44 0x0004
_0807E930 0x0008
Call sub_0807F348
SetAnimationState 0x0004
SetAnimation 0x0008
Call SetPriorityMessage
EndBlock
WaitForFadeFinish
Wait 0x00f0
_0807E930 0x0000
_0807EB44 0x0002
SetAnimation 0x0000
SetAnimationState 0x0002
Wait 0x003c
MessageNoOverlap 0x0e0d
WaitUntilTextboxCloses
_0807E930 0x0008
SetAnimation 0x0008
Wait 0x003c
Jump script_0800BE88
.2byte 0x0000
@@ -1,18 +1,18 @@
@ 1st Goron during 4th Goron cutscene
SCRIPT_START script_Goron1Kinstone4
BeginBlock
_0807EB44 0x0004
_0807E930 0x0008
Call sub_0807F348
SetAnimationState 0x0004
SetAnimation 0x0008
Call SetPriorityMessage
EndBlock
WaitForFadeFinish
Wait 0x00f0
_0807E930 0x0000
_0807EB44 0x0002
SetAnimation 0x0000
SetAnimationState 0x0002
Wait 0x003c
MessageNoOverlap 0x0e10
WaitUntilTextboxCloses
_0807E930 0x0008
SetAnimation 0x0008
Wait 0x003c
Jump script_0800BFA4
.2byte 0x0000
@@ -1,18 +1,18 @@
@ 1st Goron during 5th Goron cutscene
SCRIPT_START script_Goron1Kinstone5
BeginBlock
_0807EB44 0x0004
_0807E930 0x0008
Call sub_0807F348
SetAnimationState 0x0004
SetAnimation 0x0008
Call SetPriorityMessage
EndBlock
WaitForFadeFinish
Wait 0x00f0
_0807E930 0x0000
_0807EB44 0x0002
SetAnimation 0x0000
SetAnimationState 0x0002
Wait 0x003c
MessageNoOverlap 0x0e13
WaitUntilTextboxCloses
_0807E930 0x0008
SetAnimation 0x0008
Wait 0x003c
Jump script_0800C11C
.2byte 0x0000
@@ -1,18 +1,18 @@
@ 1st Goron in 6th Goron cutscene
SCRIPT_START script_Goron1Kinstone6
BeginBlock
_0807EB44 0x0004
_0807E930 0x0008
Call sub_0807F348
SetAnimationState 0x0004
SetAnimation 0x0008
Call SetPriorityMessage
EndBlock
WaitForFadeFinish
Wait 0x00f0
_0807E930 0x0000
_0807EB44 0x0002
SetAnimation 0x0000
SetAnimationState 0x0002
Wait 0x003c
MessageNoOverlap 0x0e16
WaitUntilTextboxCloses
_0807E930 0x0008
SetAnimation 0x0008
Wait 0x003c
Jump script_0800C244
.2byte 0x0000
@@ -1,11 +1,11 @@
@ 2nd Goron during Kinstone cutscene for 2nd Goron
SCRIPT_START script_Goron2Kinstone2
BeginBlock
_0807EB44 0x0000
_0807E930 0x0000
SetAnimationState 0x0000
SetAnimation 0x0000
DoPostScriptAction 0x0008
SetEntitySpeed 0x0080
Call sub_0807F348
Call SetPriorityMessage
EndBlock
WaitForSyncFlagAndClear 0x00000002
DoPostScriptAction 0x0007
@@ -20,15 +20,15 @@ SCRIPT_START script_Goron2Kinstone2
Wait 0x000f
SetSyncFlag 0x00000004
DoPostScriptAction 0x000f
_0807E930 0x0008
SetAnimation 0x0008
Wait 0x00b4
CallWithArg sub_0804BF38, 0x00000000
Wait 0x00b4
CallWithArg sub_0804BF38, 0x00000003
_0807EB44 0x0004
_0807E930 0x0000
SetAnimationState 0x0004
SetAnimation 0x0000
Wait 0x003c
_0807EB44 0x0006
SetAnimationState 0x0006
SetSyncFlag 0x00000004
SetEntitySpeed 0x0080
_0807EEF4 0x0000, 0xffe0
@@ -1,27 +1,27 @@
@ 2nd Goron during 3rd Goron cutscene
SCRIPT_START script_Goron2Kinstone3
BeginBlock
_0807EB44 0x0004
_0807E930 0x0008
Call sub_0807F348
SetAnimationState 0x0004
SetAnimation 0x0008
Call SetPriorityMessage
EndBlock
WaitForFadeFinish
Wait 0x00f0
_0807E930 0x0000
_0807EB44 0x0006
SetAnimation 0x0000
SetAnimationState 0x0006
Wait 0x003c
WaitUntilTextboxCloses
_0807E930 0x0008
SetAnimation 0x0008
Wait 0x003c
SetSyncFlag 0x00000001
script_0800BE88:
_0807EB44 0x0004
SetAnimationState 0x0004
script_0800BE8C:
CheckRoomFlag 0x00ff
JumpIfNot script_0800BE8C
SetSyncFlag 0x00000002
Call sub_08054F64
_0807E930 0x0000
SetAnimation 0x0000
DoPostScriptAction 0x0004
Wait 0x003c
MessageNoOverlap 0x0e0f
@@ -29,6 +29,6 @@ script_0800BE8C:
SetSyncFlag 0x00000002
Call sub_08054F64
DoPostScriptAction 0x000f
_0807E930 0x0008
SetAnimation 0x0008
Wait 0x00f0
SCRIPT_END
@@ -1,27 +1,27 @@
@ 2nd and 3rd Goron during 4th Goron cutscene
SCRIPT_START script_Goron2Kinstone4
BeginBlock
_0807EB44 0x0004
_0807E930 0x0008
Call sub_0807F348
SetAnimationState 0x0004
SetAnimation 0x0008
Call SetPriorityMessage
EndBlock
WaitForFadeFinish
Wait 0x00f0
_0807E930 0x0000
_0807EB44 0x0006
SetAnimation 0x0000
SetAnimationState 0x0006
Wait 0x003c
WaitUntilTextboxCloses
_0807E930 0x0008
SetAnimation 0x0008
Wait 0x003c
SetSyncFlag 0x00000001
script_0800BFA4:
_0807EB44 0x0004
SetAnimationState 0x0004
script_0800BFA8:
CheckRoomFlag 0x00ff
JumpIfNot script_0800BFA8
SetSyncFlag 0x00000002
Call sub_08054F64
_0807E930 0x0000
SetAnimation 0x0000
DoPostScriptAction 0x0004
Wait 0x003c
MessageNoOverlap 0x0e12
@@ -29,10 +29,10 @@ script_0800BFA8:
SetSyncFlag 0x00000002
Call sub_08054F64
DoPostScriptAction 0x000f
_0807E930 0x0008
SetAnimation 0x0008
Wait 0x0168
_0807EB44 0x0004
_0807E930 0x0000
SetAnimationState 0x0004
SetAnimation 0x0000
Wait 0x003c
Call sub_08054F64
SetEntitySpeed 0x0080
@@ -1,27 +1,27 @@
@ 2nd, 3rd and 4th Goron during 5th Goron cutscene
SCRIPT_START script_Goron2Kinstone5
BeginBlock
_0807EB44 0x0004
_0807E930 0x0008
Call sub_0807F348
SetAnimationState 0x0004
SetAnimation 0x0008
Call SetPriorityMessage
EndBlock
WaitForFadeFinish
Wait 0x00f0
_0807E930 0x0000
_0807EB44 0x0006
SetAnimation 0x0000
SetAnimationState 0x0006
Wait 0x003c
WaitUntilTextboxCloses
_0807E930 0x0008
SetAnimation 0x0008
Wait 0x003c
SetSyncFlag 0x00000001
script_0800C11C:
_0807EB44 0x0004
SetAnimationState 0x0004
script_0800C120:
CheckRoomFlag 0x00ff
JumpIfNot script_0800C120
SetSyncFlag 0x00000002
Call sub_08054F64
_0807E930 0x0000
SetAnimation 0x0000
DoPostScriptAction 0x0004
Wait 0x003c
MessageNoOverlap 0x0e15
@@ -29,6 +29,6 @@ script_0800C120:
SetSyncFlag 0x00000002
Call sub_08054F64
DoPostScriptAction 0x000f
_0807E930 0x0008
SetAnimation 0x0008
Wait 0x00f0
SCRIPT_END
@@ -1,27 +1,27 @@
@ 2nd to 5th Goron in 6th Goron cutscene
SCRIPT_START script_Goron2Kinstone6
BeginBlock
_0807EB44 0x0004
_0807E930 0x0008
Call sub_0807F348
SetAnimationState 0x0004
SetAnimation 0x0008
Call SetPriorityMessage
EndBlock
WaitForFadeFinish
Wait 0x00f0
_0807E930 0x0000
_0807EB44 0x0006
SetAnimation 0x0000
SetAnimationState 0x0006
Wait 0x003c
WaitUntilTextboxCloses
_0807E930 0x0008
SetAnimation 0x0008
Wait 0x003c
SetSyncFlag 0x00000001
script_0800C244:
_0807EB44 0x0004
SetAnimationState 0x0004
script_0800C248:
CheckRoomFlag 0x00ff
JumpIfNot script_0800C248
SetSyncFlag 0x00000002
Call sub_08054F64
_0807E930 0x0000
SetAnimation 0x0000
DoPostScriptAction 0x0004
Wait 0x003c
MessageNoOverlap 0x0e18
@@ -29,10 +29,10 @@ script_0800C248:
SetSyncFlag 0x00000002
Call sub_08054F64
DoPostScriptAction 0x000f
_0807E930 0x0008
SetAnimation 0x0008
Wait 0x0168
_0807EB44 0x0004
_0807E930 0x0000
SetAnimationState 0x0004
SetAnimation 0x0000
Wait 0x003c
Call sub_08054F64
SetEntitySpeed 0x0080
@@ -1,11 +1,11 @@
@ 3rd Goron during 3rd Goron cutscene
SCRIPT_START script_Goron3Kinstone3
BeginBlock
_0807EB44 0x0000
_0807E930 0x0000
SetAnimationState 0x0000
SetAnimation 0x0000
DoPostScriptAction 0x0008
SetEntitySpeed 0x0080
Call sub_0807F348
Call SetPriorityMessage
EndBlock
WaitForSyncFlagAndClear 0x00000002
DoPostScriptAction 0x0007
@@ -20,7 +20,7 @@ SCRIPT_START script_Goron3Kinstone3
Wait 0x000f
SetSyncFlag 0x0000000c
DoPostScriptAction 0x000f
_0807E930 0x0008
SetAnimation 0x0008
Wait 0x00f0
Call sub_08054968
SCRIPT_END
@@ -1,11 +1,11 @@
@ 4th Goron during 4th Goron cutscene
SCRIPT_START script_Goron4Kinstone4
BeginBlock
_0807EB44 0x0000
_0807E930 0x0000
SetAnimationState 0x0000
SetAnimation 0x0000
DoPostScriptAction 0x0008
SetEntitySpeed 0x0080
Call sub_0807F348
Call SetPriorityMessage
EndBlock
WaitForSyncFlagAndClear 0x00000002
DoPostScriptAction 0x0007
@@ -22,13 +22,13 @@ SCRIPT_START script_Goron4Kinstone4
Wait 0x000f
SetSyncFlag 0x0000001c
DoPostScriptAction 0x000f
_0807E930 0x0008
SetAnimation 0x0008
Wait 0x00b4
CallWithArg sub_0804BF38, 0x00000001
Wait 0x00b4
CallWithArg sub_0804BF38, 0x00000004
_0807EB44 0x0004
_0807E930 0x0000
SetAnimationState 0x0004
SetAnimation 0x0000
Wait 0x003c
SetSyncFlag 0x0000001c
SetEntitySpeed 0x0080
@@ -1,11 +1,11 @@
@ 5th Goron during 5th Goron cutscene
SCRIPT_START script_Goron5Kinstone5
BeginBlock
_0807EB44 0x0000
_0807E930 0x0000
SetAnimationState 0x0000
SetAnimation 0x0000
DoPostScriptAction 0x0008
SetEntitySpeed 0x0080
Call sub_0807F348
Call SetPriorityMessage
EndBlock
WaitForSyncFlagAndClear 0x00000002
DoPostScriptAction 0x0007
@@ -22,7 +22,7 @@ SCRIPT_START script_Goron5Kinstone5
Wait 0x000f
SetSyncFlag 0x0000003c
DoPostScriptAction 0x000f
_0807E930 0x0008
SetAnimation 0x0008
Wait 0x00f0
Call sub_08054968
SCRIPT_END
@@ -1,11 +1,11 @@
@ 6th Goron in 6th Goron cutscene
SCRIPT_START script_Goron6Kindstone6
BeginBlock
_0807EB44 0x0000
_0807E930 0x0000
SetAnimationState 0x0000
SetAnimation 0x0000
DoPostScriptAction 0x0008
SetEntitySpeed 0x0080
Call sub_0807F348
Call SetPriorityMessage
EndBlock
WaitForSyncFlagAndClear 0x00000002
DoPostScriptAction 0x0007
@@ -22,13 +22,13 @@ SCRIPT_START script_Goron6Kindstone6
Wait 0x000f
SetSyncFlag 0x0000007c
DoPostScriptAction 0x000f
_0807E930 0x0008
SetAnimation 0x0008
Wait 0x00b4
CallWithArg sub_0804BF38, 0x00000002
Wait 0x00b4
CallWithArg sub_0804BF38, 0x00000005
_0807EB44 0x0004
_0807E930 0x0000
SetAnimationState 0x0004
SetAnimation 0x0000
Wait 0x003c
SetSyncFlag 0x0000007c
SetEntitySpeed 0x0080
@@ -1,25 +1,25 @@
@ Goron in fusing kinstone cutscene
SCRIPT_START script_GoronKinstone
BeginBlock
_0807EB44 0x0004
_0807E930 0x0008
SetAnimationState 0x0004
SetAnimation 0x0008
Call sub_08054EB8
EndBlock
script_0800BC62:
CheckRoomFlag 0x00ff
JumpIfNot script_0800BC62
_0807E930 0x0000
SetAnimation 0x0000
Wait 0x001e
DoPostScriptAction 0x0004
Wait 0x003c
MessageNoOverlap 0x0e08
WaitUntilTextboxCloses
DoPostScriptAction 0x000f
_0807E930 0x0008
SetAnimation 0x0008
Wait 0x00f0
Call sub_08054EFC
_0807EB44 0x0000
_0807E930 0x0000
SetAnimationState 0x0000
SetAnimation 0x0000
SetEntitySpeed 0x0040
DoPostScriptAction 0x000d
CallWithArg sub_0807F4F8, 0x00000378
@@ -28,7 +28,7 @@ script_0800BC62:
Wait 0x003c
MessageNoOverlap 0x0e09
WaitUntilTextboxCloses
Call sub_0807F158
Call SetCollisionLayer1
CallWithArg sub_0807F4F8, 0x0000035c
Wait 0x001e
PlaySound SFX_STAIRS_DESCEND
@@ -1,10 +1,10 @@
@ Goron Merchant in arriving Kinstone cutscene
SCRIPT_START script_GoronMerchantArriving
BeginBlock
_0807EB44 0x0006
SetAnimationState 0x0006
DoPostScriptAction 0x0000
SetEntitySpeed 0x0040
Call sub_0807F348
Call SetPriorityMessage
EndBlock
script_0800BB7A:
CheckRoomFlag 0x00ff
@@ -1,9 +1,9 @@
@ Hyrule Town Mutoh in Kinstone cutscene
SCRIPT_START script_MutohKinstone
BeginBlock
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x0000
Call sub_0807F348
Call SetPriorityMessage
EndBlock
script_0800BADE:
CheckRoomFlag 0x00ff
@@ -2,7 +2,7 @@
SCRIPT_START script_ObjectB3KinstoneSpark
BeginBlock
SetEntitySpeed 0x0180
_0807E930 0x0004
SetAnimation 0x0004
Call sub_080A0B28
EndBlock
Wait 0x000a
@@ -13,7 +13,7 @@ script_0800C47A:
JumpIfNot script_0800C47A
Wait 0x003c
SetRoomFlag 0x00ff
_0807E930 0x0005
SetAnimation 0x0005
Wait 0x000f
SCRIPT_END
.2byte 0x0000
@@ -2,7 +2,7 @@
SCRIPT_START script_ObjectB3KinstoneSparkFromBottom
BeginBlock
SetEntitySpeed 0x0120
_0807E930 0x0004
SetAnimation 0x0004
EndBlock
Wait 0x000a
DoPostScriptAction 0x0007
@@ -12,7 +12,7 @@ SCRIPT_START script_ObjectB3KinstoneSparkFromBottom
_0807EEF4 0x0000, 0xffb0
Wait 0x003c
SetRoomFlag 0x00ff
_0807E930 0x0005
SetAnimation 0x0005
Wait 0x000f
SCRIPT_END
.2byte 0x0000
@@ -3,7 +3,7 @@
SCRIPT_START script_ObjectB3KinstoneSparkGoron
BeginBlock
SetEntitySpeed 0x0100
_0807E930 0x0004
SetAnimation 0x0004
DoPostScriptAction 0x0008
EndBlock
WaitForSyncFlagAndClear 0x00000001
@@ -15,6 +15,6 @@ SCRIPT_START script_ObjectB3KinstoneSparkGoron
_0807EEF4 0x0000, 0x0060
Wait 0x001e
SetRoomFlag 0x00ff
_0807E930 0x0005
SetAnimation 0x0005
Wait 0x000f
SCRIPT_END
@@ -3,7 +3,7 @@
SCRIPT_START script_ObjectB3KinstoneSparkGoronMerchang
BeginBlock
SetEntitySpeed 0x0180
_0807E930 0x0004
SetAnimation 0x0004
EndBlock
Wait 0x000a
DoPostScriptAction 0x0007
@@ -13,7 +13,7 @@ SCRIPT_START script_ObjectB3KinstoneSparkGoronMerchang
_0807EEF4 0x0070, 0x0000
Wait 0x003c
SetRoomFlag 0x00ff
_0807E930 0x0005
SetAnimation 0x0005
Wait 0x000f
SCRIPT_END
.2byte 0x0000
@@ -2,9 +2,9 @@
SCRIPT_START script_StampKinstone
BeginBlock
DoPostScriptAction 0x0007
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x0000
Call sub_0807F348
Call SetPriorityMessage
EndBlock
script_0800BBBA:
CheckRoomFlag 0x00ff