Rename scripts

This commit is contained in:
octorock
2021-12-26 23:22:16 +01:00
parent 11bb0e7656
commit 2ccf89a1fb
643 changed files with 8481 additions and 7693 deletions
@@ -0,0 +1,6 @@
@ Veil Falls BigGoron 1
SCRIPT_START script_BigGoron1
BeginBlock
EndBlock
SCRIPT_END
.2byte 0x0000
@@ -0,0 +1,6 @@
@ Veil Falls BigGoron 2
SCRIPT_START script_BigGoron2
BeginBlock
EndBlock
SCRIPT_END
.2byte 0x0000
@@ -0,0 +1,28 @@
@ Veil Falls BigGoron 3
SCRIPT_START script_BigGoron3
BeginBlock
_0807E9D4
EndBlock
script_0800934E:
CheckEntityInteractType
JumpIfNot script_0800934E
_0807E864
Call sub_0807DF28
Call sub_0806D638
_0807F0B4 0x0001
CameraTargetEntity
CheckGlobalFlag 0x0055
JumpIf script_BigGoronTalk
MessageNoOverlap 0x1d01
WaitUntilTextboxCloses
script_08009376:
WaitUntilTextboxCloses
Call sub_0806D640
_0807F0B4 0x0001
CameraTargetPlayer
Wait 0x002d
_0807F0B4 0x0004
_0807E878
Call sub_0807DF50
Jump script_0800934E
SCRIPT_END
@@ -0,0 +1,11 @@
@ Veil Falls BigGoron still hiding
SCRIPT_START script_BigGoronHiding
BeginBlock
Call sub_0806D650
SetEntitySpeed 0x0010
EndBlock
script_0800932E:
_0807EEF4 0xfff8, 0x0000
_0807EEF4 0x0008, 0x0000
Jump script_0800932E
SCRIPT_END
@@ -0,0 +1,30 @@
@ Veil Falls BigGoron spit out Shield
SCRIPT_START script_BigGoronMirrorShield
Wait 0x003c
_0807F0C8 0x0000, 0x0000
LoadRoomEntityList gUnk_080F9C58
Wait 0x003c
Call sub_0806D70C
Wait 0x003c
.ifdef JP
ClearLocalFlag 0x00ac
.else
.ifdef EU
ClearLocalFlag 0x00ac
.else
.ifdef DEMO_JP
ClearLocalFlag 0x00ac @ TODO deduplicate
.else
ClearLocalFlag 0x00ae
.endif
.endif
.endif
Call sub_0806D620
Wait 0x003c
WaitPlayerGetItem
_0807EB8C
MessageNoOverlap 0x1d0c
WaitUntilTextboxCloses
Wait 0x000a
Jump script_08009376
.2byte 0x0000
@@ -0,0 +1,96 @@
@ Veil Falls Talk to BigGoron
SCRIPT_START script_BigGoronTalk
.ifdef JP
CheckLocalFlag 0x00ac
.else
.ifdef EU
CheckLocalFlag 0x00ac
.else
.ifdef DEMO_JP @ TODO deduplicate
CheckLocalFlag 0x00ac
.else
CheckLocalFlag 0x00ae
.endif
.endif
.endif
JumpIf script_0800943E
CheckInventory1 0x000d
JumpIf script_080093BC
CheckInventory1 0x000e
JumpIf script_080093BC
MessageNoOverlap 0x1d02
WaitUntilTextboxCloses
Jump script_08009376
script_080093BC:
CheckInventory1 0x000e
JumpIfNot script_080093DA
Call sub_0806D788
MessageNoOverlap 0x1d03
WaitUntilTextboxCloses
Call sub_0806D70C
Jump script_08009376
script_080093DA:
SetIntVariable 0x00001d05
.ifdef JP
CheckLocalFlag 0x00ab
.else
.ifdef EU
CheckLocalFlag 0x00ab
.else
.ifdef DEMO_JP
CheckLocalFlag 0x00ab @ TODO deduplicate
.else
CheckLocalFlag 0x00ad
.endif
.endif
.endif
JumpIf script_080093EE
SetIntVariable 0x00001d04
script_080093EE:
MessageNoOverlapVar
WaitUntilTextboxCloses
_0807E3E8
JumpIfNot script_08009376
Wait 0x001e
MessageNoOverlap 0x1d08
WaitUntilTextboxCloses
LoadRoomEntityList gUnk_080F9C38
Wait 0x0078
Call sub_0806D6D0
Wait 0x00b4
Call sub_0806D70C
Wait 0x0078
.ifdef JP
SetLocalFlag 0x00ac
SetLocalFlag 0x00ab
.else
.ifdef EU
SetLocalFlag 0x00ac
SetLocalFlag 0x00ab
.else
.ifdef DEMO_JP
SetLocalFlag 0x00ac @ TODO deduplicate
SetLocalFlag 0x00ab
.else
SetLocalFlag 0x00ae
SetLocalFlag 0x00ad
.endif
.endif
.endif
Call sub_0806D5D4
_0807EB8C
MessageNoOverlap 0x1d09
WaitUntilTextboxCloses
Wait 0x000a
Jump script_08009376
script_0800943E:
Call sub_0806D600
JumpIf script_08009452
MessageNoOverlap 0x1d0a
WaitUntilTextboxCloses
JumpIfNot script_08009376
script_08009452:
MessageNoOverlap 0x1d0b
WaitUntilTextboxCloses
Call sub_0806D74C
_0807F0C8 0xffff, 0x0000
@@ -0,0 +1,21 @@
@ Veil Falls NPC4E Source of the Flow
SCRIPT_START script_NPC4ESourceOfTheFlow
BeginBlock
Call sub_0806DB84
CheckKinstoneFused 0x0009
JumpIf script_08016028
_0807EA88 0x0009
CallWithArg sub_0806DA04, 0x00000007
DoPostScriptAction 0x000a
EndBlock
script_08015FE4:
_0807EA4C
_0807E9F0
_0807E864
CheckKinstoneFused 0x0009
JumpIf script_08015FFE
Call sub_0807DF50
_0807E878
Jump script_08015FE4
script_08015FFE:
_0807F0C8 0xffff, 0x0000
@@ -0,0 +1,14 @@
@ Veil Falls NPC4E Source of the Flow during opening Kinstone cutscene
SCRIPT_START script_NPC4ESouurceOfTheFlowOpening
_0807E5F8 0x00000003
WaitForSomething2 0x0000000c
_0807F0C8 0x0000, 0x0000
PlaySound SFX_SECRET
_0807EB28 0x0b1f
WaitUntilTextboxCloses
Call sub_0807DF50
_0807E878
script_08016028:
DoPostScriptAction 0x0006
SCRIPT_END
.2byte 0x0000
@@ -0,0 +1,5 @@
@ Veil Falls OBJECT_3E left stone
SCRIPT_START script_Object3ELeftStone
OffsetEntityPosition 0xfff0, 0x0000
SCRIPT_END
.2byte 0x0000
@@ -0,0 +1,15 @@
@ Waterfalls OBJECT_3E during kinstone cutscene?
SCRIPT_START script_Object3ELeftStoneOpening
BeginBlock
CheckKinstoneFused 0x0009
JumpIf script_Object3ELeftStone
EndBlock
WaitForSomething2 0x00000001
DoPostScriptAction 0x0010
Wait 0x003c
SetEntitySpeed 0x0020
_0807ECF4 0x0080
Wait 0x001e
DoPostScriptAction 0x0010
_0807E5F8 0x00000008
SCRIPT_END
@@ -0,0 +1,5 @@
@ Veil Falls OBJECT_3E right stone
SCRIPT_START script_Object3ERightStone
OffsetEntityPosition 0x0010, 0x0000
SCRIPT_END
.2byte 0x0000
@@ -0,0 +1,15 @@
@ Waterfalls OBJECT_3E during kinstone cutscene?
SCRIPT_START script_Object3ERightStoneOpening
BeginBlock
CheckKinstoneFused 0x0009
JumpIf script_Object3ERightStone
EndBlock
WaitForSomething2 0x00000002
DoPostScriptAction 0x0010
Wait 0x003c
SetEntitySpeed 0x0020
_0807EC94 0x0080
Wait 0x001e
DoPostScriptAction 0x0010
_0807E5F8 0x00000004
SCRIPT_END
@@ -0,0 +1,16 @@
@ Veil Falls OBJECT_6A Mirror Shield being spit out
SCRIPT_START script_Object6AMirrorShield
BeginBlock
Call sub_0806D804
SetEntitySpeed 0x0180
EndBlock
Wait 0x003c
SetEntity0x20 0x00018000
Call sub_0806D858
script_080094EA:
_0807EE30
JumpIfNot script_080094EA
Wait 0x001e
DoPostScriptAction 0x0006
SCRIPT_END
.2byte 0x0000
@@ -0,0 +1,14 @@
@ OBJECT_6A in Veil Falls Top?
SCRIPT_START script_Object6AVeilFallsTop
BeginBlock
Call sub_0806D7C4
SetEntitySpeed 0x0080
EndBlock
Wait 0x003c
SetEntity0x20 0x00018000
script_080094BC:
_0807EE30
JumpIfNot script_080094BC
Wait 0x003c
DoPostScriptAction 0x0006
SCRIPT_END