summaryrefslogtreecommitdiff
path: root/data/scripts/dhc
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2021-12-26 23:22:16 +0100
committeroctorock <79596758+octorock@users.noreply.github.com>2021-12-26 23:22:16 +0100
commit2ccf89a1fb89e01f449e1d4ce734c57943fa093b (patch)
tree55b14aa2625dd269c30be6d636b97a65d828b145 /data/scripts/dhc
parent11bb0e7656594d12bf16a250d43a59361e15bd9e (diff)
Rename scripts
Diffstat (limited to 'data/scripts/dhc')
-rw-r--r--data/scripts/dhc/script_GuardCellLeft.inc18
-rw-r--r--data/scripts/dhc/script_GuardCellRight.inc20
-rw-r--r--data/scripts/dhc/script_GuardStone1.inc49
-rw-r--r--data/scripts/dhc/script_GuardStone2.inc91
-rw-r--r--data/scripts/dhc/script_KingDaltusStone.inc62
-rw-r--r--data/scripts/dhc/script_MinishterPothoStone.inc48
-rw-r--r--data/scripts/dhc/script_MinisterPothoCell.inc17
-rw-r--r--data/scripts/dhc/script_Npc4EAfterDefeatingV2.inc47
-rw-r--r--data/scripts/dhc/script_Npc4ECastleCollapsing.inc22
-rw-r--r--data/scripts/dhc/script_Npc4EV3Defeated.inc30
-rw-r--r--data/scripts/dhc/script_Object69BallAndChainSoldierRoom.inc58
-rw-r--r--data/scripts/dhc/script_Object69CastleEscape.inc15
-rw-r--r--data/scripts/dhc/script_Object69DHC.inc8
-rw-r--r--data/scripts/dhc/script_Object69DarkNutsRoom.inc23
-rw-r--r--data/scripts/dhc/script_Object69KeatonsRoom.inc21
-rw-r--r--data/scripts/dhc/script_Object69KillDarkNut.inc15
-rw-r--r--data/scripts/dhc/script_Object69V1Defeated.inc15
-rw-r--r--data/scripts/dhc/script_Object69V2Defeated.inc21
-rw-r--r--data/scripts/dhc/script_Object69V2Intro.inc33
-rw-r--r--data/scripts/dhc/script_Object69VaatiWithZelda.inc47
-rw-r--r--data/scripts/dhc/script_Object6AV3DefeatedMinishCap.inc20
-rw-r--r--data/scripts/dhc/script_Object6AV3DefeatedMinishCap2.inc11
-rw-r--r--data/scripts/dhc/script_PlayerAfterDefeatingV2.inc14
-rw-r--r--data/scripts/dhc/script_PlayerAtDarkNut1.inc15
-rw-r--r--data/scripts/dhc/script_PlayerAtDarkNut2.inc15
-rw-r--r--data/scripts/dhc/script_PlayerAtDarkNut3.inc15
-rw-r--r--data/scripts/dhc/script_PlayerCastleCollapsing.inc11
-rw-r--r--data/scripts/dhc/script_PlayerCastleEscape.inc11
-rw-r--r--data/scripts/dhc/script_PlayerRescuedZelda.inc13
-rw-r--r--data/scripts/dhc/script_PlayerStonesFall.inc10
-rw-r--r--data/scripts/dhc/script_PlayerV2Defeated.inc12
-rw-r--r--data/scripts/dhc/script_Vaati1Intro.inc39
-rw-r--r--data/scripts/dhc/script_VaatiWithZelda.inc22
-rw-r--r--data/scripts/dhc/script_ZeldaAfterDefeatingV2.inc69
-rw-r--r--data/scripts/dhc/script_ZeldaCastleEscape.inc22
-rw-r--r--data/scripts/dhc/script_ZeldaStoneDHC.inc18
-rw-r--r--data/scripts/dhc/script_ZeldaStoneInDHC.inc7
37 files changed, 984 insertions, 0 deletions
diff --git a/data/scripts/dhc/script_GuardCellLeft.inc b/data/scripts/dhc/script_GuardCellLeft.inc
new file mode 100644
index 00000000..a44c7ed5
--- /dev/null
+++ b/data/scripts/dhc/script_GuardCellLeft.inc
@@ -0,0 +1,18 @@
+@ DHC left Guard at King cell
+SCRIPT_START script_GuardCellLeft
+ BeginBlock
+ _0807EB44 0x0002
+ CallWithArg sub_0807F3D8, 0x00000000
+ DoPostScriptAction 0x000a
+ _0807E9D4
+ EndBlock
+script_0800E44C:
+ CheckEntityInteractType
+ JumpIfNot script_0800E44C
+ _0807E864
+ _0807EB74
+ CallWithArg sub_0807F3D8, 0x00000000
+ MessageNoOverlap 0x2405
+ WaitUntilTextboxCloses
+ _0807E878
+ Jump script_0800E44C
diff --git a/data/scripts/dhc/script_GuardCellRight.inc b/data/scripts/dhc/script_GuardCellRight.inc
new file mode 100644
index 00000000..9f85273b
--- /dev/null
+++ b/data/scripts/dhc/script_GuardCellRight.inc
@@ -0,0 +1,20 @@
+@ DHC right Guard at King cell
+SCRIPT_START script_GuardCellRight
+ BeginBlock
+ _0807EB44 0x0004
+ CallWithArg sub_0807F3D8, 0x00000000
+ DoPostScriptAction 0x000a
+ _0807E9D4
+ EndBlock
+script_0800E484:
+ CheckEntityInteractType
+ JumpIfNot script_0800E484
+ _0807E864
+ _0807EB74
+ CallWithArg sub_0807F3D8, 0x00000000
+ MessageNoOverlap 0x2407
+ WaitUntilTextboxCloses
+ _0807E878
+ Jump script_0800E484
+
+
diff --git a/data/scripts/dhc/script_GuardStone1.inc b/data/scripts/dhc/script_GuardStone1.inc
new file mode 100644
index 00000000..506abd38
--- /dev/null
+++ b/data/scripts/dhc/script_GuardStone1.inc
@@ -0,0 +1,49 @@
+@ DHC Guard stone
+SCRIPT_START script_GuardStone1
+ BeginBlock
+ _0807EB44 0x0004
+ DoPostScriptAction 0x000a
+ CheckLocalFlag 0x0094
+ JumpIf script_0800E1D0
+ _0807E930 0x0010
+ CallWithArg sub_0807F8E8, 0x00000001
+ EndBlock
+script_0800E176:
+ CheckRoomFlag 0x0001
+ JumpIfNot script_0800E176
+ _0807E864
+ Wait 0x001e
+ DoPostScriptAction 0x0010
+ PlaySound SFX_1C9
+ _0807E930 0x0015
+ Wait 0x003c
+ PlaySound SFX_1CA
+ DoPostScriptAction 0x0010
+ Wait 0x001e
+ PlaySound SFX_SECRET
+ Wait 0x0078
+ DoPostScriptAction 0x0004
+ Wait 0x001e
+ DoPostScriptAction 0x0000
+ _0807EB8C
+ _0807EB74
+ CallWithArg sub_0807F3D8, 0x00000000
+ Wait 0x000a
+ MessageNoOverlap 0x2401
+ WaitUntilTextboxCloses
+ SetLocalFlag 0x0094
+script_0800E1D0:
+ CallWithArg sub_0807F3D8, 0x00000000
+ _0807E9D4
+ _0807E878
+ EndBlock
+script_0800E1E0:
+ CheckEntityInteractType
+ JumpIfNot script_0800E1E0
+ _0807E864
+ _0807EB74
+ CallWithArg sub_0807F3D8, 0x00000000
+ MessageNoOverlap 0x2401
+ WaitUntilTextboxCloses
+ _0807E878
+ Jump script_0800E1E0
diff --git a/data/scripts/dhc/script_GuardStone2.inc b/data/scripts/dhc/script_GuardStone2.inc
new file mode 100644
index 00000000..d7e613af
--- /dev/null
+++ b/data/scripts/dhc/script_GuardStone2.inc
@@ -0,0 +1,91 @@
+@ DHC guard stone 2
+SCRIPT_START script_GuardStone2
+ BeginBlock
+ SetEntitySpeed 0x0100
+ _0807EB44 0x0004
+ DoPostScriptAction 0x000a
+ CheckLocalFlag 0x0073
+ JumpIfNot script_0800E232
+ _0807E9D4
+ SetEntityPositionRelative 0x0070, 0x0168
+ _0807EB44 0x0002
+ CallWithArg sub_0807F3D8, 0x00000000
+ EndBlock
+ Jump script_0800E32E
+script_0800E232:
+ CheckLocalFlag 0x0095
+ JumpIf script_0800E29A
+ _0807E930 0x0010
+ CallWithArg sub_0807F8E8, 0x00000002
+ EndBlock
+script_0800E24A:
+ CheckRoomFlag 0x0002
+ JumpIfNot script_0800E24A
+ _0807E864
+ Wait 0x001e
+ DoPostScriptAction 0x0010
+ PlaySound SFX_1C9
+ _0807E930 0x0015
+ Wait 0x003c
+ PlaySound SFX_1CA
+ DoPostScriptAction 0x0010
+ Wait 0x001e
+ PlaySound SFX_SECRET
+ Wait 0x0078
+ DoPostScriptAction 0x0004
+ Wait 0x001e
+ DoPostScriptAction 0x0000
+ _0807EB8C
+ _0807EB74
+ CallWithArg sub_0807F3D8, 0x00000000
+ SetLocalFlag 0x0095
+script_0800E29A:
+ DoPostScriptAction 0x0000
+ CallWithArg sub_0807F3D8, 0x00000000
+ _0807E9D4
+ _0807E878
+ EndBlock
+script_0800E2AE:
+ EndBlock
+ BeginBlock
+ CheckEntityInteractType
+ JumpIf script_0800E312
+ CheckLocalFlag 0x0093
+ JumpIfNot script_0800E2AE
+ CheckLocalFlag 0x0094
+ JumpIfNot script_0800E2AE
+ CheckLocalFlag 0x0095
+ JumpIfNot script_0800E2AE
+ _0807E9DC
+ SetLocalFlag 0x0073
+ EndBlock
+ _0807EB44 0x0000
+ CallWithArg sub_0807F3D8, 0x00000004
+ _0807EDD4 0x0088, 0x0168
+ _0807EB44 0x0006
+ CallWithArg sub_0807F3D8, 0x00000004
+ _0807EDD4 0x0070, 0x0168
+ _0807EB74
+ CallWithArg sub_0807F3D8, 0x00000000
+ _0807E9D4
+ Jump script_0800E32E
+script_0800E312:
+ _0807E864
+ _0807EB74
+ CallWithArg sub_0807F3D8, 0x00000000
+ EndBlock
+ MessageNoOverlap 0x2404
+ WaitUntilTextboxCloses
+ _0807E878
+ Jump script_0800E2AE
+script_0800E32E:
+ CheckEntityInteractType
+ JumpIfNot script_0800E32E
+ _0807E864
+ _0807EB74
+ CallWithArg sub_0807F3D8, 0x00000000
+ MessageNoOverlap 0x2403
+ WaitUntilTextboxCloses
+ _0807E878
+ Jump script_0800E32E
+ .2byte 0x0000
diff --git a/data/scripts/dhc/script_KingDaltusStone.inc b/data/scripts/dhc/script_KingDaltusStone.inc
new file mode 100644
index 00000000..21346968
--- /dev/null
+++ b/data/scripts/dhc/script_KingDaltusStone.inc
@@ -0,0 +1,62 @@
+@ DHC King Daltus stone
+SCRIPT_START script_KingDaltusStone
+ BeginBlock
+ _0807EB44 0x0004
+ DoPostScriptAction 0x000a
+ CheckLocalFlag 0x0071
+ JumpIf script_0800E3E8
+ CheckLocalFlag 0x0096
+ JumpIf script_0800E3BE
+ _0807E930 0x000c
+ CallWithArg sub_0807F8E8, 0x00000000
+ EndBlock
+script_0800E37A:
+ CheckRoomFlag 0x0000
+ JumpIfNot script_0800E37A
+ _0807E864
+ Wait 0x001e
+ DoPostScriptAction 0x0010
+ PlaySound SFX_1C9
+ _0807E930 0x000d
+ Wait 0x003c
+ PlaySound SFX_1CA
+ DoPostScriptAction 0x0010
+ Wait 0x001e
+ PlaySound SFX_SECRET
+ Wait 0x0078
+ DoPostScriptAction 0x0004
+ Wait 0x001e
+ DoPostScriptAction 0x0000
+ _0807EB74
+ SetLocalFlag 0x0096
+script_0800E3BE:
+ DoPostScriptAction 0x0000
+ _0807E9D4
+ _0807E878
+ EndBlock
+script_0800E3C8:
+ CheckEntityInteractType
+ JumpIfNot script_0800E3C8
+ _0807E864
+ _0807EB74
+ MessageNoOverlap 0x240c
+ WaitUntilTextboxCloses
+ Wait 0x000f
+ _0807F034 0x0053
+ WaitPlayerGetItem
+ SetLocalFlag 0x0071
+ _0807E878
+script_0800E3E8:
+ _0807E9D4
+ _0807E878
+ EndBlock
+script_0800E3EE:
+ CheckEntityInteractType
+ JumpIfNot script_0800E3EE
+ _0807E864
+ _0807EB74
+ MessageNoOverlap 0x240d
+ WaitUntilTextboxCloses
+ Wait 0x000f
+ _0807E878
+ Jump script_0800E3EE
diff --git a/data/scripts/dhc/script_MinishterPothoStone.inc b/data/scripts/dhc/script_MinishterPothoStone.inc
new file mode 100644
index 00000000..b01fa4fa
--- /dev/null
+++ b/data/scripts/dhc/script_MinishterPothoStone.inc
@@ -0,0 +1,48 @@
+@ DHC Minister Potho stone
+SCRIPT_START script_MinishterPothoStone
+ BeginBlock
+ _0807EB44 0x0004
+ DoPostScriptAction 0x000a
+ CheckLocalFlag 0x0093
+ JumpIf script_0800E12E
+ _0807E930 0x0008
+ CallWithArg sub_0807F8E8, 0x00000000
+ EndBlock
+script_0800E0DE:
+ CheckRoomFlag 0x0000
+ JumpIfNot script_0800E0DE
+ _0807E864
+ Wait 0x001e
+ DoPostScriptAction 0x0010
+ PlaySound SFX_1C9
+ _0807E930 0x0009
+ Wait 0x003c
+ PlaySound SFX_1CA
+ DoPostScriptAction 0x0010
+ Wait 0x001e
+ PlaySound SFX_SECRET
+ Wait 0x0078
+ DoPostScriptAction 0x0004
+ Wait 0x001e
+ DoPostScriptAction 0x0000
+ _0807EB8C
+ _0807EB74
+ Wait 0x000a
+ MessageNoOverlap 0x2402
+ WaitUntilTextboxCloses
+ SetLocalFlag 0x0093
+script_0800E12E:
+ Call sub_080668F0
+ _0807E878
+ EndBlock
+script_0800E138:
+ CheckEntityInteractType
+ JumpIfNot script_0800E138
+ _0807E864
+ _0807EB74
+ MessageNoOverlap 0x2402
+ WaitUntilTextboxCloses
+ Wait 0x000f
+ _0807E878
+ Jump script_0800E138
+ .2byte 0x0000
diff --git a/data/scripts/dhc/script_MinisterPothoCell.inc b/data/scripts/dhc/script_MinisterPothoCell.inc
new file mode 100644
index 00000000..92639487
--- /dev/null
+++ b/data/scripts/dhc/script_MinisterPothoCell.inc
@@ -0,0 +1,17 @@
+@ DHC Minister Potho in King cell
+SCRIPT_START script_MinisterPothoCell
+ BeginBlock
+ _0807EB44 0x0002
+ DoPostScriptAction 0x000a
+ Call sub_080668F0
+ EndBlock
+script_0800E41A:
+ CheckEntityInteractType
+ JumpIfNot script_0800E41A
+ _0807E864
+ _0807EB74
+ MessageNoOverlap 0x2406
+ WaitUntilTextboxCloses
+ Wait 0x000f
+ _0807E878
+ Jump script_0800E41A
diff --git a/data/scripts/dhc/script_Npc4EAfterDefeatingV2.inc b/data/scripts/dhc/script_Npc4EAfterDefeatingV2.inc
new file mode 100644
index 00000000..a604a7b8
--- /dev/null
+++ b/data/scripts/dhc/script_Npc4EAfterDefeatingV2.inc
@@ -0,0 +1,47 @@
+@ DHC NPC4E At Zelda after defeating V2
+SCRIPT_START script_Npc4EAfterDefeatingV2
+ BeginBlock
+ EndBlock
+script_0800DB7C:
+ CallWithArg sub_0807F6B4, 0x000000a0
+ JumpIf script_0800DB7C
+ _0807E864
+ Call sub_0807F9A4
+ Call sub_0807DF28
+ _0807F0B4 0x0001
+ SetEntityPositionRelative 0x0078, 0x0078
+ CameraTargetEntity
+ Call sub_0807F5C0
+ _0807EB28 0x1648
+ WaitUntilTextboxCloses
+ Call sub_0804D7EC
+ _0807E5F8 0x00000001
+ WaitForSomething2 0x00000002
+ Call sub_0807DF50
+ _0807E878
+script_0800DBCA:
+ CheckRoomFlag 0x0000
+ JumpIfNot script_0800DBCA
+ _0807E864
+ Call sub_0807F9A4
+ Call sub_0807DF28
+ Call sub_0804D810
+ Call sub_0807F3F8
+ Wait 0x003c
+ StartPlayerScript script_PlayerRescuedZelda
+ WaitForSomething2 0x00000004
+ _0807E5F8 0x00000001
+ WaitForSomething2 0x00000002
+ _0807E5F8 0x00000001
+ StartPlayerScript script_PlayerAfterDefeatingV2
+ WaitForSomething2 0x00000006
+ MessageFromTargetPos 0x1643, 0x0002
+ WaitUntilTextboxCloses
+ _0807EB28 0x1645
+ WaitUntilTextboxCloses
+ Call sub_0807F3F8
+ _0807E5F8 0x00000001
+ StopBgm
+ Call sub_08094F98
+ CallWithArg CreateManager36, 0x00000001
+ _0807F0C8 0xffff, 0x0000
diff --git a/data/scripts/dhc/script_Npc4ECastleCollapsing.inc b/data/scripts/dhc/script_Npc4ECastleCollapsing.inc
new file mode 100644
index 00000000..b1cc0f18
--- /dev/null
+++ b/data/scripts/dhc/script_Npc4ECastleCollapsing.inc
@@ -0,0 +1,22 @@
+@ DHC NPC4E Castle collapsing
+SCRIPT_START script_Npc4ECastleCollapsing
+ Wait 0x003c
+ PlayBgm BGM_CASTLE_COLLAPSE
+ StartPlayerScript script_PlayerStonesFall
+ WaitForSomething2 0x00000006
+ _0807EB28 0x1646
+ WaitUntilTextboxCloses
+ _0807E5F8 0x00000001
+ StartPlayerScript script_PlayerCastleCollapsing
+ CameraTargetPlayer
+ _0807E778 0x0004
+ _0807E80C 0x00000000
+ WaitFor_2
+ CallWithArg DeleteManager36, 0x00000001
+ _0807F0C8 0x0000, 0x0000
+ SetLocalFlag 0x0079
+ CallWithArg sub_0806DA1C, 0x00000002
+ Call sub_0807DF50
+ _0807E878
+ DoPostScriptAction 0x0006
+SCRIPT_END
diff --git a/data/scripts/dhc/script_Npc4EV3Defeated.inc b/data/scripts/dhc/script_Npc4EV3Defeated.inc
new file mode 100644
index 00000000..d1c4dc6f
--- /dev/null
+++ b/data/scripts/dhc/script_Npc4EV3Defeated.inc
@@ -0,0 +1,30 @@
+@ DHC NPC4E V3 defeated
+SCRIPT_START script_Npc4EV3Defeated
+ EndBlock
+script_0800A0FE:
+ CheckGlobalFlag 0x0051
+ JumpIfNot script_0800A0FE
+ BeginBlock
+ _0807E864
+ Call sub_0807DF28
+ StopBgm
+.ifndef EU
+ Call sub_0807FBFC
+.endif
+ SetEntityPositionRelative 0x00b0, 0x0058
+ Call sub_0807F844
+ _0807E8E4_3
+ CallWithArg sub_0807F75C, 0x00d00060
+ CallWithArg sub_08094AE8, script_Object6AV3DefeatedMinishCap
+ PlaySound SFX_APPARATE
+ _0807E778 0x0002
+ DoFade6
+ EndBlock
+ WaitFor_2
+ WaitForSomething2 0x00000004
+ CallWithArg sub_0806DA1C, 0x00000006
+ DoPostScriptAction 0x0006
+SCRIPT_END
+.ifndef EU
+ .2byte 0x0000
+.endif
diff --git a/data/scripts/dhc/script_Object69BallAndChainSoldierRoom.inc b/data/scripts/dhc/script_Object69BallAndChainSoldierRoom.inc
new file mode 100644
index 00000000..b583efe7
--- /dev/null
+++ b/data/scripts/dhc/script_Object69BallAndChainSoldierRoom.inc
@@ -0,0 +1,58 @@
+@ DHC OBJECT_69 Towards Vaati in room with Ball&Chain soldier
+SCRIPT_START script_Object69BallAndChainSoldierRoom
+ BeginBlock
+ Call sub_0807F354
+ EndBlock
+ CheckLocalFlag 0x007c
+ JumpIf script_0800E4FA
+script_0800E4B6:
+.ifdef JP
+ CheckPlayerInRegion 0x0088, 0x0100, 0x0820
+.else
+.ifdef EU
+ CheckPlayerInRegion 0x0088, 0x0100, 0x0820
+.else
+ CheckPlayerInRegion 0x0088, 0x00f8, 0x0820
+.endif
+.endif
+ JumpIfNot script_0800E4B6
+ BeginBlock
+ _0807E864
+.ifdef JP
+.ifndef DEMO_JP
+ Call SetPlayerEventPriority
+.endif
+.else
+.ifdef EU
+ Call SetPlayerEventPriority
+.endif
+.endif
+ EndBlock
+ Call sub_0807F3F8
+ Wait 0x003c
+ MessageFromTarget 0x160c
+ WaitUntilTextboxCloses
+ Wait 0x001e
+ MessageFromTarget 0x160d
+ WaitUntilTextboxCloses
+ Wait 0x001e
+ _0807EB28 0x160e
+ Wait 0x003c
+ WaitUntilTextboxCloses
+ BeginBlock
+ PlayBgm BGM_FIGHT_THEME2
+ SetLocalFlag 0x007c
+.ifdef JP
+.ifndef DEMO_JP
+ Call ResetPlayerEventPriority
+.endif
+.else
+.ifdef EU
+ Call ResetPlayerEventPriority
+.endif
+.endif
+script_0800E4FA:
+ _0807E878
+ DoPostScriptAction 0x0006
+ EndBlock
+SCRIPT_END
diff --git a/data/scripts/dhc/script_Object69CastleEscape.inc b/data/scripts/dhc/script_Object69CastleEscape.inc
new file mode 100644
index 00000000..677a4280
--- /dev/null
+++ b/data/scripts/dhc/script_Object69CastleEscape.inc
@@ -0,0 +1,15 @@
+@ DHC OBJECT_69 trying to escape the collapsing castle
+SCRIPT_START script_Object69CastleEscape
+ _0807E864
+ Call sub_0807F9A4
+ Call sub_0807DF28
+ StartPlayerScript script_PlayerCastleEscape
+ WaitForSomething2 0x00000001
+ WaitForSomething2 0x00000002
+ _0807EB28 0x1647
+ WaitUntilTextboxCloses
+ SetLocalFlag 0x007a
+ Call sub_0807DF50
+ _0807E878
+ DoPostScriptAction 0x0006
+SCRIPT_END
diff --git a/data/scripts/dhc/script_Object69DHC.inc b/data/scripts/dhc/script_Object69DHC.inc
new file mode 100644
index 00000000..c83d9c0b
--- /dev/null
+++ b/data/scripts/dhc/script_Object69DHC.inc
@@ -0,0 +1,8 @@
+@ OBJECT_69 somewhere in DHC?
+SCRIPT_START script_Object69DHC
+ BeginBlock
+ CheckLocalFlag 0x0086
+ JumpIfNot script_Object69KillDarkNut
+ DoPostScriptAction 0x0006
+ EndBlock
+SCRIPT_END
diff --git a/data/scripts/dhc/script_Object69DarkNutsRoom.inc b/data/scripts/dhc/script_Object69DarkNutsRoom.inc
new file mode 100644
index 00000000..44712e30
--- /dev/null
+++ b/data/scripts/dhc/script_Object69DarkNutsRoom.inc
@@ -0,0 +1,23 @@
+@ DHC OBJECT_69 Towards Vaati room with Dark Nuts
+SCRIPT_START script_Object69DarkNutsRoom
+ BeginBlock
+ EndBlock
+ CheckLocalFlag 0x007e
+ JumpIf script_0800E582
+script_0800E550:
+ CheckPlayerInRegion 0x00a8, 0x00c0, 0x0880
+ JumpIfNot script_0800E550
+ _0807E864
+ Wait 0x001e
+ Call sub_0807F3F8
+ Wait 0x003c
+ PlaySound SFX_105
+ Wait 0x001e
+ _0807EB28 0x1622
+ Call sub_08053494
+ SetLocalFlag 0x007e
+script_0800E582:
+ _0807E878
+ DoPostScriptAction 0x0006
+SCRIPT_END
+ .2byte 0x0000
diff --git a/data/scripts/dhc/script_Object69KeatonsRoom.inc b/data/scripts/dhc/script_Object69KeatonsRoom.inc
new file mode 100644
index 00000000..ef855c7e
--- /dev/null
+++ b/data/scripts/dhc/script_Object69KeatonsRoom.inc
@@ -0,0 +1,21 @@
+@ DHC OBJECT_69 Towards Vaati in room with Keatons
+SCRIPT_START script_Object69KeatonsRoom
+ BeginBlock
+ EndBlock
+ CheckLocalFlag 0x007d
+ JumpIf script_0800E53C
+script_0800E510:
+ CheckPlayerInRegion 0x00a8, 0x0178, 0x1080
+ JumpIfNot script_0800E510
+ _0807E864
+ Wait 0x001e
+ Call sub_0807F3F8
+ Wait 0x003c
+ PlaySound SFX_105
+ Wait 0x001e
+ _0807EB28 0x1617
+ SetLocalFlag 0x007d
+script_0800E53C:
+ _0807E878
+ DoPostScriptAction 0x0006
+SCRIPT_END
diff --git a/data/scripts/dhc/script_Object69KillDarkNut.inc b/data/scripts/dhc/script_Object69KillDarkNut.inc
new file mode 100644
index 00000000..24b83cb0
--- /dev/null
+++ b/data/scripts/dhc/script_Object69KillDarkNut.inc
@@ -0,0 +1,15 @@
+@ DHC OBJECT_69 Kill first Dark Nut
+SCRIPT_START script_Object69KillDarkNut
+ EndBlock
+script_0800E5D8:
+ CheckLocalFlag 0x0086
+ JumpIfNot script_0800E5D8
+ _0807E864
+ Wait 0x003c
+ SetIntVariable 0x00000905
+ Call sub_0807F420
+ SetRoomFlag 0x0001
+ Wait 0x001e
+ _0807E878
+SCRIPT_END
+ .2byte 0x0000
diff --git a/data/scripts/dhc/script_Object69V1Defeated.inc b/data/scripts/dhc/script_Object69V1Defeated.inc
new file mode 100644
index 00000000..5acee128
--- /dev/null
+++ b/data/scripts/dhc/script_Object69V1Defeated.inc
@@ -0,0 +1,15 @@
+@ DHC OBJECT_69 V1 defeated
+SCRIPT_START script_Object69V1Defeated
+ EndBlock
+script_0800DFB6:
+ CheckRoomFlag 0x0001
+ JumpIfNot script_0800DFB6
+ StopBgm
+ _0807E864
+ Call sub_0807DF28
+ PlaySound SFX_EVAPORATE
+ CallWithArg sub_0806DA1C, 0x00000004
+ Call sub_0807DF50
+ _0807E878
+ DoPostScriptAction 0x0006
+SCRIPT_END
diff --git a/data/scripts/dhc/script_Object69V2Defeated.inc b/data/scripts/dhc/script_Object69V2Defeated.inc
new file mode 100644
index 00000000..74a59508
--- /dev/null
+++ b/data/scripts/dhc/script_Object69V2Defeated.inc
@@ -0,0 +1,21 @@
+@ DHC OBJECT_69 After defeating V2
+SCRIPT_START script_Object69V2Defeated
+ BeginBlock
+ Call sub_0807DF28
+ _0807E864
+ EndBlock
+ StopBgm
+ StopBgm
+ Wait 0x0078
+ _0807EB28 0x1638
+ WaitUntilTextboxCloses
+ SetRoomFlag 0x0000
+ Wait 0x001e
+ _0807E5F8 0x00000001
+ StartPlayerScript script_PlayerV2Defeated
+ WaitForSomething2 0x00000002
+ Call sub_0807DF50
+ _0807E878
+ DoPostScriptAction 0x0006
+SCRIPT_END
+ .2byte 0x0000
diff --git a/data/scripts/dhc/script_Object69V2Intro.inc b/data/scripts/dhc/script_Object69V2Intro.inc
new file mode 100644
index 00000000..a485ffb9
--- /dev/null
+++ b/data/scripts/dhc/script_Object69V2Intro.inc
@@ -0,0 +1,33 @@
+@ DHC OBJECT_69 V2 intro
+SCRIPT_START script_Object69V2Intro
+ BeginBlock
+ Call sub_0807DF28
+ _0807E864
+ EndBlock
+ StopBgm
+ MessageFromTargetPos 0x1632, 0x0002
+ WaitUntilTextboxCloses
+ SetRoomFlag 0x0003
+script_0800DFFE:
+ CheckRoomFlag 0x0000
+ JumpIfNot script_0800DFFE
+ PlayBgm BGM_VAATI_TRANSFIGURED
+ Call sub_0807DF50
+ _0807E878
+script_0800E012:
+ @ Defeated
+ CheckRoomFlag 0x0002
+ JumpIfNot script_0800E012
+ _0807E864
+ Call sub_0807DF28
+ SetLocalFlag 0x007b
+ MessageFromTargetPos 0x1639, 0x000c
+ WaitUntilTextboxCloses
+ Wait 0x0096
+ PlaySound SFX_EVAPORATE
+ CallWithArg sub_0806DA1C, 0x00000005
+ Call sub_0807DF50
+ _0807E878
+ DoPostScriptAction 0x0006
+SCRIPT_END
+ .2byte 0x0000
diff --git a/data/scripts/dhc/script_Object69VaatiWithZelda.inc b/data/scripts/dhc/script_Object69VaatiWithZelda.inc
new file mode 100644
index 00000000..4f71ba77
--- /dev/null
+++ b/data/scripts/dhc/script_Object69VaatiWithZelda.inc
@@ -0,0 +1,47 @@
+@ DHC OBJECT_69 Vaati with Zelda
+SCRIPT_START script_Object69VaatiWithZelda
+ BeginBlock
+ EndBlock
+script_0800DA64:
+ CheckPlayerInRegion 0x0078, 0x0148, 0x4040
+ JumpIfNot script_0800DA64
+ _0807E864
+ Call sub_0807F9A4
+ Call sub_0807DF28
+ _0807E8E4_0
+ Call sub_0807F3F8
+ Wait 0x003c
+ _0807F0B4 0x0004
+ SetEntityPositionRelative 0x0078, 0x0080
+ CameraTargetEntity
+ Call sub_0807F5C0
+ _0807E5F8 0x00000001
+ WaitForSomething2 0x00000002
+ MessageFromTargetPos 0x162d, 0x0002
+ WaitUntilTextboxCloses
+ _0807E5F8 0x00000001
+ Wait 0x001e
+ MessageFromTargetPos 0x162e, 0x0002
+ WaitUntilTextboxCloses
+ _0807E8E4_0
+ CallWithArg sub_0807F75C, 0x00780138
+ _0807F0B4 0x0004
+ CameraTargetPlayer
+ Call sub_0807F5C0
+ SetRoomFlag 0x0000
+ Call sub_0807F40C
+ Wait 0x001e
+ _0807E8E4_1
+ Wait 0x000a
+ _0807E8E4_3
+ Wait 0x000a
+ _0807E8E4_2
+ Call sub_0807F3F8
+ Wait 0x003c
+ SetRoomFlag 0x0001
+ SetLocalFlag 0x0077
+ Call sub_0807DF50
+ _0807E878
+ DoPostScriptAction 0x0006
+SCRIPT_END
+ .2byte 0x0000
diff --git a/data/scripts/dhc/script_Object6AV3DefeatedMinishCap.inc b/data/scripts/dhc/script_Object6AV3DefeatedMinishCap.inc
new file mode 100644
index 00000000..6431badd
--- /dev/null
+++ b/data/scripts/dhc/script_Object6AV3DefeatedMinishCap.inc
@@ -0,0 +1,20 @@
+@ DHC Vaati defeated OBJECT_6A Minish Cap?
+SCRIPT_START script_Object6AV3DefeatedMinishCap
+ BeginBlock
+ SetEntitySpeed 0x0080
+ DoPostScriptAction 0x0007
+ DoPostScriptAction 0x000b
+ _0807E930 0x0002
+ SetEntityPositionRelative 0x00b0, 0x0080
+ CallWithArg sub_0807F98C, 0xff800000
+ CallWithArg sub_080960C4, script_Object6AV3DefeatedMinishCap2
+ EndBlock
+ PlaySound SFX_SPARKLES
+ _0807EF3C 0xff80, 0x0000
+ PlaySound SFX_143
+ _0807E930 0x0004
+ _0807E5F8 0x00000002
+ Wait 0x003c
+ _0807E5F8 0x00000004
+SCRIPT_END
+ .2byte 0x0000
diff --git a/data/scripts/dhc/script_Object6AV3DefeatedMinishCap2.inc b/data/scripts/dhc/script_Object6AV3DefeatedMinishCap2.inc
new file mode 100644
index 00000000..1854ede1
--- /dev/null
+++ b/data/scripts/dhc/script_Object6AV3DefeatedMinishCap2.inc
@@ -0,0 +1,11 @@
+@ DHC Vaati defeated OBJECT_6A Minish Cap?
+SCRIPT_START script_Object6AV3DefeatedMinishCap2
+ BeginBlock
+ DoPostScriptAction 0x0007
+ DoPostScriptAction 0x000b
+ CallWithArg sub_0807F994, 0x0000fff8
+ EndBlock
+ WaitForSomething 0x00000002
+ DoPostScriptAction 0x0006
+SCRIPT_END
+ .2byte 0x0000
diff --git a/data/scripts/dhc/script_PlayerAfterDefeatingV2.inc b/data/scripts/dhc/script_PlayerAfterDefeatingV2.inc
new file mode 100644
index 00000000..56ce6d79
--- /dev/null
+++ b/data/scripts/dhc/script_PlayerAfterDefeatingV2.inc
@@ -0,0 +1,14 @@
+@ Player at Zelda after defeating V2
+SCRIPT_START script_PlayerAfterDefeatingV2
+ BeginBlock
+ SetEntitySpeed 0x0100
+ EndBlock
+ _0807EB44 0x0000
+ DoPostScriptAction 0x000d
+ DoPostScriptAction 0x0000
+ _0807ECC4 0x0010
+ DoPostScriptAction 0x000c
+ _0807E5F8 0x00000004
+ Call sub_080791BC
+SCRIPT_END
+ .2byte 0x0000
diff --git a/data/scripts/dhc/script_PlayerAtDarkNut1.inc b/data/scripts/dhc/script_PlayerAtDarkNut1.inc
new file mode 100644
index 00000000..fd697e62
--- /dev/null
+++ b/data/scripts/dhc/script_PlayerAtDarkNut1.inc
@@ -0,0 +1,15 @@
+@ DHC Player entering yet another Dark Nut fight
+SCRIPT_START script_PlayerAtDarkNut1
+ BeginBlock
+ SetEntitySpeed 0x0140
+ SetEntityDirection 0x0000
+ _0807E864
+ Call sub_0807F354
+ EndBlock
+ WaitForPlayerAction0x17
+ _0807E8E4_0
+ DoPostScriptAction 0x0001
+ Call sub_080752AC
+ _0807E878
+ Call sub_080791D0
+SCRIPT_END
diff --git a/data/scripts/dhc/script_PlayerAtDarkNut2.inc b/data/scripts/dhc/script_PlayerAtDarkNut2.inc
new file mode 100644
index 00000000..274f6746
--- /dev/null
+++ b/data/scripts/dhc/script_PlayerAtDarkNut2.inc
@@ -0,0 +1,15 @@
+@ DHC player at a dark nut fight
+SCRIPT_START script_PlayerAtDarkNut2
+ BeginBlock
+ SetEntitySpeed 0x0140
+ SetEntityDirection 0x0008
+ _0807E864
+ Call sub_0807F354
+ EndBlock
+ WaitForPlayerAction0x17
+ _0807E8E4_1
+ DoPostScriptAction 0x0001
+ Call sub_080752AC
+ _0807E878
+ Call sub_080791D0
+SCRIPT_END
diff --git a/data/scripts/dhc/script_PlayerAtDarkNut3.inc b/data/scripts/dhc/script_PlayerAtDarkNut3.inc
new file mode 100644
index 00000000..8cd1c2c9
--- /dev/null
+++ b/data/scripts/dhc/script_PlayerAtDarkNut3.inc
@@ -0,0 +1,15 @@
+@ DHC Player entering another Dark Nut fight
+SCRIPT_START script_PlayerAtDarkNut3
+ BeginBlock
+ SetEntitySpeed 0x0140
+ SetEntityDirection 0x0010
+ _0807E864
+ Call sub_0807F354
+ EndBlock
+ WaitForPlayerAction0x17
+ _0807E8E4_2
+ DoPostScriptAction 0x0001
+ Call sub_080752AC
+ _0807E878
+ Call sub_080791D0
+SCRIPT_END
diff --git a/data/scripts/dhc/script_PlayerCastleCollapsing.inc b/data/scripts/dhc/script_PlayerCastleCollapsing.inc
new file mode 100644
index 00000000..565fce6f
--- /dev/null
+++ b/data/scripts/dhc/script_PlayerCastleCollapsing.inc
@@ -0,0 +1,11 @@
+@ Player at Castle Collapsing
+SCRIPT_START script_PlayerCastleCollapsing
+ BeginBlock
+ SetEntitySpeed 0x0100
+ EndBlock
+ _0807EB44 0x0004
+ DoPostScriptAction 0x0000
+ _0807EEF4 0x0000, 0x0080
+ _0807E5F8 0x00000004
+ Call sub_080791BC
+SCRIPT_END
diff --git a/data/scripts/dhc/script_PlayerCastleEscape.inc b/data/scripts/dhc/script_PlayerCastleEscape.inc
new file mode 100644
index 00000000..ea20bf30
--- /dev/null
+++ b/data/scripts/dhc/script_PlayerCastleEscape.inc
@@ -0,0 +1,11 @@
+@ DHC Player trying to escape the collapsing castle
+SCRIPT_START script_PlayerCastleEscape
+ BeginBlock
+ SetEntitySpeed 0x0100
+ EndBlock
+ _0807EDD4 0x0198, 0x01c8
+ _0807EB44 0x0004
+ DoPostScriptAction 0x0000
+ _0807E5F8 0x00000001
+ Call sub_080791BC
+SCRIPT_END
diff --git a/data/scripts/dhc/script_PlayerRescuedZelda.inc b/data/scripts/dhc/script_PlayerRescuedZelda.inc
new file mode 100644
index 00000000..d4412b4b
--- /dev/null
+++ b/data/scripts/dhc/script_PlayerRescuedZelda.inc
@@ -0,0 +1,13 @@
+@ Player after turning Zelda back from stone
+SCRIPT_START script_PlayerRescuedZelda
+ BeginBlock
+ SetEntitySpeed 0x0100
+ EndBlock
+ CallWithArg sub_0807F4F8, 0x000000a0
+ _0807EDD4 0x0078, 0x00a0
+ _0807EB44 0x0000
+ DoPostScriptAction 0x0000
+ _0807E5F8 0x00000004
+ Call sub_080791BC
+SCRIPT_END
+ .2byte 0x0000
diff --git a/data/scripts/dhc/script_PlayerStonesFall.inc b/data/scripts/dhc/script_PlayerStonesFall.inc
new file mode 100644
index 00000000..e1ba8278
--- /dev/null
+++ b/data/scripts/dhc/script_PlayerStonesFall.inc
@@ -0,0 +1,10 @@
+@ Player after turning Zelda when stones fall
+SCRIPT_START script_PlayerStonesFall
+ EndBlock
+ _0807EB44 0x0004
+ DoPostScriptAction 0x0000
+ CallWithArg sub_0807F238, 0x000003c5
+ Call sub_0807F304
+ _0807E5F8 0x00000004
+ Call sub_080791BC
+SCRIPT_END
diff --git a/data/scripts/dhc/script_PlayerV2Defeated.inc b/data/scripts/dhc/script_PlayerV2Defeated.inc
new file mode 100644
index 00000000..62cbbc18
--- /dev/null
+++ b/data/scripts/dhc/script_PlayerV2Defeated.inc
@@ -0,0 +1,12 @@
+@ Player after defeating V2
+SCRIPT_START script_PlayerV2Defeated
+ BeginBlock
+ SetEntitySpeed 0x00c0
+ EndBlock
+ WaitForSomething2 0x00000001
+ DoPostScriptAction 0x0001
+ _0807EDD4 0x00a8, 0x002c
+ _0807E5F8 0x00000002
+ Call sub_080791BC
+SCRIPT_END
+ .2byte 0x0000
diff --git a/data/scripts/dhc/script_Vaati1Intro.inc b/data/scripts/dhc/script_Vaati1Intro.inc
new file mode 100644
index 00000000..cbf2d189
--- /dev/null
+++ b/data/scripts/dhc/script_Vaati1Intro.inc
@@ -0,0 +1,39 @@
+@ DHC Vaati V1 intro
+SCRIPT_START script_Vaati1Intro
+ BeginBlock
+ DoPostScriptAction 0x0008
+ _0807EB44 0x0004
+ DoPostScriptAction 0x0000
+ EndBlock
+ _0807E864
+ Call sub_0807F9A4
+ Call sub_0807DF28
+ StopBgm
+ _0807E8E4_2
+ Wait 0x005a
+ Call sub_0807F3F8
+ Wait 0x003c
+ _0807E8E4_0
+ _0807F0B4 0x0001
+ CameraTargetEntity
+ Call sub_0807F5C0
+ Call sub_08066C94
+ Wait 0x00e9
+ DoPostScriptAction 0x0007
+ MessageFromTargetPos 0x162f, 0x0002
+ WaitUntilTextboxCloses
+ PlayBgm BGM_VAATI_REBORN
+ DoPostScriptAction 0x0019
+ PlaySound SFX_198
+ Call sub_0807F2D4
+ SetRoomFlag 0x0000
+ DoPostScriptAction 0x0008
+ Wait 0x0080
+ _0807F0B4 0x0004
+ CameraTargetPlayer
+ Call sub_0807F5C0
+ SetLocalFlag 0x0078
+ Call sub_0807DF50
+ _0807E878
+ DoPostScriptAction 0x0006
+SCRIPT_END
diff --git a/data/scripts/dhc/script_VaatiWithZelda.inc b/data/scripts/dhc/script_VaatiWithZelda.inc
new file mode 100644
index 00000000..84ff00d4
--- /dev/null
+++ b/data/scripts/dhc/script_VaatiWithZelda.inc
@@ -0,0 +1,22 @@
+@ DHC Vaati when with Zelda
+SCRIPT_START script_VaatiWithZelda
+ BeginBlock
+ DoPostScriptAction 0x0007
+ _0807EB44 0x0000
+ DoPostScriptAction 0x0014
+ EndBlock
+ WaitForSomething2 0x00000001
+ Wait 0x003c
+ DoPostScriptAction 0x0004
+ Wait 0x003c
+ _0807EB44 0x0004
+ DoPostScriptAction 0x001c
+ Call sub_0807F2D4
+ DoPostScriptAction 0x0000
+ Wait 0x003c
+ _0807E5F8 0x00000002
+ WaitForSomething2 0x00000001
+ _0807EB44 0x0004
+ DoPostScriptAction 0x0014
+SCRIPT_END
+ .2byte 0x0000
diff --git a/data/scripts/dhc/script_ZeldaAfterDefeatingV2.inc b/data/scripts/dhc/script_ZeldaAfterDefeatingV2.inc
new file mode 100644
index 00000000..0f35ea99
--- /dev/null
+++ b/data/scripts/dhc/script_ZeldaAfterDefeatingV2.inc
@@ -0,0 +1,69 @@
+@ DHC Zelda after defeating V2
+SCRIPT_START script_ZeldaAfterDefeatingV2
+ BeginBlock
+ DoPostScriptAction 0x000a
+ Call sub_08066E38
+ EndBlock
+ WaitForSomething2 0x00000001
+ CallWithArg sub_0807F8E8, 0x00000000
+ _0807E5F8 0x00000002
+script_0800DCD0:
+ CheckRoomFlag 0x0000
+ JumpIfNot script_0800DCD0
+ DoPostScriptAction 0x0010
+ Wait 0x003c
+ DoPostScriptAction 0x0010
+ SetEntityPositionRelative 0x0078, 0x0068
+ WaitForSomething2 0x00000001
+ StopBgm
+ Call sub_08066E50
+ PlaySound SFX_1C9
+ Call sub_0807F2D4
+ PlaySound SFX_1CA
+ Wait 0x003c
+ DoPostScriptAction 0x0004
+ PlayBgm BGM_SAVING_ZELDA
+ Wait 0x0078
+ _0807EB44 0x0002
+ DoPostScriptAction 0x0000
+ Wait 0x000a
+ _0807EB44 0x0006
+ Wait 0x000a
+ _0807EB44 0x0002
+ Wait 0x000a
+ _0807EB44 0x0006
+ Wait 0x000a
+ _0807EB44 0x0004
+ DoPostScriptAction 0x0000
+ Wait 0x003c
+ _0807E5F8 0x00000002
+ WaitForSomething2 0x00000001
+ SetEntitySpeed 0x0100
+ _0807EEF4 0x0000, 0x0008
+ _0807EB44 0x0004
+ DoPostScriptAction 0x0000
+ Wait 0x001e
+ Call sub_08066E80
+ _0807EB44 0x0004
+ DoPostScriptAction 0x0000
+ _0807E5F8 0x00000002
+ WaitForSomething2 0x00000001
+ DoPostScriptAction 0x0004
+ Wait 0x003c
+ _0807EB44 0x0002
+ DoPostScriptAction 0x0000
+ Wait 0x000a
+ _0807EB44 0x0006
+ Wait 0x000a
+ _0807EB44 0x0002
+ Wait 0x000a
+ _0807EB44 0x0006
+ Wait 0x000a
+ _0807EB44 0x0004
+ DoPostScriptAction 0x0000
+ _0807E5F8 0x00000002
+ WaitForSomething2 0x00000001
+ SetEntitySpeed 0x0100
+ _0807EEF4 0x0000, 0x0080
+SCRIPT_END
+ .2byte 0x0000
diff --git a/data/scripts/dhc/script_ZeldaCastleEscape.inc b/data/scripts/dhc/script_ZeldaCastleEscape.inc
new file mode 100644
index 00000000..c6553c8e
--- /dev/null
+++ b/data/scripts/dhc/script_ZeldaCastleEscape.inc
@@ -0,0 +1,22 @@
+@ DHC Zelda trying to escape the collapsing castle
+SCRIPT_START script_ZeldaCastleEscape
+ BeginBlock
+ _0807EB44 0x0004
+ DoPostScriptAction 0x0000
+ SetEntitySpeed 0x0100
+ DoPostScriptAction 0x000b
+ Call sub_08066D04
+ EndBlock
+ BeginBlock
+ Call sub_08066D14
+ SetEntityPositionRelative 0x0198, 0x0148
+ DoPostScriptAction 0x0007
+ EndBlock
+ _0807EDD4 0x0198, 0x01a8
+ _0807EB44 0x0004
+ DoPostScriptAction 0x0000
+ _0807E5F8 0x00000002
+ Call sub_08066D4C
+ DoPostScriptAction 0x0006
+SCRIPT_END
+ .2byte 0x0000
diff --git a/data/scripts/dhc/script_ZeldaStoneDHC.inc b/data/scripts/dhc/script_ZeldaStoneDHC.inc
new file mode 100644
index 00000000..04ab862d
--- /dev/null
+++ b/data/scripts/dhc/script_ZeldaStoneDHC.inc
@@ -0,0 +1,18 @@
+@ Maybe also DHC Zelda stone? -> gUnk_080FCEBC
+SCRIPT_START script_ZeldaStoneDHC
+ BeginBlock
+ DoPostScriptAction 0x0007
+ _0807EB44 0x0000
+ DoPostScriptAction 0x0014
+ EndBlock
+ Wait 0x003c
+ PlaySound SFX_105
+ Wait 0x003c
+ PlaySound SFX_9B
+ Wait 0x001e
+ MessageNoOverlap 0x1625
+ WaitUntilTextboxCloses
+ Wait 0x003c
+ Call sub_08053C84
+SCRIPT_END
+ .2byte 0x0000
diff --git a/data/scripts/dhc/script_ZeldaStoneInDHC.inc b/data/scripts/dhc/script_ZeldaStoneInDHC.inc
new file mode 100644
index 00000000..b930c322
--- /dev/null
+++ b/data/scripts/dhc/script_ZeldaStoneInDHC.inc
@@ -0,0 +1,7 @@
+@ DHC Zelda stone
+SCRIPT_START script_ZeldaStoneInDHC
+ BeginBlock
+ DoPostScriptAction 0x000a
+ Call sub_08066E38
+ EndBlock
+SCRIPT_END