diff options
| author | octorock <79596758+octorock@users.noreply.github.com> | 2021-12-26 23:22:16 +0100 |
|---|---|---|
| committer | octorock <79596758+octorock@users.noreply.github.com> | 2021-12-26 23:22:16 +0100 |
| commit | 2ccf89a1fb89e01f449e1d4ce734c57943fa093b (patch) | |
| tree | 55b14aa2625dd269c30be6d636b97a65d828b145 /data/scripts | |
| parent | 11bb0e7656594d12bf16a250d43a59361e15bd9e (diff) | |
Rename scripts
Diffstat (limited to 'data/scripts')
978 files changed, 16700 insertions, 16085 deletions
diff --git a/data/scripts/CreateDustFromScript.inc b/data/scripts/CreateDustFromScript.inc new file mode 100644 index 00000000..859b127f --- /dev/null +++ b/data/scripts/CreateDustFromScript.inc @@ -0,0 +1,5 @@ +thumb_func_start CreateDustFromScript +CreateDustFromScript: + push {lr} + bl CreateDust + pop {pc} diff --git a/data/scripts/castorWilds/script_CastorWildsStatueLeft.inc b/data/scripts/castorWilds/script_CastorWildsStatueLeft.inc new file mode 100644 index 00000000..b8055c03 --- /dev/null +++ b/data/scripts/castorWilds/script_CastorWildsStatueLeft.inc @@ -0,0 +1,18 @@ +@ Castor Wilds Statue left +SCRIPT_START script_CastorWildsStatueLeft + BeginBlock + CheckKinstoneFused 0x0006 + JumpIf script_0800B302 + _0807EA88 0x0006 + _0807EB44 0x0002 + EndBlock +script_0800B268: + _0807EA4C + _0807E9F0 + _0807E864 + CheckKinstoneFused 0x0006 + JumpIf script_0800B2E2 + Call sub_0807DF50 + _0807E878 + Jump script_0800B268 + .2byte 0x0000 diff --git a/data/scripts/castorWilds/script_CastorWildsStatueMiddle.inc b/data/scripts/castorWilds/script_CastorWildsStatueMiddle.inc new file mode 100644 index 00000000..19b2defb --- /dev/null +++ b/data/scripts/castorWilds/script_CastorWildsStatueMiddle.inc @@ -0,0 +1,18 @@ +@ Castor Wilds Statue middle +SCRIPT_START script_CastorWildsStatueMiddle + BeginBlock + CheckKinstoneFused 0x0007 + JumpIf script_0800B302 + _0807EA88 0x0007 + _0807EB44 0x0002 + EndBlock +script_0800B298: + _0807EA4C + _0807E9F0 + _0807E864 + CheckKinstoneFused 0x0007 + JumpIf script_0800B2E2 + Call sub_0807DF50 + _0807E878 + Jump script_0800B298 + .2byte 0x0000 diff --git a/data/scripts/castorWilds/script_CastorWildsStatueRight.inc b/data/scripts/castorWilds/script_CastorWildsStatueRight.inc new file mode 100644 index 00000000..d6d70d72 --- /dev/null +++ b/data/scripts/castorWilds/script_CastorWildsStatueRight.inc @@ -0,0 +1,29 @@ +@ Castor Wilds Statue right +SCRIPT_START script_CastorWildsStatueRight + BeginBlock + CheckKinstoneFused 0x0008 + JumpIf script_0800B302 + _0807EA88 0x0008 + _0807EB44 0x0002 + EndBlock +script_0800B2C8: + _0807EA4C + _0807E9F0 + _0807E864 + CheckKinstoneFused 0x0008 + JumpIf script_0800B2E2 + Call sub_0807DF50 + _0807E878 + Jump script_0800B2C8 +script_0800B2E2: + DoPostScriptAction 0x0013 + _0807EB44 0x0004 + _0807E9DC + Call sub_080676E0 + Call sub_08067534 + DoPostScriptAction 0x0012 + _0807E5F8 0x00000001 +script_0800B302: + EndBlock +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/castorWilds/script_CastorWildsStatueRock.inc b/data/scripts/castorWilds/script_CastorWildsStatueRock.inc new file mode 100644 index 00000000..4c062cae --- /dev/null +++ b/data/scripts/castorWilds/script_CastorWildsStatueRock.inc @@ -0,0 +1,69 @@ +@ Castor Wilds Statue rock +SCRIPT_START script_CastorWildsStatueRock + BeginBlock +.ifdef JP + CheckLocalFlag 0x001e +.else +.ifdef EU + CheckLocalFlag 0x001e +.else +.ifdef DEMO_JP + CheckLocalFlag 0x001e @ TODO deduplicate +.else + CheckLocalFlag 0x001d +.endif +.endif +.endif + JumpIf script_0800B39C + DoPostScriptAction 0x0001 + SetEntitySpeed 0x0040 + SetEntityDirection 0x0010 + CheckKinstoneFused 0x0006 + JumpIfNot script_0800B32C + Call sub_080676D8 +script_0800B32C: + CheckKinstoneFused 0x0007 + JumpIfNot script_0800B33A + Call sub_080676D8 +script_0800B33A: + CheckKinstoneFused 0x0008 + JumpIfNot script_0800B348 + Call sub_080676D8 +script_0800B348: + EndBlock + Call sub_0806757C +script_0800B350: + EndBlock + WaitForSomething2 0x00000002 + PlaySound SFX_ITEM_BOMB_EXPLODE + Call sub_080676D8 + Call sub_0806757C + Call sub_080675D4 + Wait 0x0014 + BeginBlock + _0807E5F8 0x00000001 + CheckKinstoneFused 0x0006 + JumpIfNot script_0800B350 + CheckKinstoneFused 0x0007 + JumpIfNot script_0800B350 + CheckKinstoneFused 0x0008 + JumpIfNot script_0800B350 + EndBlock +.ifdef JP + SetLocalFlag 0x001e +.else +.ifdef EU + SetLocalFlag 0x001e +.else +.ifdef DEMO_JP + SetLocalFlag 0x001e @ TODO deduplicate +.else + SetLocalFlag 0x001d +.endif +.endif +.endif + PlaySound SFX_SECRET +script_0800B39C: + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/castorWilds/script_GreatFairyRupees.inc b/data/scripts/castorWilds/script_GreatFairyRupees.inc new file mode 100644 index 00000000..ee7fcd05 --- /dev/null +++ b/data/scripts/castorWilds/script_GreatFairyRupees.inc @@ -0,0 +1,28 @@ +@ Lake Hylia Great Fairy OBJECT_69 +SCRIPT_START script_GreatFairyRupees + BeginBlock + EndBlock +script_0800B6CC: + HasRupees 0x0001 + JumpIfNot script_0800B6CC +script_0800B6D4: + CheckPlayerInRegion 0x0078, 0x00b8, 0x1060 + JumpIfNot script_0800B6D4 + Call sub_08079184 + _0807E864 + Call sub_0807F9A4 + StartPlayerScript script_PlayerAtGreatFairy + WaitForSomething2 0x00000004 + SetRoomFlag 0x0000 + WaitForSomething2 0x00000004 + CheckLocalFlag 0x009f + JumpIf script_0800B7A2 + MessageNoOverlap 0x057b + WaitUntilTextboxCloses + CallWithArg sub_0807F970, 0x0000057d + JumpIf script_0800B6A6 + WaitUntilTextboxCloses + SetLocalFlag 0x009f + _0807F034 0x0064 + Jump script_0800B698 + .2byte 0x0000 diff --git a/data/scripts/castorWilds/script_MalonAtRanch.inc b/data/scripts/castorWilds/script_MalonAtRanch.inc new file mode 100644 index 00000000..640be984 --- /dev/null +++ b/data/scripts/castorWilds/script_MalonAtRanch.inc @@ -0,0 +1,17 @@ +@ Lon Lon Ranch Malon +SCRIPT_START script_MalonAtRanch + BeginBlock + DoPostScriptAction 0x000a + DoPostScriptAction 0x0001 + _0807E9D4 + EndBlock +script_0800B5FA: + CheckEntityInteractType + JumpIfNot script_0800B5FA + _0807E864 + _0807EB74 + MessageNoOverlap 0x2009 + WaitUntilTextboxCloses + _0807E878 + _0807EB44 0x0004 + Jump script_0800B5FA diff --git a/data/scripts/castorWilds/script_Object69.inc b/data/scripts/castorWilds/script_Object69.inc new file mode 100644 index 00000000..17eed592 --- /dev/null +++ b/data/scripts/castorWilds/script_Object69.inc @@ -0,0 +1,49 @@ +@ Castor Wilds OBJECT_69? +SCRIPT_START script_Object69 + BeginBlock + _0807E5F8 0x00000000 +.ifdef JP + CheckLocalFlag 0x001e +.else +.ifdef EU + CheckLocalFlag 0x001e +.else +.ifdef DEMO_JP + CheckLocalFlag 0x001e @ TODO deduplicate +.else + CheckLocalFlag 0x001d +.endif +.endif +.endif + JumpIf script_0800B252 + SetEntitySpeed 0x00c0 + EndBlock +script_0800B216: + WaitForSomething2 0x00000001 + Call sub_0807DF28 + MoveEntityToPlayer + CameraTargetEntity + _0807EDD4 0x0068, 0x0380 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000001 + Call sub_0807DF50 + Wait 0x000c + CameraTargetPlayer + Wait 0x0008 + _0807E878 +.ifdef JP + CheckLocalFlag 0x001e +.else +.ifdef EU + CheckLocalFlag 0x001e +.else +.ifdef DEMO_JP + CheckLocalFlag 0x001e @ TODO deduplicate +.else + CheckLocalFlag 0x001d +.endif +.endif +.endif + JumpIfNot script_0800B216 +script_0800B252: +SCRIPT_END diff --git a/data/scripts/castorWilds/script_Object69DarknutFight.inc b/data/scripts/castorWilds/script_Object69DarknutFight.inc new file mode 100644 index 00000000..fd531758 --- /dev/null +++ b/data/scripts/castorWilds/script_Object69DarknutFight.inc @@ -0,0 +1,20 @@ +@ Castor Wilds OBJECT_69 darknut fight for kinstone piece +SCRIPT_START script_Object69DarknutFight + BeginBlock + Call sub_0807DF28 + SetLocalFlag 0x0039 + _0807E864 + EndBlock + WaitForPlayerAction0x17 + StartPlayerScript script_PlayerAtDarknutFight + Wait 0x0018 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000001 + SetRoomFlag 0x0000 + Wait 0x0010 + PlayBgm BGM_FIGHT_THEME + _0807EB28 0x2701 + _0807E878 + Call sub_0807DF50 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/castorWilds/script_PlayerAtDarknutFight.inc b/data/scripts/castorWilds/script_PlayerAtDarknutFight.inc new file mode 100644 index 00000000..b122fc5b --- /dev/null +++ b/data/scripts/castorWilds/script_PlayerAtDarknutFight.inc @@ -0,0 +1,17 @@ +@ Player at darknut in Castor Wilds +SCRIPT_START script_PlayerAtDarknutFight + BeginBlock + DoPostScriptAction 0x0000 + EndBlock + WaitForSomething2 0x00000002 + SetEntitySpeed 0x00e0 + _0807EDD4 0x0088, 0x0090 + ClearLocalFlag 0x0039 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x0004 + Wait 0x002c + LoadRoomEntityList gUnk_080DA260 + Wait 0x001e + _0807E5F8 0x00000001 + Call sub_0807921C +SCRIPT_END diff --git a/data/scripts/cloudTops/script_EzloTalkPoW.inc b/data/scripts/cloudTops/script_EzloTalkPoW.inc new file mode 100644 index 00000000..bba202e7 --- /dev/null +++ b/data/scripts/cloudTops/script_EzloTalkPoW.inc @@ -0,0 +1,12 @@ +@ Ezlo talk after getting wind element +SCRIPT_START script_EzloTalkPoW + _0807E864 + Call sub_0807DF28 + _0807EB28 0x1c05 + WaitUntilTextboxCloses + SetLocalFlagByBank 0x0100, 0x0005 + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cloudTops/script_GregalHealthy.inc b/data/scripts/cloudTops/script_GregalHealthy.inc new file mode 100644 index 00000000..1da04bec --- /dev/null +++ b/data/scripts/cloudTops/script_GregalHealthy.inc @@ -0,0 +1,36 @@ +@ Cloud Tops Gregal healthy +SCRIPT_START script_GregalHealthy + BeginBlock + Call sub_0806CD58 + DoPostScriptAction 0x000a + _0807EB44 0x0004 + _0807E930 0x0006 + EndBlock +script_08014C42: + CheckEntityInteractType + JumpIfNot script_08014C42 + _0807E864 + _0807EB74 +script_08014C4C: + Call sub_0806CCD0 + JumpIfNot script_08014C4C +script_08014C56: + Call sub_0806CCB4 + JumpIfNot script_08014C56 + CheckLocalFlag 0x0066 + JumpIf script_08014C7C + SetLocalFlag 0x0066 + MessageNoOverlap 0x2f0d + WaitUntilTextboxCloses + _0807F034 0x000a + WaitPlayerGetItem + Jump script_08014C82 +script_08014C7C: + MessageNoOverlap 0x2f09 + WaitUntilTextboxCloses +script_08014C82: + Wait 0x000f + _0807E878 + _0807EB44 0x0004 + _0807E930 0x0006 + Jump script_08014C42 diff --git a/data/scripts/cloudTops/script_GregalSick.inc b/data/scripts/cloudTops/script_GregalSick.inc new file mode 100644 index 00000000..10661252 --- /dev/null +++ b/data/scripts/cloudTops/script_GregalSick.inc @@ -0,0 +1,72 @@ +@ Cloud Tops Gregal sick +SCRIPT_START script_GregalSick + BeginBlock + DoPostScriptAction 0x000a + _0807E930 0x0000 + EndBlock + CheckLocalFlag 0x0063 + JumpIf script_08014BE8 +script_08014B48: + EndBlock + BeginBlock + CheckRoomFlag 0x0000 + JumpIf script_08014B70 + CheckEntityInteractType + JumpIfNot script_08014B48 + EndBlock + _0807E864 + _0807EB74 + MessageNoOverlap 0x2f01 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_08014B48 +script_08014B70: + EndBlock + _0807E864 + Call sub_0807DF28 + _0807E5F8 0x00000001 + DoPostScriptAction 0x0004 + WaitForSomething2 0x00000002 + _0807E930 0x0010 + Call sub_0806CCF8 + Wait 0x0014 + Call sub_0806CD04 + Wait 0x0014 + Call sub_0806CD14 + Wait 0x0014 + Call sub_0806CD20 + Wait 0x0014 + Call sub_0806CD30 + Wait 0x0014 + Call sub_0806CD3C + Wait 0x0014 + Call sub_0806CD4C + PlaySound SFX_SECRET + _0807E5F8 0x00000001 + WaitForSomething2 0x00000002 + Call sub_0807DF50 + _0807E878 +script_08014BE8: + _0807E930 0x0010 + Call sub_0806CD4C +script_08014BF2: + CheckEntityInteractType + JumpIfNot script_08014BF2 + _0807E864 + CheckLocalFlag 0x0065 + JumpIf script_08014C1C + SetLocalFlag 0x0065 + MessageNoOverlap 0x2f07 + WaitUntilTextboxCloses + SetIntVariable 0x00000064 + _0807F034 0x003f + WaitPlayerGetItem + Jump script_08014C22 +script_08014C1C: + MessageNoOverlap 0x2f08 + WaitUntilTextboxCloses +script_08014C22: + Wait 0x000f + _0807E878 + Jump script_08014BF2 diff --git a/data/scripts/cloudTops/script_HiddenWhirlwind1.inc b/data/scripts/cloudTops/script_HiddenWhirlwind1.inc new file mode 100644 index 00000000..5cfb88b9 --- /dev/null +++ b/data/scripts/cloudTops/script_HiddenWhirlwind1.inc @@ -0,0 +1,38 @@ +@ Cloud Tops Whirlwind hidden in clouds +SCRIPT_START script_HiddenWhirlwind1 + BeginBlock +.ifdef JP + CheckLocalFlag 0x00f0 +.else +.ifdef EU + CheckLocalFlag 0x00f0 +.else +.ifdef DEMO_JP + CheckLocalFlag 0x00f0 @ TODO deduplicate +.else + CheckLocalFlag 0x00f3 +.endif +.endif +.endif + JumpIf script_0800D6E8 + DoPostScriptAction 0x0008 + EndBlock +script_0800D6E0: +.ifdef JP + CheckLocalFlag 0x00f0 +.else +.ifdef EU + CheckLocalFlag 0x00f0 +.else +.ifdef DEMO_JP + CheckLocalFlag 0x00f0 @ TODO deduplicate +.else + CheckLocalFlag 0x00f3 +.endif +.endif +.endif + JumpIfNot script_0800D6E0 +script_0800D6E8: + DoPostScriptAction 0x0007 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cloudTops/script_HiddenWhirlwind2.inc b/data/scripts/cloudTops/script_HiddenWhirlwind2.inc new file mode 100644 index 00000000..efbd3eb3 --- /dev/null +++ b/data/scripts/cloudTops/script_HiddenWhirlwind2.inc @@ -0,0 +1,37 @@ +@ Cloud Tops Whirlwind hidden in clouds +SCRIPT_START script_HiddenWhirlwind2 + BeginBlock +.ifdef JP + CheckLocalFlag 0x00f2 +.else +.ifdef EU + CheckLocalFlag 0x00f2 +.else +.ifdef DEMO_JP + CheckLocalFlag 0x00f2 @ TODO deduplicate +.else + CheckLocalFlag 0x00f5 +.endif +.endif +.endif + JumpIf script_0800D6E8 + DoPostScriptAction 0x0008 + EndBlock +script_0800D700: +.ifdef JP + CheckLocalFlag 0x00f2 +.else +.ifdef EU + CheckLocalFlag 0x00f2 +.else +.ifdef DEMO_JP + CheckLocalFlag 0x00f2 @ TODO deduplicate +.else + CheckLocalFlag 0x00f5 +.endif +.endif +.endif + JumpIfNot script_0800D700 + DoPostScriptAction 0x0007 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cloudTops/script_Npc4EFirstCloud.inc b/data/scripts/cloudTops/script_Npc4EFirstCloud.inc new file mode 100644 index 00000000..14cce552 --- /dev/null +++ b/data/scripts/cloudTops/script_Npc4EFirstCloud.inc @@ -0,0 +1,37 @@ +@ Cloud Tops NPC4E at first Mysterious Cloud +@ Reponsible for Kinstone cutscenes +SCRIPT_START script_Npc4EFirstCloud + BeginBlock + _0807EB44 0x0004 + DoPostScriptAction 0x000b + DoPostScriptAction 0x0008 + Call sub_0806DAAC + JumpIf script_0800D6AE + Call sub_0806DAD0 + CallWithArg sub_0806DA04, 0x00000002 + EndBlock +script_0800D636: + _0807EA4C + _0807E9F0 + Call sub_0806DAAC + JumpIf script_0800D650 + Call sub_0807DF50 + _0807E878 + Jump script_0800D636 +script_0800D650: + _0807E864 + Call sub_0807DF28 + Call sub_0807FBC4 + Call sub_0807FBA0 + SetEntitySpeed 0x0700 + _0807F0B4 0x0007 + CameraTargetEntity + _0807EDD4 0x01e8, 0x01b8 + Wait 0x003c + Call sub_0806DAE8 + Wait 0x0078 + Call sub_0806DB44 + JumpIfNot script_Npc4EKinstoneFused + LoadRoomEntityList gUnk_080DD730 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cloudTops/script_Npc4EKinstoneFused.inc b/data/scripts/cloudTops/script_Npc4EKinstoneFused.inc new file mode 100644 index 00000000..91d9eae4 --- /dev/null +++ b/data/scripts/cloudTops/script_Npc4EKinstoneFused.inc @@ -0,0 +1,11 @@ +@ Cloud Tops NPC4E after Kinstone has been fused +SCRIPT_START script_Npc4EKinstoneFused + _0807EEB4 + _0807F0B4 0x0004 + CameraTargetPlayer + Call sub_0807FBCC + _0807E878 + Call sub_0807DF50 +script_0800D6AE: + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cloudTops/script_Object69GreatWhirlwindRevealed.inc b/data/scripts/cloudTops/script_Object69GreatWhirlwindRevealed.inc new file mode 100644 index 00000000..2e3297b3 --- /dev/null +++ b/data/scripts/cloudTops/script_Object69GreatWhirlwindRevealed.inc @@ -0,0 +1,24 @@ +@ Cloud Tops OBJECT_69 great whirlwind revealed +SCRIPT_START script_Object69GreatWhirlwindRevealed + BeginBlock + Call sub_0807F360 + SetEntitySpeed 0x0700 + _0807F0B4 0x0007 + CameraTargetEntity + Call sub_0807FBC4 + EndBlock + _0807E5F8 0x00000008 + WaitForSomething2 0x00000010 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + _0807E5F8 0x0000000a + WaitForSomething2 0x00000004 + _0807EEB4 + _0807F0B4 0x0004 + CameraTargetPlayer + Call sub_0807FBCC + _0807E878 + Call sub_0807DF50 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cloudTops/script_Object6AMysteriousCloud.inc b/data/scripts/cloudTops/script_Object6AMysteriousCloud.inc new file mode 100644 index 00000000..f2c812eb --- /dev/null +++ b/data/scripts/cloudTops/script_Object6AMysteriousCloud.inc @@ -0,0 +1,10 @@ +@ Cloud Tops OBJECT_6A Mysterious Cloud +SCRIPT_START script_Object6AMysteriousCloud + BeginBlock + DoPostScriptAction 0x0007 + DoPostScriptAction 0x0011 + Call sub_0807F158 + Call sub_0807F738 + EndBlock +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cloudTops/script_PlayerAtSiroc.inc b/data/scripts/cloudTops/script_PlayerAtSiroc.inc new file mode 100644 index 00000000..a2a5ef87 --- /dev/null +++ b/data/scripts/cloudTops/script_PlayerAtSiroc.inc @@ -0,0 +1,11 @@ +@ Player at Windtribespeople leader Siroc +SCRIPT_START script_PlayerAtSiroc + BeginBlock + SetEntitySpeed 0x0100 + EndBlock + _0807EDD4 0x0078, 0x0040 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/cloudTops/script_Siroc.inc b/data/scripts/cloudTops/script_Siroc.inc new file mode 100644 index 00000000..c45610b2 --- /dev/null +++ b/data/scripts/cloudTops/script_Siroc.inc @@ -0,0 +1,27 @@ +@ Cloud Tops Windtribespeople Leader Siroc +SCRIPT_START script_Siroc + BeginBlock + Call sub_0806C870 + DoPostScriptAction 0x000a + EndBlock +script_08014AD2: + _0807E30C + JumpIfNot script_08014AD2 + _0807E864 + _0807EB74 + StartPlayerScript script_PlayerAtSiroc + WaitForSomething2 0x00000001 + _0807EB74 + CheckLocalFlag 0x0064 + JumpIf script_08014AFE + SetLocalFlag 0x0064 + MessageNoOverlap 0x2f0b + Jump script_08014B02 +script_08014AFE: + MessageNoOverlap 0x2f0c +script_08014B02: + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_08014AD2 + .2byte 0x0000 diff --git a/data/scripts/cloudTops/script_WindTribespeople1.inc b/data/scripts/cloudTops/script_WindTribespeople1.inc new file mode 100644 index 00000000..987d6b13 --- /dev/null +++ b/data/scripts/cloudTops/script_WindTribespeople1.inc @@ -0,0 +1,21 @@ +@ Cloud Tops WindTribespeople blocking exit +SCRIPT_START script_WindTribespeople1 + BeginBlock + Call sub_0806C870 + DoPostScriptAction 0x000a + CheckGlobalFlag 0x0058 + JumpIf script_08014976 + _0807EB44 0x0004 + SetEntityPositionRelative 0x0078, 0x0128 +script_08014976: + EndBlock +script_08014978: + _0807E30C + JumpIfNot script_08014978 + _0807E864 + _0807EB74 + Call sub_0806C90C + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_08014978 diff --git a/data/scripts/cloudTops/script_WindTribespeople2.inc b/data/scripts/cloudTops/script_WindTribespeople2.inc new file mode 100644 index 00000000..6cf49d01 --- /dev/null +++ b/data/scripts/cloudTops/script_WindTribespeople2.inc @@ -0,0 +1,21 @@ +@ Cloud Top Windtribespeople woman on first floor +SCRIPT_START script_WindTribespeople2 + BeginBlock + Call sub_0806C870 + DoPostScriptAction 0x000a + CheckGlobalFlag 0x0058 + JumpIfNot script_080149C6 + EndBlock +script_080149AA: + _0807E30C + JumpIfNot script_080149AA + _0807E864 + _0807EB74 + Call sub_0806C90C + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_080149AA +script_080149C6: + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cloudTops/script_WindTribespeople3.inc b/data/scripts/cloudTops/script_WindTribespeople3.inc new file mode 100644 index 00000000..01977684 --- /dev/null +++ b/data/scripts/cloudTops/script_WindTribespeople3.inc @@ -0,0 +1,30 @@ +@ Cloud Tops Windtribespeople blocking the way up to the palace +SCRIPT_START script_WindTribespeople3 + BeginBlock + SetEntitySpeed 0x0080 + Call sub_0806C870 + DoPostScriptAction 0x000a + EndBlock +script_080149DE: + _0807E30C + JumpIfNot script_080149DE + _0807E864 + _0807EB74 + Call sub_0806C90C + WaitUntilTextboxCloses + CheckLocalFlag 0x0064 + JumpIfNot script_08014A20 + CheckLocalFlag 0x00b1 + JumpIf script_08014A20 + SetLocalFlag 0x00b1 + DoPostScriptAction 0x000b + DoPostScriptAction 0x0001 + _0807EDD4 0x0068, 0x00f8 + PlaySound SFX_SECRET + _0807EB74 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x000a +script_08014A20: + _0807E878 + Jump script_080149DE + .2byte 0x0000 diff --git a/data/scripts/cloudTops/script_WindTribespeople4.inc b/data/scripts/cloudTops/script_WindTribespeople4.inc new file mode 100644 index 00000000..31e036e3 --- /dev/null +++ b/data/scripts/cloudTops/script_WindTribespeople4.inc @@ -0,0 +1,17 @@ +@ Cloud Tops Windtribespeople blocking way up +SCRIPT_START script_WindTribespeople4 + BeginBlock + Call sub_0806C870 + DoPostScriptAction 0x000a + EndBlock +script_08014A36: + _0807E30C + JumpIfNot script_08014A36 + _0807E864 + _0807EB74 + Call sub_0806C90C + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_08014A36 + .2byte 0x0000 diff --git a/data/scripts/cloudTops/script_WindTribespeople5.inc b/data/scripts/cloudTops/script_WindTribespeople5.inc new file mode 100644 index 00000000..cf3a995e --- /dev/null +++ b/data/scripts/cloudTops/script_WindTribespeople5.inc @@ -0,0 +1,17 @@ +@ Cloud Tops Windtribespeople at the bed +SCRIPT_START script_WindTribespeople5 + BeginBlock + Call sub_0806C870 + DoPostScriptAction 0x000a + EndBlock +script_08014A62: + _0807E30C + JumpIfNot script_08014A62 + _0807E864 + _0807EB74 + Call sub_0806C90C + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_08014A62 + .2byte 0x0000 diff --git a/data/scripts/cloudTops/script_WindTribespeople6.inc b/data/scripts/cloudTops/script_WindTribespeople6.inc new file mode 100644 index 00000000..dd9332bf --- /dev/null +++ b/data/scripts/cloudTops/script_WindTribespeople6.inc @@ -0,0 +1,23 @@ +@ Cloud Tops Windtribespeople sucked up ghost +SCRIPT_START script_WindTribespeople6 + BeginBlock + DoPostScriptAction 0x000a + EndBlock + WaitForSomething2 0x00000001 + _0807EB74 + DoPostScriptAction 0x0004 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000001 + MessageNoOverlap 0x2f0a + WaitUntilTextboxCloses + _0807E5F8 0x00000002 +script_08014AAC: + _0807E30C + JumpIfNot script_08014AAC + _0807E864 + _0807EB74 + MessageNoOverlap 0x2f0a + WaitUntilTextboxCloses + _0807E878 + Jump script_08014AAC + .2byte 0x0000 diff --git a/data/scripts/cloudTops/script_WindTribespeople7.inc b/data/scripts/cloudTops/script_WindTribespeople7.inc new file mode 100644 index 00000000..a4c71788 --- /dev/null +++ b/data/scripts/cloudTops/script_WindTribespeople7.inc @@ -0,0 +1,27 @@ +@ Cloud Tops Windtribespeople +SCRIPT_START script_WindTribespeople7 + BeginBlock + CheckGlobalFlag 0x0024 + JumpIf script_08014CD4 + Call sub_0806C870 + DoPostScriptAction 0x000a + DoPostScriptAction 0x0000 + EndBlock +script_08014CAE: + EndBlock + BeginBlock + CheckGlobalFlag 0x0024 + JumpIf script_08014CD4 + _0807E30C + JumpIfNot script_08014CAE + EndBlock + _0807E864 + _0807EB74 + Call sub_0806C90C + WaitUntilTextboxCloses + _0807E878 + Jump script_08014CAE +script_08014CD4: + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cloudTops/script_WindTribespeopleGreatWhirlwindRevealed1.inc b/data/scripts/cloudTops/script_WindTribespeopleGreatWhirlwindRevealed1.inc new file mode 100644 index 00000000..19d94f87 --- /dev/null +++ b/data/scripts/cloudTops/script_WindTribespeopleGreatWhirlwindRevealed1.inc @@ -0,0 +1,26 @@ +@ Cloud Tops WindTribespeople great whirlwind revealed 2 +SCRIPT_START script_WindTribespeopleGreatWhirlwindRevealed1 + BeginBlock + Call sub_0807F360 + DoPostScriptAction 0x000b + SetEntitySpeed 0x0200 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + EndBlock + WaitForSomething2 0x00000008 + DoPostScriptAction 0x0004 + Wait 0x003c + PlaySound SFX_123 + CallWithArg sub_0807F464, 0x000001e0 + _0807EDD4 0x01e0, 0x01d8 + _0807EB44 0x0002 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000010 + PlaySound SFX_PLY_JUMP + _0807EF3C 0x0180, 0x0030 + PlaySound SFX_PLY_JUMP + _0807EF3C 0x0180, 0x0030 + _0807EB44 0x0002 + DoPostScriptAction 0x0001 + WaitForSomething2 0x00000008 + Jump script_0800D80C diff --git a/data/scripts/cloudTops/script_WindTribespeopleGreatWhirlwindRevealed2.inc b/data/scripts/cloudTops/script_WindTribespeopleGreatWhirlwindRevealed2.inc new file mode 100644 index 00000000..076d46f1 --- /dev/null +++ b/data/scripts/cloudTops/script_WindTribespeopleGreatWhirlwindRevealed2.inc @@ -0,0 +1,27 @@ +@ Cloud Tops WindTribespeople great whirlwind revealed +SCRIPT_START script_WindTribespeopleGreatWhirlwindRevealed2 + BeginBlock + Call sub_0807F360 + DoPostScriptAction 0x000b + SetEntityPositionRelative 0x0268, 0x01d8 + SetEntitySpeed 0x0100 + EndBlock + WaitForSomething2 0x00000002 + _0807EDD4 0x01f0, 0x01d8 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000002 +script_0800D80C: + SetEntitySpeed 0x0100 + _0807EEF4 0x0000, 0xffe0 + DoPostScriptAction 0x000e + Call sub_0806CA5C + SetEntity0x20 0x00040000 + PlaySound SFX_F5 +script_0800D82A: + CallWithArg sub_0807F8D0, 0xffffe000 + Call sub_0807F8BC + JumpIf script_0800D82A + _0807E5F8 0x00000004 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/ezlo/script_EzloCap.inc b/data/scripts/cutscene/ezlo/script_EzloCap.inc new file mode 100644 index 00000000..bd5017e4 --- /dev/null +++ b/data/scripts/cutscene/ezlo/script_EzloCap.inc @@ -0,0 +1,244 @@ +@ First look at Ezlo EzloCap +SCRIPT_START script_EzloCap + BeginBlock + SetEntitySpeed 0x0040 + DoPostScriptAction 0x0007 + EndBlock + _0807E930 0x0020 + WaitForSomething2 0x00000004 + _0807E930 0x0022 + Call sub_0807F3C8 + MessageFromTargetPos 0x1102, 0x000c + WaitUntilTextboxCloses + _0807E930 0x0020 + _0807E5F8 0x00000008 + WaitForSomething2 0x00000004 + _0807E930 0x0021 + Call sub_0807F3C8 + MessageFromTargetPos 0x1103, 0x000c + WaitUntilTextboxCloses + _0807E930 0x0020 + _0807E5F8 0x00000008 + WaitForSomething2 0x00000004 + DoPostScriptAction 0x0004 + Wait 0x003c + _0807E5F8 0x00000008 + WaitForSomething2 0x00000004 + DoPostScriptAction 0x0011 + _0807E930 0x001c + MessageFromTargetPos 0x1105, 0x000c + WaitUntilTextboxCloses + _0807E930 0x0020 + _0807E5F8 0x00000008 + WaitForSomething2 0x00000004 + _0807E930 0x0022 + Call sub_0807F3C8 + MessageFromTargetPos 0x1106, 0x000c + WaitUntilTextboxCloses + _0807E930 0x001c + Call sub_0806D96C + MessageFromTargetPos 0x1107, 0x000c + WaitUntilTextboxCloses + _0807E930 0x0020 + _0807E5F8 0x00000008 + WaitForSomething2 0x00000004 + _0807E930 0x0021 + Call sub_0807F3C8 + MessageFromTargetPos 0x1108, 0x000c + WaitUntilTextboxCloses + _0807E930 0x001c + Call sub_0806D96C + MessageFromTargetPos 0x1109, 0x000c + WaitUntilTextboxCloses + _0807E930 0x0020 + DoPostScriptAction 0x000a + _0807E9D4 + _0807E5F8 0x00000008 +script_080127F2: + EndBlock + BeginBlock + CheckRoomFlag 0x0000 + JumpIf script_08012824 + CheckEntityInteractType + JumpIfNot script_080127F2 + EndBlock + _0807E864 + Call sub_0806D944 + _0807E930 0x0010 + MessageFromTargetPos 0x1114, 0x000c + WaitUntilTextboxCloses + _0807E930 0x0020 + _0807E878 + Jump script_080127F2 +script_08012824: + _0807E864 + _0807E9DC + CallWithArg sub_0807F5B0, 0x0000003c + Call sub_080791D0 + EndBlock + _0807E5F8 0x00000008 + WaitForSomething2 0x00000004 + DoPostScriptAction 0x000b + _0807E5F8 0x00000008 + WaitForSomething2 0x00000004 + Call sub_0806D944 + _0807E930 0x0010 + MessageFromTargetPos 0x110a, 0x000c + WaitUntilTextboxCloses + _0807E930 0x001f + _0807E5F8 0x00000008 + WaitForSomething2 0x00000004 + _0807E930 0x0010 + MessageFromTargetPos 0x110b, 0x000c + WaitUntilTextboxCloses + _0807E930 0x001f + _0807E5F8 0x00000008 + WaitForSomething2 0x00000004 + DoPostScriptAction 0x0004 + Wait 0x003c + _0807E930 0x0010 + MessageFromTargetPos 0x110c, 0x000c + WaitUntilTextboxCloses + _0807E930 0x001f + _0807E5F8 0x00000008 + WaitForSomething2 0x00000004 + _0807E930 0x0010 + MessageFromTargetPos 0x110d, 0x000c + WaitUntilTextboxCloses + _0807E930 0x001f + _0807E5F8 0x00000008 + WaitForSomething2 0x00000004 + _0807E930 0x0010 + MessageFromTargetPos 0x110e, 0x000c + WaitUntilTextboxCloses + _0807E930 0x0018 + SetEntitySpeed 0x0080 + Call sub_0806D908 + _0807EC1C 0x0010 + DoPostScriptAction 0x000a + _0807E9D4 + _0807E5F8 0x00000008 + WaitForSomething2 0x00000004 +script_08012904: + EndBlock + BeginBlock + Call sub_0806D944 + CheckEntityInteractType + JumpIf script_08012920 + CheckPlayerInRegion2 0x3030 + JumpIfNot script_0801293A + Jump script_08012904 +script_08012920: + _0807E864 + _0807E930 0x0010 + EndBlock + MessageFromTargetPos 0x1115, 0x000c + WaitUntilTextboxCloses + _0807E930 0x0018 + _0807E878 + Jump script_08012904 +script_0801293A: + EndBlock + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + _0807EB8C + Call sub_0806D944 + _0807E930 0x0010 + MessageFromTargetPos 0x110f, 0x000c + _0807E930 0x0018 + SetEntitySpeed 0x0080 + Call sub_0806D908 + _0807EC1C 0x0050 + WaitUntilTextboxCloses + Call sub_0807DF50 + _0807E878 + _0807E5F8 0x00000008 + WaitForSomething2 0x00000004 +script_08012984: + EndBlock + BeginBlock + Call sub_0806D944 + CheckEntityInteractType + JumpIf script_080129A0 + CheckPlayerInRegion2 0x3030 + JumpIfNot script_080129BA + Jump script_08012984 +script_080129A0: + _0807E864 + _0807E930 0x0010 + EndBlock + MessageFromTargetPos 0x1115, 0x000c + WaitUntilTextboxCloses + _0807E930 0x0018 + _0807E878 + Jump script_08012984 +script_080129BA: + EndBlock + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + _0807EB8C + Call sub_0806D944 + _0807E930 0x0010 + MessageFromTargetPos 0x1110, 0x000c + _0807E930 0x0018 + SetEntitySpeed 0x0080 + Call sub_0806D908 + _0807EC1C 0x0050 + _0807E930 0x0018 + WaitUntilTextboxCloses + Call sub_0807DF50 + _0807E878 + _0807E5F8 0x00000008 + WaitForSomething2 0x00000004 +script_08012A08: + EndBlock + BeginBlock + Call sub_0806D944 + CheckEntityInteractType + JumpIf script_08012A24 + CheckPlayerInRegion2 0x3030 + JumpIfNot script_08012A3E + Jump script_08012A08 +script_08012A24: + _0807E864 + _0807E930 0x0010 + EndBlock + MessageFromTargetPos 0x1115, 0x000c + WaitUntilTextboxCloses + _0807E930 0x0018 + _0807E878 + Jump script_08012A08 +script_08012A3E: + EndBlock + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + StopBgm + DoPostScriptAction 0x000b + _0807EB8C + Call sub_0806D944 + _0807E930 0x0010 + MessageFromTargetPos 0x1111, 0x000c + _0807E930 0x0018 + SetEntitySpeed 0x0080 + Call sub_0806D8A0 +script_08012A74: + _0807EE30 + JumpIfNot script_08012A74 + _0807E930 0x001f + WaitUntilTextboxCloses + StartPlayerScript script_PlayerGetEzloCap + Call sub_0806D9A4 + DoPostScriptAction 0x0008 + Wait 0x0078 + PlayBgm BGM_EZLO_THEME + BeginBlock + _0807E8E4_2 + _0807EB28 0x1112 + EndBlock + WaitUntilTextboxCloses + _0807E5F8 0x00000008 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/ezlo/script_Npc4EEzloCutscene.inc b/data/scripts/cutscene/ezlo/script_Npc4EEzloCutscene.inc new file mode 100644 index 00000000..a238743e --- /dev/null +++ b/data/scripts/cutscene/ezlo/script_Npc4EEzloCutscene.inc @@ -0,0 +1,135 @@ +@ Minish Woods Ezlo Cutscene NPC4E +SCRIPT_START script_Npc4EEzloCutscene + BeginBlock + Call sub_08054564 + EndBlock +script_0801248A: + CheckPlayerInRegion 0x0208, 0x02c8, 0x4020 + JumpIfNot script_0801248A + StopBgm + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + StartPlayerScript script_PlayerAtFirstLookAtEzlo + MessageFromTargetPos 0x1101, 0x0007 + WaitUntilTextboxCloses + CameraTargetPlayer + _0807E778 0x0004 + _0807E80C 0x00000000 + WaitFor_2 + _0807E858 0x0000 + Call sub_080791BC + LoadRoomEntityList gUnk_080F4D70 + Call DeleteAllEnemies + SetEntityPositionRelative 0x0388, 0x0168 + Call sub_0807F844 + _0807E778 0x0004 + _0807E800 0x00000000 + WaitFor_2 + PlayBgm BGM_EZLO_THEME + _0807E5F8 0x00000010 + WaitForSomething2 0x00000020 + WaitForSomething2 0x00000100 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + _0807E5F8 0x00000040 + WaitForSomething2 0x00000080 + WaitForSomething2 0x00000100 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + StopBgm + _0807E778 0x0004 + _0807E80C 0x00000000 + WaitFor_2 + MoveEntityToPlayer + Call sub_0807F844 + CameraTargetPlayer + SetFadeMask 0xffffffff + _0807E778 0x0004 + _0807E800 0x00000000 + WaitFor_2 + Call sub_0807DF50 + _0807E878 + PlayBGM +script_08012566: + CheckPlayerInRegion 0x03a0, 0x01a0, 0x1020 + JumpIfNot script_08012566 + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + Call sub_0806DC7C + StopBgm + StartPlayerScript script_PlayerEzloBeingBullied + WaitForSomething2 0x00000001 + SetEntityPositionRelative 0x0388, 0x0168 + _0807F0B4 0x0001 + CameraTargetEntity + Wait 0x005a + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + PlayBgm BGM_EZLO_THEME + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + _0807E5F8 0x00000040 + WaitForSomething2 0x00000080 + WaitForSomething2 0x00000100 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + _0807E5F8 0x00000010 + WaitForSomething2 0x00000020 + WaitForSomething2 0x00000100 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + StopBgm + PlayBgm BGM_FIGHT_THEME2 + Call sub_0807DF50 + _0807E878 + _0807E5F8 0x00000050 + LoadRoomEntityList gUnk_080F51D0 + WaitForSomething2 0x00000008 + _0807E864 + Call sub_0807FA40 + Call sub_0807DF28 + PlaySound SFX_SECRET + StopBgm + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + StartPlayerScript script_PlayerDefeatedOctoroks + WaitForSomething2 0x00000001 + _0807E8E4_0 + PlayBgm BGM_EZLO_THEME + Wait 0x001e + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + StopBgm + Wait 0x003c + PlayBGM + Call sub_0806DCA0 + _0807F0B4 0x0004 + CameraTargetPlayer + Call sub_0807DF50 + _0807E878 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + StopBgm + Wait 0x003c + PlayBGM + Call sub_08054570 + SetGlobalFlag 0x0014 + CallWithArg sub_0807F6F8, 0x00000008 + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/ezlo/script_Object6ALeftBullyingOctorok.inc b/data/scripts/cutscene/ezlo/script_Object6ALeftBullyingOctorok.inc new file mode 100644 index 00000000..3aa979f2 --- /dev/null +++ b/data/scripts/cutscene/ezlo/script_Object6ALeftBullyingOctorok.inc @@ -0,0 +1,21 @@ +@ First look at Ezlo OBJECT_6A left octorok +SCRIPT_START script_Object6ALeftBullyingOctorok + BeginBlock + _0807EB44 0x0002 + DoPostScriptAction 0x0007 + _0807E930 0x0001 + EndBlock + WaitForSomething2 0x00000040 + _0807E930 0x0005 + Wait 0x001e + _0807E5F8 0x00000080 + _0807E930 0x0001 + WaitForSomething2 0x00000040 + _0807E930 0x0005 + Wait 0x001e + _0807E5F8 0x00000080 + _0807E930 0x0001 + WaitForSomething2 0x00000040 + Wait 0x0001 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/ezlo/script_Object6ARightBullyingOctorok.inc b/data/scripts/cutscene/ezlo/script_Object6ARightBullyingOctorok.inc new file mode 100644 index 00000000..f715c8ca --- /dev/null +++ b/data/scripts/cutscene/ezlo/script_Object6ARightBullyingOctorok.inc @@ -0,0 +1,21 @@ +@ First look at Ezlo OBJECT_6A right octorok +SCRIPT_START script_Object6ARightBullyingOctorok + BeginBlock + _0807EB44 0x0006 + DoPostScriptAction 0x0007 + _0807E930 0x0003 + EndBlock + WaitForSomething2 0x00000010 + _0807E930 0x0007 + Wait 0x001e + _0807E5F8 0x00000020 + _0807E930 0x0003 + WaitForSomething2 0x00000010 + _0807E930 0x0007 + Wait 0x001e + _0807E5F8 0x00000020 + _0807E930 0x0003 + WaitForSomething2 0x00000010 + Wait 0x0001 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/ezlo/script_PlayerAtFirstLookAtEzlo.inc b/data/scripts/cutscene/ezlo/script_PlayerAtFirstLookAtEzlo.inc new file mode 100644 index 00000000..1330fd87 --- /dev/null +++ b/data/scripts/cutscene/ezlo/script_PlayerAtFirstLookAtEzlo.inc @@ -0,0 +1,10 @@ +@ First look at Ezlo Player +SCRIPT_START script_PlayerAtFirstLookAtEzlo + EndBlock +script_08012AB2: + _0807EB44 0x0002 + Wait 0x000a + _0807EB44 0x0006 + Wait 0x000a + Jump script_08012AB2 + .2byte 0x0000 diff --git a/data/scripts/cutscene/ezlo/script_PlayerDefeatedOctoroks.inc b/data/scripts/cutscene/ezlo/script_PlayerDefeatedOctoroks.inc new file mode 100644 index 00000000..19d3b88a --- /dev/null +++ b/data/scripts/cutscene/ezlo/script_PlayerDefeatedOctoroks.inc @@ -0,0 +1,12 @@ +@ Ezlo octoroks defeated Player +SCRIPT_START script_PlayerDefeatedOctoroks + BeginBlock + SetEntitySpeed 0x0100 + EndBlock + DoPostScriptAction 0x0001 + _0807EDD4 0x0388, 0x0180 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/cutscene/ezlo/script_PlayerEzloBeingBullied.inc b/data/scripts/cutscene/ezlo/script_PlayerEzloBeingBullied.inc new file mode 100644 index 00000000..3d67f251 --- /dev/null +++ b/data/scripts/cutscene/ezlo/script_PlayerEzloBeingBullied.inc @@ -0,0 +1,13 @@ +@ Ezlo being bullied Player +SCRIPT_START script_PlayerEzloBeingBullied + BeginBlock + SetEntitySpeed 0x0080 + EndBlock + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x0004 + Wait 0x003c + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/ezlo/script_PlayerGetEzloCap.inc b/data/scripts/cutscene/ezlo/script_PlayerGetEzloCap.inc new file mode 100644 index 00000000..545b7a6c --- /dev/null +++ b/data/scripts/cutscene/ezlo/script_PlayerGetEzloCap.inc @@ -0,0 +1,5 @@ +@ Get Ezlo cap Player +SCRIPT_START script_PlayerGetEzloCap + DoPostScriptAction 0x0015 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/cutscene/intro/script_HouseDoorIntro.inc b/data/scripts/cutscene/intro/script_HouseDoorIntro.inc new file mode 100644 index 00000000..41718dc5 --- /dev/null +++ b/data/scripts/cutscene/intro/script_HouseDoorIntro.inc @@ -0,0 +1,20 @@ +@ Intro house door +SCRIPT_START script_HouseDoorIntro + BeginBlock + EndBlock + WaitForSomething2 0x00000010 + @ Open door + PlaySound SFX_F0 + DoPostScriptAction 0x0008 + Wait 0x001e + @ Close door + PlaySound SFX_F1 + DoPostScriptAction 0x0007 + Wait 0x005a + _0807E778 0x0004 + @ Circle transition + _0807E80C 0x00000000 + WaitFor_2 @ Wait for end of transition + Call sub_0805367C +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/intro/script_IntroCameraTarget.inc b/data/scripts/cutscene/intro/script_IntroCameraTarget.inc new file mode 100644 index 00000000..d208ad40 --- /dev/null +++ b/data/scripts/cutscene/intro/script_IntroCameraTarget.inc @@ -0,0 +1,17 @@ +@ Intro camera target +SCRIPT_START script_IntroCameraTarget + SetEntityPositionRelative 0x0240, 0x0178 + CameraTargetEntity + SetEntitySpeed 0x0080 + Wait 0x0078 + PlayBgm BGM_MINISH_CAP + _0807E778 0x0002 + @ Fade in + DoFade4 + WaitFor_2 @ TODO wait for fade to be finished + Wait 0x0078 + _0807E5F8 0x00000004 + Call sub_08053648 + @ Move camera target down + _0807EDD4 0x0240, 0x0228 +SCRIPT_END diff --git a/data/scripts/cutscene/intro/script_Npc4EOutsideLinksHouse.inc b/data/scripts/cutscene/intro/script_Npc4EOutsideLinksHouse.inc new file mode 100644 index 00000000..24a29289 --- /dev/null +++ b/data/scripts/cutscene/intro/script_Npc4EOutsideLinksHouse.inc @@ -0,0 +1,21 @@ +@ NPC4E in front of links house during intro +SCRIPT_START script_Npc4EOutsideLinksHouse + BeginBlock + SetEntityPositionRelative 0x0238, 0x01a8 + Call sub_0807F844 + Call sub_0807F348 + _0807E864 + Call sub_0807DF28 + EndBlock + _0807E778 0x0010 + DoFade6 + WaitFor_2 + _0807E5F8 0x00000001 + WaitForSomething2 0x00000002 + _0807F0B4 0x0004 + CameraTargetPlayer + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/intro/script_Object69Intro.inc b/data/scripts/cutscene/intro/script_Object69Intro.inc new file mode 100644 index 00000000..3165207b --- /dev/null +++ b/data/scripts/cutscene/intro/script_Object69Intro.inc @@ -0,0 +1,16 @@ +@ Intro smith OBJECT_69 ? +SCRIPT_START script_Object69Intro + BeginBlock + Call sub_0807DF28 + _0807E864 + _0807E5F8 0x00000000 + EndBlock + WaitFor_2 + Wait 0x0078 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000001 + SetGlobalFlag 0x001c + Call sub_0807DF50 + _0807E878 + Call sub_0807921C +SCRIPT_END diff --git a/data/scripts/cutscene/intro/script_Object69Intro2.inc b/data/scripts/cutscene/intro/script_Object69Intro2.inc new file mode 100644 index 00000000..2da80def --- /dev/null +++ b/data/scripts/cutscene/intro/script_Object69Intro2.inc @@ -0,0 +1,9 @@ +@ Intro unknown second OBJECT_69 +SCRIPT_START script_Object69Intro2 + Wait 0x003c +script_08009A38: + Call sub_08066258 + Wait 0x001e + Call sub_08066258 + Wait 0x005a + Jump script_08009A38 diff --git a/data/scripts/cutscene/intro/script_PlayerIntro.inc b/data/scripts/cutscene/intro/script_PlayerIntro.inc new file mode 100644 index 00000000..862bf6e6 --- /dev/null +++ b/data/scripts/cutscene/intro/script_PlayerIntro.inc @@ -0,0 +1,24 @@ +@ Intro Player +SCRIPT_START script_PlayerIntro + BeginBlock + Call sub_0807DF28 + _0807E864 + SetLocalFlag 0x0046 + EndBlock + WaitFor_2 + Wait 0x001e + @ Wake up message + MessageFromTarget 0x1005 + WaitUntilTextboxCloses + Wait 0x003c + Call sub_0807529C + Wait 0x003c + @ Exclamation mark + DoPostScriptAction 0x0014 + Wait 0x001e + @ Give control to the player? + Call sub_08053250 + _0807E878 + Call sub_0807DF50 + Call sub_080791D0 +SCRIPT_END diff --git a/data/scripts/cutscene/intro/script_PlayerMoveToSmith.inc b/data/scripts/cutscene/intro/script_PlayerMoveToSmith.inc new file mode 100644 index 00000000..3f349401 --- /dev/null +++ b/data/scripts/cutscene/intro/script_PlayerMoveToSmith.inc @@ -0,0 +1,28 @@ +@ Player at Smith during intro +SCRIPT_START script_PlayerMoveToSmith + BeginBlock + _0807E8E4_1 + SetEntitySpeed 0x00c0 + EndBlock + _0807E5F8 0x00000004 + DoPostScriptAction 0x0004 + Wait 0x003c + _0807EDD4 0x0040, 0x0060 + _0807EDD4 0x0060, 0x0068 + _0807E5F8 0x00000004 + DoPostScriptAction 0x0000 + _0807E8E4_0 + Wait 0x000f + PlaySound SFX_VO_ZELDA1 + DoPostScriptAction 0x0000 + Wait 0x001e + _0807E5F8 0x00000008 + WaitForSomething2 0x00000002 + _0807EDD4 0x0070, 0x005c + _0807E8E4_1 + DoPostScriptAction 0x0000 + Wait 0x000f + _0807E5F8 0x00000008 + WaitForSomething2 0x00000002 + _0807E5F8 0x00000008 +SCRIPT_END diff --git a/data/scripts/cutscene/intro/script_SmithIntro.inc b/data/scripts/cutscene/intro/script_SmithIntro.inc new file mode 100644 index 00000000..e1e63bf5 --- /dev/null +++ b/data/scripts/cutscene/intro/script_SmithIntro.inc @@ -0,0 +1,38 @@ +@ Intro Smith 1 +SCRIPT_START script_SmithIntro + BeginBlock + Call sub_0807F348 + SetEntitySpeed 0x0040 + _0807EB44 0x0004 + _0807E930 0x000c + _0807E908 0x0003 + EndBlock + Wait 0x001e + CameraTargetEntity + _0807E778 0x0004 + _0807E800 0x00000000 + WaitFor_2 + WaitForSomething2 0x00000008 + DoPostScriptAction 0x0004 + Wait 0x001e + _0807E930 0x000b + Wait 0x001e + MessageFromTarget 0x1002 + WaitUntilTextboxCloses + DoPostScriptAction 0x0000 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + _0807E908 0x0001 + _0807EB44 0x0004 + _0807EDD4 0x00b8, 0x005c + _0807EB44 0x0006 + DoPostScriptAction 0x0001 + MessageFromTarget 0x1004 + WaitUntilTextboxCloses + DoPostScriptAction 0x0000 + Wait 0x001e + _0807E778 0x0002 + DoFade5 + WaitFor_2 + Call sub_08053634 +SCRIPT_END diff --git a/data/scripts/cutscene/intro/script_SmithIntro2.inc b/data/scripts/cutscene/intro/script_SmithIntro2.inc new file mode 100644 index 00000000..6ad10242 --- /dev/null +++ b/data/scripts/cutscene/intro/script_SmithIntro2.inc @@ -0,0 +1,66 @@ +@ Intro Smith 2 +SCRIPT_START script_SmithIntro2 + BeginBlock + _0807EB44 0x0006 + SetEntitySpeed 0x0080 + _0807E9D4 + Call sub_0807F348 + EndBlock + CheckGlobalFlag 0x0013 + JumpIf script_08009C4C + _0807E888 + Wait 0x000a + _0807E864 + StartPlayerScript script_PlayerMoveToSmith + Call sub_0807DF28 + WaitForSomething2 0x00000008 + _0807EDD4 0x0080, 0x005c + _0807EB44 0x0006 + DoPostScriptAction 0x0000 + Wait 0x000f + DoPostScriptAction 0x0001 + MessageFromTargetPos 0x1009, 0x0000 + _0807E8E4_1 + WaitUntilTextboxCloses + DoPostScriptAction 0x0000 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + _0807EB8C + DoPostScriptAction 0x0001 + MessageFromTargetPos 0x100b, 0x0000 + WaitUntilTextboxCloses + DoPostScriptAction 0x0000 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000008 + _0807EDD4 0x007c, 0x005c + Wait 0x000f + DoPostScriptAction 0x000d + _0807EDD4 0x0084, 0x005c + _0807EB44 0x0006 + DoPostScriptAction 0x000c + DoPostScriptAction 0x0000 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000008 + Call sub_08053250 + @ Give player rusty sword + _0807F034 0x0034 + WaitPlayerGetItem + _0807E8E4_1 + DoPostScriptAction 0x0001 + MessageFromTargetPos 0x100c, 0x0000 + WaitUntilTextboxCloses + DoPostScriptAction 0x0000 + _0807E5F8 0x00000004 +script_08009C4C: + @ Talk to Smith + DoPostScriptAction 0x000a +script_08009C50: + CheckEntityInteractType + JumpIfNot script_08009C50 + _0807E864 + _0807EB74 + MessageNoOverlap 0x100e + _0807E878 + Jump script_08009C50 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/intro/script_ZeldaIntro.inc b/data/scripts/cutscene/intro/script_ZeldaIntro.inc new file mode 100644 index 00000000..8c6cbb80 --- /dev/null +++ b/data/scripts/cutscene/intro/script_ZeldaIntro.inc @@ -0,0 +1,24 @@ +@ Intro Zelda at Smith +SCRIPT_START script_ZeldaIntro + BeginBlock + Call sub_0807F348 + SetEntitySpeed 0x00c0 + _0807EB44 0x0002 + DoPostScriptAction 0x0008 + EndBlock + WaitForSomething2 0x00000004 + DoPostScriptAction 0x0007 + _0807EDD4 0x0068, 0x0060 + Wait 0x000f + MessageFromTarget 0x1001 + WaitUntilTextboxCloses + DoPostScriptAction 0x0000 + _0807E5F8 0x00000008 + WaitForSomething2 0x00000004 + DoPostScriptAction 0x0001 + MessageFromTarget 0x1003 + WaitUntilTextboxCloses + DoPostScriptAction 0x0000 + _0807E5F8 0x00000008 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/intro/script_ZeldaLeaveLinksHouse.inc b/data/scripts/cutscene/intro/script_ZeldaLeaveLinksHouse.inc new file mode 100644 index 00000000..8c776a85 --- /dev/null +++ b/data/scripts/cutscene/intro/script_ZeldaLeaveLinksHouse.inc @@ -0,0 +1,19 @@ +@ Intro Zelda leaving +SCRIPT_START script_ZeldaLeaveLinksHouse + BeginBlock + SetEntitySpeed 0x0100 + _0807EB44 0x0006 + EndBlock + _0807EDD4 0x0078, 0x0060 + _0807EDD4 0x0078, 0x007c + Wait 0x001e + Call sub_0805368C + Wait 0x0008 + _0807EDD4 0x0078, 0x0098 + DoPostScriptAction 0x0008 + _0807E778 0x0010 + DoFade5 + WaitFor_2 + Call sub_08053634 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/intro/script_ZeldaMoveToLinksHouse.inc b/data/scripts/cutscene/intro/script_ZeldaMoveToLinksHouse.inc new file mode 100644 index 00000000..c53e3594 --- /dev/null +++ b/data/scripts/cutscene/intro/script_ZeldaMoveToLinksHouse.inc @@ -0,0 +1,29 @@ +@ Intro Zelda moves to links house +SCRIPT_START script_ZeldaMoveToLinksHouse + BeginBlock + SetEntityPositionRelative 0x01e8, 0x0110 + SetEntitySpeed 0x00c0 + DoPostScriptAction 0x0008 + EndBlock + WaitForSomething2 0x00000004 + DoPostScriptAction 0x0007 + _0807EDD4 0x01e8, 0x0200 + _0807EDD4 0x01f8, 0x0218 + _0807EDD4 0x0220, 0x0228 + _0807EDD4 0x0240, 0x0228 + @ Now the camera follows Zelda + CameraTargetEntity + _0807EDD4 0x0290, 0x0228 + _0807EDD4 0x0290, 0x01f8 + SetEntitySpeed 0x0080 + _0807EDD4 0x0290, 0x01c8 + SetEntitySpeed 0x00c0 + _0807EDD4 0x0290, 0x0198 + Wait 0x001e + @ Door is opening + _0807E5F8 0x00000010 @ Send signal to door + _0807EDD4 0x0290, 0x0190 + DoPostScriptAction 0x0008 + _0807EDD4 0x0290, 0x0188 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/intro/script_ZeldaOutsideLinksHouse.inc b/data/scripts/cutscene/intro/script_ZeldaOutsideLinksHouse.inc new file mode 100644 index 00000000..acd3f102 --- /dev/null +++ b/data/scripts/cutscene/intro/script_ZeldaOutsideLinksHouse.inc @@ -0,0 +1,76 @@ +@ Zelda intro in front of links house +SCRIPT_START script_ZeldaOutsideLinksHouse + BeginBlock + SetEntitySpeed 0x0180 + DoPostScriptAction 0x000a + Call sub_08066D04 + Call sub_08066D14 + SetEntityPositionRelative 0x01e8, 0x0180 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + EndBlock + WaitForSomething2 0x00000001 + Call sub_08066E08 + _0807E864 + MessageFromTargetPos 0x1010, 0x000c + WaitUntilTextboxCloses + _0807E5F8 0x00000002 +script_08014D1E: + EndBlock + BeginBlock + @ Left of links house + CheckPlayerInRegion 0x01d8, 0x0160, 0x3050 + JumpIfNot script_08014D1E + EndBlock + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + MessageNoOverlap 0x1012 + WaitUntilTextboxCloses + _0807EC64 0x0040 + _0807EB44 0x0004 + Call sub_08066E08 + SetEntityPositionRelative 0x01f8, 0x00c8 + Call sub_0807DF50 + _0807E878 +script_08014D60: + @ Between trees + CallWithArg sub_0807F6B4, 0x000000e8 + JumpIf script_08014D60 + _0807E864 + Call sub_0807DF28 + MessageNoOverlap 0x1013 + WaitUntilTextboxCloses + _0807EC64 0x0040 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + SetEntityPositionRelative 0x01e8, 0x0028 + Call sub_0807DF50 + _0807E878 +script_08014D96: + @ Before hyrule town entry + CheckPlayerInRegion 0x01f8, 0x0028, 0x2040 + JumpIfNot script_08014D96 + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + MessageNoOverlap 0x1014 + WaitUntilTextboxCloses + _0807EC64 0x0018 +.ifdef JP + SetLocalFlag 0x006b +.else +.ifdef EU + SetLocalFlag 0x006b +.else +.ifdef DEMO_JP + SetLocalFlag 0x006b @ TODO deduplicate +.else + SetLocalFlag 0x006d +.endif +.endif +.endif + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/intro/script_ZeldaTalkToSmith.inc b/data/scripts/cutscene/intro/script_ZeldaTalkToSmith.inc new file mode 100644 index 00000000..4e986e81 --- /dev/null +++ b/data/scripts/cutscene/intro/script_ZeldaTalkToSmith.inc @@ -0,0 +1,41 @@ +@ Intro Zelda at Smith 2 +SCRIPT_START script_ZeldaTalkToSmith + BeginBlock + _0807EB44 0x0002 + SetEntitySpeed 0x0100 + Call sub_0807F348 + EndBlock + WaitForSomething2 0x00000004 + DoPostScriptAction 0x0004 + _0807EB74 + WaitForSomething2 0x00000004 + _0807EB74 + WaitForSomething2 0x00000004 + _0807EB74 + _0807EB8C + DoPostScriptAction 0x0001 + MessageFromTargetPos 0x100a, 0x0000 + WaitUntilTextboxCloses + DoPostScriptAction 0x0000 + _0807E5F8 0x00000008 + WaitForSomething2 0x00000004 + _0807EB8C + DoPostScriptAction 0x0001 + _0807EB8C + _0807EB44 0x0002 + MessageFromTargetPos 0x100d, 0x0000 + WaitUntilTextboxCloses + DoPostScriptAction 0x0000 + @ Leave room + _0807EDD4 0x0028, 0x0060 + _0807EDD4 0x0000, 0x0060 + Call sub_080536A8 + Wait 0x001e + BeginBlock + SetGlobalFlag 0x0013 + Call sub_0807DF50 + Call sub_080791D0 + _0807E878 + EndBlock +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/introAssembly/script_GuardAtAssembly.inc b/data/scripts/cutscene/introAssembly/script_GuardAtAssembly.inc new file mode 100644 index 00000000..4b6b7c79 --- /dev/null +++ b/data/scripts/cutscene/introAssembly/script_GuardAtAssembly.inc @@ -0,0 +1,19 @@ +@ Intro Assembly Guard +SCRIPT_START script_GuardAtAssembly + BeginBlock + _0807EB44 0x0000 + _0807E930 0x0000 + EndBlock + WaitForSomething 0x00000010 + PlaySound SFX_11C + _0807E930 0x0001 + Wait 0x0010 + PlaySound SFX_11C + _0807EB44 0x0004 + _0807E930 0x0006 + Wait 0x0010 + DoPostScriptAction 0x000f + SetEntitySpeed 0x0200 + _0807ECC4 0x1c20 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/introAssembly/script_KingDaltusAtAssembly.inc b/data/scripts/cutscene/introAssembly/script_KingDaltusAtAssembly.inc new file mode 100644 index 00000000..9b88ae6c --- /dev/null +++ b/data/scripts/cutscene/introAssembly/script_KingDaltusAtAssembly.inc @@ -0,0 +1,68 @@ +@ Intro Assembly King Daltus +SCRIPT_START script_KingDaltusAtAssembly + BeginBlock + Call sub_0807F348 + SetEntitySpeed 0x0100 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + _0807E9D4 + DoPostScriptAction 0x000a + EndBlock + WaitForSomething2 0x00000080 + _0807EB44 0x0004 + _0807ECC4 0x0008 + _0807E930 0x0004 + MessageFromTargetPos 0x1050, 0x000e + WaitUntilTextboxCloses + DoPostScriptAction 0x0000 + _0807E5F8 0x00000100 + WaitForSomething2 0x00000080 + _0807E930 0x0004 + MessageFromTargetPos 0x1052, 0x000e + WaitUntilTextboxCloses + DoPostScriptAction 0x0000 + _0807E5F8 0x00000100 + WaitForSomething2 0x00000080 + _0807EB44 0x0006 + _0807E930 0x0005 + MessageFromTargetPos 0x1054, 0x000e + WaitUntilTextboxCloses + DoPostScriptAction 0x0000 + _0807E5F8 0x00000100 + WaitForSomething2 0x00000080 + _0807EB44 0x0004 + _0807E5F8 0x00000100 + WaitForSomething2 0x00000080 + _0807E930 0x0004 + MessageFromTargetPos 0x1056, 0x000e + WaitUntilTextboxCloses + DoPostScriptAction 0x0000 + _0807E5F8 0x00000100 + WaitForSomething2 0x00000080 + _0807E930 0x0004 + MessageFromTargetPos 0x1057, 0x000e + WaitUntilTextboxCloses + DoPostScriptAction 0x0000 + _0807E5F8 0x00000100 + WaitForSomething2 0x00000080 + _0807E930 0x0004 + MessageFromTargetPos 0x1058, 0x000e + WaitUntilTextboxCloses + DoPostScriptAction 0x0000 + _0807E5F8 0x00000100 + WaitForSomething2 0x00000080 + _0807E930 0x0004 + MessageFromTargetPos 0x105c, 0x000e + WaitUntilTextboxCloses + DoPostScriptAction 0x0000 + _0807E5F8 0x00000100 +script_0800917C: + CheckEntityInteractType + JumpIfNot script_0800917C + _0807E864 + _0807EB74 + Call sub_0806673C + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_0800917C diff --git a/data/scripts/cutscene/introAssembly/script_MinisterPothoAtAssembly.inc b/data/scripts/cutscene/introAssembly/script_MinisterPothoAtAssembly.inc new file mode 100644 index 00000000..4142d592 --- /dev/null +++ b/data/scripts/cutscene/introAssembly/script_MinisterPothoAtAssembly.inc @@ -0,0 +1,19 @@ +@ Intro Assembly Minister Potho +SCRIPT_START script_MinisterPothoAtAssembly + BeginBlock + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + EndBlock + WaitForSomething2 0x00000004 + PlaySound SFX_PLY_JUMP + _0807EF3C 0x0180, 0x0030 + _0807EB44 0x0002 + _0807E5F8 0x00000008 + WaitForSomething2 0x00000004 + _0807EB44 0x0004 + _0807E5F8 0x00000008 + BeginBlock + _0807E9D4 + DoPostScriptAction 0x000a + Jump script_0800927E + .2byte 0x0000 diff --git a/data/scripts/cutscene/introAssembly/script_Npc4EIntroAssembly.inc b/data/scripts/cutscene/introAssembly/script_Npc4EIntroAssembly.inc new file mode 100644 index 00000000..3b00fdf8 --- /dev/null +++ b/data/scripts/cutscene/introAssembly/script_Npc4EIntroAssembly.inc @@ -0,0 +1,77 @@ +@ Intro Assembly NPC4E +SCRIPT_START script_Npc4EIntroAssembly + BeginBlock + SetEntityPositionRelative 0x0088, 0x0078 + EndBlock +script_08008E12: + CheckPlayerInRegion 0x00d8, 0x0098, 0x4020 + JumpIfNot script_08008E12 + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + _0807F0B4 0x0001 + CameraTargetEntity + WaitForPlayerAction0x17 + Wait 0x003c + StartPlayerScript script_PlayerEnters + WaitForSomething2 0x00000020 + _0807E5F8 0x00000001 + WaitForSomething2 0x00000002 + _0807E5F8 0x00000001 + WaitForSomething2 0x00000002 + Wait 0x003c + _0807E5F8 0x00000080 + WaitForSomething2 0x00000100 + _0807E5F8 0x00000001 + WaitForSomething2 0x00000002 + Wait 0x000f + _0807E5F8 0x00000080 + WaitForSomething2 0x00000100 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + MessageFromTargetPos 0x1053, 0x000e + WaitUntilTextboxCloses + _0807E5F8 0x00000080 + WaitForSomething2 0x00000100 + _0807E5F8 0x00000080 + WaitForSomething2 0x00000100 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + _0807E5F8 0x00000001 + WaitForSomething2 0x00000002 + _0807E5F8 0x00000080 + WaitForSomething2 0x00000100 + _0807E5F8 0x00000040 + WaitForSomething2 0x00000020 + _0807E5F8 0x00000001 + WaitForSomething2 0x00000002 + _0807F034 0x0035 + WaitPlayerGetItem + StartPlayerScript script_PlayerGetSword + WaitForSomething2 0x00000020 + _0807E8E4_0 + _0807E5F8 0x00000080 + WaitForSomething2 0x00000100 + _0807E5F8 0x00000010 + Wait 0x0078 + _0807E5F8 0x00000080 + WaitForSomething2 0x00000100 + _0807E8E4_1 + _0807E5F8 0x00000001 + WaitForSomething2 0x00000002 + _0807F034 0x0047 + WaitPlayerGetItem + SetIntVariable 0x00000003 + Call sub_0807F420 + _0807E8E4_0 + _0807E5F8 0x00000080 + WaitForSomething2 0x00000100 + _0807F0B4 0x0004 + CameraTargetPlayer + SetGlobalFlag 0x0015 + Call sub_0806DCC0 + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/introAssembly/script_PlayerEnters.inc b/data/scripts/cutscene/introAssembly/script_PlayerEnters.inc new file mode 100644 index 00000000..47cdcef5 --- /dev/null +++ b/data/scripts/cutscene/introAssembly/script_PlayerEnters.inc @@ -0,0 +1,20 @@ +@ Intro Assembly Player +SCRIPT_START script_PlayerEnters + BeginBlock + SetEntitySpeed 0x0100 + EndBlock + DoPostScriptAction 0x0001 + _0807EDD4 0x00b8, 0x0090 + _0807EB44 0x0006 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000020 + WaitForSomething2 0x00000040 + DoPostScriptAction 0x0001 + _0807EDD4 0x0088, 0x0078 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + Wait 0x000f + _0807E5F8 0x00000020 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/introAssembly/script_PlayerGetSword.inc b/data/scripts/cutscene/introAssembly/script_PlayerGetSword.inc new file mode 100644 index 00000000..fb1ff121 --- /dev/null +++ b/data/scripts/cutscene/introAssembly/script_PlayerGetSword.inc @@ -0,0 +1,13 @@ +@ Intro Assembly Player gets Sword +SCRIPT_START script_PlayerGetSword + _0807F078 0x0001, 0x0001 + CallWithArg sub_0807F918, 0x00000001 + PlaySound SFX_109 + CallWithArg sub_0807F238, 0x0000045f + Call sub_0807F304 + MessageFromTargetPos 0x0501, 0x000e + WaitUntilTextboxCloses + _0807E5F8 0x00000020 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/introAssembly/script_PlayerWakingUpInHyruleCastle.inc b/data/scripts/cutscene/introAssembly/script_PlayerWakingUpInHyruleCastle.inc new file mode 100644 index 00000000..5943b93a --- /dev/null +++ b/data/scripts/cutscene/introAssembly/script_PlayerWakingUpInHyruleCastle.inc @@ -0,0 +1,33 @@ +@ Intro Hyrule Castle Player Sleeping +SCRIPT_START script_PlayerWakingUpInHyruleCastle + BeginBlock + Call sub_0807DF28 + _0807E864 +.ifdef JP + SetLocalFlag 0x009e +.else +.ifdef EU + SetLocalFlag 0x009e +.else +.ifdef DEMO_JP + SetLocalFlag 0x009e @ TODO deduplicate +.else + SetLocalFlag 0x009f +.endif +.endif +.endif + EndBlock + Wait 0x003c + _0807E778 0x0004 + DoFade4 + WaitFor_2 +script_08009EA4: + Call sub_0807F0D8 + JumpIfNot script_08009EA4 + DoPostScriptAction 0x0014 + Wait 0x000a + Call sub_08053250 + _0807E878 + Call sub_0807DF50 + Call sub_080791D0 +SCRIPT_END diff --git a/data/scripts/cutscene/introAssembly/script_SmithAtAssembly.inc b/data/scripts/cutscene/introAssembly/script_SmithAtAssembly.inc new file mode 100644 index 00000000..d5f52ed6 --- /dev/null +++ b/data/scripts/cutscene/introAssembly/script_SmithAtAssembly.inc @@ -0,0 +1,55 @@ +@ Intro Assembly Smith +SCRIPT_START script_SmithAtAssembly + BeginBlock + Call sub_0807F348 + _0807EB44 0x0006 + DoPostScriptAction 0x0000 + EndBlock + WaitForSomething2 0x00000001 + _0807EB74 + DoPostScriptAction 0x0001 + MessageFromTargetPos 0x105b, 0x0000 + WaitUntilTextboxCloses + DoPostScriptAction 0x0000 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000001 + _0807EB44 0x0006 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000001 + DoPostScriptAction 0x0005 + Wait 0x003c + DoPostScriptAction 0x0001 + MessageFromTargetPos 0x1051, 0x0000 + WaitUntilTextboxCloses + DoPostScriptAction 0x0000 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000001 + DoPostScriptAction 0x0004 + Wait 0x003c + _0807EB74 + _0807EB8C + DoPostScriptAction 0x0001 + MessageFromTargetPos 0x1055, 0x0000 + WaitUntilTextboxCloses + DoPostScriptAction 0x0000 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000001 + _0807EB74 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000001 + SetEntitySpeed 0x0080 + DoPostScriptAction 0x0001 + _0807EDD4 0x0098, 0x0078 + _0807EB74 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x0001 + MessageFromTargetPos 0x1059, 0x0000 + WaitUntilTextboxCloses + DoPostScriptAction 0x0000 + _0807E5F8 0x00000002 + BeginBlock + _0807E9D4 + DoPostScriptAction 0x000a + Jump script_080092B2 + .2byte 0x0000 diff --git a/data/scripts/cutscene/introBusinessScrub/script_080157AC.inc b/data/scripts/cutscene/introBusinessScrub/script_080157AC.inc new file mode 100644 index 00000000..c9cd9e1d --- /dev/null +++ b/data/scripts/cutscene/introBusinessScrub/script_080157AC.inc @@ -0,0 +1,86 @@ +@ Intro Outside Castle OBJECT_69 1? +SCRIPT_START script_080157AC + CheckPlayerInRegion 0x01f8, 0x0310, 0x2020 + JumpIfNot script_080157AC + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + _0807E5F8 0x00000001 + WaitForSomething2 0x00000002 + Call sub_0807DF50 + _0807E878 +script_080157DA: + CheckPlayerInRegion 0x0250, 0x0230, 0x3040 + JumpIfNot script_080157DA + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + Call sub_0807F3F8 + Wait 0x003c + _0807E5F8 0x00000001 + WaitForSomething2 0x00000002 + StartPlayerScript script_PlayerIntroBusinessScrub1 + _0807F0B4 0x0001 + SetEntityPositionRelative 0x0248, 0x0218 + CameraTargetEntity + Call sub_0807F5C0 + WaitForSomething2 0x00000010 + _0807E5F8 0x00000008 + WaitForSomething2 0x00000020 + _0807E5F8 0x00000001 + WaitForSomething2 0x00000002 + StartPlayerScript script_PlayerIntroBusinessScrub2 + WaitForSomething2 0x00000010 + _0807E5F8 0x00000001 + WaitForSomething2 0x00000002 + MessageFromTargetPos 0x1066, 0x0002 + WaitUntilTextboxCloses + _0807E5F8 0x00000001 + WaitForSomething2 0x00000002 + Call sub_0807DF50 + _0807E878 + Call sub_08066F94 + _0807E5F8 0x00000008 +script_08015880: + CheckRoomFlag 0x0000 + JumpIfNot script_08015880 +script_08015888: + WaitUntilTextboxCloses + ComparePlayerAction 0x001c + JumpIf script_08015888 + _0807E864 + Call sub_0807DF28 + _0807F0B4 0x0002 + SetEntityPositionRelative 0x0248, 0x0208 + CameraTargetEntity + StartPlayerScript script_PlayerIntroBusinessScrub3 + WaitForSomething2 0x00000010 + MessageFromTargetPos 0x106a, 0x000c + WaitUntilTextboxCloses + _0807E5F8 0x00000008 + Wait 0x0078 + _0807E8E4_2 + MessageFromTargetPos 0x1068, 0x0002 + WaitUntilTextboxCloses + _0807E5F8 0x00000001 + WaitForSomething2 0x00000002 +.ifdef JP + SetLocalFlag 0x0089 +.else +.ifdef EU + SetLocalFlag 0x0089 +.else +.ifdef DEMO_JP + SetLocalFlag 0x0089 @ TODO deduplicate +.else + SetLocalFlag 0x008b +.endif +.endif +.endif + Call sub_08066FB8 + Call sub_0807DF50 + _0807E878 + _0807F0B4 0x0004 + CameraTargetPlayer + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/introBusinessScrub/script_08015B14.inc b/data/scripts/cutscene/introBusinessScrub/script_08015B14.inc new file mode 100644 index 00000000..b53d5a0a --- /dev/null +++ b/data/scripts/cutscene/introBusinessScrub/script_08015B14.inc @@ -0,0 +1,11 @@ +@ OBJECT_6A in sub_080954AC ? businessScrubPrologue? +SCRIPT_START script_08015B14 + BeginBlock + _0807E930 0x0018 + SetEntitySpeed 0x0300 + EndBlock + _0807EDD4 0x0248, 0x0218 + _0807E5F8 0x00000020 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/introBusinessScrub/script_08015B34.inc b/data/scripts/cutscene/introBusinessScrub/script_08015B34.inc new file mode 100644 index 00000000..c4d17a30 --- /dev/null +++ b/data/scripts/cutscene/introBusinessScrub/script_08015B34.inc @@ -0,0 +1,35 @@ +@ Intro Outside Castle OBJECT_69 2? +SCRIPT_START script_08015B34 + EndBlock + BeginBlock +.ifdef JP + CheckLocalFlag 0x0089 +.else +.ifdef EU + CheckLocalFlag 0x0089 +.else +.ifdef DEMO_JP + CheckLocalFlag 0x0089 @ TODO deduplicate +.else + CheckLocalFlag 0x008b +.endif +.endif +.endif + JumpIf script_08015B7E + @ Prevent player from leaving to Hyrule Town + CallWithArg sub_0807F6B4, 0x00000318 + JumpIfNot script_08015B34 + EndBlock + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + MessageFromTargetPos 0x2506, 0x0002 + WaitUntilTextboxCloses + StartPlayerScript script_PlayerAtIntroBusinessScrub4 + WaitForSomething2 0x00000004 + Call sub_0807DF50 + _0807E878 + Jump script_08015B34 +script_08015B7E: + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/introBusinessScrub/script_BusinessScrubIntro.inc b/data/scripts/cutscene/introBusinessScrub/script_BusinessScrubIntro.inc new file mode 100644 index 00000000..f549c630 --- /dev/null +++ b/data/scripts/cutscene/introBusinessScrub/script_BusinessScrubIntro.inc @@ -0,0 +1,22 @@ +@ Intro Outside Castle Business Scrub +SCRIPT_START script_BusinessScrubIntro + BeginBlock + DoPostScriptAction 0x0007 + DoPostScriptAction 0x000a + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + EndBlock + WaitForSomething2 0x00000008 + _0807E908 0x0007 + WaitForSomething2 0x00000008 + _0807E908 0x0006 + SetRoomFlag 0x0000 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + WaitForSomething2 0x00000008 + Wait 0x003c + PlaySound SFX_SECRET + Call sub_08046078 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/introBusinessScrub/script_PlayerAtIntroBusinessScrub4.inc b/data/scripts/cutscene/introBusinessScrub/script_PlayerAtIntroBusinessScrub4.inc new file mode 100644 index 00000000..1b3b8636 --- /dev/null +++ b/data/scripts/cutscene/introBusinessScrub/script_PlayerAtIntroBusinessScrub4.inc @@ -0,0 +1,11 @@ +@ Player at intro outside castle +SCRIPT_START script_PlayerAtIntroBusinessScrub4 + SetEntitySpeed 0x0100 + DoPostScriptAction 0x0001 + _0807EC64 0x0010 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000004 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/introBusinessScrub/script_PlayerIntroBusinessScrub1.inc b/data/scripts/cutscene/introBusinessScrub/script_PlayerIntroBusinessScrub1.inc new file mode 100644 index 00000000..729f3715 --- /dev/null +++ b/data/scripts/cutscene/introBusinessScrub/script_PlayerIntroBusinessScrub1.inc @@ -0,0 +1,9 @@ +@ Player at intro outside castle 1? +SCRIPT_START script_PlayerIntroBusinessScrub1 + SetEntitySpeed 0x0100 + _0807EDD4 0x0218, 0x0238 + _0807EB44 0x0002 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000010 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/cutscene/introBusinessScrub/script_PlayerIntroBusinessScrub2.inc b/data/scripts/cutscene/introBusinessScrub/script_PlayerIntroBusinessScrub2.inc new file mode 100644 index 00000000..76ba35a0 --- /dev/null +++ b/data/scripts/cutscene/introBusinessScrub/script_PlayerIntroBusinessScrub2.inc @@ -0,0 +1,9 @@ +@ Player at intro outside castle +SCRIPT_START script_PlayerIntroBusinessScrub2 + SetEntitySpeed 0x0100 + _0807EDD4 0x0238, 0x0228 + _0807EB44 0x0002 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000010 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/cutscene/introBusinessScrub/script_PlayerIntroBusinessScrub3.inc b/data/scripts/cutscene/introBusinessScrub/script_PlayerIntroBusinessScrub3.inc new file mode 100644 index 00000000..e30904f6 --- /dev/null +++ b/data/scripts/cutscene/introBusinessScrub/script_PlayerIntroBusinessScrub3.inc @@ -0,0 +1,9 @@ +@ Intro Outside Castle Player +SCRIPT_START script_PlayerIntroBusinessScrub3 + SetEntitySpeed 0x0100 + _0807EDD4 0x0248, 0x0208 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000010 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/cutscene/introBusinessScrub/script_ZeldaIntroBusinessScrub.inc b/data/scripts/cutscene/introBusinessScrub/script_ZeldaIntroBusinessScrub.inc new file mode 100644 index 00000000..3a1d1d3d --- /dev/null +++ b/data/scripts/cutscene/introBusinessScrub/script_ZeldaIntroBusinessScrub.inc @@ -0,0 +1,74 @@ +@ Intro Outside Castle Zelda +SCRIPT_START script_ZeldaIntroBusinessScrub + BeginBlock + SetEntitySpeed 0x0180 + DoPostScriptAction 0x0008 + DoPostScriptAction 0x000b + Call sub_08066D04 + EndBlock + WaitForSomething2 0x00000001 + BeginBlock + Call sub_08066D14 + MoveEntityToPlayer + EndBlock + DoPostScriptAction 0x0007 + _0807EB74 + _0807EDD4 0x01f8, 0x02f8 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + MessageFromTargetPos 0x1011, 0x0002 + WaitUntilTextboxCloses + _0807EDD4 0x01f8, 0x0268 + SetEntityPositionRelative 0x0248, 0x0218 + _0807EB44 0x0006 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000001 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000001 + Call sub_0807F3C8 + PlaySound SFX_VO_ZELDA3 + SetEntitySpeed 0x0200 + _0807ECC4 0x0008 + _0807E930 0x0040 + Call sub_0807F2D4 + _0807EB44 0x0006 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000001 + _0807EB44 0x0006 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000001 + SetEntitySpeed 0x0100 + _0807EDD4 0x0238, 0x0238 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x000a + _0807E9D4 + _0807E5F8 0x00000002 +script_08015A32: + EndBlock + BeginBlock + _0807EB74 + CheckRoomFlag 0x0000 + JumpIf script_08015A54 + CheckEntityInteractType + JumpIfNot script_08015A32 + EndBlock + MessageFromTargetPos 0x1067, 0x0002 + WaitUntilTextboxCloses + Jump script_08015A32 +script_08015A54: + EndBlock + DoPostScriptAction 0x000b + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + WaitForSomething2 0x00000001 + Call sub_08066D4C + _0807E5F8 0x00000002 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/introCeremony/script_08011890.inc b/data/scripts/cutscene/introCeremony/script_08011890.inc new file mode 100644 index 00000000..cbad968b --- /dev/null +++ b/data/scripts/cutscene/introCeremony/script_08011890.inc @@ -0,0 +1,17 @@ +@ Something during Intro Ceremony? Called via script_VaatiIntroCeremony +SCRIPT_START script_08011890 + BeginBlock + _0807E930 0x0000 + SetEntitySpeed 0x0200 + Call nullsub_527 + Call sub_08094B80 + EndBlock + Wait 0x00f0 + Call sub_08094B6C + _0807EDD4 0x01f8, 0x0088 + Call sub_08094B80 + PlaySound SFX_1CC + _0807E5F8 0x10000000 + WaitForSomething2 0x08000000 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/introCeremony/script_GuardBottomRight.inc b/data/scripts/cutscene/introCeremony/script_GuardBottomRight.inc new file mode 100644 index 00000000..84046e60 --- /dev/null +++ b/data/scripts/cutscene/introCeremony/script_GuardBottomRight.inc @@ -0,0 +1,35 @@ +@ Intro Ceremony Guard bottom right +SCRIPT_START script_GuardBottomRight + _0807E610 0x00002000 + _0807E5F8 0x00004000 + WaitForSomething2 0x00002000 + _0807E930 0x0005 + _0807EB44 0x0002 + _0807EC94 0x0010 + _0807EB44 0x0004 + _0807E930 0x0002 + _0807E5F8 0x00004000 + WaitForSomething2 0x00002000 + DoPostScriptAction 0x0004 + Wait 0x003c + _0807E930 0x0012 + PlaySound SFX_EM_MOBLIN_SPEAR + Wait 0x003c + _0807E930 0x0014 + SetEntitySpeed 0x0100 + _0807EDD4 0x0200, 0x0098 + _0807EDD4 0x0200, 0x00c8 + _0807E930 0x0013 + _0807E5F8 0x00004000 + WaitForSomething2 0x00002000 + DoPostScriptAction 0x0010 + Wait 0x000a + DoPostScriptAction 0x0010 + Call sub_0807F3C8 + _0807E930 0x0014 + SetEntitySpeed 0x0400 + SetEntityDirection 0x0002 + _0807EC1C 0x003c + _0807E5F8 0x00004000 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/introCeremony/script_GuardCarryingChest.inc b/data/scripts/cutscene/introCeremony/script_GuardCarryingChest.inc new file mode 100644 index 00000000..b558aaa0 --- /dev/null +++ b/data/scripts/cutscene/introCeremony/script_GuardCarryingChest.inc @@ -0,0 +1,55 @@ +@ Intro Ceremony Chest carrying Guard +@ and guard bottom left? +SCRIPT_START script_GuardCarryingChest + BeginBlock + DoPostScriptAction 0x0008 + SetEntitySpeed 0x0100 + Call sub_08095244 + Call sub_0807F338 + EndBlock + WaitForSomething 0x0002a800 + DoPostScriptAction 0x0007 + _0807E930 0x0006 + _0807ECC4 0x0010 + Wait 0x003c + _0807ECC4 0x0010 + Wait 0x003c + _0807ECC4 0x0010 + _0807E930 0x0002 + Call sub_08064050 + JumpTable script_08011312, script_GuardBottomRight, script_GuardTopLeft, script_GuardTopRight +@ Guard bottom left: +script_08011312: + _0807E610 0x00000800 + _0807E5F8 0x00001000 + WaitForSomething2 0x00000800 + _0807E930 0x0007 + _0807EB44 0x0006 + _0807ECF4 0x0010 + _0807EB44 0x0004 + _0807E930 0x0002 + _0807E5F8 0x00001000 + WaitForSomething2 0x00000800 + DoPostScriptAction 0x0004 + Wait 0x003c + _0807E930 0x0012 + PlaySound SFX_EM_MOBLIN_SPEAR + Wait 0x003c + _0807E930 0x0014 + SetEntitySpeed 0x0100 + _0807EDD4 0x01f0, 0x0098 + _0807EDD4 0x01f0, 0x00c8 + _0807E930 0x0013 + _0807E5F8 0x00001000 + WaitForSomething2 0x00000800 + DoPostScriptAction 0x0010 + Wait 0x000a + DoPostScriptAction 0x0010 + Call sub_0807F3C8 + _0807E930 0x0014 + SetEntitySpeed 0x0400 + SetEntityDirection 0x001e + _0807EC1C 0x003c + _0807E5F8 0x00001000 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/introCeremony/script_GuardEntryLeft.inc b/data/scripts/cutscene/introCeremony/script_GuardEntryLeft.inc new file mode 100644 index 00000000..4efe80a7 --- /dev/null +++ b/data/scripts/cutscene/introCeremony/script_GuardEntryLeft.inc @@ -0,0 +1,16 @@ +@ Intro Ceremony Entrance Guard left +SCRIPT_START script_GuardEntryLeft + BeginBlock + SetEntitySpeed 0x0100 + _0807EB44 0x0002 + _0807E930 0x0001 + EndBlock + WaitForSomething2 0x00080000 + _0807E930 0x0005 + PlaySound SFX_11C + _0807ECF4 0x0010 + _0807E930 0x0001 + _0807E5F8 0x00100000 + WaitForSomething2 0x00080000 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/introCeremony/script_GuardEntryRight.inc b/data/scripts/cutscene/introCeremony/script_GuardEntryRight.inc new file mode 100644 index 00000000..487b0bec --- /dev/null +++ b/data/scripts/cutscene/introCeremony/script_GuardEntryRight.inc @@ -0,0 +1,16 @@ +@ Intro Ceremony Entrace Guard right +SCRIPT_START script_GuardEntryRight + BeginBlock + SetEntitySpeed 0x0100 + _0807EB44 0x0006 + _0807E930 0x0003 + EndBlock + WaitForSomething2 0x00200000 + _0807E930 0x0007 + PlaySound SFX_11C + _0807EC94 0x0010 + _0807E930 0x0003 + _0807E5F8 0x00400000 + WaitForSomething2 0x00200000 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/introCeremony/script_GuardTopLeft.inc b/data/scripts/cutscene/introCeremony/script_GuardTopLeft.inc new file mode 100644 index 00000000..fd1af748 --- /dev/null +++ b/data/scripts/cutscene/introCeremony/script_GuardTopLeft.inc @@ -0,0 +1,44 @@ +@ Intro Ceremony Guard top left +SCRIPT_START script_GuardTopLeft + _0807E610 0x00008000 + _0807E5F8 0x00010000 + WaitForSomething2 0x00008000 + _0807E930 0x0007 + _0807EB44 0x0006 + _0807ECF4 0x0020 + _0807EB44 0x0004 + _0807E930 0x0006 + _0807ECC4 0x0010 + _0807E930 0x0002 + _0807E5F8 0x00010000 + WaitForSomething2 0x00008000 + DoPostScriptAction 0x0004 + Wait 0x003c + _0807E930 0x0012 + PlaySound SFX_EM_MOBLIN_SPEAR + _0807E5F8 0x00010000 + WaitForSomething2 0x00008000 + _0807E930 0x0014 + SetEntitySpeed 0x0100 + _0807EDD4 0x01e8, 0x0098 + SetEntitySpeed 0x0040 + _0807EEF4 0x0000, 0x0010 + _0807E930 0x0013 + _0807E5F8 0x00010000 + WaitForSomething2 0x00008000 + DoPostScriptAction 0x000d + _0807E930 0x0014 + SetEntitySpeed 0x0020 + _0807EEF4 0x0000, 0xfff0 + _0807E930 0x0013 + DoPostScriptAction 0x0010 + _0807E5F8 0x00010000 + WaitForSomething2 0x00008000 + Call sub_0807F3C8 + _0807E930 0x0014 + SetEntitySpeed 0x0400 + SetEntityDirection 0x001e + _0807EC1C 0x003c + _0807E5F8 0x00010000 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/introCeremony/script_GuardTopRight.inc b/data/scripts/cutscene/introCeremony/script_GuardTopRight.inc new file mode 100644 index 00000000..9b8b000e --- /dev/null +++ b/data/scripts/cutscene/introCeremony/script_GuardTopRight.inc @@ -0,0 +1,45 @@ +@ Intro Ceremony Guard top right +SCRIPT_START script_GuardTopRight + _0807E610 0x00020000 + _0807E5F8 0x00040000 + WaitForSomething2 0x00020000 + _0807E930 0x0005 + _0807EB44 0x0002 + _0807EC94 0x0020 + _0807EB44 0x0004 + _0807E930 0x0006 + _0807ECC4 0x0010 + _0807E930 0x0002 + _0807E5F8 0x00040000 + WaitForSomething2 0x00020000 + DoPostScriptAction 0x0004 + Wait 0x003c + _0807E930 0x0012 + PlaySound SFX_EM_MOBLIN_SPEAR + _0807E5F8 0x00040000 + WaitForSomething2 0x00020000 + _0807E930 0x0014 + SetEntitySpeed 0x0100 + _0807EDD4 0x0208, 0x0098 + SetEntitySpeed 0x0040 + _0807EEF4 0x0000, 0x0010 + _0807E930 0x0013 + _0807E5F8 0x00040000 + WaitForSomething2 0x00020000 + DoPostScriptAction 0x000d + _0807E930 0x0014 + SetEntitySpeed 0x0020 + _0807EEF4 0x0000, 0xfff0 + _0807E930 0x0013 + DoPostScriptAction 0x0010 + _0807E5F8 0x00040000 + WaitForSomething2 0x00020000 + Call sub_0807F3C8 + _0807E930 0x0014 + SetEntitySpeed 0x0400 + SetEntityDirection 0x0002 + _0807EC1C 0x003c + _0807E5F8 0x00040000 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/introCeremony/script_KingDaltusIntroCeremony.inc b/data/scripts/cutscene/introCeremony/script_KingDaltusIntroCeremony.inc new file mode 100644 index 00000000..2e28b685 --- /dev/null +++ b/data/scripts/cutscene/introCeremony/script_KingDaltusIntroCeremony.inc @@ -0,0 +1,26 @@ +@ Intro Ceremony King Daltus +SCRIPT_START script_KingDaltusIntroCeremony + BeginBlock + DoPostScriptAction 0x0008 + _0807EB44 0x0004 + SetEntitySpeed 0x0100 + EndBlock + Call sub_0807F338 + WaitForSomething2 0x00000040 + DoPostScriptAction 0x0007 + DoPostScriptAction 0x0001 + SetEntitySpeed 0x0040 + _0807EDD4 0x01f8, 0x0048 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000080 + WaitForSomething2 0x00000040 + DoPostScriptAction 0x0010 + Wait 0x001e + DoPostScriptAction 0x0010 + Call sub_0807F3C8 + SetEntitySpeed 0x0400 + SetEntityDirection 0x0008 + _0807EC1C 0x003c + _0807E5F8 0x00000080 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/introCeremony/script_MinisterPothoIntroCastle.inc b/data/scripts/cutscene/introCeremony/script_MinisterPothoIntroCastle.inc new file mode 100644 index 00000000..ecae12e4 --- /dev/null +++ b/data/scripts/cutscene/introCeremony/script_MinisterPothoIntroCastle.inc @@ -0,0 +1,58 @@ +@ Intro Hyrule Castle Minister Potho +SCRIPT_START script_MinisterPothoIntroCastle + BeginBlock + _0807EB44 0x0004 + DoPostScriptAction 0x0000 +.ifdef JP +.ifndef DEMO_JP + _0807E9D4 + DoPostScriptAction 0x000a +.endif +.else +.ifdef EU + _0807E9D4 + DoPostScriptAction 0x000a +.endif +.endif + EndBlock +script_08011134: + CheckPlayerInRegion 0x01f8, 0x0048, 0x1040 + JumpIfNot script_08011134 + LoadRoomEntityList gUnk_080F06B0 + DoPostScriptAction 0x000b + WaitForSomething2 0x00000004 + SetEntityPositionRelative 0x01b8, 0x0058 + _0807EB44 0x0004 + _0807E5F8 0x00000008 + WaitForSomething2 0x00000004 + _0807EB44 0x0006 + _0807E5F8 0x00000008 + WaitForSomething2 0x00000004 + _0807EB44 0x0004 + _0807E5F8 0x00000008 + WaitForSomething2 0x00000004 + SetEntitySpeed 0x0100 + DoPostScriptAction 0x0001 + _0807ECC4 0x0010 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000008 + WaitForSomething2 0x00000004 + DoPostScriptAction 0x0010 + Wait 0x001e + DoPostScriptAction 0x0010 + Call sub_0807F3C8 + SetEntitySpeed 0x0400 + SetEntityDirection 0x001c + _0807EC1C 0x003c + _0807E5F8 0x00000008 + DoPostScriptAction 0x0006 +SCRIPT_END +.ifdef JP +.ifndef DEMO_JP + .2byte 0x0000 +.endif +.else +.ifdef EU + .2byte 0x0000 +.endif +.endif diff --git a/data/scripts/cutscene/introCeremony/script_Npc4EMonsters.inc b/data/scripts/cutscene/introCeremony/script_Npc4EMonsters.inc new file mode 100644 index 00000000..f17ba3ea --- /dev/null +++ b/data/scripts/cutscene/introCeremony/script_Npc4EMonsters.inc @@ -0,0 +1,56 @@ +@ Intro Ceremony NPC4E monsters +SCRIPT_START script_Npc4EMonsters + Wait 0x001e + PlaySound SFX_125 + CallWithArg sub_0807FB28, 0x00000003 + Wait 0x003c + PlaySound SFX_125 + CallWithArg sub_0807FB28, 0x00000003 + Wait 0x0004 + PlaySound SFX_125 + CallWithArg sub_0807FB28, 0x00000003 + Wait 0x001e + PlaySound SFX_12C + _0807E5F8 0x00800000 + WaitForSomething2 0x01000000 + _0807E778 0x0004 + DoFade7 + WaitFor_2 + Wait 0x003c + PlaySound SFX_SPIRITS_RELEASE + PlaySound SFX_1C2 + LoadRoomEntityList gUnk_080F0770 + _0807E5F8 0x00000010 + WaitForSomething2 0x00000020 + _0807E778 0x0002 + DoFade6 + WaitFor_2 + CallWithArg DeleteManager36, 0x00000002 + _0807F0C8 0x0000, 0x0000 + Call sub_0806DC3C + Call sub_080791BC + CallWithArg sub_0807F244, 0x0000000d + CallWithArg sub_0807F29C, gUnk_080049F6 + _0807F0B4 0x0001 + SetEntityPositionRelative 0x01f8, 0x0068 + _0807E5F8 0x00000004 + Wait 0x001e + _0807E5F8 0x00000040 + WaitForSomething2 0x00000008 + WaitForSomething2 0x00000080 + PlaySound SFX_1C3 + _0807E5F8 0x20000000 + Wait 0x0078 + CallWithArg sub_0807F29C, 0x00000000 + Call sub_0806DC58 + _0807E5F8 0x40000000 + _0807E5F8 0x00000010 + _0807E5F8 0x00000100 + WaitForSomething2 0x00000020 + WaitForSomething2 0x00000200 + MessageFromTargetPos 0x1045, 0x000c + WaitUntilTextboxCloses + MessageFromTargetPos 0x1046, 0x0000 + WaitUntilTextboxCloses + CallWithArg CreateManager36, 0x00000002 + _0807F0C8 0xffff, 0x0000 diff --git a/data/scripts/cutscene/introCeremony/script_Npc4EVaatiAttacking.inc b/data/scripts/cutscene/introCeremony/script_Npc4EVaatiAttacking.inc new file mode 100644 index 00000000..62ab6228 --- /dev/null +++ b/data/scripts/cutscene/introCeremony/script_Npc4EVaatiAttacking.inc @@ -0,0 +1,45 @@ +@ Intro Ceremony NPC4E Vaati attacking +SCRIPT_START script_Npc4EVaatiAttacking + Wait 0x003c + _0807E5F8 0x00000100 + WaitForSomething2 0x00000200 + StartPlayerScript script_PlayerProtectingZelda + WaitForSomething2 0x00000400 + MessageFromTargetPos 0x1047, 0x0000 + WaitUntilTextboxCloses + Call sub_0806DC3C + Call sub_080791BC + CallWithArg sub_0807F244, 0x0000000d + CallWithArg sub_0807F29C, gUnk_080049F6 + Wait 0x001e + _0807E5F8 0x00000100 + WaitForSomething2 0x00000200 + CallWithArg sub_0807F29C, 0x00000000 + Call sub_0806DC58 + Wait 0x003c + _0807E5F8 0x08000000 + PlaySound SFX_125 + CallWithArg sub_0807FB28, 0x00000003 + Wait 0x000f + PlaySound SFX_125 + CallWithArg sub_0807FB28, 0x00000003 + CallWithArg DeleteManager36, 0x00000002 + _0807F0C8 0x0000, 0x0000 + _0807E5F8 0x00000010 + WaitForSomething2 0x00000020 + StopBgm + Wait 0x003c + MessageFromTargetPos 0x104a, 0x0000 + WaitUntilTextboxCloses + _0807E5F8 0x00000100 + WaitForSomething2 0x00000200 + MessageFromTargetPos 0x1049, 0x0000 + WaitUntilTextboxCloses + SetEntityPositionRelative 0x01f8, 0x0098 + Wait 0x0078 + _0807E5F8 0x00000100 + WaitForSomething2 0x00000200 + Call sub_0804BCDC + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/introCeremony/script_Object6AMonsterFromChest.inc b/data/scripts/cutscene/introCeremony/script_Object6AMonsterFromChest.inc new file mode 100644 index 00000000..994c88a1 --- /dev/null +++ b/data/scripts/cutscene/introCeremony/script_Object6AMonsterFromChest.inc @@ -0,0 +1,6 @@ +@ Intro Ceremony OBJECT_6A Monster from Chest +SCRIPT_START script_Object6AMonsterFromChest + WaitForSomething 0x20000000 + Call sub_0809567C +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/introCeremony/script_Object6ASwordInChest.inc b/data/scripts/cutscene/introCeremony/script_Object6ASwordInChest.inc new file mode 100644 index 00000000..5ce1fc5e --- /dev/null +++ b/data/scripts/cutscene/introCeremony/script_Object6ASwordInChest.inc @@ -0,0 +1,20 @@ +@ Intro Ceremony OBJECT_6A Sword in Chest +SCRIPT_START script_Object6ASwordInChest + BeginBlock + Call sub_08095330 + EndBlock + WaitForSomething2 0x00800000 + _0807EF3C 0x0000, 0x0020 + _0807E5F8 0x01000000 + WaitForSomething2 0x00800000 + Call sub_08095364 + PlaySound SFX_122 + Wait 0x003c + _0807E5F8 0x01000000 + WaitForSomething2 0x00800000 + _0807E930 0x0002 + _0807E5F8 0x01000000 + WaitForSomething2 0x00800000 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/introCeremony/script_PlayerAtIntroCeremony.inc b/data/scripts/cutscene/introCeremony/script_PlayerAtIntroCeremony.inc new file mode 100644 index 00000000..95d01756 --- /dev/null +++ b/data/scripts/cutscene/introCeremony/script_PlayerAtIntroCeremony.inc @@ -0,0 +1,10 @@ +@ Intro Ceremony Player +SCRIPT_START script_PlayerAtIntroCeremony + SetEntityPositionRelative 0x01a8, 0x0058 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000400 + _0807E610 0x00000002 + EndBlock + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/cutscene/introCeremony/script_PlayerFainting.inc b/data/scripts/cutscene/introCeremony/script_PlayerFainting.inc new file mode 100644 index 00000000..85909eb4 --- /dev/null +++ b/data/scripts/cutscene/introCeremony/script_PlayerFainting.inc @@ -0,0 +1,17 @@ +@ Intro Ceremony Player fainting +SCRIPT_START script_PlayerFainting + PlaySound SFX_PLY_VO6 + _0807EB44 0x0004 + DoPostScriptAction 0x000d + PlaySound SFX_86 + Call sub_0807F36C + SetEntitySpeed 0x0400 + _0807ECF4 0x0008 + BeginBlock + Call sub_0807F1E8 + DoPostScriptAction 0x0011 + EndBlock + Call sub_0807F2D4 + WaitForSomething 0x80000000 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/cutscene/introCeremony/script_PlayerIntroCastle.inc b/data/scripts/cutscene/introCeremony/script_PlayerIntroCastle.inc new file mode 100644 index 00000000..e9fa7bae --- /dev/null +++ b/data/scripts/cutscene/introCeremony/script_PlayerIntroCastle.inc @@ -0,0 +1,11 @@ +@ Intro Hyrule Castle Player +SCRIPT_START script_PlayerIntroCastle + BeginBlock + SetEntitySpeed 0x0080 + EndBlock + _0807EDD4 0x01e8, 0x0050 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000400 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/cutscene/introCeremony/script_PlayerProtectingZelda.inc b/data/scripts/cutscene/introCeremony/script_PlayerProtectingZelda.inc new file mode 100644 index 00000000..b83227b8 --- /dev/null +++ b/data/scripts/cutscene/introCeremony/script_PlayerProtectingZelda.inc @@ -0,0 +1,13 @@ +@ Intro ceremony Player protecting Zelda +SCRIPT_START script_PlayerProtectingZelda + BeginBlock + SetEntitySpeed 0x0040 + EndBlock + SetEntitySpeed 0x0200 + DoPostScriptAction 0x0001 + _0807EDD4 0x01d8, 0x0068 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000400 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/cutscene/introCeremony/script_VaatiDarkMagic.inc b/data/scripts/cutscene/introCeremony/script_VaatiDarkMagic.inc new file mode 100644 index 00000000..7224f273 --- /dev/null +++ b/data/scripts/cutscene/introCeremony/script_VaatiDarkMagic.inc @@ -0,0 +1,22 @@ +@ Intro Ceremony Vaati Dark magic? +SCRIPT_START script_VaatiDarkMagic + BeginBlock + _0807E930 0x0000 + SetEntitySpeed 0x0200 + Call nullsub_527 + Call sub_08094B80 + EndBlock + WaitForSomething2 0x08000000 + Call sub_08094B6C + _0807EDD4 0x01d8, 0x0078 + StartPlayerScript script_PlayerFainting + _0807EDD4 0x01d8, 0x0058 + Call sub_08094B80 + PlaySound SFX_VO_ZELDA7 + PlaySound SFX_1C6 + _0807E5F8 0x10000000 + WaitForSomething2 0x08000000 + PlaySound SFX_11D + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/introCeremony/script_VaatiIntroCeremony.inc b/data/scripts/cutscene/introCeremony/script_VaatiIntroCeremony.inc new file mode 100644 index 00000000..0758dc29 --- /dev/null +++ b/data/scripts/cutscene/introCeremony/script_VaatiIntroCeremony.inc @@ -0,0 +1,86 @@ +@ Intro Ceremony Vaati +SCRIPT_START script_VaatiIntroCeremony + BeginBlock + _0807EB44 0x0000 + SetEntitySpeed 0x0100 + EndBlock + Call sub_0807F338 + WaitForSomething2 0x00000100 + DoPostScriptAction 0x0001 + _0807EDD4 0x01f8, 0x00d0 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000200 + WaitForSomething2 0x00000100 + _0807EB44 0x0004 + DoPostScriptAction 0x001c + Call sub_0807F2D4 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000200 + WaitForSomething2 0x00000100 + _0807EB44 0x0000 + DoPostScriptAction 0x001c + Call sub_0807F2D4 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000200 + WaitForSomething2 0x00000100 + _0807EB44 0x0000 + DoPostScriptAction 0x001a + Call sub_0807F2D4 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000200 + WaitForSomething2 0x00000100 + _0807EB44 0x0000 + DoPostScriptAction 0x0014 + PlaySound SFX_CHARGING_UP + CallWithArg sub_08095420, script_08011890 + Wait 0x00f0 + DoPostScriptAction 0x0016 + PlaySound SFX_1CB + WaitForSomething2 0x10000000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000200 + WaitForSomething2 0x00000100 + SetEntitySpeed 0x0080 + DoPostScriptAction 0x0001 + _0807EDD4 0x01d8, 0x00a8 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000200 + WaitForSomething2 0x00000100 + DoPostScriptAction 0x0014 + PlaySound SFX_1C4 + CallWithArg sub_0809545C, script_VaatiDarkMagic + _0807E5F8 0x00000200 + WaitForSomething2 0x00000100 + Wait 0x003c + DoPostScriptAction 0x0016 + PlaySound SFX_1C5 + _0807E5F8 0x08000000 + WaitForSomething2 0x10000000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000200 + WaitForSomething2 0x00000100 + SetEntitySpeed 0x0100 + DoPostScriptAction 0x0001 + _0807EDD4 0x01f8, 0x0098 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x0004 + Wait 0x005a + _0807EB44 0x0004 + DoPostScriptAction 0x001c + Call sub_0807F2D4 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + Wait 0x001e + _0807E5F8 0x00000200 + WaitForSomething2 0x00000100 + Call sub_08066CA4 + DoPostScriptAction 0x0008 + Wait 0x0078 + _0807E5F8 0x00000200 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/introCeremony/script_ZeldaIntroCastle.inc b/data/scripts/cutscene/introCeremony/script_ZeldaIntroCastle.inc new file mode 100644 index 00000000..9c4bc258 --- /dev/null +++ b/data/scripts/cutscene/introCeremony/script_ZeldaIntroCastle.inc @@ -0,0 +1,56 @@ +@ Intro Hyrule Castle Zelda +SCRIPT_START script_ZeldaIntroCastle + BeginBlock + DoPostScriptAction 0x0008 + SetEntitySpeed 0x0100 + Call sub_08066D04 + EndBlock + Call sub_0807F338 + WaitForSomething2 0x00000010 + Call sub_08066D14 + JumpIf script_080111F6 + MoveEntityToPlayer +script_080111F6: + Call sub_0807F8BC + JumpIf script_08011206 + SetEntityPositionRelative 0x01f8, 0x00b8 +script_08011206: + DoPostScriptAction 0x0007 + DoPostScriptAction 0x0001 + _0807EDD4 0x01f8, 0x0050 + _0807EB74 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000020 + WaitForSomething2 0x00000010 + DoPostScriptAction 0x0001 + _0807EDD4 0x01f8, 0x0020 + DoPostScriptAction 0x0008 + _0807E5F8 0x00000020 + WaitForSomething2 0x00000010 + DoPostScriptAction 0x0007 + DoPostScriptAction 0x0001 + SetEntitySpeed 0x0040 + _0807EDD4 0x01e8, 0x0040 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000020 + WaitForSomething2 0x00000010 + Call sub_08095810 + _0807E5F8 0x00000020 + WaitForSomething2 0x00000010 + DoPostScriptAction 0x0001 + _0807EDD4 0x01d8, 0x0058 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000020 + WaitForSomething2 0x00000010 + PlaySound SFX_1C9 + DoPostScriptAction 0x0010 + Wait 0x0014 + Call sub_08066E20 + Wait 0x0014 + DoPostScriptAction 0x0010 + Call sub_0807F2D4 + PlaySound SFX_1CA + _0807E5F8 0x00000020 + WaitForSomething2 0x00000010 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/introCeremony/script_ZeldaMagic.inc b/data/scripts/cutscene/introCeremony/script_ZeldaMagic.inc new file mode 100644 index 00000000..b9e3dc17 --- /dev/null +++ b/data/scripts/cutscene/introCeremony/script_ZeldaMagic.inc @@ -0,0 +1,5 @@ +@ Intro Ceremony OBJECT_6A Zelda shine or something? +SCRIPT_START script_ZeldaMagic + WaitForSomething 0x40000000 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/introTown/script_BeedleIntro.inc b/data/scripts/cutscene/introTown/script_BeedleIntro.inc new file mode 100644 index 00000000..e0e1359b --- /dev/null +++ b/data/scripts/cutscene/introTown/script_BeedleIntro.inc @@ -0,0 +1,20 @@ +@ Intro Hyrule Town Beedle +SCRIPT_START script_BeedleIntro + BeginBlock + _0807EB44 0x0004 + _0807E930 0x0000 + _0807E9D4 + DoPostScriptAction 0x000a + Call sub_0807F348 + EndBlock +script_0800F604: + CheckEntityInteractType + JumpIfNot script_0800F604 + _0807E864 + _0807EB74 + CallWithArg sub_0807F3D8, 0x00000008 + MessageNoOverlap 0x2511 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_0800F604 diff --git a/data/scripts/cutscene/introTown/script_GuardIntro.inc b/data/scripts/cutscene/introTown/script_GuardIntro.inc new file mode 100644 index 00000000..9424bff8 --- /dev/null +++ b/data/scripts/cutscene/introTown/script_GuardIntro.inc @@ -0,0 +1,19 @@ +@ Intro Hyrule Town Guard +SCRIPT_START script_GuardIntro + BeginBlock + _0807EB44 0x0006 + _0807E9D4 + DoPostScriptAction 0x000a + CallWithArg sub_0807F3D8, 0x00000008 + EndBlock +script_0800F5C8: + CheckEntityInteractType + JumpIfNot script_0800F5C8 + _0807E864 + _0807EB74 + CallWithArg sub_0807F3D8, 0x00000008 + Call sub_08064428 + WaitUntilTextboxCloses + _0807E878 + Jump script_0800F5C8 + .2byte 0x0000 diff --git a/data/scripts/cutscene/introTown/script_KidIntro1.inc b/data/scripts/cutscene/introTown/script_KidIntro1.inc new file mode 100644 index 00000000..c705c186 --- /dev/null +++ b/data/scripts/cutscene/introTown/script_KidIntro1.inc @@ -0,0 +1,18 @@ +@ Intro Hyrule Town Kid listening to Townsperson +SCRIPT_START script_KidIntro1 + BeginBlock + DoPostScriptAction 0x0001 + _0807E9D4 + DoPostScriptAction 0x000a + EndBlock +script_0800F592: + CheckEntityInteractType + JumpIfNot script_0800F592 + _0807E864 + _0807EB74 + Call sub_0806265C + WaitUntilTextboxCloses + _0807E878 + DoPostScriptAction 0x0001 + Jump script_0800F592 + .2byte 0x0000 diff --git a/data/scripts/cutscene/introTown/script_KidIntro2.inc b/data/scripts/cutscene/introTown/script_KidIntro2.inc new file mode 100644 index 00000000..008ef2e8 --- /dev/null +++ b/data/scripts/cutscene/introTown/script_KidIntro2.inc @@ -0,0 +1,36 @@ +@ Hyrule Town Intro Kid blocking the way +SCRIPT_START script_KidIntro2 + BeginBlock + DoPostScriptAction 0x0001 + _0807E9D4 + DoPostScriptAction 0x000a + Call sub_08062788 + EndBlock +script_0800F6F4: +.ifdef JP + CheckLocalFlag 0x00ca +.else +.ifdef EU + CheckLocalFlag 0x00ca +.else +.ifdef DEMO_JP + CheckLocalFlag 0x00ca @ TODO deduplicate +.else + CheckLocalFlag 0x00cd +.endif +.endif +.endif + JumpIf script_0800F718 + CheckEntityInteractType + JumpIfNot script_0800F6F4 + _0807E864 + _0807EB74 + Call sub_0806265C + WaitUntilTextboxCloses + _0807E878 + DoPostScriptAction 0x0001 + Jump script_0800F6F4 +script_0800F718: + Call sub_080627E8 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/introTown/script_KidIntro3.inc b/data/scripts/cutscene/introTown/script_KidIntro3.inc new file mode 100644 index 00000000..d9813de7 --- /dev/null +++ b/data/scripts/cutscene/introTown/script_KidIntro3.inc @@ -0,0 +1,24 @@ +@ Intro Hyrule Town Kid +SCRIPT_START script_KidIntro3 + BeginBlock + DoPostScriptAction 0x0008 + EndBlock +script_0800F72C: +.ifdef JP + CheckLocalFlag 0x00ca +.else +.ifdef EU + CheckLocalFlag 0x00ca +.else +.ifdef DEMO_JP + CheckLocalFlag 0x00ca @ TODO deduplicate +.else + CheckLocalFlag 0x00cd +.endif +.endif +.endif + JumpIfNot script_0800F72C + DoPostScriptAction 0x0007 + Jump script_KidIntro1 + + diff --git a/data/scripts/cutscene/introTown/script_Npc4EIntroCastle.inc b/data/scripts/cutscene/introTown/script_Npc4EIntroCastle.inc new file mode 100644 index 00000000..85512814 --- /dev/null +++ b/data/scripts/cutscene/introTown/script_Npc4EIntroCastle.inc @@ -0,0 +1,121 @@ +@ Intro Hyrule Castle NPC4E +SCRIPT_START script_Npc4EIntroCastle + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + StartPlayerScript script_PlayerIntroCastle + WaitForSomething2 0x00000400 + _0807F078 0x0034, 0x0002 + MessageFromTargetPos 0x1036, 0x000c + WaitUntilTextboxCloses + _0807E5F8 0x00000010 + WaitForSomething2 0x00000020 + MessageFromTargetPos 0x1037, 0x0002 + WaitUntilTextboxCloses + _0807E5F8 0x00000010 + WaitForSomething2 0x00000020 + MessageFromTargetPos 0x1038, 0x000c + WaitUntilTextboxCloses + StopBgm + _0807E778 0x0004 + DoFade5 + WaitFor_2 + Call sub_08064180 + Call sub_08064180 + Call sub_08064180 + Call sub_08064180 + Call sub_08064180 + Call sub_08064180 + Call sub_08064180 + Call sub_08064180 + LoadRoomEntityList gUnk_080F06E0 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + StartPlayerScript script_PlayerAtIntroCeremony + WaitForSomething2 0x00000400 + SetEntityPositionRelative 0x01f8, 0x0050 + _0807F0B4 0x0007 + CameraTargetEntity + Wait 0x000a + _0807F0B4 0x0001 + _0807E778 0x0001 + DoFade4 + _0807E5F8 0x0002a800 + WaitForSomething2 0x00055000 + SetEntityPositionRelative 0x01f8, 0x0078 + Wait 0x003c + _0807E5F8 0x00800000 + WaitForSomething2 0x01000000 + _0807E5F8 0x0002a800 + WaitForSomething2 0x00055000 + _0807E8E4_1 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + MessageFromTargetPos 0x1039, 0x000c + WaitUntilTextboxCloses + PlayBgm BGM_CASTLE_TOURNAMENT + _0807E8E4_2 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + _0807E5F8 0x00000010 + _0807E5F8 0x00000040 + WaitForSomething2 0x00000020 + WaitForSomething2 0x00000080 + Wait 0x012c + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + MessageFromTargetPos 0x103a, 0x000c + WaitUntilTextboxCloses + SetEntityPositionRelative 0x01f8, 0x01c0 + _0807F0B4 0x0004 + Wait 0x0078 + _0807E5F8 0x00280000 + WaitForSomething2 0x00500000 + _0807E5F8 0x00000100 + SetEntityPositionRelative 0x01f8, 0x0220 + SetEntitySpeed 0x0100 + _0807EDD4 0x01f8, 0x0098 + Wait 0x003c + WaitForSomething2 0x00000200 + _0807E5F8 0x00280000 + StopBgm + PlaySound SFX_9B + _0807E5F8 0x00000100 + WaitForSomething2 0x00000200 + MessageFromTargetPos 0x1043, 0x0000 + WaitUntilTextboxCloses + PlayBgm BGM_VAATI_THEME + _0807E5F8 0x00000100 + WaitForSomething2 0x00000200 + _0807E5F8 0x0002a800 + WaitForSomething2 0x00055000 + PlaySound SFX_1C7 + PlaySound SFX_BUTTON_DEPRESS + _0807E5F8 0x00000100 + _0807E5F8 0x00002800 + CallWithArg sub_0807FB28, 0x00000003 + WaitForSomething2 0x00000200 + WaitForSomething2 0x00005000 + _0807E5F8 0x00028000 + WaitForSomething2 0x00050000 + MessageFromTargetPos 0x1044, 0x0000 + WaitUntilTextboxCloses + SetEntityPositionRelative 0x01f8, 0x0098 + StopBgm + Wait 0x003c + PlayBgm BGM_VAATI_REBORN + _0807E5F8 0x00028000 + _0807E5F8 0x00000100 + WaitForSomething2 0x00000200 + WaitForSomething2 0x00050000 + CallWithArg sub_0807FB28, 0x00000003 + PlaySound SFX_BUTTON_DEPRESS + _0807E5F8 0x00028000 + WaitForSomething2 0x00050000 + PlaySound SFX_125 + CallWithArg sub_0807FB28, 0x00000003 + _0807E5F8 0x08000000 + _0807E5F8 0x00800000 + WaitForSomething2 0x01000000 + CallWithArg CreateManager36, 0x00000002 + _0807F0C8 0xffff, 0x0000 diff --git a/data/scripts/cutscene/introTown/script_Npc4EIntroTown.inc b/data/scripts/cutscene/introTown/script_Npc4EIntroTown.inc new file mode 100644 index 00000000..db8de660 --- /dev/null +++ b/data/scripts/cutscene/introTown/script_Npc4EIntroTown.inc @@ -0,0 +1,199 @@ +@ Intro Hyrule Town NPC4E +SCRIPT_START script_Npc4EIntroTown +.ifdef JP + CheckLocalFlag 0x00ca +.else +.ifdef EU + CheckLocalFlag 0x00ca +.else +.ifdef DEMO_JP + CheckLocalFlag 0x00ca @ TODO deduplicate +.else + CheckLocalFlag 0x00cd +.endif +.endif +.endif + JumpIf script_0800FA4C + _0807E864 + Call sub_0807DF28 + SetEntityPositionRelative 0x00c8, 0x0148 + Call sub_0807F844 + _0807E778 0x0002 + DoFade6 + WaitFor_2 + StartPlayerScript script_PlayerIntro1 + _0807E5F8 0x00000002 + _0807F0B4 0x0001 + SetEntityPositionRelative 0x00c8, 0x0218 + Call sub_0807F5C0 + Wait 0x0064 + @ Camera reaches center of town square + _0807F0B4 0x0002 + SetEntityPositionRelative 0x00c8, 0x0368 + Call sub_0807F5C0 + WaitForSomething2 0x00000001 + WaitForSomething2 0x00000004 + @ First message from Zelda + MessageFromTargetPos 0x2501, 0x0000 + WaitUntilTextboxCloses + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + @ Zelda ran off. Give control to the player + _0807F0B4 0x0004 + CameraTargetPlayer + Call sub_0807DF50 + _0807E878 + _0807E5F8 0x00000010 + WaitForSomething2 0x00000004 + _0807E864 + Call sub_0807DF28 + StartPlayerScript script_PlayerIntro2 + WaitForSomething2 0x00000001 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + MessageFromTargetPos 0x2503, 0x000e + WaitUntilTextboxCloses + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + Call sub_0807DF50 + _0807E878 + WaitForSomething2 0x00000004 + _0807E864 + Call sub_0807DF28 + StartPlayerScript script_PlayerIntro3 + WaitForSomething2 0x00000001 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + MessageFromTargetPos 0x2504, 0x000e + WaitUntilTextboxCloses + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + Call sub_0807DF50 + _0807E878 + WaitForSomething2 0x00000004 + _0807E864 + Call sub_0807DF28 + StartPlayerScript script_PlayerIntro4 + WaitForSomething2 0x00000001 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + MessageFromTargetPos 0x2505, 0x000e + WaitUntilTextboxCloses + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + Call sub_0807DF50 + _0807E878 + @ Wait for Link at Pina + WaitForSomething2 0x00000004 + _0807E864 + Call sub_0807DF28 + Call sub_08063C5C + PlaySound SFX_CUCCO_MINIGAME_BELL + Wait 0x001e + _0807E8E4_0 + Call sub_0807F3F8 + Wait 0x003c + MessageFromTargetPos 0x1021, 0x000e + WaitUntilTextboxCloses + StartPlayerScript script_PlayerIntro5 + SetEntityPositionRelative 0x00f0, 0x0258 + _0807F0B4 0x0001 + CameraTargetEntity + Wait 0x001e + Call sub_08063C2C + WaitForSomething2 0x00000001 + MessageFromTargetPos 0x1022, 0x000e + WaitUntilTextboxCloses + _0807E8E4_0 + Call sub_08063C14 + Call sub_08094CDC + Wait 0x001e + MessageFromTargetPos 0x1023, 0x000e + WaitUntilTextboxCloses + Call sub_08063C14 + Call sub_08094DD8 + Wait 0x001e + MessageFromTargetPos 0x1024, 0x000e + WaitUntilTextboxCloses + Call sub_08063C14 + Call sub_08094D34 + Wait 0x001e + MessageFromTargetPos 0x1025, 0x000e + WaitUntilTextboxCloses + Call sub_08063C5C + MessageFromTargetPos 0x1026, 0x000e + WaitUntilTextboxCloses + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + _0807E8E4_1 + Call sub_08063C2C + MessageFromTargetPos 0x1027, 0x0000 + WaitUntilTextboxCloses + Call sub_08063C74 + Wait 0x003c + Call sub_08063C14 + _0807E8E4_0 + MessageFromTargetPos 0x1028, 0x000e + WaitUntilTextboxCloses + _0807E8E4_1 + MessageFromTargetPos 0x1029, 0x0000 + WaitUntilTextboxCloses + _0807E8E4_0 + MessageFromTargetPos 0x102a, 0x000e + WaitUntilTextboxCloses + Call sub_08063C14 + Call sub_08094D70 + PlaySound SFX_103 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + Call sub_08063C14 + Call sub_08094D10 + Wait 0x001e + Call sub_08094E0C + Wait 0x001e + _0807E8E4_1 + Call sub_0807F3F8 + Wait 0x003c + MessageFromTargetPos 0x102b, 0x0000 + WaitUntilTextboxCloses + @ Give the shield to the player + _0807F034 0x000d + WaitPlayerGetItem + Call sub_0806DC3C + Call sub_080791BC + CallWithArg sub_0807F244, 0x0000000d + SetIntVariable 0x000000ff + Call sub_0807F5B0 + CallWithArg sub_0807F29C, gUnk_080049D6 + Wait 0x00b7 + SetIntVariable 0x00000000 + Call sub_0807F5B0 + MessageFromTargetPos 0x102c, 0x0000 + WaitUntilTextboxCloses + @ Give control back to the player + CallWithArg sub_0807F29C, 0x00000000 + Call sub_0806DC58 + _0807F0B4 0x0004 + CameraTargetPlayer + Wait 0x000a + _0807E5F8 0x00000002 + Call sub_08063C44 +.ifdef JP + SetLocalFlag 0x00ca +.else +.ifdef EU + SetLocalFlag 0x00ca +.else +.ifdef DEMO_JP + SetLocalFlag 0x00ca @ TODO deduplicate +.else + SetLocalFlag 0x00cd +.endif +.endif +.endif + Call sub_0807DF50 + _0807E878 +script_0800FA4C: + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/introTown/script_Object69IntroTown.inc b/data/scripts/cutscene/introTown/script_Object69IntroTown.inc new file mode 100644 index 00000000..7ef81598 --- /dev/null +++ b/data/scripts/cutscene/introTown/script_Object69IntroTown.inc @@ -0,0 +1,56 @@ +@ Intro Hyrule Town OBJECT_69 ? +SCRIPT_START script_Object69IntroTown +.ifdef JP + CheckLocalFlag 0x00ca +.else +.ifdef EU + CheckLocalFlag 0x00ca +.else +.ifdef DEMO_JP + CheckLocalFlag 0x00ca @ TODO deduplicate +.else + CheckLocalFlag 0x00cd +.endif +.endif +.endif + JumpIf script_0800FD50 + WaitForSomething2 0x00000010 +script_0800FD1A: + @ Prevent Link from leaving + CheckPlayerInRegion 0x00c8, 0x03c0, 0x1040 + JumpIfNot script_0800FD1A +.ifdef JP + CheckLocalFlag 0x00ca +.else +.ifdef EU + CheckLocalFlag 0x00ca +.else +.ifdef DEMO_JP + CheckLocalFlag 0x00ca @ TODO deduplicate +.else + CheckLocalFlag 0x00cd +.endif +.endif +.endif + JumpIf script_0800FD5C + _0807E864 + Call sub_0807F9A4 + MessageFromTargetPos 0x2506, 0x0000 + WaitUntilTextboxCloses + StartPlayerScript script_PlayerIntroTown + WaitForSomething2 0x00000008 + _0807E878 + Jump script_0800FD1A +script_0800FD50: + CheckPlayerInRegion 0x00c8, 0x03c0, 0x1040 + JumpIfNot script_0800FD50 +script_0800FD5C: + _0807E864 + Call sub_0807F9A4 + MessageFromTargetPos 0x106c, 0x0000 + WaitUntilTextboxCloses + StartPlayerScript script_PlayerIntroTown + WaitForSomething2 0x00000008 + _0807E878 + Jump script_0800FD50 + .2byte 0x0000 diff --git a/data/scripts/cutscene/introTown/script_PercyIntro.inc b/data/scripts/cutscene/introTown/script_PercyIntro.inc new file mode 100644 index 00000000..a8fda42a --- /dev/null +++ b/data/scripts/cutscene/introTown/script_PercyIntro.inc @@ -0,0 +1,23 @@ +@ Intro Hyrule Town Percy +SCRIPT_START script_PercyIntro + BeginBlock + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x000a + _0807E9D4 + EndBlock +script_0800F662: + CheckEntityInteractType + JumpIfNot script_0800F662 + _0807E864 + _0807EB74 + DoPostScriptAction 0x0001 + Call sub_0806B4F0 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + DoPostScriptAction 0x0000 + Jump script_0800F662 + .2byte 0x0000 + + diff --git a/data/scripts/cutscene/introTown/script_PinaIntro.inc b/data/scripts/cutscene/introTown/script_PinaIntro.inc new file mode 100644 index 00000000..bfe9dcf9 --- /dev/null +++ b/data/scripts/cutscene/introTown/script_PinaIntro.inc @@ -0,0 +1,40 @@ +@ Intro Hyrule Town Pina +SCRIPT_START script_PinaIntro + BeginBlock + _0807EB44 0x0004 + _0807E930 0x0000 + _0807E9D4 + DoPostScriptAction 0x000a + Call sub_0807F348 + EndBlock +script_0800F6A0: + CheckEntityInteractType + JumpIfNot script_0800F6A0 + _0807E864 + _0807EB74 + CallWithArg sub_0807F3D8, 0x00000004 +.ifdef JP + CheckLocalFlag 0x00ca +.else +.ifdef EU + CheckLocalFlag 0x00ca +.else +.ifdef DEMO_JP + CheckLocalFlag 0x00ca @ TODO deduplicate +.else + CheckLocalFlag 0x00cd +.endif +.endif +.endif + JumpIf script_0800F6C4 + MessageNoOverlap 0x2512 + Jump script_0800F6C8 +script_0800F6C4: + MessageNoOverlap 0x251f +script_0800F6C8: + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + CallWithArg sub_0807F3D8, 0x00000000 + Jump script_0800F6A0 + .2byte 0x0000 diff --git a/data/scripts/cutscene/introTown/script_PlayerIntro1.inc b/data/scripts/cutscene/introTown/script_PlayerIntro1.inc new file mode 100644 index 00000000..ba36e8ab --- /dev/null +++ b/data/scripts/cutscene/introTown/script_PlayerIntro1.inc @@ -0,0 +1,11 @@ +@ Intro Hyrule Town Player +SCRIPT_START script_PlayerIntro1 + BeginBlock + SetEntitySpeed 0x0100 + EndBlock + SetEntityPositionRelative 0x00d8, 0x0398 + _0807EB44 0x0006 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/cutscene/introTown/script_PlayerIntro2.inc b/data/scripts/cutscene/introTown/script_PlayerIntro2.inc new file mode 100644 index 00000000..6ce812b6 --- /dev/null +++ b/data/scripts/cutscene/introTown/script_PlayerIntro2.inc @@ -0,0 +1,11 @@ +@ Intro Hyrule Town Player 2 +SCRIPT_START script_PlayerIntro2 + BeginBlock + SetEntitySpeed 0x0100 + EndBlock + _0807EDD4 0x00a0, 0x0278 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/cutscene/introTown/script_PlayerIntro3.inc b/data/scripts/cutscene/introTown/script_PlayerIntro3.inc new file mode 100644 index 00000000..cccb6450 --- /dev/null +++ b/data/scripts/cutscene/introTown/script_PlayerIntro3.inc @@ -0,0 +1,11 @@ +@ Intro Hyrule Town Player 3 +SCRIPT_START script_PlayerIntro3 + BeginBlock + SetEntitySpeed 0x0100 + EndBlock + _0807EDD4 0x0078, 0x01c0 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/cutscene/introTown/script_PlayerIntro4.inc b/data/scripts/cutscene/introTown/script_PlayerIntro4.inc new file mode 100644 index 00000000..76ca7bd4 --- /dev/null +++ b/data/scripts/cutscene/introTown/script_PlayerIntro4.inc @@ -0,0 +1,11 @@ +@ Intro Hyrule Town Player 4 +SCRIPT_START script_PlayerIntro4 + BeginBlock + SetEntitySpeed 0x0100 + EndBlock + _0807EDD4 0x0108, 0x01c8 + _0807EB44 0x0002 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/cutscene/introTown/script_PlayerIntro5.inc b/data/scripts/cutscene/introTown/script_PlayerIntro5.inc new file mode 100644 index 00000000..721060d3 --- /dev/null +++ b/data/scripts/cutscene/introTown/script_PlayerIntro5.inc @@ -0,0 +1,18 @@ +@ Intro Hyrule Town Player at Pina +SCRIPT_START script_PlayerIntro5 + BeginBlock + SetEntitySpeed 0x0100 + EndBlock + Call sub_0807F584 + JumpTable script_0800FB06, script_0800FB10, script_0800FB06, script_0800FAFC +script_0800FAFC: + CallWithArg sub_0807F4F8, 0x0000027c +script_0800FB06: + CallWithArg sub_0807F464, 0x000000e8 +script_0800FB10: + _0807EDD4 0x00e8, 0x0270 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/cutscene/introTown/script_PlayerIntroTown.inc b/data/scripts/cutscene/introTown/script_PlayerIntroTown.inc new file mode 100644 index 00000000..e4ba634a --- /dev/null +++ b/data/scripts/cutscene/introTown/script_PlayerIntroTown.inc @@ -0,0 +1,10 @@ +@ Hyrule Town Intro Player +SCRIPT_START script_PlayerIntroTown + SetEntitySpeed 0x0080 + _0807EC64 0x0020 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000008 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/introTown/script_TownsperonIntro.inc b/data/scripts/cutscene/introTown/script_TownsperonIntro.inc new file mode 100644 index 00000000..27ae1e54 --- /dev/null +++ b/data/scripts/cutscene/introTown/script_TownsperonIntro.inc @@ -0,0 +1,18 @@ +@ Intro Hyrule Town Townsperson +SCRIPT_START script_TownsperonIntro + BeginBlock + Call sub_08061FE4 + _0807E9D4 + DoPostScriptAction 0x000a + EndBlock +script_0800F564: + CheckEntityInteractType + JumpIfNot script_0800F564 + _0807E864 + _0807EB74 + Call sub_08061FE4 + Call sub_08061FF4 + WaitUntilTextboxCloses + _0807E878 + Jump script_0800F564 + .2byte 0x0000 diff --git a/data/scripts/cutscene/introTown/script_WindtribespeopleIntro.inc b/data/scripts/cutscene/introTown/script_WindtribespeopleIntro.inc new file mode 100644 index 00000000..14a141fe --- /dev/null +++ b/data/scripts/cutscene/introTown/script_WindtribespeopleIntro.inc @@ -0,0 +1,17 @@ +@ Intro Hyrule Town WindTribespeople +SCRIPT_START script_WindtribespeopleIntro + BeginBlock + _0807E9D4 + DoPostScriptAction 0x000a + DoPostScriptAction 0x0001 + EndBlock +script_0800F636: + _0807E30C + JumpIfNot script_0800F636 + _0807E864 + _0807EB74 + Call sub_0806C90C + WaitUntilTextboxCloses + _0807E878 + Jump script_0800F636 + .2byte 0x0000 diff --git a/data/scripts/cutscene/introTown/script_ZeldaIntroTown.inc b/data/scripts/cutscene/introTown/script_ZeldaIntroTown.inc new file mode 100644 index 00000000..1b3fbac7 --- /dev/null +++ b/data/scripts/cutscene/introTown/script_ZeldaIntroTown.inc @@ -0,0 +1,107 @@ +@ Intro Hyrule Town Zelda +SCRIPT_START script_ZeldaIntroTown + BeginBlock + DoPostScriptAction 0x0008 + DoPostScriptAction 0x000b + SetEntitySpeed 0x0080 + Call sub_08066D04 + EndBlock + WaitForSomething2 0x00000002 + Call sub_08066D14 + JumpIf script_0800FB6C + MoveEntityToPlayer +script_0800FB6C: + DoPostScriptAction 0x0007 + SetEntityPositionRelative 0x00b8, 0x0398 + _0807EB44 0x0002 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000002 + SetEntitySpeed 0x0200 + _0807EDD4 0x00b8, 0x0318 + SetEntityPositionRelative 0x00a0, 0x0260 + _0807EB44 0x0000 + DoPostScriptAction 0x0001 + _0807E5F8 0x00000004 + DoPostScriptAction 0x000a + _0807E9D4 +script_0800FBAE: + _0807E30C + JumpIfNot script_0800FBAE + DoPostScriptAction 0x000b + _0807E5F8 0x00000004 + WaitForSomething2 0x00000002 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000002 + SetEntitySpeed 0x0200 + _0807EDD4 0x00a0, 0x0268 + _0807EDD4 0x0070, 0x0268 + _0807EDD4 0x0070, 0x0208 + SetEntityPositionRelative 0x0078, 0x01a8 + _0807EB44 0x0000 + DoPostScriptAction 0x0001 + _0807E5F8 0x00000004 + DoPostScriptAction 0x000a +script_0800FC06: + _0807E30C + JumpIfNot script_0800FC06 + DoPostScriptAction 0x000b + _0807E5F8 0x00000004 + WaitForSomething2 0x00000002 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000002 + SetEntitySpeed 0x0200 + _0807EDD4 0x00f8, 0x01a8 + SetEntityPositionRelative 0x0118, 0x01c8 + _0807EB44 0x0002 + DoPostScriptAction 0x0001 + _0807E5F8 0x00000004 + DoPostScriptAction 0x000a +script_0800FC52: + _0807E30C + JumpIfNot script_0800FC52 + DoPostScriptAction 0x000b + _0807E5F8 0x00000004 + WaitForSomething2 0x00000002 + _0807EB44 0x0006 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000002 + SetEntitySpeed 0x0200 + _0807EDD4 0x0118, 0x0260 + SetEntityPositionRelative 0x00f8, 0x0270 + _0807EB44 0x0000 + DoPostScriptAction 0x0001 + _0807E5F8 0x00000004 + DoPostScriptAction 0x000a +script_0800FC9E: + @ Wait at Pina for Link + CheckEntityInteractType + JumpIfNot script_0800FC9E + DoPostScriptAction 0x000b + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000004 + DoPostScriptAction 0x0004 + WaitForSomething2 0x00000002 + DoPostScriptAction 0x000d + SetEntitySpeed 0x0040 + _0807EC94 0x0020 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000002 + DoPostScriptAction 0x000c + SetEntitySpeed 0x0040 + _0807ECF4 0x0020 + _0807EB44 0x0006 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000002 + Call sub_08066D4C + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/kinstones/script_HurdyGurdyManFirstKinstone.inc b/data/scripts/cutscene/kinstones/script_HurdyGurdyManFirstKinstone.inc new file mode 100644 index 00000000..59b5403d --- /dev/null +++ b/data/scripts/cutscene/kinstones/script_HurdyGurdyManFirstKinstone.inc @@ -0,0 +1,114 @@ +@ Hyrule Town Kinstone cutscene HurdyGurdyMan +SCRIPT_START script_HurdyGurdyManFirstKinstone + BeginBlock + SetEntitySpeed 0x0080 + DoPostScriptAction 0x0008 + DoPostScriptAction 0x000a + EndBlock + Call sub_0807F348 + _0807EB44 0x0002 + WaitForSomething2 0x00000002 + DoPostScriptAction 0x0007 + _0807EDD4 0x01b8, 0x0328 + _0807E5F8 0x00000040 + _0807EDD4 0x01f8, 0x0328 + _0807EB44 0x0004 + _0807E930 0x0008 + _0807E8E4_0 + _0807E5F8 0x00000040 + WaitForSomething2 0x00000002 + Call sub_0806E440 + Wait 0x0078 + _0807E5F8 0x00000040 + WaitForSomething2 0x00000002 +script_0800F1E6: + EndBlock + BeginBlock + CallWithArg sub_0807F680, 0x000001c0 + JumpIf script_0800F22A + EndBlock + _0807E864 + Call sub_0807F9A4 + _0807EB74 + _0807E930 0x0008 + DoPostScriptAction 0x0004 + Wait 0x003c + MessageFromTargetPos 0x1206, 0x000c + WaitUntilTextboxCloses + StartPlayerScript script_PlayerAtHurdyGurdyManFirstKinstone1 + WaitForSomething2 0x00000400 + _0807E878 + Jump script_0800F1E6 +script_0800F22A: + CallWithArg sub_0807F680, 0x00000230 + JumpIfNot script_0800F26A + EndBlock + _0807E864 + Call sub_0807F9A4 + _0807EB74 + _0807E930 0x0008 + DoPostScriptAction 0x0004 + Wait 0x003c + MessageFromTargetPos 0x1206, 0x000c + WaitUntilTextboxCloses + StartPlayerScript script_PlayerAtHurdyGurdyManFirstKinstone2 + WaitForSomething2 0x00000400 + _0807E878 + Jump script_0800F1E6 +script_0800F26A: + CallWithArg sub_0807F6B4, 0x00000310 + JumpIf script_0800F2AA + EndBlock + _0807E864 + Call sub_0807F9A4 + _0807EB74 + _0807E930 0x0008 + DoPostScriptAction 0x0004 + Wait 0x003c + MessageFromTargetPos 0x1206, 0x000c + WaitUntilTextboxCloses + StartPlayerScript script_PlayerAtHurdyGurdyManFirstKinstone3 + WaitForSomething2 0x00000400 + _0807E878 + Jump script_0800F1E6 +script_0800F2AA: + CallWithArg sub_0807F6B4, 0x00000340 + JumpIfNot script_0800F2EA + EndBlock + _0807E864 + Call sub_0807F9A4 + _0807EB74 + _0807E930 0x0008 + DoPostScriptAction 0x0004 + Wait 0x003c + MessageFromTargetPos 0x1206, 0x000c + WaitUntilTextboxCloses + StartPlayerScript script_PlayerAtHurdyGurdyManFirstKinstone4 + WaitForSomething2 0x00000400 + _0807E878 + Jump script_0800F1E6 +script_0800F2EA: + EndBlock + BeginBlock + CheckKinstoneFused 0x0032 + JumpIf script_0800F314 + CheckEntityInteractType + JumpIfNot script_0800F2EA + EndBlock + _0807E864 + _0807EB74 + _0807E930 0x0008 + MessageFromTargetPos 0x1208, 0x000c + WaitUntilTextboxCloses + _0807E878 + Jump script_0800F1E6 +script_0800F314: + EndBlock + _0807E5F8 0x00000040 + WaitForSomething2 0x00000002 + SetEntitySpeed 0x0100 + _0807EB44 0x0002 + _0807EEF4 0x00c0, 0x0000 + _0807E5F8 0x00000040 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/kinstones/script_KidKinstone1.inc b/data/scripts/cutscene/kinstones/script_KidKinstone1.inc new file mode 100644 index 00000000..45b1ce72 --- /dev/null +++ b/data/scripts/cutscene/kinstones/script_KidKinstone1.inc @@ -0,0 +1,43 @@ +@ Hyrule Town Kinstone cutscene Kid 1 +SCRIPT_START script_KidKinstone1 + BeginBlock + _0807E9D4 + _0807EB44 0x0002 + DoPostScriptAction 0x0001 + DoPostScriptAction 0x0008 + SetEntitySpeed 0x0080 + DoPostScriptAction 0x000b + EndBlock + Call sub_0807F348 + WaitForSomething2 0x00000004 + DoPostScriptAction 0x0007 + _0807EDD4 0x01f8, 0x0318 + _0807EDD4 0x0208, 0x0318 + _0807EDD4 0x0208, 0x0338 + _0807EB44 0x0006 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x000a + _0807E5F8 0x00000080 +script_0800F3EA: + EndBlock + BeginBlock + CheckEntityInteractType + JumpIfNot script_0800F402 + EndBlock + _0807E864 + _0807EB74 + MessageNoOverlap 0x1237 + WaitUntilTextboxCloses + _0807E878 +script_0800F402: + TestBit 0x00000004 + JumpIfNot script_0800F3EA + EndBlock + DoPostScriptAction 0x000b + Wait 0x0010 + SetEntitySpeed 0x0100 + _0807EC64 0x0010 + _0807EDD4 0x0288, 0x0328 + _0807E5F8 0x00000080 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/kinstones/script_KidKinstone2.inc b/data/scripts/cutscene/kinstones/script_KidKinstone2.inc new file mode 100644 index 00000000..c197dfec --- /dev/null +++ b/data/scripts/cutscene/kinstones/script_KidKinstone2.inc @@ -0,0 +1,44 @@ +@ Hyrule Town Kinstone cutscene Kid 2 +SCRIPT_START script_KidKinstone2 + BeginBlock + _0807E9D4 + _0807EB44 0x0002 + DoPostScriptAction 0x0001 + DoPostScriptAction 0x0008 + SetEntitySpeed 0x0080 + DoPostScriptAction 0x000b + EndBlock + Call sub_0807F348 + WaitForSomething2 0x00000008 + DoPostScriptAction 0x0007 + _0807EDD4 0x01d8, 0x0328 + _0807EDD4 0x01f8, 0x0348 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x000a + _0807E5F8 0x00000100 +script_0800F478: + EndBlock + BeginBlock + CheckEntityInteractType + JumpIfNot script_0800F490 + EndBlock + _0807E864 + _0807EB74 + MessageNoOverlap 0x1238 + WaitUntilTextboxCloses + _0807E878 +script_0800F490: + TestBit 0x00000008 + JumpIfNot script_0800F478 + EndBlock + DoPostScriptAction 0x000b + Wait 0x0018 + SetEntitySpeed 0x0100 + _0807EC94 0x0010 + _0807EC64 0x0020 + _0807EDD4 0x0288, 0x0328 + _0807E5F8 0x00000100 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/kinstones/script_KidKinstone3.inc b/data/scripts/cutscene/kinstones/script_KidKinstone3.inc new file mode 100644 index 00000000..1b55066e --- /dev/null +++ b/data/scripts/cutscene/kinstones/script_KidKinstone3.inc @@ -0,0 +1,43 @@ +@ Hyrule Town Kinstone cutscene Kid 3 +SCRIPT_START script_KidKinstone3 + BeginBlock + _0807E9D4 + _0807EB44 0x0002 + DoPostScriptAction 0x0001 + DoPostScriptAction 0x0008 + SetEntitySpeed 0x0080 + DoPostScriptAction 0x000b + EndBlock + Call sub_0807F348 + WaitForSomething2 0x00000010 + DoPostScriptAction 0x0007 + _0807EDD4 0x01c8, 0x0328 + _0807EDD4 0x01e8, 0x0338 + _0807EB44 0x0002 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x000a + _0807E5F8 0x00000200 +script_0800F50C: + EndBlock + BeginBlock + CheckEntityInteractType + JumpIfNot script_0800F524 + EndBlock + _0807E864 + _0807EB74 + MessageNoOverlap 0x1239 + WaitUntilTextboxCloses + _0807E878 +script_0800F524: + TestBit 0x00000010 + JumpIfNot script_0800F50C + EndBlock + DoPostScriptAction 0x000b + Wait 0x0028 + SetEntitySpeed 0x0100 + _0807EC64 0x0010 + _0807EDD4 0x0288, 0x0328 + _0807E5F8 0x00000200 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/kinstones/script_Npc4EFirstKinstone.inc b/data/scripts/cutscene/kinstones/script_Npc4EFirstKinstone.inc new file mode 100644 index 00000000..33bd8b48 --- /dev/null +++ b/data/scripts/cutscene/kinstones/script_Npc4EFirstKinstone.inc @@ -0,0 +1,48 @@ +@ Hyrule Town NPC4E Kinstone Cutscene +SCRIPT_START script_Npc4EFirstKinstone + BeginBlock + _0807F0B4 0x0001 + CameraTargetPlayer + EndBlock +script_0800F09A: + CheckPlayerInRegion 0x01f8, 0x0338, 0x1030 + JumpIfNot script_0800F09A + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + LoadRoomEntityList gUnk_080EE8AC + StartPlayerScript script_PlayerAtFirstKinstone + WaitForSomething2 0x00000001 + _0807E5F8 0x0000001e + WaitForSomething2 0x00000040 + MessageFromTargetPos 0x1201, 0x000c + WaitUntilTextboxCloses + WaitForSomething2 0x000003c0 + _0807E8E4_0 + MessageFromTargetPos 0x1202, 0x000c + WaitUntilTextboxCloses + _0807F034 0x0067 + WaitPlayerGetItem + _0807E8E4_0 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000040 + MessageFromTargetPos 0x1203, 0x000c + WaitUntilTextboxCloses + _0807E5F8 0x00000002 + Call sub_0807DF50 + _0807E878 + WaitForSomething2 0x00000040 +script_0800F11A: + CheckKinstoneFused 0x0032 + JumpIfNot script_0800F11A + _0807E864 + Call sub_0807DF28 + _0807E5F8 0x0000001e + Wait 0x003c + _0807E8E4_1 + WaitForSomething2 0x000003c0 + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/kinstones/script_PlayerAtFirstKinstone.inc b/data/scripts/cutscene/kinstones/script_PlayerAtFirstKinstone.inc new file mode 100644 index 00000000..40305c72 --- /dev/null +++ b/data/scripts/cutscene/kinstones/script_PlayerAtFirstKinstone.inc @@ -0,0 +1,16 @@ +@ Hyrule Town Kinstone cutscene Player +SCRIPT_START script_PlayerAtFirstKinstone + BeginBlock + SetEntitySpeed 0x0080 + EndBlock + DoPostScriptAction 0x0000 + _0807EB44 0x0006 + DoPostScriptAction 0x0004 + Wait 0x003c + DoPostScriptAction 0x0001 + _0807EDD4 0x01f8, 0x0338 + _0807EB44 0x0006 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/cutscene/kinstones/script_PlayerAtHurdyGurdyManFirstKinstone1.inc b/data/scripts/cutscene/kinstones/script_PlayerAtHurdyGurdyManFirstKinstone1.inc new file mode 100644 index 00000000..cc32b8ed --- /dev/null +++ b/data/scripts/cutscene/kinstones/script_PlayerAtHurdyGurdyManFirstKinstone1.inc @@ -0,0 +1,8 @@ +@ Player at Hyrule Town Kinstone cutscene HurdyGurdyMan +SCRIPT_START script_PlayerAtHurdyGurdyManFirstKinstone1 + SetEntitySpeed 0x0100 + _0807EC94 0x0008 + _0807E5F8 0x00000400 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/kinstones/script_PlayerAtHurdyGurdyManFirstKinstone2.inc b/data/scripts/cutscene/kinstones/script_PlayerAtHurdyGurdyManFirstKinstone2.inc new file mode 100644 index 00000000..a8d17ccd --- /dev/null +++ b/data/scripts/cutscene/kinstones/script_PlayerAtHurdyGurdyManFirstKinstone2.inc @@ -0,0 +1,8 @@ +@ Player at Hyrule Town Kinstone cutscene HurdyGurdyMan 2 +SCRIPT_START script_PlayerAtHurdyGurdyManFirstKinstone2 + SetEntitySpeed 0x0100 + _0807ECF4 0x0008 + _0807E5F8 0x00000400 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/kinstones/script_PlayerAtHurdyGurdyManFirstKinstone3.inc b/data/scripts/cutscene/kinstones/script_PlayerAtHurdyGurdyManFirstKinstone3.inc new file mode 100644 index 00000000..e951333f --- /dev/null +++ b/data/scripts/cutscene/kinstones/script_PlayerAtHurdyGurdyManFirstKinstone3.inc @@ -0,0 +1,8 @@ +@ Player at Hyrule Town Kinstone cutscene HurdyGurdyMan 3 +SCRIPT_START script_PlayerAtHurdyGurdyManFirstKinstone3 + SetEntitySpeed 0x0100 + _0807ECC4 0x0008 + _0807E5F8 0x00000400 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/kinstones/script_PlayerAtHurdyGurdyManFirstKinstone4.inc b/data/scripts/cutscene/kinstones/script_PlayerAtHurdyGurdyManFirstKinstone4.inc new file mode 100644 index 00000000..db5813b5 --- /dev/null +++ b/data/scripts/cutscene/kinstones/script_PlayerAtHurdyGurdyManFirstKinstone4.inc @@ -0,0 +1,8 @@ +@ Player at Hyrule Town Kinstone cutscene HurdyGurdyMan 4 +SCRIPT_START script_PlayerAtHurdyGurdyManFirstKinstone4 + SetEntitySpeed 0x0100 + _0807EC64 0x0008 + _0807E5F8 0x00000400 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/minishVillage/script_ForestMinish5.inc b/data/scripts/cutscene/minishVillage/script_ForestMinish5.inc new file mode 100644 index 00000000..15ae2605 --- /dev/null +++ b/data/scripts/cutscene/minishVillage/script_ForestMinish5.inc @@ -0,0 +1,35 @@ +@ Minish Village Intro Forest Minish +SCRIPT_START script_ForestMinish5 + BeginBlock + DoPostScriptAction 0x0000 + DoPostScriptAction 0x0008 + SetEntitySpeed 0x0100 + DoPostScriptAction 0x000f + Call sub_0807F338 + EndBlock + WaitForSomething2 0x00000200 + DoPostScriptAction 0x0007 + _0807EDD4 0x0208, 0x0308 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000400 + WaitForSomething2 0x00000200 + PlaySound SFX_PLY_JUMP + _0807EF3C 0x0180, 0x0030 + PlaySound SFX_PLY_JUMP + _0807EF3C 0x0180, 0x0030 + _0807E5F8 0x00000400 + WaitForSomething2 0x00000200 + SetEntitySpeed 0x0200 + DoPostScriptAction 0x000f + _0807EDD4 0x0208, 0x0328 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000400 + WaitForSomething2 0x00000200 + SetEntitySpeed 0x0300 + DoPostScriptAction 0x000f + _0807EDD4 0x0208, 0x02b0 + _0807E5F8 0x00000400 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/minishVillage/script_ForestMinish6.inc b/data/scripts/cutscene/minishVillage/script_ForestMinish6.inc new file mode 100644 index 00000000..6fe0af32 --- /dev/null +++ b/data/scripts/cutscene/minishVillage/script_ForestMinish6.inc @@ -0,0 +1,31 @@ +@ Minish Village Intro Forest Minish 2 +SCRIPT_START script_ForestMinish6 + BeginBlock + DoPostScriptAction 0x0000 + DoPostScriptAction 0x0008 + SetEntitySpeed 0x0100 + DoPostScriptAction 0x000f + Call sub_0807F338 + EndBlock + WaitForSomething2 0x00000800 + DoPostScriptAction 0x0007 + _0807EB44 0x0002 + DoPostScriptAction 0x0001 + _0807EDD4 0x01a8, 0x0330 + _0807EB44 0x0002 + DoPostScriptAction 0x0000 + _0807E5F8 0x00001000 + WaitForSomething2 0x00000800 + SetEntitySpeed 0x0200 + DoPostScriptAction 0x000f + _0807EDD4 0x01f8, 0x0348 + DoPostScriptAction 0x0000 + _0807E5F8 0x00001000 + WaitForSomething2 0x00000800 + SetEntitySpeed 0x0300 + DoPostScriptAction 0x000f + _0807EDD4 0x0178, 0x0328 + _0807E5F8 0x00001000 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/minishVillage/script_ForestMinish7.inc b/data/scripts/cutscene/minishVillage/script_ForestMinish7.inc new file mode 100644 index 00000000..63c90ea4 --- /dev/null +++ b/data/scripts/cutscene/minishVillage/script_ForestMinish7.inc @@ -0,0 +1,35 @@ +@ Minish Village Intro Forest Minish 3 +SCRIPT_START script_ForestMinish7 + BeginBlock + DoPostScriptAction 0x0000 + DoPostScriptAction 0x0008 + SetEntitySpeed 0x0100 + DoPostScriptAction 0x000f + Call sub_0807F338 + EndBlock + WaitForSomething2 0x00002000 + DoPostScriptAction 0x0007 + _0807EDD4 0x0258, 0x0330 + _0807EB44 0x0006 + DoPostScriptAction 0x0000 + _0807E5F8 0x00004000 + WaitForSomething2 0x00002000 + SetEntitySpeed 0x0200 + DoPostScriptAction 0x000f + _0807EDD4 0x0218, 0x0340 + DoPostScriptAction 0x0000 + _0807E5F8 0x00004000 + WaitForSomething2 0x00002000 + PlaySound SFX_PLY_JUMP + _0807EF3C 0x0180, 0x0030 + PlaySound SFX_PLY_JUMP + _0807EF3C 0x0180, 0x0030 + _0807E5F8 0x00004000 + WaitForSomething2 0x00002000 + SetEntitySpeed 0x0300 + DoPostScriptAction 0x000f + _0807EDD4 0x0288, 0x02d8 + _0807E5F8 0x00004000 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/minishVillage/script_ForestMinish8.inc b/data/scripts/cutscene/minishVillage/script_ForestMinish8.inc new file mode 100644 index 00000000..738c4983 --- /dev/null +++ b/data/scripts/cutscene/minishVillage/script_ForestMinish8.inc @@ -0,0 +1,35 @@ +@ Minish Village Intro Forest Minish 4 +SCRIPT_START script_ForestMinish8 + BeginBlock + DoPostScriptAction 0x0008 + DoPostScriptAction 0x0000 + SetEntitySpeed 0x0100 + DoPostScriptAction 0x000f + Call sub_0807F338 + EndBlock + WaitForSomething2 0x00008000 + DoPostScriptAction 0x0007 + _0807EDD4 0x01b8, 0x0320 + _0807EB44 0x0002 + DoPostScriptAction 0x0000 + _0807E5F8 0x00010000 + WaitForSomething2 0x00008000 + SetEntitySpeed 0x0200 + DoPostScriptAction 0x000f + _0807EDD4 0x01f8, 0x0330 + DoPostScriptAction 0x0000 + _0807E5F8 0x00010000 + WaitForSomething2 0x00008000 + PlaySound SFX_PLY_JUMP + _0807EF3C 0x0180, 0x0030 + PlaySound SFX_PLY_JUMP + _0807EF3C 0x0180, 0x0030 + _0807E5F8 0x00010000 + WaitForSomething2 0x00008000 + SetEntitySpeed 0x0300 + DoPostScriptAction 0x000f + _0807EDD4 0x0188, 0x02d8 + _0807E5F8 0x00010000 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/minishVillage/script_ForestMinish9.inc b/data/scripts/cutscene/minishVillage/script_ForestMinish9.inc new file mode 100644 index 00000000..2c974e25 --- /dev/null +++ b/data/scripts/cutscene/minishVillage/script_ForestMinish9.inc @@ -0,0 +1,29 @@ +@ Minish Village Intro Forest Minish 5 +SCRIPT_START script_ForestMinish9 + BeginBlock + DoPostScriptAction 0x0000 + DoPostScriptAction 0x0008 + SetEntitySpeed 0x0100 + DoPostScriptAction 0x000f + Call sub_0807F338 + EndBlock + WaitForSomething2 0x00020000 + DoPostScriptAction 0x0007 + _0807EDD4 0x0268, 0x0338 + _0807EB44 0x0006 + DoPostScriptAction 0x0000 + _0807E5F8 0x00040000 + WaitForSomething2 0x00020000 + SetEntitySpeed 0x0200 + DoPostScriptAction 0x000f + _0807EDD4 0x0218, 0x0350 + DoPostScriptAction 0x0000 + _0807E5F8 0x00040000 + WaitForSomething2 0x00020000 + SetEntitySpeed 0x0300 + DoPostScriptAction 0x000f + _0807EDD4 0x02a8, 0x0328 + _0807E5F8 0x00040000 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/minishVillage/script_Object69VillageIntro.inc b/data/scripts/cutscene/minishVillage/script_Object69VillageIntro.inc new file mode 100644 index 00000000..81567508 --- /dev/null +++ b/data/scripts/cutscene/minishVillage/script_Object69VillageIntro.inc @@ -0,0 +1,83 @@ +@ Minish Village OBJECT_69 Intro Cutscene? +SCRIPT_START script_Object69VillageIntro + BeginBlock + _0807EB44 0x0004 + SetEntitySpeed 0x0300 + EndBlock +script_0800C928: + CheckPlayerInRegion 0x0208, 0x0360, 0x2040 + JumpIfNot script_0800C928 + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + StartPlayerScript script_PlayerAtVillageIntro + WaitForSomething2 0x00000002 + Wait 0x003c + _0807EB28 0x1125 + WaitUntilTextboxCloses + _0807E5F8 0x00000800 + _0807E8E4_3 + Wait 0x003c + _0807E5F8 0x00000200 + _0807E8E4_0 + Wait 0x001e + _0807E5F8 0x00002000 + _0807E8E4_1 + Wait 0x0014 + _0807E5F8 0x00020000 + _0807E8E4_1 + Wait 0x000a + _0807E5F8 0x00008000 + _0807E8E4_3 + Wait 0x001e + WaitForSomething2 0x00000400 + WaitForSomething2 0x00001000 + WaitForSomething2 0x00004000 + WaitForSomething2 0x00010000 + WaitForSomething2 0x00040000 + _0807E8E4_0 + Wait 0x003c + _0807E5F8 0x00000200 + WaitForSomething2 0x00000400 + _0807E8E4_0 + MessageFromTarget 0x1126 + Call sub_0807F40C + WaitUntilTextboxCloses + _0807E5F8 0x00000200 + _0807E5F8 0x00000800 + _0807E5F8 0x00002000 + _0807E5F8 0x00008000 + _0807E5F8 0x00020000 + WaitForSomething2 0x00000400 + WaitForSomething2 0x00001000 + WaitForSomething2 0x00004000 + WaitForSomething2 0x00010000 + WaitForSomething2 0x00040000 + _0807E5F8 0x00008000 + WaitForSomething2 0x00010000 + _0807E8E4_3 + MessageFromTarget 0x1127 + WaitUntilTextboxCloses + _0807E5F8 0x00002000 + WaitForSomething2 0x00004000 + _0807E8E4_1 + MessageFromTarget 0x1128 + WaitUntilTextboxCloses + _0807E5F8 0x00000200 + _0807E5F8 0x00000800 + _0807E5F8 0x00002000 + _0807E5F8 0x00008000 + _0807E5F8 0x00020000 + WaitForSomething2 0x00000400 + WaitForSomething2 0x00001000 + WaitForSomething2 0x00004000 + WaitForSomething2 0x00010000 + WaitForSomething2 0x00040000 + _0807E8E4_0 + _0807EB28 0x1129 + WaitUntilTextboxCloses + SetLocalFlag 0x008d + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/minishVillage/script_PlayerAtVillageIntro.inc b/data/scripts/cutscene/minishVillage/script_PlayerAtVillageIntro.inc new file mode 100644 index 00000000..9ad9b910 --- /dev/null +++ b/data/scripts/cutscene/minishVillage/script_PlayerAtVillageIntro.inc @@ -0,0 +1,14 @@ +@ Minish Village Intro Player +SCRIPT_START script_PlayerAtVillageIntro + BeginBlock + SetEntitySpeed 0x0100 + EndBlock + DoPostScriptAction 0x0001 + _0807EDD4 0x0208, 0x0358 + SetEntitySpeed 0x0080 + _0807EDD4 0x0208, 0x0340 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000002 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/originStory/script_EzloCapExplainingOriginStory.inc b/data/scripts/cutscene/originStory/script_EzloCapExplainingOriginStory.inc new file mode 100644 index 00000000..ba131031 --- /dev/null +++ b/data/scripts/cutscene/originStory/script_EzloCapExplainingOriginStory.inc @@ -0,0 +1,25 @@ +@ Outside Castle after ezlo cutscene EzloCap +SCRIPT_START script_EzloCapExplainingOriginStory + BeginBlock + SetEntitySpeed 0x0080 + DoPostScriptAction 0x0007 + EndBlock + _0807E930 0x001f + Call sub_0806D944 + WaitForSomething2 0x00000008 + _0807E930 0x0010 + MessageFromTargetPos 0x1314, 0x000c + WaitUntilTextboxCloses + _0807E930 0x0018 + Call sub_0806D8A0 +script_080153C2: + _0807EE30 + JumpIfNot script_080153C2 + _0807E930 0x001f + StartPlayerScript script_PlayerReceivedExposition + Call sub_0806D9A4 + DoPostScriptAction 0x0008 + Wait 0x0078 + _0807E5F8 0x00000010 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/originStory/script_MinishEzlo.inc b/data/scripts/cutscene/originStory/script_MinishEzlo.inc new file mode 100644 index 00000000..cf2b0806 --- /dev/null +++ b/data/scripts/cutscene/originStory/script_MinishEzlo.inc @@ -0,0 +1,46 @@ +@ Ezlo Cutscene MinishEzlo +SCRIPT_START script_MinishEzlo + BeginBlock + SetEntitySpeed 0x0080 + DoPostScriptAction 0x0007 + _0807EB44 0x0000 + Call sub_0807F338 + EndBlock + CallWithArg sub_0806AF60, 0x00000000 + WaitForSomething2 0x00008000 + CallWithArg sub_0806AF60, 0x00000004 + _0807EDD4 0x0078, 0x00b8 + _0807EB44 0x0000 + CallWithArg sub_0806AF60, 0x00000000 + _0807E5F8 0x00010000 + WaitForSomething2 0x00008000 + DoPostScriptAction 0x000d + _0807EB44 0x0000 + CallWithArg sub_0806AF60, 0x00000004 + _0807EDD4 0x0078, 0x00c8 + _0807E5F8 0x00010000 + WaitForSomething2 0x00008000 + _0807EB44 0x0000 + CallWithArg sub_0806AF60, 0x00000000 + DoPostScriptAction 0x0010 + Wait 0x0028 + PlaySound SFX_125 + CallWithArg sub_0807FB28, 0x00000003 + Wait 0x000a + PlaySound SFX_125 + CallWithArg sub_0807FB28, 0x00000003 + Wait 0x000a + DoPostScriptAction 0x0010 + _0807E5F8 0x00010000 + WaitForSomething2 0x00008000 + _0807E930 0x000d + Call sub_0807F2D4 + _0807E5F8 0x00010000 + Wait 0x003c + DoPostScriptAction 0x0005 + Wait 0x003c +script_080155E6: + CheckRoomFlag 0x0001 + JumpIfNot script_080155E6 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/originStory/script_Object69CameraTarget.inc b/data/scripts/cutscene/originStory/script_Object69CameraTarget.inc new file mode 100644 index 00000000..aa254ab2 --- /dev/null +++ b/data/scripts/cutscene/originStory/script_Object69CameraTarget.inc @@ -0,0 +1,27 @@ +@ Ezlo Cutscene OBJECT_69 Camera Target? +SCRIPT_START script_Object69CameraTarget + _0807E5F8 0x00000800 + WaitForSomething2 0x00001000 + PlaySound SFX_125 + CallWithArg sub_0807FB28, 0x00000003 + _0807E5F8 0x00048000 + WaitForSomething2 0x00090000 + MessageFromTargetPos 0x1311, 0x0002 + WaitUntilTextboxCloses + _0807E5F8 0x00008000 + WaitForSomething2 0x00010000 + _0807E5F8 0x00048000 + WaitForSomething2 0x00010000 + CallWithArg DeleteManager36, 0x00000001 + _0807F0C8 0x0000, 0x0000 + MessageFromTargetPos 0x1312, 0x000c + WaitUntilTextboxCloses + _0807E5F8 0x00000800 + WaitForSomething2 0x00001000 + StopBgm + _0807E778 0x0004 + DoFade5 + WaitFor_2 + SetRoomFlag 0x0001 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/originStory/script_Object69MinishVaati.inc b/data/scripts/cutscene/originStory/script_Object69MinishVaati.inc new file mode 100644 index 00000000..667db5fc --- /dev/null +++ b/data/scripts/cutscene/originStory/script_Object69MinishVaati.inc @@ -0,0 +1,37 @@ +@ Ezlo Cutscene OBJECT_69 MinishVaati +SCRIPT_START script_Object69MinishVaati + BeginBlock + _0807F0B4 0x0007 + SetEntityPositionRelative 0x0078, 0x0068 + CameraTargetEntity + EndBlock + PlayBgm BGM_EZLO_STORY + _0807E778 0x0004 + DoFade4 + WaitFor_2 + Wait 0x003c + _0807E5F8 0x00000080 + WaitForSomething2 0x00000100 + _0807E5F8 0x00000800 + WaitForSomething2 0x00001000 + _0807E5F8 0x00000880 + WaitForSomething2 0x00001100 + _0807F0B4 0x0004 + SetEntityPositionRelative 0x0078, 0x0090 + MessageFromTargetPos 0x1330, 0x0002 + WaitUntilTextboxCloses + _0807E5F8 0x00008000 + WaitForSomething2 0x00010000 + _0807E5F8 0x00000880 + WaitForSomething2 0x00001000 + Wait 0x003c + MessageFromTargetPos 0x130d, 0x0002 + WaitUntilTextboxCloses + MessageFromTargetPos 0x130e, 0x000c + WaitUntilTextboxCloses + MessageFromTargetPos 0x130f, 0x0002 + WaitUntilTextboxCloses + MessageFromTargetPos 0x1310, 0x000c + WaitUntilTextboxCloses + CallWithArg CreateManager36, 0x00000001 + _0807F0C8 0xffff, 0x0000 diff --git a/data/scripts/cutscene/originStory/script_Object69VaatiAppears.inc b/data/scripts/cutscene/originStory/script_Object69VaatiAppears.inc new file mode 100644 index 00000000..6ed25d62 --- /dev/null +++ b/data/scripts/cutscene/originStory/script_Object69VaatiAppears.inc @@ -0,0 +1,161 @@ +@ Outside Castle OBJECT_69 Vaati appearance +SCRIPT_START script_Object69VaatiAppears + BeginBlock + SetEntityPositionRelative 0x01f8, 0x00e0 + Call sub_08054564 + EndBlock +script_08014FCC: + CheckPlayerInRegion 0x01f8, 0x00a0, 0x2040 + JumpIfNot script_08014FCC + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + StopBgm + _0807F0B4 0x0001 + CameraTargetEntity + StartPlayerScript script_PlayerAtVaatisAppearance + WaitForSomething2 0x00000001 + MessageFromTargetPos 0x1301, 0x0002 + WaitUntilTextboxCloses + Call sub_0807F3F8 + Wait 0x003c + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + PlayBgm BGM_VAATI_THEME + _0807EB28 0x1302 + WaitUntilTextboxCloses + MessageFromTargetPos 0x1303, 0x0002 + WaitUntilTextboxCloses + _0807EB28 0x1304 + WaitUntilTextboxCloses + MessageFromTargetPos 0x1305, 0x0002 + WaitUntilTextboxCloses + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + _0807EB28 0x1306 + WaitUntilTextboxCloses + StopBgm + StartPlayerScript script_PlayerTryToFollowVaati + CameraTargetEntity + _0807F0B4 0x0003 + SetEntityPositionRelative 0x01f8, 0x0148 + WaitForSomething2 0x00000001 + Call sub_0804F6A8 + Wait 0x0004 + Call sub_0804F808 + PlaySound SFX_10B + StartPlayerScript script_PlayerStoneWallsAppear + Call sub_0804F6C8 + Wait 0x0004 + Call sub_0804F830 + PlaySound SFX_10B + Call sub_0804F6E8 + Wait 0x0004 + Call sub_0804F854 + PlaySound SFX_10B + Call sub_0804F724 + Wait 0x0004 + Call sub_0804F89C + PlaySound SFX_10B + Call sub_0804F760 + Wait 0x0004 + Call sub_0804F8E0 + PlaySound SFX_10B + Wait 0x003c + WaitForSomething2 0x00000001 + PlaySound SFX_1B0 + Call sub_0804F79C + Wait 0x000a + LoadRoomEntityList gUnk_080F7FC0 + PlayBgm BGM_FIGHT_THEME + Call sub_0807DF50 + _0807E878 +script_08015104: + CheckRoomFlag 0x0000 + JumpIfNot script_08015104 + @ Defeated Moblins + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + StopBgm + StartPlayerScript script_PlayerDefeatedMoblins + WaitForSomething2 0x00000001 + Wait 0x003c + Call sub_0804F6A8 + Wait 0x0004 + Call sub_0804F928 + PlaySound SFX_10B + Call sub_0804F6C8 + Wait 0x0004 + Call sub_0804F944 + PlaySound SFX_10B + Call sub_0804F6E8 + Wait 0x0004 + Call sub_0804F960 + PlaySound SFX_10B + Call sub_0804F724 + Wait 0x0004 + Call sub_0804F994 + PlaySound SFX_10B + Call sub_0804F760 + Wait 0x0004 + Call sub_0804F9C8 + PlaySound SFX_10B + Wait 0x003c + PlaySound SFX_SECRET + _0807F0B4 0x0004 + CameraTargetPlayer +.ifdef JP + SetLocalFlag 0x008a +.else +.ifdef EU + SetLocalFlag 0x008a +.else +.ifdef DEMO_JP + SetLocalFlag 0x008a @ TODO deduplicate +.else + SetLocalFlag 0x008c +.endif +.endif +.endif + _0807EB28 0x130c + WaitUntilTextboxCloses + @ Ezlo cutscene starts + CameraTargetPlayer + _0807E778 0x0004 + _0807E80C 0x00000000 + WaitFor_2 + Call sub_08053B3C + BeginBlock + _0807E864 + CallWithArg sub_0807F6E8, 0x00000008 + MoveEntityToPlayer + _0807F0B4 0x0004 + CameraTargetEntity + _0807E778 0x0100 + DoFade4 + _0807E80C 0x00000000 + EndBlock + StartPlayerScript script_PlayerSeenOriginStory + WaitForSomething2 0x00000001 + LoadRoomEntityList gUnk_080F7CB0 + _0807E778 0x0004 + _0807E800 0x00000000 + WaitFor_2 + _0807E5F8 0x00000008 + WaitForSomething2 0x00000010 + BeginBlock + _0807E8E4_2 + _0807EB28 0x1315 + EndBlock + WaitUntilTextboxCloses + _0807F0B4 0x0004 + CameraTargetPlayer + Call sub_08054570 + PlayBGM + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/originStory/script_Object6ADarkMagic.inc b/data/scripts/cutscene/originStory/script_Object6ADarkMagic.inc new file mode 100644 index 00000000..655d8258 --- /dev/null +++ b/data/scripts/cutscene/originStory/script_Object6ADarkMagic.inc @@ -0,0 +1,21 @@ +@ Ezlo Cutscene OBJECT_6A dark magic +SCRIPT_START script_Object6ADarkMagic + BeginBlock + _0807E930 0x0000 + SetEntitySpeed 0x0200 + Call sub_08094B80 + EndBlock + Wait 0x0078 + PlaySound SFX_1C5 + Call sub_08094B6C + _0807EDD4 0x0078, 0x00b8 + PlaySound SFX_1C6 + Call sub_08094B80 + _0807E5F8 0x00020000 + SetEntitySpeed 0x0080 + WaitForSomething2 0x00040000 + _0807EDD4 0x0078, 0x00c8 + _0807E5F8 0x00080000 + WaitForSomething2 0x00040000 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/originStory/script_Object6AMinishCap.inc b/data/scripts/cutscene/originStory/script_Object6AMinishCap.inc new file mode 100644 index 00000000..56f0f57a --- /dev/null +++ b/data/scripts/cutscene/originStory/script_Object6AMinishCap.inc @@ -0,0 +1,23 @@ +@ Ezlo Cutscene OBJECT_6A Minish Cap +SCRIPT_START script_Object6AMinishCap + BeginBlock + DoPostScriptAction 0x0007 + SetEntitySpeed 0x0040 + Call sub_08094B80 + EndBlock + WaitForSomething2 0x00000080 + CallWithArg CreateManager36, 0x00000003 + Call sub_08094B0C + _0807EDD4 0x0078, 0x0068 + _0807E5F8 0x00000100 + WaitForSomething2 0x00000080 + _0807EF3C 0xff80, 0x0000 + CallWithArg DeleteManager36, 0x00000003 + Wait 0x003c + _0807E5F8 0x00000100 + WaitForSomething2 0x00000080 + _0807E930 0x0001 + Call sub_0807F2D4 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/originStory/script_PlayerAtVaatisAppearance.inc b/data/scripts/cutscene/originStory/script_PlayerAtVaatisAppearance.inc new file mode 100644 index 00000000..668b0930 --- /dev/null +++ b/data/scripts/cutscene/originStory/script_PlayerAtVaatisAppearance.inc @@ -0,0 +1,12 @@ +@ Player outside castle for Vaati appearance +SCRIPT_START script_PlayerAtVaatisAppearance + BeginBlock + SetEntitySpeed 0x0080 + EndBlock + DoPostScriptAction 0x0001 + _0807EDD4 0x01f8, 0x00b8 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/cutscene/originStory/script_PlayerDefeatedMoblins.inc b/data/scripts/cutscene/originStory/script_PlayerDefeatedMoblins.inc new file mode 100644 index 00000000..21b9fb9d --- /dev/null +++ b/data/scripts/cutscene/originStory/script_PlayerDefeatedMoblins.inc @@ -0,0 +1,12 @@ +@ Player Outside Castle after defeating Moblins +SCRIPT_START script_PlayerDefeatedMoblins + BeginBlock + SetEntitySpeed 0x0100 + EndBlock + DoPostScriptAction 0x0001 + _0807EDD4 0x01f8, 0x0148 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/cutscene/originStory/script_PlayerReceivedExposition.inc b/data/scripts/cutscene/originStory/script_PlayerReceivedExposition.inc new file mode 100644 index 00000000..77508e79 --- /dev/null +++ b/data/scripts/cutscene/originStory/script_PlayerReceivedExposition.inc @@ -0,0 +1,5 @@ +@ Player Outside Castle after Ezlo explanation after ezlo cutscene +SCRIPT_START script_PlayerReceivedExposition + DoPostScriptAction 0x0015 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/cutscene/originStory/script_PlayerSeenOriginStory.inc b/data/scripts/cutscene/originStory/script_PlayerSeenOriginStory.inc new file mode 100644 index 00000000..15faade4 --- /dev/null +++ b/data/scripts/cutscene/originStory/script_PlayerSeenOriginStory.inc @@ -0,0 +1,11 @@ +@ Player after Ezlo Cutscene +SCRIPT_START script_PlayerSeenOriginStory + BeginBlock + SetEntitySpeed 0x0100 + SetEntityPositionRelative 0x0208, 0x0148 + EndBlock + _0807EB44 0x0006 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/cutscene/originStory/script_PlayerStoneWallsAppear.inc b/data/scripts/cutscene/originStory/script_PlayerStoneWallsAppear.inc new file mode 100644 index 00000000..a3c96b65 --- /dev/null +++ b/data/scripts/cutscene/originStory/script_PlayerStoneWallsAppear.inc @@ -0,0 +1,15 @@ +@ Player Outside Castle when stones appear before Moblin Fight +SCRIPT_START script_PlayerStoneWallsAppear + _0807EB44 0x0002 + Wait 0x000a + _0807EB44 0x0006 + Wait 0x000a + _0807EB44 0x0002 + Wait 0x000a + _0807EB44 0x0006 + Wait 0x000a + _0807EB44 0x0004 + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/originStory/script_PlayerTryToFollowVaati.inc b/data/scripts/cutscene/originStory/script_PlayerTryToFollowVaati.inc new file mode 100644 index 00000000..b9759827 --- /dev/null +++ b/data/scripts/cutscene/originStory/script_PlayerTryToFollowVaati.inc @@ -0,0 +1,12 @@ +@ Player trying to follow Vaati outside castle +SCRIPT_START script_PlayerTryToFollowVaati + BeginBlock + SetEntitySpeed 0x0200 + EndBlock + DoPostScriptAction 0x0001 + _0807EDD4 0x01f8, 0x0148 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/cutscene/originStory/script_Vaati.inc b/data/scripts/cutscene/originStory/script_Vaati.inc new file mode 100644 index 00000000..8cdeb503 --- /dev/null +++ b/data/scripts/cutscene/originStory/script_Vaati.inc @@ -0,0 +1,47 @@ +@ Ezlo Cutscene Vaati +SCRIPT_START script_Vaati + BeginBlock + DoPostScriptAction 0x0007 + DoPostScriptAction 0x000b + _0807EB44 0x0000 + DoPostScriptAction 0x0017 + Call sub_0807F180 + EndBlock + WaitForSomething2 0x00000800 + _0807EB44 0x0002 + DoPostScriptAction 0x0017 + Wait 0x000a + _0807EB44 0x0004 + DoPostScriptAction 0x0017 + _0807EB44 0x0004 + DoPostScriptAction 0x001b + _0807E5F8 0x00001000 + WaitForSomething2 0x00000800 + Wait 0x0078 + DoPostScriptAction 0x0004 + Wait 0x0014 + _0807E5F8 0x00001000 + WaitForSomething2 0x00000800 + DoPostScriptAction 0x0018 + Call sub_0807F2D4 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + _0807E5F8 0x00001000 + WaitForSomething2 0x00000800 + _0807EB44 0x0004 + DoPostScriptAction 0x0014 + CallWithArg sub_0809545C, script_Object6ADarkMagic + PlaySound SFX_1C4 + Wait 0x0078 + DoPostScriptAction 0x0016 + WaitForSomething2 0x00020000 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + _0807E5F8 0x00001000 + WaitForSomething2 0x00000800 + Call sub_08066CA4 + DoPostScriptAction 0x0008 + Wait 0x0078 + _0807E5F8 0x00001000 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/originStory/script_VaatiAppearsAgain.inc b/data/scripts/cutscene/originStory/script_VaatiAppearsAgain.inc new file mode 100644 index 00000000..0f6a9aef --- /dev/null +++ b/data/scripts/cutscene/originStory/script_VaatiAppearsAgain.inc @@ -0,0 +1,31 @@ +@ Outside Castle Vaati +SCRIPT_START script_VaatiAppearsAgain + BeginBlock + DoPostScriptAction 0x0008 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + Call sub_0807F354 + EndBlock + WaitForSomething2 0x00000002 + Call sub_08066C94 + Wait 0x00e9 + DoPostScriptAction 0x0007 + DoPostScriptAction 0x001e + _0807E5F8 0x00000004 + WaitForSomething2 0x00000002 + Wait 0x0014 + _0807EB44 0x0000 + DoPostScriptAction 0x001c + Call sub_0807F2D4 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000002 + PlaySound SFX_F5 + DoPostScriptAction 0x001f + SetEntitySpeed 0x0200 + DoPostScriptAction 0x000d + DoPostScriptAction 0x0000 + _0807ECC4 0x0030 + _0807E5F8 0x00000004 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/outro/script_EzloCapOutro.inc b/data/scripts/cutscene/outro/script_EzloCapOutro.inc new file mode 100644 index 00000000..63226166 --- /dev/null +++ b/data/scripts/cutscene/outro/script_EzloCapOutro.inc @@ -0,0 +1,36 @@ +@ Outro EzloCap +SCRIPT_START script_EzloCapOutro + BeginBlock + SetEntitySpeed 0x0080 + SetEntity0x20 0x00000000 + DoPostScriptAction 0x0008 + _0807EB44 0x0000 + Call sub_0807F714 + MoveEntityToPlayer + CallWithArg sub_0807F98C, 0xfff00000 + EndBlock + _0807E930 0x0023 + WaitForSomething2 0x00000010 + CallWithArg sub_0807F6E8, 0x00000008 + DoPostScriptAction 0x0007 + PlaySound SFX_SPARKLES + _0807E610 0x00000800 + CallWithArg sub_080960C4, script_Object6AEzloDismounting + Wait 0x003c + _0807EDD4 0x0088, 0x0068 + Wait 0x0078 + _0807E5F8 0x00000800 + PlaySound SFX_143 + _0807EF3C 0x0000, 0x0020 + _0807E930 0x001f + _0807E5F8 0x00000200 + WaitForSomething2 0x00000010 + Wait 0x0078 + DoPostScriptAction 0x0004 + Wait 0x003c + _0807E5F8 0x00000200 + Wait 0x0001 + DoPostScriptAction 0x0008 + WaitForSomething2 0x00000010 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/outro/script_EzloZeldaMagic.inc b/data/scripts/cutscene/outro/script_EzloZeldaMagic.inc new file mode 100644 index 00000000..8d029aff --- /dev/null +++ b/data/scripts/cutscene/outro/script_EzloZeldaMagic.inc @@ -0,0 +1,11 @@ +@ Outro OBJECT_6A Ezlo and Zelda magic +SCRIPT_START script_EzloZeldaMagic + BeginBlock + DoPostScriptAction 0x0007 + DoPostScriptAction 0x000b + CallWithArg sub_0807F994, 0x0000fff8 + EndBlock + WaitForSomething 0x00000020 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/outro/script_GuardStoneOutro1.inc b/data/scripts/cutscene/outro/script_GuardStoneOutro1.inc new file mode 100644 index 00000000..73c218ed --- /dev/null +++ b/data/scripts/cutscene/outro/script_GuardStoneOutro1.inc @@ -0,0 +1,18 @@ +@ Outro Guard stone +SCRIPT_START script_GuardStoneOutro1 + BeginBlock + DoPostScriptAction 0x0007 + _0807EB44 0x0004 + _0807E930 0x0010 + EndBlock + WaitForSomething 0x00000001 + _0807E930 0x0002 + WaitForSomething2 0x00000002 + DoPostScriptAction 0x0004 + Wait 0x003c +script_0800A80C: + _0807E930 0x0001 + Wait 0x001e + _0807E930 0x0003 + Wait 0x001e + Jump script_0800A80C diff --git a/data/scripts/cutscene/outro/script_GuardStoneOutro2.inc b/data/scripts/cutscene/outro/script_GuardStoneOutro2.inc new file mode 100644 index 00000000..f33f9425 --- /dev/null +++ b/data/scripts/cutscene/outro/script_GuardStoneOutro2.inc @@ -0,0 +1,18 @@ +@ Outro Guard stone 2 +SCRIPT_START script_GuardStoneOutro2 + BeginBlock + DoPostScriptAction 0x0007 + _0807EB44 0x0004 + _0807E930 0x0010 + EndBlock + WaitForSomething 0x00000001 + _0807E930 0x0002 + WaitForSomething2 0x00000004 + DoPostScriptAction 0x0004 + Wait 0x003c +script_0800A848: + _0807E930 0x0001 + Wait 0x0014 + _0807E930 0x0003 + Wait 0x0014 + Jump script_0800A848 diff --git a/data/scripts/cutscene/outro/script_GuardStoneOutro3.inc b/data/scripts/cutscene/outro/script_GuardStoneOutro3.inc new file mode 100644 index 00000000..66af4c81 --- /dev/null +++ b/data/scripts/cutscene/outro/script_GuardStoneOutro3.inc @@ -0,0 +1,18 @@ +@ Outro Guard stone 3 +SCRIPT_START script_GuardStoneOutro3 + BeginBlock + DoPostScriptAction 0x0007 + _0807EB44 0x0004 + _0807E930 0x0010 + EndBlock + WaitForSomething 0x00000001 + _0807E930 0x0002 + WaitForSomething2 0x00000008 + DoPostScriptAction 0x0004 + Wait 0x003c +script_0800A884: + _0807E930 0x0001 + Wait 0x000a + _0807E930 0x0003 + Wait 0x000a + Jump script_0800A884 diff --git a/data/scripts/cutscene/outro/script_MaidStoneOutro1.inc b/data/scripts/cutscene/outro/script_MaidStoneOutro1.inc new file mode 100644 index 00000000..e355a772 --- /dev/null +++ b/data/scripts/cutscene/outro/script_MaidStoneOutro1.inc @@ -0,0 +1,18 @@ +@ Outro Maid stone +SCRIPT_START script_MaidStoneOutro1 + BeginBlock + DoPostScriptAction 0x0007 + _0807EB44 0x0004 + _0807E930 0x0008 + EndBlock + WaitForSomething 0x00000001 + DoPostScriptAction 0x0000 + WaitForSomething2 0x00000010 + DoPostScriptAction 0x0004 + Wait 0x003c +script_0800A8C0: + _0807EB44 0x0002 + Wait 0x0019 + _0807EB44 0x0006 + Wait 0x0019 + Jump script_0800A8C0 diff --git a/data/scripts/cutscene/outro/script_MaidStoneOutro2.inc b/data/scripts/cutscene/outro/script_MaidStoneOutro2.inc new file mode 100644 index 00000000..f3884c80 --- /dev/null +++ b/data/scripts/cutscene/outro/script_MaidStoneOutro2.inc @@ -0,0 +1,18 @@ +@ Outro Maid stone 2 +SCRIPT_START script_MaidStoneOutro2 + BeginBlock + DoPostScriptAction 0x0007 + _0807EB44 0x0004 + _0807E930 0x0008 + EndBlock + WaitForSomething 0x00000001 + DoPostScriptAction 0x0000 + WaitForSomething2 0x00000020 + DoPostScriptAction 0x0004 + Wait 0x003c +script_0800A8FC: + _0807EB44 0x0002 + Wait 0x000f + _0807EB44 0x0006 + Wait 0x000f + Jump script_0800A8FC diff --git a/data/scripts/cutscene/outro/script_MinishEzloGoodbye.inc b/data/scripts/cutscene/outro/script_MinishEzloGoodbye.inc new file mode 100644 index 00000000..4a526a99 --- /dev/null +++ b/data/scripts/cutscene/outro/script_MinishEzloGoodbye.inc @@ -0,0 +1,58 @@ +@ Outro MinishEzlo after fixing everything +SCRIPT_START script_MinishEzloGoodbye + BeginBlock + SetEntitySpeed 0x0080 + DoPostScriptAction 0x0007 + DoPostScriptAction 0x000b + _0807EB44 0x0004 + CallWithArg sub_0807F3D8, 0x00000000 + EndBlock + WaitForSomething2 0x00000002 + DoPostScriptAction 0x0004 + Wait 0x001e + _0807EB44 0x0002 + CallWithArg sub_0807F3D8, 0x00000000 + Wait 0x0006 + _0807EB44 0x0000 + CallWithArg sub_0807F3D8, 0x00000000 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000002 + _0807EB44 0x0002 + CallWithArg sub_0807F3D8, 0x00000000 + Wait 0x0014 + _0807EB44 0x0004 + CallWithArg sub_0807F3D8, 0x00000000 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000002 + _0807E930 0x000c + Call sub_0807F2D4 + Call sub_08094B94 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000002 + _0807E930 0x000f + Call sub_0807F2D4 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000002 + CallWithArg sub_080960C4, script_Object6AEzloFinalMagic + _0807E930 0x0012 + Call sub_0807F2D4 + Wait 0x001e + _0807E5F8 0x00000020 + StopBgm + Call CreateDust + Call sub_0806305C + Call sub_080630A4 + _0807EF3C 0x0000, 0x0020 + Wait 0x001e + _0807E5F8 0x00000004 + WaitForSomething2 0x00000002 + SetEntitySpeed 0x0080 + _0807EEF4 0x0000, 0xfff0 + Wait 0x003c + _0807EEF4 0x0000, 0xfff0 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000002 + _0807EDD4 0x0088, 0x0040 + _0807E5F8 0x00000004 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/outro/script_MinishEzloOutro.inc b/data/scripts/cutscene/outro/script_MinishEzloOutro.inc new file mode 100644 index 00000000..77e67238 --- /dev/null +++ b/data/scripts/cutscene/outro/script_MinishEzloOutro.inc @@ -0,0 +1,32 @@ +@ Outro Minish Ezlo +SCRIPT_START script_MinishEzloOutro + BeginBlock + DoPostScriptAction 0x0008 + SetEntitySpeed 0x0080 + DoPostScriptAction 0x000b + _0807EB44 0x0004 + CallWithArg sub_0807F3D8, 0x00000000 + EndBlock + WaitForSomething2 0x00000002 + _0807E930 0x000e + DoPostScriptAction 0x0007 + Call sub_0807F2D4 + DoPostScriptAction 0x0004 + _0807E5F8 0x00000040 + WaitForSomething2 0x00000002 + _0807E930 0x000c + Call sub_0807F2D4 + _0807E5F8 0x00000040 + WaitForSomething2 0x00000002 + _0807E930 0x000f + Call sub_0807F2D4 + _0807E5F8 0x00000040 + WaitForSomething2 0x00000002 + _0807E930 0x000c + Call sub_0807F2D4 + _0807E5F8 0x00000040 + WaitForSomething2 0x00000002 + CallWithArg sub_080960C4, script_EzloZeldaMagic + _0807E5F8 0x00000040 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/outro/script_Npc4EDHCEntrance.inc b/data/scripts/cutscene/outro/script_Npc4EDHCEntrance.inc new file mode 100644 index 00000000..3f04796f --- /dev/null +++ b/data/scripts/cutscene/outro/script_Npc4EDHCEntrance.inc @@ -0,0 +1,13 @@ +@ Outro NPC4E Fix DHC Entrance +SCRIPT_START script_Npc4EDHCEntrance + BeginBlock + _0807E864 + Call sub_0807DF28 + SetEntityPositionRelative 0x0198, 0x01c8 + Call sub_0807F844 + EndBlock + Wait 0x003c + PlaySound SFX_EVAPORATE + CallWithArg sub_0806DA1C, 0x0000000a + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/outro/script_Npc4EDHCThrone.inc b/data/scripts/cutscene/outro/script_Npc4EDHCThrone.inc new file mode 100644 index 00000000..4349136f --- /dev/null +++ b/data/scripts/cutscene/outro/script_Npc4EDHCThrone.inc @@ -0,0 +1,13 @@ +@ Outro NPC4E Fix DHC Throne +SCRIPT_START script_Npc4EDHCThrone + BeginBlock + _0807E864 + Call sub_0807DF28 + SetEntityPositionRelative 0x0088, 0x0068 + Call sub_0807F844 + EndBlock + Wait 0x003c + PlaySound SFX_EVAPORATE + CallWithArg sub_0806DA1C, 0x00000008 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/outro/script_Npc4EFixedEverything.inc b/data/scripts/cutscene/outro/script_Npc4EFixedEverything.inc new file mode 100644 index 00000000..f92b36db --- /dev/null +++ b/data/scripts/cutscene/outro/script_Npc4EFixedEverything.inc @@ -0,0 +1,22 @@ +@ Outro NPC4E Fixed everything +SCRIPT_START script_Npc4EFixedEverything + BeginBlock + _0807E864 + Call sub_0807DF28 + SetEntityPositionRelative 0x0088, 0x0148 + Call sub_0807F844 + _0807E8E4_3 + CallWithArg sub_0807F6E8, 0x00000008 + CallWithArg sub_0807F75C, 0x00a80088 + PlaySound SFX_APPARATE + EndBlock + Wait 0x0078 + _0807F0B4 0x0001 + SetEntityPositionRelative 0x0088, 0x0078 + Call sub_0807F5C0 + MessageFromTargetPos 0x1664, 0x0000 + WaitUntilTextboxCloses + MessageFromTargetPos 0x165e, 0x000e + WaitUntilTextboxCloses + CallWithArg CreateManager36, 0x00000001 + _0807F0C8 0xffff, 0x0000 diff --git a/data/scripts/cutscene/outro/script_Npc4EHyruleCastleEntrance.inc b/data/scripts/cutscene/outro/script_Npc4EHyruleCastleEntrance.inc new file mode 100644 index 00000000..97e8bc47 --- /dev/null +++ b/data/scripts/cutscene/outro/script_Npc4EHyruleCastleEntrance.inc @@ -0,0 +1,13 @@ +@ Outro NPC4E Fix Hyrule Castle Entrance +SCRIPT_START script_Npc4EHyruleCastleEntrance + BeginBlock + _0807E864 + Call sub_0807DF28 + SetEntityPositionRelative 0x00d8, 0x01c8 + Call sub_0807F844 + PlaySound SFX_APPARATE + EndBlock + Wait 0x003c + CallWithArg sub_0806DA1C, 0x0000000b + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/outro/script_Npc4EHyruleCastleThrone.inc b/data/scripts/cutscene/outro/script_Npc4EHyruleCastleThrone.inc new file mode 100644 index 00000000..890d3814 --- /dev/null +++ b/data/scripts/cutscene/outro/script_Npc4EHyruleCastleThrone.inc @@ -0,0 +1,13 @@ +@ Outro NPC4E Fix Hyrule Castle Throne +SCRIPT_START script_Npc4EHyruleCastleThrone + BeginBlock + _0807E864 + Call sub_0807DF28 + SetEntityPositionRelative 0x0088, 0x0070 + Call sub_0807F844 + PlaySound SFX_APPARATE + EndBlock + Wait 0x003c + CallWithArg sub_0806DA1C, 0x00000009 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/outro/script_Npc4EMinishPortalClosing.inc b/data/scripts/cutscene/outro/script_Npc4EMinishPortalClosing.inc new file mode 100644 index 00000000..6abb3708 --- /dev/null +++ b/data/scripts/cutscene/outro/script_Npc4EMinishPortalClosing.inc @@ -0,0 +1,70 @@ +@ Outro NPC4E Minish Portal is closing +SCRIPT_START script_Npc4EMinishPortalClosing + Call sub_0808D2CC + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + _0807E8E4_0 + _0807E5F8 0x00000040 + WaitForSomething2 0x00000080 + OffsetEntityPosition 0x0000, 0xffe0 + Call sub_0807F5C0 + Wait 0x003c + CallWithArg DeleteManager36, 0x00000001 + _0807F0C8 0x0000, 0x0000 + Wait 0x003c + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + MessageFromTargetPos 0x165f, 0x000e + WaitUntilTextboxCloses + StartPlayerScript script_PlayerAtEzlo + WaitForSomething2 0x00000001 + MessageFromTargetPos 0x1660, 0x000e + WaitUntilTextboxCloses + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + MessageFromTargetPos 0x1661, 0x000e + WaitUntilTextboxCloses + _0807E5F8 0x00000008 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + OffsetEntityPosition 0x0000, 0x0020 + Call sub_0807F5C0 + WaitForSomething2 0x00000010 + StartPlayerScript script_PlayerGetGreenCap + WaitForSomething2 0x00000001 + Wait 0x003c + MessageFromTargetPos 0x1662, 0x000e + WaitUntilTextboxCloses + MessageFromTargetPos 0x1663, 0x000e + WaitUntilTextboxCloses + OffsetEntityPosition 0x0000, 0xffe0 + Call sub_0807F5C0 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + StartPlayerScript script_PlayerSayGoodbye + WaitForSomething2 0x00000001 + Wait 0x003c + MessageFromTargetPos 0x1665, 0x000e + WaitUntilTextboxCloses + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + Wait 0x0078 + Call sub_0808D280 + Wait 0x0078 + _0807E778 0x0004 + DoFade5 + WaitFor_2 + Call sub_0807FB94 @ Roll Credits + MoveEntityToPlayer + Call sub_0807F844 + _0807F0B4 0x0004 + CameraTargetPlayer + _0807E5F8 0x80000000 + DoFade4 + WaitFor_2 + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/outro/script_Npc4EMinishWoods.inc b/data/scripts/cutscene/outro/script_Npc4EMinishWoods.inc new file mode 100644 index 00000000..f63a9c53 --- /dev/null +++ b/data/scripts/cutscene/outro/script_Npc4EMinishWoods.inc @@ -0,0 +1,20 @@ +@ Outro NPC4E Minish Woods +SCRIPT_START script_Npc4EMinishWoods + BeginBlock + _0807E864 + Call sub_0807DF28 + SetEntityPositionRelative 0x0378, 0x0178 + Call sub_0807F844 + EndBlock + Wait 0x003c + _0807E5F8 0x00000001 + Wait 0x001e + _0807E5F8 0x00000002 + Wait 0x0014 + _0807E5F8 0x00000004 + Wait 0x000a + _0807E5F8 0x00000008 + Wait 0x003c + CallWithArg sub_0806DA1C, 0x0000000d + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/outro/script_Npc4EMtCrenel.inc b/data/scripts/cutscene/outro/script_Npc4EMtCrenel.inc new file mode 100644 index 00000000..1ae3df45 --- /dev/null +++ b/data/scripts/cutscene/outro/script_Npc4EMtCrenel.inc @@ -0,0 +1,20 @@ +@ Outro NPC4E Mt. Crenel +SCRIPT_START script_Npc4EMtCrenel + BeginBlock + _0807E864 + Call sub_0807DF28 + SetEntityPositionRelative 0x0128, 0x0058 + Call sub_0807F844 + EndBlock + Wait 0x003c + _0807E5F8 0x00000001 + Wait 0x000a + _0807E5F8 0x00000002 + Wait 0x0014 + _0807E5F8 0x00000004 + Wait 0x001e + _0807E5F8 0x00000008 + Wait 0x003c + CallWithArg sub_0806DA1C, 0x0000000e + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/outro/script_Npc4EOutro.inc b/data/scripts/cutscene/outro/script_Npc4EOutro.inc new file mode 100644 index 00000000..d05b8ba4 --- /dev/null +++ b/data/scripts/cutscene/outro/script_Npc4EOutro.inc @@ -0,0 +1,64 @@ +@ Outro NPC4E +SCRIPT_START script_Npc4EOutro + BeginBlock + _0807E864 + Call sub_0807DF28 + SetEntityPositionRelative 0x0088, 0x0080 + Call sub_0807F844 + _0807E8E4_3 + CallWithArg sub_0807F75C, 0x00a80088 + EndBlock + Wait 0x003c + StartPlayerScript script_PlayerAtOutro + WaitForSomething2 0x00000001 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000080 + MessageFromTargetPos 0x1659, 0x0000 + WaitUntilTextboxCloses + Wait 0x003c + _0807E5F8 0x00000010 + WaitForSomething2 0x00000200 + _0807E5F8 0x00000004 + _0807E8E4_0 + WaitForSomething2 0x00000080 + _0807E5F8 0x00000010 + WaitForSomething2 0x00000200 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000040 + _0807E5F8 0x00000004 + Call sub_0807F3F8 + WaitForSomething2 0x00000080 + MessageFromTargetPos 0x165a, 0x000e + WaitUntilTextboxCloses + Wait 0x003c + MessageFromTargetPos 0x165b, 0x000e + WaitUntilTextboxCloses + _0807E5F8 0x00000002 + WaitForSomething2 0x00000040 + _0807E5F8 0x00000008 + WaitForSomething2 0x00000100 + Wait 0x003c + _0807E8E4_3 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000080 + Wait 0x003c + _0807E5F8 0x00000008 + WaitForSomething2 0x00000100 + _0807E5F8 0x00000006 + WaitForSomething2 0x000000c0 + MessageFromTargetPos 0x165c, 0x000e + WaitUntilTextboxCloses + StopBgm + MessageFromTargetPos 0x165d, 0x000e + WaitUntilTextboxCloses + _0807E5F8 0x00000006 + WaitForSomething2 0x000000c0 + _0807E5F8 0x00000006 + WaitForSomething2 0x00000080 + _0807E5F8 0x00000008 + WaitForSomething2 0x00000100 + PlayBgm BGM_INTRO_CUTSCENE + PlaySound SFX_APPARATE + CallWithArg sub_0806DA1C, 0x00000007 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/outro/script_Npc4ESanctuaryEntrance.inc b/data/scripts/cutscene/outro/script_Npc4ESanctuaryEntrance.inc new file mode 100644 index 00000000..a9f2a329 --- /dev/null +++ b/data/scripts/cutscene/outro/script_Npc4ESanctuaryEntrance.inc @@ -0,0 +1,13 @@ +@ Outro NPC4E DHC Fix Sanctuary entrance +SCRIPT_START script_Npc4ESanctuaryEntrance + BeginBlock + _0807E864 + Call sub_0807DF28 + SetEntityPositionRelative 0x0088, 0x0148 + Call sub_0807F844 + EndBlock + Wait 0x003c + PlaySound SFX_EVAPORATE + CallWithArg sub_0806DA1C, 0x0000000f + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/outro/script_Npc4EUnfreezeCastleStaff.inc b/data/scripts/cutscene/outro/script_Npc4EUnfreezeCastleStaff.inc new file mode 100644 index 00000000..e85a727a --- /dev/null +++ b/data/scripts/cutscene/outro/script_Npc4EUnfreezeCastleStaff.inc @@ -0,0 +1,32 @@ +@ Outro NPC4E Unfreeze castle staff +SCRIPT_START script_Npc4EUnfreezeCastleStaff + BeginBlock + _0807E864 + Call sub_0807DF28 + SetEntityPositionRelative 0x00f8, 0x01b8 + Call sub_0807F844 + EndBlock + Wait 0x003c + PlaySound SFX_EVAPORATE + _0807E778 0x0004 + DoFade7 + WaitFor_2 + _0807E5F8 0x00000001 + PlaySound SFX_APPARATE + _0807E778 0x0002 + DoFade6 + WaitFor_2 + Wait 0x001e + _0807E5F8 0x00000002 + Wait 0x0014 + _0807E5F8 0x00000004 + Wait 0x000a + _0807E5F8 0x00000008 + Wait 0x0005 + _0807E5F8 0x00000010 + Wait 0x0002 + _0807E5F8 0x00000020 + Wait 0x0078 + CallWithArg sub_0806DA1C, 0x0000000c + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/outro/script_Object6AEzloDismounting.inc b/data/scripts/cutscene/outro/script_Object6AEzloDismounting.inc new file mode 100644 index 00000000..200d28b9 --- /dev/null +++ b/data/scripts/cutscene/outro/script_Object6AEzloDismounting.inc @@ -0,0 +1,11 @@ +@ Outro OBJECT_6A Ezlo moving from Links head +SCRIPT_START script_Object6AEzloDismounting + BeginBlock + DoPostScriptAction 0x0007 + DoPostScriptAction 0x000b + CallWithArg sub_0807F994, 0x0000fff8 + EndBlock + WaitForSomething 0x00000800 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/outro/script_Object6AEzloFinalMagic.inc b/data/scripts/cutscene/outro/script_Object6AEzloFinalMagic.inc new file mode 100644 index 00000000..8deeaa16 --- /dev/null +++ b/data/scripts/cutscene/outro/script_Object6AEzloFinalMagic.inc @@ -0,0 +1,13 @@ +@ Outro OBJECT_6A Ezlo final magic shrinking +SCRIPT_START script_Object6AEzloFinalMagic + BeginBlock + DoPostScriptAction 0x0007 + DoPostScriptAction 0x000b + CallWithArg sub_0807F994, 0x0000fff8 + PlaySound SFX_SPARKLES + EndBlock + WaitForSomething 0x00000020 + PlaySound SFX_143 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/outro/script_Object6AMinishCapOutro.inc b/data/scripts/cutscene/outro/script_Object6AMinishCapOutro.inc new file mode 100644 index 00000000..c53774ad --- /dev/null +++ b/data/scripts/cutscene/outro/script_Object6AMinishCapOutro.inc @@ -0,0 +1,31 @@ +@ Outro OBJECT_6A Minish Cap +SCRIPT_START script_Object6AMinishCapOutro + BeginBlock + SetEntitySpeed 0x0080 + DoPostScriptAction 0x0007 + DoPostScriptAction 0x000b + _0807E930 0x0005 + Call sub_0807F348 + EndBlock + WaitForSomething2 0x00000008 + PlaySound SFX_SPARKLES + _0807E610 0x00000800 + CallWithArg sub_080960C4, script_Object6AEzloDismounting + _0807E930 0x0002 + Call sub_08094B0C + _0807EDD4 0x0068, 0x0088 + Call sub_08094B80 + _0807E5F8 0x00000100 + WaitForSomething2 0x00000008 + Call sub_08094B3C + _0807E930 0x0004 + _0807E5F8 0x00000800 + PlaySound SFX_143 + _0807E5F8 0x00000100 + WaitForSomething2 0x00000008 + DoPostScriptAction 0x0008 + Call sub_080961B0 + PlaySound SFX_FA + Wait 0x003c + _0807E5F8 0x00000100 +SCRIPT_END diff --git a/data/scripts/cutscene/outro/script_Object6AOctorok1.inc b/data/scripts/cutscene/outro/script_Object6AOctorok1.inc new file mode 100644 index 00000000..357948d8 --- /dev/null +++ b/data/scripts/cutscene/outro/script_Object6AOctorok1.inc @@ -0,0 +1,12 @@ +@ Outro OBJECT_6A Octorok 1 +SCRIPT_START script_Object6AOctorok1 + BeginBlock + _0807EB44 0x0002 + DoPostScriptAction 0x0007 + _0807E930 0x0001 + EndBlock + WaitForSomething2 0x00000001 + Call CreateDust + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/outro/script_Object6AOctorok2.inc b/data/scripts/cutscene/outro/script_Object6AOctorok2.inc new file mode 100644 index 00000000..1d821ef4 --- /dev/null +++ b/data/scripts/cutscene/outro/script_Object6AOctorok2.inc @@ -0,0 +1,12 @@ +@ Outro OBJECT_6A Octorok 2 +SCRIPT_START script_Object6AOctorok2 + BeginBlock + _0807EB44 0x0004 + DoPostScriptAction 0x0007 + _0807E930 0x0002 + EndBlock + WaitForSomething2 0x00000002 + Call CreateDust + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/outro/script_Object6AOctorok3.inc b/data/scripts/cutscene/outro/script_Object6AOctorok3.inc new file mode 100644 index 00000000..4a40f72b --- /dev/null +++ b/data/scripts/cutscene/outro/script_Object6AOctorok3.inc @@ -0,0 +1,12 @@ +@ Outro OBJECT_6A Octorok 3 +SCRIPT_START script_Object6AOctorok3 + BeginBlock + _0807EB44 0x0000 + DoPostScriptAction 0x0007 + _0807E930 0x0000 + EndBlock + WaitForSomething2 0x00000004 + Call CreateDust + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/outro/script_Object6AOctorok4.inc b/data/scripts/cutscene/outro/script_Object6AOctorok4.inc new file mode 100644 index 00000000..1c305c02 --- /dev/null +++ b/data/scripts/cutscene/outro/script_Object6AOctorok4.inc @@ -0,0 +1,12 @@ +@ Outro OBJECT_6A Octorok 4 +SCRIPT_START script_Object6AOctorok4 + BeginBlock + _0807EB44 0x0006 + DoPostScriptAction 0x0007 + _0807E930 0x0003 + EndBlock + WaitForSomething2 0x00000008 + Call CreateDust + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/outro/script_Object6ATektite1.inc b/data/scripts/cutscene/outro/script_Object6ATektite1.inc new file mode 100644 index 00000000..347784db --- /dev/null +++ b/data/scripts/cutscene/outro/script_Object6ATektite1.inc @@ -0,0 +1,12 @@ +@ Outro OBJECT_6A Tektite 1 +SCRIPT_START script_Object6ATektite1 + BeginBlock + _0807EB44 0x0002 + DoPostScriptAction 0x0007 + _0807E930 0x0000 + EndBlock + WaitForSomething2 0x00000001 + Call CreateDust + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/outro/script_Object6ATektite2.inc b/data/scripts/cutscene/outro/script_Object6ATektite2.inc new file mode 100644 index 00000000..e9ef6154 --- /dev/null +++ b/data/scripts/cutscene/outro/script_Object6ATektite2.inc @@ -0,0 +1,12 @@ +@ Outro OBJECT_6A Tektite 2 +SCRIPT_START script_Object6ATektite2 + BeginBlock + _0807EB44 0x0004 + DoPostScriptAction 0x0007 + _0807E930 0x0000 + EndBlock + WaitForSomething2 0x00000002 + Call CreateDust + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/outro/script_Object6ATektite3.inc b/data/scripts/cutscene/outro/script_Object6ATektite3.inc new file mode 100644 index 00000000..eb0f4191 --- /dev/null +++ b/data/scripts/cutscene/outro/script_Object6ATektite3.inc @@ -0,0 +1,12 @@ +@ Outro OBJECT_6A Tektite 3 +SCRIPT_START script_Object6ATektite3 + BeginBlock + _0807EB44 0x0000 + DoPostScriptAction 0x0007 + _0807E930 0x0000 + EndBlock + WaitForSomething2 0x00000004 + Call CreateDust + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/outro/script_Object6ATektite4.inc b/data/scripts/cutscene/outro/script_Object6ATektite4.inc new file mode 100644 index 00000000..a26b1514 --- /dev/null +++ b/data/scripts/cutscene/outro/script_Object6ATektite4.inc @@ -0,0 +1,12 @@ +@ Outro OBJECT_6A Tektite 4 +SCRIPT_START script_Object6ATektite4 + BeginBlock + _0807EB44 0x0006 + DoPostScriptAction 0x0007 + _0807E930 0x0000 + EndBlock + WaitForSomething2 0x00000008 + Call CreateDust + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/outro/script_Object6ATheLittleHat.inc b/data/scripts/cutscene/outro/script_Object6ATheLittleHat.inc new file mode 100644 index 00000000..06d0d8c7 --- /dev/null +++ b/data/scripts/cutscene/outro/script_Object6ATheLittleHat.inc @@ -0,0 +1,16 @@ +@ Outro OBJECT_6A The Little Hat (Green) +SCRIPT_START script_Object6ATheLittleHat + BeginBlock + SetEntitySpeed 0x0080 + DoPostScriptAction 0x0007 + DoPostScriptAction 0x000b + _0807E930 0x0000 + EndBlock + WaitForSomething2 0x00000008 + Call sub_08094B80 + _0807EF3C 0x0000, 0x0001 + _0807E5F8 0x00000010 + WaitForSomething2 0x00000008 + DoPostScriptAction 0x0008 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/outro/script_Object6AZeldaMagic.inc b/data/scripts/cutscene/outro/script_Object6AZeldaMagic.inc new file mode 100644 index 00000000..f7a0d74e --- /dev/null +++ b/data/scripts/cutscene/outro/script_Object6AZeldaMagic.inc @@ -0,0 +1,11 @@ +@ Outro OBJECT_6A Zelda glowing? +SCRIPT_START script_Object6AZeldaMagic + BeginBlock + DoPostScriptAction 0x0007 + DoPostScriptAction 0x000b + CallWithArg sub_0807F994, 0x0000fff8 + EndBlock + WaitForSomething 0x00001000 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/outro/script_PlayerAtEzlo.inc b/data/scripts/cutscene/outro/script_PlayerAtEzlo.inc new file mode 100644 index 00000000..9e72802e --- /dev/null +++ b/data/scripts/cutscene/outro/script_PlayerAtEzlo.inc @@ -0,0 +1,11 @@ +@ Outro Player move to Ezlo +SCRIPT_START script_PlayerAtEzlo + BeginBlock + SetEntitySpeed 0x0100 + EndBlock + _0807EDD4 0x0088, 0x0080 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000001 + Call sub_080791BC + .2byte 0x0000 diff --git a/data/scripts/cutscene/outro/script_PlayerAtOutro.inc b/data/scripts/cutscene/outro/script_PlayerAtOutro.inc new file mode 100644 index 00000000..c96f4435 --- /dev/null +++ b/data/scripts/cutscene/outro/script_PlayerAtOutro.inc @@ -0,0 +1,14 @@ +@ Player at Outro +SCRIPT_START script_PlayerAtOutro + EndBlock + _0807EB44 0x0002 + Wait 0x000a + _0807EB44 0x0006 + Wait 0x000a + _0807EB44 0x0002 + Wait 0x000a + _0807EB44 0x0006 + Wait 0x000a + _0807E5F8 0x00000001 + Call sub_080791BC + .2byte 0x0000 diff --git a/data/scripts/cutscene/outro/script_PlayerGetGreenCap.inc b/data/scripts/cutscene/outro/script_PlayerGetGreenCap.inc new file mode 100644 index 00000000..1d626969 --- /dev/null +++ b/data/scripts/cutscene/outro/script_PlayerGetGreenCap.inc @@ -0,0 +1,26 @@ +@ Outro Player got the green cap +SCRIPT_START script_PlayerGetGreenCap + BeginBlock + Call sub_08094BE0 + CallWithArg sub_0807F238, 0x0000045b + PlaySound SFX_109 + EndBlock + Call sub_0807F304 + Wait 0x005a + _0807E5F8 0x00000008 + BeginBlock + CallWithArg sub_0807F6F8, 0x00000008 + CallWithArg sub_0807F238, 0x000008e4 + EndBlock + Call sub_0807F304 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + Wait 0x003c + _0807EB44 0x0002 + DoPostScriptAction 0x0000 + Wait 0x0004 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000001 + Call sub_080791BC + .2byte 0x0000 diff --git a/data/scripts/cutscene/outro/script_PlayerSayGoodbye.inc b/data/scripts/cutscene/outro/script_PlayerSayGoodbye.inc new file mode 100644 index 00000000..9e6c305d --- /dev/null +++ b/data/scripts/cutscene/outro/script_PlayerSayGoodbye.inc @@ -0,0 +1,10 @@ +@ Outro Player goes to say goodbye to Minish Ezlo +SCRIPT_START script_PlayerSayGoodbye + BeginBlock + SetEntitySpeed 0x0080 + EndBlock + _0807EC64 0x0020 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000001 + Call sub_080791BC diff --git a/data/scripts/cutscene/outro/script_ZeldaGoodbye.inc b/data/scripts/cutscene/outro/script_ZeldaGoodbye.inc new file mode 100644 index 00000000..244494f8 --- /dev/null +++ b/data/scripts/cutscene/outro/script_ZeldaGoodbye.inc @@ -0,0 +1,16 @@ +@ Outro Zelda after fixing everything +SCRIPT_START script_ZeldaGoodbye + BeginBlock + SetEntitySpeed 0x0080 + DoPostScriptAction 0x0007 + DoPostScriptAction 0x000b + _0807EB44 0x0002 + DoPostScriptAction 0x0000 + EndBlock + WaitForSomething2 0x00000040 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000080 + WaitForSomething2 0x80000000 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/outro/script_ZeldaOutro.inc b/data/scripts/cutscene/outro/script_ZeldaOutro.inc new file mode 100644 index 00000000..77e64220 --- /dev/null +++ b/data/scripts/cutscene/outro/script_ZeldaOutro.inc @@ -0,0 +1,61 @@ +@ Outro Zelda +SCRIPT_START script_ZeldaOutro + BeginBlock + SetEntitySpeed 0x0100 + DoPostScriptAction 0x0007 + DoPostScriptAction 0x000b + _0807EB44 0x0002 + DoPostScriptAction 0x0000 + EndBlock + WaitForSomething2 0x00000004 + BeginBlock + DoPostScriptAction 0x0004 + Call sub_0807F3F8 + EndBlock + Wait 0x003c + _0807EC94 0x0010 + _0807EB44 0x0002 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000080 + WaitForSomething2 0x00000004 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000080 + WaitForSomething2 0x00000004 + DoPostScriptAction 0x0004 + Wait 0x003c + _0807E5F8 0x00000080 + WaitForSomething2 0x00000004 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + PlaySound SFX_SPARKLES + CallWithArg sub_080960C4, script_Object6AZeldaMagic + _0807E5F8 0x00000080 + WaitForSomething2 0x00000004 + PlaySound SFX_143 + _0807E5F8 0x00001000 + _0807E5F8 0x00000080 + WaitForSomething2 0x00000004 + Call sub_08066E68 + _0807E5F8 0x00000080 + WaitForSomething2 0x00000004 + PlaySound SFX_SPARKLES + CallWithArg sub_080960C4, script_EzloZeldaMagic + Wait 0x0078 + PlaySound SFX_153 + CallWithArg sub_0807FADC, 0x00000003 + Wait 0x000f + PlaySound SFX_153 + CallWithArg sub_0807FADC, 0x00000003 + Wait 0x000f + PlaySound SFX_153 + CallWithArg sub_0807FADC, 0x00000003 + Wait 0x003c + PlaySound SFX_153 + CallWithArg sub_0807FADC, 0x00000001 + PlaySound SFX_143 + _0807E5F8 0x00000080 + WaitForSomething2 0x00000004 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/reveal/script_08013494.inc b/data/scripts/cutscene/reveal/script_08013494.inc new file mode 100644 index 00000000..a383f68b --- /dev/null +++ b/data/scripts/cutscene/reveal/script_08013494.inc @@ -0,0 +1,19 @@ +@ Something during Sanctuary Vaati cutscene? Called from script_VaatiSanctuary +SCRIPT_START script_08013494 + BeginBlock + _0807E930 0x0000 + SetEntitySpeed 0x0200 + Call nullsub_527 + Call sub_08094B80 + EndBlock + Wait 0x005a + Call sub_08094B6C + _0807EDD4 0x0098, 0x0080 + BeginBlock + Call sub_08094B80 + PlaySound SFX_1CC + Call sub_0807F36C + _0807E5F8 0x00000080 + EndBlock + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/reveal/script_FakeKingDaltus.inc b/data/scripts/cutscene/reveal/script_FakeKingDaltus.inc new file mode 100644 index 00000000..5c5a8d48 --- /dev/null +++ b/data/scripts/cutscene/reveal/script_FakeKingDaltus.inc @@ -0,0 +1,15 @@ +@ Sanctuary King Daltus +SCRIPT_START script_FakeKingDaltus + BeginBlock + _0807EB44 0x0004 + DoPostScriptAction 0x0007 + DoPostScriptAction 0x000b + Call sub_0807F338 + EndBlock + WaitForSomething2 0x00000008 + Call sub_08061F94 + Wait 0x000a + _0807E5F8 0x00000010 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/reveal/script_Object3EPictureBackRoom.inc b/data/scripts/cutscene/reveal/script_Object3EPictureBackRoom.inc new file mode 100644 index 00000000..15048906 --- /dev/null +++ b/data/scripts/cutscene/reveal/script_Object3EPictureBackRoom.inc @@ -0,0 +1,72 @@ +@ Sanctuary OBJECT_3E Look at picture in back room +SCRIPT_START script_Object3EPictureBackRoom + CheckPlayerInRegion 0x0098, 0x0038, 0x2060 + JumpIfNot script_Object3EPictureBackRoom + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + StartPlayerScript script_PlayerAtPicture + WaitForSomething2 0x00000002 + _0807EB28 0x1601 + WaitUntilTextboxCloses + StartPlayerScript script_PlayerMoveToPicture + WaitForSomething2 0x00000002 + _0807E778 0x0004 + DoFade5 + WaitFor_2 + LoadRoomEntityList gUnk_080F5680 + StartPlayerScript script_PlayerSanctuaryIntro + WaitForSomething2 0x00000002 + MoveEntityToPlayer + OffsetEntityPosition 0x0000, 0xfff0 + Call sub_0807F844 + CameraTargetEntity + Call sub_080536B8 + _0807E864 + Call sub_0807DF28 + WaitFor_2 + MessageFromTargetPos 0x1602, 0x000c + WaitUntilTextboxCloses + _0807E5F8 0x00000008 + WaitForSomething2 0x00000010 + _0807E5F8 0x00000020 + WaitForSomething2 0x00000040 + PlayBgm BGM_VAATI_THEME + StartPlayerScript script_PlayerDistanceFromVaati + WaitForSomething2 0x00000002 + _0807E5F8 0x00000020 + WaitForSomething2 0x00000040 + StartPlayerScript script_PlayerFaintAgain + _0807E5F8 0x00000020 + WaitForSomething2 0x00000042 + MessageFromTargetPos 0x1603, 0x000c + WaitUntilTextboxCloses + _0807E5F8 0x00000020 + WaitForSomething2 0x00000040 + SetFadeMask 0xffff7fff + _0807E778 0x0004 + DoFade5 + WaitFor_2 + StopBgm + _0807E858 0x0000 + Wait 0x003c + CameraTargetPlayer + Call sub_0807F5C0 + MessageFromTargetPos 0x1604, 0x0007 + WaitUntilTextboxCloses + SetFadeMask 0xffffffff + _0807E778 0x0004 + DoFade4 + WaitFor_2 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000002 + _0807EB28 0x1605 + WaitUntilTextboxCloses + SetLocalFlag 0x0078 + PlayBgm BGM_CASTLE_COLLAPSE + SetGlobalFlag 0x005d + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/reveal/script_PlayerAtPicture.inc b/data/scripts/cutscene/reveal/script_PlayerAtPicture.inc new file mode 100644 index 00000000..9651271d --- /dev/null +++ b/data/scripts/cutscene/reveal/script_PlayerAtPicture.inc @@ -0,0 +1,12 @@ +@ Player in Sanctuary at picture +SCRIPT_START script_PlayerAtPicture + BeginBlock + SetEntitySpeed 0x0080 + EndBlock + DoPostScriptAction 0x0001 + _0807EDD4 0x0098, 0x0058 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000002 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/cutscene/reveal/script_PlayerDistanceFromVaati.inc b/data/scripts/cutscene/reveal/script_PlayerDistanceFromVaati.inc new file mode 100644 index 00000000..fa626ffc --- /dev/null +++ b/data/scripts/cutscene/reveal/script_PlayerDistanceFromVaati.inc @@ -0,0 +1,14 @@ +@ Sanctuary Player move back from Vaati +SCRIPT_START script_PlayerDistanceFromVaati + BeginBlock + SetEntitySpeed 0x0080 + DoPostScriptAction 0x000d + EndBlock + DoPostScriptAction 0x0001 + _0807ECC4 0x0020 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x000c + _0807E5F8 0x00000002 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/reveal/script_PlayerFaintAgain.inc b/data/scripts/cutscene/reveal/script_PlayerFaintAgain.inc new file mode 100644 index 00000000..2a7d728c --- /dev/null +++ b/data/scripts/cutscene/reveal/script_PlayerFaintAgain.inc @@ -0,0 +1,17 @@ +@ Sanctuary Player faint from Vaati attack +SCRIPT_START script_PlayerFaintAgain + Call sub_0807F1C4 + Call sub_0807F2D4 + Call sub_0807F1E8 + Call sub_0807F2D4 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + PlaySound SFX_PLY_JUMP + _0807EB44 0x0004 + Call sub_0807F210 + _0807EF3C 0x0200, 0x0020 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000002 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/reveal/script_PlayerMoveToPicture.inc b/data/scripts/cutscene/reveal/script_PlayerMoveToPicture.inc new file mode 100644 index 00000000..7a621543 --- /dev/null +++ b/data/scripts/cutscene/reveal/script_PlayerMoveToPicture.inc @@ -0,0 +1,12 @@ +@ Player in Sanctuary move towards picture +SCRIPT_START script_PlayerMoveToPicture + BeginBlock + SetEntitySpeed 0x0080 + EndBlock + DoPostScriptAction 0x0001 + _0807EC64 0x0020 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000002 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/reveal/script_VaatiSanctuary.inc b/data/scripts/cutscene/reveal/script_VaatiSanctuary.inc new file mode 100644 index 00000000..a45f9d55 --- /dev/null +++ b/data/scripts/cutscene/reveal/script_VaatiSanctuary.inc @@ -0,0 +1,35 @@ +@ Sanctuary Vaati +SCRIPT_START script_VaatiSanctuary + BeginBlock + _0807EB44 0x0004 + DoPostScriptAction 0x0008 + DoPostScriptAction 0x000b + Call sub_0807F338 + EndBlock + WaitForSomething2 0x00000020 + SetEntityPositionRelative 0x0098, 0x0048 + Call sub_08066C94 + Wait 0x00e9 + DoPostScriptAction 0x0007 + _0807E5F8 0x00000040 + WaitForSomething2 0x00000020 + Wait 0x003c + DoPostScriptAction 0x0014 + PlaySound SFX_CHARGING_UP + CallWithArg sub_08095420, script_08013494 + Wait 0x005a + DoPostScriptAction 0x0016 + WaitForSomething2 0x00000080 + _0807E5F8 0x00000040 + WaitForSomething2 0x00000020 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000040 + WaitForSomething2 0x00000020 + Call sub_08066CA4 + DoPostScriptAction 0x0008 + Wait 0x0078 + _0807E5F8 0x00000040 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/takeover/script_GuardTakeover.inc b/data/scripts/cutscene/takeover/script_GuardTakeover.inc new file mode 100644 index 00000000..fb77a159 --- /dev/null +++ b/data/scripts/cutscene/takeover/script_GuardTakeover.inc @@ -0,0 +1,19 @@ +@ Western Wood Cutscene Guard +SCRIPT_START script_GuardTakeover + BeginBlock + SetEntitySpeed 0x0080 + _0807EB44 0x0000 + _0807E930 0x0000 + EndBlock + WaitForSomething 0x00000040 + _0807E930 0x0004 + _0807EC64 0x00c0 + _0807E930 0x0000 + Wait 0x003c + _0807E5F8 0x00000080 + WaitForSomething 0x00000200 + DoPostScriptAction 0x0005 + WaitForSomething 0x00000400 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/takeover/script_KingDaltusTakeover.inc b/data/scripts/cutscene/takeover/script_KingDaltusTakeover.inc new file mode 100644 index 00000000..b9b72d11 --- /dev/null +++ b/data/scripts/cutscene/takeover/script_KingDaltusTakeover.inc @@ -0,0 +1,27 @@ +@ Western Wood Cutscene King Daltus +SCRIPT_START script_KingDaltusTakeover + BeginBlock + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + EndBlock + WaitForSomething2 0x00000004 + DoPostScriptAction 0x0004 + Wait 0x003c + MessageNoOverlap 0x1319 + WaitUntilTextboxCloses + _0807E5F8 0x00000008 + WaitForSomething2 0x00000004 + MessageNoOverlap 0x131a + WaitUntilTextboxCloses + _0807E5F8 0x00000008 + WaitForSomething2 0x00000004 + MessageNoOverlap 0x131d + WaitUntilTextboxCloses + _0807E5F8 0x00000008 + WaitForSomething2 0x00000004 + MessageNoOverlap 0x131e + WaitUntilTextboxCloses + _0807E5F8 0x00000008 + WaitForSomething 0x00000400 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/takeover/script_MinisterPothoTakeover.inc b/data/scripts/cutscene/takeover/script_MinisterPothoTakeover.inc new file mode 100644 index 00000000..850184e6 --- /dev/null +++ b/data/scripts/cutscene/takeover/script_MinisterPothoTakeover.inc @@ -0,0 +1,15 @@ +@ Western Wood Cutscene Minister Potho +SCRIPT_START script_MinisterPothoTakeover + BeginBlock + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + EndBlock + WaitForSomething2 0x00000001 + MessageNoOverlap 0x131c + WaitUntilTextboxCloses + _0807E5F8 0x00000002 + WaitForSomething 0x00000200 + DoPostScriptAction 0x0005 + WaitForSomething 0x00000400 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/takeover/script_Object69Takeover.inc b/data/scripts/cutscene/takeover/script_Object69Takeover.inc new file mode 100644 index 00000000..8dc1eaf9 --- /dev/null +++ b/data/scripts/cutscene/takeover/script_Object69Takeover.inc @@ -0,0 +1,53 @@ +@ Western Wood OBJECT_69 Cutscene +SCRIPT_START script_Object69Takeover + BeginBlock + SetEntitySpeed 0x0080 + EndBlock +script_08015BF0: + CheckPlayerInRegion 0x0160, 0x0020, 0x3040 + JumpIfNot script_08015BF0 + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + Call sub_0807FBC4 + StartPlayerScript script_PlayerAtTakeover + WaitForSomething2 0x00000100 + CameraTargetPlayer + _0807E778 0x0004 + _0807E80C 0x00000000 + WaitFor_2 + StopBgm + Call sub_08053BE8 + BeginBlock + _0807E864 + Call sub_0807FBC4 + CameraTargetPlayer + _0807E778 0x0100 + DoFade4 + _0807E80C 0x00000000 + EndBlock + _0807E778 0x0004 + _0807E800 0x00000000 + WaitFor_2 + PlayBGM + _0807EB28 0x131f + WaitUntilTextboxCloses +.ifdef JP + SetLocalFlag 0x009b +.else +.ifdef EU + SetLocalFlag 0x009b +.else +.ifdef DEMO_JP + SetLocalFlag 0x009b @ TODO deduplicate +.else + SetLocalFlag 0x009c +.endif +.endif +.endif + Call sub_0807FBCC + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/cutscene/takeover/script_Object69TakeoverCutscene.inc b/data/scripts/cutscene/takeover/script_Object69TakeoverCutscene.inc new file mode 100644 index 00000000..61543da9 --- /dev/null +++ b/data/scripts/cutscene/takeover/script_Object69TakeoverCutscene.inc @@ -0,0 +1,68 @@ +@ Western Wood Cutscene OBJECT_69 in Castle +SCRIPT_START script_Object69TakeoverCutscene + BeginBlock + _0807F0B4 0x0007 + SetEntityPositionRelative 0x0088, 0x0068 + CameraTargetEntity + EndBlock + _0807E778 0x0004 + DoFade4 + WaitFor_2 + Wait 0x003c + _0807F0B4 0x0004 + SetEntityPositionRelative 0x0088, 0x00e0 + CameraTargetEntity + Wait 0x003c + PlayBgm BGM_VAATI_THEME + _0807E5F8 0x00000010 + WaitForSomething2 0x00000020 + _0807F0B4 0x0004 + SetEntityPositionRelative 0x0088, 0x0070 + CameraTargetEntity + Wait 0x003c + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + _0807F0B4 0x0004 + SetEntityPositionRelative 0x0088, 0x00e0 + CameraTargetEntity + Wait 0x003c + _0807E5F8 0x00000010 + WaitForSomething2 0x00000020 + _0807F0B4 0x0004 + SetEntityPositionRelative 0x0088, 0x0070 + CameraTargetEntity + Wait 0x003c + _0807E5F8 0x00000010 + WaitForSomething2 0x00000020 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + _0807E5F8 0x00000010 + WaitForSomething2 0x00000020 + _0807E778 0x0004 + DoFade5 + WaitFor_2 + _0807E5F8 0x00000010 + LoadRoomEntityList gUnk_080FCE30 + StopBgm + Wait 0x0078 + _0807E778 0x0004 + DoFade4 + WaitFor_2 + PlayBgm BGM_DIGGING_CAVE + _0807E5F8 0x00000040 + WaitForSomething2 0x00000080 + _0807E5F8 0x00000001 + WaitForSomething2 0x00000002 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + _0807E5F8 0x00000200 + Wait 0x003c + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + _0807E778 0x0004 + DoFade5 + WaitFor_2 + StopBgm + SetRoomFlag 0x0000 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/takeover/script_PlayerAtTakeover.inc b/data/scripts/cutscene/takeover/script_PlayerAtTakeover.inc new file mode 100644 index 00000000..7e98b2b7 --- /dev/null +++ b/data/scripts/cutscene/takeover/script_PlayerAtTakeover.inc @@ -0,0 +1,20 @@ +@ Player at Western Wood Cutscene +SCRIPT_START script_PlayerAtTakeover + BeginBlock + SetEntitySpeed 0x0080 + EndBlock + DoPostScriptAction 0x0001 + _0807EDD4 0x0168, 0x0058 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + CallWithArg sub_0807F238, 0x000003c5 + Call sub_0807F304 + MessageFromTargetPos 0x1318, 0x000c + WaitUntilTextboxCloses + CallWithArg sub_0807F238, 0x000003c9 + Call sub_0807F304 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000100 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/cutscene/takeover/script_VaatiTakeover.inc b/data/scripts/cutscene/takeover/script_VaatiTakeover.inc new file mode 100644 index 00000000..6762ddeb --- /dev/null +++ b/data/scripts/cutscene/takeover/script_VaatiTakeover.inc @@ -0,0 +1,41 @@ +@ Western Wood Cutscene Vaati +SCRIPT_START script_VaatiTakeover + BeginBlock + DoPostScriptAction 0x0008 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x001d + EndBlock + WaitForSomething2 0x00000010 + Call sub_08066C94 + Wait 0x00e9 + DoPostScriptAction 0x0007 + DoPostScriptAction 0x001e + Wait 0x0014 + _0807EB44 0x0000 + DoPostScriptAction 0x001c + Call sub_0807F2D4 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000020 + WaitForSomething2 0x00000010 + Call sub_08066CA4 + DoPostScriptAction 0x0008 + Wait 0x00bc + _0807E5F8 0x00000020 + WaitForSomething2 0x00000010 + SetEntityPositionRelative 0x0088, 0x0068 + Call sub_08066C94 + Wait 0x00e8 + DoPostScriptAction 0x0007 + DoPostScriptAction 0x001e + Wait 0x0014 + _0807E5F8 0x00000020 + WaitForSomething2 0x00000010 + DoPostScriptAction 0x0014 + Wait 0x001e + MessageNoOverlap 0x131b + WaitUntilTextboxCloses + _0807E5F8 0x00000020 + WaitForSomething2 0x00000010 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/cutscene/takeover/script_ZeldaStoneTakeover.inc b/data/scripts/cutscene/takeover/script_ZeldaStoneTakeover.inc new file mode 100644 index 00000000..beea2b4a --- /dev/null +++ b/data/scripts/cutscene/takeover/script_ZeldaStoneTakeover.inc @@ -0,0 +1,10 @@ +@ Western Wood Cutscene Zelda +SCRIPT_START script_ZeldaStoneTakeover + BeginBlock + DoPostScriptAction 0x000a + Call sub_08066E38 + EndBlock + WaitForSomething 0x00000400 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 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 diff --git a/data/scripts/fow/script_MazaalMacroDefeated.inc b/data/scripts/fow/script_MazaalMacroDefeated.inc new file mode 100644 index 00000000..02a44d56 --- /dev/null +++ b/data/scripts/fow/script_MazaalMacroDefeated.inc @@ -0,0 +1,12 @@ +@ Mazaal Macro when defeated +SCRIPT_START script_MazaalMacroDefeated + BeginBlock + _0807E864 + EndBlock + Wait 0x0078 + _0807E908 0x0004 + StartPlayerScript script_PlayerDefeatedMazaal + WaitForSomething2 0x00000002 + Wait 0x000c + _0807E908 0x0005 +SCRIPT_END diff --git a/data/scripts/fow/script_Object89Mazaal.inc b/data/scripts/fow/script_Object89Mazaal.inc new file mode 100644 index 00000000..28c36a5c --- /dev/null +++ b/data/scripts/fow/script_Object89Mazaal.inc @@ -0,0 +1,12 @@ +@ Mazaal OBJECT_89 +SCRIPT_START script_Object89Mazaal + BeginBlock + EndBlock + _0807E888 + Wait 0x0018 + _0807E864 + StartPlayerScript script_PlayerAtMazaal + WaitForSomething2 0x00000001 + _0807E908 0x0002 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/fow/script_PlayerAtMazaal.inc b/data/scripts/fow/script_PlayerAtMazaal.inc new file mode 100644 index 00000000..80b81ae5 --- /dev/null +++ b/data/scripts/fow/script_PlayerAtMazaal.inc @@ -0,0 +1,13 @@ +@ Player entering Mazaal +SCRIPT_START script_PlayerAtMazaal + BeginBlock + _0807EB44 0x0000 + SetEntitySpeed 0x0140 + EndBlock + _0807EDD4 0x00b8, 0x0094 + Wait 0x0008 + DoPostScriptAction 0x0000 + Wait 0x0008 + _0807E5F8 0x00000001 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/fow/script_PlayerDefeatedMazaal.inc b/data/scripts/fow/script_PlayerDefeatedMazaal.inc new file mode 100644 index 00000000..19afd13a --- /dev/null +++ b/data/scripts/fow/script_PlayerDefeatedMazaal.inc @@ -0,0 +1,20 @@ +@ Player when defeating Mazaal +SCRIPT_START script_PlayerDefeatedMazaal + BeginBlock + SetEntitySpeed 0x0140 + EndBlock + Wait 0x003c + _0807EB44 0x0004 + Wait 0x000f + _0807EB44 0x0002 + Wait 0x0012 + _0807EB44 0x0006 + Wait 0x000c + _0807EB44 0x0000 + Wait 0x0015 + _0807EB44 0x0004 + Wait 0x0008 + _0807E5F8 0x00000002 + _0807EDD4 0x0088, 0x0158 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/graveyard/script_DampeInside.inc b/data/scripts/graveyard/script_DampeInside.inc new file mode 100644 index 00000000..4f7b7f6f --- /dev/null +++ b/data/scripts/graveyard/script_DampeInside.inc @@ -0,0 +1,20 @@ +@ Graveyard Dampe in house +SCRIPT_START script_DampeInside + CheckEntityInteractType + JumpIfNot script_080095DE + _0807E864 + _0807EB74 + DoPostScriptAction 0x0001 + Call sub_0806BE84 + WaitUntilTextboxCloses + JumpIfNot script_08009622 + PlaySound SFX_109 + _0807F088 0x003c + MessageFromTarget 0x053c + WaitPlayerGetItem + WaitUntilTextboxCloses + _0807F078 0x003c, 0x0001 +script_08009622: + _0807E878 + DoPostScriptAction 0x0000 + Jump script_080095DE diff --git a/data/scripts/graveyard/script_DampeInside2.inc b/data/scripts/graveyard/script_DampeInside2.inc new file mode 100644 index 00000000..fba10fd3 --- /dev/null +++ b/data/scripts/graveyard/script_DampeInside2.inc @@ -0,0 +1,13 @@ +@ Graveyard Dampe in house 2? +SCRIPT_START script_DampeInside2 + BeginBlock + Call sub_0806BE3C + DoPostScriptAction 0x000a + DoPostScriptAction 0x0007 + EndBlock +script_080095DE: + Call sub_0806BF44 + JumpIf script_DampeInside + DoPostScriptAction 0x000b + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/graveyard/script_DampeOuside.inc b/data/scripts/graveyard/script_DampeOuside.inc new file mode 100644 index 00000000..fd0d90a2 --- /dev/null +++ b/data/scripts/graveyard/script_DampeOuside.inc @@ -0,0 +1,36 @@ +@ Graveyard Dampe outside +SCRIPT_START script_DampeOuside + BeginBlock + DoPostScriptAction 0x000b + DoPostScriptAction 0x0008 + EndBlock +script_08009638: + EndBlock + BeginBlock + CheckGlobalFlag 0x0020 + JumpIfNot script_08009638 + EndBlock +script_08009646: + Call sub_0806BF44 + JumpIf script_08009646 + EndBlock + Call sub_0806BE3C + DoPostScriptAction 0x000a + DoPostScriptAction 0x0007 +script_08009660: + CheckEntityInteractType + JumpIfNot script_08009660 + _0807E864 + _0807EB74 + DoPostScriptAction 0x0001 + Call sub_0806BEC8 + WaitUntilTextboxCloses + JumpIfNot script_0800968E + PlaySound SFX_111 + PlaySound SFX_SECRET + _0807F078 0x003c, 0x0002 + Call sub_0806BEFC +script_0800968E: + _0807E878 + DoPostScriptAction 0x0000 + Jump script_08009660 diff --git a/data/scripts/graveyard/script_GhostBrothers.inc b/data/scripts/graveyard/script_GhostBrothers.inc new file mode 100644 index 00000000..4f734e51 --- /dev/null +++ b/data/scripts/graveyard/script_GhostBrothers.inc @@ -0,0 +1,20 @@ +@ Graveyard GhostBrothers +SCRIPT_START script_GhostBrothers + BeginBlock + Call sub_08065D00 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x000a + DoPostScriptAction 0x0007 + EndBlock +script_0800975A: + CheckEntityInteractType + JumpIfNot script_0800975A + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 + Call sub_08065F64 + WaitUntilTextboxCloses + _0807E878 + Jump script_0800975A + .2byte 0x0000 diff --git a/data/scripts/graveyard/script_Gina.inc b/data/scripts/graveyard/script_Gina.inc new file mode 100644 index 00000000..2f0422c7 --- /dev/null +++ b/data/scripts/graveyard/script_Gina.inc @@ -0,0 +1,28 @@ +@ Graveyard Gina +SCRIPT_START script_Gina + BeginBlock + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x000a + EndBlock + CheckLocalFlag 0x005f + JumpIf script_0800B94E +script_0800B934: + CheckEntityInteractType + JumpIfNot script_0800B934 + _0807E864 + _0807EB74 + MessageFromTarget 0x3f19 + WaitUntilTextboxCloses + SetLocalFlag 0x005f + _0807E878 + Jump script_0800B934 +script_0800B94E: + CheckEntityInteractType + JumpIfNot script_0800B94E + _0807E864 + _0807EB74 + MessageFromTarget 0x3f1a + WaitUntilTextboxCloses + _0807E878 + Jump script_0800B94E diff --git a/data/scripts/graveyard/script_GraveyardHouseDoor.inc b/data/scripts/graveyard/script_GraveyardHouseDoor.inc new file mode 100644 index 00000000..04e54f7d --- /dev/null +++ b/data/scripts/graveyard/script_GraveyardHouseDoor.inc @@ -0,0 +1,30 @@ +@ Graveyard house door +SCRIPT_START script_GraveyardHouseDoor + BeginBlock + DoPostScriptAction 0x0007 + Jump script_080096FC + CheckGlobalFlag 0x0020 + JumpIf script_080096FC + EndBlock +script_080096AC: + CheckPlayerInRegion 0x0188, 0x01c0, 0x1020 + JumpIfNot script_080096AC + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + StartPlayerScript script_PlayerAtGraveyardHouseDoor + WaitForSomething2 0x00000001 + PlaySound SFX_111 + DoPostScriptAction 0x0008 + LoadRoomEntityList gUnk_080D9048 + Wait 0x000f + PlaySound SFX_111 + DoPostScriptAction 0x0007 +script_080096EC: + CheckGlobalFlag 0x0020 + JumpIfNot script_080096EC + Call sub_0807DF50 + _0807E878 +script_080096FC: + Call sub_0808692C +SCRIPT_END diff --git a/data/scripts/graveyard/script_GreatFairyArrows.inc b/data/scripts/graveyard/script_GreatFairyArrows.inc new file mode 100644 index 00000000..d78252c3 --- /dev/null +++ b/data/scripts/graveyard/script_GreatFairyArrows.inc @@ -0,0 +1,53 @@ +@ Graveyard Great Fairy OBJECT_69 +SCRIPT_START script_GreatFairyArrows + BeginBlock + EndBlock +script_0800B618: + CheckPlayerInRegion 0x0078, 0x00b8, 0x1060 + JumpIfNot script_0800B618 + Call sub_08079184 + _0807E864 + Call sub_0807F9A4 + StartPlayerScript script_PlayerAtGreatFairy + WaitForSomething2 0x00000004 + SetRoomFlag 0x0000 + WaitForSomething2 0x00000004 + CheckLocalFlag 0x009e + JumpIf script_0800B7A2 + MessageNoOverlap 0x0583 + WaitUntilTextboxCloses + _0807E3E8 + JumpIfNot script_0800B684 + Wait 0x000f + MessageNoOverlap 0x0584 + CallWithArg sub_0807F970, 0x0000058b + JumpIf script_0800B68E + CallWithArg sub_08087424, 0x00000000 + Wait 0x00b4 + Jump script_0800B6A6 +script_0800B684: + MessageNoOverlap 0x057d + WaitUntilTextboxCloses + Jump script_0800B6A6 +script_0800B68E: + WaitUntilTextboxCloses + SetLocalFlag 0x009e + _0807F034 0x0066 +script_0800B698: + WaitPlayerGetItem + _0807EB8C + Wait 0x001e + MessageNoOverlap 0x057f + WaitUntilTextboxCloses +script_0800B6A6: + _0807E778 0x0004 + DoFade7 + WaitFor_2 + Call sub_080873FC + DoFade6 + WaitFor_2 + CameraTargetPlayer + Wait 0x001e + Call sub_0807DF50 + _0807E878 +SCRIPT_END diff --git a/data/scripts/graveyard/script_KingGustav.inc b/data/scripts/graveyard/script_KingGustav.inc new file mode 100644 index 00000000..14fceb9f --- /dev/null +++ b/data/scripts/graveyard/script_KingGustav.inc @@ -0,0 +1,43 @@ +@ Graveyard King Gustav +SCRIPT_START script_KingGustav + BeginBlock + DoPostScriptAction 0x0008 + Call sub_0807F180 + EndBlock +script_0800D962: + CheckPlayerInRegion 0x0118, 0x0038, 0x3050 + JumpIfNot script_0800D962 + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + StartPlayerScript script_PlayerAtKingGustav + WaitForSomething2 0x00000001 + Wait 0x003c + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x0007 + PlaySound SFX_ELEMENT_FLOAT + SetEntity0x20 0xffff8000 + MessageNoOverlap 0x1701 + WaitUntilTextboxCloses + _0807E5F8 0x00000004 + WaitForSomething2 0x00000002 + MessageNoOverlap 0x1702 + WaitUntilTextboxCloses + SetEntity0x20 0x00010000 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000002 + _0807F050 0x006d + WaitPlayerGetItem + _0807EB28 0x1703 + WaitUntilTextboxCloses + Wait 0x003c + SetLocalFlag 0x0032 + PlaySound SFX_113 + SetIntVariable 0x00000001 + Call sub_0806DA1C + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/graveyard/script_Object69CrowStealingKey.inc b/data/scripts/graveyard/script_Object69CrowStealingKey.inc new file mode 100644 index 00000000..d4eeac98 --- /dev/null +++ b/data/scripts/graveyard/script_Object69CrowStealingKey.inc @@ -0,0 +1,29 @@ +@ Graveyard OBJECT_69 Crow stealing key cutscene +SCRIPT_START script_Object69CrowStealingKey + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + PlaySound SFX_1F3 + Call sub_0807F40C + _0807E8E4_1 + Wait 0x000a + _0807E8E4_3 + Wait 0x0032 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + StartPlayerScript script_PlayerGetKeyStolen + WaitForSomething2 0x00000040 + _0807E5F8 0x00000008 + WaitForSomething2 0x00000010 + _0807E5F8 0x00000020 + WaitForSomething2 0x00000040 + _0807F078 0x003c, 0x0000 + SetGlobalFlag 0x0020 + _0807E8E4_3 + Wait 0x001e + _0807EB28 0x2809 + WaitUntilTextboxCloses + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/graveyard/script_Object69GetKeyBack.inc b/data/scripts/graveyard/script_Object69GetKeyBack.inc new file mode 100644 index 00000000..7c9b1a25 --- /dev/null +++ b/data/scripts/graveyard/script_Object69GetKeyBack.inc @@ -0,0 +1,48 @@ +@ Graveyard OBJECT_69 When getting the key back +SCRIPT_START script_Object69GetKeyBack + BeginBlock + EndBlock +script_080098D8: + CheckGlobalFlag 0x0020 + JumpIfNot script_080098D8 +script_080098E0: + CheckInventory1 0x003c + JumpIfNot script_080098E0 +.ifdef JP + CheckLocalFlag 0x5b +.else +.ifdef EU + CheckLocalFlag 0x5b +.else +.ifdef DEMO_JP + CheckLocalFlag 0x5b @ TODO deduplicate +.else + CheckLocalFlag 0x5d +.endif +.endif +.endif + JumpIf script_08009910 +.ifdef JP + SetLocalFlag 0x005b +.else +.ifdef EU + SetLocalFlag 0x005b +.else +.ifdef DEMO_JP + SetLocalFlag 0x005b @ TODO deduplicate +.else + SetLocalFlag 0x005d +.endif +.endif +.endif + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + _0807EB28 0x280a + WaitUntilTextboxCloses + Call sub_0807DF50 + _0807E878 +script_08009910: + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/graveyard/script_Object6AKingsGravestone.inc b/data/scripts/graveyard/script_Object6AKingsGravestone.inc new file mode 100644 index 00000000..57b0a88c --- /dev/null +++ b/data/scripts/graveyard/script_Object6AKingsGravestone.inc @@ -0,0 +1,15 @@ +@ Graveyard OBJECT_6A Kings gravestone? or King ghost representation? +SCRIPT_START script_Object6AKingsGravestone + BeginBlock + DoPostScriptAction 0x0008 + SetEntitySpeed 0x0080 + EndBlock + WaitForSomething2 0x00000004 + DoPostScriptAction 0x0007 + Wait 0x003c + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + _0807EDD4 0x0118, 0x0060 + _0807E5F8 0x00000002 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/graveyard/script_Object97FirstCrow.inc b/data/scripts/graveyard/script_Object97FirstCrow.inc new file mode 100644 index 00000000..40e0dd9a --- /dev/null +++ b/data/scripts/graveyard/script_Object97FirstCrow.inc @@ -0,0 +1,22 @@ +@ Graveyard OBJECT_97 Crow stealing the key? first crow that makes link loose the key +SCRIPT_START script_Object97FirstCrow + BeginBlock + _0807E930 0x0003 + DoPostScriptAction 0x0007 + SetEntitySpeed 0x0300 + Call sub_0807F348 + EndBlock + WaitForSomething2 0x00000002 + PlaySound SFX_123 + Call sub_0807F1A0 +script_08009816: + EndBlock + BeginBlock + _0807EE30 + JumpIfNot script_08009816 + EndBlock + _0807E5F8 0x00000004 + Call sub_0807FBD4 + PlaySound SFX_1F3 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/graveyard/script_Object97SecondCrow.inc b/data/scripts/graveyard/script_Object97SecondCrow.inc new file mode 100644 index 00000000..c3b86b00 --- /dev/null +++ b/data/scripts/graveyard/script_Object97SecondCrow.inc @@ -0,0 +1,18 @@ +@ Graveyard OBJECT_97 Crow stealing the key? Second crow that picks up the key +SCRIPT_START script_Object97SecondCrow + BeginBlock + _0807E930 0x0003 + DoPostScriptAction 0x0007 + SetEntitySpeed 0x0300 + Call sub_0807F348 + EndBlock + WaitForSomething2 0x00000008 + Call sub_0809E0A0 + Call sub_0809E0D4 + PlaySound SFX_1F3 + Call sub_0807FBD4 + PlaySound SFX_1F3 + _0807E5F8 0x00000010 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/graveyard/script_PlayerAtGraveyardHouseDoor.inc b/data/scripts/graveyard/script_PlayerAtGraveyardHouseDoor.inc new file mode 100644 index 00000000..4fbb447d --- /dev/null +++ b/data/scripts/graveyard/script_PlayerAtGraveyardHouseDoor.inc @@ -0,0 +1,16 @@ +@ Player at Graveyard house door +SCRIPT_START script_PlayerAtGraveyardHouseDoor + SetEntitySpeed 0x0080 + DoPostScriptAction 0x0001 + _0807EDD4 0x01a0, 0x01b0 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + Wait 0x000a + DoPostScriptAction 0x0004 + Wait 0x003c + _0807E5F8 0x00000001 + DoPostScriptAction 0x000d + SetEntitySpeed 0x0100 + _0807ECC4 0x0010 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/graveyard/script_PlayerAtKingGustav.inc b/data/scripts/graveyard/script_PlayerAtKingGustav.inc new file mode 100644 index 00000000..92ced678 --- /dev/null +++ b/data/scripts/graveyard/script_PlayerAtKingGustav.inc @@ -0,0 +1,12 @@ +@ Player at Graveyard King Gustaf +SCRIPT_START script_PlayerAtKingGustav + BeginBlock + SetEntitySpeed 0x0080 + EndBlock + DoPostScriptAction 0x0001 + _0807EDD4 0x0118, 0x0060 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/graveyard/script_PlayerGetKeyStolen.inc b/data/scripts/graveyard/script_PlayerGetKeyStolen.inc new file mode 100644 index 00000000..4848e38c --- /dev/null +++ b/data/scripts/graveyard/script_PlayerGetKeyStolen.inc @@ -0,0 +1,21 @@ +@ Player when crow steals key +SCRIPT_START script_PlayerGetKeyStolen + PlaySound SFX_PLY_VO6 + _0807EB44 0x0004 + PlaySound SFX_86 + Call sub_0807F36C + SetEntitySpeed 0x0400 + _0807ECF4 0x0004 + Call sub_0807F1E8 + Wait 0x001e + _0807E5F8 0x00000040 + WaitForSomething2 0x00000020 + PlaySound SFX_PLY_JUMP + _0807EB44 0x0004 + Call sub_0807F210 + _0807EF3C 0x0200, 0x0020 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000040 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/hyruleCastle/script_CastleMaid.inc b/data/scripts/hyruleCastle/script_CastleMaid.inc new file mode 100644 index 00000000..8e3726ba --- /dev/null +++ b/data/scripts/hyruleCastle/script_CastleMaid.inc @@ -0,0 +1,14 @@ +@ Intro Hyrule Castle Maid +SCRIPT_START script_CastleMaid + BeginBlock + _0807E9D4 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x000a + CallWithArg sub_08064644, sub_0806464C + EndBlock +script_0800B8D4: + Wait 0x003c + Call sub_080646A4 + Jump script_0800B8D4 + .2byte 0x0000 diff --git a/data/scripts/hyruleCastle/script_GuardAtEntry.inc b/data/scripts/hyruleCastle/script_GuardAtEntry.inc new file mode 100644 index 00000000..9fa561fc --- /dev/null +++ b/data/scripts/hyruleCastle/script_GuardAtEntry.inc @@ -0,0 +1,20 @@ +@ Hyrule Castle inside Guard at entry +SCRIPT_START script_GuardAtEntry + BeginBlock + _0807E9D4 + DoPostScriptAction 0x000a + _0807EB44 0x0004 + CallWithArg sub_0807F3D8, 0x00000000 + EndBlock +script_08008DD8: + CheckEntityInteractType + JumpIfNot script_08008DD8 + _0807E864 + _0807EB74 + CallWithArg sub_0807F3D8, 0x00000000 + Call sub_080643D8 + WaitUntilTextboxCloses + _0807E878 + _0807EB44 0x0004 + CallWithArg sub_0807F3D8, 0x00000000 + Jump script_08008DD8 diff --git a/data/scripts/hyruleCastle/script_KingDaltus.inc b/data/scripts/hyruleCastle/script_KingDaltus.inc new file mode 100644 index 00000000..9c47505b --- /dev/null +++ b/data/scripts/hyruleCastle/script_KingDaltus.inc @@ -0,0 +1,10 @@ +@ Hyrule Castle King Daltus +SCRIPT_START script_KingDaltus + BeginBlock + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + Call sub_0806672C + DoPostScriptAction 0x000a + EndBlock + Jump script_0800917C + .2byte 0x0000 diff --git a/data/scripts/hyruleCastle/script_MinisterPotho.inc b/data/scripts/hyruleCastle/script_MinisterPotho.inc new file mode 100644 index 00000000..7cea778c --- /dev/null +++ b/data/scripts/hyruleCastle/script_MinisterPotho.inc @@ -0,0 +1,20 @@ +@ Hyrule Castle Minister Potho +SCRIPT_START script_MinisterPotho + BeginBlock + _0807EB44 0x0004 + DoPostScriptAction 0x0000 +script_0800927E: + Call sub_080668F0 + DoPostScriptAction 0x000a + EndBlock +script_0800928A: + CheckEntityInteractType + JumpIfNot script_0800928A + _0807E864 + _0807EB74 + Call sub_08066904 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_0800928A + .2byte 0x0000 diff --git a/data/scripts/hyruleCastle/script_Object69SanctuaryEntrance.inc b/data/scripts/hyruleCastle/script_Object69SanctuaryEntrance.inc new file mode 100644 index 00000000..6837ac18 --- /dev/null +++ b/data/scripts/hyruleCastle/script_Object69SanctuaryEntrance.inc @@ -0,0 +1,29 @@ +@ Hyrule Castle OBJECT_69 Sanctuary Entrance +SCRIPT_START script_Object69SanctuaryEntrance + CheckPlayerInRegion 0x0088, 0x0048, 0x3030 + JumpIfNot script_Object69SanctuaryEntrance + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + StartPlayerScript script_PlayerAtSanctuaryEntrance + WaitForSomething2 0x00000001 + _0807EB28 0x132d + WaitUntilTextboxCloses +.ifdef JP + SetLocalFlag 0x0015 +.else +.ifdef EU + SetLocalFlag 0x0015 +.else +.ifdef DEMO_JP + SetLocalFlag 0x0015 @ TODO deduplicate +.else + SetLocalFlag 0x0014 +.endif +.endif +.endif + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/hyruleCastle/script_SmithAtCastle.inc b/data/scripts/hyruleCastle/script_SmithAtCastle.inc new file mode 100644 index 00000000..5aa10b08 --- /dev/null +++ b/data/scripts/hyruleCastle/script_SmithAtCastle.inc @@ -0,0 +1,19 @@ +@ Hyrule Castle Smith +SCRIPT_START script_SmithAtCastle + BeginBlock + _0807EB44 0x0006 + DoPostScriptAction 0x0000 +script_080092B2: + _0807E9D4 + DoPostScriptAction 0x000a + EndBlock +script_080092BA: + CheckEntityInteractType + JumpIfNot script_080092BA + _0807E864 + _0807EB74 + MessageNoOverlap 0x105e + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_080092BA diff --git a/data/scripts/hyruleCastle/script_StoneZelda.inc b/data/scripts/hyruleCastle/script_StoneZelda.inc new file mode 100644 index 00000000..7c9cacd8 --- /dev/null +++ b/data/scripts/hyruleCastle/script_StoneZelda.inc @@ -0,0 +1,17 @@ +@ Hyrule Castle Stone Zelda +SCRIPT_START script_StoneZelda + BeginBlock + DoPostScriptAction 0x000a + Call sub_08066E38 + _0807E9D4 + EndBlock +script_08009300: + CheckEntityInteractType + JumpIfNot script_08009300 + _0807E864 + _0807EB74 + MessageNoOverlap 0x1071 + WaitUntilTextboxCloses + _0807E878 + Jump script_08009300 + .2byte 0x0000 diff --git a/data/scripts/hyruleCastleGarden/script_GardGarden5.inc b/data/scripts/hyruleCastleGarden/script_GardGarden5.inc new file mode 100644 index 00000000..4d280b98 --- /dev/null +++ b/data/scripts/hyruleCastleGarden/script_GardGarden5.inc @@ -0,0 +1,6 @@ +@ Guard in Castle garden? +SCRIPT_START script_GardGarden5 + BeginBlock + _0807EB44 0x0002 + Jump script_080119F6 + .2byte 0x0000 diff --git a/data/scripts/hyruleCastleGarden/script_GuardEntry1.inc b/data/scripts/hyruleCastleGarden/script_GuardEntry1.inc new file mode 100644 index 00000000..36724e50 --- /dev/null +++ b/data/scripts/hyruleCastleGarden/script_GuardEntry1.inc @@ -0,0 +1,20 @@ +@ Intro Hyrule Castle Entrance Guard +SCRIPT_START script_GuardEntry1 + BeginBlock + _0807EB44 0x0006 +script_080119F6: + _0807E9D4 + DoPostScriptAction 0x000a + CallWithArg sub_0807F3D8, 0x00000000 + EndBlock +script_08011A08: + CheckEntityInteractType + JumpIfNot script_08011A08 + _0807E864 + _0807EB74 + CallWithArg sub_0807F3D8, 0x00000000 + Call sub_08064428 + WaitUntilTextboxCloses + _0807E878 + Jump script_08011A08 + .2byte 0x0000 diff --git a/data/scripts/hyruleCastleGarden/script_GuardEntry2.inc b/data/scripts/hyruleCastleGarden/script_GuardEntry2.inc new file mode 100644 index 00000000..061b8cb7 --- /dev/null +++ b/data/scripts/hyruleCastleGarden/script_GuardEntry2.inc @@ -0,0 +1,18 @@ +@ Hyrule Castle Guard guarding entry to castle +SCRIPT_START script_GuardEntry2 + BeginBlock + _0807EB44 0x0004 + _0807E9D4 + DoPostScriptAction 0x000a + CallWithArg sub_0807F3D8, 0x00000000 + EndBlock +script_08011A44: + CheckEntityInteractType + JumpIfNot script_08011A44 + _0807E864 + _0807EB74 + CallWithArg sub_0807F3D8, 0x00000000 + MessageFromTarget 0x1320 + WaitUntilTextboxCloses + _0807E878 + Jump script_08011A44 diff --git a/data/scripts/hyruleCastleGarden/script_GuardEntry3.inc b/data/scripts/hyruleCastleGarden/script_GuardEntry3.inc new file mode 100644 index 00000000..c1b2985d --- /dev/null +++ b/data/scripts/hyruleCastleGarden/script_GuardEntry3.inc @@ -0,0 +1,38 @@ +@ Hyrule Castle Guard guarding entry to garden +SCRIPT_START script_GuardEntry3 + BeginBlock + _0807EB44 0x0002 + _0807E9D4 + DoPostScriptAction 0x000a + CallWithArg sub_0807F3D8, 0x00000000 + EndBlock +script_08011A7C: + CheckEntityInteractType + JumpIfNot script_08011A7C + _0807E864 + _0807EB74 + CallWithArg sub_0807F3D8, 0x00000000 + CallWithArg sub_080644B4, 0x00000006 + JumpIf script_08011AFA + MessageFromTarget 0x1320 + WaitUntilTextboxCloses + _0807E878 + Jump script_08011A7C + .2byte 0x0000 + BeginBlock + _0807EB44 0x0004 + _0807E9D4 + DoPostScriptAction 0x000a + CallWithArg sub_0807F3D8, 0x00000000 + EndBlock +script_08011AC4: + CheckEntityInteractType + JumpIfNot script_08011AC4 + _0807E864 + _0807EB74 + CallWithArg sub_0807F3D8, 0x00000000 + MessageFromTarget 0x1322 + WaitUntilTextboxCloses + _0807E878 + Jump script_08011AC4 + diff --git a/data/scripts/hyruleCastleGarden/script_GuardGarden1.inc b/data/scripts/hyruleCastleGarden/script_GuardGarden1.inc new file mode 100644 index 00000000..ac2385f2 --- /dev/null +++ b/data/scripts/hyruleCastleGarden/script_GuardGarden1.inc @@ -0,0 +1,6 @@ +@ Guard in Castle garden? +SCRIPT_START script_GuardGarden1 + BeginBlock + _0807EB44 0x0002 + Jump script_0801196A + .2byte 0x0000 diff --git a/data/scripts/hyruleCastleGarden/script_GuardGarden2.inc b/data/scripts/hyruleCastleGarden/script_GuardGarden2.inc new file mode 100644 index 00000000..72a8627b --- /dev/null +++ b/data/scripts/hyruleCastleGarden/script_GuardGarden2.inc @@ -0,0 +1,6 @@ +@ Guard in Castle garden? +SCRIPT_START script_GuardGarden2 + BeginBlock + _0807EB44 0x0006 + Jump script_0801196A + .2byte 0x0000 diff --git a/data/scripts/hyruleCastleGarden/script_GuardGarden3.inc b/data/scripts/hyruleCastleGarden/script_GuardGarden3.inc new file mode 100644 index 00000000..c59e34cc --- /dev/null +++ b/data/scripts/hyruleCastleGarden/script_GuardGarden3.inc @@ -0,0 +1,26 @@ +@ Intro Hyrule Castle Garden Guard +SCRIPT_START script_GuardGarden3 + BeginBlock + _0807EB44 0x0004 +script_0801196A: + _0807E9D4 + DoPostScriptAction 0x000a + CallWithArg sub_0807F3D8, 0x00000000 + EndBlock +script_0801197C: + CheckEntityInteractType + JumpIfNot script_0801197C + _0807E864 + _0807EB74 + CallWithArg sub_0807F3D8, 0x00000000 + CheckGlobalFlag 0x0015 + JumpIf script_080119A0 + MessageFromTarget 0x103d + Jump script_080119A4 +script_080119A0: + MessageFromTarget 0x103f +script_080119A4: + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_0801197C diff --git a/data/scripts/hyruleCastleGarden/script_GuardGarden4.inc b/data/scripts/hyruleCastleGarden/script_GuardGarden4.inc new file mode 100644 index 00000000..ce7e7680 --- /dev/null +++ b/data/scripts/hyruleCastleGarden/script_GuardGarden4.inc @@ -0,0 +1,13 @@ +@ Intro Hyrule Castle roaming Guard +SCRIPT_START script_GuardGarden4 + BeginBlock + _0807E9D4 + _0807EB44 0x0004 + DoPostScriptAction 0x000a + CallWithArg sub_0807F3D8, 0x0000000c + EndBlock +script_080119C8: + Wait 0x003c + Call sub_0806407C + Jump script_080119C8 + .2byte 0x0000 diff --git a/data/scripts/hyruleCastleGarden/script_GuardGarden6.inc b/data/scripts/hyruleCastleGarden/script_GuardGarden6.inc new file mode 100644 index 00000000..244345f9 --- /dev/null +++ b/data/scripts/hyruleCastleGarden/script_GuardGarden6.inc @@ -0,0 +1,6 @@ +@ Guard in Castle garden? +SCRIPT_START script_GuardGarden6 + BeginBlock + _0807EB44 0x0004 + Jump script_080119F6 + .2byte 0x0000 diff --git a/data/scripts/hyruleCastleGarden/script_GuardGarden7.inc b/data/scripts/hyruleCastleGarden/script_GuardGarden7.inc new file mode 100644 index 00000000..0dd6ee73 --- /dev/null +++ b/data/scripts/hyruleCastleGarden/script_GuardGarden7.inc @@ -0,0 +1,29 @@ +@ Hyrule Castle Guard kicking Link out +SCRIPT_START script_GuardGarden7 + CheckRoomFlag 0x000f + JumpIfNot script_GuardGarden7 + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 +script_08011AFA: + MessageFromTargetPos 0x1321, 0x0007 + WaitUntilTextboxCloses +.ifdef JP + SetLocalFlag 0x0011 +.else +.ifdef EU + SetLocalFlag 0x0011 +.else +.ifdef DEMO_JP + SetLocalFlag 0x0011 @ TODO deduplicate +.else + SetLocalFlag 0x0010 +.endif +.endif +.endif + CallWithArg sub_0806DA1C, 0x00000003 + _0807E878 + Call sub_0807DF50 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/hyruleCastleGarden/script_GuardGarden8.inc b/data/scripts/hyruleCastleGarden/script_GuardGarden8.inc new file mode 100644 index 00000000..beff4e16 --- /dev/null +++ b/data/scripts/hyruleCastleGarden/script_GuardGarden8.inc @@ -0,0 +1,11 @@ +@ Hyrule Castle Guard kicking Link out of garden +SCRIPT_START script_GuardGarden8 + _0807E864 + Call sub_0807DF28 + MessageFromTargetPos 0x1320, 0x000c + WaitUntilTextboxCloses + _0807E878 + Call sub_0807DF50 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_Anju.inc b/data/scripts/hyruleTown/script_Anju.inc new file mode 100644 index 00000000..6603d7fb --- /dev/null +++ b/data/scripts/hyruleTown/script_Anju.inc @@ -0,0 +1,79 @@ +@ Hyrule Town Anju +SCRIPT_START script_Anju + BeginBlock + DoPostScriptAction 0x0001 + Call sub_0806C354 + DoPostScriptAction 0x000a + EndBlock +script_0801015A: + CheckEntityInteractType + JumpIfNot script_0801015A + _0807E864 + _0807EB74 + CheckRoomFlag 0x0001 + JumpIf script_0801019E + MessageFromTargetPos 0x3001, 0x0000 + WaitUntilTextboxCloses + _0807E3E8 + JumpIfNot script_080101A6 + Call sub_080A1608 + WaitUntilTextboxCloses + _0807E878 + CallWithArg sub_080A1550, script_080101AC + JumpIfNot script_0801015A + PlayBgm BGM_CUCCO_MINIGAME + SetRoomFlag 0x0001 + Jump script_0801015A +script_0801019E: + Call sub_080A1608 + WaitUntilTextboxCloses +script_080101A6: + _0807E878 + Jump script_0801015A +script_080101AC: + BeginBlock + DoPostScriptAction 0x0008 + Call sub_080A1648 + EndBlock + Call sub_080A1270 + _0807E864 + Call sub_0807DF28 + MessageFromTargetPos 0x3004, 0x0007 + WaitUntilTextboxCloses + StopBgm + _0807E778 0x0004 + DoFade5 + WaitFor_2 + CallWithArg sub_0807F75C, 0x03400378 + Call sub_080791BC + Call sub_0807FB74 + _0807E8E4_1 + Call sub_0807F168 + Call sub_080A1388 + Call sub_0806EC38 + BeginBlock + MoveEntityToPlayer + Call sub_0807F844 + CameraTargetPlayer + EndBlock + _0807E778 0x0004 + DoFade4 + WaitFor_2 + PlayBGM + Call sub_080A13B4 + WaitUntilTextboxCloses + JumpIfNot script_08010240 + Call sub_080A13E8 + WaitPlayerGetItem + Call sub_080A1460 + WaitUntilTextboxCloses + Call sub_080A14A8 +script_08010240: + Call sub_0807DF50 + _0807E878 + CallWithArg sub_0807F5B0, 0x00000000 + ClearRoomFlag 0x0001 + Call sub_080A169C + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_AnjuInside.inc b/data/scripts/hyruleTown/script_AnjuInside.inc new file mode 100644 index 00000000..7494a7a3 --- /dev/null +++ b/data/scripts/hyruleTown/script_AnjuInside.inc @@ -0,0 +1,17 @@ +@ Hyrule Town Anju inside +SCRIPT_START script_AnjuInside + BeginBlock + _0807E9D4 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x000a + EndBlock +script_08010132: + CheckEntityInteractType + JumpIfNot script_08010132 + _0807E864 + _0807EB74 + MessageFromTarget 0x4f22 + WaitUntilTextboxCloses + _0807E878 + Jump script_08010132 diff --git a/data/scripts/hyruleTown/script_BedAtSimons.inc b/data/scripts/hyruleTown/script_BedAtSimons.inc new file mode 100644 index 00000000..8a2c4116 --- /dev/null +++ b/data/scripts/hyruleTown/script_BedAtSimons.inc @@ -0,0 +1,14 @@ +@ OBJECT_5B Bed at Simons +@ also at Inn +@ also at Links house later +SCRIPT_START script_BedAtSimons + BeginBlock + SetIntVariable 0x00000000 + DoPostScriptAction 0x0001 + EndBlock + WaitForSomething2 0x00000004 + BeginBlock + SetIntVariable 0x00000001 + DoPostScriptAction 0x0001 + EndBlock +SCRIPT_END diff --git a/data/scripts/hyruleTown/script_Beedle.inc b/data/scripts/hyruleTown/script_Beedle.inc new file mode 100644 index 00000000..acbd42c2 --- /dev/null +++ b/data/scripts/hyruleTown/script_Beedle.inc @@ -0,0 +1,90 @@ +@ Hyrule Town Beedle +SCRIPT_START script_Beedle + BeginBlock + _0807EB44 0x0004 + _0807E930 0x0000 + DoPostScriptAction 0x000a + Call sub_0807F348 + EndBlock +script_08010502: + CheckEntityInteractType + JumpIfNot script_08010502 + _0807E864 + Call sub_0807DF28 + _0807EB74 + CallWithArg sub_0807F3D8, 0x00000008 + CheckRoomFlag 0x000e + JumpIf script_0801052E + SetRoomFlag 0x000e + MessageNoOverlap 0x2b10 + WaitUntilTextboxCloses +script_0801052E: + Call sub_080634E4 + JumpTable script_08010544, script_08010558, script_08010570, script_08010570, script_0801054C, script_08010564, script_08010570 +script_08010544: + MessageNoOverlap 0x2b0d + Jump script_080105E0 +script_0801054C: + CheckGlobalFlag 0x003d + JumpIfNot script_080105DC + Jump script_08010570 +script_08010558: + CheckGlobalFlag 0x003c + JumpIfNot script_080105DC + Jump script_08010570 +script_08010564: + CheckGlobalFlag 0x003b + JumpIfNot script_080105DC + Jump script_08010570 +script_08010570: + Call sub_080634EC + CallWithArg sub_0807F78C, 0x00000000 + WaitUntilTextboxCloses + _0807E3E8 + JumpIfNot script_080105E0 + CallWithArg sub_0807F7C4, 0x00000000 + JumpIfNot script_080105C4 + _0807E48C 0x0020 + JumpIfNot script_080105CC + Call sub_08063504 + JumpIf script_080105D4 + MessageNoOverlap 0x2b07 + WaitUntilTextboxCloses + CallWithArg sub_0807F800, 0x00000000 + WaitPlayerGetItem + WaitUntilTextboxCloses + MessageNoOverlap 0x2b0c + Jump script_080105E0 +script_080105C4: + MessageNoOverlap 0x2b09 + Jump script_080105E0 +script_080105CC: + MessageNoOverlap 0x2b0a + Jump script_080105E0 +script_080105D4: + MessageNoOverlap 0x2b0b + Jump script_080105E0 +script_080105DC: + MessageNoOverlap 0x2b0e +script_080105E0: + WaitUntilTextboxCloses + Call sub_0807DF50 + _0807E878 + Jump script_08010502 + .2byte 0x0000 + BeginBlock + _0807E9D4 + DoPostScriptAction 0x000a + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + EndBlock +script_08010602: + CheckEntityInteractType + JumpIfNot script_08010602 + _0807E864 + _0807EB74 + MessageFromTarget 0x0a01 + WaitUntilTextboxCloses + _0807E878 + _0807EB44 0x0004 + Jump script_08010602 diff --git a/data/scripts/hyruleTown/script_Brocco.inc b/data/scripts/hyruleTown/script_Brocco.inc new file mode 100644 index 00000000..58b41e24 --- /dev/null +++ b/data/scripts/hyruleTown/script_Brocco.inc @@ -0,0 +1,21 @@ +@ (Intro) Hyrule Town Brocco +SCRIPT_START script_Brocco + BeginBlock + _0807EB44 0x0004 + _0807E930 0x0000 + Call sub_080636F4 + DoPostScriptAction 0x000a + Call sub_0807F348 + EndBlock +script_08010470: + CheckEntityInteractType + JumpIfNot script_08010470 + _0807E864 + _0807EB74 + CallWithArg sub_0807F3D8, 0x00000004 + Call sub_080636D8 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + CallWithArg sub_0807F3D8, 0x00000000 + Jump script_08010470 diff --git a/data/scripts/hyruleTown/script_CafeGuy.inc b/data/scripts/hyruleTown/script_CafeGuy.inc new file mode 100644 index 00000000..32473eb5 --- /dev/null +++ b/data/scripts/hyruleTown/script_CafeGuy.inc @@ -0,0 +1,32 @@ +@ Hyrule Town Cafe guy +SCRIPT_START script_CafeGuy + BeginBlock + _0807E9D4 + CallWithArg sub_08061FB8, 0x00000001 + SetEntitySpeed 0x0040 + DoPostScriptAction 0x000a + _0807EB44 0x0004 + _0807E930 0x0002 + EndBlock +script_0800ECAC: + _0807EB44 0x0006 + _0807E930 0x0007 + _0807EDD4 0x0028, 0x0050 + Wait 0x001e + _0807EB44 0x0004 + _0807E930 0x0002 + Wait 0x001e + _0807EB44 0x0002 + _0807E930 0x0001 + Wait 0x001e + _0807EB44 0x0002 + _0807E930 0x0005 + _0807EDD4 0x0048, 0x0050 + Wait 0x001e + _0807EB44 0x0004 + _0807E930 0x0002 + Wait 0x001e + _0807EB44 0x0006 + _0807E930 0x0003 + Wait 0x001e + Jump script_0800ECAC diff --git a/data/scripts/hyruleTown/script_Carlov.inc b/data/scripts/hyruleTown/script_Carlov.inc new file mode 100644 index 00000000..7192157a --- /dev/null +++ b/data/scripts/hyruleTown/script_Carlov.inc @@ -0,0 +1,77 @@ +@ Hyrule Town Carlov +SCRIPT_START script_Carlov + BeginBlock + _0807E9D4 + _0807EB44 0x0000 + SetEntitySpeed 0x01c0 + DoPostScriptAction 0x000a + EndBlock +script_08014462: + _0807E30C + JumpIfNot script_08014462 + _0807E864 + _0807E930 0x0008 + Wait 0x0020 + _0807E930 0x0002 + MessageFromTarget 0x4202 + MessageFromTarget 0x4203 + WaitUntilTextboxCloses + _0807E3E8 + JumpIfNot script_080144F0 + DoPostScriptAction 0x0001 + Wait 0x008c + DoPostScriptAction 0x0000 + HasRupees 0x000a + JumpIf script_080144A2 + MessageFromTarget 0x4204 + Jump script_080144FC +script_080144A2: + Call sub_0806E250 + JumpIfNot script_080144B8 + MessageFromTarget 0x420b + _0807EB38 + JumpTable script_080144B8, script_080144C0 +script_080144B8: + ClearLocalFlag 0x0093 + Jump script_080144C8 +script_080144C0: + SetLocalFlag 0x0093 +.ifdef USA + SetLocalFlag 0x00d3 +.else +.ifdef DEMO_USA + SetLocalFlag 0x00d3 +.endif +.endif +script_080144C8: + ModRupees 0xfff6 + MessageFromTarget 0x420c + PlaySound SFX_10C + Wait 0x0018 + SetRoomFlag 0x0000 + SetLocalFlag 0x0092 + _0807EEF4 0x0000, 0xffa0 + Call sub_0807DF38 + Jump script_080144FC +script_080144F0: + _0807E930 0x0009 + Wait 0x003c + _0807E930 0x0002 +script_080144FC: + _0807E878 + CheckRoomFlag 0x0000 + JumpIfNot script_08014462 +.ifdef USA + _0807E9DC +.else +.ifdef DEMO_USA + _0807E9DC +.else +.ifdef DEMO_JP + _0807E9DC +.endif +.endif +.endif +SCRIPT_END + .align 2, 0 + diff --git a/data/scripts/hyruleTown/script_Carlov2.inc b/data/scripts/hyruleTown/script_Carlov2.inc new file mode 100644 index 00000000..f97b9799 --- /dev/null +++ b/data/scripts/hyruleTown/script_Carlov2.inc @@ -0,0 +1,214 @@ +@ Hyrule Town Carlov +SCRIPT_START script_Carlov2 + BeginBlock + _0807E9D4 + _0807EB44 0x0004 + SetEntityDirection 0x0000 + DoPostScriptAction 0x000a + EndBlock +script_0801463A: + _0807E30C +.ifdef EU + JumpIf script_080146E2 +.else + JumpIf script_080146A0 +.endif + TestBit 0x00000004 + JumpIf script_0801477A +.ifdef EU + CheckPlayerInRegion 0x0078, 0x0078, 0x0810 + JumpIfNot script_0801463A + CheckRoomFlag 0x0009 + JumpIfNot script_0801463A + _0807E864 + _0807EB28 0x431f + WaitUntilTextboxCloses +script_0801469A: + StartPlayerScript script_PlayerAtCarlov + Wait 0x0010 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000001 + _0807E878 + Jump script_0801463A +script_080146E2: + _0807E864 + _0807E930 0x0008 + Wait 0x0020 + _0807E930 0x0002 + CheckGlobalFlag 0x0059 + JumpIf script_0801472E_2 + CheckRoomFlag 0x0009 + JumpIf script_080146F4 + CheckLocalFlag 0x005c + JumpIfNot script_080146FE + CheckLocalFlag 0x005e + JumpIfNot script_0801474A + CheckRoomFlag 0x0006 + JumpIf script_0801472E + CheckLocalFlag 0x005f + JumpIf script_08014720 + Call sub_08088574 + SetRoomFlag 0x000a + Jump script_0801473C +script_0801472E_2: + MessageFromTargetPos 0x432f, 0x000c + Jump script_080147CE +.else + CheckRoomFlag 0x0004 + JumpIf script_08014672 + Call sub_0808861C + JumpIfNot script_0801463A + CheckLocalFlag 0x005e + JumpIf script_080146A0 + _0807E864 + _0807EB8C + MessageFromTargetPos 0x432b, 0x000c + Jump script_080147CE +script_08014672: +.ifdef DEMO_JP + Call sub_08088658 +.else +.ifdef JP + CheckPlayerInRegion 0x0078, 0x0078, 0x0810 +.else + Call sub_08088658 +.endif +.endif + JumpIfNot script_0801463A + _0807E864 + _0807EB28 0x431f + WaitUntilTextboxCloses + StartPlayerScript script_PlayerAtCarlov + Wait 0x0010 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000001 + _0807E878 + Jump script_0801463A +script_080146A0: + _0807E864 + _0807E930 0x0008 + Wait 0x0010 + _0807EB8C + Wait 0x0010 + _0807E930 0x0002 + CheckGlobalFlag 0x0059 + JumpIfNot script_080146C6 + MessageFromTargetPos 0x432f, 0x000c + Jump script_080147CE +script_080146C6: + CheckRoomFlag 0x0004 + JumpIf script_080146F4 + CheckLocalFlag 0x005e + JumpIfNot script_080146FE + CheckRoomFlag 0x0006 + JumpIf script_0801472E + CheckLocalFlag 0x005f + JumpIf script_08014720 + Call sub_08088574 + SetRoomFlag 0x0009 + Jump script_0801473C +.endif + +script_080146F4: + MessageFromTargetPos 0x431e, 0x000c + Jump script_080147CE +script_080146FE: +.ifdef EU + SetRoomFlag 0x000A +.else + SetRoomFlag 0x0009 +.endif + SetLocalFlag 0x005c +.ifdef EU +script_0801474A: + SetRoomFlag 0x000a +.endif + MessageFromTargetPos 0x4305, 0x000c + WaitUntilTextboxCloses + _0807E3BC 0x0001 + JumpIfNot script_080147C4 + MessageFromTargetPos 0x4306, 0x000c + Jump script_0801473C +script_08014720: +.ifdef EU + SetRoomFlag 0x000A +.else + SetRoomFlag 0x0009 +.endif + Call sub_08088504 + Jump script_0801473C +script_0801472E: +.ifdef EU + SetRoomFlag 0x000A +.else + SetRoomFlag 0x0009 +.endif + ClearRoomFlag 0x0006 + Call sub_08088544 +script_0801473C: + _0807E3E8 + JumpIfNot script_08014770 + WaitUntilTextboxCloses + _0807E3BC 0x0001 + JumpIfNot script_080147C4 + SetRoomFlag 0x0001 + Wait 0x0014 +script_08014754: + CheckRoomFlag 0x0003 + JumpIfNot script_08014754 + ClearRoomFlag 0x0003 + WaitUntilTextboxCloses +.ifdef EU + SetRoomFlag 0x0009 +.else + SetRoomFlag 0x0004 +.endif + MessageFromTargetPos 0x431e, 0x000c + Jump script_080147CE +script_08014770: +.ifdef EU + SetRoomFlag 0x000A +.else + SetRoomFlag 0x0009 +.endif + WaitUntilTextboxCloses + Jump script_080147CE +script_0801477A: + CheckRoomFlag 0x0008 + JumpIf script_080147B4 + CheckRoomFlag 0x0007 + JumpIf script_080147A4 +script_0801478A: + Call sub_08088478 + WaitUntilTextboxCloses + Call sub_080885B0 + WaitPlayerGetItem + _0807E5F8 0x00000008 + Jump script_080147CE +script_080147A4: + _0807E930 0x0009 + Wait 0x003c + _0807E930 0x0002 + Jump script_0801478A +script_080147B4: + _0807E930 0x000a + Wait 0x008c + _0807E930 0x0002 + Jump script_0801478A +script_080147C4: +.ifdef EU + SetRoomFlag 0x000A +.else + SetRoomFlag 0x0009 +.endif + MessageFromTargetPos 0x4307, 0x000c +script_080147CE: + WaitUntilTextboxCloses +.ifdef EU + Wait 0x000F +.else + Wait 0x0004 +.endif + _0807E878 + Jump script_0801463A + .align 2, 0 diff --git a/data/scripts/hyruleTown/script_CarlovChest.inc b/data/scripts/hyruleTown/script_CarlovChest.inc new file mode 100644 index 00000000..bb1fe576 --- /dev/null +++ b/data/scripts/hyruleTown/script_CarlovChest.inc @@ -0,0 +1,32 @@ +@ Hyrule Town Picolyte Bottle object in Carlov Chest room +SCRIPT_START script_CarlovChest + BeginBlock + EndBlock +script_080148F4: + CheckRoomFlag 0x0000 + JumpIfNot script_080148F4 + ClearRoomFlag 0x0000 + Call sub_0806E140 + JumpIfNot script_08014932 + WaitUntilTextboxCloses + _0807E3E8 + JumpIfNot script_08014938 + _0807E864 + _0807E5F8 0x00000001 + WaitForSomething2 0x00000002 + Call sub_0806E1E0 + WaitUntilTextboxCloses + Wait 0x0018 + _0807E878 + Jump script_080148F4 +script_08014932: + WaitUntilTextboxCloses + Jump script_08014938 +script_08014938: + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + Call sub_0806E1FC + Wait 0x001e + Call sub_0807DF50 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_CarlovGame.inc b/data/scripts/hyruleTown/script_CarlovGame.inc new file mode 100644 index 00000000..d13a2afa --- /dev/null +++ b/data/scripts/hyruleTown/script_CarlovGame.inc @@ -0,0 +1,68 @@ +@ Carlov in Chest room +SCRIPT_START script_CarlovGame + BeginBlock + _0807E9D4 + _0807EB44 0x0000 + DoPostScriptAction 0x000a + EndBlock + _0807E864 + Call sub_0807DF38 + Wait 0x0010 + CheckLocalFlag 0x0093 + JumpIf script_080148B6 + MessageFromTargetPos 0x4215, 0x000c + _0807E878 +script_0801482E: + TestBit 0x00000001 + JumpIf script_08014862 + TestBit 0x00000004 + JumpIf script_08014878 + _0807E30C + JumpIfNot script_0801482E + _0807E864 + _0807E930 0x0008 + Wait 0x0020 + _0807E930 0x0002 + MessageFromTargetPos 0x4215, 0x000c + _0807E878 + Jump script_0801482E +script_08014862: + _0807E930 0x0008 + Wait 0x0020 + _0807E930 0x0002 + _0807E5F8 0x00000002 + Jump script_0801482E +script_08014878: + _0807E930 0x0009 + Wait 0x003c + _0807E930 0x0002 + _0807E5F8 0x00000008 + Jump script_0801482E +script_0801488E: + TestBit 0x00000001 + JumpIf script_080148C2 + TestBit 0x00000004 + JumpIf script_080148D8 + _0807E30C + JumpIfNot script_0801488E + _0807E864 + _0807E930 0x0008 + Wait 0x0020 + _0807E930 0x0002 +script_080148B6: + MessageFromTargetPos 0x4216, 0x000c + _0807E878 + Jump script_0801488E +script_080148C2: + _0807E930 0x0008 + Wait 0x0020 + _0807E930 0x0002 + _0807E5F8 0x00000002 + Jump script_0801488E +script_080148D8: + _0807E930 0x0009 + Wait 0x003c + _0807E930 0x0002 + _0807E5F8 0x00000008 + Jump script_0801488E + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_CarlovWon.inc b/data/scripts/hyruleTown/script_CarlovWon.inc new file mode 100644 index 00000000..b8c535ca --- /dev/null +++ b/data/scripts/hyruleTown/script_CarlovWon.inc @@ -0,0 +1,18 @@ +@ Carlov when won +SCRIPT_START script_CarlovWon + BeginBlock + _0807E9D4 + _0807EB44 0x0000 + SetEntitySpeed 0x01c0 + DoPostScriptAction 0x000a + EndBlock + _0807E864 + Call sub_0807DF28 + Call sub_0806E20C + WaitUntilTextboxCloses + Call sub_0806E23C + ClearLocalFlag 0x0093 + ClearLocalFlag 0x0092 + Call sub_0807DF50 + Jump script_080144FC + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_Carpenter.inc b/data/scripts/hyruleTown/script_Carpenter.inc new file mode 100644 index 00000000..2ea50d73 --- /dev/null +++ b/data/scripts/hyruleTown/script_Carpenter.inc @@ -0,0 +1,20 @@ +@ Hyrule Town carpeter next to post +SCRIPT_START script_Carpenter + BeginBlock + _0807EB44 0x0004 + CallWithArg sub_080672B0, 0x00000000 + DoPostScriptAction 0x000a + Call sub_08067314 + EndBlock +script_08010AB4: + CheckEntityInteractType + JumpIfNot script_08010AB4 + _0807E864 + _0807EB74 + CallWithArg sub_080672B0, 0x00000004 + Call sub_08067304 + WaitUntilTextboxCloses + _0807E878 + _0807EB44 0x0004 + CallWithArg sub_080672B0, 0x00000000 + Jump script_08010AB4 diff --git a/data/scripts/hyruleTown/script_CatPerson.inc b/data/scripts/hyruleTown/script_CatPerson.inc new file mode 100644 index 00000000..18c982e8 --- /dev/null +++ b/data/scripts/hyruleTown/script_CatPerson.inc @@ -0,0 +1,19 @@ +@ Hyrule Townsperson house with cat +SCRIPT_START script_CatPerson + BeginBlock + Call sub_08061E70 + DoPostScriptAction 0x000a + _0807EB44 0x0004 + Call sub_08061FD8 + EndBlock +script_0800EC6C: + CheckEntityInteractType + JumpIfNot script_0800EC6C + _0807E864 + _0807EB74 + Call sub_08061FD8 + Call sub_08062048 + WaitUntilTextboxCloses + _0807E878 + Jump script_0800EC6C + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_CatPersonTalkingToDogPerson.inc b/data/scripts/hyruleTown/script_CatPersonTalkingToDogPerson.inc new file mode 100644 index 00000000..4b8a69e0 --- /dev/null +++ b/data/scripts/hyruleTown/script_CatPersonTalkingToDogPerson.inc @@ -0,0 +1,20 @@ +@ Hyrule Town Cat person talking to Dog person +SCRIPT_START script_CatPersonTalkingToDogPerson + BeginBlock + Call sub_08061E70 + DoPostScriptAction 0x000a + _0807EB44 0x0002 + Call sub_08061FD8 + EndBlock +script_0800EC2C: + CheckEntityInteractType + JumpIfNot script_0800EC2C + _0807E864 + _0807EB74 + Call sub_08061FD8 + Call sub_08062048 + WaitUntilTextboxCloses + _0807E878 + _0807EB44 0x0002 + Call sub_08061FD8 + Jump script_0800EC2C diff --git a/data/scripts/hyruleTown/script_Din.inc b/data/scripts/hyruleTown/script_Din.inc new file mode 100644 index 00000000..5e4efe0e --- /dev/null +++ b/data/scripts/hyruleTown/script_Din.inc @@ -0,0 +1,61 @@ +@ Hyrule Town Din +SCRIPT_START script_Din + BeginBlock + Call sub_08064828 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + DoPostScriptAction 0x000a + CheckGlobalFlag 0x0047 + JumpIf script_08011CC2 + EndBlock +script_08011C9A: + EndBlock + BeginBlock + CheckEntityInteractType + JumpIfNot script_08011C9A + EndBlock + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 + MessageNoOverlap 0x4515 + WaitUntilTextboxCloses + _0807E878 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + Jump script_08011C9A +script_08011CC2: + EndBlock + BeginBlock + CheckGlobalFlag 0x002c + JumpIf script_08011C9A + CheckGlobalFlag 0x002d + JumpIf script_08011C9A + CheckEntityInteractType + JumpIfNot script_08011CC2 + EndBlock + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 + MessageNoOverlap 0x3105 + WaitUntilTextboxCloses + _0807E3E8 + JumpIf script_08011D0E + _0807E878 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + Jump script_08011CC2 +script_08011D00: + CheckEntityInteractType + JumpIfNot script_08011D00 + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 +script_08011D0E: + MessageNoOverlap 0x3108 + WaitUntilTextboxCloses + SetGlobalFlag 0x002b + _0807E878 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + Jump script_08011D00 + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_Din2.inc b/data/scripts/hyruleTown/script_Din2.inc new file mode 100644 index 00000000..b7740421 --- /dev/null +++ b/data/scripts/hyruleTown/script_Din2.inc @@ -0,0 +1,50 @@ +@ Hyrule Town Din when one of them has moved in +SCRIPT_START script_Din2 + BeginBlock + Call sub_08064828 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + DoPostScriptAction 0x000a + EndBlock +script_08011E96: + EndBlock + BeginBlock + CheckGlobalFlag 0x002f + JumpIf script_08011C9A + CheckGlobalFlag 0x0030 + JumpIf script_08011C9A + CheckEntityInteractType + JumpIfNot script_08011E96 + EndBlock + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 + CheckGlobalFlag 0x0048 + JumpIf script_08011ECC + MessageNoOverlap 0x4524 + WaitUntilTextboxCloses + Jump script_08011ED8 +script_08011ECC: + MessageNoOverlap 0x3111 + WaitUntilTextboxCloses + _0807E3E8 + JumpIf script_08011EF4 +script_08011ED8: + _0807E878 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + Jump script_08011E96 +script_08011EE6: + CheckEntityInteractType + JumpIfNot script_08011EE6 + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 +script_08011EF4: + MessageNoOverlap 0x3114 + WaitUntilTextboxCloses + SetGlobalFlag 0x002e + _0807E878 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + Jump script_08011EE6 diff --git a/data/scripts/hyruleTown/script_DinAlone.inc b/data/scripts/hyruleTown/script_DinAlone.inc new file mode 100644 index 00000000..0a722830 --- /dev/null +++ b/data/scripts/hyruleTown/script_DinAlone.inc @@ -0,0 +1,20 @@ +@ Din completely alone +SCRIPT_START script_DinAlone + BeginBlock + Call sub_08064828 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + DoPostScriptAction 0x000a + EndBlock +script_080121DE: + CheckEntityInteractType + JumpIfNot script_080121DE + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 + MessageNoOverlap 0x4527 + WaitUntilTextboxCloses + _0807E878 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + Jump script_080121DE diff --git a/data/scripts/hyruleTown/script_DinMovedIn.inc b/data/scripts/hyruleTown/script_DinMovedIn.inc new file mode 100644 index 00000000..e51fe95b --- /dev/null +++ b/data/scripts/hyruleTown/script_DinMovedIn.inc @@ -0,0 +1,59 @@ +@ Hyrule Town Din moved in +SCRIPT_START script_DinMovedIn + BeginBlock + Call sub_08064828 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + DoPostScriptAction 0x000a + EndBlock +script_0801203A: + CheckEntityInteractType + JumpIfNot script_0801203A + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 + CheckLocalFlag 0x0094 + JumpIf script_0801205E + MessageNoOverlap 0x3122 + WaitUntilTextboxCloses + SetLocalFlag 0x0094 + Jump script_0801209E +script_0801205E: + _0807E48C 0x0031 + JumpIfNot script_08012070 + MessageNoOverlap 0x3123 + WaitUntilTextboxCloses + Jump script_0801209E +script_08012070: + MessageNoOverlap 0x3124 + WaitUntilTextboxCloses + _0807E3E8 + JumpIfNot script_0801209E + _0807E48C 0x0020 + JumpIfNot script_0801209A + MessageNoOverlap 0x3125 + WaitUntilTextboxCloses + _0807F034 0x0031 + WaitPlayerGetItem +.ifdef USA + Call sub_0807FC24 +.else +.ifdef DEMO_USA + Call sub_0807FC24 +.else +.ifdef DEMO_JP + Call sub_0807FC24 +.endif +.endif +.endif + Jump script_0801209E +script_0801209A: + MessageNoOverlap 0x3127 +script_0801209E: + WaitUntilTextboxCloses + _0807E878 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + Jump script_0801203A + .align 2, 0 + diff --git a/data/scripts/hyruleTown/script_DogPersonInCatHouse.inc b/data/scripts/hyruleTown/script_DogPersonInCatHouse.inc new file mode 100644 index 00000000..a26f16c7 --- /dev/null +++ b/data/scripts/hyruleTown/script_DogPersonInCatHouse.inc @@ -0,0 +1,27 @@ +@ Hyrule Town Dog person talking to Cat person +SCRIPT_START script_DogPersonInCatHouse + BeginBlock + Call sub_08061E70 + DoPostScriptAction 0x000a + _0807EB44 0x0006 + Call sub_08061FD8 + EndBlock +script_0800EB7C: + CheckEntityInteractType + JumpIfNot script_0800EB7C + _0807E864 + _0807EB74 + Call sub_08061FD8 + Call sub_08062048 + WaitUntilTextboxCloses + _0807E878 + _0807EB44 0x0006 + Call sub_08061FD8 + Jump script_0800EB7C + BeginBlock + Call sub_08061E70 + DoPostScriptAction 0x000a + _0807EB44 0x0002 + Call sub_08061FD8 + EndBlock + Jump script_0800EBF4 diff --git a/data/scripts/hyruleTown/script_DrLeft.inc b/data/scripts/hyruleTown/script_DrLeft.inc new file mode 100644 index 00000000..ae71d84b --- /dev/null +++ b/data/scripts/hyruleTown/script_DrLeft.inc @@ -0,0 +1,27 @@ +@ Dr Left +SCRIPT_START script_DrLeft + BeginBlock + _0807E9D4 + Call sub_0806C09C + DoPostScriptAction 0x000a + _0807E930 0x0000 + _0807EB44 0x0004 + EndBlock +script_0800EABC: + CheckEntityInteractType + JumpIfNot script_0800EABC + BeginBlock + _0807E864 + _0807EB74 + CallWithArg sub_0806C028, 0x00000004 + EndBlock +script_0800EAD4: + Call sub_0806C00C + JumpIfNot script_0800EAD4 + _0807E930 0x0008 + Call sub_0806C038 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + _0807E930 0x0000 + Jump script_0800EABC diff --git a/data/scripts/hyruleTown/script_DrLeftDoor.inc b/data/scripts/hyruleTown/script_DrLeftDoor.inc new file mode 100644 index 00000000..138575a6 --- /dev/null +++ b/data/scripts/hyruleTown/script_DrLeftDoor.inc @@ -0,0 +1,30 @@ +@ Hyrule Town door closed DrLeft +SCRIPT_START script_DrLeftDoor + BeginBlock + DoPostScriptAction 0x0007 + CheckGlobalFlag 0x001f + JumpIf script_0800EF92 + EndBlock +script_0800EF50: + Call sub_080869A4 + JumpIfNot script_0800EF50 + _0807E864 + CheckLocalFlagByBank 0x0200, 0x006d + JumpIf script_0800EF82 + MessageFromTarget 0x4d01 + WaitUntilTextboxCloses + StartPlayerScript script_PlayerAtDrLeftDoor + WaitForSomething2 0x00000001 + Wait 0x000f + _0807E878 + Jump script_0800EF50 +script_0800EF82: + SetGlobalFlag 0x001f + MessageFromTarget 0x4d02 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 +script_0800EF92: + Call sub_0808692C +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_Emma.inc b/data/scripts/hyruleTown/script_Emma.inc new file mode 100644 index 00000000..8e842540 --- /dev/null +++ b/data/scripts/hyruleTown/script_Emma.inc @@ -0,0 +1,35 @@ +@ Hyrule Town Emma +SCRIPT_START script_Emma + BeginBlock + _0807E9D4 + DoPostScriptAction 0x000a + _0807EB44 0x0000 + EndBlock +script_0800E832: + CheckEntityInteractType + JumpIfNot script_0800E832 + _0807E864 + _0807EB44 0x0004 + BeginBlock + MessageFromTarget 0x4501 + CallWithArg sub_0807F854, 0x00010032 + CallWithArg sub_0807F854, 0x000200c8 + CallWithArg sub_0807F854, 0x00030190 + EndBlock + WaitUntilTextboxCloses + _0807EB38 + JumpTable script_0800E910, script_RentSmallRoom, script_RentRegularRoom, script_0800E872 +script_0800E872: @ Rent large room + BeginBlock + MessageFromTarget 0x4505 + CallWithArg sub_0807F854, 0x00010190 + EndBlock + WaitUntilTextboxCloses + HasRupees 0x0190 + JumpIfNot script_EmmaNotEnoughRupees + ModRupees 0xfe70 + SetLocalFlag 0x0091 + MessageFromTarget 0x4508 + WaitUntilTextboxCloses + Call sub_0806C578 +SCRIPT_END diff --git a/data/scripts/hyruleTown/script_EmmaNotEnoughRupees.inc b/data/scripts/hyruleTown/script_EmmaNotEnoughRupees.inc new file mode 100644 index 00000000..c3a59c92 --- /dev/null +++ b/data/scripts/hyruleTown/script_EmmaNotEnoughRupees.inc @@ -0,0 +1,11 @@ +@ Hyrule Town Inn Emma not enough rupees +SCRIPT_START script_EmmaNotEnoughRupees + MessageFromTarget 0x4507 + Jump script_0800E914 +script_0800E910: @ Rent no room + MessageFromTarget 0x4509 +script_0800E914: + WaitUntilTextboxCloses + _0807E878 + _0807EB44 0x0000 + Jump script_0800E832 diff --git a/data/scripts/hyruleTown/script_Farore.inc b/data/scripts/hyruleTown/script_Farore.inc new file mode 100644 index 00000000..6ab0b9c9 --- /dev/null +++ b/data/scripts/hyruleTown/script_Farore.inc @@ -0,0 +1,61 @@ +@ Hyrule Town Farore +SCRIPT_START script_Farore + BeginBlock + Call sub_08064A28 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + DoPostScriptAction 0x000a + CheckGlobalFlag 0x0047 + JumpIf script_08011E1A + EndBlock +script_08011DF2: + EndBlock + BeginBlock + CheckEntityInteractType + JumpIfNot script_08011DF2 + EndBlock + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 + MessageNoOverlap 0x4514 + WaitUntilTextboxCloses + _0807E878 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + Jump script_08011DF2 +script_08011E1A: + EndBlock + BeginBlock + CheckGlobalFlag 0x002b + JumpIf script_08011DF2 + CheckGlobalFlag 0x002c + JumpIf script_08011DF2 + CheckEntityInteractType + JumpIfNot script_08011E1A + EndBlock + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 + MessageNoOverlap 0x3104 + WaitUntilTextboxCloses + _0807E3E8 + JumpIf script_08011E66 + _0807E878 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + Jump script_08011E1A +script_08011E58: + CheckEntityInteractType + JumpIfNot script_08011E58 + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 +script_08011E66: + MessageNoOverlap 0x3107 + WaitUntilTextboxCloses + SetGlobalFlag 0x002d + _0807E878 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + Jump script_08011E58 + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_Farore2.inc b/data/scripts/hyruleTown/script_Farore2.inc new file mode 100644 index 00000000..fcb12dfe --- /dev/null +++ b/data/scripts/hyruleTown/script_Farore2.inc @@ -0,0 +1,52 @@ +@ Hyrule Town Farore when one of them has moved in +SCRIPT_START script_Farore2 + BeginBlock + Call sub_08064A28 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + DoPostScriptAction 0x000a + EndBlock +script_08011FAE: + EndBlock + BeginBlock + CheckGlobalFlag 0x002e + JumpIf script_08011DF2 + CheckGlobalFlag 0x002f + JumpIf script_08011DF2 + CheckEntityInteractType + JumpIfNot script_08011FAE + EndBlock + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 + CheckGlobalFlag 0x0048 + JumpIf script_08011FE4 + MessageNoOverlap 0x4523 + WaitUntilTextboxCloses + Jump script_08011FF0 +script_08011FE4: + MessageNoOverlap 0x3110 + WaitUntilTextboxCloses + _0807E3E8 + JumpIf script_0801200C +script_08011FF0: + _0807E878 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + Jump script_08011FAE +script_08011FFE: + CheckEntityInteractType + JumpIfNot script_08011FFE + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 +script_0801200C: + MessageNoOverlap 0x3113 + WaitUntilTextboxCloses + SetGlobalFlag 0x0030 + _0807E878 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + Jump script_08011FFE + + diff --git a/data/scripts/hyruleTown/script_FaroreAlone.inc b/data/scripts/hyruleTown/script_FaroreAlone.inc new file mode 100644 index 00000000..294915d9 --- /dev/null +++ b/data/scripts/hyruleTown/script_FaroreAlone.inc @@ -0,0 +1,20 @@ +@ Farore completely alone +SCRIPT_START script_FaroreAlone + BeginBlock + Call sub_08064A28 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + DoPostScriptAction 0x000a + EndBlock +script_0801224E: + CheckEntityInteractType + JumpIfNot script_0801224E + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 + MessageNoOverlap 0x4526 + WaitUntilTextboxCloses + _0807E878 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + Jump script_0801224E diff --git a/data/scripts/hyruleTown/script_FaroreMovedIn.inc b/data/scripts/hyruleTown/script_FaroreMovedIn.inc new file mode 100644 index 00000000..1d3e38a0 --- /dev/null +++ b/data/scripts/hyruleTown/script_FaroreMovedIn.inc @@ -0,0 +1,59 @@ +@ Farore moved in +SCRIPT_START script_FaroreMovedIn + BeginBlock + Call sub_08064A28 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + DoPostScriptAction 0x000a + EndBlock +script_08012152: + CheckEntityInteractType + JumpIfNot script_08012152 + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 + CheckLocalFlag 0x0096 + JumpIf script_08012176 + MessageNoOverlap 0x311c + WaitUntilTextboxCloses + SetLocalFlag 0x0096 + Jump script_080121B6 +script_08012176: + _0807E48C 0x0030 + JumpIfNot script_08012188 + MessageNoOverlap 0x311d + WaitUntilTextboxCloses + Jump script_080121B6 +script_08012188: + MessageNoOverlap 0x311e + WaitUntilTextboxCloses + _0807E3E8 + JumpIfNot script_080121B6 + _0807E48C 0x0020 + JumpIfNot script_080121B2 + MessageNoOverlap 0x311f + WaitUntilTextboxCloses + _0807F034 0x0030 + WaitPlayerGetItem +.ifdef USA + Call sub_0807FC24 +.else +.ifdef DEMO_USA + Call sub_0807FC24 +.else +.ifdef DEMO_JP + Call sub_0807FC24 +.endif +.endif +.endif + Jump script_080121B6 +script_080121B2: + MessageNoOverlap 0x3121 +script_080121B6: + WaitUntilTextboxCloses + _0807E878 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + Jump script_08012152 + .align 2, 0 + diff --git a/data/scripts/hyruleTown/script_FirstHouseDoor.inc b/data/scripts/hyruleTown/script_FirstHouseDoor.inc new file mode 100644 index 00000000..b30659fa --- /dev/null +++ b/data/scripts/hyruleTown/script_FirstHouseDoor.inc @@ -0,0 +1,26 @@ +@ Hyrule Town closed door for first empty house +SCRIPT_START script_FirstHouseDoor + BeginBlock + DoPostScriptAction 0x0007 + CheckKinstoneFused 0x001b + JumpIf script_0800EF92 + EndBlock +script_0801091C: + Call sub_080869A4 + JumpIfNot script_0801091C + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + CheckRoomFlag 0x0001 + JumpIf script_08010942 + _0807EB28 0x0b62 + WaitUntilTextboxCloses +script_08010942: + StartPlayerScript script_PlayerAtInnDoor + WaitForSomething2 0x00000001 + Call sub_0807DF50 + _0807E878 + Jump script_0801091C + Call sub_0808692C +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_ForestMinish11.inc b/data/scripts/hyruleTown/script_ForestMinish11.inc new file mode 100644 index 00000000..7cbb90db --- /dev/null +++ b/data/scripts/hyruleTown/script_ForestMinish11.inc @@ -0,0 +1,21 @@ +@ Forest Minish above cafe +SCRIPT_START script_ForestMinish11 + BeginBlock + Call sub_08060090 + DoPostScriptAction 0x000a + EndBlock +script_0800E6BE: + BeginBlock + CheckEntityInteractType + JumpIf script_0800E6D2 + Call sub_08060158 + EndBlock + Jump script_0800E6BE +script_0800E6D2: + EndBlock + _0807E864 + Call sub_0806025C + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_0800E6BE diff --git a/data/scripts/hyruleTown/script_Ghost.inc b/data/scripts/hyruleTown/script_Ghost.inc new file mode 100644 index 00000000..d8e0119a --- /dev/null +++ b/data/scripts/hyruleTown/script_Ghost.inc @@ -0,0 +1,19 @@ +@ Hyrule Town Ghost +SCRIPT_START script_Ghost + BeginBlock + DoPostScriptAction 0x0007 + _0807E9D4 + DoPostScriptAction 0x000a + _0807EB44 0x0006 + DoPostScriptAction 0x0000 + EndBlock +script_0801027A: + CheckEntityInteractType + JumpIfNot script_0801027A + _0807E864 + _0807EB74 + Call sub_08065F64 + WaitUntilTextboxCloses + _0807E878 + Jump script_0801027A + .align 2 diff --git a/data/scripts/hyruleTown/script_GormanCats.inc b/data/scripts/hyruleTown/script_GormanCats.inc new file mode 100644 index 00000000..c8d96d9e --- /dev/null +++ b/data/scripts/hyruleTown/script_GormanCats.inc @@ -0,0 +1,38 @@ +@ Gorman at third house +SCRIPT_START script_GormanCats + BeginBlock + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x000a + _0807E9D4 + SetEntitySpeed 0x0040 + EndBlock +script_0800FE5A: + Call sub_08069AA8 +script_0800FE60: + Call sub_080699AC +script_0800FE66: + EndBlock + BeginBlock + Call sub_08069ACC + JumpIf script_0800FE7E + _0807EE30 + JumpIfNot script_0800FE66 + Jump script_0800FE5A +script_0800FE7E: + EndBlock + _0807EB44 0x0002 + DoPostScriptAction 0x0000 + Wait 0x001e + _0807EB44 0x0006 + DoPostScriptAction 0x0000 + Wait 0x001e + _0807EB44 0x0002 + DoPostScriptAction 0x0000 + Wait 0x001e + _0807EB44 0x0006 + DoPostScriptAction 0x0000 + Wait 0x003c + Call sub_08069A84 + Jump script_0800FE60 + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_GormanFirstHouse.inc b/data/scripts/hyruleTown/script_GormanFirstHouse.inc new file mode 100644 index 00000000..013e6afe --- /dev/null +++ b/data/scripts/hyruleTown/script_GormanFirstHouse.inc @@ -0,0 +1,19 @@ +@ Hyrule Town Gorman at first house +@ and at second house when ready to sell +SCRIPT_START script_GormanFirstHouse + BeginBlock + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x000a + _0807E9D4 + EndBlock +script_0800FDB2: + CheckEntityInteractType + JumpIfNot script_0800FDB2 + _0807E864 + _0807EB74 + Call sub_08069888 + WaitUntilTextboxCloses + _0807E878 + Jump script_0800FDB2 + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_GormanSecondHouse.inc b/data/scripts/hyruleTown/script_GormanSecondHouse.inc new file mode 100644 index 00000000..f75d0452 --- /dev/null +++ b/data/scripts/hyruleTown/script_GormanSecondHouse.inc @@ -0,0 +1,38 @@ +@ Hyrule Town Gorman at second house +SCRIPT_START script_GormanSecondHouse + BeginBlock + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x000a + _0807E9D4 + SetEntitySpeed 0x0040 + EndBlock +script_0800FDE2: + Call sub_08069A60 +script_0800FDE8: + Call sub_0806991C +script_0800FDEE: + EndBlock + BeginBlock + Call sub_08069ACC + JumpIf script_0800FE06 + _0807EE30 + JumpIfNot script_0800FDEE + Jump script_0800FDE2 +script_0800FE06: + EndBlock + _0807EB44 0x0002 + DoPostScriptAction 0x0000 + Wait 0x001e + _0807EB44 0x0006 + DoPostScriptAction 0x0000 + Wait 0x001e + _0807EB44 0x0002 + DoPostScriptAction 0x0000 + Wait 0x001e + _0807EB44 0x0006 + DoPostScriptAction 0x0000 + Wait 0x003c + Call sub_08069A3C + Jump script_0800FDE8 + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_GoronMerchant.inc b/data/scripts/hyruleTown/script_GoronMerchant.inc new file mode 100644 index 00000000..014193bf --- /dev/null +++ b/data/scripts/hyruleTown/script_GoronMerchant.inc @@ -0,0 +1,87 @@ +@ Hyrule Town Goron Merchant +SCRIPT_START script_GoronMerchant + BeginBlock + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x000a + DoPostScriptAction 0x0007 + _0807E9D4 + Call sub_0807F348 + Call sub_08069684 + EndBlock +script_080107F2: + EndBlock + BeginBlock + CheckPlayerInRegion2 0x3030 + JumpIfNot script_080107F2 + Call sub_080696B0 +script_08010804: + EndBlock + BeginBlock + CheckPlayerInRegion2 0x3030 + JumpIfNot script_080107F2 + HasRoomItemForSale + JumpIf script_08010860 + CheckEntityInteractType + JumpIfNot script_08010804 + EndBlock + _0807E864 + Call sub_0807DF28 + _0807EB74 + CheckGlobalFlag 0x0042 + JumpIfNot script_08010858 + CheckGlobalFlag 0x0043 + JumpIfNot script_08010858 + CheckGlobalFlag 0x0044 + JumpIfNot script_08010858 + CheckGlobalFlag 0x0041 + JumpIfNot script_08010850 + MessageNoOverlap 0x3f39 + Jump script_080108BA +script_08010850: + MessageNoOverlap 0x2c1b + Jump script_080108BA +script_08010858: + MessageNoOverlap 0x2c1a + Jump script_080108BA +script_08010860: + EndBlock + _0807E864 + Call sub_0807DF38 + _0807EB74 + Call sub_08069660 + WaitUntilTextboxCloses + _0807E3E8 + JumpIfNot script_080108B2 + Call GoronMerchant_TryToBuyKinstone + JumpIfNot script_080108B2 + WaitPlayerGetItem + WaitUntilTextboxCloses + _0807EB8C + CheckGlobalFlag 0x0042 + JumpIfNot script_080108AA + CheckGlobalFlag 0x0043 + JumpIfNot script_080108AA + CheckGlobalFlag 0x0044 + JumpIfNot script_080108AA + MessageNoOverlap 0x2c21 + Jump script_080108B2 +script_080108AA: +.ifdef USA + SetLocalFlag 0x00fa +.else +.ifdef DEMO_USA + SetLocalFlag 0x00fa +.endif +.endif + MessageNoOverlap 0x2c20 +script_080108B2: + WaitUntilTextboxCloses + Call sub_0807F83C +script_080108BA: + WaitUntilTextboxCloses + Call sub_0807DF50 + _0807E878 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + Jump script_08010804 diff --git a/data/scripts/hyruleTown/script_GuardEast.inc b/data/scripts/hyruleTown/script_GuardEast.inc new file mode 100644 index 00000000..9bf0316a --- /dev/null +++ b/data/scripts/hyruleTown/script_GuardEast.inc @@ -0,0 +1,29 @@ +@ Hyrule Town Guard east +SCRIPT_START script_GuardEast + BeginBlock + CheckInventory1 0x0012 + JumpIf script_0800FF6A + _0807EB44 0x0006 + _0807E9D4 + CallWithArg sub_0807F3D8, 0x00000008 + EndBlock +script_0800FF34: + EndBlock + BeginBlock + DoPostScriptAction 0x000b + Call sub_08064198 + CheckEntityInteractType + JumpIfNot script_0800FF34 + EndBlock + _0807E864 + _0807EB74 + CallWithArg sub_0807F3D8, 0x00000008 + Call sub_08064428 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_0800FF34 +script_0800FF6A: + DoPostScriptAction 0x0008 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/hyruleTown/script_GuardLibrary.inc b/data/scripts/hyruleTown/script_GuardLibrary.inc new file mode 100644 index 00000000..7944844b --- /dev/null +++ b/data/scripts/hyruleTown/script_GuardLibrary.inc @@ -0,0 +1,17 @@ +@ Hyrule Town Guard closing Library +SCRIPT_START script_GuardLibrary + BeginBlock + _0807E9D4 + _0807EB44 0x0004 + DoPostScriptAction 0x000a + CallWithArg sub_0807F3D8, 0x00000000 + EndBlock +script_08010410: + CheckEntityInteractType + JumpIfNot script_08010410 + _0807E864 + _0807EB74 + Call sub_08064428 + WaitUntilTextboxCloses + _0807E878 + Jump script_08010410 diff --git a/data/scripts/hyruleTown/script_GuardNorth.inc b/data/scripts/hyruleTown/script_GuardNorth.inc new file mode 100644 index 00000000..81e2d9af --- /dev/null +++ b/data/scripts/hyruleTown/script_GuardNorth.inc @@ -0,0 +1,29 @@ +@ Hyrule Town Guard north +SCRIPT_START script_GuardNorth + BeginBlock + CheckInventory1 0x0012 + JumpIf script_0800FF0E + _0807EB44 0x0006 + _0807E9D4 + CallWithArg sub_0807F3D8, 0x00000008 + EndBlock +script_0800FED8: + EndBlock + BeginBlock + DoPostScriptAction 0x000b + Call sub_080642B8 + CheckEntityInteractType + JumpIfNot script_0800FED8 + EndBlock + _0807E864 + _0807EB74 + CallWithArg sub_0807F3D8, 0x00000008 + Call sub_08064428 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_0800FED8 +script_0800FF0E: + DoPostScriptAction 0x0008 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/hyruleTown/script_GuardPatrolling.inc b/data/scripts/hyruleTown/script_GuardPatrolling.inc new file mode 100644 index 00000000..df0a7b81 --- /dev/null +++ b/data/scripts/hyruleTown/script_GuardPatrolling.inc @@ -0,0 +1,13 @@ +@ Hyrule Town Guard patrolling +SCRIPT_START script_GuardPatrolling + BeginBlock + _0807E9D4 + _0807EB44 0x0004 + DoPostScriptAction 0x000a + CallWithArg sub_0807F3D8, 0x00000004 + EndBlock +script_080103E8: + Wait 0x003c + Call sub_0806407C + Jump script_080103E8 + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_GuardWest.inc b/data/scripts/hyruleTown/script_GuardWest.inc new file mode 100644 index 00000000..3792ad68 --- /dev/null +++ b/data/scripts/hyruleTown/script_GuardWest.inc @@ -0,0 +1,161 @@ +@ Hyrule Town Guard west +SCRIPT_START script_GuardWest + BeginBlock + _0807EB44 0x0002 + _0807E9D4 + CallWithArg sub_0807F3D8, 0x00000008 + Call sub_080644A4 +.ifdef JP + ClearLocalFlag 0x00c4 +.else +.ifdef DEMO_JP + ClearLocalFlag 0x00c4 @ TODO deduplicate +.else +.ifndef EU + ClearLocalFlag 0x00c7 +.endif +.endif +.endif + EndBlock +script_0800FF92: + EndBlock + BeginBlock + DoPostScriptAction 0x000a +.ifdef JP + CheckLocalFlag 0x00cb +.else +.ifdef EU + CheckLocalFlag 0x00cb +.else +.ifdef DEMO_JP + CheckLocalFlag 0x00cb @ TODO deduplicate +.else + CheckLocalFlag 0x00ce +.endif +.endif +.endif + JumpIf script_0800FFCC + DoPostScriptAction 0x000b + Call sub_08064198 +.ifdef JP + CheckLocalFlag 0x00c4 +.else +.ifdef EU + CheckLocalFlag 0x00c4 +.else +.ifdef DEMO_JP + CheckLocalFlag 0x00c4 @ TODO deduplicate +.else + CheckLocalFlag 0x00c7 +.endif +.endif +.endif + JumpIfNot script_0800FFCC + Call sub_08064488 + CheckPlayerInRegion2 0x4040 + JumpIfNot script_0800FFCC + Call sub_08064470 + JumpIf script_08010014 +script_0800FFCC: + CheckEntityInteractType + JumpIfNot script_0800FF92 + EndBlock +.ifdef JP + SetLocalFlag 0x00c4 +.else +.ifdef EU + SetLocalFlag 0x00c4 +.else +.ifdef DEMO_JP + SetLocalFlag 0x00c4 @ TODO deduplicate +.else + SetLocalFlag 0x00c7 +.endif +.endif +.endif + _0807E864 + _0807EB74 + CallWithArg sub_0807F3D8, 0x00000008 + CheckInventory1 0x0048 + JumpIf script_0800FFF8 + MessageNoOverlap 0x3401 + WaitUntilTextboxCloses + Jump script_08010060 +script_0800FFF8: +.ifdef JP + CheckLocalFlag 0x00cb +.else +.ifdef EU + CheckLocalFlag 0x00cb +.else +.ifdef DEMO_JP + CheckLocalFlag 0x00cb @ TODO deduplicate +.else + CheckLocalFlag 0x00ce +.endif +.endif +.endif + JumpIfNot script_0801000A + MessageNoOverlap 0x340b + WaitUntilTextboxCloses + Jump script_08010060 +script_0801000A: + MessageNoOverlap 0x3402 + WaitUntilTextboxCloses + Jump script_08010060 +script_08010014: + EndBlock + _0807E888 + Call sub_0807F594 + _0807E864 + _0807EB74 + CallWithArg sub_0807F3D8, 0x00000008 + PlaySound SFX_TASK_COMPLETE + MessageNoOverlap 0x340a + WaitUntilTextboxCloses + _0807EB44 0x0004 + CallWithArg sub_0807F3D8, 0x0000000c + SetEntitySpeed 0x0100 + _0807EDD4 0x0018, 0x0108 + _0807EB44 0x0002 + CallWithArg sub_0807F3D8, 0x00000008 +.ifdef JP + SetLocalFlag 0x00cb +.else +.ifdef EU + SetLocalFlag 0x00cb +.else +.ifdef DEMO_JP + SetLocalFlag 0x00cb @ TODO deduplicate +.else + SetLocalFlag 0x00ce +.endif +.endif +.endif +script_08010060: + Call sub_080644A4 + CallWithArg sub_0807F5B0, 0x0000000a + _0807E878 + Jump script_0800FF92 + .2byte 0x0000 + BeginBlock + _0807E9D4 + DoPostScriptAction 0x000a + _0807EB44 0x0004 + CallWithArg sub_080672B0, 0x00000000 + EndBlock +script_08010090: + CheckEntityInteractType + JumpIfNot script_08010090 + _0807E864 + _0807EB74 + CallWithArg sub_080672B0, 0x00000004 + MessageFromTarget 0x0a01 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + _0807EB44 0x0004 + CallWithArg sub_080672B0, 0x00000000 + Jump script_08010090 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/hyruleTown/script_HurdyGurdyMan.inc b/data/scripts/hyruleTown/script_HurdyGurdyMan.inc new file mode 100644 index 00000000..0c01f429 --- /dev/null +++ b/data/scripts/hyruleTown/script_HurdyGurdyMan.inc @@ -0,0 +1,20 @@ +@ Hyrule Town Cafe HurdyGurdyMan +SCRIPT_START script_HurdyGurdyMan + BeginBlock + DoPostScriptAction 0x000a + _0807EB44 0x0004 + _0807E930 0x0008 + Call sub_0806E440 + EndBlock +script_08010BCA: + CheckEntityInteractType + JumpIfNot script_08010BCA + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 + Call sub_0806E418 + WaitUntilTextboxCloses + _0807E878 + _0807E930 0x0008 + Jump script_08010BCA + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_InnDoor.inc b/data/scripts/hyruleTown/script_InnDoor.inc new file mode 100644 index 00000000..b88ef151 --- /dev/null +++ b/data/scripts/hyruleTown/script_InnDoor.inc @@ -0,0 +1,17 @@ +@ Hyrule Town closed door for Inn +SCRIPT_START script_InnDoor + CheckPlayerInRegion2 0x0808 + JumpIfNot script_InnDoor + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + StartPlayerScript script_PlayerAtInnDoor + WaitForSomething2 0x00000001 + CheckRoomFlag 0x0001 + JumpIf script_08010900 + _0807EB28 0x0b63 + WaitUntilTextboxCloses +script_08010900: + Call sub_0807DF50 + _0807E878 + Jump script_InnDoor diff --git a/data/scripts/hyruleTown/script_Kid1.inc b/data/scripts/hyruleTown/script_Kid1.inc new file mode 100644 index 00000000..dffebca2 --- /dev/null +++ b/data/scripts/hyruleTown/script_Kid1.inc @@ -0,0 +1,27 @@ +@ Hyrule Town Kid standing outside school garden +SCRIPT_START script_Kid1 + BeginBlock + DoPostScriptAction 0x0000 + Call sub_08062A48 + DoPostScriptAction 0x000a + EndBlock +script_080102A6: + CheckEntityInteractType + JumpIfNot script_080102A6 + CheckRoomFlag 0x0009 + JumpIfNot script_080102CC + _0807E864 + _0807EB74 + Call sub_0806265C + WaitUntilTextboxCloses + _0807E878 + Call sub_08062500 + Jump script_080102A6 +script_080102CC: + _0807E864 + _0807EB74 + Call sub_0806265C + WaitUntilTextboxCloses + _0807E878 + Jump script_080102A6 + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_Kid2.inc b/data/scripts/hyruleTown/script_Kid2.inc new file mode 100644 index 00000000..c5dc472e --- /dev/null +++ b/data/scripts/hyruleTown/script_Kid2.inc @@ -0,0 +1,17 @@ +@ Hyrule Town Kid +SCRIPT_START script_Kid2 + BeginBlock + DoPostScriptAction 0x0000 + Call sub_08062A48 + DoPostScriptAction 0x000a + EndBlock +script_080102F2: + CheckEntityInteractType + JumpIfNot script_080102F2 + _0807E864 + _0807EB74 + Call sub_0806265C + WaitUntilTextboxCloses + _0807E878 + Jump script_080102F2 + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_Kid3.inc b/data/scripts/hyruleTown/script_Kid3.inc new file mode 100644 index 00000000..5147a331 --- /dev/null +++ b/data/scripts/hyruleTown/script_Kid3.inc @@ -0,0 +1,46 @@ +@ Hyrule Town Kid running in school garden +SCRIPT_START script_Kid3 + BeginBlock + DoPostScriptAction 0x0000 + EndBlock +script_08010314: + EndBlock + Call sub_08062698 + Call sub_080626AC + CallWithArg sub_0807F0EC, 0x00000009 + JumpTable script_08010340, script_0801034A, script_08010354, script_0801035E, script_08010368, script_08010372, script_0801037C, script_08010386, script_08010390 +script_08010340: + _0807EE04 0x0358, 0x0078 + Jump script_08010396 +script_0801034A: + _0807EE04 0x0390, 0x0078 + Jump script_08010396 +script_08010354: + _0807EE04 0x03c8, 0x0078 + Jump script_08010396 +script_0801035E: + _0807EE04 0x0358, 0x0098 + Jump script_08010396 +script_08010368: + _0807EE04 0x0390, 0x0098 + Jump script_08010396 +script_08010372: + _0807EE04 0x03c8, 0x0098 + Jump script_08010396 +script_0801037C: + _0807EE04 0x0358, 0x00b8 + Jump script_08010396 +script_08010386: + _0807EE04 0x0390, 0x00b8 + Jump script_08010396 +script_08010390: + _0807EE04 0x03c8, 0x00b8 +script_08010396: + EndBlock + BeginBlock + Call sub_080626C0 + JumpIf script_08010314 + _0807EE30 + JumpIfNot script_08010396 + Jump script_08010314 + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_Kid4.inc b/data/scripts/hyruleTown/script_Kid4.inc new file mode 100644 index 00000000..da188edd --- /dev/null +++ b/data/scripts/hyruleTown/script_Kid4.inc @@ -0,0 +1,11 @@ +@ Hyrule Town Kid pacing around in school garden +SCRIPT_START script_Kid4 + BeginBlock + DoPostScriptAction 0x0000 + Call sub_08062A48 + DoPostScriptAction 0x000a + EndBlock +script_080103C2: + Wait 0x001e + Call sub_08062948 + Jump script_080103C2 diff --git a/data/scripts/hyruleTown/script_Kid5.inc b/data/scripts/hyruleTown/script_Kid5.inc new file mode 100644 index 00000000..84453c61 --- /dev/null +++ b/data/scripts/hyruleTown/script_Kid5.inc @@ -0,0 +1,16 @@ +@ Hyrule Town Kid in school +SCRIPT_START script_Kid5 + BeginBlock + _0807E930 0x0008 +script_08010622: + Call sub_08062A48 + DoPostScriptAction 0x000a + EndBlock +script_0801062E: + CheckEntityInteractType + JumpIfNot script_0801062E + _0807E864 + Call sub_0806265C + WaitUntilTextboxCloses + _0807E878 + Jump script_0801062E diff --git a/data/scripts/hyruleTown/script_Kid6.inc b/data/scripts/hyruleTown/script_Kid6.inc new file mode 100644 index 00000000..58553883 --- /dev/null +++ b/data/scripts/hyruleTown/script_Kid6.inc @@ -0,0 +1,6 @@ +@ Hyrule Town Kid in school 2? +SCRIPT_START script_Kid6 + BeginBlock + _0807E930 0x0009 + Jump script_08010622 + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_Kid7.inc b/data/scripts/hyruleTown/script_Kid7.inc new file mode 100644 index 00000000..599ee869 --- /dev/null +++ b/data/scripts/hyruleTown/script_Kid7.inc @@ -0,0 +1,14 @@ +@ Hyrule Town Kid in school 3? +SCRIPT_START script_Kid7 + BeginBlock + _0807E930 0x000b + Jump script_08010622 + .2byte 0x0000 + BeginBlock + _0807E930 0x000c + Jump script_08010622 + .2byte 0x0000 + BeginBlock + _0807E930 0x000d + Jump script_08010622 + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_KidInn.inc b/data/scripts/hyruleTown/script_KidInn.inc new file mode 100644 index 00000000..f3de7eb9 --- /dev/null +++ b/data/scripts/hyruleTown/script_KidInn.inc @@ -0,0 +1,32 @@ +@ Hyrule Town Kid in the Inn on the 2nd floor +SCRIPT_START script_KidInn + BeginBlock + DoPostScriptAction 0x000a + Call sub_08062A48 + DoPostScriptAction 0x0000 +script_0800D5AC: + EndBlock + Call sub_08062698 + Call sub_080626AC + CallWithArg sub_0807F0EC, 0x00000004 + JumpTable script_0800D5CE, script_0800D5D8, script_0800D5E2, script_0800D5EC +script_0800D5CE: + _0807EE04 0x0038, 0x0098 + Jump script_0800D5F2 +script_0800D5D8: + _0807EE04 0x0058, 0x0098 + Jump script_0800D5F2 +script_0800D5E2: + _0807EE04 0x0038, 0x00c8 + Jump script_0800D5F2 +script_0800D5EC: + _0807EE04 0x0058, 0x00c8 +script_0800D5F2: + EndBlock + BeginBlock + Call sub_080626C0 + JumpIf script_0800D5AC + _0807EE30 + JumpIfNot script_0800D5F2 + Jump script_0800D5AC + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_Librari.inc b/data/scripts/hyruleTown/script_Librari.inc new file mode 100644 index 00000000..06bae1ad --- /dev/null +++ b/data/scripts/hyruleTown/script_Librari.inc @@ -0,0 +1,42 @@ +@ Librari +SCRIPT_START script_Librari + BeginBlock + DoPostScriptAction 0x000a + _0807EB44 0x0004 + _0807E930 0x0000 + EndBlock +script_0800E974: + CheckEntityInteractType + JumpIfNot script_0800E974 + _0807E864 + _0807E930 0x0008 + Call sub_0807F2D4 + _0807E930 0x0009 + Call sub_0806B260 + JumpIfNot script_0800E9E4 + WaitUntilTextboxCloses + DoPostScriptAction 0x000b + StartPlayerScript script_PlayerStepOnTrap + WaitForSomething2 0x00000001 + DoPostScriptAction 0x000a + MessageFromTarget 0x4a24 + WaitUntilTextboxCloses + _0807E930 0x000a + Wait 0x0014 + MessageFromTarget 0x4a25 + WaitUntilTextboxCloses + _0807E930 0x0000 + StartPlayerScript script_PlayerActivatedTrapCard + WaitForSomething2 0x00000001 + SetLocalFlag 0x0074 + PlaySound SFX_SECRET + Wait 0x00f0 + MessageFromTarget 0x4a26 + WaitUntilTextboxCloses + SetLocalFlag 0x0075 +script_0800E9E4: + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + _0807E930 0x0000 + Jump script_0800E974 diff --git a/data/scripts/hyruleTown/script_LibrariLater.inc b/data/scripts/hyruleTown/script_LibrariLater.inc new file mode 100644 index 00000000..f6d3c71c --- /dev/null +++ b/data/scripts/hyruleTown/script_LibrariLater.inc @@ -0,0 +1,35 @@ +@ Library if you talk to him later? +SCRIPT_START script_LibrariLater + BeginBlock + DoPostScriptAction 0x000a + _0807EB44 0x0004 + _0807E930 0x0000 + EndBlock +script_08012440: + CheckEntityInteractType + JumpIfNot script_08012440 + _0807E864 + _0807E930 0x0008 + Call sub_0807F2D4 + _0807E930 0x0009 + Call sub_0806B2B4 + WaitUntilTextboxCloses + CheckLocalFlag 0x00b3 + JumpIf script_08012474 + SetLocalFlag 0x00b3 + _0807F034 0x0062 + WaitPlayerGetItem +.ifdef USA + SetLocalFlag 0x00d0 +.else +.ifdef DEMO_USA + SetLocalFlag 0x00d0 +.endif +.endif +script_08012474: + _0807E878 + _0807E930 0x0000 + Jump script_08012440 + .align 2, 0 + + diff --git a/data/scripts/hyruleTown/script_LibrarianLeft.inc b/data/scripts/hyruleTown/script_LibrarianLeft.inc new file mode 100644 index 00000000..89861977 --- /dev/null +++ b/data/scripts/hyruleTown/script_LibrarianLeft.inc @@ -0,0 +1,18 @@ +@ Librarian left +SCRIPT_START script_LibrarianLeft + BeginBlock + _0807E9D4 + _0807EB44 0x0004 + DoPostScriptAction 0x000a + _0807E930 0x0000 + EndBlock +script_08008BA2: + _0807E944 + _0807E864 + _0807E930 0x0004 + Call sub_0807F2D4 + MessageFromTarget 0x4912 + WaitUntilTextboxCloses + _0807E930 0x0008 + _0807E878 + Jump script_08008BA2 diff --git a/data/scripts/hyruleTown/script_LibrarianLeftWithQuest.inc b/data/scripts/hyruleTown/script_LibrarianLeftWithQuest.inc new file mode 100644 index 00000000..f606616c --- /dev/null +++ b/data/scripts/hyruleTown/script_LibrarianLeftWithQuest.inc @@ -0,0 +1,49 @@ +@ Librarian left with book quest +SCRIPT_START script_LibrarianLeftWithQuest + BeginBlock + _0807E9D4 + _0807EB44 0x0004 + DoPostScriptAction 0x000a + _0807E930 0x0000 +.ifdef EU + SetGlobalFlag 0x0061 +.endif + EndBlock +script_08008BD2: + _0807E944 + _0807E864 +.ifndef EU + SetGlobalFlag 0x0061 +.endif + _0807E930 0x0004 + Call sub_0807F2D4 + WaitUntilTextboxCloses + Call sub_0806BA34 + JumpIfNot script_08008C54 + WaitUntilTextboxCloses + CallWithArg sub_0806BB1C, 0x00000000 + Call sub_0807F2D4 + CallWithArg sub_0806BB1C, 0x00000001 + Call sub_0806BB7C + JumpIfNot script_08008C5C + MessageNoOverlap 0x490c + WaitUntilTextboxCloses + LoadRoomEntityList gUnk_080D6784 + WaitForSomething 0x00000001 + WaitForSomething 0x00000004 + Wait 0x000f + PlaySound SFX_SECRET + _0807E930 0x0004 + Call sub_0807F2D4 + MessageNoOverlap 0x4913 + WaitUntilTextboxCloses + _0807E930 0x0008 + Call sub_0807F2D4 + Jump script_08008C5C +script_08008C54: + _0807E930 0x0008 + Wait 0x000f +script_08008C5C: + WaitUntilTextboxCloses + _0807E878 + Jump script_08008BD2 diff --git a/data/scripts/hyruleTown/script_LibrarianRight.inc b/data/scripts/hyruleTown/script_LibrarianRight.inc new file mode 100644 index 00000000..b5af0dfc --- /dev/null +++ b/data/scripts/hyruleTown/script_LibrarianRight.inc @@ -0,0 +1,19 @@ +@ Librarian right +SCRIPT_START script_LibrarianRight + BeginBlock + _0807E9D4 + _0807EB44 0x0004 + _0807E930 0x0000 + DoPostScriptAction 0x000a + EndBlock +script_08008B6E: + _0807E944 + _0807E864 + _0807E930 0x0004 + Call sub_0807F2D4 + Call sub_0806BBB0 + WaitUntilTextboxCloses + _0807E930 0x0008 + _0807E878 + Jump script_08008B6E + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_LibraryVisitor.inc b/data/scripts/hyruleTown/script_LibraryVisitor.inc new file mode 100644 index 00000000..1a5015fe --- /dev/null +++ b/data/scripts/hyruleTown/script_LibraryVisitor.inc @@ -0,0 +1,18 @@ +@ Library Townsperson +SCRIPT_START script_LibraryVisitor + BeginBlock + Call sub_08061FD8 + Call sub_08061E70 + DoPostScriptAction 0x000a + EndBlock +script_08008DA0: + CheckEntityInteractType + JumpIfNot script_08008DA0 + _0807E864 + _0807EB74 + Call sub_08061FD8 + Call sub_08062048 + WaitUntilTextboxCloses + _0807E878 + Jump script_08008DA0 + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_MaidTown.inc b/data/scripts/hyruleTown/script_MaidTown.inc new file mode 100644 index 00000000..c75426d4 --- /dev/null +++ b/data/scripts/hyruleTown/script_MaidTown.inc @@ -0,0 +1,14 @@ +@ Hyrule Town Maid +SCRIPT_START script_MaidTown + BeginBlock + _0807E9D4 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x000a + SetIntVariable sub_08064688 + Call sub_08064644 + EndBlock +script_08010446: + Wait 0x003c + Call sub_080646A4 + Jump script_08010446 diff --git a/data/scripts/hyruleTown/script_MalonHyruleTown.inc b/data/scripts/hyruleTown/script_MalonHyruleTown.inc new file mode 100644 index 00000000..3e73e037 --- /dev/null +++ b/data/scripts/hyruleTown/script_MalonHyruleTown.inc @@ -0,0 +1,44 @@ +@ Hyrule Town Malon +SCRIPT_START script_MalonHyruleTown + BeginBlock + DoPostScriptAction 0x000a + DoPostScriptAction 0x0007 + _0807EB44 0x0004 + _0807E930 0x000e + EndBlock + Call sub_08065914 +script_08014F4A: + CheckEntityInteractType + JumpIfNot script_08014F4A + _0807E864 + Call sub_0807DF28 + _0807EB74 + DoPostScriptAction 0x0000 + BeginBlock + MessageNoOverlap 0x3b0b + CallWithArg sub_0807F854, 0x00010064 + EndBlock + WaitUntilTextboxCloses + _0807E3E8 + JumpIfNot script_08014FA6 + HasRupees 0x0064 + JumpIfNot script_08014F9A + _0807E48C 0x0020 + JumpIfNot script_08014FA2 + ModRupees 0xff9c + _0807F034 0x0022 + WaitPlayerGetItem + MessageNoOverlap 0x3b11 + Jump script_08014FA6 +script_08014F9A: + MessageNoOverlap 0x3b0e + Jump script_08014FA6 +script_08014FA2: + MessageNoOverlap 0x3b0f +script_08014FA6: + WaitUntilTextboxCloses + Call sub_0807DF50 + _0807E878 + _0807EB44 0x0004 + _0807E930 0x000e + Jump script_08014F4A diff --git a/data/scripts/hyruleTown/script_Mama.inc b/data/scripts/hyruleTown/script_Mama.inc new file mode 100644 index 00000000..c7a31761 --- /dev/null +++ b/data/scripts/hyruleTown/script_Mama.inc @@ -0,0 +1,23 @@ +@ Hyrule Town Mama +SCRIPT_START script_Mama + BeginBlock + Call sub_0806C4F8 + DoPostScriptAction 0x000a + _0807EB44 0x0000 + EndBlock +script_0800E932: + CheckEntityInteractType + JumpIfNot script_0800E932 + _0807E864 + _0807EB44 0x0004 + _0807E930 0x0004 +script_0800E942: + Call sub_0806C4A8 + JumpIfNot script_0800E942 + Call sub_0806C4DC + WaitUntilTextboxCloses + _0807E878 + _0807EB44 0x0000 + _0807E930 0x0000 + Jump script_0800E932 + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_Marcy.inc b/data/scripts/hyruleTown/script_Marcy.inc new file mode 100644 index 00000000..5cfcb3a4 --- /dev/null +++ b/data/scripts/hyruleTown/script_Marcy.inc @@ -0,0 +1,34 @@ +@ Hyrule Town Marcy selling the newsletter +SCRIPT_START script_Marcy + BeginBlock + DoPostScriptAction 0x0007 + _0807E9D4 + DoPostScriptAction 0x000a + _0807E930 0x0000 + EndBlock +script_08010746: + CheckEntityInteractType + JumpIfNot script_08010746 + _0807E864 + _0807E930 0x0004 + BeginBlock + Call sub_08062D18 + JumpIfNot script_08010786 + EndBlock + WaitUntilTextboxCloses + _0807E3E8 + JumpIfNot script_08010786 + HasRupees 0x00c8 + JumpIf script_08010778 + MessageNoOverlap 0x4008 + Jump script_08010786 +script_08010778: + ModRupees 0xff38 + Call sub_08062E14 + MessageNoOverlap 0x4007 +script_08010786: + EndBlock + WaitUntilTextboxCloses + _0807E878 + _0807E930 0x0008 + Jump script_08010746 diff --git a/data/scripts/hyruleTown/script_Mayor.inc b/data/scripts/hyruleTown/script_Mayor.inc new file mode 100644 index 00000000..53885de4 --- /dev/null +++ b/data/scripts/hyruleTown/script_Mayor.inc @@ -0,0 +1,23 @@ +@ Hyrule Town Mayor Hagen +SCRIPT_START script_Mayor + BeginBlock + Call sub_0806CE5C + DoPostScriptAction 0x000a + _0807EB44 0x0004 + _0807E930 0x0008 + EndBlock +script_0800EA6A: + CheckEntityInteractType + JumpIfNot script_0800EA6A + _0807E864 + _0807EB74 + CallWithArg sub_0807F3D8, 0x00000004 + Call sub_0807F2D4 + _0807E930 0x0009 + Call sub_0806CE80 + WaitUntilTextboxCloses + _0807E878 + _0807E930 0x000a + Call sub_0807F2D4 + _0807E930 0x0008 + Jump script_0800EA6A diff --git a/data/scripts/hyruleTown/script_MutohInMill.inc b/data/scripts/hyruleTown/script_MutohInMill.inc new file mode 100644 index 00000000..fdefdeb9 --- /dev/null +++ b/data/scripts/hyruleTown/script_MutohInMill.inc @@ -0,0 +1,21 @@ +@ Hyrule Town Mutoh +SCRIPT_START script_MutohInMill + BeginBlock + Call sub_08067100 + DoPostScriptAction 0x000a + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + EndBlock +script_0800954E: + CheckEntityInteractType + JumpIfNot script_0800954E + _0807E864 + DoPostScriptAction 0x0001 + _0807EB74 + Call sub_080670E4 + WaitUntilTextboxCloses + _0807E878 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + Jump script_0800954E + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_Nayru.inc b/data/scripts/hyruleTown/script_Nayru.inc new file mode 100644 index 00000000..383bb3e1 --- /dev/null +++ b/data/scripts/hyruleTown/script_Nayru.inc @@ -0,0 +1,61 @@ +@ Hyrule Town Nayru +SCRIPT_START script_Nayru + BeginBlock + Call sub_08064928 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + DoPostScriptAction 0x000a + CheckGlobalFlag 0x0047 + JumpIf script_08011D6E + EndBlock +script_08011D46: + EndBlock + BeginBlock + CheckEntityInteractType + JumpIfNot script_08011D46 + EndBlock + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 + MessageNoOverlap 0x4513 + WaitUntilTextboxCloses + _0807E878 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + Jump script_08011D46 +script_08011D6E: + EndBlock + BeginBlock + CheckGlobalFlag 0x002b + JumpIf script_08011D46 + CheckGlobalFlag 0x002d + JumpIf script_08011D46 + CheckEntityInteractType + JumpIfNot script_08011D6E + EndBlock + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 + MessageNoOverlap 0x3103 + WaitUntilTextboxCloses + _0807E3E8 + JumpIf script_08011DBA + _0807E878 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + Jump script_08011D6E +script_08011DAC: + CheckEntityInteractType + JumpIfNot script_08011DAC + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 +script_08011DBA: + MessageNoOverlap 0x3106 + WaitUntilTextboxCloses + SetGlobalFlag 0x002c + _0807E878 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + Jump script_08011DAC + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_Nayru2.inc b/data/scripts/hyruleTown/script_Nayru2.inc new file mode 100644 index 00000000..a7ee5772 --- /dev/null +++ b/data/scripts/hyruleTown/script_Nayru2.inc @@ -0,0 +1,50 @@ +@ Hyrule Town Nayru when one of them has moved in +SCRIPT_START script_Nayru2 + BeginBlock + Call sub_08064928 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + DoPostScriptAction 0x000a + EndBlock +script_08011F22: + EndBlock + BeginBlock + CheckGlobalFlag 0x002e + JumpIf script_08011D46 + CheckGlobalFlag 0x0030 + JumpIf script_08011D46 + CheckEntityInteractType + JumpIfNot script_08011F22 + EndBlock + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 + CheckGlobalFlag 0x0048 + JumpIf script_08011F58 + MessageNoOverlap 0x4522 + WaitUntilTextboxCloses + Jump script_08011F64 +script_08011F58: + MessageNoOverlap 0x310f + WaitUntilTextboxCloses + _0807E3E8 + JumpIf script_08011F80 +script_08011F64: + _0807E878 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + Jump script_08011F22 +script_08011F72: + CheckEntityInteractType + JumpIfNot script_08011F72 + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 +script_08011F80: + MessageNoOverlap 0x3112 + WaitUntilTextboxCloses + SetGlobalFlag 0x002f + _0807E878 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + Jump script_08011F72 diff --git a/data/scripts/hyruleTown/script_NayruAlone.inc b/data/scripts/hyruleTown/script_NayruAlone.inc new file mode 100644 index 00000000..7436a2c2 --- /dev/null +++ b/data/scripts/hyruleTown/script_NayruAlone.inc @@ -0,0 +1,20 @@ +@ Nayru completely alone +SCRIPT_START script_NayruAlone + BeginBlock + Call sub_08064928 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + DoPostScriptAction 0x000a + EndBlock +script_08012216: + CheckEntityInteractType + JumpIfNot script_08012216 + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 + MessageNoOverlap 0x4525 + WaitUntilTextboxCloses + _0807E878 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + Jump script_08012216 diff --git a/data/scripts/hyruleTown/script_NayruMovedIn.inc b/data/scripts/hyruleTown/script_NayruMovedIn.inc new file mode 100644 index 00000000..e754a9f5 --- /dev/null +++ b/data/scripts/hyruleTown/script_NayruMovedIn.inc @@ -0,0 +1,59 @@ +@ Nayru moved in +SCRIPT_START script_NayruMovedIn + BeginBlock + Call sub_08064928 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + DoPostScriptAction 0x000a + EndBlock +script_080120C6: + CheckEntityInteractType + JumpIfNot script_080120C6 + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 + CheckLocalFlag 0x0095 + JumpIf script_080120EA + MessageNoOverlap 0x3116 + WaitUntilTextboxCloses + SetLocalFlag 0x0095 + Jump script_0801212A +script_080120EA: + _0807E48C 0x002f + JumpIfNot script_080120FC + MessageNoOverlap 0x3117 + WaitUntilTextboxCloses + Jump script_0801212A +script_080120FC: + MessageNoOverlap 0x3118 + WaitUntilTextboxCloses + _0807E3E8 + JumpIfNot script_0801212A + _0807E48C 0x0020 + JumpIfNot script_08012126 + MessageNoOverlap 0x3119 + WaitUntilTextboxCloses + _0807F034 0x002f + WaitPlayerGetItem +.ifdef USA + Call sub_0807FC24 +.else +.ifdef DEMO_USA + Call sub_0807FC24 +.else +.ifdef DEMO_JP + Call sub_0807FC24 +.endif +.endif +.endif + Jump script_0801212A +script_08012126: + MessageNoOverlap 0x311b +script_0801212A: + WaitUntilTextboxCloses + _0807E878 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + Jump script_080120C6 + .align 2, 0 + diff --git a/data/scripts/hyruleTown/script_Object69AllBooksCollected.inc b/data/scripts/hyruleTown/script_Object69AllBooksCollected.inc new file mode 100644 index 00000000..d45cec4b --- /dev/null +++ b/data/scripts/hyruleTown/script_Object69AllBooksCollected.inc @@ -0,0 +1,18 @@ +@ Library OBJECT_69 all books collected +SCRIPT_START script_Object69AllBooksCollected + BeginBlock + SetEntityPositionRelative 0x0068, 0x0068 + _0807F0B4 0x0004 + CameraTargetEntity + EndBlock + Wait 0x001e + _0807E5F8 0x00000002 + WaitForSomething 0x00000001 + Wait 0x000f + _0807F0B4 0x0004 + CameraTargetPlayer + Wait 0x001e + _0807E5F8 0x00000004 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_Object69Rem.inc b/data/scripts/hyruleTown/script_Object69Rem.inc new file mode 100644 index 00000000..727fe03a --- /dev/null +++ b/data/scripts/hyruleTown/script_Object69Rem.inc @@ -0,0 +1,15 @@ +@ OBJECT_69 in Rems shoe shop ? +SCRIPT_START script_Object69Rem + BeginBlock + CheckLocalFlag 0x0062 + JumpIfNot script_0801319A + DoPostScriptAction 0x0006 + EndBlock +SCRIPT_END +SCRIPT_START script_0801319A + EndBlock + BeginBlock + CameraTargetEntity + MoveEntityToPlayer + Call sub_0806AB74 + Jump script_0801319A diff --git a/data/scripts/hyruleTown/script_Object69SimonsSimulation.inc b/data/scripts/hyruleTown/script_Object69SimonsSimulation.inc new file mode 100644 index 00000000..8601a1a6 --- /dev/null +++ b/data/scripts/hyruleTown/script_Object69SimonsSimulation.inc @@ -0,0 +1,34 @@ +@ Simons Simulation OBJECT_69 +SCRIPT_START script_Object69SimonsSimulation + BeginBlock + _0807E888 + EndBlock + CallWithArg sub_0806C2A0, 0x00000001 + WaitFor_2 + Wait 0x003c + _0807E878 + SetRoomFlag 0x0000 + PlayBgm BGM_FIGHT_THEME2 +script_08011C04: + CheckRoomFlag 0x0064 + JumpIfNot script_08011C04 + StopBgm + _0807E864 + Wait 0x003c + CameraTargetEntity + Wait 0x003c + Call Simon_CreateChest + Wait 0x003c + CameraTargetPlayer + _0807E878 +script_08011C28: + CheckLocalFlag 0x0001 + JumpIfNot script_08011C28 + _0807E888 + WaitPlayerGetItem + Wait 0x001e + CallWithArg sub_0806C2A0, 0x00000000 + WaitFor_2 + Wait 0x003c + Call sub_0806C280 +SCRIPT_END diff --git a/data/scripts/hyruleTown/script_Object6ACarlov.inc b/data/scripts/hyruleTown/script_Object6ACarlov.inc new file mode 100644 index 00000000..b4987e83 --- /dev/null +++ b/data/scripts/hyruleTown/script_Object6ACarlov.inc @@ -0,0 +1,30 @@ +@ Hyrule Town OBJECT_69 at Carlov 2 +SCRIPT_START script_Object6ACarlov + BeginBlock + SetEntityPositionRelative 0x01f8, 0x00e0 + CheckLocalFlag 0x005e + JumpIf script_080145E4 + EndBlock +script_080145C2: + CheckRoomFlag 0x0005 + JumpIfNot script_080145C2 + _0807E864 + ClearRoomFlag 0x0005 +.ifdef EU + Wait 0x0018 + _0807E8E4_1 + _0807EB44 0x0006 +.else + Wait 0x000c + _0807EB8C +.endif + MessageFromTargetPos 0x432e, 0x000c + WaitUntilTextboxCloses +.ifdef EU + Wait 0x0018 +.endif + _0807E878 + Jump script_080145C2 +script_080145E4: + EndBlock +SCRIPT_END diff --git a/data/scripts/hyruleTown/script_Object6ACarlov2.inc b/data/scripts/hyruleTown/script_Object6ACarlov2.inc new file mode 100644 index 00000000..192e0708 --- /dev/null +++ b/data/scripts/hyruleTown/script_Object6ACarlov2.inc @@ -0,0 +1,53 @@ +@ Hyrule Town OBJECT_69 at Carlov +SCRIPT_START script_Object6ACarlov2 + BeginBlock + DoPostScriptAction 0x0008 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + EndBlock +script_080145F8: +.ifdef EU + CheckPlayerInRegion 0x00a8, 0x0054, 0x080c + JumpIfNot script_080145F8 + ComparePlayerAnimationState 0x0000 + JumpIfNot script_080145F8 + CheckRoomFlag 0x0009 + JumpIf script_08014632 + _0807E864 + Wait 0x0018 + _0807E8E4_3 + _0807EB44 0x0002 + MessageFromTargetPos 0x432b, 0x000c + WaitUntilTextboxCloses + Wait 0x0018 + _0807E878 + Jump script_080145F8 +script_08014632: + CheckRoomFlag 0x0000 + JumpIfNot script_08014632 + _0807E864 + Call sub_0807DF28 +script_08014642: + CheckRoomFlag 0x0009 + JumpIf script_08014642 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + Call sub_0807DF50 + _0807E878 + Jump script_080145F8 +.else + CheckRoomFlag 0x0000 + JumpIfNot script_080145F8 + _0807E864 + Call sub_0807DF28 +script_08014608: + CheckRoomFlag 0x0004 + JumpIf script_08014608 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000008 + Call sub_0807DF50 + _0807E878 + Jump script_080145F8 +.endif + .align 2, 0 + diff --git a/data/scripts/hyruleTown/script_Object6APreventPlayerLeaveCarlov.inc b/data/scripts/hyruleTown/script_Object6APreventPlayerLeaveCarlov.inc new file mode 100644 index 00000000..f688efa6 --- /dev/null +++ b/data/scripts/hyruleTown/script_Object6APreventPlayerLeaveCarlov.inc @@ -0,0 +1,20 @@ +@ Hyrule Town OBJECT_69 at Carlov. Prevent from leaving if already paid. +SCRIPT_START script_Object6APreventPlayerLeaveCarlov + BeginBlock + EndBlock +script_0801454C: + CheckPlayerInRegion 0x0078, 0x0088, 0x0810 + JumpIfNot script_0801454C + CheckRoomFlag 0x0000 + JumpIfNot script_0801454C + _0807E864 + _0807EB28 0x4217 + WaitUntilTextboxCloses + StartPlayerScript script_PlayerWhenLeavingCarlovAlreadyPaid + Wait 0x0010 + _0807E5F8 0x00000001 + WaitForSomething2 0x00000002 + _0807E878 + Jump script_0801454C +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_OldLadyCatHouse1.inc b/data/scripts/hyruleTown/script_OldLadyCatHouse1.inc new file mode 100644 index 00000000..cfd7bef0 --- /dev/null +++ b/data/scripts/hyruleTown/script_OldLadyCatHouse1.inc @@ -0,0 +1,9 @@ +@ Older lady in cat persons house +SCRIPT_START script_OldLadyCatHouse1 + BeginBlock + Call sub_08061E70 + DoPostScriptAction 0x000a + _0807EB44 0x0004 + Call sub_08061FD8 + EndBlock + Jump script_0800EBF4 diff --git a/data/scripts/hyruleTown/script_OldLadyCatHouse2.inc b/data/scripts/hyruleTown/script_OldLadyCatHouse2.inc new file mode 100644 index 00000000..a2b33563 --- /dev/null +++ b/data/scripts/hyruleTown/script_OldLadyCatHouse2.inc @@ -0,0 +1,20 @@ +@ Older lady in cat persons house +SCRIPT_START script_OldLadyCatHouse2 + BeginBlock + Call sub_08061E70 + DoPostScriptAction 0x000a + _0807EB44 0x0006 + Call sub_08061FD8 + EndBlock +@ Common end code for Townspersons? +script_0800EBF4: + CheckEntityInteractType + JumpIfNot script_0800EBF4 + _0807E864 + _0807EB74 + Call sub_08061FD8 + Call sub_08062048 + WaitUntilTextboxCloses + _0807E878 + Jump script_0800EBF4 + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_Phonograph.inc b/data/scripts/hyruleTown/script_Phonograph.inc new file mode 100644 index 00000000..6bdd817e --- /dev/null +++ b/data/scripts/hyruleTown/script_Phonograph.inc @@ -0,0 +1,21 @@ +@ Phonograph +SCRIPT_START script_Phonograph + BeginBlock + Call sub_0807F934 + EndBlock +script_0800BA46: + CheckEntityInteractType + JumpIfNot script_0800BA46 + _0807E864 + Call sub_0807DF28 + MessageFromTarget 0x3301 + WaitUntilTextboxCloses + _0807E3E8 + JumpIfNot script_0800BA6C + StopBgm + Call sub_0806E964 + PlayBGM +script_0800BA6C: + Call sub_0807DF50 + _0807E878 + Jump script_0800BA46 diff --git a/data/scripts/hyruleTown/script_PhonographDoor.inc b/data/scripts/hyruleTown/script_PhonographDoor.inc new file mode 100644 index 00000000..00f9c7b0 --- /dev/null +++ b/data/scripts/hyruleTown/script_PhonographDoor.inc @@ -0,0 +1,37 @@ +@ Hyrule Town locked door NPC4E for music room +SCRIPT_START script_PhonographDoor + BeginBlock + EndBlock +.ifdef JP + CheckLocalFlag 0x00ce +.else +.ifdef EU + CheckLocalFlag 0x00ce +.else +.ifdef DEMO_JP + CheckLocalFlag 0x00ce @ TODO deduplicate +.else + CheckLocalFlag 0x00d1 +.endif +.endif +.endif + JumpIf script_080109EA + CheckPlayerInRegion2 0x0808 + JumpIfNot script_PhonographDoor + EndBlock + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + StartPlayerScript script_PlayerCannotEnter + WaitForSomething2 0x00000001 + CheckRoomFlag 0x0001 + JumpIf script_080109DE + _0807EB28 0x0b64 + WaitUntilTextboxCloses +script_080109DE: + Call sub_0807DF50 + _0807E878 + Jump script_PhonographDoor +script_080109EA: + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/hyruleTown/script_Pina.inc b/data/scripts/hyruleTown/script_Pina.inc new file mode 100644 index 00000000..2218ed8d --- /dev/null +++ b/data/scripts/hyruleTown/script_Pina.inc @@ -0,0 +1,21 @@ +@ Hyrule Town Pina +SCRIPT_START script_Pina + BeginBlock + _0807EB44 0x0004 + _0807E930 0x0000 + Call sub_08063CAC + DoPostScriptAction 0x000a + Call sub_0807F348 + EndBlock +script_080104BC: + CheckEntityInteractType + JumpIfNot script_080104BC + _0807E864 + _0807EB74 + CallWithArg sub_0807F3D8, 0x00000004 + Call sub_08063C90 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + CallWithArg sub_0807F3D8, 0x00000000 + Jump script_080104BC diff --git a/data/scripts/hyruleTown/script_Pita.inc b/data/scripts/hyruleTown/script_Pita.inc new file mode 100644 index 00000000..d03c5f28 --- /dev/null +++ b/data/scripts/hyruleTown/script_Pita.inc @@ -0,0 +1,45 @@ +@ Hyrule Town Pita +SCRIPT_START script_Pita + BeginBlock + _0807E9D4 + DoPostScriptAction 0x000a + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + EndBlock +script_080106BE: + CheckEntityInteractType + JumpIfNot script_080106BE + _0807E864 + _0807EB74 + Call sub_0807F2D4 + DoPostScriptAction 0x0000 + HasRoomItemForSale + JumpIf script_080106E0 + MessageNoOverlap 0x3c07 + Jump script_08010726 +script_080106E0: + Call sub_08062EB8 + CallWithArg sub_0807F78C, 0x00000000 + WaitUntilTextboxCloses + _0807E3E8 + JumpIfNot script_08010726 + WaitUntilTextboxCloses + BuyItem 0x0000, 0x0000 + JumpIf script_0801070C + MessageNoOverlap 0x3c04 + Jump script_08010726 +script_0801070C: + WaitPlayerGetItem + ModHealth 0x0008 + Call sub_08062EDC + JumpIf script_08010724 + MessageNoOverlap 0x3c06 + Jump script_08010726 +script_08010724: + WaitPlayerGetItem +script_08010726: + WaitUntilTextboxCloses + _0807E878 + DoPostScriptAction 0x0001 + Jump script_080106BE + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_PlayerActivatedTrapCard.inc b/data/scripts/hyruleTown/script_PlayerActivatedTrapCard.inc new file mode 100644 index 00000000..1ade796e --- /dev/null +++ b/data/scripts/hyruleTown/script_PlayerActivatedTrapCard.inc @@ -0,0 +1,16 @@ +@ Player at Library fall through trap +SCRIPT_START script_PlayerActivatedTrapCard + _0807EB44 0x0006 + DoPostScriptAction 0x0000 + Wait 0x0014 + _0807EB44 0x0002 + DoPostScriptAction 0x0000 + Wait 0x0014 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x0005 + Wait 0x003c + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_PlayerAtCarlov.inc b/data/scripts/hyruleTown/script_PlayerAtCarlov.inc new file mode 100644 index 00000000..dc9ef22d --- /dev/null +++ b/data/scripts/hyruleTown/script_PlayerAtCarlov.inc @@ -0,0 +1,11 @@ +@ Player at Carlov +SCRIPT_START script_PlayerAtCarlov + EndBlock + WaitForSomething2 0x00000002 + SetEntitySpeed 0x00e0 + _0807EDD4 0x0078, 0x0068 + DoPostScriptAction 0x0000 + Wait 0x0010 + _0807E5F8 0x00000001 + Call sub_0807921C +SCRIPT_END diff --git a/data/scripts/hyruleTown/script_PlayerAtDrLeftDoor.inc b/data/scripts/hyruleTown/script_PlayerAtDrLeftDoor.inc new file mode 100644 index 00000000..ea4304ac --- /dev/null +++ b/data/scripts/hyruleTown/script_PlayerAtDrLeftDoor.inc @@ -0,0 +1,12 @@ +@ Player tries to enter DrLeft +SCRIPT_START script_PlayerAtDrLeftDoor + BeginBlock + SetEntitySpeed 0x0100 + EndBlock + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + _0807ECC4 0x0008 + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_PlayerAtInnDoor.inc b/data/scripts/hyruleTown/script_PlayerAtInnDoor.inc new file mode 100644 index 00000000..87908590 --- /dev/null +++ b/data/scripts/hyruleTown/script_PlayerAtInnDoor.inc @@ -0,0 +1,12 @@ +@ Hyrule Town player tries to enter Inn +SCRIPT_START script_PlayerAtInnDoor + BeginBlock + SetEntitySpeed 0x0100 + EndBlock + _0807ECC4 0x0010 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_PlayerAtRem.inc b/data/scripts/hyruleTown/script_PlayerAtRem.inc new file mode 100644 index 00000000..c39158d6 --- /dev/null +++ b/data/scripts/hyruleTown/script_PlayerAtRem.inc @@ -0,0 +1,15 @@ +@ Player at Rem +SCRIPT_START script_PlayerAtRem + BeginBlock + _0807EB44 0x0006 + SetEntitySpeed 0x0140 + EndBlock + _0807EDD4 0x00a8, 0x0060 + Wait 0x0008 + DoPostScriptAction 0x0000 + Wait 0x0008 + DoPostScriptAction 0x0004 + Wait 0x000f + _0807E5F8 0x00000004 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_PlayerCannotEnter.inc b/data/scripts/hyruleTown/script_PlayerCannotEnter.inc new file mode 100644 index 00000000..1c1a7c5f --- /dev/null +++ b/data/scripts/hyruleTown/script_PlayerCannotEnter.inc @@ -0,0 +1,12 @@ +@ Player cannot enter something to the left +SCRIPT_START script_PlayerCannotEnter + BeginBlock + SetEntitySpeed 0x0100 + EndBlock + _0807EC94 0x0010 + _0807EB44 0x0002 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_PlayerSleepingInn.inc b/data/scripts/hyruleTown/script_PlayerSleepingInn.inc new file mode 100644 index 00000000..fc76be34 --- /dev/null +++ b/data/scripts/hyruleTown/script_PlayerSleepingInn.inc @@ -0,0 +1,20 @@ +@ Player sleeping at Inn +SCRIPT_START script_PlayerSleepingInn + BeginBlock + Call sub_0807DF28 + _0807E864 + ModHealth 0x00a0 + EndBlock + Wait 0x003c + _0807E778 0x0004 + DoFade4 + WaitFor_2 +script_08010A78: + Call sub_0807F0D8 + JumpIfNot script_08010A78 + DoPostScriptAction 0x0014 + _0807E878 + Call sub_0807DF50 + Call sub_080791D0 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_PlayerStepOnTrap.inc b/data/scripts/hyruleTown/script_PlayerStepOnTrap.inc new file mode 100644 index 00000000..3aa0da5a --- /dev/null +++ b/data/scripts/hyruleTown/script_PlayerStepOnTrap.inc @@ -0,0 +1,12 @@ +@ Player at Librari move on trap +SCRIPT_START script_PlayerStepOnTrap + BeginBlock + _0807EB44 0x0004 + SetEntitySpeed 0x0100 + EndBlock + DoPostScriptAction 0x0001 + _0807EDD4 0x0078, 0x0080 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/hyruleTown/script_PlayerWakingUpAtSimons.inc b/data/scripts/hyruleTown/script_PlayerWakingUpAtSimons.inc new file mode 100644 index 00000000..45d0c2bd --- /dev/null +++ b/data/scripts/hyruleTown/script_PlayerWakingUpAtSimons.inc @@ -0,0 +1,14 @@ +@ Player waking up after Simons Simulation +SCRIPT_START script_PlayerWakingUpAtSimons + BeginBlock + _0807E864 + EndBlock + Wait 0x003c + CallWithArg sub_0806C2A0, 0x00000001 + WaitFor_2 + Wait 0x003c + DoPostScriptAction 0x0014 + Wait 0x001e + _0807E5F8 0x00000004 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_PlayerWhenLeavingCarlovAlreadyPaid.inc b/data/scripts/hyruleTown/script_PlayerWhenLeavingCarlovAlreadyPaid.inc new file mode 100644 index 00000000..77d229c6 --- /dev/null +++ b/data/scripts/hyruleTown/script_PlayerWhenLeavingCarlovAlreadyPaid.inc @@ -0,0 +1,11 @@ +@ Player at Carlov when trying to leave when already paid +SCRIPT_START script_PlayerWhenLeavingCarlovAlreadyPaid + EndBlock + WaitForSomething2 0x00000001 + SetEntitySpeed 0x00e0 + _0807EDD4 0x0078, 0x0078 + DoPostScriptAction 0x0000 + Wait 0x0010 + _0807E5F8 0x00000002 + Call sub_0807921C +SCRIPT_END diff --git a/data/scripts/hyruleTown/script_Postman.inc b/data/scripts/hyruleTown/script_Postman.inc new file mode 100644 index 00000000..01b75b3f --- /dev/null +++ b/data/scripts/hyruleTown/script_Postman.inc @@ -0,0 +1,43 @@ +@ Hyrule Town Postman +SCRIPT_START script_Postman + BeginBlock + CheckInventory1 0x0067 + JumpIfNot script_08010B62 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + SetEntitySpeed 0x0180 + CallWithArg sub_0807F348 + Call sub_0806075C + EndBlock + WaitUntilTextboxCloses + Call sub_080606C0 +script_08010B10: + EndBlock + Call sub_0806076C + DoPostScriptAction 0x0007 +script_08010B1C: + Call sub_08060700 +script_08010B22: + EndBlock + BeginBlock + _0807E564 + JumpIf script_08010B3A + CallWithArg sub_080608E4, 0x00000000 + JumpIf script_08010B44 +script_08010B3A: + _0807EE30 + JumpIfNot script_08010B22 + Jump script_08010B10 +script_08010B44: + EndBlock + DoPostScriptAction 0x0000 +script_08010B4A: + EndBlock + BeginBlock + CallWithArg sub_080608E4, 0x00000001 + JumpIf script_08010B4A + EndBlock + Jump script_08010B1C +script_08010B62: + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/hyruleTown/script_Rem.inc b/data/scripts/hyruleTown/script_Rem.inc new file mode 100644 index 00000000..85487b0e --- /dev/null +++ b/data/scripts/hyruleTown/script_Rem.inc @@ -0,0 +1,36 @@ +@ Hyrule Town Rem +SCRIPT_START script_Rem + BeginBlock + CallWithArg sub_0806A93C, 0x12345678 + _0807EB44 0x0004 + _0807E930 0x0002 + CheckInventory1 0x0015 + JumpIf script_080130B6 + CheckLocalFlag 0x0060 + JumpIf script_08012FD2 + CheckGlobalFlag 0x001e + JumpIf script_RemFallingAsleep + EndBlock + CheckLocalFlag 0x0062 + JumpIfNot script_08012F48 + Call sub_0806A9B0 +script_08012F48: + CheckLocalFlag 0x0061 + JumpIf script_08012F6C +script_08012F50: + Call sub_0806A96C + JumpIfNot script_08012F50 + _0807E864 + MessageNoOverlap 0x4401 + WaitUntilTextboxCloses + SetLocalFlag 0x0061 + _0807E878 + _0807E908 0x0001 +script_08012F6C: + Call sub_0806A96C + JumpIfNot script_08012F6C + MessageNoOverlap 0x4402 + WaitUntilTextboxCloses + _0807E908 0x0001 + Jump script_08012F6C +SCRIPT_END diff --git a/data/scripts/hyruleTown/script_RemFallingAsleep.inc b/data/scripts/hyruleTown/script_RemFallingAsleep.inc new file mode 100644 index 00000000..a94b3e56 --- /dev/null +++ b/data/scripts/hyruleTown/script_RemFallingAsleep.inc @@ -0,0 +1,100 @@ +@ Rem falling asleep +SCRIPT_START script_RemFallingAsleep + BeginBlock + CheckLocalFlag 0x0060 + JumpIf script_08012FD2 + _0807E864 + Call sub_0807DF28 + StartPlayerScript script_PlayerAtRem + SetLocalFlag 0x0060 + ClearLocalFlag 0x0061 + EndBlock + WaitForSomething2 0x00000004 + _0807E908 0x0004 + Call sub_0806A958 + CallWithArg sub_0807F93C, 0x0000f2f4 + Call sub_0807DF50 + _0807E878 + SetLocalFlag 0x0062 + Jump script_08012FFA +script_08012FD2: + BeginBlock + _0807E930 0x000d + _0807E908 0x0005 + SetLocalFlag 0x0062 + CallWithArg sub_0807F93C, 0x0000f2f4 + Call sub_0806AA10 + EndBlock + CheckInventory1 0x0038 + JumpIf script_08013006 +script_08012FFA: + _0807E944 + MessageNoOverlap 0x4403 + WaitUntilTextboxCloses + Jump script_08012FFA +script_08013006: + _0807E944 + BeginBlock + _0807E864 + Call sub_0807DF28 + EndBlock + PlaySound SFX_TASK_COMPLETE + _0807F088 0x0038 + WaitPlayerGetItem + Wait 0x001e + _0807E8E4_0 + Call sub_0806AB9C + _0807E930 0x000b + Wait 0x003c + DoPostScriptAction 0x0004 + Wait 0x003c + MessageNoOverlap 0x4404 + WaitUntilTextboxCloses + Wait 0x001e + DoPostScriptAction 0x0004 + Wait 0x003c + MessageNoOverlap 0x440e + WaitUntilTextboxCloses + Wait 0x001e + Call sub_0806A9E8 + _0807E930 0x000f + Wait 0x00f0 + MessageNoOverlap 0x4405 + WaitUntilTextboxCloses + _0807E5F8 0x00000200 + _0807F034 0x0015 + WaitPlayerGetItem + _0807EB8C + MessageNoOverlap 0x4406 + WaitUntilTextboxCloses + _0807E908 0x0001 + Call sub_0807DF50 + _0807E878 +script_0801308A: + Call sub_0806A96C + JumpIfNot script_0801308A + MessageNoOverlap 0x4407 + WaitUntilTextboxCloses + _0807E908 0x0001 +script_0801309E: + Call sub_0806A96C + JumpIfNot script_0801309E + MessageNoOverlap 0x440d + WaitUntilTextboxCloses + _0807E908 0x0001 + Jump script_0801308A +script_080130B6: + CheckLocalFlag 0x0062 + JumpIfNot script_080130C4 + Call sub_0806A9B0 +script_080130C4: + EndBlock +script_080130C6: + Call sub_0806A96C + JumpIfNot script_080130C6 + _0807E864 + Call sub_0806AA18 + WaitUntilTextboxCloses + _0807E878 + _0807E908 0x0001 + Jump script_080130C6 diff --git a/data/scripts/hyruleTown/script_RemTownMinish.inc b/data/scripts/hyruleTown/script_RemTownMinish.inc new file mode 100644 index 00000000..d7f649b8 --- /dev/null +++ b/data/scripts/hyruleTown/script_RemTownMinish.inc @@ -0,0 +1,34 @@ +@ Rem Town Minish +SCRIPT_START script_RemTownMinish + BeginBlock + _0807E9D4 + DoPostScriptAction 0x000a + DoPostScriptAction 0x0012 + Call sub_0807F348 + EndBlock +script_08013128: + EndBlock + BeginBlock + CheckEntityInteractType + JumpIf script_0801313C + Call sub_0806AEE4 + Jump script_08013128 +script_0801313C: + _0807E864 + EndBlock + _0807EB74 + Call sub_0806AED8 + CallWithArg sub_0806AA50, 0x00000000 + WaitUntilTextboxCloses + CallWithArg sub_0806AA50, 0x00000001 + WaitUntilTextboxCloses + CallWithArg sub_0806AA50, 0x00000002 + WaitUntilTextboxCloses + JumpIf script_08013176 + _0807E878 + Jump script_08013128 +script_08013176: + SetIntVariable 0x00000403 + Call sub_0807F420 + _0807E878 + Jump script_08013128 diff --git a/data/scripts/hyruleTown/script_RentRegularRoom.inc b/data/scripts/hyruleTown/script_RentRegularRoom.inc new file mode 100644 index 00000000..05284b24 --- /dev/null +++ b/data/scripts/hyruleTown/script_RentRegularRoom.inc @@ -0,0 +1,15 @@ +@ Hyrule Town Inn Emma after renting regular room +SCRIPT_START script_RentRegularRoom + BeginBlock + MessageFromTarget 0x4504 + CallWithArg sub_0807F854, 0x000100c8 + EndBlock + WaitUntilTextboxCloses + HasRupees 0x00c8 + JumpIfNot script_EmmaNotEnoughRupees + ModRupees 0xff38 + SetLocalFlag 0x0091 + MessageFromTarget 0x4508 + WaitUntilTextboxCloses + Call sub_0806C588 +SCRIPT_END diff --git a/data/scripts/hyruleTown/script_RentSmallRoom.inc b/data/scripts/hyruleTown/script_RentSmallRoom.inc new file mode 100644 index 00000000..c6794b6d --- /dev/null +++ b/data/scripts/hyruleTown/script_RentSmallRoom.inc @@ -0,0 +1,15 @@ +@ Hyrule Town Inn Emma after renting small room +SCRIPT_START script_RentSmallRoom + BeginBlock + MessageFromTarget 0x4503 + CallWithArg sub_0807F854, 0x00010032 + EndBlock + WaitUntilTextboxCloses + HasRupees 0x0032 + JumpIfNot script_EmmaNotEnoughRupees + ModRupees 0xffce + SetLocalFlag 0x0091 + MessageFromTarget 0x4508 + WaitUntilTextboxCloses + Call sub_0806C598 +SCRIPT_END diff --git a/data/scripts/hyruleTown/script_Simon.inc b/data/scripts/hyruleTown/script_Simon.inc new file mode 100644 index 00000000..4c5531d3 --- /dev/null +++ b/data/scripts/hyruleTown/script_Simon.inc @@ -0,0 +1,51 @@ +@ Simon +SCRIPT_START script_Simon + BeginBlock + _0807E9D4 + DoPostScriptAction 0x000a + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + EndBlock + CheckGlobalFlag 0x0050 + JumpIfNot script_08011B84 + WaitForSomething2 0x00000004 + _0807EB44 0x0006 + DoPostScriptAction 0x0004 + Wait 0x003c + _0807EB8C + MessageNoOverlap 0x3d07 + WaitUntilTextboxCloses + _0807EB44 0x0004 + ClearGlobalFlag 0x0050 + Call sub_0807DF50 + _0807E878 +script_08011B84: + CheckEntityInteractType + JumpIfNot script_08011B84 + _0807E864 + _0807EB74 + MessageNoOverlap 0x3d01 + WaitUntilTextboxCloses + _0807E3E8 + JumpIf script_08011BA4 +script_08011B9A: + _0807E878 + _0807EB44 0x0004 + Jump script_08011B84 +script_08011BA4: + HasRupees 0x000a + JumpIf script_08011BBC + DoPostScriptAction 0x0004 + Wait 0x003c + MessageNoOverlap 0x3d05 + Jump script_08011B9A +script_08011BBC: + ModRupees 0xfff6 + Wait 0x001e + MessageNoOverlap 0x3d06 + WaitUntilTextboxCloses + CallWithArg sub_0806C2A0, 0x00000000 + WaitFor_2 + Wait 0x003c + Call sub_0806C224 + Jump script_08011B9A diff --git a/data/scripts/hyruleTown/script_SimonsDoor.inc b/data/scripts/hyruleTown/script_SimonsDoor.inc new file mode 100644 index 00000000..96601212 --- /dev/null +++ b/data/scripts/hyruleTown/script_SimonsDoor.inc @@ -0,0 +1,19 @@ +@ Hyrule Town locked door NPC4E for Simons Simulations +SCRIPT_START script_SimonsDoor + CheckPlayerInRegion2 0x0808 + JumpIfNot script_SimonsDoor + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + StartPlayerScript script_PlayerCannotEnter + WaitForSomething2 0x00000001 + CheckRoomFlag 0x0001 + JumpIf script_08010994 + _0807EB28 0x0b63 + WaitUntilTextboxCloses +script_08010994: + Call sub_0807DF50 + _0807E878 + Jump script_SimonsDoor + + diff --git a/data/scripts/hyruleTown/script_SittingPerson.inc b/data/scripts/hyruleTown/script_SittingPerson.inc new file mode 100644 index 00000000..de9aafde --- /dev/null +++ b/data/scripts/hyruleTown/script_SittingPerson.inc @@ -0,0 +1,25 @@ +@ Hyrule Town SittingPerson +SCRIPT_START script_SittingPerson + BeginBlock + Call sub_080639D0 + DoPostScriptAction 0x000a + EndBlock + BeginBlock + CallWithArg sub_08063850, 0x00000000 + EndBlock +script_0800ED20: + CheckEntityInteractType + JumpIfNot script_0800ED20 + _0807E864 + _0807EB74 + CallWithArg sub_08063850, 0x00000000 + Call sub_08063944 + WaitUntilTextboxCloses + JumpIfNot script_0800ED46 + _0807F050 0x0070 + WaitPlayerGetItem +script_0800ED46: + _0807E878 + Call sub_08063874 + CallWithArg sub_08063850, 0x00000000 + Jump script_0800ED20 diff --git a/data/scripts/hyruleTown/script_SmallTownMinish.inc b/data/scripts/hyruleTown/script_SmallTownMinish.inc new file mode 100644 index 00000000..7438f1cd --- /dev/null +++ b/data/scripts/hyruleTown/script_SmallTownMinish.inc @@ -0,0 +1,29 @@ +@ Hyrule Town SmallTownMinish +SCRIPT_START script_SmallTownMinish + BeginBlock + _0807E564 + JumpIfNot script_08010BAC + Call sub_0807F924 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x0007 + DoPostScriptAction 0x000a + EndBlock +script_08010B88: + EndBlock + BeginBlock + _0807E564 + JumpIfNot script_08010BAC + CheckEntityInteractType + JumpIfNot script_08010B88 + EndBlock + _0807E864 + _0807EB74 + Call sub_0806E2DC + WaitUntilTextboxCloses + _0807E878 + Jump script_08010B88 +script_08010BAC: + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_Stamp.inc b/data/scripts/hyruleTown/script_Stamp.inc new file mode 100644 index 00000000..c26672bc --- /dev/null +++ b/data/scripts/hyruleTown/script_Stamp.inc @@ -0,0 +1,21 @@ +@ Hyrule Town Stamp +SCRIPT_START script_Stamp + BeginBlock + DoPostScriptAction 0x0007 + _0807E9D4 + DoPostScriptAction 0x000a + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + EndBlock +script_080107AA: + CheckEntityInteractType + JumpIfNot script_080107AA + _0807E864 + Call sub_0807F2D4 + DoPostScriptAction 0x0001 + Call sub_08062CBC + WaitUntilTextboxCloses + _0807E878 + DoPostScriptAction 0x0000 + Jump script_080107AA + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_Stockwell.inc b/data/scripts/hyruleTown/script_Stockwell.inc new file mode 100644 index 00000000..c079da2b --- /dev/null +++ b/data/scripts/hyruleTown/script_Stockwell.inc @@ -0,0 +1,64 @@ +@ Hyrule Town Stockwell +SCRIPT_START script_Stockwell + BeginBlock + CheckLocalFlag 0x0054 + JumpIf script_08014382 + CheckLocalFlag 0x0053 + JumpIf script_08014330 + EndBlock +script_080142C4: + EndBlock + BeginBlock + _0807E564 + JumpIfNot script_080142C4 + CheckPlayerInRegion 0x0098, 0x0058, 0x1818 + JumpIfNot script_080142C4 + EndBlock + _0807E864 + SetLocalFlag 0x0053 + Wait 0x0014 + _0807E908 0x0004 + Call sub_080654DC + Wait 0x001e + _0807E930 0x0001 + Wait 0x000a + _0807E930 0x0003 + Wait 0x000a + _0807E930 0x0001 + Wait 0x000a + _0807E930 0x0003 + Wait 0x000a + _0807E930 0x0002 + Wait 0x001e + MessageNoOverlap 0x2c12 + WaitUntilTextboxCloses + Wait 0x0014 + _0807E930 0x0004 + _0807E878 + _0807E908 0x0001 +script_08014330: + EndBlock + BeginBlock + _0807E564 + JumpIf script_08014330 + EntityHasHeight + JumpIf script_08014330 + CheckPlayerInRegion 0x00c0, 0x0068, 0x1010 + JumpIfNot script_08014330 + EndBlock + _0807E864 + SetLocalFlag 0x0054 + Wait 0x005a + _0807E908 0x0004 + Call sub_080654EC + Wait 0x001e + _0807E930 0x0001 + Wait 0x001e + MessageNoOverlap 0x2c13 + WaitUntilTextboxCloses + Wait 0x0014 + _0807E930 0x0004 + _0807E908 0x0001 + _0807E878 +script_08014382: +SCRIPT_END diff --git a/data/scripts/hyruleTown/script_StockwellBuy.inc b/data/scripts/hyruleTown/script_StockwellBuy.inc new file mode 100644 index 00000000..ade623f7 --- /dev/null +++ b/data/scripts/hyruleTown/script_StockwellBuy.inc @@ -0,0 +1,23 @@ +@ Hyrule Town Stockwell do you want to buy? +SCRIPT_START script_StockwellBuy + EndBlock + _0807E864 + WaitUntilTextboxCloses + _0807E3E8 + JumpIfNot script_080143AC + Wait 0x001e + Call sub_08065370 + JumpIfNot script_080143AC + Wait 0x003c + WaitUntilTextboxCloses + _0807EB8C + Wait 0x001e + MessageNoOverlapVar +script_080143AC: + WaitUntilTextboxCloses + Wait 0x001e + _0807E930 0x0004 + _0807E908 0x0001 + _0807E878 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_StockwellDogFood.inc b/data/scripts/hyruleTown/script_StockwellDogFood.inc new file mode 100644 index 00000000..bbcb3dd7 --- /dev/null +++ b/data/scripts/hyruleTown/script_StockwellDogFood.inc @@ -0,0 +1,42 @@ +@ Stockwell pick up dog food +SCRIPT_START script_StockwellDogFood + EndBlock + _0807E864 + Call sub_0807DF28 + Call sub_080654FC + _0807E930 0x0001 + Call sub_080654EC + Wait 0x003c + MessageNoOverlap 0x2c16 + WaitUntilTextboxCloses + _0807E3E8 + JumpIf script_080143FA + SetIntVariable 0x00000002 + Call sub_08065528 + Jump script_0801443E +script_080143FA: + Call sub_080654EC + Wait 0x001e + MessageNoOverlap 0x2c18 + WaitUntilTextboxCloses + Wait 0x000a + SetIntVariable 0x00000000 + Call sub_08065528 + _0807F034 0x0036 + WaitPlayerGetItem + MessageNoOverlap 0x2c19 + WaitUntilTextboxCloses + SetIntVariable 0x00000303 + Call sub_0807F420 +.ifndef EU + Wait 0x001e + _0807EB8C + MessageNoOverlap 0x2c22 + WaitUntilTextboxCloses +.endif +script_0801443E: + _0807E930 0x0004 + _0807E908 0x0001 + Call sub_0807DF50 + _0807E878 +SCRIPT_END diff --git a/data/scripts/hyruleTown/script_Sturgeon.inc b/data/scripts/hyruleTown/script_Sturgeon.inc new file mode 100644 index 00000000..69be9796 --- /dev/null +++ b/data/scripts/hyruleTown/script_Sturgeon.inc @@ -0,0 +1,19 @@ +@ Library Sturgeon +SCRIPT_START script_Sturgeon + BeginBlock + Call sub_08064CC0 + DoPostScriptAction 0x000a + DoPostScriptAction 0x0007 + _0807EB44 0x0002 + _0807E930 0x0000 + EndBlock +script_0800ED76: + _0807E944 + _0807E864 + _0807EB74 + Call sub_08064CD8 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_0800ED76 + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_SturgeonAllBooksCollected.inc b/data/scripts/hyruleTown/script_SturgeonAllBooksCollected.inc new file mode 100644 index 00000000..e88200b9 --- /dev/null +++ b/data/scripts/hyruleTown/script_SturgeonAllBooksCollected.inc @@ -0,0 +1,55 @@ +@ Library Sturgeon all books collected +SCRIPT_START script_SturgeonAllBooksCollected + BeginBlock + SetEntityPositionRelative 0x0068, 0x0018 + DoPostScriptAction 0x000f + _0807EB44 0x0004 + _0807E930 0x0004 + SetEntitySpeed 0x0300 + PlaySound SFX_STAIRS + EndBlock + WaitForSomething 0x00000002 + MessageNoOverlap 0x490d + WaitUntilTextboxCloses + DoPostScriptAction 0x0007 + Call sub_08064D08 + _0807EDD4 0x0068, 0x0078 + Call sub_08064D10 + Wait 0x000f + _0807EB44 0x0002 + Wait 0x000f + Call sub_08064D08 + _0807EDD4 0x0098, 0x0078 + Call sub_08064D10 + Wait 0x000f + _0807EB44 0x0004 + PlaySound SFX_PLY_LIFT + Wait 0x000f + _0807EB44 0x0002 + _0807EDD4 0x00ac, 0x0078 + Wait 0x000f + _0807EB44 0x0004 + PlaySound SFX_PLY_LIFT + Wait 0x000f + _0807EB44 0x0002 + _0807EDD4 0x00c0, 0x0078 + Wait 0x000f + _0807EB44 0x0004 + PlaySound SFX_PLY_LIFT + Wait 0x000f + _0807EB44 0x0006 + Wait 0x001e + Call sub_08064D08 + _0807EDD4 0x0068, 0x0078 + Call sub_08064D10 + Wait 0x000f + _0807EB44 0x0000 + Wait 0x000f + Call sub_08064D08 + _0807EDD4 0x0068, 0x0018 + Call sub_08064D10 + PlaySound SFX_STAIRS + _0807E5F8 0x00000001 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_Teachers.inc b/data/scripts/hyruleTown/script_Teachers.inc new file mode 100644 index 00000000..5a9dfd9f --- /dev/null +++ b/data/scripts/hyruleTown/script_Teachers.inc @@ -0,0 +1,18 @@ +@ Hyrule Town Teachers +SCRIPT_START script_Teachers + BeginBlock + Call sub_0806C674 + DoPostScriptAction 0x000a + _0807EB44 0x0004 + EndBlock +script_0800E806: + CheckEntityInteractType + JumpIfNot script_0800E806 + _0807E864 + _0807EB74 + Call sub_0806C70C + WaitUntilTextboxCloses + _0807E878 + _0807EB44 0x0004 + Jump script_0800E806 + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_TownMinish1.inc b/data/scripts/hyruleTown/script_TownMinish1.inc new file mode 100644 index 00000000..d8004d43 --- /dev/null +++ b/data/scripts/hyruleTown/script_TownMinish1.inc @@ -0,0 +1,30 @@ +@ Hyrule Town TownMinish above carpenters +@ also in library, cafe +SCRIPT_START script_TownMinish1 + BeginBlock + Call sub_0806ADFC + DoPostScriptAction 0x000a +script_0800E6F4: + EndBlock + BeginBlock + CheckEntityInteractType + JumpIf script_0800E708 + Call sub_0806AEE4 + Jump script_0800E6F4 +script_0800E708: + EndBlock + _0807E864 + Call sub_0806AFE8 + JumpIf script_0800E722 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_0800E6F4 +script_0800E722: + WaitUntilTextboxCloses + _0807F034 0x0057 + WaitPlayerGetItem + WaitUntilTextboxCloses + _0807E878 + Jump script_0800E6F4 + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_TownMinish2.inc b/data/scripts/hyruleTown/script_TownMinish2.inc new file mode 100644 index 00000000..14f1a7ea --- /dev/null +++ b/data/scripts/hyruleTown/script_TownMinish2.inc @@ -0,0 +1,16 @@ +@ Town Minish above cafe +SCRIPT_START script_TownMinish2 + BeginBlock + _0807E9D4 + DoPostScriptAction 0x000a + EndBlock +script_0800E73E: + CheckEntityInteractType + JumpIfNot script_0800E73E + _0807E864 + _0807EB74 + CallWithArg sub_0806AF60, 0x00000000 + Call sub_0806AFE8 + WaitUntilTextboxCloses + _0807E878 + Jump script_0800E73E diff --git a/data/scripts/hyruleTown/script_TownMinish3.inc b/data/scripts/hyruleTown/script_TownMinish3.inc new file mode 100644 index 00000000..468a7163 --- /dev/null +++ b/data/scripts/hyruleTown/script_TownMinish3.inc @@ -0,0 +1,48 @@ +@ Town Minish on book above Dr Left +SCRIPT_START script_TownMinish3 + BeginBlock + _0807E9D4 + DoPostScriptAction 0x000a + SetEntitySpeed 0x0200 + CheckGlobalFlag 0x0029 + JumpIfNot script_0800E77C + CheckGlobalFlag 0x002a + JumpIfNot script_0800E786 +script_0800E77C: + SetEntityPositionRelative 0x0188, 0x0098 + Jump script_0800E6F4 +script_0800E786: + EndBlock +script_0800E788: + BeginBlock + CheckGlobalFlag 0x002a + JumpIf script_0800E7BA + CheckEntityInteractType + JumpIf script_0800E7A4 + Call sub_0806AEE4 + EndBlock + Jump script_0800E788 +script_0800E7A4: + EndBlock + _0807E864 + Call sub_0806AFE8 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_0800E788 +script_0800E7BA: + DoPostScriptAction 0x000f + _0807EB44 0x0002 + CallWithArg sub_0806AF60, 0x00000004 + Call sub_0806AF70 + _0807EE04 0x0188, 0x0058 +script_0800E7D8: + EndBlock + BeginBlock + Call sub_0806AF78 + _0807EE30 + JumpIfNot script_0800E7D8 + EntityHasHeight + JumpIf script_0800E7D8 + EndBlock + Jump script_0800E6F4 diff --git a/data/scripts/hyruleTown/script_TownMinish4.inc b/data/scripts/hyruleTown/script_TownMinish4.inc new file mode 100644 index 00000000..6925a769 --- /dev/null +++ b/data/scripts/hyruleTown/script_TownMinish4.inc @@ -0,0 +1,52 @@ +@ Town Minish above Mayor left +SCRIPT_START script_TownMinish4 + BeginBlock + _0807E9D4 + DoPostScriptAction 0x000a +script_0800ED98: + EndBlock + BeginBlock + CheckEntityInteractType + JumpIf script_0800EDB6 + TestBit 0x00000001 + JumpIf script_0800EE12 + Call sub_0806AEE4 + Jump script_0800ED98 +script_0800EDB6: + EndBlock + _0807E864 + Call sub_0807DF28 + CheckLocalFlag 0x00ae + JumpIf script_0800EE3E + Wait 0x000a + _0807E5F8 0x00000001 + MessageFromTarget 0x4c07 + WaitUntilTextboxCloses + _0807E5F8 0x00000010 + MessageFromTarget 0x4c08 + WaitUntilTextboxCloses + _0807E5F8 0x00000020 + MessageFromTarget 0x4c09 + WaitUntilTextboxCloses + SetIntVariable 0x00000503 + Call sub_0807F420 + _0807E5F8 0x00000040 + Call sub_0807DF50 + _0807E878 + SetLocalFlag 0x00ae + Jump script_0800ED98 +script_0800EE12: + EndBlock + WaitForSomething2 0x00000002 + _0807EB44 0x0002 + CallWithArg sub_0806AF60, 0x00000008 + WaitForSomething2 0x00000004 + Call sub_0806AED8 + WaitForSomething2 0x00000008 + Jump script_0800ED98 +script_0800EE3E: + MessageFromTarget 0x4c16 + WaitUntilTextboxCloses + Call sub_0807DF50 + _0807E878 + Jump script_0800ED98 diff --git a/data/scripts/hyruleTown/script_TownMinish5.inc b/data/scripts/hyruleTown/script_TownMinish5.inc new file mode 100644 index 00000000..5eaf7777 --- /dev/null +++ b/data/scripts/hyruleTown/script_TownMinish5.inc @@ -0,0 +1,64 @@ +@ Town Minish above Mayor right +SCRIPT_START script_TownMinish5 + BeginBlock + _0807E9D4 + DoPostScriptAction 0x000a +script_0800EE58: + EndBlock + BeginBlock + CheckEntityInteractType + JumpIf script_0800EE76 + TestBit 0x00000001 + JumpIf script_0800EED2 + Call sub_0806AEE4 + Jump script_0800EE58 +script_0800EE76: + EndBlock + _0807E864 + Call sub_0807DF28 + CheckLocalFlag 0x00ae + JumpIf script_0800EEFE + Wait 0x000a + _0807E5F8 0x00000001 + MessageFromTarget 0x4c07 + WaitUntilTextboxCloses + _0807E5F8 0x00000002 + MessageFromTarget 0x4c08 + WaitUntilTextboxCloses + _0807E5F8 0x00000004 + MessageFromTarget 0x4c09 + WaitUntilTextboxCloses + SetIntVariable 0x00000503 + Call sub_0807F420 + _0807E5F8 0x00000008 + Call sub_0807DF50 + _0807E878 + SetLocalFlag 0x00ae + Jump script_0800EE58 +script_0800EED2: + EndBlock + WaitForSomething2 0x00000010 + _0807EB44 0x0006 + CallWithArg sub_0806AF60, 0x00000008 + WaitForSomething2 0x00000020 + Call sub_0806AED8 + WaitForSomething2 0x00000040 + Jump script_0800EE58 +script_0800EEFE: + MessageFromTarget 0x4c15 + WaitUntilTextboxCloses + Call sub_0807DF50 + _0807E878 + Jump script_0800EE58 + MessageFromTarget 0x4c07 + WaitUntilTextboxCloses + _0807E5F8 0x00000012 + Wait 0x000a + MessageFromTarget 0x4c08 + WaitUntilTextboxCloses + _0807E5F8 0x00000024 + MessageFromTarget 0x4c09 + WaitUntilTextboxCloses + _0807E5F8 0x00000048 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/hyruleTown/script_TownMinish6.inc b/data/scripts/hyruleTown/script_TownMinish6.inc new file mode 100644 index 00000000..40da66be --- /dev/null +++ b/data/scripts/hyruleTown/script_TownMinish6.inc @@ -0,0 +1,46 @@ +@ Hyrule Town TownMinish at Dr Left +SCRIPT_START script_TownMinish6 + BeginBlock + SetEntitySpeed 0x0080 + _0807E9D4 + DoPostScriptAction 0x000a + CheckLocalFlag 0x007b + JumpIf script_0800F082 + EndBlock + Jump script_0800EFFE +script_0800EFDA: + _0807EB44 0x0006 + CallWithArg sub_0806AF60, 0x00000008 + Wait 0x0004 + _0807EB44 0x0004 + CallWithArg sub_0806AF60, 0x00000008 + Wait 0x0004 +script_0800EFFE: + _0807EB44 0x0002 + CallWithArg sub_0806AF60, 0x00000008 + Wait 0x0004 + _0807EB44 0x0002 + CallWithArg sub_0806AF60, 0x00000004 + _0807EDD4 0x0088, 0x0040 + DoPostScriptAction 0x000a + _0807EB44 0x0002 + CallWithArg sub_0806AF60, 0x00000008 + Wait 0x0004 + _0807EB44 0x0004 + CallWithArg sub_0806AF60, 0x00000008 + Wait 0x0004 + _0807EB44 0x0006 + CallWithArg sub_0806AF60, 0x00000008 + Wait 0x0004 + _0807EB44 0x0006 + CallWithArg sub_0806AF60, 0x00000004 + _0807EDD4 0x0068, 0x0040 + DoPostScriptAction 0x000a + CheckLocalFlag 0x007b + JumpIf script_0800F082 + Jump script_0800EFDA +script_0800F082: + EndBlock + Call sub_0806AEE4 + Jump script_0800F082 + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_Townsperson1.inc b/data/scripts/hyruleTown/script_Townsperson1.inc new file mode 100644 index 00000000..a3e3fa02 --- /dev/null +++ b/data/scripts/hyruleTown/script_Townsperson1.inc @@ -0,0 +1,18 @@ +@ Hyrule Townsperson 2? +SCRIPT_START script_Townsperson1 + BeginBlock + Call sub_08061FE4 + Call sub_08061E70 + DoPostScriptAction 0x000a + EndBlock +script_080100DC: + CheckEntityInteractType + JumpIfNot script_080100DC + _0807E864 + _0807EB74 + Call sub_08061FE4 + Call sub_08062048 + WaitUntilTextboxCloses + _0807E878 + Jump script_080100DC + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_Townsperson2.inc b/data/scripts/hyruleTown/script_Townsperson2.inc new file mode 100644 index 00000000..535ade2e --- /dev/null +++ b/data/scripts/hyruleTown/script_Townsperson2.inc @@ -0,0 +1,12 @@ +@ Hyrule Town Townsperson +SCRIPT_START script_Townsperson2 + BeginBlock + Call sub_08061FE4 + Call sub_08061E70 + DoPostScriptAction 0x000a + EndBlock +script_08010110: + Wait 0x003c + Call sub_08061E90 + Jump script_08010110 + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_TownspersonInDogHouse.inc b/data/scripts/hyruleTown/script_TownspersonInDogHouse.inc new file mode 100644 index 00000000..b9db7e3c --- /dev/null +++ b/data/scripts/hyruleTown/script_TownspersonInDogHouse.inc @@ -0,0 +1,19 @@ +@ Hyrule Townsperson house with dog +SCRIPT_START script_TownspersonInDogHouse + BeginBlock + Call sub_08061E70 + DoPostScriptAction 0x000a + _0807EB44 0x0004 + Call sub_08061FD8 + EndBlock +script_0800EB44: + CheckEntityInteractType + JumpIfNot script_0800EB44 + _0807E864 + _0807EB74 + Call sub_08061FD8 + Call sub_08062048 + WaitUntilTextboxCloses + _0807E878 + Jump script_0800EB44 + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_Wheaton.inc b/data/scripts/hyruleTown/script_Wheaton.inc new file mode 100644 index 00000000..277fcf4d --- /dev/null +++ b/data/scripts/hyruleTown/script_Wheaton.inc @@ -0,0 +1,21 @@ +@ Hyrule Town Wheaton +SCRIPT_START script_Wheaton + BeginBlock + _0807E9D4 + DoPostScriptAction 0x000a + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + EndBlock +script_08010686: + CheckEntityInteractType + JumpIfNot script_08010686 + _0807E864 + _0807EB74 + HasRoomItemForSale + Call sub_0807F77C + MessageFromTargetTable 0x3c08, 0x3c09 + WaitUntilTextboxCloses + _0807E878 + _0807EB44 0x0004 + Jump script_08010686 + .2byte 0x0000 diff --git a/data/scripts/hyruleTown/script_WindTribespeopleVisitor.inc b/data/scripts/hyruleTown/script_WindTribespeopleVisitor.inc new file mode 100644 index 00000000..c9cc110b --- /dev/null +++ b/data/scripts/hyruleTown/script_WindTribespeopleVisitor.inc @@ -0,0 +1,19 @@ +@ Hyrule Town Windstribepeople in house +SCRIPT_START script_WindTribespeopleVisitor + BeginBlock + Call sub_0806C870 + DoPostScriptAction 0x000a + _0807EB44 0x0004 + _0807E930 0x0000 + EndBlock +script_0800EB0E: + _0807E30C + JumpIfNot script_0800EB0E + _0807E864 + _0807EB74 + Call sub_0806C90C + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_0800EB0E + .2byte 0x0000 diff --git a/data/scripts/kinstoneFusion/script_BigGoronKinstone1.inc b/data/scripts/kinstoneFusion/script_BigGoronKinstone1.inc new file mode 100644 index 00000000..a7bee66e --- /dev/null +++ b/data/scripts/kinstoneFusion/script_BigGoronKinstone1.inc @@ -0,0 +1,10 @@ +@ BigGoron Kinstone cutscene 1 +SCRIPT_START script_BigGoronKinstone1 + BeginBlock + CallWithArg sub_0806D658, 0x00000003 + SetEntitySpeed 0x0200 + EndBlock +script_0800C362: + CheckRoomFlag 0x00ff + JumpIfNot script_0800C362 + _0807F0C8 0xffff, 0x0000 diff --git a/data/scripts/kinstoneFusion/script_BigGoronKinstone2.inc b/data/scripts/kinstoneFusion/script_BigGoronKinstone2.inc new file mode 100644 index 00000000..bcc6ae9a --- /dev/null +++ b/data/scripts/kinstoneFusion/script_BigGoronKinstone2.inc @@ -0,0 +1,15 @@ +@ BigGoron Kinstone cutscene2 +SCRIPT_START script_BigGoronKinstone2 + BeginBlock + Call sub_0806D660 + SetEntitySpeed 0x0080 + EndBlock + WaitForSomething2 0x00000002 + CallWithArg sub_0807F4F8, 0x00000048 + Call sub_0806D66C + Wait 0x000f + CallWithArg sub_0807F4F8, 0x00000068 + Call sub_0806D67C + _0807F0C8 0x001e, 0x0000 + PlaySound SFX_10B +SCRIPT_END diff --git a/data/scripts/kinstoneFusion/script_BigGoronKinstone3.inc b/data/scripts/kinstoneFusion/script_BigGoronKinstone3.inc new file mode 100644 index 00000000..a7ed3fdc --- /dev/null +++ b/data/scripts/kinstoneFusion/script_BigGoronKinstone3.inc @@ -0,0 +1,17 @@ +@ BigGoron Kinstone cutscene 3 +SCRIPT_START script_BigGoronKinstone3 + BeginBlock + Call sub_0806D660 + SetEntitySpeed 0x0080 + EndBlock + WaitForSomething2 0x00000004 + CallWithArg sub_0807F4F8, 0x00000048 + Call sub_0806D66C + Wait 0x000f + CallWithArg sub_0807F4F8, 0x00000068 + Call sub_0806D67C + _0807F0C8 0x001e, 0x0000 + PlaySound SFX_10B + _0807E5F8 0x00000001 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/kinstoneFusion/script_BigGoronKinstone4.inc b/data/scripts/kinstoneFusion/script_BigGoronKinstone4.inc new file mode 100644 index 00000000..76f39ce4 --- /dev/null +++ b/data/scripts/kinstoneFusion/script_BigGoronKinstone4.inc @@ -0,0 +1,14 @@ +@ BigGoron Kinstone cutscene 4 +SCRIPT_START script_BigGoronKinstone4 + _0807EEF4 0xfff8, 0x0000 + _0807EEF4 0x0010, 0x0000 + _0807EEF4 0xfff0, 0x0000 + _0807EEF4 0x0010, 0x0000 + _0807EEF4 0xfff8, 0x0000 + _0807F0C8 0x0000, 0x0000 + Wait 0x001e + MessageNoOverlap 0x1d00 + WaitUntilTextboxCloses + _0807E5F8 0x00000006 + WaitForSomething2 0x00000001 + _0807F0C8 0xffff, 0x0000 diff --git a/data/scripts/kinstoneFusion/script_BigGoronKinstone5.inc b/data/scripts/kinstoneFusion/script_BigGoronKinstone5.inc new file mode 100644 index 00000000..73498142 --- /dev/null +++ b/data/scripts/kinstoneFusion/script_BigGoronKinstone5.inc @@ -0,0 +1,8 @@ +@ BigGoron Kinstone Cutscene 5 +SCRIPT_START script_BigGoronKinstone5 + SetEntitySpeed 0x0080 + _0807EEF4 0x0000, 0xff30 + _0807F0C8 0x0000, 0x0000 + Wait 0x00b4 + Call sub_08054968 +SCRIPT_END diff --git a/data/scripts/kinstoneFusion/script_BombMinishKinstone.inc b/data/scripts/kinstoneFusion/script_BombMinishKinstone.inc new file mode 100644 index 00000000..b72d6684 --- /dev/null +++ b/data/scripts/kinstoneFusion/script_BombMinishKinstone.inc @@ -0,0 +1,17 @@ +@ Bomb Forest Minish during Kinstone cutscene +SCRIPT_START script_BombMinishKinstone + BeginBlock + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + Call sub_0807F348 + EndBlock +script_0800BB42: + CheckRoomFlag 0x00ff + JumpIfNot script_0800BB42 + DoPostScriptAction 0x0004 + Wait 0x003c + MessageNoOverlap 0x0e05 + WaitUntilTextboxCloses + Wait 0x0078 + Call sub_08054968 +SCRIPT_END diff --git a/data/scripts/kinstoneFusion/script_CarlovKinstone.inc b/data/scripts/kinstoneFusion/script_CarlovKinstone.inc new file mode 100644 index 00000000..93101d5e --- /dev/null +++ b/data/scripts/kinstoneFusion/script_CarlovKinstone.inc @@ -0,0 +1,16 @@ +@ Kinstone Cutscene for Carlov +SCRIPT_START script_CarlovKinstone + BeginBlock + _0807E930 0x0000 + EndBlock +script_0800BBE4: + CheckRoomFlag 0x00ff + JumpIfNot script_0800BBE4 + DoPostScriptAction 0x0004 + Wait 0x003c + MessageNoOverlap 0x0e03 + WaitUntilTextboxCloses + Wait 0x0078 + Call sub_08054968 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/kinstoneFusion/script_GhostBrotherKinstone.inc b/data/scripts/kinstoneFusion/script_GhostBrotherKinstone.inc new file mode 100644 index 00000000..ffa2b0be --- /dev/null +++ b/data/scripts/kinstoneFusion/script_GhostBrotherKinstone.inc @@ -0,0 +1,23 @@ +@ Ghost Brother in Kinstone cutscene +SCRIPT_START script_GhostBrotherKinstone + BeginBlock + DoPostScriptAction 0x0007 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + EndBlock +script_0800BC18: + CheckRoomFlag 0x00ff + JumpIfNot script_0800BC18 + DoPostScriptAction 0x0004 + Wait 0x003c + MessageNoOverlap 0x0e07 + WaitUntilTextboxCloses + BeginBlock + _0807EB44 0x0000 + _0807E930 0x0004 + EndBlock + Wait 0x003c + Call sub_08065CCC + Wait 0x0078 + Call sub_08054968 +SCRIPT_END diff --git a/data/scripts/kinstoneFusion/script_GormanFirstAppearance.inc b/data/scripts/kinstoneFusion/script_GormanFirstAppearance.inc new file mode 100644 index 00000000..ea1e2150 --- /dev/null +++ b/data/scripts/kinstoneFusion/script_GormanFirstAppearance.inc @@ -0,0 +1,24 @@ +@ Hyrule Town Gorman during Kinstone cutscene for first empty house +SCRIPT_START script_GormanFirstAppearance + BeginBlock + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + SetEntitySpeed 0x0040 + Call sub_0807F348 + EndBlock +script_0800BA8E: + CheckRoomFlag 0x00ff + JumpIfNot script_0800BA8E + _0807EDD4 0x02f8, 0x0350 + Wait 0x001e + DoPostScriptAction 0x0004 + Wait 0x003c + _0807EB44 0x0006 + Wait 0x001e + _0807EDD4 0x02f0, 0x0350 + Wait 0x001e + MessageNoOverlap 0x0e00 + WaitUntilTextboxCloses + Wait 0x0078 + Call sub_08054968 +SCRIPT_END diff --git a/data/scripts/kinstoneFusion/script_Goron1Kinstone2.inc b/data/scripts/kinstoneFusion/script_Goron1Kinstone2.inc new file mode 100644 index 00000000..9d560766 --- /dev/null +++ b/data/scripts/kinstoneFusion/script_Goron1Kinstone2.inc @@ -0,0 +1,38 @@ +@ 1st Goron during Kinstone cutscene for 2nd Goron +SCRIPT_START script_Goron1Kinstone2 + BeginBlock + _0807EB44 0x0004 + _0807E930 0x0008 + Call sub_0807F348 + EndBlock + WaitFor_2 + Wait 0x00f0 + _0807E930 0x0000 + Wait 0x003c + MessageNoOverlap 0x0e0a + WaitUntilTextboxCloses + _0807E930 0x0008 + Wait 0x003c + _0807E5F8 0x00000001 +script_0800BD1C: + CheckRoomFlag 0x00ff + JumpIfNot script_0800BD1C + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + _0807E930 0x0000 + DoPostScriptAction 0x0004 + Wait 0x003c + MessageNoOverlap 0x0e0c + WaitUntilTextboxCloses + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + DoPostScriptAction 0x000f + _0807E930 0x0008 + Wait 0x0168 + _0807E930 0x0000 + Wait 0x003c + _0807EB44 0x0002 + WaitForSomething2 0x00000004 + SetEntitySpeed 0x0080 + _0807EEF4 0x0000, 0xffe0 +SCRIPT_END diff --git a/data/scripts/kinstoneFusion/script_Goron1Kinstone3.inc b/data/scripts/kinstoneFusion/script_Goron1Kinstone3.inc new file mode 100644 index 00000000..21008023 --- /dev/null +++ b/data/scripts/kinstoneFusion/script_Goron1Kinstone3.inc @@ -0,0 +1,18 @@ +@ 1st Goron during 3rd Goron Kinstone cutscene +SCRIPT_START script_Goron1Kinstone3 + BeginBlock + _0807EB44 0x0004 + _0807E930 0x0008 + Call sub_0807F348 + EndBlock + WaitFor_2 + Wait 0x00f0 + _0807E930 0x0000 + _0807EB44 0x0002 + Wait 0x003c + MessageNoOverlap 0x0e0d + WaitUntilTextboxCloses + _0807E930 0x0008 + Wait 0x003c + Jump script_0800BE88 + .2byte 0x0000 diff --git a/data/scripts/kinstoneFusion/script_Goron1Kinstone4.inc b/data/scripts/kinstoneFusion/script_Goron1Kinstone4.inc new file mode 100644 index 00000000..66b724a4 --- /dev/null +++ b/data/scripts/kinstoneFusion/script_Goron1Kinstone4.inc @@ -0,0 +1,18 @@ +@ 1st Goron during 4th Goron cutscene +SCRIPT_START script_Goron1Kinstone4 + BeginBlock + _0807EB44 0x0004 + _0807E930 0x0008 + Call sub_0807F348 + EndBlock + WaitFor_2 + Wait 0x00f0 + _0807E930 0x0000 + _0807EB44 0x0002 + Wait 0x003c + MessageNoOverlap 0x0e10 + WaitUntilTextboxCloses + _0807E930 0x0008 + Wait 0x003c + Jump script_0800BFA4 + .2byte 0x0000 diff --git a/data/scripts/kinstoneFusion/script_Goron1Kinstone5.inc b/data/scripts/kinstoneFusion/script_Goron1Kinstone5.inc new file mode 100644 index 00000000..fd835e10 --- /dev/null +++ b/data/scripts/kinstoneFusion/script_Goron1Kinstone5.inc @@ -0,0 +1,18 @@ +@ 1st Goron during 5th Goron cutscene +SCRIPT_START script_Goron1Kinstone5 + BeginBlock + _0807EB44 0x0004 + _0807E930 0x0008 + Call sub_0807F348 + EndBlock + WaitFor_2 + Wait 0x00f0 + _0807E930 0x0000 + _0807EB44 0x0002 + Wait 0x003c + MessageNoOverlap 0x0e13 + WaitUntilTextboxCloses + _0807E930 0x0008 + Wait 0x003c + Jump script_0800C11C + .2byte 0x0000 diff --git a/data/scripts/kinstoneFusion/script_Goron1Kinstone6.inc b/data/scripts/kinstoneFusion/script_Goron1Kinstone6.inc new file mode 100644 index 00000000..7457449d --- /dev/null +++ b/data/scripts/kinstoneFusion/script_Goron1Kinstone6.inc @@ -0,0 +1,18 @@ +@ 1st Goron in 6th Goron cutscene +SCRIPT_START script_Goron1Kinstone6 + BeginBlock + _0807EB44 0x0004 + _0807E930 0x0008 + Call sub_0807F348 + EndBlock + WaitFor_2 + Wait 0x00f0 + _0807E930 0x0000 + _0807EB44 0x0002 + Wait 0x003c + MessageNoOverlap 0x0e16 + WaitUntilTextboxCloses + _0807E930 0x0008 + Wait 0x003c + Jump script_0800C244 + .2byte 0x0000 diff --git a/data/scripts/kinstoneFusion/script_Goron2Kinstone2.inc b/data/scripts/kinstoneFusion/script_Goron2Kinstone2.inc new file mode 100644 index 00000000..b438f5dd --- /dev/null +++ b/data/scripts/kinstoneFusion/script_Goron2Kinstone2.inc @@ -0,0 +1,36 @@ +@ 2nd Goron during Kinstone cutscene for 2nd Goron +SCRIPT_START script_Goron2Kinstone2 + BeginBlock + _0807EB44 0x0000 + _0807E930 0x0000 + DoPostScriptAction 0x0008 + SetEntitySpeed 0x0080 + Call sub_0807F348 + EndBlock + WaitForSomething2 0x00000002 + DoPostScriptAction 0x0007 + CallWithArg sub_0807F4F8, 0x00000270 + Wait 0x001e + MessageNoOverlap 0x0e0b + WaitUntilTextboxCloses + _0807E5F8 0x00000004 + WaitForSomething2 0x00000002 + SetEntitySpeed 0x0100 + _0807EDD4 0x0088, 0x0228 + Wait 0x000f + _0807E5F8 0x00000004 + DoPostScriptAction 0x000f + _0807E930 0x0008 + Wait 0x00b4 + CallWithArg sub_0804BF38, 0x00000000 + Wait 0x00b4 + CallWithArg sub_0804BF38, 0x00000003 + _0807EB44 0x0004 + _0807E930 0x0000 + Wait 0x003c + _0807EB44 0x0006 + _0807E5F8 0x00000004 + SetEntitySpeed 0x0080 + _0807EEF4 0x0000, 0xffe0 + Call sub_08054968 +SCRIPT_END diff --git a/data/scripts/kinstoneFusion/script_Goron2Kinstone3.inc b/data/scripts/kinstoneFusion/script_Goron2Kinstone3.inc new file mode 100644 index 00000000..0906ab67 --- /dev/null +++ b/data/scripts/kinstoneFusion/script_Goron2Kinstone3.inc @@ -0,0 +1,34 @@ +@ 2nd Goron during 3rd Goron cutscene +SCRIPT_START script_Goron2Kinstone3 + BeginBlock + _0807EB44 0x0004 + _0807E930 0x0008 + Call sub_0807F348 + EndBlock + WaitFor_2 + Wait 0x00f0 + _0807E930 0x0000 + _0807EB44 0x0006 + Wait 0x003c + WaitUntilTextboxCloses + _0807E930 0x0008 + Wait 0x003c + _0807E5F8 0x00000001 +script_0800BE88: + _0807EB44 0x0004 +script_0800BE8C: + CheckRoomFlag 0x00ff + JumpIfNot script_0800BE8C + _0807E5F8 0x00000002 + Call sub_08054F64 + _0807E930 0x0000 + DoPostScriptAction 0x0004 + Wait 0x003c + MessageNoOverlap 0x0e0f + WaitUntilTextboxCloses + _0807E5F8 0x00000002 + Call sub_08054F64 + DoPostScriptAction 0x000f + _0807E930 0x0008 + Wait 0x00f0 +SCRIPT_END diff --git a/data/scripts/kinstoneFusion/script_Goron2Kinstone4.inc b/data/scripts/kinstoneFusion/script_Goron2Kinstone4.inc new file mode 100644 index 00000000..d0e7f176 --- /dev/null +++ b/data/scripts/kinstoneFusion/script_Goron2Kinstone4.inc @@ -0,0 +1,40 @@ +@ 2nd and 3rd Goron during 4th Goron cutscene +SCRIPT_START script_Goron2Kinstone4 + BeginBlock + _0807EB44 0x0004 + _0807E930 0x0008 + Call sub_0807F348 + EndBlock + WaitFor_2 + Wait 0x00f0 + _0807E930 0x0000 + _0807EB44 0x0006 + Wait 0x003c + WaitUntilTextboxCloses + _0807E930 0x0008 + Wait 0x003c + _0807E5F8 0x00000001 +script_0800BFA4: + _0807EB44 0x0004 +script_0800BFA8: + CheckRoomFlag 0x00ff + JumpIfNot script_0800BFA8 + _0807E5F8 0x00000002 + Call sub_08054F64 + _0807E930 0x0000 + DoPostScriptAction 0x0004 + Wait 0x003c + MessageNoOverlap 0x0e12 + WaitUntilTextboxCloses + _0807E5F8 0x00000002 + Call sub_08054F64 + DoPostScriptAction 0x000f + _0807E930 0x0008 + Wait 0x0168 + _0807EB44 0x0004 + _0807E930 0x0000 + Wait 0x003c + Call sub_08054F64 + SetEntitySpeed 0x0080 + _0807EEF4 0x0000, 0xffe0 +SCRIPT_END diff --git a/data/scripts/kinstoneFusion/script_Goron2Kinstone5.inc b/data/scripts/kinstoneFusion/script_Goron2Kinstone5.inc new file mode 100644 index 00000000..9faaee2b --- /dev/null +++ b/data/scripts/kinstoneFusion/script_Goron2Kinstone5.inc @@ -0,0 +1,34 @@ +@ 2nd, 3rd and 4th Goron during 5th Goron cutscene +SCRIPT_START script_Goron2Kinstone5 + BeginBlock + _0807EB44 0x0004 + _0807E930 0x0008 + Call sub_0807F348 + EndBlock + WaitFor_2 + Wait 0x00f0 + _0807E930 0x0000 + _0807EB44 0x0006 + Wait 0x003c + WaitUntilTextboxCloses + _0807E930 0x0008 + Wait 0x003c + _0807E5F8 0x00000001 +script_0800C11C: + _0807EB44 0x0004 +script_0800C120: + CheckRoomFlag 0x00ff + JumpIfNot script_0800C120 + _0807E5F8 0x00000002 + Call sub_08054F64 + _0807E930 0x0000 + DoPostScriptAction 0x0004 + Wait 0x003c + MessageNoOverlap 0x0e15 + WaitUntilTextboxCloses + _0807E5F8 0x00000002 + Call sub_08054F64 + DoPostScriptAction 0x000f + _0807E930 0x0008 + Wait 0x00f0 +SCRIPT_END diff --git a/data/scripts/kinstoneFusion/script_Goron2Kinstone6.inc b/data/scripts/kinstoneFusion/script_Goron2Kinstone6.inc new file mode 100644 index 00000000..bcd34839 --- /dev/null +++ b/data/scripts/kinstoneFusion/script_Goron2Kinstone6.inc @@ -0,0 +1,40 @@ +@ 2nd to 5th Goron in 6th Goron cutscene +SCRIPT_START script_Goron2Kinstone6 + BeginBlock + _0807EB44 0x0004 + _0807E930 0x0008 + Call sub_0807F348 + EndBlock + WaitFor_2 + Wait 0x00f0 + _0807E930 0x0000 + _0807EB44 0x0006 + Wait 0x003c + WaitUntilTextboxCloses + _0807E930 0x0008 + Wait 0x003c + _0807E5F8 0x00000001 +script_0800C244: + _0807EB44 0x0004 +script_0800C248: + CheckRoomFlag 0x00ff + JumpIfNot script_0800C248 + _0807E5F8 0x00000002 + Call sub_08054F64 + _0807E930 0x0000 + DoPostScriptAction 0x0004 + Wait 0x003c + MessageNoOverlap 0x0e18 + WaitUntilTextboxCloses + _0807E5F8 0x00000002 + Call sub_08054F64 + DoPostScriptAction 0x000f + _0807E930 0x0008 + Wait 0x0168 + _0807EB44 0x0004 + _0807E930 0x0000 + Wait 0x003c + Call sub_08054F64 + SetEntitySpeed 0x0080 + _0807EEF4 0x0000, 0xffe0 +SCRIPT_END diff --git a/data/scripts/kinstoneFusion/script_Goron3Kinstone3.inc b/data/scripts/kinstoneFusion/script_Goron3Kinstone3.inc new file mode 100644 index 00000000..1616c8fc --- /dev/null +++ b/data/scripts/kinstoneFusion/script_Goron3Kinstone3.inc @@ -0,0 +1,26 @@ +@ 3rd Goron during 3rd Goron cutscene +SCRIPT_START script_Goron3Kinstone3 + BeginBlock + _0807EB44 0x0000 + _0807E930 0x0000 + DoPostScriptAction 0x0008 + SetEntitySpeed 0x0080 + Call sub_0807F348 + EndBlock + WaitForSomething2 0x00000002 + DoPostScriptAction 0x0007 + CallWithArg sub_0807F4F8, 0x000001b8 + Wait 0x001e + MessageNoOverlap 0x0e0e + WaitUntilTextboxCloses + _0807E5F8 0x0000000c + WaitForSomething2 0x00000002 + SetEntitySpeed 0x0100 + _0807EDD4 0x0088, 0x0178 + Wait 0x000f + _0807E5F8 0x0000000c + DoPostScriptAction 0x000f + _0807E930 0x0008 + Wait 0x00f0 + Call sub_08054968 +SCRIPT_END diff --git a/data/scripts/kinstoneFusion/script_Goron4Kinstone4.inc b/data/scripts/kinstoneFusion/script_Goron4Kinstone4.inc new file mode 100644 index 00000000..29de7389 --- /dev/null +++ b/data/scripts/kinstoneFusion/script_Goron4Kinstone4.inc @@ -0,0 +1,37 @@ +@ 4th Goron during 4th Goron cutscene +SCRIPT_START script_Goron4Kinstone4 + BeginBlock + _0807EB44 0x0000 + _0807E930 0x0000 + DoPostScriptAction 0x0008 + SetEntitySpeed 0x0080 + Call sub_0807F348 + EndBlock + WaitForSomething2 0x00000002 + DoPostScriptAction 0x0007 + CallWithArg sub_0807F4F8, 0x000001b8 + Wait 0x001e + MessageNoOverlap 0x0e11 + WaitUntilTextboxCloses + _0807E5F8 0x0000001c + WaitForSomething2 0x00000002 + SetEntitySpeed 0x0100 + _0807EDD4 0x0088, 0x0188 + _0807EDD4 0x00a8, 0x0188 + _0807EDD4 0x00a8, 0x0178 + Wait 0x000f + _0807E5F8 0x0000001c + DoPostScriptAction 0x000f + _0807E930 0x0008 + Wait 0x00b4 + CallWithArg sub_0804BF38, 0x00000001 + Wait 0x00b4 + CallWithArg sub_0804BF38, 0x00000004 + _0807EB44 0x0004 + _0807E930 0x0000 + Wait 0x003c + _0807E5F8 0x0000001c + SetEntitySpeed 0x0080 + _0807EEF4 0x0000, 0xffe0 + Call sub_08054968 +SCRIPT_END diff --git a/data/scripts/kinstoneFusion/script_Goron5Kinstone5.inc b/data/scripts/kinstoneFusion/script_Goron5Kinstone5.inc new file mode 100644 index 00000000..0b75e7a9 --- /dev/null +++ b/data/scripts/kinstoneFusion/script_Goron5Kinstone5.inc @@ -0,0 +1,28 @@ +@ 5th Goron during 5th Goron cutscene +SCRIPT_START script_Goron5Kinstone5 + BeginBlock + _0807EB44 0x0000 + _0807E930 0x0000 + DoPostScriptAction 0x0008 + SetEntitySpeed 0x0080 + Call sub_0807F348 + EndBlock + WaitForSomething2 0x00000002 + DoPostScriptAction 0x0007 + CallWithArg sub_0807F4F8, 0x00000128 + Wait 0x001e + MessageNoOverlap 0x0e14 + WaitUntilTextboxCloses + _0807E5F8 0x0000003c + WaitForSomething2 0x00000002 + SetEntitySpeed 0x0100 + _0807EDD4 0x0098, 0x00e8 + _0807EDD4 0x00a8, 0x00e8 + _0807EDD4 0x00a8, 0x00d8 + Wait 0x000f + _0807E5F8 0x0000003c + DoPostScriptAction 0x000f + _0807E930 0x0008 + Wait 0x00f0 + Call sub_08054968 +SCRIPT_END diff --git a/data/scripts/kinstoneFusion/script_Goron6Kindstone6.inc b/data/scripts/kinstoneFusion/script_Goron6Kindstone6.inc new file mode 100644 index 00000000..1fb61b08 --- /dev/null +++ b/data/scripts/kinstoneFusion/script_Goron6Kindstone6.inc @@ -0,0 +1,37 @@ +@ 6th Goron in 6th Goron cutscene +SCRIPT_START script_Goron6Kindstone6 + BeginBlock + _0807EB44 0x0000 + _0807E930 0x0000 + DoPostScriptAction 0x0008 + SetEntitySpeed 0x0080 + Call sub_0807F348 + EndBlock + WaitForSomething2 0x00000002 + DoPostScriptAction 0x0007 + CallWithArg sub_0807F4F8, 0x00000128 + Wait 0x001e + MessageNoOverlap 0x0e17 + WaitUntilTextboxCloses + _0807E5F8 0x0000007c + WaitForSomething2 0x00000002 + SetEntitySpeed 0x0100 + _0807EDD4 0x0098, 0x00e8 + _0807EDD4 0x00c8, 0x00e8 + _0807EDD4 0x00c8, 0x00d8 + Wait 0x000f + _0807E5F8 0x0000007c + DoPostScriptAction 0x000f + _0807E930 0x0008 + Wait 0x00b4 + CallWithArg sub_0804BF38, 0x00000002 + Wait 0x00b4 + CallWithArg sub_0804BF38, 0x00000005 + _0807EB44 0x0004 + _0807E930 0x0000 + Wait 0x003c + _0807E5F8 0x0000007c + SetEntitySpeed 0x0080 + _0807EEF4 0x0000, 0xffe0 + Call sub_08054968 +SCRIPT_END diff --git a/data/scripts/kinstoneFusion/script_GoronKinstone.inc b/data/scripts/kinstoneFusion/script_GoronKinstone.inc new file mode 100644 index 00000000..3c4e7716 --- /dev/null +++ b/data/scripts/kinstoneFusion/script_GoronKinstone.inc @@ -0,0 +1,39 @@ +@ Goron in fusing kinstone cutscene +SCRIPT_START script_GoronKinstone + BeginBlock + _0807EB44 0x0004 + _0807E930 0x0008 + Call sub_08054EB8 + EndBlock +script_0800BC62: + CheckRoomFlag 0x00ff + JumpIfNot script_0800BC62 + _0807E930 0x0000 + Wait 0x001e + DoPostScriptAction 0x0004 + Wait 0x003c + MessageNoOverlap 0x0e08 + WaitUntilTextboxCloses + DoPostScriptAction 0x000f + _0807E930 0x0008 + Wait 0x00f0 + Call sub_08054EFC + _0807EB44 0x0000 + _0807E930 0x0000 + SetEntitySpeed 0x0040 + DoPostScriptAction 0x000d + CallWithArg sub_0807F4F8, 0x00000378 + Wait 0x003c + DoPostScriptAction 0x000c + Wait 0x003c + MessageNoOverlap 0x0e09 + WaitUntilTextboxCloses + Call sub_0807F158 + CallWithArg sub_0807F4F8, 0x0000035c + Wait 0x001e + PlaySound SFX_STAIRS_DESCEND + DoPostScriptAction 0x0008 + Wait 0x0078 + Call sub_08054968 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/kinstoneFusion/script_GoronMerchantArriving.inc b/data/scripts/kinstoneFusion/script_GoronMerchantArriving.inc new file mode 100644 index 00000000..7787515f --- /dev/null +++ b/data/scripts/kinstoneFusion/script_GoronMerchantArriving.inc @@ -0,0 +1,19 @@ +@ Goron Merchant in arriving Kinstone cutscene +SCRIPT_START script_GoronMerchantArriving + BeginBlock + _0807EB44 0x0006 + DoPostScriptAction 0x0000 + SetEntitySpeed 0x0040 + Call sub_0807F348 + EndBlock +script_0800BB7A: + CheckRoomFlag 0x00ff + JumpIfNot script_0800BB7A + _0807EDD4 0x03a0, 0x00f8 + Wait 0x001e + MessageNoOverlap 0x0e06 + WaitUntilTextboxCloses + Wait 0x000f + _0807EDD4 0x0380, 0x00f8 + Call sub_08054968 +SCRIPT_END diff --git a/data/scripts/kinstoneFusion/script_MutohKinstone.inc b/data/scripts/kinstoneFusion/script_MutohKinstone.inc new file mode 100644 index 00000000..ecc3f65b --- /dev/null +++ b/data/scripts/kinstoneFusion/script_MutohKinstone.inc @@ -0,0 +1,17 @@ +@ Hyrule Town Mutoh in Kinstone cutscene +SCRIPT_START script_MutohKinstone + BeginBlock + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + Call sub_0807F348 + EndBlock +script_0800BADE: + CheckRoomFlag 0x00ff + JumpIfNot script_0800BADE + DoPostScriptAction 0x0004 + Wait 0x003c + MessageNoOverlap 0x0e01 + WaitUntilTextboxCloses + Wait 0x0078 + Call sub_08054968 +SCRIPT_END diff --git a/data/scripts/kinstoneFusion/script_ObjectB3KinstoneSpark.inc b/data/scripts/kinstoneFusion/script_ObjectB3KinstoneSpark.inc new file mode 100644 index 00000000..bc194636 --- /dev/null +++ b/data/scripts/kinstoneFusion/script_ObjectB3KinstoneSpark.inc @@ -0,0 +1,19 @@ +@ OBJECT_B3 spark in all fusing kinstone cutscenes +SCRIPT_START script_ObjectB3KinstoneSpark + BeginBlock + SetEntitySpeed 0x0180 + _0807E930 0x0004 + Call sub_080A0B28 + EndBlock + Wait 0x000a + DoPostScriptAction 0x0007 + PlaySound SFX_136 +script_0800C47A: + _0807EE30 + JumpIfNot script_0800C47A + Wait 0x003c + SetRoomFlag 0x00ff + _0807E930 0x0005 + Wait 0x000f +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/kinstoneFusion/script_ObjectB3KinstoneSparkFromBottom.inc b/data/scripts/kinstoneFusion/script_ObjectB3KinstoneSparkFromBottom.inc new file mode 100644 index 00000000..6b6cfe46 --- /dev/null +++ b/data/scripts/kinstoneFusion/script_ObjectB3KinstoneSparkFromBottom.inc @@ -0,0 +1,18 @@ +@ Hyrule Town OBJECT_B3 Kinstone spark red from bottom +SCRIPT_START script_ObjectB3KinstoneSparkFromBottom + BeginBlock + SetEntitySpeed 0x0120 + _0807E930 0x0004 + EndBlock + Wait 0x000a + DoPostScriptAction 0x0007 + PlaySound SFX_136 + _0807EEF4 0x0000, 0xff90 + Wait 0x001e + _0807EEF4 0x0000, 0xffb0 + Wait 0x003c + SetRoomFlag 0x00ff + _0807E930 0x0005 + Wait 0x000f +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/kinstoneFusion/script_ObjectB3KinstoneSparkGoron.inc b/data/scripts/kinstoneFusion/script_ObjectB3KinstoneSparkGoron.inc new file mode 100644 index 00000000..24f5b296 --- /dev/null +++ b/data/scripts/kinstoneFusion/script_ObjectB3KinstoneSparkGoron.inc @@ -0,0 +1,20 @@ +@ OBJECT_B3 during Goron cutscene +@ blue from top +SCRIPT_START script_ObjectB3KinstoneSparkGoron + BeginBlock + SetEntitySpeed 0x0100 + _0807E930 0x0004 + DoPostScriptAction 0x0008 + EndBlock + WaitForSomething2 0x00000001 + Wait 0x000a + DoPostScriptAction 0x0007 + PlaySound SFX_136 + _0807EEF4 0x0000, 0x0060 + Wait 0x003c + _0807EEF4 0x0000, 0x0060 + Wait 0x001e + SetRoomFlag 0x00ff + _0807E930 0x0005 + Wait 0x000f +SCRIPT_END diff --git a/data/scripts/kinstoneFusion/script_ObjectB3KinstoneSparkGoronMerchang.inc b/data/scripts/kinstoneFusion/script_ObjectB3KinstoneSparkGoronMerchang.inc new file mode 100644 index 00000000..24ef7101 --- /dev/null +++ b/data/scripts/kinstoneFusion/script_ObjectB3KinstoneSparkGoronMerchang.inc @@ -0,0 +1,19 @@ +@ OBJECT_B3 in Goron Merchant arriving Kinstone cutscene +@ blue from left to right +SCRIPT_START script_ObjectB3KinstoneSparkGoronMerchang + BeginBlock + SetEntitySpeed 0x0180 + _0807E930 0x0004 + EndBlock + Wait 0x000a + DoPostScriptAction 0x0007 + PlaySound SFX_136 + _0807EEF4 0x00c0, 0x0000 + Wait 0x001e + _0807EEF4 0x0070, 0x0000 + Wait 0x003c + SetRoomFlag 0x00ff + _0807E930 0x0005 + Wait 0x000f +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/kinstoneFusion/script_StampKinstone.inc b/data/scripts/kinstoneFusion/script_StampKinstone.inc new file mode 100644 index 00000000..2e026161 --- /dev/null +++ b/data/scripts/kinstoneFusion/script_StampKinstone.inc @@ -0,0 +1,18 @@ +@ Hyrule Town Stamp in Kinstone Cutscene +SCRIPT_START script_StampKinstone + BeginBlock + DoPostScriptAction 0x0007 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + Call sub_0807F348 + EndBlock +script_0800BBBA: + CheckRoomFlag 0x00ff + JumpIfNot script_0800BBBA + DoPostScriptAction 0x0004 + Wait 0x003c + MessageNoOverlap 0x0e04 + WaitUntilTextboxCloses + Wait 0x0078 + Call sub_08054968 +SCRIPT_END diff --git a/data/scripts/kinstoneFusion/script_SyrupKinstone.inc b/data/scripts/kinstoneFusion/script_SyrupKinstone.inc new file mode 100644 index 00000000..c76dd55b --- /dev/null +++ b/data/scripts/kinstoneFusion/script_SyrupKinstone.inc @@ -0,0 +1,17 @@ +@ Syrup during Kinstone cutscene +SCRIPT_START script_SyrupKinstone + BeginBlock + EndBlock +script_0800BB04: + CheckRoomFlag 0x00ff + JumpIfNot script_0800BB04 + DoPostScriptAction 0x0004 + Wait 0x003c + MessageNoOverlap 0x0e02 + WaitUntilTextboxCloses + Wait 0x003c + DoPostScriptAction 0x000f + Wait 0x00b4 + Call sub_08054968 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/lakeHylia/script_EzloTalkOcarina.inc b/data/scripts/lakeHylia/script_EzloTalkOcarina.inc new file mode 100644 index 00000000..0846a9a4 --- /dev/null +++ b/data/scripts/lakeHylia/script_EzloTalkOcarina.inc @@ -0,0 +1,12 @@ +@ Ezlo talk after first ocarina travel +SCRIPT_START script_EzloTalkOcarina + EndBlock + _0807E864 + Call sub_0807FA40 + Call sub_0807DF28 + _0807EB28 0x0b5f + WaitUntilTextboxCloses + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/lakeHylia/script_ForestMinish3.inc b/data/scripts/lakeHylia/script_ForestMinish3.inc new file mode 100644 index 00000000..583eeaa9 --- /dev/null +++ b/data/scripts/lakeHylia/script_ForestMinish3.inc @@ -0,0 +1,20 @@ +@ Lake Hylia Forest Minish telling us to go to the library +SCRIPT_START script_ForestMinish3 + BeginBlock + Call sub_08060090 + DoPostScriptAction 0x000a + EndBlock +script_0800C5D6: + BeginBlock + CheckEntityInteractType + JumpIf script_0800C5EA + Call sub_08060158 + EndBlock + Jump script_0800C5D6 +script_0800C5EA: + EndBlock + _0807E864 + Call sub_08060270 + WaitUntilTextboxCloses + _0807E878 + Jump script_0800C5D6 diff --git a/data/scripts/lakeHylia/script_KingGustafHologram.inc b/data/scripts/lakeHylia/script_KingGustafHologram.inc new file mode 100644 index 00000000..df7f4860 --- /dev/null +++ b/data/scripts/lakeHylia/script_KingGustafHologram.inc @@ -0,0 +1,52 @@ +@ After ToD King Gustaf +SCRIPT_START script_KingGustafHologram + BeginBlock + DoPostScriptAction 0x0008 + EndBlock +script_08012368: + CheckLocalFlag 0x0004 + JumpIfNot script_08012368 + Call sub_0807DF28 + _0807E864 + StopBgm + BeginBlock + _0807E778 0x0004 + SetFadeMask 0x00007fff + DoFade5 + _0807E858 0x0080 + EndBlock + WaitFor_2 + PlayBgm BGM_ELEMENTAL_SANCTUARY + _0807EB28 0x1401 + WaitUntilTextboxCloses + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x0007 + PlaySound SFX_ELEMENT_FLOAT + SetEntity0x20 0xffff8000 + Wait 0x003c + _0807E8E4_0 + StartPlayerScript script_PlayerAfterToD + WaitForSomething2 0x00000001 + MessageNoOverlap 0x1402 + WaitUntilTextboxCloses + StopBgm + SetEntity0x20 0x00010000 + Wait 0x003c + BeginBlock + _0807E778 0x0004 + SetFadeMask 0xffffffff + DoFade4 + _0807E858 0x0080 + EndBlock + WaitFor_2 + PlayBGM + _0807EB28 0x1403 + WaitUntilTextboxCloses + SetIntVariable 0x00000203 + Call sub_0807F420 + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/lakeHylia/script_Object69AfterToD.inc b/data/scripts/lakeHylia/script_Object69AfterToD.inc new file mode 100644 index 00000000..2ec33ffe --- /dev/null +++ b/data/scripts/lakeHylia/script_Object69AfterToD.inc @@ -0,0 +1,19 @@ +@ After ToD OBJECT_69 Cutscene +SCRIPT_START script_Object69AfterToD + _0807E864 +script_0800AFB2: + EndBlock + BeginBlock + Call sub_0807FBB4 + ComparePlayerAction 0x0001 + JumpIfNot script_0800AFB2 + EndBlock + Call sub_0807DF28 + _0807EB28 0x1c04 + WaitUntilTextboxCloses + SetLocalFlagByBank 0x0100, 0x0004 + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/lakeHylia/script_PlayerAfterToD.inc b/data/scripts/lakeHylia/script_PlayerAfterToD.inc new file mode 100644 index 00000000..c84c96c6 --- /dev/null +++ b/data/scripts/lakeHylia/script_PlayerAfterToD.inc @@ -0,0 +1,11 @@ +@ Player after ToD +SCRIPT_START script_PlayerAfterToD + BeginBlock + SetEntitySpeed 0x0080 + EndBlock + DoPostScriptAction 0x0004 + Wait 0x003c + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/lakeHylia/script_ShopwellsDog.inc b/data/scripts/lakeHylia/script_ShopwellsDog.inc new file mode 100644 index 00000000..fbf22a4f --- /dev/null +++ b/data/scripts/lakeHylia/script_ShopwellsDog.inc @@ -0,0 +1,13 @@ +@ Lake Hylia Dog +SCRIPT_START script_ShopwellsDog + BeginBlock + SetEntitySpeed 0x0100 + _0807EB44 0x0004 + EndBlock + Wait 0x001e + PlaySound SFX_VO_DOG + _0807EDD4 0x008a, 0x005a + Wait 0x000a + Call sub_08069EE8 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/lonLonRanch/scriptMalonInside.inc b/data/scripts/lonLonRanch/scriptMalonInside.inc new file mode 100644 index 00000000..6cbe0145 --- /dev/null +++ b/data/scripts/lonLonRanch/scriptMalonInside.inc @@ -0,0 +1,21 @@ +@ Lon Lon Farm Malon in ranch house? +SCRIPT_START scriptMalonInside + BeginBlock + DoPostScriptAction 0x000a + DoPostScriptAction 0x0007 + _0807EB44 0x0004 + _0807E930 0x000a + EndBlock +script_08014F0C: + CheckEntityInteractType + JumpIfNot script_08014F0C + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 + MessageNoOverlap 0x200e + WaitUntilTextboxCloses + _0807E878 + _0807EB44 0x0004 + _0807E930 0x000a + Jump script_08014F0C + .2byte 0x0000 diff --git a/data/scripts/lonLonRanch/script_GoronPunching.inc b/data/scripts/lonLonRanch/script_GoronPunching.inc new file mode 100644 index 00000000..77b616b6 --- /dev/null +++ b/data/scripts/lonLonRanch/script_GoronPunching.inc @@ -0,0 +1,42 @@ +@ Lon Lon Ranch Goron punching at cave +SCRIPT_START script_GoronPunching + BeginBlock + _0807E9D4 + Call sub_080694EC + DoPostScriptAction 0x000a + Call sub_080694B0 + EndBlock +script_0800B9CA: + Call sub_0807F434 + JumpTable script_0800B9CA, script_0800B9D8, script_0800B9F4 +script_0800B9D8: + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 + Call sub_080694D8 + WaitUntilTextboxCloses + Call sub_080694EC + _0807E878 + Jump script_0800B9CA +script_0800B9F4: + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 + Call sub_0807F650 + _0807E9F0 + _0807E864 + Call sub_0806948C + JumpIf script_0800BA24 + WaitUntilTextboxCloses + Call sub_080694EC + Call sub_0807DF50 + _0807E878 + Jump script_0800B9CA +script_0800BA24: + WaitUntilTextboxCloses + _0807E9DC + _0807E9D4 + Call sub_080694EC + Call sub_0807DF50 + _0807E878 + Jump script_0800B9CA diff --git a/data/scripts/lonLonRanch/script_LonLonRanchDoor.inc b/data/scripts/lonLonRanch/script_LonLonRanchDoor.inc new file mode 100644 index 00000000..06147589 --- /dev/null +++ b/data/scripts/lonLonRanch/script_LonLonRanchDoor.inc @@ -0,0 +1,22 @@ +@ Lon Lon Ranch Door +SCRIPT_START script_LonLonRanchDoor + BeginBlock + DoPostScriptAction 0x0007 + CheckGlobalFlag 0x001d + JumpIf script_0800B5BC + EndBlock + WaitForSomething2 0x00000010 + DoPostScriptAction 0x0008 + PlaySound SFX_111 + WaitForSomething2 0x00000010 + DoPostScriptAction 0x0007 + PlaySound SFX_111 + WaitForSomething2 0x00000010 + DoPostScriptAction 0x0008 + PlaySound SFX_111 + WaitForSomething2 0x00000010 + DoPostScriptAction 0x0007 + PlaySound SFX_111 +script_0800B5BC: + Call sub_0808692C +SCRIPT_END diff --git a/data/scripts/lonLonRanch/script_MalonLostKey.inc b/data/scripts/lonLonRanch/script_MalonLostKey.inc new file mode 100644 index 00000000..c9ca75d0 --- /dev/null +++ b/data/scripts/lonLonRanch/script_MalonLostKey.inc @@ -0,0 +1,47 @@ +@ Lon Lon Ranch Malon lost key +SCRIPT_START script_MalonLostKey + BeginBlock + DoPostScriptAction 0x000a + DoPostScriptAction 0x0001 + SetEntitySpeed 0x00c0 + _0807E9D4 +script_0800B4BC: + EndBlock + BeginBlock + CheckEntityInteractType + JumpIf script_0800B4D4 + TestBit 0x00000008 + JumpIf script_0800B4F0 + Jump script_0800B4BC +script_0800B4D4: + _0807E864 + _0807EB74 + DoPostScriptAction 0x0000 + MessageFromTarget 0x200b + EndBlock + _0807E878 + _0807EB44 0x0004 + DoPostScriptAction 0x0001 + Jump script_0800B4BC +script_0800B4F0: + EndBlock + _0807E610 0x00000008 + _0807EDD4 0x0134, 0x0288 + _0807EB44 0x0004 + WaitForSomething2 0x00000008 + MessageFromTarget 0x2016 + WaitUntilTextboxCloses + _0807EDD4 0x0158, 0x0288 + DoPostScriptAction 0x0000 + _0807EB44 0x0000 + Wait 0x000a + _0807E5F8 0x00000010 + DoPostScriptAction 0x0008 + Wait 0x001e + _0807E5F8 0x00000010 + SetGlobalFlag 0x001d + Call sub_0807921C + _0807E878 + Call sub_0807FBCC + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/lonLonRanch/script_PlayerGiveKey.inc b/data/scripts/lonLonRanch/script_PlayerGiveKey.inc new file mode 100644 index 00000000..b1559811 --- /dev/null +++ b/data/scripts/lonLonRanch/script_PlayerGiveKey.inc @@ -0,0 +1,12 @@ +@ Player at Lon Lon Ranch give key +SCRIPT_START script_PlayerGiveKey + BeginBlock + SetEntitySpeed 0x0100 + EndBlock + _0807EDD4 0x0128, 0x0298 + Wait 0x000a + _0807EB44 0x0002 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000002 +SCRIPT_END diff --git a/data/scripts/lonLonRanch/script_TalonGotKey.inc b/data/scripts/lonLonRanch/script_TalonGotKey.inc new file mode 100644 index 00000000..abdcc262 --- /dev/null +++ b/data/scripts/lonLonRanch/script_TalonGotKey.inc @@ -0,0 +1,37 @@ +@ Lon Lon Ranch Talon you have the key +SCRIPT_START script_TalonGotKey + BeginBlock + SetEntitySpeed 0x00c0 + _0807E908 0x0001 + DoPostScriptAction 0x000b + _0807E864 + Call sub_0807FBC4 + EndBlock + Wait 0x000a + DoPostScriptAction 0x0004 + _0807E5F8 0x00000008 + StartPlayerScript script_PlayerGiveKey + _0807EDD4 0x0140, 0x0298 + _0807EB74 + WaitForSomething2 0x00000004 + _0807EB74 + Wait 0x003c + PlaySound SFX_TASK_COMPLETE + _0807F088 0x0037 + WaitPlayerGetItem + _0807EB8C + MessageFromTarget 0x200c + WaitUntilTextboxCloses + Wait 0x0014 + _0807EDD4 0x0158, 0x0290 + Wait 0x000a + _0807EDD4 0x0158, 0x0288 + Wait 0x0014 + _0807E5F8 0x00000010 + _0807EDD4 0x0158, 0x0280 + Wait 0x000a + DoPostScriptAction 0x0008 + _0807E5F8 0x00000010 + _0807E5F8 0x00000008 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/lonLonRanch/script_TalonInside.inc b/data/scripts/lonLonRanch/script_TalonInside.inc new file mode 100644 index 00000000..81a53026 --- /dev/null +++ b/data/scripts/lonLonRanch/script_TalonInside.inc @@ -0,0 +1,37 @@ +@ Lon Lon Farm Talon in ranch house? +SCRIPT_START script_TalonInside + BeginBlock + DoPostScriptAction 0x000a + DoPostScriptAction 0x0007 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + EndBlock +script_08014E64: + CheckEntityInteractType + JumpIfNot script_08014E64 + _0807E864 + Call sub_0807DF28 + _0807EB74 + CallWithArg sub_0807F78C, 0x00000022 + WaitUntilTextboxCloses + _0807E3E8 + JumpIfNot script_08014EBC + CallWithArg sub_0807F7C4, 0x00000022 + JumpIfNot script_08014EB0 + _0807E48C 0x0020 + JumpIfNot script_08014EB8 + CallWithArg sub_0807F800, 0x00000022 + WaitPlayerGetItem + MessageNoOverlap 0x0a04 + Jump script_08014EBC +script_08014EB0: + MessageNoOverlap 0x0a03 + Jump script_08014EBC +script_08014EB8: + MessageNoOverlap 0x0a02 +script_08014EBC: + WaitUntilTextboxCloses + Call sub_0807DF50 + _0807E878 + Jump script_08014E64 + .2byte 0x0000 diff --git a/data/scripts/lonLonRanch/script_TalonInside2.inc b/data/scripts/lonLonRanch/script_TalonInside2.inc new file mode 100644 index 00000000..ff3fcf53 --- /dev/null +++ b/data/scripts/lonLonRanch/script_TalonInside2.inc @@ -0,0 +1,18 @@ +@ Lon Lon Ranch Talon inside +SCRIPT_START script_TalonInside2 + BeginBlock + DoPostScriptAction 0x000a + DoPostScriptAction 0x0007 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + EndBlock +script_08014EE0: + CheckEntityInteractType + JumpIfNot script_08014EE0 + _0807E864 + _0807EB74 + MessageNoOverlap 0x200d + WaitUntilTextboxCloses + _0807E878 + Jump script_08014EE0 + .2byte 0x0000 diff --git a/data/scripts/lonLonRanch/script_TalonLostKey.inc b/data/scripts/lonLonRanch/script_TalonLostKey.inc new file mode 100644 index 00000000..244d7435 --- /dev/null +++ b/data/scripts/lonLonRanch/script_TalonLostKey.inc @@ -0,0 +1,26 @@ +@ Lon Lon Ranch Talon lost key +SCRIPT_START script_TalonLostKey + BeginBlock + DoPostScriptAction 0x000a + Call sub_0807F158 + SetEntitySpeed 0x0120 + _0807EB44 0x0004 + _0807E908 0x0002 + SetIntVariable 0x0000200a + EndBlock +script_0800B3C4: + _0807EDD4 0x0158, 0x0290 + Call sub_08065780 + Call sub_08065780 + Call sub_08065780 + Call sub_08065780 + Call sub_08065780 + Call sub_08065780 + _0807EDD4 0x0128, 0x0290 + Call sub_08065780 + Call sub_08065780 + Call sub_08065780 + Call sub_08065780 + Call sub_08065780 + Call sub_08065780 + Jump script_0800B3C4 diff --git a/data/scripts/minishWoods/script_08012C98.inc b/data/scripts/minishWoods/script_08012C98.inc new file mode 100644 index 00000000..64ddd7ac --- /dev/null +++ b/data/scripts/minishWoods/script_08012C98.inc @@ -0,0 +1,35 @@ +@ Minish Woods OBJECT_69 ? +@ Ezlo Trigger to explain how portals work +SCRIPT_START script_08012C98 + CheckGlobalFlag 0x0014 + JumpIfNot script_08012C98 +script_08012CA0: + EndBlock + BeginBlock + CheckPlayerInRegion 0x0398, 0x03b0, 0x2040 + JumpIfNot script_08012CA0 + _0807E564 + JumpIf script_08012CD2 + EndBlock + _0807E864 + Call sub_0807DF28 + _0807EB28 0x2202 + WaitUntilTextboxCloses +.ifdef JP + SetLocalFlag 0x003a +.else +.ifdef EU + SetLocalFlag 0x003a +.else +.ifdef DEMO_JP + SetLocalFlag 0x003a @ TODO deduplicate +.else + SetLocalFlag 0x003b +.endif +.endif +.endif + Call sub_0807DF50 + _0807E878 +script_08012CD2: + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/minishWoods/script_08012D18.inc b/data/scripts/minishWoods/script_08012D18.inc new file mode 100644 index 00000000..8bffc355 --- /dev/null +++ b/data/scripts/minishWoods/script_08012D18.inc @@ -0,0 +1,25 @@ +@ Minish Woods OBJECT_69 2? +SCRIPT_START script_08012D18 + EndBlock + BeginBlock + CheckGlobalFlag 0x0014 + JumpIfNot script_08012D18 + CheckLocalFlagByBank 0x0200, 0x008d + JumpIf script_08012D68 + CheckPlayerInRegion 0x0000, 0x01a8, 0x2010 + JumpIfNot script_08012D18 + EndBlock + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + _0807EB28 0x111a + WaitUntilTextboxCloses + StartPlayerScript script_PlayerCannotEnter + WaitForSomething2 0x00000001 + Call sub_0807DF50 + _0807E878 + Jump script_08012D18 +script_08012D68: + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/minishWoods/script_BombMinish.inc b/data/scripts/minishWoods/script_BombMinish.inc new file mode 100644 index 00000000..a9c6e55c --- /dev/null +++ b/data/scripts/minishWoods/script_BombMinish.inc @@ -0,0 +1,119 @@ +@ Minish Woods Bomb Minish +SCRIPT_START script_BombMinish + BeginBlock + _0807EB44 0x0004 + Call sub_08060090 + DoPostScriptAction 0x000a + CheckKinstoneFused 0x001c + JumpIf script_08009FD2 + CheckInventory1 0x0007 + JumpIf script_08009F84 + EndBlock +script_08009F36: + EndBlock + BeginBlock + Call sub_08060158 + CheckEntityInteractType + JumpIfNot script_08009F36 + EndBlock + _0807E864 + Call sub_0807DF28 + DoPostScriptAction 0x000b + StartPlayerScript script_PlayerAtBombMinish + WaitForSomething2 0x00000002 + Call sub_0806014C + MessageFromTargetPos 0x1f01, 0x0000 + WaitUntilTextboxCloses + Wait 0x001e + _0807F034 0x0065 + WaitPlayerGetItem + DoPostScriptAction 0x000a + Call sub_0807DF50 + _0807E878 +script_08009F84: + EndBlock +script_08009F86: + EndBlock + BeginBlock + Call sub_08060158 + CheckEntityInteractType + JumpIfNot script_08009F86 + EndBlock + _0807E864 + Call sub_080602BC + WaitUntilTextboxCloses + CallWithArg sub_0807F970, 0x00001f03 + JumpIf script_08009FB6 + _0807E878 + Jump script_08009F86 +script_08009FB6: + Wait 0x0008 + PlaySound SFX_103 + CallWithArg sub_0806030C, 0x00000063 + Wait 0x0008 + _0807E878 + Jump script_08009F86 +script_08009FD2: + EndBlock + CheckLocalFlag 0x00b0 + JumpIf script_0800A024 +script_08009FDC: + EndBlock + BeginBlock + Call sub_08060158 + CheckEntityInteractType + JumpIfNot script_08009FDC + EndBlock + _0807E864 + MessageNoOverlap 0x1f0e + WaitUntilTextboxCloses + _0807E3E8 + JumpIf script_0800A002 + _0807E878 + Jump script_08009FDC +script_0800A002: + Wait 0x0008 + _0807F034 0x0008 + Call sub_08060318 + WaitPlayerGetItem + Wait 0x0008 + _0807EB8C + MessageFromTarget 0x1f13 + WaitUntilTextboxCloses + SetLocalFlag 0x00b0 + _0807E878 +script_0800A024: + EndBlock + BeginBlock + Call sub_08060158 + CheckEntityInteractType + JumpIfNot script_0800A024 + EndBlock + _0807E864 + CheckInventory1 0x0008 + JumpIf script_0800A052 + MessageNoOverlap 0x1f14 + WaitUntilTextboxCloses + _0807E3E8 + JumpIf script_0800A002 + _0807E878 + Jump script_0800A024 +script_0800A052: + MessageNoOverlap 0x1f11 + WaitUntilTextboxCloses + _0807E3E8 + JumpIf script_0800A064 + _0807E878 + Jump script_0800A024 +script_0800A064: + Wait 0x0008 + _0807F034 0x0007 + Call sub_08060318 + WaitPlayerGetItem + Wait 0x0008 + _0807EB8C + MessageFromTarget 0x1f10 + WaitUntilTextboxCloses + _0807E878 + Jump script_0800A024 + .2byte 0x0000 diff --git a/data/scripts/minishWoods/script_EzloTalkDWS.inc b/data/scripts/minishWoods/script_EzloTalkDWS.inc new file mode 100644 index 00000000..942b81bf --- /dev/null +++ b/data/scripts/minishWoods/script_EzloTalkDWS.inc @@ -0,0 +1,12 @@ +@ Minish Woods Ezlo talks after finishing earth temple +SCRIPT_START script_EzloTalkDWS + _0807E864 + Call sub_0807DF28 + _0807EB28 0x1c01 + WaitUntilTextboxCloses + SetLocalFlagByBank 0x0100, 0x0001 + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/minishWoods/script_EzloTalkMinishPortal.inc b/data/scripts/minishWoods/script_EzloTalkMinishPortal.inc new file mode 100644 index 00000000..b97e943e --- /dev/null +++ b/data/scripts/minishWoods/script_EzloTalkMinishPortal.inc @@ -0,0 +1,32 @@ +@ Minish Woods Ezlo Talks after exiting portal for the first time +SCRIPT_START script_EzloTalkMinishPortal + EndBlock + BeginBlock + _0807E564 + JumpIfNot script_EzloTalkMinishPortal + CheckPlayerInRegion 0x0380, 0x03b0, 0x4040 + JumpIfNot script_EzloTalkMinishPortal + ComparePlayerAction 0x0015 + JumpIf script_EzloTalkMinishPortal + _0807E864 + Call sub_0807DF28 + EndBlock + _0807EB28 0x2203 + WaitUntilTextboxCloses +.ifdef JP + SetLocalFlag 0x003d +.else +.ifdef EU + SetLocalFlag 0x003d +.else +.ifdef DEMO_JP + SetLocalFlag 0x003d @ TODO deduplicate +.else + SetLocalFlag 0x003e +.endif +.endif +.endif + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/minishWoods/script_Festari.inc b/data/scripts/minishWoods/script_Festari.inc new file mode 100644 index 00000000..2ce99363 --- /dev/null +++ b/data/scripts/minishWoods/script_Festari.inc @@ -0,0 +1,93 @@ +@ Festari at beginning +SCRIPT_START script_Festari + BeginBlock + DoPostScriptAction 0x000a + SetEntitySpeed 0x0080 + _0807EB44 0x0004 + CheckLocalFlag 0x0082 + JumpIfNot script_0800C650 + OffsetEntityPosition 0x0010, 0x0000 +script_0800C650: + EndBlock +script_0800C652: + _0807E944 + _0807E864 + Call sub_0807DF28 + CheckLocalFlag 0x0082 + JumpIf script_0800C684 + CheckPlayerInRegion 0x00e8, 0x0028, 0x1810 + JumpIfNot script_0800C674 + DoPostScriptAction 0x000b +script_0800C674: + StartPlayerScript script_PlayerAtFestari + WaitForSomething2 0x00000001 + DoPostScriptAction 0x000a +script_0800C684: + CheckInventory1 0x0040 + JumpIf script_0800C730 + CheckInventory1 0x005b + JumpIf script_0800C6B6 + DoPostScriptAction 0x0002 + MessageFromTarget 0x1f16 + WaitUntilTextboxCloses + DoPostScriptAction 0x0015 + Wait 0x000a + SetLocalFlag 0x0080 + Call sub_0807DF50 + _0807E878 + Jump script_0800C652 +script_0800C6B6: + CheckLocalFlag 0x0081 + JumpIf script_0800C6DC + DoPostScriptAction 0x0002 + MessageFromTarget 0x1f1b + WaitUntilTextboxCloses + DoPostScriptAction 0x0015 + Wait 0x000a + Call sub_0807DF50 + _0807E878 + Jump script_0800C652 +script_0800C6DC: + CheckLocalFlag 0x0082 + JumpIf script_0800C712 + DoPostScriptAction 0x0002 + MessageFromTarget 0x1f17 + WaitUntilTextboxCloses + DoPostScriptAction 0x0015 + Wait 0x000a + _0807EB44 0x0002 + DoPostScriptAction 0x0001 + _0807EC94 0x0020 + _0807EB44 0x0004 + Wait 0x000f + PlaySound SFX_SECRET + SetLocalFlag 0x0082 +script_0800C712: + DoPostScriptAction 0x0002 + MessageFromTarget 0x1f18 + WaitUntilTextboxCloses + DoPostScriptAction 0x0015 + Wait 0x000a + Call sub_0807DF50 + _0807E878 + Jump script_0800C652 +script_0800C730: + CheckLocalFlag 0x0083 + JumpIf script_0800C756 + DoPostScriptAction 0x0002 + MessageFromTarget 0x1f19 + WaitUntilTextboxCloses + DoPostScriptAction 0x0015 + Wait 0x000a + Call sub_0807DF50 + _0807E878 + Jump script_0800C652 +script_0800C756: + DoPostScriptAction 0x0002 + MessageFromTarget 0x1f1a + WaitUntilTextboxCloses + DoPostScriptAction 0x0015 + Wait 0x000a + Call sub_0807DF50 + _0807E878 + Jump script_0800C652 diff --git a/data/scripts/minishWoods/script_ForestMinish10.inc b/data/scripts/minishWoods/script_ForestMinish10.inc new file mode 100644 index 00000000..d1c1c825 --- /dev/null +++ b/data/scripts/minishWoods/script_ForestMinish10.inc @@ -0,0 +1,148 @@ +@ Minish Village ForestMinish at the back of the pico flowers +SCRIPT_START script_ForestMinish10 + BeginBlock + CheckInventory1 0x005b + JumpIfNot script_0800C5FE + Call sub_08060090 + DoPostScriptAction 0x000a + EndBlock +script_0800CD92: + EndBlock + BeginBlock + CheckEntityInteractType + JumpIf script_0800CDA6 + Call sub_08060158 + Jump script_0800CD92 +script_0800CDA6: + EndBlock + _0807E864 + Call sub_0807DF28 + CheckLocalFlag 0x009d + JumpIf script_0800CDC4 + SetLocalFlag 0x009d + MessageNoOverlap 0x213d + Jump script_0800CF40 +script_0800CDC4: + CheckGlobalFlag 0x003b + JumpIf script_0800CE46 + CheckGlobalFlag 0x0054 + JumpIfNot script_0800CDEC + CheckRoomFlag 0x0000 + JumpIfNot script_0800CF2A + SetGlobalFlag 0x003b + ClearGlobalFlag 0x0054 + MessageNoOverlap 0x2141 + Jump script_0800CF40 +script_0800CDEC: + MessageNoOverlap 0x213e + WaitUntilTextboxCloses + _0807E48C 0x0023 + JumpIfNot script_0800CE14 + MessageNoOverlap 0x214b + WaitUntilTextboxCloses + _0807E3E8 + JumpIfNot script_0800CF40 + PlaySound SFX_TASK_COMPLETE + _0807F088 0x0023 + WaitPlayerGetItem + Jump script_0800CE32 +script_0800CE14: + _0807E48C 0x0022 + JumpIfNot script_0800CF40 + MessageNoOverlap 0x214b + WaitUntilTextboxCloses + _0807E3E8 + JumpIfNot script_0800CF40 + PlaySound SFX_TASK_COMPLETE + _0807F088 0x0022 + WaitPlayerGetItem +script_0800CE32: + _0807EB8C + SetGlobalFlag 0x0054 + Call sub_08060340 + MessageNoOverlap 0x213f + Jump script_0800CF02 +script_0800CE46: + CheckGlobalFlag 0x003c + JumpIf script_0800CEA6 + CheckGlobalFlag 0x0054 + JumpIfNot script_0800CE6E + CheckRoomFlag 0x0000 + JumpIfNot script_0800CF2A + SetGlobalFlag 0x003c + ClearGlobalFlag 0x0054 + MessageNoOverlap 0x2145 + Jump script_0800CF40 +script_0800CE6E: + MessageNoOverlap 0x2142 + WaitUntilTextboxCloses + _0807E48C 0x0027 + JumpIfNot script_0800CF40 + MessageNoOverlap 0x214c + WaitUntilTextboxCloses + _0807E3E8 + JumpIfNot script_0800CF40 + PlaySound SFX_TASK_COMPLETE + _0807F088 0x0027 + WaitPlayerGetItem + _0807EB8C + SetGlobalFlag 0x0054 + Call sub_08060340 + MessageNoOverlap 0x2143 + Jump script_0800CF02 +script_0800CEA6: + CheckGlobalFlag 0x003d + JumpIf script_0800CF3C + CheckGlobalFlag 0x0054 + JumpIfNot script_0800CECE + CheckRoomFlag 0x0000 + JumpIfNot script_0800CF2A + SetGlobalFlag 0x003d + ClearGlobalFlag 0x0054 + MessageNoOverlap 0x2149 + Jump script_0800CF40 +script_0800CECE: + MessageNoOverlap 0x2146 + WaitUntilTextboxCloses + _0807E48C 0x0024 + JumpIfNot script_0800CF40 + MessageNoOverlap 0x214d + WaitUntilTextboxCloses + _0807E3E8 + JumpIfNot script_0800CF40 + PlaySound SFX_TASK_COMPLETE + _0807F088 0x0024 + WaitPlayerGetItem + _0807EB8C + SetGlobalFlag 0x0054 + Call sub_08060340 + MessageNoOverlap 0x2147 +script_0800CF02: + WaitUntilTextboxCloses + Call sub_0807DF50 + _0807E878 +script_0800CF0C: + EndBlock + BeginBlock + CheckEntityInteractType + JumpIf script_0800CF20 + Call sub_08060158 + Jump script_0800CF0C +script_0800CF20: + EndBlock + _0807E864 + Call sub_0807DF28 +script_0800CF2A: + MessageNoOverlap 0x2140 + WaitUntilTextboxCloses + Call sub_0807DF50 + _0807E878 + Jump script_0800CF0C +script_0800CF3C: + MessageNoOverlap 0x214a +script_0800CF40: + WaitUntilTextboxCloses + Call sub_0807DF50 + _0807E878 + Jump script_0800CD92 + .2byte 0x0000 diff --git a/data/scripts/minishWoods/script_ForestMinish4.inc b/data/scripts/minishWoods/script_ForestMinish4.inc new file mode 100644 index 00000000..792f37d0 --- /dev/null +++ b/data/scripts/minishWoods/script_ForestMinish4.inc @@ -0,0 +1,22 @@ +@ Minish Village Forest Minish +SCRIPT_START script_ForestMinish4 + BeginBlock +script_0800C5FE: + Call sub_08060090 + DoPostScriptAction 0x000a + EndBlock +script_0800C60A: + BeginBlock + CheckEntityInteractType + JumpIf script_0800C61E + Call sub_08060158 + EndBlock + Jump script_0800C60A +script_0800C61E: + EndBlock + _0807E864 + Call sub_0806021C + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_0800C60A diff --git a/data/scripts/minishWoods/script_Gentari.inc b/data/scripts/minishWoods/script_Gentari.inc new file mode 100644 index 00000000..12570732 --- /dev/null +++ b/data/scripts/minishWoods/script_Gentari.inc @@ -0,0 +1,99 @@ +@ Gentari at beginning +SCRIPT_START script_Gentari + BeginBlock + DoPostScriptAction 0x000a + _0807EB44 0x0004 + EndBlock +script_0800C780: + _0807E944 + _0807E864 + Call sub_0807DF28 + StartPlayerScript script_PlayerAtGentari + WaitForSomething2 0x00000001 + CheckInventory1 0x0040 + JumpIf script_0800C824 + CheckInventory1 0x005b + JumpIf script_0800C7C0 + _0807E930 0x0008 + MessageFromTarget 0x2122 + WaitUntilTextboxCloses + DoPostScriptAction 0x0000 + Call sub_0807DF50 + _0807E878 + Jump script_0800C780 +script_0800C7C0: + _0807E930 0x0008 + CheckLocalFlag 0x0081 + JumpIf script_0800C80A + MessageFromTarget 0x1130 + WaitUntilTextboxCloses + _0807EB28 0x1131 + WaitUntilTextboxCloses + _0807EB8C + MessageFromTarget 0x1132 + WaitUntilTextboxCloses + SetIntVariable 0x00000103 + Call sub_0807F420 + MessageFromTarget 0x1133 + WaitUntilTextboxCloses + Wait 0x000a + DoPostScriptAction 0x0000 + SetLocalFlag 0x0081 + Call sub_0807DF50 + _0807E878 + Jump script_0800C780 +script_0800C80A: + MessageFromTarget 0x1133 + WaitUntilTextboxCloses + Wait 0x000a + _0807E930 0x0000 + Call sub_0807DF50 + _0807E878 + Jump script_0800C780 +script_0800C824: + _0807E930 0x0008 + CheckLocalFlag 0x0083 + JumpIf script_0800C8AE + MessageFromTarget 0x1135 + WaitUntilTextboxCloses + SetEntitySpeed 0x0040 + _0807EDD4 0x0038, 0x0044 + DoPostScriptAction 0x0000 + Wait 0x000f + SetLocalFlag 0x0083 + Wait 0x003c + PlaySound SFX_SECRET + Wait 0x003c + _0807EB74 + _0807EB8C + MessageFromTarget 0x1136 + WaitUntilTextboxCloses + _0807EB28 0x1137 + WaitUntilTextboxCloses + Wait 0x000a + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + Call sub_0807DF50 + _0807E878 +script_0800C87C: + _0807E944 + _0807E864 + Call sub_0807DF28 + _0807EB74 + SetIntVariable 0x00000008 + Call sub_0807F3D8 + MessageFromTarget 0x1136 + WaitUntilTextboxCloses + Wait 0x000a + DoPostScriptAction 0x0000 + Call sub_0807DF50 + _0807E878 + Jump script_0800C87C +script_0800C8AE: + MessageFromTarget 0x1136 + WaitUntilTextboxCloses + Wait 0x000a + DoPostScriptAction 0x0000 + Call sub_0807DF50 + _0807E878 + Jump script_0800C780 diff --git a/data/scripts/minishWoods/script_Object69PotionBlue.inc b/data/scripts/minishWoods/script_Object69PotionBlue.inc new file mode 100644 index 00000000..324555ce --- /dev/null +++ b/data/scripts/minishWoods/script_Object69PotionBlue.inc @@ -0,0 +1,30 @@ +@ Syrup OBJECT_69 Potion +SCRIPT_START script_Object69PotionBlue + BeginBlock + Call sub_080787B4 + EndBlock +script_08016146: + CheckEntityInteractType + JumpIfNot script_08016146 + _0807E864 + GetInventoryValue 0x0025 + MessageFromTargetTable 0x2d03, 0x2d02, 0x2d02, 0x2d02 + _0807E3E8 + JumpIfNot script_0801618A + _0807E48C 0x0020 + JumpIf script_08016172 + MessageFromTarget 0x2d0c + Jump script_0801618A +script_08016172: + BuyItem 0x0025, 0x0000 + JumpIf script_08016184 + MessageFromTarget 0x2d0b + Jump script_0801618A +script_08016184: + WaitPlayerGetItem + MessageFromTarget 0x2d06 +script_0801618A: + _0807E878 + Jump script_08016146 + .align 2, 0 + diff --git a/data/scripts/minishWoods/script_Object69PotionRed.inc b/data/scripts/minishWoods/script_Object69PotionRed.inc new file mode 100644 index 00000000..edb403c8 --- /dev/null +++ b/data/scripts/minishWoods/script_Object69PotionRed.inc @@ -0,0 +1,36 @@ +@ OBJECT_69 in witch hut? +SCRIPT_START script_Object69PotionRed + BeginBlock + Call sub_080787B4 + EndBlock +script_0801619A: + CheckEntityInteractType + JumpIfNot script_0801619A + _0807E864 + GetInventoryValue 0x0024 + MessageFromTargetTable 0x2d05, 0x2d04, 0x2d04, 0x2d04 + _0807E3E8 + JumpIfNot script_080161E2 + _0807E48C 0x0020 + JumpIf script_080161C6 + MessageFromTarget 0x2d0c + Jump script_080161E2 +script_080161C6: + BuyItem 0x0024, 0x0000 + JumpIf script_080161D8 + MessageFromTarget 0x2d0b + Jump script_080161E2 +script_080161D8: +.ifndef EU + WaitPlayerGetItem + WaitUntilTextboxCloses + _0807EB8C + MessageNoOverlap 0x2d06 +.else + MessageFromTarget 0x2d06 +.endif +script_080161E2: + _0807E878 + Jump script_0801619A + .align 2, 0 + diff --git a/data/scripts/minishWoods/script_PlayerAtBombMinish.inc b/data/scripts/minishWoods/script_PlayerAtBombMinish.inc new file mode 100644 index 00000000..c9508e71 --- /dev/null +++ b/data/scripts/minishWoods/script_PlayerAtBombMinish.inc @@ -0,0 +1,13 @@ +@ Minish Woods Player at Bomb Minish +SCRIPT_START script_PlayerAtBombMinish + BeginBlock + SetEntitySpeed 0x0100 + EndBlock + _0807ECC4 0x0010 + _0807EDD4 0x0078, 0x0060 + _0807EB44 0x0000 + Wait 0x000f + DoPostScriptAction 0x0000 + _0807E5F8 0x00000002 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/minishWoods/script_PlayerAtFestari.inc b/data/scripts/minishWoods/script_PlayerAtFestari.inc new file mode 100644 index 00000000..503c9c9a --- /dev/null +++ b/data/scripts/minishWoods/script_PlayerAtFestari.inc @@ -0,0 +1,12 @@ +@ Player at Festari +SCRIPT_START script_PlayerAtFestari + BeginBlock + SetEntitySpeed 0x0100 + EndBlock + _0807EDD4 0x00e8, 0x0068 + _0807EB44 0x0000 + Wait 0x000f + DoPostScriptAction 0x0000 + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/minishWoods/script_PlayerAtGentari.inc b/data/scripts/minishWoods/script_PlayerAtGentari.inc new file mode 100644 index 00000000..343334bd --- /dev/null +++ b/data/scripts/minishWoods/script_PlayerAtGentari.inc @@ -0,0 +1,13 @@ +@ Player at Gentari +SCRIPT_START script_PlayerAtGentari + BeginBlock + SetEntitySpeed 0x0100 + EndBlock + _0807ECC4 0x0010 + _0807EDD4 0x0078, 0x0058 + _0807EB44 0x0000 + Wait 0x000f + DoPostScriptAction 0x0000 + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/minishWoods/script_PlayerAtMadderpillar.inc b/data/scripts/minishWoods/script_PlayerAtMadderpillar.inc new file mode 100644 index 00000000..8a0c171a --- /dev/null +++ b/data/scripts/minishWoods/script_PlayerAtMadderpillar.inc @@ -0,0 +1,16 @@ +@ DWS Player entering Madderpiller fight +@ also DHC Player entering a Dark Nut fight +SCRIPT_START script_PlayerAtMadderpillar + BeginBlock + SetEntitySpeed 0x0140 + SetEntityDirection 0x0018 + _0807E864 + Call sub_0807F354 + EndBlock + WaitForPlayerAction0x17 + _0807E8E4_3 + DoPostScriptAction 0x0001 + Call sub_080752AC + _0807E878 + Call sub_080791D0 +SCRIPT_END diff --git a/data/scripts/minishWoods/script_Syrup.inc b/data/scripts/minishWoods/script_Syrup.inc new file mode 100644 index 00000000..903e18b6 --- /dev/null +++ b/data/scripts/minishWoods/script_Syrup.inc @@ -0,0 +1,60 @@ +@ Syrup +SCRIPT_START script_Syrup + BeginBlock + _0807E9D4 + _0807E930 0x0008 +script_080160B0: + EndBlock + BeginBlock + CheckEntityInteractType + JumpIf script_080160E0 + TestBit 0x00000008 + JumpIf script_080160D2 + TestBit 0x00000010 + JumpIf script_080160D2 + Jump script_080160B0 +script_080160D2: + EndBlock + _0807EB74 + WaitForSomething2 0x00000004 + Jump script_080160B0 +script_080160E0: + _0807E864 + _0807EB74 + EndBlock + HasRoomItemForSale + JumpIfNot script_0801611A + MessageFromTarget 0x2d07 + WaitUntilTextboxCloses + _0807E3E8 + JumpIfNot script_08016132 + BuyItem 0x0000, 0x0000 + JumpIf script_0801610C + MessageFromTarget 0x2d0b + WaitUntilTextboxCloses + Jump script_08016132 +script_0801610C: + WaitPlayerGetItem +.ifndef EU + _0807EB8C + MessageFromTarget 0x2d0d +.else + MessageFromTarget 0x2d08 +.endif + WaitUntilTextboxCloses + Jump script_08016132 +script_0801611A: + CheckKinstoneFused 0x0014 + JumpIfNot script_0801612C + MessageFromTarget 0x2d09 + WaitUntilTextboxCloses + Jump script_08016132 +script_0801612C: + MessageFromTarget 0x2d01 + WaitUntilTextboxCloses +script_08016132: + _0807E878 + _0807EB44 0x0004 + Jump script_080160B0 + .align 2, 0 + diff --git a/data/scripts/mtCrenel/script_CrenelHermit.inc b/data/scripts/mtCrenel/script_CrenelHermit.inc new file mode 100644 index 00000000..9a05a3cf --- /dev/null +++ b/data/scripts/mtCrenel/script_CrenelHermit.inc @@ -0,0 +1,19 @@ +@ Crenel Hermit +SCRIPT_START script_CrenelHermit + BeginBlock + Call sub_08061E70 + DoPostScriptAction 0x000a + _0807EB44 0x0004 + Call sub_08061FD8 + EndBlock +script_0800B8FC: + CheckEntityInteractType + JumpIfNot script_0800B8FC + _0807E864 + _0807EB74 + Call sub_08061FD8 + Call sub_08062048 + WaitUntilTextboxCloses + _0807E878 + Jump script_0800B8FC + .2byte 0x0000 diff --git a/data/scripts/mtCrenel/script_EzloTalkCoF.inc b/data/scripts/mtCrenel/script_EzloTalkCoF.inc new file mode 100644 index 00000000..bfc736fb --- /dev/null +++ b/data/scripts/mtCrenel/script_EzloTalkCoF.inc @@ -0,0 +1,12 @@ +@ Mountain Ezlo text after beating CoF +SCRIPT_START script_EzloTalkCoF + _0807E864 + Call sub_0807DF28 + _0807EB28 0x1c02 + WaitUntilTextboxCloses + SetLocalFlagByBank 0x0100, 0x0002 + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/mtCrenel/script_GreatFairyBombs.inc b/data/scripts/mtCrenel/script_GreatFairyBombs.inc new file mode 100644 index 00000000..1117dc70 --- /dev/null +++ b/data/scripts/mtCrenel/script_GreatFairyBombs.inc @@ -0,0 +1,42 @@ +@ Mountain Great Fairy OBJECT_69 +SCRIPT_START script_GreatFairyBombs + BeginBlock + EndBlock +script_0800B734: + Call sub_0808747C + JumpIfNot script_0800B734 + Call sub_08079184 + _0807E864 + Wait 0x000a + Call sub_0807F9A4 + StartPlayerScript script_PlayerAtGreatFairy + WaitForSomething2 0x00000004 + SetRoomFlag 0x0000 + WaitForSomething2 0x00000004 + CheckLocalFlag 0x00a0 + JumpIf script_0800B7A2 + MessageNoOverlap 0x0580 + WaitUntilTextboxCloses + CallWithArg sub_0807F970, 0x00000582 + JumpIf script_0800B794 + CallWithArg sub_08087424, 0x00000001 + Wait 0x00b4 + Jump script_0800B6A6 +script_0800B794: + WaitUntilTextboxCloses + SetLocalFlag 0x00a0 + _0807F034 0x0065 + Jump script_0800B698 +script_0800B7A2: + MessageNoOverlap 0x0590 + WaitUntilTextboxCloses + _0807E778 0x0010 + DoFade7 + WaitFor_2 + ModHealth 0x00a0 + DoFade6 + WaitFor_2 + MessageNoOverlap 0x057f + WaitUntilTextboxCloses + Jump script_0800B6A6 + .2byte 0x0000 diff --git a/data/scripts/mtCrenel/script_Melari.inc b/data/scripts/mtCrenel/script_Melari.inc new file mode 100644 index 00000000..082a77c2 --- /dev/null +++ b/data/scripts/mtCrenel/script_Melari.inc @@ -0,0 +1,117 @@ +@ Mines Melari +SCRIPT_START script_Melari + BeginBlock + _0807E9D4 + DoPostScriptAction 0x000a + _0807EB44 0x0004 + _0807E930 0x0000 + EndBlock + CheckInventory1 0x0041 + JumpIf script_0800CFD2 + CheckLocalFlag 0x007e + JumpIfNot script_0800CFD2 + _0807E930 0x0008 +script_0800CFD2: + CheckInventory1 0x0002 + JumpIf script_0800CFFA + CheckInventory1 0x0041 + JumpIfNot script_0800CFEC + _0807E5F8 0x00000020 + Jump script_0800CFFA +script_0800CFEC: + CheckLocalFlag 0x007e + JumpIfNot script_0800CFFA + _0807E5F8 0x00000010 +script_0800CFFA: + EndBlock + BeginBlock + Call sub_08068910 + CheckEntityInteractType + JumpIfNot script_0800CFFA + EndBlock + _0807E864 + Call sub_0807DF28 + CheckInventory1 0x0002 + JumpIfNot script_0800D032 + _0807EB74 + SetIntVariable 0x00000000 + Call sub_0806C028 + MessageNoOverlap 0x1219 + Jump script_0800D17C +script_0800D032: + CheckInventory1 0x0041 + JumpIfNot script_0800D098 + StartPlayerScript script_PlayerAtMelari + WaitForSomething2 0x00000008 + _0807EB74 + SetIntVariable 0x00000000 + Call sub_0806C028 + MessageFromTargetPos 0x125c, 0x0002 + WaitUntilTextboxCloses + StartPlayerScript script_PlayerPlaceBrokenSword + WaitForSomething2 0x00000008 + _0807EB44 0x0002 + SetIntVariable 0x00000000 + Call sub_0806C028 + Wait 0x000f + _0807E5F8 0x00000020 + StartPlayerScript script_PlayerGetWhiteSword + WaitForSomething2 0x00000008 + MessageFromTargetPos 0x125d, 0x0002 + Jump script_0800D17C +script_0800D098: + CheckLocalFlag 0x007e + JumpIfNot script_0800D0A8 + MessageFromTarget 0x123e + Jump script_0800D17C +script_0800D0A8: + StartPlayerScript script_PlayerAtMelari + WaitForSomething2 0x00000008 + _0807E5F8 0x00000001 + WaitForSomething2 0x00000004 + _0807E5F8 0x00000001 + WaitForSomething2 0x00000004 + _0807EB74 + SetIntVariable 0x00000000 + Call sub_0806C028 + MessageFromTargetPos 0x123d, 0x0002 + WaitUntilTextboxCloses + StartPlayerScript script_PlayerPlaceBrokenSword + WaitForSomething2 0x00000008 + _0807EB44 0x0002 + SetIntVariable 0x00000000 + Call sub_0806C028 + PlaySound SFX_TASK_COMPLETE + Call sub_08068964 +script_0800D108: + ComparePlayerAction 0x0008 + JumpIf script_0800D108 + PlaySound SFX_F8 + _0807E5F8 0x00000010 + SetLocalFlag 0x007e + MessageFromTargetPos 0x123e, 0x0002 + WaitUntilTextboxCloses + Wait 0x000f + _0807E930 0x0009 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + _0807E5F8 0x00000002 + WaitForSomething2 0x00000004 + Wait 0x001e + MessageFromTargetPos 0x123f, 0x0002 + WaitUntilTextboxCloses + _0807E5F8 0x00000001 + WaitForSomething2 0x00000004 + _0807E5F8 0x00000001 + WaitForSomething2 0x00000004 + _0807E930 0x0008 + Wait 0x003c + Call sub_08095164 + _0807EB28 0x1240 +script_0800D17C: + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Call sub_0807DF50 + Jump script_0800CFFA + .2byte 0x0000 diff --git a/data/scripts/mtCrenel/script_MelariInRoom.inc b/data/scripts/mtCrenel/script_MelariInRoom.inc new file mode 100644 index 00000000..255d95e6 --- /dev/null +++ b/data/scripts/mtCrenel/script_MelariInRoom.inc @@ -0,0 +1,24 @@ +@ Mines Melari in his room +SCRIPT_START script_MelariInRoom + BeginBlock + Call sub_08068884 + DoPostScriptAction 0x000a + _0807EB44 0x0004 + _0807E930 0x0000 + EndBlock +script_0800D31E: + EndBlock + BeginBlock + Call sub_08068910 + CheckEntityInteractType + JumpIfNot script_0800D31E + EndBlock + _0807E864 + _0807EB74 + SetIntVariable 0x00000000 + Call sub_0806C028 + MessageFromTarget 0x1219 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_0800D31E diff --git a/data/scripts/mtCrenel/script_MountainMinish1.inc b/data/scripts/mtCrenel/script_MountainMinish1.inc new file mode 100644 index 00000000..ef7567fc --- /dev/null +++ b/data/scripts/mtCrenel/script_MountainMinish1.inc @@ -0,0 +1,21 @@ +@ Mines Mountain Minish before beds +SCRIPT_START script_MountainMinish1 + BeginBlock + Call sub_08068104 + DoPostScriptAction 0x000a + EndBlock +script_0800CF5E: + BeginBlock + CheckEntityInteractType + JumpIf script_0800CF72 + Call sub_0806811C + EndBlock + Jump script_0800CF5E +script_0800CF72: + EndBlock + _0807E864 + Call sub_08068190 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_0800CF5E diff --git a/data/scripts/mtCrenel/script_MountainMinish2.inc b/data/scripts/mtCrenel/script_MountainMinish2.inc new file mode 100644 index 00000000..ff89c97d --- /dev/null +++ b/data/scripts/mtCrenel/script_MountainMinish2.inc @@ -0,0 +1,14 @@ +@ Mines Mountain Minish +SCRIPT_START script_MountainMinish2 + BeginBlock + Call sub_08068104 + DoPostScriptAction 0x000a + EndBlock +script_0800CF96: + _0807E944 + _0807E864 + Call sub_08068190 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_0800CF96 diff --git a/data/scripts/mtCrenel/script_MountainMinish3.inc b/data/scripts/mtCrenel/script_MountainMinish3.inc new file mode 100644 index 00000000..9320c9e1 --- /dev/null +++ b/data/scripts/mtCrenel/script_MountainMinish3.inc @@ -0,0 +1,47 @@ +@ Mines Mountain Minish helpers +SCRIPT_START script_MountainMinish3 + BeginBlock + _0807E9D4 + DoPostScriptAction 0x000a + EndBlock +script_0800D282: + CheckInventory1 0x0041 + JumpIf script_0800D292 + CheckLocalFlag 0x007e + JumpIf script_0800D2EA +script_0800D292: + BeginBlock + TestBit 0x00000001 + JumpIf script_0800D2C6 + CheckEntityInteractType + JumpIf script_0800D2B0 + Call sub_0806811C + EndBlock + Jump script_0800D282 +script_0800D2B0: + EndBlock + _0807E864 + Call sub_08068190 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_0800D282 +script_0800D2C6: + EndBlock + _0807E5F8 0x00000004 + WaitForSomething2 0x00000002 + _0807E5F8 0x00000004 + _0807E930 0x000c + WaitForSomething2 0x00000001 + _0807E5F8 0x00000004 +script_0800D2EA: + _0807E930 0x000b +script_0800D2EE: + CheckEntityInteractType + JumpIfNot script_0800D2EE + _0807E864 + Call sub_08068190 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_0800D2EE diff --git a/data/scripts/mtCrenel/script_MountainMinish4.inc b/data/scripts/mtCrenel/script_MountainMinish4.inc new file mode 100644 index 00000000..a3555d08 --- /dev/null +++ b/data/scripts/mtCrenel/script_MountainMinish4.inc @@ -0,0 +1,45 @@ +@ Mines Mountain Minish at exit +SCRIPT_START script_MountainMinish4 + BeginBlock + Call sub_08068104 + DoPostScriptAction 0x000a + EndBlock +script_0800D35E: + BeginBlock + CheckEntityInteractType + JumpIf script_0800D372 + Call sub_0806811C + EndBlock + Jump script_0800D35E +script_0800D372: + EndBlock + _0807E864 + Call sub_08068190 + WaitUntilTextboxCloses + Wait 0x000f + CheckLocalFlag 0x007f + JumpIf script_0800D3E4 + CheckLocalFlag 0x007e + JumpIfNot script_0800D3E4 + DoPostScriptAction 0x000b + SetEntitySpeed 0x0100 + CheckPlayerInRegion 0x0090, 0x0130, 0x0810 + JumpIfNot script_0800D3B2 + StartPlayerScript script_PlayerAtMountainMinishExit + WaitForSomething2 0x00000001 +script_0800D3B2: + _0807EB44 0x0002 + _0807E930 0x0005 + _0807EDD4 0x00a0, 0x0130 + _0807EB44 0x0006 + _0807E930 0x0003 + SetIntVariable 0x00000004 + Call sub_080681D8 + PlaySound SFX_TASK_COMPLETE + Wait 0x001e + DoPostScriptAction 0x000a + SetLocalFlag 0x007f +script_0800D3E4: + _0807E878 + Jump script_0800D35E + .2byte 0x0000 diff --git a/data/scripts/mtCrenel/script_MountainMinish5.inc b/data/scripts/mtCrenel/script_MountainMinish5.inc new file mode 100644 index 00000000..a31a712b --- /dev/null +++ b/data/scripts/mtCrenel/script_MountainMinish5.inc @@ -0,0 +1,98 @@ +@ Mines Mountain Minish running +SCRIPT_START script_MountainMinish5 + BeginBlock + SetEntitySpeed 0x0100 + Call sub_08068104 + DoPostScriptAction 0x000a + EndBlock +script_0800D426: + _0807EB44 0x0002 + SetIntVariable 0x00000000 + Call sub_0806AF60 + Wait 0x0014 + _0807EB44 0x0004 + SetIntVariable 0x00000000 + Call sub_0806AF60 + Wait 0x0014 + _0807EB44 0x0006 + SetIntVariable 0x00000000 + Call sub_0806AF60 + Wait 0x0014 + _0807EB44 0x0006 + SetIntVariable 0x00000004 + Call sub_0806AF60 + _0807EDD4 0x00a8, 0x01e8 + _0807EB44 0x0006 + SetIntVariable 0x00000000 + Call sub_0806AF60 + Wait 0x0014 + _0807EB44 0x0004 + SetIntVariable 0x00000000 + Call sub_0806AF60 + Wait 0x0014 + _0807EB44 0x0002 + SetIntVariable 0x00000000 + Call sub_0806AF60 + Wait 0x0014 + _0807EB44 0x0002 + SetIntVariable 0x00000004 + Call sub_0806AF60 + _0807EDD4 0x0228, 0x01e8 + Jump script_0800D426 + .2byte 0x0000 + BeginBlock + DoPostScriptAction 0x000a + Call sub_08062A48 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 +script_0800D4E4: + EndBlock + Call sub_08062698 + Call sub_080626AC + CallWithArg sub_0807F0EC, 0x00000009 + JumpTable script_0800D510, script_0800D51A, script_0800D524, script_0800D52E, script_0800D538, script_0800D542, script_0800D54C, script_0800D556, script_0800D560 +script_0800D510: + _0807EE04 0x0038, 0x0068 + Jump script_0800D566 +script_0800D51A: + _0807EE04 0x0078, 0x0068 + Jump script_0800D566 +script_0800D524: + _0807EE04 0x00b8, 0x0068 + Jump script_0800D566 +script_0800D52E: + _0807EE04 0x0038, 0x0090 + Jump script_0800D566 +script_0800D538: + _0807EE04 0x0078, 0x0090 + Jump script_0800D566 +script_0800D542: + _0807EE04 0x00b8, 0x0090 + Jump script_0800D566 +script_0800D54C: + _0807EE04 0x0038, 0x00b8 + Jump script_0800D566 +script_0800D556: + _0807EE04 0x0078, 0x00b8 + Jump script_0800D566 +script_0800D560: + _0807EE04 0x00b8, 0x00b8 +script_0800D566: + EndBlock + BeginBlock + Call sub_080626C0 + JumpIf script_0800D4E4 + CheckEntityInteractType + JumpIf script_0800D584 + _0807EE30 + JumpIfNot script_0800D566 + Jump script_0800D4E4 +script_0800D584: + EndBlock + _0807E864 + _0807EB74 + Call sub_0806265C + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_0800D4E4 diff --git a/data/scripts/mtCrenel/script_Object6ABrokenSword.inc b/data/scripts/mtCrenel/script_Object6ABrokenSword.inc new file mode 100644 index 00000000..33f2b78f --- /dev/null +++ b/data/scripts/mtCrenel/script_Object6ABrokenSword.inc @@ -0,0 +1,21 @@ +@ Mines OBJECT_6A Broken Sword on Table? +SCRIPT_START script_Object6ABrokenSword + BeginBlock + CheckInventory1 0x0041 + JumpIf script_0800D24C + CheckLocalFlag 0x007e + JumpIf script_0800D242 + DoPostScriptAction 0x0008 + EndBlock + WaitForSomething2 0x00000010 + DoPostScriptAction 0x0007 + WaitForSomething2 0x00000010 +SCRIPT_END +script_0800D242: + DoPostScriptAction 0x0007 + _0807E930 0x0003 +SCRIPT_END +script_0800D24C: + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/mtCrenel/script_Object6ARepairedSword.inc b/data/scripts/mtCrenel/script_Object6ARepairedSword.inc new file mode 100644 index 00000000..4c92069f --- /dev/null +++ b/data/scripts/mtCrenel/script_Object6ARepairedSword.inc @@ -0,0 +1,12 @@ +@ Mines OBJECT_6A Repaired Sword on Table? +SCRIPT_START script_Object6ARepairedSword + BeginBlock + DoPostScriptAction 0x0008 + EndBlock + WaitForSomething2 0x00000020 + DoPostScriptAction 0x0007 + WaitForSomething2 0x00000020 + DoPostScriptAction 0x0008 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/mtCrenel/script_PlayerAtMelari.inc b/data/scripts/mtCrenel/script_PlayerAtMelari.inc new file mode 100644 index 00000000..9e2afbbe --- /dev/null +++ b/data/scripts/mtCrenel/script_PlayerAtMelari.inc @@ -0,0 +1,11 @@ +@ Player at Melari +SCRIPT_START script_PlayerAtMelari + BeginBlock + SetEntitySpeed 0x0100 + EndBlock + _0807EDD4 0x0170, 0x0140 + _0807EB44 0x0002 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000008 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/mtCrenel/script_PlayerAtMountainMinishExit.inc b/data/scripts/mtCrenel/script_PlayerAtMountainMinishExit.inc new file mode 100644 index 00000000..31c59aff --- /dev/null +++ b/data/scripts/mtCrenel/script_PlayerAtMountainMinishExit.inc @@ -0,0 +1,13 @@ +@ Player at Mountain Minish at exit +SCRIPT_START script_PlayerAtMountainMinishExit + BeginBlock + SetEntitySpeed 0x0080 + EndBlock + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x000d + _0807ECC4 0x0020 + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/mtCrenel/script_PlayerGetWhiteSword.inc b/data/scripts/mtCrenel/script_PlayerGetWhiteSword.inc new file mode 100644 index 00000000..08b4550e --- /dev/null +++ b/data/scripts/mtCrenel/script_PlayerGetWhiteSword.inc @@ -0,0 +1,12 @@ +@ Mines Player get white sword +SCRIPT_START script_PlayerGetWhiteSword + _0807F078 0x0002, 0x0001 + CallWithArg sub_0807F918, 0x00000002 + PlaySound SFX_109 + CallWithArg sub_0807F238, 0x000001e2 + Call sub_0807F304 + MessageNoOverlap 0x0502 + WaitUntilTextboxCloses + _0807E5F8 0x00000008 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/mtCrenel/script_PlayerPlaceBrokenSword.inc b/data/scripts/mtCrenel/script_PlayerPlaceBrokenSword.inc new file mode 100644 index 00000000..f9a0b91c --- /dev/null +++ b/data/scripts/mtCrenel/script_PlayerPlaceBrokenSword.inc @@ -0,0 +1,13 @@ +@ Player at Melari place broken Sword +SCRIPT_START script_PlayerPlaceBrokenSword + BeginBlock + SetEntitySpeed 0x0100 + EndBlock + _0807EDD4 0x0170, 0x0120 + _0807EDD4 0x01a8, 0x0120 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000008 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/northHyruleField/script_CarpenterOutsideTown.inc b/data/scripts/northHyruleField/script_CarpenterOutsideTown.inc new file mode 100644 index 00000000..c081612b --- /dev/null +++ b/data/scripts/northHyruleField/script_CarpenterOutsideTown.inc @@ -0,0 +1,26 @@ +@ Outside Castle Carpenter +@ Hyrule Town Carpenter +SCRIPT_START script_CarpenterOutsideTown + BeginBlock + Call sub_08067314 + DoPostScriptAction 0x000a + _0807EB44 0x0004 + SetIntVariable 0x00000000 + Call sub_080672B0 + EndBlock +script_08009592: + CheckEntityInteractType + JumpIfNot script_08009592 + _0807E864 + _0807EB74 + SetIntVariable 0x00000004 + Call sub_080672B0 + Call sub_080672C8 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + _0807EB44 0x0004 + SetIntVariable 0x00000000 + Call sub_080672B0 + Jump script_08009592 + .2byte 0x0000 diff --git a/data/scripts/northHyruleField/script_GuardNorthHyruleField.inc b/data/scripts/northHyruleField/script_GuardNorthHyruleField.inc new file mode 100644 index 00000000..fb4474ad --- /dev/null +++ b/data/scripts/northHyruleField/script_GuardNorthHyruleField.inc @@ -0,0 +1,20 @@ +@ Outside Castle Guard +@ also at Lon Lon Ranch +SCRIPT_START script_GuardNorthHyruleField + BeginBlock + _0807EB44 0x0004 + _0807E9D4 + DoPostScriptAction 0x000a + CallWithArg sub_0807F3D8, 0x00000000 + EndBlock +script_08014E2C: + CheckEntityInteractType + JumpIfNot script_08014E2C + _0807E864 + _0807EB74 + CallWithArg sub_0807F3D8, 0x00000000 + Call sub_08064428 + WaitUntilTextboxCloses + _0807E878 + Jump script_08014E2C + .2byte 0x0000 diff --git a/data/scripts/northHyruleField/script_MutohOutsideTown.inc b/data/scripts/northHyruleField/script_MutohOutsideTown.inc new file mode 100644 index 00000000..11002fe7 --- /dev/null +++ b/data/scripts/northHyruleField/script_MutohOutsideTown.inc @@ -0,0 +1,21 @@ +@ Outside Castle Mutoh +SCRIPT_START script_MutohOutsideTown + BeginBlock + Call sub_08067100 + DoPostScriptAction 0x000a + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + EndBlock +script_08009512: + CheckEntityInteractType + JumpIfNot script_08009512 + _0807E864 + DoPostScriptAction 0x0001 + _0807EB74 + Call sub_080670B4 + WaitUntilTextboxCloses + _0807E878 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + Jump script_08009512 + .2byte 0x0000 diff --git a/data/scripts/northHyruleField/script_Object69FixBridge.inc b/data/scripts/northHyruleField/script_Object69FixBridge.inc new file mode 100644 index 00000000..3dff4c45 --- /dev/null +++ b/data/scripts/northHyruleField/script_Object69FixBridge.inc @@ -0,0 +1,34 @@ +@ Outside Caste OBJECT_69 Fix bridge +SCRIPT_START script_Object69FixBridge + BeginBlock +.ifdef JP + SetLocalFlag 0x008c +.else +.ifdef EU + SetLocalFlag 0x008c +.else +.ifdef DEMO_JP + SetLocalFlag 0x008c @ TODO deduplicate +.else + SetLocalFlag 0x008e +.endif +.endif +.endif + _0807E864 + MoveEntityToPlayer + CameraTargetEntity + SetEntitySpeed 0x0200 + EndBlock + Wait 0x000f + _0807E8E4_2 + Call sub_0807F3F8 + Wait 0x001e + _0807EDD4 0x00b8, 0x0258 + Wait 0x001e + SetRoomFlag 0x0065 + Wait 0x0078 + _0807EEB4 + CameraTargetPlayer + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/npc/script_08012C48.inc b/data/scripts/npc/script_08012C48.inc new file mode 100644 index 00000000..2eb2b3d3 --- /dev/null +++ b/data/scripts/npc/script_08012C48.inc @@ -0,0 +1,11 @@ +@ OBJECT_6A in sub_08095954 ? +SCRIPT_START script_08012C48 + BeginBlock + DoPostScriptAction 0x0007 + SetEntitySpeed 0x0280 + EndBlock + _0807EDD4 0x0388, 0x0168 + _0807E5F8 0x00000100 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/npc/script_BladeBrothers.inc b/data/scripts/npc/script_BladeBrothers.inc new file mode 100644 index 00000000..3192f64e --- /dev/null +++ b/data/scripts/npc/script_BladeBrothers.inc @@ -0,0 +1,102 @@ +@ Blade Brothers +SCRIPT_START script_BladeBrothers + BeginBlock + Call sub_0807F348 + DoPostScriptAction 0x000a + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + EndBlock +script_080161FE: + Call sub_08068C28 +script_08016204: + CheckEntityInteractType + JumpIfNot script_08016204 + _0807E864 + Call sub_0807DF28 + _0807EB74 + Call sub_08068CA0 + JumpIf script_0801633E + Call sub_08068CFC + JumpIfNot script_08016332 + Call sub_08068DB8 + WaitUntilTextboxCloses + Call sub_08068DD0 + WaitUntilTextboxCloses + _0807E3E8 + JumpIfNot script_08016346 + StartPlayerScript script_PlayerAtBladeBrothers + WaitForSomething2 0x00000001 + _0807EB74 + Call sub_08068C8C + JumpIf script_08016262 + Call sub_08068DE8 + WaitUntilTextboxCloses + Wait 0x001e +script_08016262: + Call sub_08068E00 + WaitUntilTextboxCloses + DoPostScriptAction 0x0001 + Call sub_0807F2D4 + Call sub_08068E90 + Call sub_08068C8C + JumpIf script_0801631C + Call sub_08068F00 + Call sub_08068F14 + Call sub_08068BB4 + CallWithArg sub_0807F244, 0x00010001 + Call sub_08068B84 + Call sub_0807F2A8 + Call sub_08068BD0 + Wait 0x001e + Call sub_08068E18 + WaitUntilTextboxCloses + Call sub_08068EB4 + Call sub_0807DF50 + _0807E878 +script_080162CC: + EndBlock + BeginBlock + Call sub_08068EC4 + JumpIf script_080162F6 + CheckEntityInteractType + JumpIf script_080162E4 + Jump script_080162CC +script_080162E4: + EndBlock + _0807E864 + Call sub_08068E78 + WaitUntilTextboxCloses + _0807E878 + Jump script_080162CC +script_080162F6: + EndBlock + _0807E888 + Call sub_0807F594 + Call sub_0807DF28 + _0807E864 + StopBgm + PlaySound SFX_TASK_COMPLETE + Wait 0x003c + PlayBgm BGM_LEARN_SCROLL + Call sub_08068F3C +script_0801631C: + Call sub_08068E30 + WaitUntilTextboxCloses + Call sub_08068C6C + WaitPlayerGetItem + WaitUntilTextboxCloses + Jump script_08016346 +script_08016332: + Call sub_08068E60 + WaitUntilTextboxCloses + Jump script_08016346 +script_0801633E: + Call sub_08068E48 + WaitUntilTextboxCloses +script_08016346: + Call sub_0807DF50 + _0807E878 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + Jump script_080161FE + .2byte 0x0000 diff --git a/data/scripts/npc/script_Farmer.inc b/data/scripts/npc/script_Farmer.inc new file mode 100644 index 00000000..7316606b --- /dev/null +++ b/data/scripts/npc/script_Farmer.inc @@ -0,0 +1,41 @@ +@ Farmer +SCRIPT_START script_Farmer + BeginBlock + Call sub_0806BCD4 + DoPostScriptAction 0x000a + CallWithArg sub_0806BC94, 0x00000000 + EndBlock +script_0800B0E8: + Call sub_0807F434 + JumpTable script_0800B0E8, script_0800B0F6, script_0800B134 +script_0800B0F6: + _0807E864 + Call sub_0807DF28 + Call sub_0807F2D4 + _0807EB74 + CallWithArg sub_0806BC94, 0x00000004 + Call sub_0806BCE8 + WaitUntilTextboxCloses + Call sub_0807DF50 + _0807E878 + Call sub_0806BCB8 + CallWithArg sub_0806BC94, 0x00000000 + Jump script_0800B0E8 +script_0800B134: + _0807E864 + Call sub_0807DF28 + Call sub_0807F2D4 + _0807EB74 + CallWithArg sub_0806BC94, 0x00000004 + Call sub_0807F650 + _0807E9F0 +.ifndef EU + JumpIfNot script_0800B160 +.endif + Call sub_0806BCC0 +script_0800B160: + Call sub_0807DF50 + _0807E878 + Call sub_0806BCB8 + CallWithArg sub_0806BC94, 0x00000000 + Jump script_0800B0E8 diff --git a/data/scripts/npc/script_ForestMinish12.inc b/data/scripts/npc/script_ForestMinish12.inc new file mode 100644 index 00000000..0ba2e7ea --- /dev/null +++ b/data/scripts/npc/script_ForestMinish12.inc @@ -0,0 +1,10 @@ +@ Some Forest Minish ? +SCRIPT_START script_ForestMinish12 + BeginBlock + _0807E9D4 + EndBlock +script_080165FE: + _0807E30C + JumpIfNot script_080165FE + MessageFromTarget 0x0601 + Jump script_080165FE diff --git a/data/scripts/npc/script_ForestMinish13.inc b/data/scripts/npc/script_ForestMinish13.inc new file mode 100644 index 00000000..c277126a --- /dev/null +++ b/data/scripts/npc/script_ForestMinish13.inc @@ -0,0 +1,14 @@ +@ Some Forest Minish? +SCRIPT_START script_ForestMinish13 + BeginBlock + _0807E9D4 + EndBlock +script_08016612: + _0807E944 + _0807E864 + MessageFromTarget 0x0602 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_08016612 + .2byte 0x0000 diff --git a/data/scripts/npc/script_ForestMinish14.inc b/data/scripts/npc/script_ForestMinish14.inc new file mode 100644 index 00000000..7eb3fa47 --- /dev/null +++ b/data/scripts/npc/script_ForestMinish14.inc @@ -0,0 +1,14 @@ +@ Some Forest Minish ? +SCRIPT_START script_ForestMinish14 + BeginBlock + _0807E9D4 + EndBlock +script_0801662E: + _0807E944 + _0807E864 + _0807EB28 0x0603 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_0801662E + .2byte 0x0000 diff --git a/data/scripts/npc/script_ForestMinish15.inc b/data/scripts/npc/script_ForestMinish15.inc new file mode 100644 index 00000000..c9b227b0 --- /dev/null +++ b/data/scripts/npc/script_ForestMinish15.inc @@ -0,0 +1,13 @@ +@ Some Forest Minish? +SCRIPT_START script_ForestMinish15 + SetEntitySpeed 0x0100 +script_08016648: + _0807ECF4 0x0030 + Wait 0x0008 + _0807ECC4 0x0030 + Wait 0x0008 + _0807EC94 0x0030 + Wait 0x0008 + _0807EC64 0x0030 + Wait 0x0008 + Jump script_08016648 diff --git a/data/scripts/npc/script_ForestMinish16.inc b/data/scripts/npc/script_ForestMinish16.inc new file mode 100644 index 00000000..6978bbde --- /dev/null +++ b/data/scripts/npc/script_ForestMinish16.inc @@ -0,0 +1,15 @@ +@ Some Forest Minish ? +SCRIPT_START script_ForestMinish16 + _0807ED24 0x0055, 0x0039, 0x00b4 + Wait 0x0008 + _0807ED24 0x0075, 0x0076, 0x003c + Wait 0x0008 + _0807ED24 0x0105, 0x006c, 0x0078 + Wait 0x0008 + _0807ED24 0x018e, 0x007a, 0x0078 + Wait 0x0008 + _0807ED24 0x0173, 0x0023, 0x003c + Wait 0x0008 + _0807ED24 0x00d8, 0x003f, 0x003c + Wait 0x0008 + Jump script_ForestMinish16 diff --git a/data/scripts/npc/script_ForestMinish17.inc b/data/scripts/npc/script_ForestMinish17.inc new file mode 100644 index 00000000..376c28db --- /dev/null +++ b/data/scripts/npc/script_ForestMinish17.inc @@ -0,0 +1,17 @@ +@ Some Forest Minish ? +SCRIPT_START script_ForestMinish17 + SetEntitySpeed 0x0100 +script_080166BC: + _0807EDD4 0x0055, 0x0039 + Wait 0x0008 + _0807EDD4 0x0075, 0x0076 + Wait 0x0008 + _0807EDD4 0x0105, 0x006c + Wait 0x0008 + _0807EDD4 0x018e, 0x007a + Wait 0x0008 + _0807EDD4 0x0173, 0x0023 + Wait 0x0008 + _0807EDD4 0x00d8, 0x003f + Wait 0x0008 + Jump script_080166BC diff --git a/data/scripts/npc/script_ForestMinish18.inc b/data/scripts/npc/script_ForestMinish18.inc new file mode 100644 index 00000000..5e70440e --- /dev/null +++ b/data/scripts/npc/script_ForestMinish18.inc @@ -0,0 +1,39 @@ +@ Some Forest Minish ? +SCRIPT_START script_ForestMinish18 + SetEntitySpeed 0x0100 +script_08016700: + _0807EC94 0x0030 + _0807E5F8 0x00000002 + Wait 0x000f + DoPostScriptAction 0x0000 + _0807EB44 0x0004 + WaitForSomething 0x00000001 + _0807E610 0x00000001 + DoPostScriptAction 0x0003 + Wait 0x0002 + _0807EB44 0x0006 + Wait 0x0002 + _0807EB44 0x0000 + Wait 0x0002 + _0807EB44 0x0002 + Wait 0x0002 + _0807EB44 0x0004 + WaitForSomething 0x00000001 + _0807E610 0x00000001 + _0807ECF4 0x0030 + Wait 0x000f + DoPostScriptAction 0x0000 + _0807EB44 0x0004 + Wait 0x001e + _0807E5F8 0x00000006 + DoPostScriptAction 0x0003 + Wait 0x0002 + _0807EB44 0x0006 + Wait 0x0002 + _0807EB44 0x0000 + Wait 0x0002 + _0807EB44 0x0002 + Wait 0x0002 + _0807EB44 0x0004 + Wait 0x003c + Jump script_08016700 diff --git a/data/scripts/npc/script_ForestMinish19.inc b/data/scripts/npc/script_ForestMinish19.inc new file mode 100644 index 00000000..ddf9962f --- /dev/null +++ b/data/scripts/npc/script_ForestMinish19.inc @@ -0,0 +1,41 @@ +@ Some Forest Minish? +SCRIPT_START script_ForestMinish19 + SetEntitySpeed 0x0100 +script_0801679C: + WaitForSomething 0x00000002 + _0807E610 0x00000002 + _0807EC94 0x0030 + _0807E5F8 0x00000004 + Wait 0x000f + DoPostScriptAction 0x0000 + _0807EB44 0x0004 + WaitForSomething 0x00000002 + _0807E610 0x00000002 + DoPostScriptAction 0x0003 + Wait 0x0002 + _0807EB44 0x0006 + Wait 0x0002 + _0807EB44 0x0000 + Wait 0x0002 + _0807EB44 0x0002 + Wait 0x0002 + _0807EB44 0x0004 + WaitForSomething 0x00000002 + _0807E610 0x00000002 + _0807ECF4 0x0030 + _0807E5F8 0x00000001 + Wait 0x000f + DoPostScriptAction 0x0000 + _0807EB44 0x0004 + WaitForSomething 0x00000002 + _0807E610 0x00000002 + DoPostScriptAction 0x0003 + Wait 0x0002 + _0807EB44 0x0006 + Wait 0x0002 + _0807EB44 0x0000 + Wait 0x0002 + _0807EB44 0x0002 + Wait 0x0002 + _0807EB44 0x0004 + Jump script_0801679C diff --git a/data/scripts/npc/script_ForestMinish20.inc b/data/scripts/npc/script_ForestMinish20.inc new file mode 100644 index 00000000..96cb2c4b --- /dev/null +++ b/data/scripts/npc/script_ForestMinish20.inc @@ -0,0 +1,39 @@ +@ Some Forest Minish ? +SCRIPT_START script_ForestMinish20 + SetEntitySpeed 0x0100 +script_08016848: + WaitForSomething 0x00000004 + _0807E610 0x00000004 + _0807EC94 0x0030 + Wait 0x000f + DoPostScriptAction 0x0000 + _0807EB44 0x0004 + Wait 0x001e + _0807E5F8 0x00000003 + DoPostScriptAction 0x0003 + Wait 0x0002 + _0807EB44 0x0006 + Wait 0x0002 + _0807EB44 0x0000 + Wait 0x0002 + _0807EB44 0x0002 + Wait 0x0002 + _0807EB44 0x0004 + Wait 0x003c + _0807ECF4 0x0030 + _0807E5F8 0x00000002 + Wait 0x000f + DoPostScriptAction 0x0000 + _0807EB44 0x0004 + WaitForSomething 0x00000004 + _0807E610 0x00000004 + DoPostScriptAction 0x0003 + Wait 0x0002 + _0807EB44 0x0006 + Wait 0x0002 + _0807EB44 0x0000 + Wait 0x0002 + _0807EB44 0x0002 + Wait 0x0002 + _0807EB44 0x0004 + Jump script_08016848 diff --git a/data/scripts/npc/script_ForestMinish21.inc b/data/scripts/npc/script_ForestMinish21.inc new file mode 100644 index 00000000..4708f47d --- /dev/null +++ b/data/scripts/npc/script_ForestMinish21.inc @@ -0,0 +1,11 @@ +@ Some Forest Minish ? +SCRIPT_START script_ForestMinish21 + BeginBlock + _0807E9D4 + EndBlock +script_080168E6: + _0807E944 + _0807E864 + Wait 0x000f + _0807E878 + Jump script_080168E6 diff --git a/data/scripts/npc/script_MysteriousWall.inc b/data/scripts/npc/script_MysteriousWall.inc new file mode 100644 index 00000000..a55a6817 --- /dev/null +++ b/data/scripts/npc/script_MysteriousWall.inc @@ -0,0 +1,25 @@ +@ Cave NPC4E Fusion thingy Mysterious Wall +SCRIPT_START script_MysteriousWall + BeginBlock + DoPostScriptAction 0x000b + DoPostScriptAction 0x0008 + Call sub_0806DAAC + JumpIf script_0800B9AC + Call sub_0806DAD0 + CallWithArg sub_0806DA04, 0x00000005 + EndBlock +script_0800B98A: + _0807EA4C + _0807E9F0 + JumpIf script_0800B99E + Call sub_0807DF50 + _0807E878 + Jump script_0800B98A +script_0800B99E: + Call sub_0806F188 + Call sub_0807DF50 + _0807E878 +script_0800B9AC: + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/npc/script_PlayerAtBladeBrothers.inc b/data/scripts/npc/script_PlayerAtBladeBrothers.inc new file mode 100644 index 00000000..7026967e --- /dev/null +++ b/data/scripts/npc/script_PlayerAtBladeBrothers.inc @@ -0,0 +1,9 @@ +@ Player at Blade Brothers +SCRIPT_START script_PlayerAtBladeBrothers + SetEntitySpeed 0x0100 + _0807EDD4 0x0078, 0x0050 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/npc/script_PlayerAtGreatFairy.inc b/data/scripts/npc/script_PlayerAtGreatFairy.inc new file mode 100644 index 00000000..cbea15ed --- /dev/null +++ b/data/scripts/npc/script_PlayerAtGreatFairy.inc @@ -0,0 +1,25 @@ +@ Player at Great Fairy +SCRIPT_START script_PlayerAtGreatFairy + BeginBlock + SetEntitySpeed 0x0100 + EndBlock + CallWithArg sub_0807F6B4, 0x00000090 + JumpIfNot script_0800B7FC + CallWithArg sub_0807F464, 0x00000078 + CallWithArg sub_0807F4F8, 0x00000090 +script_0800B7EE: + _0807E8E4_0 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000004 +SCRIPT_END +script_0800B7FC: + CallWithArg sub_0807F4F8, 0x00000090 + CallWithArg sub_0807F464, 0x00000078 + Jump script_0800B7EE + BeginBlock + DoPostScriptAction 0x0007 + _0807EB44 0x0004 + _0807E930 0x0000 + EndBlock +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/npc/script_TingleSiblings.inc b/data/scripts/npc/script_TingleSiblings.inc new file mode 100644 index 00000000..62b59de5 --- /dev/null +++ b/data/scripts/npc/script_TingleSiblings.inc @@ -0,0 +1,53 @@ +@ Tingle Siblings +SCRIPT_START script_TingleSiblings + BeginBlock + Call sub_08064EA4 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x000a + EndBlock +script_0801690A: + _0807E30C + JumpIfNot script_0801690A + _0807E864 + _0807EB74 + Call sub_08064F28 + WaitUntilTextboxCloses + JumpIfNot script_08016926 + _0807F034 0x003d + WaitPlayerGetItem +script_08016926: + _0807E878 + SetGlobalFlag 0x005c + Jump script_0801690A + BeginBlock + _0807E9D4 + _0807EB44 0x0000 + DoPostScriptAction 0x000a + EndBlock +script_0801693E: + _0807E944 + _0807E864 + Wait 0x0018 + MessageFromTarget 0x0a01 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_0801693E + .2byte 0x0000 + BeginBlock + _0807E9D4 + _0807EB44 0x0000 + DoPostScriptAction 0x000a + _0807E930 0x0000 + EndBlock +script_0801696A: + _0807E944 + _0807E864 + Wait 0x0018 + MessageFromTarget 0x0a01 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_0801696A + .2byte 0x0000 diff --git a/data/scripts/npc/script_Windcrest.inc b/data/scripts/npc/script_Windcrest.inc new file mode 100644 index 00000000..ef4d0c4d --- /dev/null +++ b/data/scripts/npc/script_Windcrest.inc @@ -0,0 +1,49 @@ +@ All Windcrests +SCRIPT_START script_Windcrest + BeginBlock + Call sub_0807F934 + Call sub_080A2124 + DoPostScriptAction 0x000a + DoPostScriptAction 0x0007 + EndBlock +script_0800B024: + CheckEntityInteractType + JumpIfNot script_0800B024 + _0807E864 + Call sub_0807DF28 + CheckGlobalFlag 0x0052 + JumpIf script_0800B082 + CheckGlobalFlag 0x0053 + JumpIf script_0800B064 + MessageNoOverlap 0x3f32 + WaitUntilTextboxCloses + DoPostScriptAction 0x0008 + Call Windcrest_Unlock + Wait 0x003c + _0807EB28 0x0b5c + WaitUntilTextboxCloses + SetGlobalFlag 0x0053 + Jump script_0800B09C +script_0800B064: + MessageNoOverlap 0x3f32 + WaitUntilTextboxCloses + DoPostScriptAction 0x0008 + Call Windcrest_Unlock + Wait 0x003c + _0807EB28 0x0b5d + WaitUntilTextboxCloses + Jump script_0800B09C +script_0800B082: + MessageNoOverlap 0x3f32 + WaitUntilTextboxCloses + DoPostScriptAction 0x0008 + Call Windcrest_Unlock + Wait 0x003c + _0807EB28 0x0b5e + WaitUntilTextboxCloses +script_0800B09C: + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/sanctuary/script_08013F94.inc b/data/scripts/sanctuary/script_08013F94.inc new file mode 100644 index 00000000..ec8cf7c0 --- /dev/null +++ b/data/scripts/sanctuary/script_08013F94.inc @@ -0,0 +1,28 @@ +@ Sanctuary NPC4E 1? +SCRIPT_START script_08013F94 + BeginBlock + DoPostScriptAction 0x0008 + EndBlock + CheckLocalFlag 0x007d + JumpIf script_08013FE0 +script_08013FA4: + EndBlock + BeginBlock + CheckInventory1 0x0003 + JumpIfNot script_08013FA4 + CheckPlayerFlags 0x00400000 + JumpIfNot script_08013FA4 + EndBlock + Call sub_0807FA40 + _0807E888 + Call sub_0807DF38 + Wait 0x0078 + _0807EB28 0x1505 + WaitUntilTextboxCloses + SetLocalFlag 0x007d + Call sub_0807DF50 + _0807E878 +script_08013FE0: + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/sanctuary/script_NPC4EPreventPlayerLeave.inc b/data/scripts/sanctuary/script_NPC4EPreventPlayerLeave.inc new file mode 100644 index 00000000..f727cd1a --- /dev/null +++ b/data/scripts/sanctuary/script_NPC4EPreventPlayerLeave.inc @@ -0,0 +1,33 @@ +@ Sanctuary NPC4E Link has to try his new ability before leaving +SCRIPT_START script_NPC4EPreventPlayerLeave + BeginBlock + DoPostScriptAction 0x0008 + EndBlock +script_08013FF0: + EndBlock + BeginBlock + CheckLocalFlag 0x007d + JumpIf script_0801404C + CheckLocalFlag 0x007a + JumpIfNot script_08013FF0 + CheckInventory1 0x0003 + JumpIfNot script_08013FF0 + CallWithArg sub_0807F6B4, 0x000000d0 + JumpIfNot script_08013FF0 + EndBlock + Call sub_0807F9A4 + BeginBlock + _0807E864 + Call sub_0807DF28 + EndBlock + _0807EB28 0x1508 + WaitUntilTextboxCloses + StartPlayerScript script_PlayerSanctuary + WaitForSomething2 0x00000001 + Call sub_0807DF50 + _0807E878 + Jump script_08013FF0 +script_0801404C: + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/sanctuary/script_Npc4EFinalSwordRumble.inc b/data/scripts/sanctuary/script_Npc4EFinalSwordRumble.inc new file mode 100644 index 00000000..520a148b --- /dev/null +++ b/data/scripts/sanctuary/script_Npc4EFinalSwordRumble.inc @@ -0,0 +1,35 @@ +@ Sanctuary NPC4E Rumble after fusing final sword +SCRIPT_START script_Npc4EFinalSwordRumble + Call sub_0807F3F8 + Wait 0x003c +.ifdef EU + _0807F0B4 0x0007 + SetEntityPositionRelative 0x00e8, 0x00a8 + CameraTargetEntity + Wait 0x003c +.endif + _0807E5F8 0x00000008 + Wait 0x0078 + CallWithArg DeleteManager36, 0x00000001 + _0807F0C8 0x0000, 0x0000 + Wait 0x003c + _0807F0B4 0x0004 + SetEntityPositionRelative 0x00e8, 0x0050 + CameraTargetEntity + Wait 0x003c + LoadRoomEntityList gUnk_080F55D8 + Wait 0x0078 + _0807F0B4 0x0007 + MoveEntityToPlayer + CameraTargetEntity + Wait 0x003c + _0807EB28 0x1502 + WaitUntilTextboxCloses + _0807F0B4 0x0004 + CameraTargetPlayer + SetLocalFlag 0x007c + Call sub_08053250 + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/sanctuary/script_Npc4ELookAtPictureAgain.inc b/data/scripts/sanctuary/script_Npc4ELookAtPictureAgain.inc new file mode 100644 index 00000000..26ed2582 --- /dev/null +++ b/data/scripts/sanctuary/script_Npc4ELookAtPictureAgain.inc @@ -0,0 +1,21 @@ +@ Sanctuary NPC4E Inspect picture in back room after Vaati has revealed himself +SCRIPT_START script_Npc4ELookAtPictureAgain + BeginBlock + DoPostScriptAction 0x0008 + EndBlock +script_0801427C: + CheckLocalFlag 0x0078 + JumpIfNot script_0801427C + BeginBlock + Call sub_0807F934 + CallWithArg sub_0806DA04, 0x00000008 + EndBlock +script_08014298: + CheckEntityInteractType + JumpIfNot script_08014298 + _0807E864 + MessageFromTargetPos 0x0647, 0x000c + WaitUntilTextboxCloses + _0807E878 + Jump script_08014298 + .2byte 0x0000 diff --git a/data/scripts/sanctuary/script_Npc4EPedestal.inc b/data/scripts/sanctuary/script_Npc4EPedestal.inc new file mode 100644 index 00000000..ee6a1058 --- /dev/null +++ b/data/scripts/sanctuary/script_Npc4EPedestal.inc @@ -0,0 +1,74 @@ +@ Sanctuary NPC4E Pedestal for sword +SCRIPT_START script_Npc4EPedestal + BeginBlock + DoPostScriptAction 0x0008 + EndBlock + BeginBlock + Call sub_0807F92C + CallWithArg sub_0806DA04, 0x00000003 + EndBlock +script_080134F8: + CheckEntityInteractType + JumpIfNot script_080134F8 + _0807E864 + Call sub_0807DF28 + StartPlayerScript script_PlayerAtPedestal + WaitForSomething2 0x00000001 + CallWithArg sub_08095A1C, script_Object6ASwordInPedestal + PlaySound SFX_ELEMENT_PLACE + Wait 0x005a + BeginBlock + PlaySound SFX_ELEMENT_FLOAT + CallWithArg sub_08095D54, script_Object6AEarthElementFloating + CallWithArg sub_08095D54, script_Object6AFireElementFloating + EndBlock + WaitForSomething2 0x18000000 + BeginBlock + PlaySound SFX_ELEMENT_CHARGE + CallWithArg sub_08095D8C, script_Object6ASwordChange1 + CallWithArg sub_08095D8C, script_Object6ASwordCharge2 + EndBlock + Wait 0x001e + BeginBlock + PlaySound SFX_1D0 + CallWithArg sub_08095D8C, script_Object6ASwordCharge5 + CallWithArg sub_08095D8C, script_Object6ASwordCharge6 + EndBlock + Wait 0x003c + CallWithArg CreateManager36, 0x00000000 + _0807E5F8 0x00000200 + WaitForSomething2 0x00002000 + PlaySound SFX_1D2 + CallWithArg sub_08095D8C, script_Object6ASwordCharge9 + CallWithArg sub_08095D8C, script_Object6ASwordCharge10 + _0807E5F8 0x00000400 + WaitForSomething2 0x00004000 + Wait 0x0078 + _0807E5F8 0x00000060 + CallWithArg DeleteManager36, 0x00000000 + Wait 0x0078 + _0807E5F8 0x00000080 + WaitForSomething2 0x00000100 + Wait 0x003c + StartPlayerScript script_PlayerPickUpSword + _0807E5F8 0x00000080 + _0807F078 0x0003, 0x0001 + Call sub_0806DC3C + Call sub_0806DC58 + Call sub_0807F304 + Wait 0x003c + _0807E778 0x0004 + DoFade7 + PlaySound SFX_EVAPORATE + WaitFor_2 + Wait 0x003c + _0807E5F8 0x00000010 + _0807E778 0x0002 + DoFade6 + WaitFor_2 + PlaySound SFX_109 + MessageFromTargetPos 0x0503, 0x000c + WaitUntilTextboxCloses + _0807E5F8 0x00040000 + CallWithArg CreateManager36, 0x00000001 + _0807F0C8 0xffff, 0x0000 diff --git a/data/scripts/sanctuary/script_Npc4EPreventPlayerLeaving.inc b/data/scripts/sanctuary/script_Npc4EPreventPlayerLeaving.inc new file mode 100644 index 00000000..2f6668f6 --- /dev/null +++ b/data/scripts/sanctuary/script_Npc4EPreventPlayerLeaving.inc @@ -0,0 +1,25 @@ +@ Sanctuary NPC4E Prevent link from leaving after fusing final sword +SCRIPT_START script_Npc4EPreventPlayerLeaving + BeginBlock + DoPostScriptAction 0x0008 +script_08013B1E: + EndBlock + BeginBlock + CallWithArg sub_0807F6B4, 0x000001c8 + JumpIfNot script_08013B1E + CheckInventory1 0x0006 + JumpIfNot script_08013B1E + CheckLocalFlag 0x0078 + JumpIf script_08013B1E + EndBlock + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + _0807EB28 0x1507 + WaitUntilTextboxCloses + StartPlayerScript script_PlayerSanctuary + WaitForSomething2 0x00000001 + Call sub_0807DF50 + _0807E878 + Jump script_08013B1E + .2byte 0x0000 diff --git a/data/scripts/sanctuary/script_Npc4ESanctuaryIntro.inc b/data/scripts/sanctuary/script_Npc4ESanctuaryIntro.inc new file mode 100644 index 00000000..d52e0ba7 --- /dev/null +++ b/data/scripts/sanctuary/script_Npc4ESanctuaryIntro.inc @@ -0,0 +1,26 @@ +@ Sanctuary NPC4E Intro Cutscene +SCRIPT_START script_Npc4ESanctuaryIntro + EndBlock +script_08013CA6: + CheckPlayerInRegion 0x00e8, 0x01e8, 0x4080 + JumpIfNot script_08013CA6 + _0807E864 + Call sub_0807F9A4 + Call sub_0807DF28 + Call sub_0807F3F8 + Wait 0x003c + _0807F0B4 0x0001 + SetEntityPositionRelative 0x00e8, 0x0138 + CameraTargetEntity + Call sub_0807F5C0 + Wait 0x0078 + _0807F0B4 0x0004 + CameraTargetPlayer + Call sub_0807F5C0 + _0807EB28 0x1504 + WaitUntilTextboxCloses + SetLocalFlag 0x0079 + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/sanctuary/script_Npc4ESecondSanctuary.inc b/data/scripts/sanctuary/script_Npc4ESecondSanctuary.inc new file mode 100644 index 00000000..982e53f7 --- /dev/null +++ b/data/scripts/sanctuary/script_Npc4ESecondSanctuary.inc @@ -0,0 +1,82 @@ +@ Sanctuary second time NPC4E? Handles cutscene +SCRIPT_START script_Npc4ESecondSanctuary + BeginBlock + DoPostScriptAction 0x0008 + EndBlock + BeginBlock + Call sub_0807F92C + CallWithArg sub_0806DA04, 0x00000003 + EndBlock +script_0801373C: + CheckEntityInteractType + JumpIfNot script_0801373C + _0807E864 + Call sub_0807DF28 + StartPlayerScript script_PlayerAtPedestal + WaitForSomething2 0x00000001 + CallWithArg sub_08095A1C, script_Object6ASword2 + PlaySound SFX_ELEMENT_PLACE + Wait 0x005a + BeginBlock + PlaySound SFX_ELEMENT_FLOAT + CallWithArg sub_08095D54, script_Object6AWaterElementFloating + EndBlock + WaitForSomething2 0x20000000 + BeginBlock + PlaySound SFX_ELEMENT_CHARGE + CallWithArg sub_08095D8C, script_Object6ASwordChange1 + CallWithArg sub_08095D8C, script_Object6ASwordCharge2 + CallWithArg sub_08095D8C, script_Object6ASwordCharge3 + EndBlock + Wait 0x001e + BeginBlock + PlaySound SFX_1D0 + CallWithArg sub_08095D8C, script_Object6ASwordCharge5 + CallWithArg sub_08095D8C, script_Object6ASwordCharge6 + CallWithArg sub_08095D8C, script_Objet6ASwordCharge7 + EndBlock + Wait 0x003c + CallWithArg CreateManager36, 0x00000000 + _0807E5F8 0x00000200 + WaitForSomething2 0x00002000 + PlaySound SFX_1D2 + CallWithArg sub_08095D8C, script_Object6ASwordCharge9 + CallWithArg sub_08095D8C, script_Object6ASwordCharge10 + _0807E5F8 0x00000400 + WaitForSomething2 0x00004000 + _0807E5F8 0x00000800 + WaitForSomething2 0x00008000 + Wait 0x0078 + _0807E5F8 0x00000060 + CallWithArg DeleteManager36, 0x00000000 + Wait 0x0078 + _0807E5F8 0x00000080 + WaitForSomething2 0x00000100 + Wait 0x003c + StartPlayerScript script_PlayerPickUpSword + _0807E5F8 0x00000080 + _0807F078 0x0004, 0x0001 + Call sub_0806DC3C + Call sub_0806DC58 + Call sub_0807F304 + Wait 0x003c + _0807E778 0x0004 + DoFade7 + PlaySound SFX_EVAPORATE + WaitFor_2 + Wait 0x003c + _0807E5F8 0x00000010 + _0807E778 0x0002 + DoFade6 + WaitFor_2 + PlaySound SFX_109 + MessageFromTargetPos 0x0504, 0x000c + WaitUntilTextboxCloses + _0807E5F8 0x00040000 + SetLocalFlag 0x007b + Call sub_08053250 + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/sanctuary/script_Npc4ESpawnTextBoard.inc b/data/scripts/sanctuary/script_Npc4ESpawnTextBoard.inc new file mode 100644 index 00000000..2cebfed6 --- /dev/null +++ b/data/scripts/sanctuary/script_Npc4ESpawnTextBoard.inc @@ -0,0 +1,24 @@ +@ Sanctuary NPC4E spawn text board +SCRIPT_START script_Npc4ESpawnTextBoard + Call sub_0807F3F8 + Wait 0x003c + _0807F0B4 0x0007 + SetEntityPositionRelative 0x00e8, 0x00a8 + CameraTargetEntity + Wait 0x003c + _0807E5F8 0x00000004 + Wait 0x0078 + CallWithArg DeleteManager36, 0x00000001 + _0807F0C8 0x0000, 0x0000 + StartPlayerScript script_PlayerTextBoardAppears + WaitForSomething2 0x00000002 + _0807EB28 0x1501 + WaitUntilTextboxCloses + _0807F0B4 0x0004 + CameraTargetPlayer + SetLocalFlag 0x007a + Call sub_08053250 + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/sanctuary/script_Npc4EThirdSanctuary.inc b/data/scripts/sanctuary/script_Npc4EThirdSanctuary.inc new file mode 100644 index 00000000..5a6acd5a --- /dev/null +++ b/data/scripts/sanctuary/script_Npc4EThirdSanctuary.inc @@ -0,0 +1,98 @@ +@ Sanctuary third time NPC4E controlling cutscene +SCRIPT_START script_Npc4EThirdSanctuary + BeginBlock + DoPostScriptAction 0x0008 + EndBlock + BeginBlock + Call sub_0807F92C + CallWithArg sub_0806DA04, 0x00000003 + EndBlock +script_080138D0: + CheckEntityInteractType + JumpIfNot script_080138D0 + _0807E864 + Call sub_0807DF28 + StartPlayerScript script_PlayerAtPedestal + WaitForSomething2 0x00000001 + CallWithArg sub_08095A1C, script_Object6ASword3 + PlaySound SFX_ELEMENT_PLACE + Wait 0x005a + BeginBlock + PlaySound SFX_ELEMENT_FLOAT + CallWithArg sub_08095D54, script_Object6AWindElementFloating + EndBlock + WaitForSomething2 0x40000000 + BeginBlock + PlaySound SFX_ELEMENT_CHARGE + CallWithArg sub_08095D8C, script_Object6ASwordChange1 + CallWithArg sub_08095D8C, script_Object6ASwordCharge2 + CallWithArg sub_08095D8C, script_Object6ASwordCharge3 + CallWithArg sub_08095D8C, script_Object6ASwordCharge4 + EndBlock + Wait 0x001e + BeginBlock + PlaySound SFX_1D0 + CallWithArg sub_08095D8C, script_Object6ASwordCharge5 + CallWithArg sub_08095D8C, script_Object6ASwordCharge6 + CallWithArg sub_08095D8C, script_Objet6ASwordCharge7 + CallWithArg sub_08095D8C, script_Object6ASwordCharge8 + EndBlock + Wait 0x003c + CallWithArg CreateManager36, 0x00000000 + _0807E5F8 0x00000200 + WaitForSomething2 0x00002000 + PlaySound SFX_1D2 + CallWithArg sub_08095D8C, script_Object6ASwordCharge9 + CallWithArg sub_08095D8C, script_Object6ASwordCharge10 + _0807E5F8 0x00000400 + WaitForSomething2 0x00004000 + _0807E5F8 0x00000800 + WaitForSomething2 0x00008000 + _0807E5F8 0x00001000 + WaitForSomething2 0x00010000 + Wait 0x0078 + _0807E5F8 0x00000060 + CallWithArg DeleteManager36, 0x00000000 + Wait 0x0078 + _0807E5F8 0x00000080 + WaitForSomething2 0x00000100 + Wait 0x003c + StartPlayerScript script_PlayerPickUpFinalSword + _0807E5F8 0x00000080 + _0807F078 0x0006, 0x0001 + Call sub_0807AEE4 + Call sub_0806DC3C + Call sub_0806DC58 + Call sub_0807F304 + Wait 0x003c + _0807E778 0x0004 + DoFade7 + PlaySound SFX_EVAPORATE + WaitFor_2 + Wait 0x003c + _0807E5F8 0x00000010 + _0807E778 0x0002 + DoFade6 + WaitFor_2 + PlaySound SFX_109 + MessageFromTargetPos 0x0505, 0x000c + WaitUntilTextboxCloses + _0807E5F8 0x00040000 +.ifndef EU + _0807F0B4 0x0002 + SetEntityPositionRelative 0x00e8, 0x00d8 + CameraTargetEntity +.endif + Call sub_0806DC3C + CallWithArg sub_0807F244, 0x00010001 + CallWithArg sub_0807F29C, gUnk_080049FE + Wait 0x00c8 + CallWithArg sub_0807F29C, 0x00000000 + Call sub_0806DC58 +script_08013A8E: +.ifndef EU + CheckRoomFlag 0x0004 + JumpIfNot script_08013A8E +.endif + CallWithArg CreateManager36, 0x00000001 + _0807F0C8 0xffff, 0x0000 diff --git a/data/scripts/sanctuary/script_Object6AEarthElement.inc b/data/scripts/sanctuary/script_Object6AEarthElement.inc new file mode 100644 index 00000000..55980676 --- /dev/null +++ b/data/scripts/sanctuary/script_Object6AEarthElement.inc @@ -0,0 +1,10 @@ +@ Sanctuary second time OBJECT_6A Earth Element +SCRIPT_START script_Object6AEarthElement + BeginBlock + DoPostScriptAction 0x0007 + Call sub_0807F180 + SetEntityPositionRelative 0x00b0, 0x00f8 + _0807E930 0x0001 + EndBlock +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/sanctuary/script_Object6AEarthElementFloating.inc b/data/scripts/sanctuary/script_Object6AEarthElementFloating.inc new file mode 100644 index 00000000..554c5cc7 --- /dev/null +++ b/data/scripts/sanctuary/script_Object6AEarthElementFloating.inc @@ -0,0 +1,12 @@ +@ Sanctuary OBJECT_6A floating Earth Element +SCRIPT_START script_Object6AEarthElementFloating + BeginBlock + DoPostScriptAction 0x0007 + _0807E930 0x0000 + EndBlock + SetEntitySpeed 0x0080 + _0807EDD4 0x00b0, 0x00f8 + _0807E930 0x0001 + _0807E5F8 0x08000000 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/sanctuary/script_Object6AFireElement.inc b/data/scripts/sanctuary/script_Object6AFireElement.inc new file mode 100644 index 00000000..48385c7a --- /dev/null +++ b/data/scripts/sanctuary/script_Object6AFireElement.inc @@ -0,0 +1,10 @@ +@ Sanctuary second time OBJECT_6A Fire Element +SCRIPT_START script_Object6AFireElement + BeginBlock + DoPostScriptAction 0x0007 + Call sub_0807F180 + SetEntityPositionRelative 0x0120, 0x00f8 + _0807E930 0x0003 + EndBlock +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/sanctuary/script_Object6AFireElementFloating.inc b/data/scripts/sanctuary/script_Object6AFireElementFloating.inc new file mode 100644 index 00000000..f1f623c8 --- /dev/null +++ b/data/scripts/sanctuary/script_Object6AFireElementFloating.inc @@ -0,0 +1,12 @@ +@ Sanctuary OBJECT_6A floating Fire Element +SCRIPT_START script_Object6AFireElementFloating + BeginBlock + DoPostScriptAction 0x0007 + _0807E930 0x0002 + EndBlock + SetEntitySpeed 0x0080 + _0807EDD4 0x0120, 0x00f8 + _0807E930 0x0003 + _0807E5F8 0x10000000 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/sanctuary/script_Object6ASword2.inc b/data/scripts/sanctuary/script_Object6ASword2.inc new file mode 100644 index 00000000..34de116e --- /dev/null +++ b/data/scripts/sanctuary/script_Object6ASword2.inc @@ -0,0 +1,14 @@ +@ Sanctuary second time OBJECT_6A sword? +SCRIPT_START script_Object6ASword2 + BeginBlock + DoPostScriptAction 0x0007 + _0807E930 0x0009 + EndBlock + WaitForSomething2 0x00000080 + _0807E930 0x000c + Call sub_0807F2D4 + _0807E5F8 0x00000100 + WaitForSomething2 0x00000080 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/sanctuary/script_Object6ASword3.inc b/data/scripts/sanctuary/script_Object6ASword3.inc new file mode 100644 index 00000000..f44a9697 --- /dev/null +++ b/data/scripts/sanctuary/script_Object6ASword3.inc @@ -0,0 +1,14 @@ +@ Sanctuary third time OBJECT_6A ? +SCRIPT_START script_Object6ASword3 + BeginBlock + DoPostScriptAction 0x0007 + _0807E930 0x000a + EndBlock + WaitForSomething2 0x00000080 + _0807E930 0x000d + Call sub_0807F2D4 + _0807E5F8 0x00000100 + WaitForSomething2 0x00000080 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/sanctuary/script_Object6ASwordChange1.inc b/data/scripts/sanctuary/script_Object6ASwordChange1.inc new file mode 100644 index 00000000..7c41e39c --- /dev/null +++ b/data/scripts/sanctuary/script_Object6ASwordChange1.inc @@ -0,0 +1,11 @@ +@ Sanctuary OBJECT_6A Sword charging? +SCRIPT_START script_Object6ASwordChange1 + BeginBlock + DoPostScriptAction 0x0007 + _0807E930 0x0000 + Call sub_0807F738 + EndBlock + WaitForSomething 0x00000040 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/sanctuary/script_Object6ASwordCharge10.inc b/data/scripts/sanctuary/script_Object6ASwordCharge10.inc new file mode 100644 index 00000000..5a3fcf8d --- /dev/null +++ b/data/scripts/sanctuary/script_Object6ASwordCharge10.inc @@ -0,0 +1,14 @@ +@ Sanctuary OBJECT_6A Sword charging 5? +SCRIPT_START script_Object6ASwordCharge10 + BeginBlock + DoPostScriptAction 0x0007 + _0807E930 0x0015 + Call sub_0807F714 + Call sub_0807F714 + CallWithArg sub_0807F994, 0x0000fffc + EndBlock + WaitForSomething 0x00000020 + Wait 0x0078 + Call sub_0807F2D4 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/sanctuary/script_Object6ASwordCharge11.inc b/data/scripts/sanctuary/script_Object6ASwordCharge11.inc new file mode 100644 index 00000000..3d2b2cd9 --- /dev/null +++ b/data/scripts/sanctuary/script_Object6ASwordCharge11.inc @@ -0,0 +1,11 @@ +@ Sanctuary third time OBJECT_6A ? +SCRIPT_START script_Object6ASwordCharge11 + TestBit 0x00020000 + JumpIf script_08014264 + Wait 0x0008 + CallWithArg sub_08095EAC, 0x00000000 + Jump script_Object6ASwordCharge11 +script_08014264: + CallWithArg sub_08095EAC, 0x00000001 + Jump script_08014264 + .align 2, 0 diff --git a/data/scripts/sanctuary/script_Object6ASwordCharge2.inc b/data/scripts/sanctuary/script_Object6ASwordCharge2.inc new file mode 100644 index 00000000..d3e23d65 --- /dev/null +++ b/data/scripts/sanctuary/script_Object6ASwordCharge2.inc @@ -0,0 +1,11 @@ +@ Sanctuary OBJECT_6A Sword charging 2? +SCRIPT_START script_Object6ASwordCharge2 + BeginBlock + DoPostScriptAction 0x0007 + _0807E930 0x0001 + Call sub_0807F738 + EndBlock + WaitForSomething 0x00000040 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/sanctuary/script_Object6ASwordCharge3.inc b/data/scripts/sanctuary/script_Object6ASwordCharge3.inc new file mode 100644 index 00000000..72f35164 --- /dev/null +++ b/data/scripts/sanctuary/script_Object6ASwordCharge3.inc @@ -0,0 +1,11 @@ +@ Sanctuary second time OBJECT_6A sword charging? +SCRIPT_START script_Object6ASwordCharge3 + BeginBlock + DoPostScriptAction 0x0007 + _0807E930 0x0002 + Call sub_0807F738 + OffsetEntityPosition 0x0000, 0xfff0 + EndBlock + WaitForSomething 0x00000040 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/sanctuary/script_Object6ASwordCharge4.inc b/data/scripts/sanctuary/script_Object6ASwordCharge4.inc new file mode 100644 index 00000000..e693e365 --- /dev/null +++ b/data/scripts/sanctuary/script_Object6ASwordCharge4.inc @@ -0,0 +1,11 @@ +@ Sanctuary third time OBJECT_6A ? +SCRIPT_START script_Object6ASwordCharge4 + BeginBlock + DoPostScriptAction 0x0007 + _0807E930 0x0003 + Call sub_0807F738 + OffsetEntityPosition 0x0000, 0xfff0 + EndBlock + WaitForSomething 0x00000040 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/sanctuary/script_Object6ASwordCharge5.inc b/data/scripts/sanctuary/script_Object6ASwordCharge5.inc new file mode 100644 index 00000000..22e19902 --- /dev/null +++ b/data/scripts/sanctuary/script_Object6ASwordCharge5.inc @@ -0,0 +1,16 @@ +@ Sanctuary OBJECT_6A Sword charging 3? +SCRIPT_START script_Object6ASwordCharge5 + BeginBlock + DoPostScriptAction 0x0007 + _0807E930 0x0004 + EndBlock + WaitForSomething2 0x00000200 + _0807E930 0x0008 + Call sub_0807F2D4 + _0807E930 0x000c + _0807E5F8 0x00002000 + WaitForSomething 0x00000020 + _0807E930 0x0010 + Call sub_0807F2D4 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/sanctuary/script_Object6ASwordCharge6.inc b/data/scripts/sanctuary/script_Object6ASwordCharge6.inc new file mode 100644 index 00000000..e40ad2be --- /dev/null +++ b/data/scripts/sanctuary/script_Object6ASwordCharge6.inc @@ -0,0 +1,16 @@ +@ Sanctuary OBJECT_6A Sword charging 3? +SCRIPT_START script_Object6ASwordCharge6 + BeginBlock + DoPostScriptAction 0x0007 + _0807E930 0x0005 + EndBlock + WaitForSomething2 0x00000400 + _0807E930 0x0009 + Call sub_0807F2D4 + _0807E930 0x000d + _0807E5F8 0x00004000 + WaitForSomething 0x00000020 + _0807E930 0x0011 + Call sub_0807F2D4 + DoPostScriptAction 0x0006 +SCRIPT_END diff --git a/data/scripts/sanctuary/script_Object6ASwordCharge8.inc b/data/scripts/sanctuary/script_Object6ASwordCharge8.inc new file mode 100644 index 00000000..38ad04ca --- /dev/null +++ b/data/scripts/sanctuary/script_Object6ASwordCharge8.inc @@ -0,0 +1,18 @@ +@ Sanctuary third time OBJECT_6A ? +SCRIPT_START script_Object6ASwordCharge8 + BeginBlock + DoPostScriptAction 0x0007 + _0807E930 0x0007 + OffsetEntityPosition 0x0000, 0xfff0 + EndBlock + WaitForSomething2 0x00001000 + _0807E930 0x000b + Call sub_0807F2D4 + _0807E930 0x000f + _0807E5F8 0x00010000 + WaitForSomething 0x00000020 + _0807E930 0x0013 + Call sub_0807F2D4 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/sanctuary/script_Object6ASwordCharge9.inc b/data/scripts/sanctuary/script_Object6ASwordCharge9.inc new file mode 100644 index 00000000..5c2d7dca --- /dev/null +++ b/data/scripts/sanctuary/script_Object6ASwordCharge9.inc @@ -0,0 +1,14 @@ +@ Sanctuary OBJECT_6A Sword charging 4? +SCRIPT_START script_Object6ASwordCharge9 + BeginBlock + DoPostScriptAction 0x0007 + _0807E930 0x0014 + Call sub_0807F714 + CallWithArg sub_0807F994, 0x0000fffc + EndBlock + WaitForSomething 0x00000020 + Wait 0x0078 + Call sub_0807F2D4 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/sanctuary/script_Object6ASwordInPedestal.inc b/data/scripts/sanctuary/script_Object6ASwordInPedestal.inc new file mode 100644 index 00000000..d83de50e --- /dev/null +++ b/data/scripts/sanctuary/script_Object6ASwordInPedestal.inc @@ -0,0 +1,14 @@ +@ Sanctuary OBJECT_6A Sword in pedestal +SCRIPT_START script_Object6ASwordInPedestal + BeginBlock + DoPostScriptAction 0x0007 + _0807E930 0x0008 + EndBlock + WaitForSomething2 0x00000080 + _0807E930 0x000b + Call sub_0807F2D4 + _0807E5F8 0x00000100 + WaitForSomething2 0x00000080 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/sanctuary/script_Object6ATextBoard.inc b/data/scripts/sanctuary/script_Object6ATextBoard.inc new file mode 100644 index 00000000..0d465a7f --- /dev/null +++ b/data/scripts/sanctuary/script_Object6ATextBoard.inc @@ -0,0 +1,61 @@ +@ Sanctuary OBJECT_6A text board +SCRIPT_START script_Object6ATextBoard + BeginBlock + CheckLocalFlag 0x007a + JumpIf script_08013C2A + CheckInventory1 0x0003 + JumpIf script_08013C2A + CheckInventory1 0x0002 + JumpIfNot script_08013C98 + CheckInventory1 0x0040 + JumpIfNot script_08013C98 + CheckInventory1 0x0041 + JumpIfNot script_08013C98 + EndBlock + DoPostScriptAction 0x0008 + WaitForSomething2 0x00000004 + _0807E908 0x0002 + PlaySound SFX_134 + Jump script_08013C32 +script_08013C2A: + CheckLocalFlag 0x007c + JumpIf script_08013C98 +script_08013C32: + BeginBlock + DoPostScriptAction 0x0007 + Call sub_0807F934 + DoPostScriptAction 0x000a + CallWithArg sub_080962F8, 0x00000000 +.ifndef EU + CallWithArg sub_0807F8E8, 0x00000004 +.endif + EndBlock +script_08013C58: + EndBlock + BeginBlock + TestBit 0x00000008 + JumpIf script_08013C92 + CheckEntityInteractType + JumpIfNot script_08013C58 + EndBlock + _0807E864 + _0807EB74 + CheckLocalFlag 0x007d + JumpIf script_08013C82 + _0807EB28 0x1501 + Jump script_08013C86 +script_08013C82: + _0807EB28 0x1506 +script_08013C86: + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_08013C58 +script_08013C92: + EndBlock + _0807E908 0x0004 +script_08013C98: + DoPostScriptAction 0x0008 + DoPostScriptAction 0x0006 +SCRIPT_END + .align 2, 0 diff --git a/data/scripts/sanctuary/script_Object6AWaterElement.inc b/data/scripts/sanctuary/script_Object6AWaterElement.inc new file mode 100644 index 00000000..0d40a625 --- /dev/null +++ b/data/scripts/sanctuary/script_Object6AWaterElement.inc @@ -0,0 +1,10 @@ +@ Sanctuary OBJECT_6A Water Element +SCRIPT_START script_Object6AWaterElement + BeginBlock + DoPostScriptAction 0x0007 + Call sub_0807F180 + SetEntityPositionRelative 0x0120, 0x0168 + _0807E930 0x0005 + EndBlock +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/sanctuary/script_Object6AWaterElementFloating.inc b/data/scripts/sanctuary/script_Object6AWaterElementFloating.inc new file mode 100644 index 00000000..f325a16c --- /dev/null +++ b/data/scripts/sanctuary/script_Object6AWaterElementFloating.inc @@ -0,0 +1,12 @@ +@ Sanctuary second time floating water element +SCRIPT_START script_Object6AWaterElementFloating + BeginBlock + DoPostScriptAction 0x0007 + _0807E930 0x0004 + EndBlock + SetEntitySpeed 0x0080 + _0807EDD4 0x0120, 0x0168 + _0807E930 0x0005 + _0807E5F8 0x20000000 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/sanctuary/script_Object6AWindElement.inc b/data/scripts/sanctuary/script_Object6AWindElement.inc new file mode 100644 index 00000000..b0a2e2c4 --- /dev/null +++ b/data/scripts/sanctuary/script_Object6AWindElement.inc @@ -0,0 +1,10 @@ +@ Sanctuary OBJECT_6A Wind Element +SCRIPT_START script_Object6AWindElement + BeginBlock + DoPostScriptAction 0x0007 + Call sub_0807F180 + SetEntityPositionRelative 0x00b0, 0x0168 + _0807E930 0x0007 + EndBlock +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/sanctuary/script_Object6AWindElementFloating.inc b/data/scripts/sanctuary/script_Object6AWindElementFloating.inc new file mode 100644 index 00000000..d50d3f3f --- /dev/null +++ b/data/scripts/sanctuary/script_Object6AWindElementFloating.inc @@ -0,0 +1,12 @@ +@ Sanctuary third time OBJECT_6A ? +SCRIPT_START script_Object6AWindElementFloating + BeginBlock + DoPostScriptAction 0x0007 + _0807E930 0x0006 + EndBlock + SetEntitySpeed 0x0080 + _0807EDD4 0x00b0, 0x0168 + _0807E930 0x0007 + _0807E5F8 0x40000000 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/sanctuary/script_Objet6ASwordCharge7.inc b/data/scripts/sanctuary/script_Objet6ASwordCharge7.inc new file mode 100644 index 00000000..c56f06ee --- /dev/null +++ b/data/scripts/sanctuary/script_Objet6ASwordCharge7.inc @@ -0,0 +1,18 @@ +@ Sanctuary second time OBJECT_6A sword charging? +SCRIPT_START script_Objet6ASwordCharge7 + BeginBlock + DoPostScriptAction 0x0007 + _0807E930 0x0006 + OffsetEntityPosition 0x0000, 0xfff0 + EndBlock + WaitForSomething2 0x00000800 + _0807E930 0x000a + Call sub_0807F2D4 + _0807E930 0x000e + _0807E5F8 0x00008000 + WaitForSomething 0x00000020 + _0807E930 0x0012 + Call sub_0807F2D4 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/sanctuary/script_PlayerAtPedestal.inc b/data/scripts/sanctuary/script_PlayerAtPedestal.inc new file mode 100644 index 00000000..be558d2e --- /dev/null +++ b/data/scripts/sanctuary/script_PlayerAtPedestal.inc @@ -0,0 +1,18 @@ +@ Player at Sanctuary pedestal +SCRIPT_START script_PlayerAtPedestal + BeginBlock + SetEntitySpeed 0x0100 + EndBlock + Call sub_0807F584 + JumpTable script_080136F0, script_080136FA, script_08013704, script_080136FA +script_080136F0: + CallWithArg sub_0807F464, 0x000000d0 +script_080136FA: + CallWithArg sub_0807F4F8, 0x00000124 +script_08013704: + _0807EDD4 0x00e8, 0x0124 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/sanctuary/script_PlayerAtSanctuaryEntrance.inc b/data/scripts/sanctuary/script_PlayerAtSanctuaryEntrance.inc new file mode 100644 index 00000000..b257b2f5 --- /dev/null +++ b/data/scripts/sanctuary/script_PlayerAtSanctuaryEntrance.inc @@ -0,0 +1,12 @@ +@ Player at Sanctuary Entrance +SCRIPT_START script_PlayerAtSanctuaryEntrance + BeginBlock + SetEntitySpeed 0x0100 + EndBlock + _0807EDD4 0x0088, 0x0068 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + Wait 0x001e + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/sanctuary/script_PlayerGetElement.inc b/data/scripts/sanctuary/script_PlayerGetElement.inc new file mode 100644 index 00000000..e834ef9f --- /dev/null +++ b/data/scripts/sanctuary/script_PlayerGetElement.inc @@ -0,0 +1,22 @@ +@ Player get element +SCRIPT_START script_PlayerGetElement + BeginBlock + SetEntitySpeed 0x0140 + _0807E864 + Call sub_0807DF28 + EndBlock + Wait 0x0078 + PlayBgm BGM_ELEMENT_THEME + Call sub_080A0464 +script_0800A0D2: + _0807EE30 + JumpIfNot script_0800A0D2 + _0807E8E4_0 + Wait 0x0008 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000004 + WaitForSomething2 0x00000002 + Wait 0x003c + SetEntitySpeed 0x0080 + _0807EC64 0x0030 +SCRIPT_END diff --git a/data/scripts/sanctuary/script_PlayerPickUpFinalSword.inc b/data/scripts/sanctuary/script_PlayerPickUpFinalSword.inc new file mode 100644 index 00000000..bffaefd0 --- /dev/null +++ b/data/scripts/sanctuary/script_PlayerPickUpFinalSword.inc @@ -0,0 +1,13 @@ +@ Player at Sanctuary draw final sword +SCRIPT_START script_PlayerPickUpFinalSword + CallWithArg sub_08095E7C, script_Object6ASwordCharge11 + PlaySound SFX_1D3 + CallWithArg sub_0807F238, 0x000008e3 + Call sub_08096028 + Wait 0x0078 + _0807E5F8 0x00020000 + Call sub_0807F304 + Wait 0x0078 + WaitForSomething2 0x00040000 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/sanctuary/script_PlayerPickUpSword.inc b/data/scripts/sanctuary/script_PlayerPickUpSword.inc new file mode 100644 index 00000000..a6e18822 --- /dev/null +++ b/data/scripts/sanctuary/script_PlayerPickUpSword.inc @@ -0,0 +1,13 @@ +@ Player at Sanctuary pick up sword +SCRIPT_START script_PlayerPickUpSword + PlaySound SFX_1D3 + CallWithArg sub_0807F238, 0x000008bf + Call sub_08096028 + Wait 0x003c + _0807E5F8 0x00020000 + Call sub_0807F304 + Wait 0x0078 + WaitForSomething2 0x00040000 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/sanctuary/script_PlayerSanctuary.inc b/data/scripts/sanctuary/script_PlayerSanctuary.inc new file mode 100644 index 00000000..a860cd9c --- /dev/null +++ b/data/scripts/sanctuary/script_PlayerSanctuary.inc @@ -0,0 +1,12 @@ +@ Player in Sanctuary when trying clone ability for the first time +SCRIPT_START script_PlayerSanctuary + BeginBlock + SetEntitySpeed 0x0100 + EndBlock + _0807EC64 0x0010 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/sanctuary/script_PlayerSanctuaryIntro.inc b/data/scripts/sanctuary/script_PlayerSanctuaryIntro.inc new file mode 100644 index 00000000..5fea928d --- /dev/null +++ b/data/scripts/sanctuary/script_PlayerSanctuaryIntro.inc @@ -0,0 +1,9 @@ +@ Player in Sanctuary during intro cutscene +SCRIPT_START script_PlayerSanctuaryIntro + BeginBlock + _0807EB44 0x0000 + SetEntityPositionRelative 0x0098, 0x0070 + EndBlock + _0807E5F8 0x00000002 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/sanctuary/script_PlayerTextBoardAppears.inc b/data/scripts/sanctuary/script_PlayerTextBoardAppears.inc new file mode 100644 index 00000000..35c0f79a --- /dev/null +++ b/data/scripts/sanctuary/script_PlayerTextBoardAppears.inc @@ -0,0 +1,11 @@ +@ Player in Sanctuary when spawning text board +SCRIPT_START script_PlayerTextBoardAppears + BeginBlock + SetEntitySpeed 0x0100 + EndBlock + _0807EDD4 0x00e8, 0x00a8 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000002 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/script_08008B5C.inc b/data/scripts/script_08008B5C.inc deleted file mode 100644 index c1bc824e..00000000 --- a/data/scripts/script_08008B5C.inc +++ /dev/null @@ -1,137 +0,0 @@ -SCRIPT_START script_08008B5C - BeginBlock - _0807E9D4 - _0807EB44 0x0004 - _0807E930 0x0000 - DoPostScriptAction 0x000a - EndBlock -script_08008B6E: - _0807E944 - _0807E864 - _0807E930 0x0004 - Call sub_0807F2D4 - Call sub_0806BBB0 - WaitUntilTextboxCloses - _0807E930 0x0008 - _0807E878 - Jump script_08008B6E - .2byte 0x0000 -SCRIPT_START script_08008B90 - BeginBlock - _0807E9D4 - _0807EB44 0x0004 - DoPostScriptAction 0x000a - _0807E930 0x0000 - EndBlock -script_08008BA2: - _0807E944 - _0807E864 - _0807E930 0x0004 - Call sub_0807F2D4 - MessageFromTarget 0x4912 - WaitUntilTextboxCloses - _0807E930 0x0008 - _0807E878 - Jump script_08008BA2 -SCRIPT_START script_08008BC0 - BeginBlock - _0807E9D4 - _0807EB44 0x0004 - DoPostScriptAction 0x000a - _0807E930 0x0000 -.ifdef EU - SetGlobalFlag 0x0061 -.endif - EndBlock -script_08008BD2: - _0807E944 - _0807E864 -.ifndef EU - SetGlobalFlag 0x0061 -.endif - _0807E930 0x0004 - Call sub_0807F2D4 - WaitUntilTextboxCloses - Call sub_0806BA34 - JumpIfNot script_08008C54 - WaitUntilTextboxCloses - CallWithArg sub_0806BB1C, 0x00000000 - Call sub_0807F2D4 - CallWithArg sub_0806BB1C, 0x00000001 - Call sub_0806BB7C - JumpIfNot script_08008C5C - MessageNoOverlap 0x490c - WaitUntilTextboxCloses - LoadRoomEntityList gUnk_080D6784 - WaitForSomething 0x00000001 - WaitForSomething 0x00000004 - Wait 0x000f - PlaySound SFX_SECRET - _0807E930 0x0004 - Call sub_0807F2D4 - MessageNoOverlap 0x4913 - WaitUntilTextboxCloses - _0807E930 0x0008 - Call sub_0807F2D4 - Jump script_08008C5C -script_08008C54: - _0807E930 0x0008 - Wait 0x000f -script_08008C5C: - WaitUntilTextboxCloses - _0807E878 - Jump script_08008BD2 -SCRIPT_START script_08008C64 - BeginBlock - SetEntityPositionRelative 0x0068, 0x0018 - DoPostScriptAction 0x000f - _0807EB44 0x0004 - _0807E930 0x0004 - SetEntitySpeed 0x0300 - PlaySound SFX_STAIRS - EndBlock - WaitForSomething 0x00000002 - MessageNoOverlap 0x490d - WaitUntilTextboxCloses - DoPostScriptAction 0x0007 - Call sub_08064D08 - _0807EDD4 0x0068, 0x0078 - Call sub_08064D10 - Wait 0x000f - _0807EB44 0x0002 - Wait 0x000f - Call sub_08064D08 - _0807EDD4 0x0098, 0x0078 - Call sub_08064D10 - Wait 0x000f - _0807EB44 0x0004 - PlaySound SFX_PLY_LIFT - Wait 0x000f - _0807EB44 0x0002 - _0807EDD4 0x00ac, 0x0078 - Wait 0x000f - _0807EB44 0x0004 - PlaySound SFX_PLY_LIFT - Wait 0x000f - _0807EB44 0x0002 - _0807EDD4 0x00c0, 0x0078 - Wait 0x000f - _0807EB44 0x0004 - PlaySound SFX_PLY_LIFT - Wait 0x000f - _0807EB44 0x0006 - Wait 0x001e - Call sub_08064D08 - _0807EDD4 0x0068, 0x0078 - Call sub_08064D10 - Wait 0x000f - _0807EB44 0x0000 - Wait 0x000f - Call sub_08064D08 - _0807EDD4 0x0068, 0x0018 - Call sub_08064D10 - PlaySound SFX_STAIRS - _0807E5F8 0x00000001 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08008D50.inc b/data/scripts/script_08008D50.inc deleted file mode 100644 index 76375a89..00000000 --- a/data/scripts/script_08008D50.inc +++ /dev/null @@ -1,17 +0,0 @@ -SCRIPT_START script_08008D50 - BeginBlock - SetEntityPositionRelative 0x0068, 0x0068 - _0807F0B4 0x0004 - CameraTargetEntity - EndBlock - Wait 0x001e - _0807E5F8 0x00000002 - WaitForSomething 0x00000001 - Wait 0x000f - _0807F0B4 0x0004 - CameraTargetPlayer - Wait 0x001e - _0807E5F8 0x00000004 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08008D8C.inc b/data/scripts/script_08008D8C.inc deleted file mode 100644 index 1b34fcb9..00000000 --- a/data/scripts/script_08008D8C.inc +++ /dev/null @@ -1,112 +0,0 @@ -SCRIPT_START script_08008D8C - BeginBlock - Call sub_08061FD8 - Call sub_08061E70 - DoPostScriptAction 0x000a - EndBlock -script_08008DA0: - CheckEntityInteractType - JumpIfNot script_08008DA0 - _0807E864 - _0807EB74 - Call sub_08061FD8 - Call sub_08062048 - WaitUntilTextboxCloses - _0807E878 - Jump script_08008DA0 - .2byte 0x0000 -SCRIPT_START script_08008DC0 - BeginBlock - _0807E9D4 - DoPostScriptAction 0x000a - _0807EB44 0x0004 - CallWithArg sub_0807F3D8, 0x00000000 - EndBlock -script_08008DD8: - CheckEntityInteractType - JumpIfNot script_08008DD8 - _0807E864 - _0807EB74 - CallWithArg sub_0807F3D8, 0x00000000 - Call sub_080643D8 - WaitUntilTextboxCloses - _0807E878 - _0807EB44 0x0004 - CallWithArg sub_0807F3D8, 0x00000000 - Jump script_08008DD8 -SCRIPT_START script_08008E08 - BeginBlock - SetEntityPositionRelative 0x0088, 0x0078 - EndBlock -script_08008E12: - CheckPlayerInRegion 0x00d8, 0x0098, 0x4020 - JumpIfNot script_08008E12 - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - _0807F0B4 0x0001 - CameraTargetEntity - WaitForPlayerAction0x17 - Wait 0x003c - StartPlayerScript script_08008F74 - WaitForSomething2 0x00000020 - _0807E5F8 0x00000001 - WaitForSomething2 0x00000002 - _0807E5F8 0x00000001 - WaitForSomething2 0x00000002 - Wait 0x003c - _0807E5F8 0x00000080 - WaitForSomething2 0x00000100 - _0807E5F8 0x00000001 - WaitForSomething2 0x00000002 - Wait 0x000f - _0807E5F8 0x00000080 - WaitForSomething2 0x00000100 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - MessageFromTargetPos 0x1053, 0x000e - WaitUntilTextboxCloses - _0807E5F8 0x00000080 - WaitForSomething2 0x00000100 - _0807E5F8 0x00000080 - WaitForSomething2 0x00000100 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - _0807E5F8 0x00000001 - WaitForSomething2 0x00000002 - _0807E5F8 0x00000080 - WaitForSomething2 0x00000100 - _0807E5F8 0x00000040 - WaitForSomething2 0x00000020 - _0807E5F8 0x00000001 - WaitForSomething2 0x00000002 - _0807F034 0x0035 - WaitPlayerGetItem - StartPlayerScript script_08008FC0 - WaitForSomething2 0x00000020 - _0807E8E4_0 - _0807E5F8 0x00000080 - WaitForSomething2 0x00000100 - _0807E5F8 0x00000010 - Wait 0x0078 - _0807E5F8 0x00000080 - WaitForSomething2 0x00000100 - _0807E8E4_1 - _0807E5F8 0x00000001 - WaitForSomething2 0x00000002 - _0807F034 0x0047 - WaitPlayerGetItem - SetIntVariable 0x00000003 - Call sub_0807F420 - _0807E8E4_0 - _0807E5F8 0x00000080 - WaitForSomething2 0x00000100 - _0807F0B4 0x0004 - CameraTargetPlayer - SetGlobalFlag 0x0015 - Call sub_0806DCC0 - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08008F74.inc b/data/scripts/script_08008F74.inc deleted file mode 100644 index 8db32075..00000000 --- a/data/scripts/script_08008F74.inc +++ /dev/null @@ -1,19 +0,0 @@ -SCRIPT_START script_08008F74 - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - DoPostScriptAction 0x0001 - _0807EDD4 0x00b8, 0x0090 - _0807EB44 0x0006 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000020 - WaitForSomething2 0x00000040 - DoPostScriptAction 0x0001 - _0807EDD4 0x0088, 0x0078 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - Wait 0x000f - _0807E5F8 0x00000020 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08008FC0.inc b/data/scripts/script_08008FC0.inc deleted file mode 100644 index 04ab3012..00000000 --- a/data/scripts/script_08008FC0.inc +++ /dev/null @@ -1,12 +0,0 @@ -SCRIPT_START script_08008FC0 - _0807F078 0x0001, 0x0001 - CallWithArg sub_0807F918, 0x00000001 - PlaySound SFX_109 - CallWithArg sub_0807F238, 0x0000045f - Call sub_0807F304 - MessageFromTargetPos 0x0501, 0x000e - WaitUntilTextboxCloses - _0807E5F8 0x00000020 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08008FFC.inc b/data/scripts/script_08008FFC.inc deleted file mode 100644 index 0a8bb0c9..00000000 --- a/data/scripts/script_08008FFC.inc +++ /dev/null @@ -1,18 +0,0 @@ -SCRIPT_START script_08008FFC - BeginBlock - _0807EB44 0x0000 - _0807E930 0x0000 - EndBlock - WaitForSomething 0x00000010 - PlaySound SFX_11C - _0807E930 0x0001 - Wait 0x0010 - PlaySound SFX_11C - _0807EB44 0x0004 - _0807E930 0x0006 - Wait 0x0010 - DoPostScriptAction 0x000f - SetEntitySpeed 0x0200 - _0807ECC4 0x1c20 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800903C.inc b/data/scripts/script_0800903C.inc deleted file mode 100644 index ba22fe01..00000000 --- a/data/scripts/script_0800903C.inc +++ /dev/null @@ -1,206 +0,0 @@ -SCRIPT_START script_0800903C - BeginBlock - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - EndBlock - WaitForSomething2 0x00000004 - PlaySound SFX_PLY_JUMP - _0807EF3C 0x0180, 0x0030 - _0807EB44 0x0002 - _0807E5F8 0x00000008 - WaitForSomething2 0x00000004 - _0807EB44 0x0004 - _0807E5F8 0x00000008 - BeginBlock - _0807E9D4 - DoPostScriptAction 0x000a - Jump script_0800927E - .2byte 0x0000 -SCRIPT_START script_08009080 - BeginBlock - Call sub_0807F348 - SetEntitySpeed 0x0100 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - _0807E9D4 - DoPostScriptAction 0x000a - EndBlock - WaitForSomething2 0x00000080 - _0807EB44 0x0004 - _0807ECC4 0x0008 - _0807E930 0x0004 - MessageFromTargetPos 0x1050, 0x000e - WaitUntilTextboxCloses - DoPostScriptAction 0x0000 - _0807E5F8 0x00000100 - WaitForSomething2 0x00000080 - _0807E930 0x0004 - MessageFromTargetPos 0x1052, 0x000e - WaitUntilTextboxCloses - DoPostScriptAction 0x0000 - _0807E5F8 0x00000100 - WaitForSomething2 0x00000080 - _0807EB44 0x0006 - _0807E930 0x0005 - MessageFromTargetPos 0x1054, 0x000e - WaitUntilTextboxCloses - DoPostScriptAction 0x0000 - _0807E5F8 0x00000100 - WaitForSomething2 0x00000080 - _0807EB44 0x0004 - _0807E5F8 0x00000100 - WaitForSomething2 0x00000080 - _0807E930 0x0004 - MessageFromTargetPos 0x1056, 0x000e - WaitUntilTextboxCloses - DoPostScriptAction 0x0000 - _0807E5F8 0x00000100 - WaitForSomething2 0x00000080 - _0807E930 0x0004 - MessageFromTargetPos 0x1057, 0x000e - WaitUntilTextboxCloses - DoPostScriptAction 0x0000 - _0807E5F8 0x00000100 - WaitForSomething2 0x00000080 - _0807E930 0x0004 - MessageFromTargetPos 0x1058, 0x000e - WaitUntilTextboxCloses - DoPostScriptAction 0x0000 - _0807E5F8 0x00000100 - WaitForSomething2 0x00000080 - _0807E930 0x0004 - MessageFromTargetPos 0x105c, 0x000e - WaitUntilTextboxCloses - DoPostScriptAction 0x0000 - _0807E5F8 0x00000100 -script_0800917C: - CheckEntityInteractType - JumpIfNot script_0800917C - _0807E864 - _0807EB74 - Call sub_0806673C - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_0800917C -SCRIPT_START script_08009198 - BeginBlock - Call sub_0807F348 - _0807EB44 0x0006 - DoPostScriptAction 0x0000 - EndBlock - WaitForSomething2 0x00000001 - _0807EB74 - DoPostScriptAction 0x0001 - MessageFromTargetPos 0x105b, 0x0000 - WaitUntilTextboxCloses - DoPostScriptAction 0x0000 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000001 - _0807EB44 0x0006 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000001 - DoPostScriptAction 0x0005 - Wait 0x003c - DoPostScriptAction 0x0001 - MessageFromTargetPos 0x1051, 0x0000 - WaitUntilTextboxCloses - DoPostScriptAction 0x0000 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000001 - DoPostScriptAction 0x0004 - Wait 0x003c - _0807EB74 - _0807EB8C - DoPostScriptAction 0x0001 - MessageFromTargetPos 0x1055, 0x0000 - WaitUntilTextboxCloses - DoPostScriptAction 0x0000 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000001 - _0807EB74 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000001 - SetEntitySpeed 0x0080 - DoPostScriptAction 0x0001 - _0807EDD4 0x0098, 0x0078 - _0807EB74 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x0001 - MessageFromTargetPos 0x1059, 0x0000 - WaitUntilTextboxCloses - DoPostScriptAction 0x0000 - _0807E5F8 0x00000002 - BeginBlock - _0807E9D4 - DoPostScriptAction 0x000a - Jump script_080092B2 - .2byte 0x0000 -SCRIPT_START script_08009274 - BeginBlock - _0807EB44 0x0004 - DoPostScriptAction 0x0000 -script_0800927E: - Call sub_080668F0 - DoPostScriptAction 0x000a - EndBlock -script_0800928A: - CheckEntityInteractType - JumpIfNot script_0800928A - _0807E864 - _0807EB74 - Call sub_08066904 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_0800928A - .2byte 0x0000 -SCRIPT_START script_080092A8 - BeginBlock - _0807EB44 0x0006 - DoPostScriptAction 0x0000 -script_080092B2: - _0807E9D4 - DoPostScriptAction 0x000a - EndBlock -script_080092BA: - CheckEntityInteractType - JumpIfNot script_080092BA - _0807E864 - _0807EB74 - MessageNoOverlap 0x105e - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_080092BA -SCRIPT_START script_080092D4 - BeginBlock - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - Call sub_0806672C - DoPostScriptAction 0x000a - EndBlock - Jump script_0800917C - .2byte 0x0000 -SCRIPT_START script_080092F0 - BeginBlock - DoPostScriptAction 0x000a - Call sub_08066E38 - _0807E9D4 - EndBlock -script_08009300: - CheckEntityInteractType - JumpIfNot script_08009300 - _0807E864 - _0807EB74 - MessageNoOverlap 0x1071 - WaitUntilTextboxCloses - _0807E878 - Jump script_08009300 - .2byte 0x0000 -SCRIPT_START script_08009318 - BeginBlock - EndBlock -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08009320.inc b/data/scripts/script_08009320.inc deleted file mode 100644 index ccea2c7d..00000000 --- a/data/scripts/script_08009320.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_08009320 - BeginBlock - Call sub_0806D650 - SetEntitySpeed 0x0010 - EndBlock -script_0800932E: - _0807EEF4 0xfff8, 0x0000 - _0807EEF4 0x0008, 0x0000 - Jump script_0800932E -SCRIPT_END diff --git a/data/scripts/script_08009340.inc b/data/scripts/script_08009340.inc deleted file mode 100644 index d5ecf24e..00000000 --- a/data/scripts/script_08009340.inc +++ /dev/null @@ -1,5 +0,0 @@ -SCRIPT_START script_08009340 - BeginBlock - EndBlock -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08009348.inc b/data/scripts/script_08009348.inc deleted file mode 100644 index 17a843d6..00000000 --- a/data/scripts/script_08009348.inc +++ /dev/null @@ -1,27 +0,0 @@ -SCRIPT_START script_08009348 - BeginBlock - _0807E9D4 - EndBlock -script_0800934E: - CheckEntityInteractType - JumpIfNot script_0800934E - _0807E864 - Call sub_0807DF28 - Call sub_0806D638 - _0807F0B4 0x0001 - CameraTargetEntity - CheckGlobalFlag 0x0055 - JumpIf script_0800939A - 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 diff --git a/data/scripts/script_0800939A.inc b/data/scripts/script_0800939A.inc deleted file mode 100644 index 39e1d99d..00000000 --- a/data/scripts/script_0800939A.inc +++ /dev/null @@ -1,95 +0,0 @@ -SCRIPT_START script_0800939A -.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 diff --git a/data/scripts/script_08009464.inc b/data/scripts/script_08009464.inc deleted file mode 100644 index 05f2b9d0..00000000 --- a/data/scripts/script_08009464.inc +++ /dev/null @@ -1,42 +0,0 @@ -SCRIPT_START script_08009464 - 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 -SCRIPT_START script_080094A4 - BeginBlock - Call sub_0806D7C4 - SetEntitySpeed 0x0080 - EndBlock - Wait 0x003c - SetEntity0x20 0x00018000 -script_080094BC: - _0807EE30 - JumpIfNot script_080094BC - Wait 0x003c - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_080094CC.inc b/data/scripts/script_080094CC.inc deleted file mode 100644 index 9b4323f2..00000000 --- a/data/scripts/script_080094CC.inc +++ /dev/null @@ -1,15 +0,0 @@ -SCRIPT_START script_080094CC - 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 diff --git a/data/scripts/script_080094FC.inc b/data/scripts/script_080094FC.inc deleted file mode 100644 index ca1dae02..00000000 --- a/data/scripts/script_080094FC.inc +++ /dev/null @@ -1,76 +0,0 @@ -SCRIPT_START script_080094FC - BeginBlock - Call sub_08067100 - DoPostScriptAction 0x000a - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - EndBlock -script_08009512: - CheckEntityInteractType - JumpIfNot script_08009512 - _0807E864 - DoPostScriptAction 0x0001 - _0807EB74 - Call sub_080670B4 - WaitUntilTextboxCloses - _0807E878 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - Jump script_08009512 - .2byte 0x0000 -SCRIPT_START script_08009538 - BeginBlock - Call sub_08067100 - DoPostScriptAction 0x000a - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - EndBlock -script_0800954E: - CheckEntityInteractType - JumpIfNot script_0800954E - _0807E864 - DoPostScriptAction 0x0001 - _0807EB74 - Call sub_080670E4 - WaitUntilTextboxCloses - _0807E878 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - Jump script_0800954E - .2byte 0x0000 -SCRIPT_START script_08009574 - BeginBlock - Call sub_08067314 - DoPostScriptAction 0x000a - _0807EB44 0x0004 - SetIntVariable 0x00000000 - Call sub_080672B0 - EndBlock -script_08009592: - CheckEntityInteractType - JumpIfNot script_08009592 - _0807E864 - _0807EB74 - SetIntVariable 0x00000004 - Call sub_080672B0 - Call sub_080672C8 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - _0807EB44 0x0004 - SetIntVariable 0x00000000 - Call sub_080672B0 - Jump script_08009592 - .2byte 0x0000 -SCRIPT_START script_080095CC - BeginBlock - Call sub_0806BE3C - DoPostScriptAction 0x000a - DoPostScriptAction 0x0007 - EndBlock -script_080095DE: - Call sub_0806BF44 - JumpIf script_080095F2 - DoPostScriptAction 0x000b - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_080095F2.inc b/data/scripts/script_080095F2.inc deleted file mode 100644 index a0b52a09..00000000 --- a/data/scripts/script_080095F2.inc +++ /dev/null @@ -1,83 +0,0 @@ -SCRIPT_START script_080095F2 - CheckEntityInteractType - JumpIfNot script_080095DE - _0807E864 - _0807EB74 - DoPostScriptAction 0x0001 - Call sub_0806BE84 - WaitUntilTextboxCloses - JumpIfNot script_08009622 - PlaySound SFX_109 - _0807F088 0x003c - MessageFromTarget 0x053c - WaitPlayerGetItem - WaitUntilTextboxCloses - _0807F078 0x003c, 0x0001 -script_08009622: - _0807E878 - DoPostScriptAction 0x0000 - Jump script_080095DE -SCRIPT_START script_0800962C - BeginBlock - DoPostScriptAction 0x000b - DoPostScriptAction 0x0008 - EndBlock -script_08009638: - EndBlock - BeginBlock - CheckGlobalFlag 0x0020 - JumpIfNot script_08009638 - EndBlock -script_08009646: - Call sub_0806BF44 - JumpIf script_08009646 - EndBlock - Call sub_0806BE3C - DoPostScriptAction 0x000a - DoPostScriptAction 0x0007 -script_08009660: - CheckEntityInteractType - JumpIfNot script_08009660 - _0807E864 - _0807EB74 - DoPostScriptAction 0x0001 - Call sub_0806BEC8 - WaitUntilTextboxCloses - JumpIfNot script_0800968E - PlaySound SFX_111 - PlaySound SFX_SECRET - _0807F078 0x003c, 0x0002 - Call sub_0806BEFC -script_0800968E: - _0807E878 - DoPostScriptAction 0x0000 - Jump script_08009660 -SCRIPT_START script_08009698 - BeginBlock - DoPostScriptAction 0x0007 - Jump script_080096FC - CheckGlobalFlag 0x0020 - JumpIf script_080096FC - EndBlock -script_080096AC: - CheckPlayerInRegion 0x0188, 0x01c0, 0x1020 - JumpIfNot script_080096AC - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - StartPlayerScript script_08009704 - WaitForSomething2 0x00000001 - PlaySound SFX_111 - DoPostScriptAction 0x0008 - LoadRoomEntityList gUnk_080D9048 - Wait 0x000f - PlaySound SFX_111 - DoPostScriptAction 0x0007 -script_080096EC: - CheckGlobalFlag 0x0020 - JumpIfNot script_080096EC - Call sub_0807DF50 - _0807E878 -script_080096FC: - Call sub_0808692C -SCRIPT_END diff --git a/data/scripts/script_08009704.inc b/data/scripts/script_08009704.inc deleted file mode 100644 index a37836bb..00000000 --- a/data/scripts/script_08009704.inc +++ /dev/null @@ -1,15 +0,0 @@ -SCRIPT_START script_08009704 - SetEntitySpeed 0x0080 - DoPostScriptAction 0x0001 - _0807EDD4 0x01a0, 0x01b0 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - Wait 0x000a - DoPostScriptAction 0x0004 - Wait 0x003c - _0807E5F8 0x00000001 - DoPostScriptAction 0x000d - SetEntitySpeed 0x0100 - _0807ECC4 0x0010 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_08009740.inc b/data/scripts/script_08009740.inc deleted file mode 100644 index ecf4ee25..00000000 --- a/data/scripts/script_08009740.inc +++ /dev/null @@ -1,47 +0,0 @@ -SCRIPT_START script_08009740 - BeginBlock - Call sub_08065D00 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x000a - DoPostScriptAction 0x0007 - EndBlock -script_0800975A: - CheckEntityInteractType - JumpIfNot script_0800975A - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 - Call sub_08065F64 - WaitUntilTextboxCloses - _0807E878 - Jump script_0800975A - .2byte 0x0000 -SCRIPT_START script_08009778 - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - PlaySound SFX_1F3 - Call sub_0807F40C - _0807E8E4_1 - Wait 0x000a - _0807E8E4_3 - Wait 0x0032 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - StartPlayerScript script_0800987C - WaitForSomething2 0x00000040 - _0807E5F8 0x00000008 - WaitForSomething2 0x00000010 - _0807E5F8 0x00000020 - WaitForSomething2 0x00000040 - _0807F078 0x003c, 0x0000 - SetGlobalFlag 0x0020 - _0807E8E4_3 - Wait 0x001e - _0807EB28 0x2809 - WaitUntilTextboxCloses - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_080097F0.inc b/data/scripts/script_080097F0.inc deleted file mode 100644 index dd31d91e..00000000 --- a/data/scripts/script_080097F0.inc +++ /dev/null @@ -1,21 +0,0 @@ -SCRIPT_START script_080097F0 - BeginBlock - _0807E930 0x0003 - DoPostScriptAction 0x0007 - SetEntitySpeed 0x0300 - Call sub_0807F348 - EndBlock - WaitForSomething2 0x00000002 - PlaySound SFX_123 - Call sub_0807F1A0 -script_08009816: - EndBlock - BeginBlock - _0807EE30 - JumpIfNot script_08009816 - EndBlock - _0807E5F8 0x00000004 - Call sub_0807FBD4 - PlaySound SFX_1F3 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08009838.inc b/data/scripts/script_08009838.inc deleted file mode 100644 index dab8ef69..00000000 --- a/data/scripts/script_08009838.inc +++ /dev/null @@ -1,17 +0,0 @@ -SCRIPT_START script_08009838 - BeginBlock - _0807E930 0x0003 - DoPostScriptAction 0x0007 - SetEntitySpeed 0x0300 - Call sub_0807F348 - EndBlock - WaitForSomething2 0x00000008 - Call sub_0809E0A0 - Call sub_0809E0D4 - PlaySound SFX_1F3 - Call sub_0807FBD4 - PlaySound SFX_1F3 - _0807E5F8 0x00000010 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800987C.inc b/data/scripts/script_0800987C.inc deleted file mode 100644 index b6cf02a9..00000000 --- a/data/scripts/script_0800987C.inc +++ /dev/null @@ -1,20 +0,0 @@ -SCRIPT_START script_0800987C - PlaySound SFX_PLY_VO6 - _0807EB44 0x0004 - PlaySound SFX_86 - Call sub_0807F36C - SetEntitySpeed 0x0400 - _0807ECF4 0x0004 - Call sub_0807F1E8 - Wait 0x001e - _0807E5F8 0x00000040 - WaitForSomething2 0x00000020 - PlaySound SFX_PLY_JUMP - _0807EB44 0x0004 - Call sub_0807F210 - _0807EF3C 0x0200, 0x0020 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000040 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_080098D4.inc b/data/scripts/script_080098D4.inc deleted file mode 100644 index f35937cc..00000000 --- a/data/scripts/script_080098D4.inc +++ /dev/null @@ -1,47 +0,0 @@ -SCRIPT_START script_080098D4 - BeginBlock - EndBlock -script_080098D8: - CheckGlobalFlag 0x0020 - JumpIfNot script_080098D8 -script_080098E0: - CheckInventory1 0x003c - JumpIfNot script_080098E0 -.ifdef JP - CheckLocalFlag 0x5b -.else -.ifdef EU - CheckLocalFlag 0x5b -.else -.ifdef DEMO_JP - CheckLocalFlag 0x5b @ TODO deduplicate -.else - CheckLocalFlag 0x5d -.endif -.endif -.endif - JumpIf script_08009910 -.ifdef JP - SetLocalFlag 0x005b -.else -.ifdef EU - SetLocalFlag 0x005b -.else -.ifdef DEMO_JP - SetLocalFlag 0x005b @ TODO deduplicate -.else - SetLocalFlag 0x005d -.endif -.endif -.endif - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - _0807EB28 0x280a - WaitUntilTextboxCloses - Call sub_0807DF50 - _0807E878 -script_08009910: - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08009918.inc b/data/scripts/script_08009918.inc deleted file mode 100644 index 77f4fe2a..00000000 --- a/data/scripts/script_08009918.inc +++ /dev/null @@ -1,15 +0,0 @@ -SCRIPT_START script_08009918 - BeginBlock - Call sub_0807DF28 - _0807E864 - _0807E5F8 0x00000000 - EndBlock - WaitFor_2 - Wait 0x0078 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000001 - SetGlobalFlag 0x001c - Call sub_0807DF50 - _0807E878 - Call sub_0807921C -SCRIPT_END diff --git a/data/scripts/script_08009950.inc b/data/scripts/script_08009950.inc deleted file mode 100644 index 18c18086..00000000 --- a/data/scripts/script_08009950.inc +++ /dev/null @@ -1,37 +0,0 @@ -SCRIPT_START script_08009950 - BeginBlock - Call sub_0807F348 - SetEntitySpeed 0x0040 - _0807EB44 0x0004 - _0807E930 0x000c - _0807E908 0x0003 - EndBlock - Wait 0x001e - CameraTargetEntity - _0807E778 0x0004 - _0807E800 0x00000000 - WaitFor_2 - WaitForSomething2 0x00000008 - DoPostScriptAction 0x0004 - Wait 0x001e - _0807E930 0x000b - Wait 0x001e - MessageFromTarget 0x1002 - WaitUntilTextboxCloses - DoPostScriptAction 0x0000 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - _0807E908 0x0001 - _0807EB44 0x0004 - _0807EDD4 0x00b8, 0x005c - _0807EB44 0x0006 - DoPostScriptAction 0x0001 - MessageFromTarget 0x1004 - WaitUntilTextboxCloses - DoPostScriptAction 0x0000 - Wait 0x001e - _0807E778 0x0002 - DoFade5 - WaitFor_2 - Call sub_08053634 -SCRIPT_END diff --git a/data/scripts/script_080099DC.inc b/data/scripts/script_080099DC.inc deleted file mode 100644 index 9fec298d..00000000 --- a/data/scripts/script_080099DC.inc +++ /dev/null @@ -1,23 +0,0 @@ -SCRIPT_START script_080099DC - BeginBlock - Call sub_0807F348 - SetEntitySpeed 0x00c0 - _0807EB44 0x0002 - DoPostScriptAction 0x0008 - EndBlock - WaitForSomething2 0x00000004 - DoPostScriptAction 0x0007 - _0807EDD4 0x0068, 0x0060 - Wait 0x000f - MessageFromTarget 0x1001 - WaitUntilTextboxCloses - DoPostScriptAction 0x0000 - _0807E5F8 0x00000008 - WaitForSomething2 0x00000004 - DoPostScriptAction 0x0001 - MessageFromTarget 0x1003 - WaitUntilTextboxCloses - DoPostScriptAction 0x0000 - _0807E5F8 0x00000008 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08009A34.inc b/data/scripts/script_08009A34.inc deleted file mode 100644 index 03504b53..00000000 --- a/data/scripts/script_08009A34.inc +++ /dev/null @@ -1,22 +0,0 @@ -SCRIPT_START script_08009A34 - Wait 0x003c -script_08009A38: - Call sub_08066258 - Wait 0x001e - Call sub_08066258 - Wait 0x005a - Jump script_08009A38 -SCRIPT_START script_08009A50 - SetEntityPositionRelative 0x0240, 0x0178 - CameraTargetEntity - SetEntitySpeed 0x0080 - Wait 0x0078 - PlayBgm BGM_MINISH_CAP - _0807E778 0x0002 - DoFade4 - WaitFor_2 - Wait 0x0078 - _0807E5F8 0x00000004 - Call sub_08053648 - _0807EDD4 0x0240, 0x0228 -SCRIPT_END diff --git a/data/scripts/script_08009A84.inc b/data/scripts/script_08009A84.inc deleted file mode 100644 index 6b3e05a7..00000000 --- a/data/scripts/script_08009A84.inc +++ /dev/null @@ -1,26 +0,0 @@ -SCRIPT_START script_08009A84 - BeginBlock - SetEntityPositionRelative 0x01e8, 0x0110 - SetEntitySpeed 0x00c0 - DoPostScriptAction 0x0008 - EndBlock - WaitForSomething2 0x00000004 - DoPostScriptAction 0x0007 - _0807EDD4 0x01e8, 0x0200 - _0807EDD4 0x01f8, 0x0218 - _0807EDD4 0x0220, 0x0228 - _0807EDD4 0x0240, 0x0228 - CameraTargetEntity - _0807EDD4 0x0290, 0x0228 - _0807EDD4 0x0290, 0x01f8 - SetEntitySpeed 0x0080 - _0807EDD4 0x0290, 0x01c8 - SetEntitySpeed 0x00c0 - _0807EDD4 0x0290, 0x0198 - Wait 0x001e - _0807E5F8 0x00000010 - _0807EDD4 0x0290, 0x0190 - DoPostScriptAction 0x0008 - _0807EDD4 0x0290, 0x0188 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08009AF8.inc b/data/scripts/script_08009AF8.inc deleted file mode 100644 index 48ef802b..00000000 --- a/data/scripts/script_08009AF8.inc +++ /dev/null @@ -1,16 +0,0 @@ -SCRIPT_START script_08009AF8 - BeginBlock - EndBlock - WaitForSomething2 0x00000010 - PlaySound SFX_F0 - DoPostScriptAction 0x0008 - Wait 0x001e - PlaySound SFX_F1 - DoPostScriptAction 0x0007 - Wait 0x005a - _0807E778 0x0004 - _0807E80C 0x00000000 - WaitFor_2 - Call sub_0805367C -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08009B30.inc b/data/scripts/script_08009B30.inc deleted file mode 100644 index 93160763..00000000 --- a/data/scripts/script_08009B30.inc +++ /dev/null @@ -1,20 +0,0 @@ -SCRIPT_START script_08009B30 - BeginBlock - Call sub_0807DF28 - _0807E864 - SetLocalFlag 0x0046 - EndBlock - WaitFor_2 - Wait 0x001e - MessageFromTarget 0x1005 - WaitUntilTextboxCloses - Wait 0x003c - Call sub_0807529C - Wait 0x003c - DoPostScriptAction 0x0014 - Wait 0x001e - Call sub_08053250 - _0807E878 - Call sub_0807DF50 - Call sub_080791D0 -SCRIPT_END diff --git a/data/scripts/script_08009B78.inc b/data/scripts/script_08009B78.inc deleted file mode 100644 index 10bffa01..00000000 --- a/data/scripts/script_08009B78.inc +++ /dev/null @@ -1,63 +0,0 @@ -SCRIPT_START script_08009B78 - BeginBlock - _0807EB44 0x0006 - SetEntitySpeed 0x0080 - _0807E9D4 - Call sub_0807F348 - EndBlock - CheckGlobalFlag 0x0013 - JumpIf script_08009C4C - _0807E888 - Wait 0x000a - _0807E864 - StartPlayerScript script_08009CFC - Call sub_0807DF28 - WaitForSomething2 0x00000008 - _0807EDD4 0x0080, 0x005c - _0807EB44 0x0006 - DoPostScriptAction 0x0000 - Wait 0x000f - DoPostScriptAction 0x0001 - MessageFromTargetPos 0x1009, 0x0000 - _0807E8E4_1 - WaitUntilTextboxCloses - DoPostScriptAction 0x0000 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - _0807EB8C - DoPostScriptAction 0x0001 - MessageFromTargetPos 0x100b, 0x0000 - WaitUntilTextboxCloses - DoPostScriptAction 0x0000 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000008 - _0807EDD4 0x007c, 0x005c - Wait 0x000f - DoPostScriptAction 0x000d - _0807EDD4 0x0084, 0x005c - _0807EB44 0x0006 - DoPostScriptAction 0x000c - DoPostScriptAction 0x0000 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000008 - Call sub_08053250 - _0807F034 0x0034 - WaitPlayerGetItem - _0807E8E4_1 - DoPostScriptAction 0x0001 - MessageFromTargetPos 0x100c, 0x0000 - WaitUntilTextboxCloses - DoPostScriptAction 0x0000 - _0807E5F8 0x00000004 -script_08009C4C: - DoPostScriptAction 0x000a -script_08009C50: - CheckEntityInteractType - JumpIfNot script_08009C50 - _0807E864 - _0807EB74 - MessageNoOverlap 0x100e - _0807E878 - Jump script_08009C50 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08009C68.inc b/data/scripts/script_08009C68.inc deleted file mode 100644 index d4f1e156..00000000 --- a/data/scripts/script_08009C68.inc +++ /dev/null @@ -1,39 +0,0 @@ -SCRIPT_START script_08009C68 - BeginBlock - _0807EB44 0x0002 - SetEntitySpeed 0x0100 - Call sub_0807F348 - EndBlock - WaitForSomething2 0x00000004 - DoPostScriptAction 0x0004 - _0807EB74 - WaitForSomething2 0x00000004 - _0807EB74 - WaitForSomething2 0x00000004 - _0807EB74 - _0807EB8C - DoPostScriptAction 0x0001 - MessageFromTargetPos 0x100a, 0x0000 - WaitUntilTextboxCloses - DoPostScriptAction 0x0000 - _0807E5F8 0x00000008 - WaitForSomething2 0x00000004 - _0807EB8C - DoPostScriptAction 0x0001 - _0807EB8C - _0807EB44 0x0002 - MessageFromTargetPos 0x100d, 0x0000 - WaitUntilTextboxCloses - DoPostScriptAction 0x0000 - _0807EDD4 0x0028, 0x0060 - _0807EDD4 0x0000, 0x0060 - Call sub_080536A8 - Wait 0x001e - BeginBlock - SetGlobalFlag 0x0013 - Call sub_0807DF50 - Call sub_080791D0 - _0807E878 - EndBlock -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08009CFC.inc b/data/scripts/script_08009CFC.inc deleted file mode 100644 index 613aaba8..00000000 --- a/data/scripts/script_08009CFC.inc +++ /dev/null @@ -1,27 +0,0 @@ -SCRIPT_START script_08009CFC - BeginBlock - _0807E8E4_1 - SetEntitySpeed 0x00c0 - EndBlock - _0807E5F8 0x00000004 - DoPostScriptAction 0x0004 - Wait 0x003c - _0807EDD4 0x0040, 0x0060 - _0807EDD4 0x0060, 0x0068 - _0807E5F8 0x00000004 - DoPostScriptAction 0x0000 - _0807E8E4_0 - Wait 0x000f - PlaySound SFX_VO_ZELDA1 - DoPostScriptAction 0x0000 - Wait 0x001e - _0807E5F8 0x00000008 - WaitForSomething2 0x00000002 - _0807EDD4 0x0070, 0x005c - _0807E8E4_1 - DoPostScriptAction 0x0000 - Wait 0x000f - _0807E5F8 0x00000008 - WaitForSomething2 0x00000002 - _0807E5F8 0x00000008 -SCRIPT_END diff --git a/data/scripts/script_08009D6C.inc b/data/scripts/script_08009D6C.inc deleted file mode 100644 index ea71cbc3..00000000 --- a/data/scripts/script_08009D6C.inc +++ /dev/null @@ -1,18 +0,0 @@ -SCRIPT_START script_08009D6C - BeginBlock - SetEntitySpeed 0x0100 - _0807EB44 0x0006 - EndBlock - _0807EDD4 0x0078, 0x0060 - _0807EDD4 0x0078, 0x007c - Wait 0x001e - Call sub_0805368C - Wait 0x0008 - _0807EDD4 0x0078, 0x0098 - DoPostScriptAction 0x0008 - _0807E778 0x0010 - DoFade5 - WaitFor_2 - Call sub_08053634 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08009DB0.inc b/data/scripts/script_08009DB0.inc deleted file mode 100644 index ee4fe00c..00000000 --- a/data/scripts/script_08009DB0.inc +++ /dev/null @@ -1,44 +0,0 @@ -SCRIPT_START script_08009DB0 - BeginBlock - Call sub_0807F348 - Call sub_08066288 - Call sub_08066274 - DoPostScriptAction 0x000a - _0807E930 0x000c - _0807E908 0x0003 - EndBlock -script_08009DD2: - _0807E944 - _0807E908 0x0002 - Call sub_0806622C - WaitUntilTextboxCloses - _0807E908 0x0003 - _0807E930 0x000c - Jump script_08009DD2 -SCRIPT_START script_08009DEC - BeginBlock - EndBlock -script_08009DF0: - CheckPlayerInRegion 0x00a0, 0x0038, 0x1830 - JumpIfNot script_08009DF0 - _0807E864 - Call sub_0807F9A4 - Wait 0x0008 - _0807EB28 0x3207 - _0807E3E8 - JumpIfNot script_08009E4E - Call sub_0807DF28 - _0807E778 0x0002 - DoFade5 - WaitFor_2 - Call sub_0804E864 - Wait 0x001e - _0807E5F8 0x00000002 - WaitForSomething2 0x00000001 - _0807EB28 0x3209 - Wait 0x000f - WaitUntilTextboxCloses - _0807E878 - Call sub_0807DF50 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08009E4E.inc b/data/scripts/script_08009E4E.inc deleted file mode 100644 index 62c60d42..00000000 --- a/data/scripts/script_08009E4E.inc +++ /dev/null @@ -1,5 +0,0 @@ -SCRIPT_START script_08009E4E - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08009E58.inc b/data/scripts/script_08009E58.inc deleted file mode 100644 index 9603cf05..00000000 --- a/data/scripts/script_08009E58.inc +++ /dev/null @@ -1,12 +0,0 @@ -SCRIPT_START script_08009E58 - BeginBlock - Call sub_0807DF28 - EndBlock - WaitForSomething2 0x00000002 - _0807E778 0x0002 - DoFade4 - WaitFor_2 - DoPostScriptAction 0x0014 - Wait 0x001e - _0807E5F8 0x00000001 -SCRIPT_END diff --git a/data/scripts/script_08009E80.inc b/data/scripts/script_08009E80.inc deleted file mode 100644 index 97dd114a..00000000 --- a/data/scripts/script_08009E80.inc +++ /dev/null @@ -1,5 +0,0 @@ -SCRIPT_START script_08009E80 - BeginBlock - EndBlock -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08009E88.inc b/data/scripts/script_08009E88.inc deleted file mode 100644 index 4fc207f9..00000000 --- a/data/scripts/script_08009E88.inc +++ /dev/null @@ -1,32 +0,0 @@ -SCRIPT_START script_08009E88 - BeginBlock - Call sub_0807DF28 - _0807E864 -.ifdef JP - SetLocalFlag 0x009e -.else -.ifdef EU - SetLocalFlag 0x009e -.else -.ifdef DEMO_JP - SetLocalFlag 0x009e @ TODO deduplicate -.else - SetLocalFlag 0x009f -.endif -.endif -.endif - EndBlock - Wait 0x003c - _0807E778 0x0004 - DoFade4 - WaitFor_2 -script_08009EA4: - Call sub_0807F0D8 - JumpIfNot script_08009EA4 - DoPostScriptAction 0x0014 - Wait 0x000a - Call sub_08053250 - _0807E878 - Call sub_0807DF50 - Call sub_080791D0 -SCRIPT_END diff --git a/data/scripts/script_08009ECC.inc b/data/scripts/script_08009ECC.inc deleted file mode 100644 index afac33a8..00000000 --- a/data/scripts/script_08009ECC.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_08009ECC - BeginBlock - SetIntVariable 0x00000002 - DoPostScriptAction 0x0001 - EndBlock - WaitForSomething2 0x00000004 - BeginBlock - SetIntVariable 0x00000003 - DoPostScriptAction 0x0001 - EndBlock -SCRIPT_END diff --git a/data/scripts/script_08009EF0.inc b/data/scripts/script_08009EF0.inc deleted file mode 100644 index d07f072c..00000000 --- a/data/scripts/script_08009EF0.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_08009EF0 - BeginBlock - SetIntVariable 0x00000000 - DoPostScriptAction 0x0001 - EndBlock - WaitForSomething2 0x00000004 - BeginBlock - SetIntVariable 0x00000001 - DoPostScriptAction 0x0001 - EndBlock -SCRIPT_END diff --git a/data/scripts/script_08009F14.inc b/data/scripts/script_08009F14.inc deleted file mode 100644 index 16130637..00000000 --- a/data/scripts/script_08009F14.inc +++ /dev/null @@ -1,118 +0,0 @@ -SCRIPT_START script_08009F14 - BeginBlock - _0807EB44 0x0004 - Call sub_08060090 - DoPostScriptAction 0x000a - CheckKinstoneFused 0x001c - JumpIf script_08009FD2 - CheckInventory1 0x0007 - JumpIf script_08009F84 - EndBlock -script_08009F36: - EndBlock - BeginBlock - Call sub_08060158 - CheckEntityInteractType - JumpIfNot script_08009F36 - EndBlock - _0807E864 - Call sub_0807DF28 - DoPostScriptAction 0x000b - StartPlayerScript script_0800A088 - WaitForSomething2 0x00000002 - Call sub_0806014C - MessageFromTargetPos 0x1f01, 0x0000 - WaitUntilTextboxCloses - Wait 0x001e - _0807F034 0x0065 - WaitPlayerGetItem - DoPostScriptAction 0x000a - Call sub_0807DF50 - _0807E878 -script_08009F84: - EndBlock -script_08009F86: - EndBlock - BeginBlock - Call sub_08060158 - CheckEntityInteractType - JumpIfNot script_08009F86 - EndBlock - _0807E864 - Call sub_080602BC - WaitUntilTextboxCloses - CallWithArg sub_0807F970, 0x00001f03 - JumpIf script_08009FB6 - _0807E878 - Jump script_08009F86 -script_08009FB6: - Wait 0x0008 - PlaySound SFX_103 - CallWithArg sub_0806030C, 0x00000063 - Wait 0x0008 - _0807E878 - Jump script_08009F86 -script_08009FD2: - EndBlock - CheckLocalFlag 0x00b0 - JumpIf script_0800A024 -script_08009FDC: - EndBlock - BeginBlock - Call sub_08060158 - CheckEntityInteractType - JumpIfNot script_08009FDC - EndBlock - _0807E864 - MessageNoOverlap 0x1f0e - WaitUntilTextboxCloses - _0807E3E8 - JumpIf script_0800A002 - _0807E878 - Jump script_08009FDC -script_0800A002: - Wait 0x0008 - _0807F034 0x0008 - Call sub_08060318 - WaitPlayerGetItem - Wait 0x0008 - _0807EB8C - MessageFromTarget 0x1f13 - WaitUntilTextboxCloses - SetLocalFlag 0x00b0 - _0807E878 -script_0800A024: - EndBlock - BeginBlock - Call sub_08060158 - CheckEntityInteractType - JumpIfNot script_0800A024 - EndBlock - _0807E864 - CheckInventory1 0x0008 - JumpIf script_0800A052 - MessageNoOverlap 0x1f14 - WaitUntilTextboxCloses - _0807E3E8 - JumpIf script_0800A002 - _0807E878 - Jump script_0800A024 -script_0800A052: - MessageNoOverlap 0x1f11 - WaitUntilTextboxCloses - _0807E3E8 - JumpIf script_0800A064 - _0807E878 - Jump script_0800A024 -script_0800A064: - Wait 0x0008 - _0807F034 0x0007 - Call sub_08060318 - WaitPlayerGetItem - Wait 0x0008 - _0807EB8C - MessageFromTarget 0x1f10 - WaitUntilTextboxCloses - _0807E878 - Jump script_0800A024 - .2byte 0x0000 diff --git a/data/scripts/script_0800A088.inc b/data/scripts/script_0800A088.inc deleted file mode 100644 index 4103d535..00000000 --- a/data/scripts/script_0800A088.inc +++ /dev/null @@ -1,12 +0,0 @@ -SCRIPT_START script_0800A088 - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - _0807ECC4 0x0010 - _0807EDD4 0x0078, 0x0060 - _0807EB44 0x0000 - Wait 0x000f - DoPostScriptAction 0x0000 - _0807E5F8 0x00000002 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_0800A0B4.inc b/data/scripts/script_0800A0B4.inc deleted file mode 100644 index 25fbd63c..00000000 --- a/data/scripts/script_0800A0B4.inc +++ /dev/null @@ -1,21 +0,0 @@ -SCRIPT_START script_0800A0B4 - BeginBlock - SetEntitySpeed 0x0140 - _0807E864 - Call sub_0807DF28 - EndBlock - Wait 0x0078 - PlayBgm BGM_ELEMENT_THEME - Call sub_080A0464 -script_0800A0D2: - _0807EE30 - JumpIfNot script_0800A0D2 - _0807E8E4_0 - Wait 0x0008 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000002 - Wait 0x003c - SetEntitySpeed 0x0080 - _0807EC64 0x0030 -SCRIPT_END diff --git a/data/scripts/script_0800A0FC.inc b/data/scripts/script_0800A0FC.inc deleted file mode 100644 index eadf25ba..00000000 --- a/data/scripts/script_0800A0FC.inc +++ /dev/null @@ -1,29 +0,0 @@ -SCRIPT_START script_0800A0FC - 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_0800A160 - 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/script_0800A160.inc b/data/scripts/script_0800A160.inc deleted file mode 100644 index ecc539d6..00000000 --- a/data/scripts/script_0800A160.inc +++ /dev/null @@ -1,19 +0,0 @@ -SCRIPT_START script_0800A160 - BeginBlock - SetEntitySpeed 0x0080 - DoPostScriptAction 0x0007 - DoPostScriptAction 0x000b - _0807E930 0x0002 - SetEntityPositionRelative 0x00b0, 0x0080 - CallWithArg sub_0807F98C, 0xff800000 - CallWithArg sub_080960C4, script_0800A1B4 - 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/script_0800A1B4.inc b/data/scripts/script_0800A1B4.inc deleted file mode 100644 index 51ac4526..00000000 --- a/data/scripts/script_0800A1B4.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_0800A1B4 - BeginBlock - DoPostScriptAction 0x0007 - DoPostScriptAction 0x000b - CallWithArg sub_0807F994, 0x0000fff8 - EndBlock - WaitForSomething 0x00000002 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800A1D8.inc b/data/scripts/script_0800A1D8.inc deleted file mode 100644 index 90b926db..00000000 --- a/data/scripts/script_0800A1D8.inc +++ /dev/null @@ -1,63 +0,0 @@ -SCRIPT_START script_0800A1D8 - BeginBlock - _0807E864 - Call sub_0807DF28 - SetEntityPositionRelative 0x0088, 0x0080 - Call sub_0807F844 - _0807E8E4_3 - CallWithArg sub_0807F75C, 0x00a80088 - EndBlock - Wait 0x003c - StartPlayerScript script_0800A310 - WaitForSomething2 0x00000001 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000080 - MessageFromTargetPos 0x1659, 0x0000 - WaitUntilTextboxCloses - Wait 0x003c - _0807E5F8 0x00000010 - WaitForSomething2 0x00000200 - _0807E5F8 0x00000004 - _0807E8E4_0 - WaitForSomething2 0x00000080 - _0807E5F8 0x00000010 - WaitForSomething2 0x00000200 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000040 - _0807E5F8 0x00000004 - Call sub_0807F3F8 - WaitForSomething2 0x00000080 - MessageFromTargetPos 0x165a, 0x000e - WaitUntilTextboxCloses - Wait 0x003c - MessageFromTargetPos 0x165b, 0x000e - WaitUntilTextboxCloses - _0807E5F8 0x00000002 - WaitForSomething2 0x00000040 - _0807E5F8 0x00000008 - WaitForSomething2 0x00000100 - Wait 0x003c - _0807E8E4_3 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000080 - Wait 0x003c - _0807E5F8 0x00000008 - WaitForSomething2 0x00000100 - _0807E5F8 0x00000006 - WaitForSomething2 0x000000c0 - MessageFromTargetPos 0x165c, 0x000e - WaitUntilTextboxCloses - StopBgm - MessageFromTargetPos 0x165d, 0x000e - WaitUntilTextboxCloses - _0807E5F8 0x00000006 - WaitForSomething2 0x000000c0 - _0807E5F8 0x00000006 - WaitForSomething2 0x00000080 - _0807E5F8 0x00000008 - WaitForSomething2 0x00000100 - PlayBgm BGM_INTRO_CUTSCENE - PlaySound SFX_APPARATE - CallWithArg sub_0806DA1C, 0x00000007 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800A310.inc b/data/scripts/script_0800A310.inc deleted file mode 100644 index b8d89502..00000000 --- a/data/scripts/script_0800A310.inc +++ /dev/null @@ -1,44 +0,0 @@ -SCRIPT_START script_0800A310 - EndBlock - _0807EB44 0x0002 - Wait 0x000a - _0807EB44 0x0006 - Wait 0x000a - _0807EB44 0x0002 - Wait 0x000a - _0807EB44 0x0006 - Wait 0x000a - _0807E5F8 0x00000001 - Call sub_080791BC - .2byte 0x0000 -SCRIPT_START script_0800A340 - BeginBlock - DoPostScriptAction 0x0008 - SetEntitySpeed 0x0080 - DoPostScriptAction 0x000b - _0807EB44 0x0004 - CallWithArg sub_0807F3D8, 0x00000000 - EndBlock - WaitForSomething2 0x00000002 - _0807E930 0x000e - DoPostScriptAction 0x0007 - Call sub_0807F2D4 - DoPostScriptAction 0x0004 - _0807E5F8 0x00000040 - WaitForSomething2 0x00000002 - _0807E930 0x000c - Call sub_0807F2D4 - _0807E5F8 0x00000040 - WaitForSomething2 0x00000002 - _0807E930 0x000f - Call sub_0807F2D4 - _0807E5F8 0x00000040 - WaitForSomething2 0x00000002 - _0807E930 0x000c - Call sub_0807F2D4 - _0807E5F8 0x00000040 - WaitForSomething2 0x00000002 - CallWithArg sub_080960C4, script_0800A680 - _0807E5F8 0x00000040 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800A3D8.inc b/data/scripts/script_0800A3D8.inc deleted file mode 100644 index fbb04752..00000000 --- a/data/scripts/script_0800A3D8.inc +++ /dev/null @@ -1,60 +0,0 @@ -SCRIPT_START script_0800A3D8 - BeginBlock - SetEntitySpeed 0x0100 - DoPostScriptAction 0x0007 - DoPostScriptAction 0x000b - _0807EB44 0x0002 - DoPostScriptAction 0x0000 - EndBlock - WaitForSomething2 0x00000004 - BeginBlock - DoPostScriptAction 0x0004 - Call sub_0807F3F8 - EndBlock - Wait 0x003c - _0807EC94 0x0010 - _0807EB44 0x0002 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000080 - WaitForSomething2 0x00000004 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000080 - WaitForSomething2 0x00000004 - DoPostScriptAction 0x0004 - Wait 0x003c - _0807E5F8 0x00000080 - WaitForSomething2 0x00000004 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - PlaySound SFX_SPARKLES - CallWithArg sub_080960C4, script_0800A638 - _0807E5F8 0x00000080 - WaitForSomething2 0x00000004 - PlaySound SFX_143 - _0807E5F8 0x00001000 - _0807E5F8 0x00000080 - WaitForSomething2 0x00000004 - Call sub_08066E68 - _0807E5F8 0x00000080 - WaitForSomething2 0x00000004 - PlaySound SFX_SPARKLES - CallWithArg sub_080960C4, script_0800A680 - Wait 0x0078 - PlaySound SFX_153 - CallWithArg sub_0807FADC, 0x00000003 - Wait 0x000f - PlaySound SFX_153 - CallWithArg sub_0807FADC, 0x00000003 - Wait 0x000f - PlaySound SFX_153 - CallWithArg sub_0807FADC, 0x00000003 - Wait 0x003c - PlaySound SFX_153 - CallWithArg sub_0807FADC, 0x00000001 - PlaySound SFX_143 - _0807E5F8 0x00000080 - WaitForSomething2 0x00000004 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800A500.inc b/data/scripts/script_0800A500.inc deleted file mode 100644 index 55f56c7e..00000000 --- a/data/scripts/script_0800A500.inc +++ /dev/null @@ -1,30 +0,0 @@ -SCRIPT_START script_0800A500 - BeginBlock - SetEntitySpeed 0x0080 - DoPostScriptAction 0x0007 - DoPostScriptAction 0x000b - _0807E930 0x0005 - Call sub_0807F348 - EndBlock - WaitForSomething2 0x00000008 - PlaySound SFX_SPARKLES - _0807E610 0x00000800 - CallWithArg sub_080960C4, script_0800A65C - _0807E930 0x0002 - Call sub_08094B0C - _0807EDD4 0x0068, 0x0088 - Call sub_08094B80 - _0807E5F8 0x00000100 - WaitForSomething2 0x00000008 - Call sub_08094B3C - _0807E930 0x0004 - _0807E5F8 0x00000800 - PlaySound SFX_143 - _0807E5F8 0x00000100 - WaitForSomething2 0x00000008 - DoPostScriptAction 0x0008 - Call sub_080961B0 - PlaySound SFX_FA - Wait 0x003c - _0807E5F8 0x00000100 -SCRIPT_END diff --git a/data/scripts/script_0800A590.inc b/data/scripts/script_0800A590.inc deleted file mode 100644 index 6bec907c..00000000 --- a/data/scripts/script_0800A590.inc +++ /dev/null @@ -1,35 +0,0 @@ -SCRIPT_START script_0800A590 - BeginBlock - SetEntitySpeed 0x0080 - SetEntity0x20 0x00000000 - DoPostScriptAction 0x0008 - _0807EB44 0x0000 - Call sub_0807F714 - MoveEntityToPlayer - CallWithArg sub_0807F98C, 0xfff00000 - EndBlock - _0807E930 0x0023 - WaitForSomething2 0x00000010 - CallWithArg sub_0807F6E8, 0x00000008 - DoPostScriptAction 0x0007 - PlaySound SFX_SPARKLES - _0807E610 0x00000800 - CallWithArg sub_080960C4, script_0800A65C - Wait 0x003c - _0807EDD4 0x0088, 0x0068 - Wait 0x0078 - _0807E5F8 0x00000800 - PlaySound SFX_143 - _0807EF3C 0x0000, 0x0020 - _0807E930 0x001f - _0807E5F8 0x00000200 - WaitForSomething2 0x00000010 - Wait 0x0078 - DoPostScriptAction 0x0004 - Wait 0x003c - _0807E5F8 0x00000200 - Wait 0x0001 - DoPostScriptAction 0x0008 - WaitForSomething2 0x00000010 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800A638.inc b/data/scripts/script_0800A638.inc deleted file mode 100644 index cce609e8..00000000 --- a/data/scripts/script_0800A638.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_0800A638 - BeginBlock - DoPostScriptAction 0x0007 - DoPostScriptAction 0x000b - CallWithArg sub_0807F994, 0x0000fff8 - EndBlock - WaitForSomething 0x00001000 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800A65C.inc b/data/scripts/script_0800A65C.inc deleted file mode 100644 index 759fef06..00000000 --- a/data/scripts/script_0800A65C.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_0800A65C - BeginBlock - DoPostScriptAction 0x0007 - DoPostScriptAction 0x000b - CallWithArg sub_0807F994, 0x0000fff8 - EndBlock - WaitForSomething 0x00000800 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800A680.inc b/data/scripts/script_0800A680.inc deleted file mode 100644 index 5ed4c24a..00000000 --- a/data/scripts/script_0800A680.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_0800A680 - BeginBlock - DoPostScriptAction 0x0007 - DoPostScriptAction 0x000b - CallWithArg sub_0807F994, 0x0000fff8 - EndBlock - WaitForSomething 0x00000020 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800A6A4.inc b/data/scripts/script_0800A6A4.inc deleted file mode 100644 index 89faff49..00000000 --- a/data/scripts/script_0800A6A4.inc +++ /dev/null @@ -1,12 +0,0 @@ -SCRIPT_START script_0800A6A4 - BeginBlock - _0807E864 - Call sub_0807DF28 - SetEntityPositionRelative 0x0088, 0x0068 - Call sub_0807F844 - EndBlock - Wait 0x003c - PlaySound SFX_EVAPORATE - CallWithArg sub_0806DA1C, 0x00000008 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800A6D4.inc b/data/scripts/script_0800A6D4.inc deleted file mode 100644 index 80e01e1d..00000000 --- a/data/scripts/script_0800A6D4.inc +++ /dev/null @@ -1,12 +0,0 @@ -SCRIPT_START script_0800A6D4 - BeginBlock - _0807E864 - Call sub_0807DF28 - SetEntityPositionRelative 0x0088, 0x0070 - Call sub_0807F844 - PlaySound SFX_APPARATE - EndBlock - Wait 0x003c - CallWithArg sub_0806DA1C, 0x00000009 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800A704.inc b/data/scripts/script_0800A704.inc deleted file mode 100644 index 64262eab..00000000 --- a/data/scripts/script_0800A704.inc +++ /dev/null @@ -1,12 +0,0 @@ -SCRIPT_START script_0800A704 - BeginBlock - _0807E864 - Call sub_0807DF28 - SetEntityPositionRelative 0x0198, 0x01c8 - Call sub_0807F844 - EndBlock - Wait 0x003c - PlaySound SFX_EVAPORATE - CallWithArg sub_0806DA1C, 0x0000000a - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800A734.inc b/data/scripts/script_0800A734.inc deleted file mode 100644 index 3a60f672..00000000 --- a/data/scripts/script_0800A734.inc +++ /dev/null @@ -1,12 +0,0 @@ -SCRIPT_START script_0800A734 - BeginBlock - _0807E864 - Call sub_0807DF28 - SetEntityPositionRelative 0x00d8, 0x01c8 - Call sub_0807F844 - PlaySound SFX_APPARATE - EndBlock - Wait 0x003c - CallWithArg sub_0806DA1C, 0x0000000b - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800A764.inc b/data/scripts/script_0800A764.inc deleted file mode 100644 index ce2dd0f7..00000000 --- a/data/scripts/script_0800A764.inc +++ /dev/null @@ -1,31 +0,0 @@ -SCRIPT_START script_0800A764 - BeginBlock - _0807E864 - Call sub_0807DF28 - SetEntityPositionRelative 0x00f8, 0x01b8 - Call sub_0807F844 - EndBlock - Wait 0x003c - PlaySound SFX_EVAPORATE - _0807E778 0x0004 - DoFade7 - WaitFor_2 - _0807E5F8 0x00000001 - PlaySound SFX_APPARATE - _0807E778 0x0002 - DoFade6 - WaitFor_2 - Wait 0x001e - _0807E5F8 0x00000002 - Wait 0x0014 - _0807E5F8 0x00000004 - Wait 0x000a - _0807E5F8 0x00000008 - Wait 0x0005 - _0807E5F8 0x00000010 - Wait 0x0002 - _0807E5F8 0x00000020 - Wait 0x0078 - CallWithArg sub_0806DA1C, 0x0000000c - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800A7E4.inc b/data/scripts/script_0800A7E4.inc deleted file mode 100644 index 719c802a..00000000 --- a/data/scripts/script_0800A7E4.inc +++ /dev/null @@ -1,104 +0,0 @@ -SCRIPT_START script_0800A7E4 - BeginBlock - DoPostScriptAction 0x0007 - _0807EB44 0x0004 - _0807E930 0x0010 - EndBlock - WaitForSomething 0x00000001 - _0807E930 0x0002 - WaitForSomething2 0x00000002 - DoPostScriptAction 0x0004 - Wait 0x003c -script_0800A80C: - _0807E930 0x0001 - Wait 0x001e - _0807E930 0x0003 - Wait 0x001e - Jump script_0800A80C -SCRIPT_START script_0800A820 - BeginBlock - DoPostScriptAction 0x0007 - _0807EB44 0x0004 - _0807E930 0x0010 - EndBlock - WaitForSomething 0x00000001 - _0807E930 0x0002 - WaitForSomething2 0x00000004 - DoPostScriptAction 0x0004 - Wait 0x003c -script_0800A848: - _0807E930 0x0001 - Wait 0x0014 - _0807E930 0x0003 - Wait 0x0014 - Jump script_0800A848 -SCRIPT_START script_0800A85C - BeginBlock - DoPostScriptAction 0x0007 - _0807EB44 0x0004 - _0807E930 0x0010 - EndBlock - WaitForSomething 0x00000001 - _0807E930 0x0002 - WaitForSomething2 0x00000008 - DoPostScriptAction 0x0004 - Wait 0x003c -script_0800A884: - _0807E930 0x0001 - Wait 0x000a - _0807E930 0x0003 - Wait 0x000a - Jump script_0800A884 -SCRIPT_START script_0800A898 - BeginBlock - DoPostScriptAction 0x0007 - _0807EB44 0x0004 - _0807E930 0x0008 - EndBlock - WaitForSomething 0x00000001 - DoPostScriptAction 0x0000 - WaitForSomething2 0x00000010 - DoPostScriptAction 0x0004 - Wait 0x003c -script_0800A8C0: - _0807EB44 0x0002 - Wait 0x0019 - _0807EB44 0x0006 - Wait 0x0019 - Jump script_0800A8C0 -SCRIPT_START script_0800A8D4 - BeginBlock - DoPostScriptAction 0x0007 - _0807EB44 0x0004 - _0807E930 0x0008 - EndBlock - WaitForSomething 0x00000001 - DoPostScriptAction 0x0000 - WaitForSomething2 0x00000020 - DoPostScriptAction 0x0004 - Wait 0x003c -script_0800A8FC: - _0807EB44 0x0002 - Wait 0x000f - _0807EB44 0x0006 - Wait 0x000f - Jump script_0800A8FC -SCRIPT_START script_0800A910 - BeginBlock - _0807E864 - Call sub_0807DF28 - SetEntityPositionRelative 0x0378, 0x0178 - Call sub_0807F844 - EndBlock - Wait 0x003c - _0807E5F8 0x00000001 - Wait 0x001e - _0807E5F8 0x00000002 - Wait 0x0014 - _0807E5F8 0x00000004 - Wait 0x000a - _0807E5F8 0x00000008 - Wait 0x003c - CallWithArg sub_0806DA1C, 0x0000000d - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800A964.inc b/data/scripts/script_0800A964.inc deleted file mode 100644 index 258b3451..00000000 --- a/data/scripts/script_0800A964.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_0800A964 - BeginBlock - _0807EB44 0x0002 - DoPostScriptAction 0x0007 - _0807E930 0x0001 - EndBlock - WaitForSomething2 0x00000001 - Call CreateDust - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800A988.inc b/data/scripts/script_0800A988.inc deleted file mode 100644 index 0323f7b4..00000000 --- a/data/scripts/script_0800A988.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_0800A988 - BeginBlock - _0807EB44 0x0004 - DoPostScriptAction 0x0007 - _0807E930 0x0002 - EndBlock - WaitForSomething2 0x00000002 - Call CreateDust - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800A9AC.inc b/data/scripts/script_0800A9AC.inc deleted file mode 100644 index 3bafd5c1..00000000 --- a/data/scripts/script_0800A9AC.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_0800A9AC - BeginBlock - _0807EB44 0x0000 - DoPostScriptAction 0x0007 - _0807E930 0x0000 - EndBlock - WaitForSomething2 0x00000004 - Call CreateDust - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800A9D0.inc b/data/scripts/script_0800A9D0.inc deleted file mode 100644 index 7f7495c8..00000000 --- a/data/scripts/script_0800A9D0.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_0800A9D0 - BeginBlock - _0807EB44 0x0006 - DoPostScriptAction 0x0007 - _0807E930 0x0003 - EndBlock - WaitForSomething2 0x00000008 - Call CreateDust - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800A9F4.inc b/data/scripts/script_0800A9F4.inc deleted file mode 100644 index 7c33419b..00000000 --- a/data/scripts/script_0800A9F4.inc +++ /dev/null @@ -1,19 +0,0 @@ -SCRIPT_START script_0800A9F4 - BeginBlock - _0807E864 - Call sub_0807DF28 - SetEntityPositionRelative 0x0128, 0x0058 - Call sub_0807F844 - EndBlock - Wait 0x003c - _0807E5F8 0x00000001 - Wait 0x000a - _0807E5F8 0x00000002 - Wait 0x0014 - _0807E5F8 0x00000004 - Wait 0x001e - _0807E5F8 0x00000008 - Wait 0x003c - CallWithArg sub_0806DA1C, 0x0000000e - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800AA48.inc b/data/scripts/script_0800AA48.inc deleted file mode 100644 index a96c6c4f..00000000 --- a/data/scripts/script_0800AA48.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_0800AA48 - BeginBlock - _0807EB44 0x0002 - DoPostScriptAction 0x0007 - _0807E930 0x0000 - EndBlock - WaitForSomething2 0x00000001 - Call CreateDust - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800AA6C.inc b/data/scripts/script_0800AA6C.inc deleted file mode 100644 index 448bf96b..00000000 --- a/data/scripts/script_0800AA6C.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_0800AA6C - BeginBlock - _0807EB44 0x0004 - DoPostScriptAction 0x0007 - _0807E930 0x0000 - EndBlock - WaitForSomething2 0x00000002 - Call CreateDust - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800AA90.inc b/data/scripts/script_0800AA90.inc deleted file mode 100644 index 96901853..00000000 --- a/data/scripts/script_0800AA90.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_0800AA90 - BeginBlock - _0807EB44 0x0000 - DoPostScriptAction 0x0007 - _0807E930 0x0000 - EndBlock - WaitForSomething2 0x00000004 - Call CreateDust - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800AAB4.inc b/data/scripts/script_0800AAB4.inc deleted file mode 100644 index 8c494dd7..00000000 --- a/data/scripts/script_0800AAB4.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_0800AAB4 - BeginBlock - _0807EB44 0x0006 - DoPostScriptAction 0x0007 - _0807E930 0x0000 - EndBlock - WaitForSomething2 0x00000008 - Call CreateDust - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800AAD8.inc b/data/scripts/script_0800AAD8.inc deleted file mode 100644 index 50cb8c6d..00000000 --- a/data/scripts/script_0800AAD8.inc +++ /dev/null @@ -1,12 +0,0 @@ -SCRIPT_START script_0800AAD8 - BeginBlock - _0807E864 - Call sub_0807DF28 - SetEntityPositionRelative 0x0088, 0x0148 - Call sub_0807F844 - EndBlock - Wait 0x003c - PlaySound SFX_EVAPORATE - CallWithArg sub_0806DA1C, 0x0000000f - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800AB08.inc b/data/scripts/script_0800AB08.inc deleted file mode 100644 index 32c0454d..00000000 --- a/data/scripts/script_0800AB08.inc +++ /dev/null @@ -1,21 +0,0 @@ -SCRIPT_START script_0800AB08 - BeginBlock - _0807E864 - Call sub_0807DF28 - SetEntityPositionRelative 0x0088, 0x0148 - Call sub_0807F844 - _0807E8E4_3 - CallWithArg sub_0807F6E8, 0x00000008 - CallWithArg sub_0807F75C, 0x00a80088 - PlaySound SFX_APPARATE - EndBlock - Wait 0x0078 - _0807F0B4 0x0001 - SetEntityPositionRelative 0x0088, 0x0078 - Call sub_0807F5C0 - MessageFromTargetPos 0x1664, 0x0000 - WaitUntilTextboxCloses - MessageFromTargetPos 0x165e, 0x000e - WaitUntilTextboxCloses - CallWithArg CreateManager36, 0x00000001 - _0807F0C8 0xffff, 0x0000 diff --git a/data/scripts/script_0800AB6E.inc b/data/scripts/script_0800AB6E.inc deleted file mode 100644 index 6b859b90..00000000 --- a/data/scripts/script_0800AB6E.inc +++ /dev/null @@ -1,69 +0,0 @@ -SCRIPT_START script_0800AB6E - Call sub_0808D2CC - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - _0807E8E4_0 - _0807E5F8 0x00000040 - WaitForSomething2 0x00000080 - OffsetEntityPosition 0x0000, 0xffe0 - Call sub_0807F5C0 - Wait 0x003c - CallWithArg DeleteManager36, 0x00000001 - _0807F0C8 0x0000, 0x0000 - Wait 0x003c - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - MessageFromTargetPos 0x165f, 0x000e - WaitUntilTextboxCloses - StartPlayerScript script_0800ACBC - WaitForSomething2 0x00000001 - MessageFromTargetPos 0x1660, 0x000e - WaitUntilTextboxCloses - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - MessageFromTargetPos 0x1661, 0x000e - WaitUntilTextboxCloses - _0807E5F8 0x00000008 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - OffsetEntityPosition 0x0000, 0x0020 - Call sub_0807F5C0 - WaitForSomething2 0x00000010 - StartPlayerScript script_0800ACE0 - WaitForSomething2 0x00000001 - Wait 0x003c - MessageFromTargetPos 0x1662, 0x000e - WaitUntilTextboxCloses - MessageFromTargetPos 0x1663, 0x000e - WaitUntilTextboxCloses - OffsetEntityPosition 0x0000, 0xffe0 - Call sub_0807F5C0 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - StartPlayerScript script_0800AD54 - WaitForSomething2 0x00000001 - Wait 0x003c - MessageFromTargetPos 0x1665, 0x000e - WaitUntilTextboxCloses - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - Wait 0x0078 - Call sub_0808D280 - Wait 0x0078 - _0807E778 0x0004 - DoFade5 - WaitFor_2 - Call sub_0807FB94 - MoveEntityToPlayer - Call sub_0807F844 - _0807F0B4 0x0004 - CameraTargetPlayer - _0807E5F8 0x80000000 - DoFade4 - WaitFor_2 - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800ACBC.inc b/data/scripts/script_0800ACBC.inc deleted file mode 100644 index a8e89bb6..00000000 --- a/data/scripts/script_0800ACBC.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_0800ACBC - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - _0807EDD4 0x0088, 0x0080 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC - .2byte 0x0000 diff --git a/data/scripts/script_0800ACE0.inc b/data/scripts/script_0800ACE0.inc deleted file mode 100644 index ad53174a..00000000 --- a/data/scripts/script_0800ACE0.inc +++ /dev/null @@ -1,25 +0,0 @@ -SCRIPT_START script_0800ACE0 - BeginBlock - Call sub_08094BE0 - CallWithArg sub_0807F238, 0x0000045b - PlaySound SFX_109 - EndBlock - Call sub_0807F304 - Wait 0x005a - _0807E5F8 0x00000008 - BeginBlock - CallWithArg sub_0807F6F8, 0x00000008 - CallWithArg sub_0807F238, 0x000008e4 - EndBlock - Call sub_0807F304 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - Wait 0x003c - _0807EB44 0x0002 - DoPostScriptAction 0x0000 - Wait 0x0004 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC - .2byte 0x0000 diff --git a/data/scripts/script_0800AD54.inc b/data/scripts/script_0800AD54.inc deleted file mode 100644 index 0b2c4414..00000000 --- a/data/scripts/script_0800AD54.inc +++ /dev/null @@ -1,66 +0,0 @@ -SCRIPT_START script_0800AD54 - BeginBlock - SetEntitySpeed 0x0080 - EndBlock - _0807EC64 0x0020 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_START script_0800AD74 - BeginBlock - SetEntitySpeed 0x0080 - DoPostScriptAction 0x0007 - DoPostScriptAction 0x000b - _0807EB44 0x0004 - CallWithArg sub_0807F3D8, 0x00000000 - EndBlock - WaitForSomething2 0x00000002 - DoPostScriptAction 0x0004 - Wait 0x001e - _0807EB44 0x0002 - CallWithArg sub_0807F3D8, 0x00000000 - Wait 0x0006 - _0807EB44 0x0000 - CallWithArg sub_0807F3D8, 0x00000000 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000002 - _0807EB44 0x0002 - CallWithArg sub_0807F3D8, 0x00000000 - Wait 0x0014 - _0807EB44 0x0004 - CallWithArg sub_0807F3D8, 0x00000000 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000002 - _0807E930 0x000c - Call sub_0807F2D4 - Call sub_08094B94 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000002 - _0807E930 0x000f - Call sub_0807F2D4 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000002 - CallWithArg sub_080960C4, script_0800AF18 - _0807E930 0x0012 - Call sub_0807F2D4 - Wait 0x001e - _0807E5F8 0x00000020 - StopBgm - Call CreateDust - Call sub_0806305C - Call sub_080630A4 - _0807EF3C 0x0000, 0x0020 - Wait 0x001e - _0807E5F8 0x00000004 - WaitForSomething2 0x00000002 - SetEntitySpeed 0x0080 - _0807EEF4 0x0000, 0xfff0 - Wait 0x003c - _0807EEF4 0x0000, 0xfff0 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000002 - _0807EDD4 0x0088, 0x0040 - _0807E5F8 0x00000004 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800AEA4.inc b/data/scripts/script_0800AEA4.inc deleted file mode 100644 index b206732e..00000000 --- a/data/scripts/script_0800AEA4.inc +++ /dev/null @@ -1,15 +0,0 @@ -SCRIPT_START script_0800AEA4 - BeginBlock - SetEntitySpeed 0x0080 - DoPostScriptAction 0x0007 - DoPostScriptAction 0x000b - _0807EB44 0x0002 - DoPostScriptAction 0x0000 - EndBlock - WaitForSomething2 0x00000040 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000080 - WaitForSomething2 0x80000000 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800AEDC.inc b/data/scripts/script_0800AEDC.inc deleted file mode 100644 index 6c4e6b61..00000000 --- a/data/scripts/script_0800AEDC.inc +++ /dev/null @@ -1,15 +0,0 @@ -SCRIPT_START script_0800AEDC - BeginBlock - SetEntitySpeed 0x0080 - DoPostScriptAction 0x0007 - DoPostScriptAction 0x000b - _0807E930 0x0000 - EndBlock - WaitForSomething2 0x00000008 - Call sub_08094B80 - _0807EF3C 0x0000, 0x0001 - _0807E5F8 0x00000010 - WaitForSomething2 0x00000008 - DoPostScriptAction 0x0008 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800AF18.inc b/data/scripts/script_0800AF18.inc deleted file mode 100644 index 6c6c70ed..00000000 --- a/data/scripts/script_0800AF18.inc +++ /dev/null @@ -1,12 +0,0 @@ -SCRIPT_START script_0800AF18 - BeginBlock - DoPostScriptAction 0x0007 - DoPostScriptAction 0x000b - CallWithArg sub_0807F994, 0x0000fff8 - PlaySound SFX_SPARKLES - EndBlock - WaitForSomething 0x00000020 - PlaySound SFX_143 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800AF44.inc b/data/scripts/script_0800AF44.inc deleted file mode 100644 index 8ff3f94a..00000000 --- a/data/scripts/script_0800AF44.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_0800AF44 - _0807E864 - Call sub_0807DF28 - _0807EB28 0x1c01 - WaitUntilTextboxCloses - SetLocalFlagByBank 0x0100, 0x0001 - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800AF68.inc b/data/scripts/script_0800AF68.inc deleted file mode 100644 index e9ae8510..00000000 --- a/data/scripts/script_0800AF68.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_0800AF68 - _0807E864 - Call sub_0807DF28 - _0807EB28 0x1c02 - WaitUntilTextboxCloses - SetLocalFlagByBank 0x0100, 0x0002 - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800AF8C.inc b/data/scripts/script_0800AF8C.inc deleted file mode 100644 index b4477b56..00000000 --- a/data/scripts/script_0800AF8C.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_0800AF8C - _0807E864 - Call sub_0807DF28 - _0807EB28 0x1c03 - WaitUntilTextboxCloses - SetLocalFlagByBank 0x0100, 0x0003 - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800AFB0.inc b/data/scripts/script_0800AFB0.inc deleted file mode 100644 index 88878bca..00000000 --- a/data/scripts/script_0800AFB0.inc +++ /dev/null @@ -1,18 +0,0 @@ -SCRIPT_START script_0800AFB0 - _0807E864 -script_0800AFB2: - EndBlock - BeginBlock - Call sub_0807FBB4 - ComparePlayerAction 0x0001 - JumpIfNot script_0800AFB2 - EndBlock - Call sub_0807DF28 - _0807EB28 0x1c04 - WaitUntilTextboxCloses - SetLocalFlagByBank 0x0100, 0x0004 - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800AFE8.inc b/data/scripts/script_0800AFE8.inc deleted file mode 100644 index 9dc089b6..00000000 --- a/data/scripts/script_0800AFE8.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_0800AFE8 - _0807E864 - Call sub_0807DF28 - _0807EB28 0x1c05 - WaitUntilTextboxCloses - SetLocalFlagByBank 0x0100, 0x0005 - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800B00C.inc b/data/scripts/script_0800B00C.inc deleted file mode 100644 index 78d910d2..00000000 --- a/data/scripts/script_0800B00C.inc +++ /dev/null @@ -1,48 +0,0 @@ -SCRIPT_START script_0800B00C - BeginBlock - Call sub_0807F934 - Call sub_080A2124 - DoPostScriptAction 0x000a - DoPostScriptAction 0x0007 - EndBlock -script_0800B024: - CheckEntityInteractType - JumpIfNot script_0800B024 - _0807E864 - Call sub_0807DF28 - CheckGlobalFlag 0x0052 - JumpIf script_0800B082 - CheckGlobalFlag 0x0053 - JumpIf script_0800B064 - MessageNoOverlap 0x3f32 - WaitUntilTextboxCloses - DoPostScriptAction 0x0008 - Call Windcrest_Unlock - Wait 0x003c - _0807EB28 0x0b5c - WaitUntilTextboxCloses - SetGlobalFlag 0x0053 - Jump script_0800B09C -script_0800B064: - MessageNoOverlap 0x3f32 - WaitUntilTextboxCloses - DoPostScriptAction 0x0008 - Call Windcrest_Unlock - Wait 0x003c - _0807EB28 0x0b5d - WaitUntilTextboxCloses - Jump script_0800B09C -script_0800B082: - MessageNoOverlap 0x3f32 - WaitUntilTextboxCloses - DoPostScriptAction 0x0008 - Call Windcrest_Unlock - Wait 0x003c - _0807EB28 0x0b5e - WaitUntilTextboxCloses -script_0800B09C: - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800B0AC.inc b/data/scripts/script_0800B0AC.inc deleted file mode 100644 index 4fd99865..00000000 --- a/data/scripts/script_0800B0AC.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_0800B0AC - EndBlock - _0807E864 - Call sub_0807FA40 - Call sub_0807DF28 - _0807EB28 0x0b5f - WaitUntilTextboxCloses - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800B0D0.inc b/data/scripts/script_0800B0D0.inc deleted file mode 100644 index b7504878..00000000 --- a/data/scripts/script_0800B0D0.inc +++ /dev/null @@ -1,59 +0,0 @@ -SCRIPT_START script_0800B0D0 - BeginBlock - Call sub_0806BCD4 - DoPostScriptAction 0x000a - CallWithArg sub_0806BC94, 0x00000000 - EndBlock -script_0800B0E8: - Call sub_0807F434 - JumpTable script_0800B0E8, script_0800B0F6, script_0800B134 -script_0800B0F6: - _0807E864 - Call sub_0807DF28 - Call sub_0807F2D4 - _0807EB74 - CallWithArg sub_0806BC94, 0x00000004 - Call sub_0806BCE8 - WaitUntilTextboxCloses - Call sub_0807DF50 - _0807E878 - Call sub_0806BCB8 - CallWithArg sub_0806BC94, 0x00000000 - Jump script_0800B0E8 -script_0800B134: - _0807E864 - Call sub_0807DF28 - Call sub_0807F2D4 - _0807EB74 - CallWithArg sub_0806BC94, 0x00000004 - Call sub_0807F650 - _0807E9F0 -.ifndef EU - JumpIfNot script_0800B160 -.endif - Call sub_0806BCC0 -script_0800B160: - Call sub_0807DF50 - _0807E878 - Call sub_0806BCB8 - CallWithArg sub_0806BC94, 0x00000000 - Jump script_0800B0E8 -SCRIPT_START script_0800B17C - BeginBlock - Call sub_0807DF28 - SetLocalFlag 0x0039 - _0807E864 - EndBlock - WaitForPlayerAction0x17 - StartPlayerScript script_0800B1C0 - Wait 0x0018 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000001 - SetRoomFlag 0x0000 - Wait 0x0010 - PlayBgm BGM_FIGHT_THEME - _0807EB28 0x2701 - _0807E878 - Call sub_0807DF50 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800B1C0.inc b/data/scripts/script_0800B1C0.inc deleted file mode 100644 index 64277512..00000000 --- a/data/scripts/script_0800B1C0.inc +++ /dev/null @@ -1,16 +0,0 @@ -SCRIPT_START script_0800B1C0 - BeginBlock - DoPostScriptAction 0x0000 - EndBlock - WaitForSomething2 0x00000002 - SetEntitySpeed 0x00e0 - _0807EDD4 0x0088, 0x0090 - ClearLocalFlag 0x0039 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x0004 - Wait 0x002c - LoadRoomEntityList gUnk_080DA260 - Wait 0x001e - _0807E5F8 0x00000001 - Call sub_0807921C -SCRIPT_END diff --git a/data/scripts/script_0800B200.inc b/data/scripts/script_0800B200.inc deleted file mode 100644 index 5bc8481a..00000000 --- a/data/scripts/script_0800B200.inc +++ /dev/null @@ -1,48 +0,0 @@ -SCRIPT_START script_0800B200 - BeginBlock - _0807E5F8 0x00000000 -.ifdef JP - CheckLocalFlag 0x001e -.else -.ifdef EU - CheckLocalFlag 0x001e -.else -.ifdef DEMO_JP - CheckLocalFlag 0x001e @ TODO deduplicate -.else - CheckLocalFlag 0x001d -.endif -.endif -.endif - JumpIf script_0800B252 - SetEntitySpeed 0x00c0 - EndBlock -script_0800B216: - WaitForSomething2 0x00000001 - Call sub_0807DF28 - MoveEntityToPlayer - CameraTargetEntity - _0807EDD4 0x0068, 0x0380 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000001 - Call sub_0807DF50 - Wait 0x000c - CameraTargetPlayer - Wait 0x0008 - _0807E878 -.ifdef JP - CheckLocalFlag 0x001e -.else -.ifdef EU - CheckLocalFlag 0x001e -.else -.ifdef DEMO_JP - CheckLocalFlag 0x001e @ TODO deduplicate -.else - CheckLocalFlag 0x001d -.endif -.endif -.endif - JumpIfNot script_0800B216 -script_0800B252: -SCRIPT_END diff --git a/data/scripts/script_0800B254.inc b/data/scripts/script_0800B254.inc deleted file mode 100644 index 3e51c2ce..00000000 --- a/data/scripts/script_0800B254.inc +++ /dev/null @@ -1,62 +0,0 @@ -SCRIPT_START script_0800B254 - BeginBlock - CheckKinstoneFused 0x0006 - JumpIf script_0800B302 - _0807EA88 0x0006 - _0807EB44 0x0002 - EndBlock -script_0800B268: - _0807EA4C - _0807E9F0 - _0807E864 - CheckKinstoneFused 0x0006 - JumpIf script_0800B2E2 - Call sub_0807DF50 - _0807E878 - Jump script_0800B268 - .2byte 0x0000 -SCRIPT_START script_0800B284 - BeginBlock - CheckKinstoneFused 0x0007 - JumpIf script_0800B302 - _0807EA88 0x0007 - _0807EB44 0x0002 - EndBlock -script_0800B298: - _0807EA4C - _0807E9F0 - _0807E864 - CheckKinstoneFused 0x0007 - JumpIf script_0800B2E2 - Call sub_0807DF50 - _0807E878 - Jump script_0800B298 - .2byte 0x0000 -SCRIPT_START script_0800B2B4 - BeginBlock - CheckKinstoneFused 0x0008 - JumpIf script_0800B302 - _0807EA88 0x0008 - _0807EB44 0x0002 - EndBlock -script_0800B2C8: - _0807EA4C - _0807E9F0 - _0807E864 - CheckKinstoneFused 0x0008 - JumpIf script_0800B2E2 - Call sub_0807DF50 - _0807E878 - Jump script_0800B2C8 -script_0800B2E2: - DoPostScriptAction 0x0013 - _0807EB44 0x0004 - _0807E9DC - Call sub_080676E0 - Call sub_08067534 - DoPostScriptAction 0x0012 - _0807E5F8 0x00000001 -script_0800B302: - EndBlock -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800B308.inc b/data/scripts/script_0800B308.inc deleted file mode 100644 index 51dd64ea..00000000 --- a/data/scripts/script_0800B308.inc +++ /dev/null @@ -1,68 +0,0 @@ -SCRIPT_START script_0800B308 - BeginBlock -.ifdef JP - CheckLocalFlag 0x001e -.else -.ifdef EU - CheckLocalFlag 0x001e -.else -.ifdef DEMO_JP - CheckLocalFlag 0x001e @ TODO deduplicate -.else - CheckLocalFlag 0x001d -.endif -.endif -.endif - JumpIf script_0800B39C - DoPostScriptAction 0x0001 - SetEntitySpeed 0x0040 - SetEntityDirection 0x0010 - CheckKinstoneFused 0x0006 - JumpIfNot script_0800B32C - Call sub_080676D8 -script_0800B32C: - CheckKinstoneFused 0x0007 - JumpIfNot script_0800B33A - Call sub_080676D8 -script_0800B33A: - CheckKinstoneFused 0x0008 - JumpIfNot script_0800B348 - Call sub_080676D8 -script_0800B348: - EndBlock - Call sub_0806757C -script_0800B350: - EndBlock - WaitForSomething2 0x00000002 - PlaySound SFX_ITEM_BOMB_EXPLODE - Call sub_080676D8 - Call sub_0806757C - Call sub_080675D4 - Wait 0x0014 - BeginBlock - _0807E5F8 0x00000001 - CheckKinstoneFused 0x0006 - JumpIfNot script_0800B350 - CheckKinstoneFused 0x0007 - JumpIfNot script_0800B350 - CheckKinstoneFused 0x0008 - JumpIfNot script_0800B350 - EndBlock -.ifdef JP - SetLocalFlag 0x001e -.else -.ifdef EU - SetLocalFlag 0x001e -.else -.ifdef DEMO_JP - SetLocalFlag 0x001e @ TODO deduplicate -.else - SetLocalFlag 0x001d -.endif -.endif -.endif - PlaySound SFX_SECRET -script_0800B39C: - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800B3A4.inc b/data/scripts/script_0800B3A4.inc deleted file mode 100644 index 4347fbfc..00000000 --- a/data/scripts/script_0800B3A4.inc +++ /dev/null @@ -1,25 +0,0 @@ -SCRIPT_START script_0800B3A4 - BeginBlock - DoPostScriptAction 0x000a - Call sub_0807F158 - SetEntitySpeed 0x0120 - _0807EB44 0x0004 - _0807E908 0x0002 - SetIntVariable 0x0000200a - EndBlock -script_0800B3C4: - _0807EDD4 0x0158, 0x0290 - Call sub_08065780 - Call sub_08065780 - Call sub_08065780 - Call sub_08065780 - Call sub_08065780 - Call sub_08065780 - _0807EDD4 0x0128, 0x0290 - Call sub_08065780 - Call sub_08065780 - Call sub_08065780 - Call sub_08065780 - Call sub_08065780 - Call sub_08065780 - Jump script_0800B3C4 diff --git a/data/scripts/script_0800B41C.inc b/data/scripts/script_0800B41C.inc deleted file mode 100644 index edc7331b..00000000 --- a/data/scripts/script_0800B41C.inc +++ /dev/null @@ -1,36 +0,0 @@ -SCRIPT_START script_0800B41C - BeginBlock - SetEntitySpeed 0x00c0 - _0807E908 0x0001 - DoPostScriptAction 0x000b - _0807E864 - Call sub_0807FBC4 - EndBlock - Wait 0x000a - DoPostScriptAction 0x0004 - _0807E5F8 0x00000008 - StartPlayerScript script_0800B54C - _0807EDD4 0x0140, 0x0298 - _0807EB74 - WaitForSomething2 0x00000004 - _0807EB74 - Wait 0x003c - PlaySound SFX_TASK_COMPLETE - _0807F088 0x0037 - WaitPlayerGetItem - _0807EB8C - MessageFromTarget 0x200c - WaitUntilTextboxCloses - Wait 0x0014 - _0807EDD4 0x0158, 0x0290 - Wait 0x000a - _0807EDD4 0x0158, 0x0288 - Wait 0x0014 - _0807E5F8 0x00000010 - _0807EDD4 0x0158, 0x0280 - Wait 0x000a - DoPostScriptAction 0x0008 - _0807E5F8 0x00000010 - _0807E5F8 0x00000008 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800B4AC.inc b/data/scripts/script_0800B4AC.inc deleted file mode 100644 index d8d094a2..00000000 --- a/data/scripts/script_0800B4AC.inc +++ /dev/null @@ -1,46 +0,0 @@ -SCRIPT_START script_0800B4AC - BeginBlock - DoPostScriptAction 0x000a - DoPostScriptAction 0x0001 - SetEntitySpeed 0x00c0 - _0807E9D4 -script_0800B4BC: - EndBlock - BeginBlock - CheckEntityInteractType - JumpIf script_0800B4D4 - TestBit 0x00000008 - JumpIf script_0800B4F0 - Jump script_0800B4BC -script_0800B4D4: - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 - MessageFromTarget 0x200b - EndBlock - _0807E878 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - Jump script_0800B4BC -script_0800B4F0: - EndBlock - _0807E610 0x00000008 - _0807EDD4 0x0134, 0x0288 - _0807EB44 0x0004 - WaitForSomething2 0x00000008 - MessageFromTarget 0x2016 - WaitUntilTextboxCloses - _0807EDD4 0x0158, 0x0288 - DoPostScriptAction 0x0000 - _0807EB44 0x0000 - Wait 0x000a - _0807E5F8 0x00000010 - DoPostScriptAction 0x0008 - Wait 0x001e - _0807E5F8 0x00000010 - SetGlobalFlag 0x001d - Call sub_0807921C - _0807E878 - Call sub_0807FBCC - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800B54C.inc b/data/scripts/script_0800B54C.inc deleted file mode 100644 index 2b50271b..00000000 --- a/data/scripts/script_0800B54C.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_0800B54C - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - _0807EDD4 0x0128, 0x0298 - Wait 0x000a - _0807EB44 0x0002 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000002 -SCRIPT_END diff --git a/data/scripts/script_0800B574.inc b/data/scripts/script_0800B574.inc deleted file mode 100644 index 1170c517..00000000 --- a/data/scripts/script_0800B574.inc +++ /dev/null @@ -1,21 +0,0 @@ -SCRIPT_START script_0800B574 - BeginBlock - DoPostScriptAction 0x0007 - CheckGlobalFlag 0x001d - JumpIf script_0800B5BC - EndBlock - WaitForSomething2 0x00000010 - DoPostScriptAction 0x0008 - PlaySound SFX_111 - WaitForSomething2 0x00000010 - DoPostScriptAction 0x0007 - PlaySound SFX_111 - WaitForSomething2 0x00000010 - DoPostScriptAction 0x0008 - PlaySound SFX_111 - WaitForSomething2 0x00000010 - DoPostScriptAction 0x0007 - PlaySound SFX_111 -script_0800B5BC: - Call sub_0808692C -SCRIPT_END diff --git a/data/scripts/script_0800B5C4.inc b/data/scripts/script_0800B5C4.inc deleted file mode 100644 index 30532b5e..00000000 --- a/data/scripts/script_0800B5C4.inc +++ /dev/null @@ -1,12 +0,0 @@ -SCRIPT_START script_0800B5C4 - BeginBlock - SetEntitySpeed 0x0100 - _0807EB44 0x0004 - EndBlock - Wait 0x001e - PlaySound SFX_VO_DOG - _0807EDD4 0x008a, 0x005a - Wait 0x000a - Call sub_08069EE8 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800B5EC.inc b/data/scripts/script_0800B5EC.inc deleted file mode 100644 index 2ec4bf11..00000000 --- a/data/scripts/script_0800B5EC.inc +++ /dev/null @@ -1,68 +0,0 @@ -SCRIPT_START script_0800B5EC - BeginBlock - DoPostScriptAction 0x000a - DoPostScriptAction 0x0001 - _0807E9D4 - EndBlock -script_0800B5FA: - CheckEntityInteractType - JumpIfNot script_0800B5FA - _0807E864 - _0807EB74 - MessageNoOverlap 0x2009 - WaitUntilTextboxCloses - _0807E878 - _0807EB44 0x0004 - Jump script_0800B5FA -SCRIPT_START script_0800B614 - BeginBlock - EndBlock -script_0800B618: - CheckPlayerInRegion 0x0078, 0x00b8, 0x1060 - JumpIfNot script_0800B618 - Call sub_08079184 - _0807E864 - Call sub_0807F9A4 - StartPlayerScript script_0800B7C4 - WaitForSomething2 0x00000004 - SetRoomFlag 0x0000 - WaitForSomething2 0x00000004 - CheckLocalFlag 0x009e - JumpIf script_0800B7A2 - MessageNoOverlap 0x0583 - WaitUntilTextboxCloses - _0807E3E8 - JumpIfNot script_0800B684 - Wait 0x000f - MessageNoOverlap 0x0584 - CallWithArg sub_0807F970, 0x0000058b - JumpIf script_0800B68E - CallWithArg sub_08087424, 0x00000000 - Wait 0x00b4 - Jump script_0800B6A6 -script_0800B684: - MessageNoOverlap 0x057d - WaitUntilTextboxCloses - Jump script_0800B6A6 -script_0800B68E: - WaitUntilTextboxCloses - SetLocalFlag 0x009e - _0807F034 0x0066 -script_0800B698: - WaitPlayerGetItem - _0807EB8C - Wait 0x001e - MessageNoOverlap 0x057f - WaitUntilTextboxCloses -script_0800B6A6: - _0807E778 0x0004 - DoFade7 - WaitFor_2 - Call sub_080873FC - DoFade6 - WaitFor_2 - CameraTargetPlayer - Wait 0x001e - Call sub_0807DF50 - _0807E878 -SCRIPT_END diff --git a/data/scripts/script_0800B6C8.inc b/data/scripts/script_0800B6C8.inc deleted file mode 100644 index f0608d4b..00000000 --- a/data/scripts/script_0800B6C8.inc +++ /dev/null @@ -1,68 +0,0 @@ -SCRIPT_START script_0800B6C8 - BeginBlock - EndBlock -script_0800B6CC: - HasRupees 0x0001 - JumpIfNot script_0800B6CC -script_0800B6D4: - CheckPlayerInRegion 0x0078, 0x00b8, 0x1060 - JumpIfNot script_0800B6D4 - Call sub_08079184 - _0807E864 - Call sub_0807F9A4 - StartPlayerScript script_0800B7C4 - WaitForSomething2 0x00000004 - SetRoomFlag 0x0000 - WaitForSomething2 0x00000004 - CheckLocalFlag 0x009f - JumpIf script_0800B7A2 - MessageNoOverlap 0x057b - WaitUntilTextboxCloses - CallWithArg sub_0807F970, 0x0000057d - JumpIf script_0800B6A6 - WaitUntilTextboxCloses - SetLocalFlag 0x009f - _0807F034 0x0064 - Jump script_0800B698 - .2byte 0x0000 -SCRIPT_START script_0800B730 - BeginBlock - EndBlock -script_0800B734: - Call sub_0808747C - JumpIfNot script_0800B734 - Call sub_08079184 - _0807E864 - Wait 0x000a - Call sub_0807F9A4 - StartPlayerScript script_0800B7C4 - WaitForSomething2 0x00000004 - SetRoomFlag 0x0000 - WaitForSomething2 0x00000004 - CheckLocalFlag 0x00a0 - JumpIf script_0800B7A2 - MessageNoOverlap 0x0580 - WaitUntilTextboxCloses - CallWithArg sub_0807F970, 0x00000582 - JumpIf script_0800B794 - CallWithArg sub_08087424, 0x00000001 - Wait 0x00b4 - Jump script_0800B6A6 -script_0800B794: - WaitUntilTextboxCloses - SetLocalFlag 0x00a0 - _0807F034 0x0065 - Jump script_0800B698 -script_0800B7A2: - MessageNoOverlap 0x0590 - WaitUntilTextboxCloses - _0807E778 0x0010 - DoFade7 - WaitFor_2 - ModHealth 0x00a0 - DoFade6 - WaitFor_2 - MessageNoOverlap 0x057f - WaitUntilTextboxCloses - Jump script_0800B6A6 - .2byte 0x0000 diff --git a/data/scripts/script_0800B7C4.inc b/data/scripts/script_0800B7C4.inc deleted file mode 100644 index 32b4d19b..00000000 --- a/data/scripts/script_0800B7C4.inc +++ /dev/null @@ -1,13 +0,0 @@ -SCRIPT_START script_0800B7C4 - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - CallWithArg sub_0807F6B4, 0x00000090 - JumpIfNot script_0800B7FC - CallWithArg sub_0807F464, 0x00000078 - CallWithArg sub_0807F4F8, 0x00000090 -script_0800B7EE: - _0807E8E4_0 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000004 -SCRIPT_END diff --git a/data/scripts/script_0800B7FC.inc b/data/scripts/script_0800B7FC.inc deleted file mode 100644 index 75771a0a..00000000 --- a/data/scripts/script_0800B7FC.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_0800B7FC - CallWithArg sub_0807F4F8, 0x00000090 - CallWithArg sub_0807F464, 0x00000078 - Jump script_0800B7EE - BeginBlock - DoPostScriptAction 0x0007 - _0807EB44 0x0004 - _0807E930 0x0000 - EndBlock -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800B828.inc b/data/scripts/script_0800B828.inc deleted file mode 100644 index 43faad8a..00000000 --- a/data/scripts/script_0800B828.inc +++ /dev/null @@ -1,133 +0,0 @@ -SCRIPT_START script_0800B828 - BeginBlock - _0807E9D4 - _0807EB44 0x0000 - DoPostScriptAction 0x000a - EndBlock -script_0800B836: - _0807E944 - _0807E864 - MessageFromTarget 0x0a01 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_0800B836 - .2byte 0x0000 - BeginBlock - _0807E9D4 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x000a - EndBlock -script_0800B85E: - Wait 0x003c - Call sub_080646A4 - Jump script_0800B85E - BeginBlock - _0807E9D4 - _0807EB44 0x0004 - _0807E930 0x0000 - DoPostScriptAction 0x000a - EndBlock -script_0800B87E: - Wait 0x003c - Call sub_0806407C - Jump script_0800B87E - BeginBlock - _0807E9D4 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x000a - EndBlock -script_0800B89E: - CheckEntityInteractType - JumpIfNot script_0800B89E - _0807E864 - _0807EB74 - MessageFromTarget 0x0a01 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_0800B89E -SCRIPT_START script_0800B8B8 - BeginBlock - _0807E9D4 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x000a - CallWithArg sub_08064644, sub_0806464C - EndBlock -script_0800B8D4: - Wait 0x003c - Call sub_080646A4 - Jump script_0800B8D4 - .2byte 0x0000 -SCRIPT_START script_0800B8E4 - BeginBlock - Call sub_08061E70 - DoPostScriptAction 0x000a - _0807EB44 0x0004 - Call sub_08061FD8 - EndBlock -script_0800B8FC: - CheckEntityInteractType - JumpIfNot script_0800B8FC - _0807E864 - _0807EB74 - Call sub_08061FD8 - Call sub_08062048 - WaitUntilTextboxCloses - _0807E878 - Jump script_0800B8FC - .2byte 0x0000 -SCRIPT_START script_0800B91C - BeginBlock - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x000a - EndBlock - CheckLocalFlag 0x005f - JumpIf script_0800B94E -script_0800B934: - CheckEntityInteractType - JumpIfNot script_0800B934 - _0807E864 - _0807EB74 - MessageFromTarget 0x3f19 - WaitUntilTextboxCloses - SetLocalFlag 0x005f - _0807E878 - Jump script_0800B934 -script_0800B94E: - CheckEntityInteractType - JumpIfNot script_0800B94E - _0807E864 - _0807EB74 - MessageFromTarget 0x3f1a - WaitUntilTextboxCloses - _0807E878 - Jump script_0800B94E -SCRIPT_START script_0800B964 - BeginBlock - DoPostScriptAction 0x000b - DoPostScriptAction 0x0008 - Call sub_0806DAAC - JumpIf script_0800B9AC - Call sub_0806DAD0 - CallWithArg sub_0806DA04, 0x00000005 - EndBlock -script_0800B98A: - _0807EA4C - _0807E9F0 - JumpIf script_0800B99E - Call sub_0807DF50 - _0807E878 - Jump script_0800B98A -script_0800B99E: - Call sub_0806F188 - Call sub_0807DF50 - _0807E878 -script_0800B9AC: - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800B9B4.inc b/data/scripts/script_0800B9B4.inc deleted file mode 100644 index 79b4f784..00000000 --- a/data/scripts/script_0800B9B4.inc +++ /dev/null @@ -1,84 +0,0 @@ -SCRIPT_START script_0800B9B4 - BeginBlock - _0807E9D4 - Call sub_080694EC - DoPostScriptAction 0x000a - Call sub_080694B0 - EndBlock -script_0800B9CA: - Call sub_0807F434 - JumpTable script_0800B9CA, script_0800B9D8, script_0800B9F4 -script_0800B9D8: - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 - Call sub_080694D8 - WaitUntilTextboxCloses - Call sub_080694EC - _0807E878 - Jump script_0800B9CA -script_0800B9F4: - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 - Call sub_0807F650 - _0807E9F0 - _0807E864 - Call sub_0806948C - JumpIf script_0800BA24 - WaitUntilTextboxCloses - Call sub_080694EC - Call sub_0807DF50 - _0807E878 - Jump script_0800B9CA -script_0800BA24: - WaitUntilTextboxCloses - _0807E9DC - _0807E9D4 - Call sub_080694EC - Call sub_0807DF50 - _0807E878 - Jump script_0800B9CA -SCRIPT_START script_0800BA3C - BeginBlock - Call sub_0807F934 - EndBlock -script_0800BA46: - CheckEntityInteractType - JumpIfNot script_0800BA46 - _0807E864 - Call sub_0807DF28 - MessageFromTarget 0x3301 - WaitUntilTextboxCloses - _0807E3E8 - JumpIfNot script_0800BA6C - StopBgm - Call sub_0806E964 - PlayBGM -script_0800BA6C: - Call sub_0807DF50 - _0807E878 - Jump script_0800BA46 -SCRIPT_START script_0800BA78 - BeginBlock - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - SetEntitySpeed 0x0040 - Call sub_0807F348 - EndBlock -script_0800BA8E: - CheckRoomFlag 0x00ff - JumpIfNot script_0800BA8E - _0807EDD4 0x02f8, 0x0350 - Wait 0x001e - DoPostScriptAction 0x0004 - Wait 0x003c - _0807EB44 0x0006 - Wait 0x001e - _0807EDD4 0x02f0, 0x0350 - Wait 0x001e - MessageNoOverlap 0x0e00 - WaitUntilTextboxCloses - Wait 0x0078 - Call sub_08054968 -SCRIPT_END diff --git a/data/scripts/script_0800BACC.inc b/data/scripts/script_0800BACC.inc deleted file mode 100644 index 5195fe1e..00000000 --- a/data/scripts/script_0800BACC.inc +++ /dev/null @@ -1,16 +0,0 @@ -SCRIPT_START script_0800BACC - BeginBlock - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - Call sub_0807F348 - EndBlock -script_0800BADE: - CheckRoomFlag 0x00ff - JumpIfNot script_0800BADE - DoPostScriptAction 0x0004 - Wait 0x003c - MessageNoOverlap 0x0e01 - WaitUntilTextboxCloses - Wait 0x0078 - Call sub_08054968 -SCRIPT_END diff --git a/data/scripts/script_0800BB00.inc b/data/scripts/script_0800BB00.inc deleted file mode 100644 index 31c1ae72..00000000 --- a/data/scripts/script_0800BB00.inc +++ /dev/null @@ -1,16 +0,0 @@ -SCRIPT_START script_0800BB00 - BeginBlock - EndBlock -script_0800BB04: - CheckRoomFlag 0x00ff - JumpIfNot script_0800BB04 - DoPostScriptAction 0x0004 - Wait 0x003c - MessageNoOverlap 0x0e02 - WaitUntilTextboxCloses - Wait 0x003c - DoPostScriptAction 0x000f - Wait 0x00b4 - Call sub_08054968 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800BB30.inc b/data/scripts/script_0800BB30.inc deleted file mode 100644 index 5b5871ad..00000000 --- a/data/scripts/script_0800BB30.inc +++ /dev/null @@ -1,16 +0,0 @@ -SCRIPT_START script_0800BB30 - BeginBlock - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - Call sub_0807F348 - EndBlock -script_0800BB42: - CheckRoomFlag 0x00ff - JumpIfNot script_0800BB42 - DoPostScriptAction 0x0004 - Wait 0x003c - MessageNoOverlap 0x0e05 - WaitUntilTextboxCloses - Wait 0x0078 - Call sub_08054968 -SCRIPT_END diff --git a/data/scripts/script_0800BB64.inc b/data/scripts/script_0800BB64.inc deleted file mode 100644 index 2e582383..00000000 --- a/data/scripts/script_0800BB64.inc +++ /dev/null @@ -1,18 +0,0 @@ -SCRIPT_START script_0800BB64 - BeginBlock - _0807EB44 0x0006 - DoPostScriptAction 0x0000 - SetEntitySpeed 0x0040 - Call sub_0807F348 - EndBlock -script_0800BB7A: - CheckRoomFlag 0x00ff - JumpIfNot script_0800BB7A - _0807EDD4 0x03a0, 0x00f8 - Wait 0x001e - MessageNoOverlap 0x0e06 - WaitUntilTextboxCloses - Wait 0x000f - _0807EDD4 0x0380, 0x00f8 - Call sub_08054968 -SCRIPT_END diff --git a/data/scripts/script_0800BBA4.inc b/data/scripts/script_0800BBA4.inc deleted file mode 100644 index 76aa8ebe..00000000 --- a/data/scripts/script_0800BBA4.inc +++ /dev/null @@ -1,17 +0,0 @@ -SCRIPT_START script_0800BBA4 - BeginBlock - DoPostScriptAction 0x0007 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - Call sub_0807F348 - EndBlock -script_0800BBBA: - CheckRoomFlag 0x00ff - JumpIfNot script_0800BBBA - DoPostScriptAction 0x0004 - Wait 0x003c - MessageNoOverlap 0x0e04 - WaitUntilTextboxCloses - Wait 0x0078 - Call sub_08054968 -SCRIPT_END diff --git a/data/scripts/script_0800BBDC.inc b/data/scripts/script_0800BBDC.inc deleted file mode 100644 index bed21d4e..00000000 --- a/data/scripts/script_0800BBDC.inc +++ /dev/null @@ -1,15 +0,0 @@ -SCRIPT_START script_0800BBDC - BeginBlock - _0807E930 0x0000 - EndBlock -script_0800BBE4: - CheckRoomFlag 0x00ff - JumpIfNot script_0800BBE4 - DoPostScriptAction 0x0004 - Wait 0x003c - MessageNoOverlap 0x0e03 - WaitUntilTextboxCloses - Wait 0x0078 - Call sub_08054968 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800BC08.inc b/data/scripts/script_0800BC08.inc deleted file mode 100644 index 237767b7..00000000 --- a/data/scripts/script_0800BC08.inc +++ /dev/null @@ -1,22 +0,0 @@ -SCRIPT_START script_0800BC08 - BeginBlock - DoPostScriptAction 0x0007 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - EndBlock -script_0800BC18: - CheckRoomFlag 0x00ff - JumpIfNot script_0800BC18 - DoPostScriptAction 0x0004 - Wait 0x003c - MessageNoOverlap 0x0e07 - WaitUntilTextboxCloses - BeginBlock - _0807EB44 0x0000 - _0807E930 0x0004 - EndBlock - Wait 0x003c - Call sub_08065CCC - Wait 0x0078 - Call sub_08054968 -SCRIPT_END diff --git a/data/scripts/script_0800BC50.inc b/data/scripts/script_0800BC50.inc deleted file mode 100644 index 377ff8ef..00000000 --- a/data/scripts/script_0800BC50.inc +++ /dev/null @@ -1,38 +0,0 @@ -SCRIPT_START script_0800BC50 - BeginBlock - _0807EB44 0x0004 - _0807E930 0x0008 - Call sub_08054EB8 - EndBlock -script_0800BC62: - CheckRoomFlag 0x00ff - JumpIfNot script_0800BC62 - _0807E930 0x0000 - Wait 0x001e - DoPostScriptAction 0x0004 - Wait 0x003c - MessageNoOverlap 0x0e08 - WaitUntilTextboxCloses - DoPostScriptAction 0x000f - _0807E930 0x0008 - Wait 0x00f0 - Call sub_08054EFC - _0807EB44 0x0000 - _0807E930 0x0000 - SetEntitySpeed 0x0040 - DoPostScriptAction 0x000d - CallWithArg sub_0807F4F8, 0x00000378 - Wait 0x003c - DoPostScriptAction 0x000c - Wait 0x003c - MessageNoOverlap 0x0e09 - WaitUntilTextboxCloses - Call sub_0807F158 - CallWithArg sub_0807F4F8, 0x0000035c - Wait 0x001e - PlaySound SFX_STAIRS_DESCEND - DoPostScriptAction 0x0008 - Wait 0x0078 - Call sub_08054968 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800BCE8.inc b/data/scripts/script_0800BCE8.inc deleted file mode 100644 index f8c1841c..00000000 --- a/data/scripts/script_0800BCE8.inc +++ /dev/null @@ -1,37 +0,0 @@ -SCRIPT_START script_0800BCE8 - BeginBlock - _0807EB44 0x0004 - _0807E930 0x0008 - Call sub_0807F348 - EndBlock - WaitFor_2 - Wait 0x00f0 - _0807E930 0x0000 - Wait 0x003c - MessageNoOverlap 0x0e0a - WaitUntilTextboxCloses - _0807E930 0x0008 - Wait 0x003c - _0807E5F8 0x00000001 -script_0800BD1C: - CheckRoomFlag 0x00ff - JumpIfNot script_0800BD1C - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - _0807E930 0x0000 - DoPostScriptAction 0x0004 - Wait 0x003c - MessageNoOverlap 0x0e0c - WaitUntilTextboxCloses - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - DoPostScriptAction 0x000f - _0807E930 0x0008 - Wait 0x0168 - _0807E930 0x0000 - Wait 0x003c - _0807EB44 0x0002 - WaitForSomething2 0x00000004 - SetEntitySpeed 0x0080 - _0807EEF4 0x0000, 0xffe0 -SCRIPT_END diff --git a/data/scripts/script_0800BD78.inc b/data/scripts/script_0800BD78.inc deleted file mode 100644 index 814887f0..00000000 --- a/data/scripts/script_0800BD78.inc +++ /dev/null @@ -1,35 +0,0 @@ -SCRIPT_START script_0800BD78 - BeginBlock - _0807EB44 0x0000 - _0807E930 0x0000 - DoPostScriptAction 0x0008 - SetEntitySpeed 0x0080 - Call sub_0807F348 - EndBlock - WaitForSomething2 0x00000002 - DoPostScriptAction 0x0007 - CallWithArg sub_0807F4F8, 0x00000270 - Wait 0x001e - MessageNoOverlap 0x0e0b - WaitUntilTextboxCloses - _0807E5F8 0x00000004 - WaitForSomething2 0x00000002 - SetEntitySpeed 0x0100 - _0807EDD4 0x0088, 0x0228 - Wait 0x000f - _0807E5F8 0x00000004 - DoPostScriptAction 0x000f - _0807E930 0x0008 - Wait 0x00b4 - CallWithArg sub_0804BF38, 0x00000000 - Wait 0x00b4 - CallWithArg sub_0804BF38, 0x00000003 - _0807EB44 0x0004 - _0807E930 0x0000 - Wait 0x003c - _0807EB44 0x0006 - _0807E5F8 0x00000004 - SetEntitySpeed 0x0080 - _0807EEF4 0x0000, 0xffe0 - Call sub_08054968 -SCRIPT_END diff --git a/data/scripts/script_0800BE1C.inc b/data/scripts/script_0800BE1C.inc deleted file mode 100644 index d5217ce9..00000000 --- a/data/scripts/script_0800BE1C.inc +++ /dev/null @@ -1,50 +0,0 @@ -SCRIPT_START script_0800BE1C - BeginBlock - _0807EB44 0x0004 - _0807E930 0x0008 - Call sub_0807F348 - EndBlock - WaitFor_2 - Wait 0x00f0 - _0807E930 0x0000 - _0807EB44 0x0002 - Wait 0x003c - MessageNoOverlap 0x0e0d - WaitUntilTextboxCloses - _0807E930 0x0008 - Wait 0x003c - Jump script_0800BE88 - .2byte 0x0000 -SCRIPT_START script_0800BE54 - BeginBlock - _0807EB44 0x0004 - _0807E930 0x0008 - Call sub_0807F348 - EndBlock - WaitFor_2 - Wait 0x00f0 - _0807E930 0x0000 - _0807EB44 0x0006 - Wait 0x003c - WaitUntilTextboxCloses - _0807E930 0x0008 - Wait 0x003c - _0807E5F8 0x00000001 -script_0800BE88: - _0807EB44 0x0004 -script_0800BE8C: - CheckRoomFlag 0x00ff - JumpIfNot script_0800BE8C - _0807E5F8 0x00000002 - Call sub_08054F64 - _0807E930 0x0000 - DoPostScriptAction 0x0004 - Wait 0x003c - MessageNoOverlap 0x0e0f - WaitUntilTextboxCloses - _0807E5F8 0x00000002 - Call sub_08054F64 - DoPostScriptAction 0x000f - _0807E930 0x0008 - Wait 0x00f0 -SCRIPT_END diff --git a/data/scripts/script_0800BECC.inc b/data/scripts/script_0800BECC.inc deleted file mode 100644 index e16b42dd..00000000 --- a/data/scripts/script_0800BECC.inc +++ /dev/null @@ -1,25 +0,0 @@ -SCRIPT_START script_0800BECC - BeginBlock - _0807EB44 0x0000 - _0807E930 0x0000 - DoPostScriptAction 0x0008 - SetEntitySpeed 0x0080 - Call sub_0807F348 - EndBlock - WaitForSomething2 0x00000002 - DoPostScriptAction 0x0007 - CallWithArg sub_0807F4F8, 0x000001b8 - Wait 0x001e - MessageNoOverlap 0x0e0e - WaitUntilTextboxCloses - _0807E5F8 0x0000000c - WaitForSomething2 0x00000002 - SetEntitySpeed 0x0100 - _0807EDD4 0x0088, 0x0178 - Wait 0x000f - _0807E5F8 0x0000000c - DoPostScriptAction 0x000f - _0807E930 0x0008 - Wait 0x00f0 - Call sub_08054968 -SCRIPT_END diff --git a/data/scripts/script_0800BF38.inc b/data/scripts/script_0800BF38.inc deleted file mode 100644 index 5c982ab0..00000000 --- a/data/scripts/script_0800BF38.inc +++ /dev/null @@ -1,56 +0,0 @@ -SCRIPT_START script_0800BF38 - BeginBlock - _0807EB44 0x0004 - _0807E930 0x0008 - Call sub_0807F348 - EndBlock - WaitFor_2 - Wait 0x00f0 - _0807E930 0x0000 - _0807EB44 0x0002 - Wait 0x003c - MessageNoOverlap 0x0e10 - WaitUntilTextboxCloses - _0807E930 0x0008 - Wait 0x003c - Jump script_0800BFA4 - .2byte 0x0000 -SCRIPT_START script_0800BF70 - BeginBlock - _0807EB44 0x0004 - _0807E930 0x0008 - Call sub_0807F348 - EndBlock - WaitFor_2 - Wait 0x00f0 - _0807E930 0x0000 - _0807EB44 0x0006 - Wait 0x003c - WaitUntilTextboxCloses - _0807E930 0x0008 - Wait 0x003c - _0807E5F8 0x00000001 -script_0800BFA4: - _0807EB44 0x0004 -script_0800BFA8: - CheckRoomFlag 0x00ff - JumpIfNot script_0800BFA8 - _0807E5F8 0x00000002 - Call sub_08054F64 - _0807E930 0x0000 - DoPostScriptAction 0x0004 - Wait 0x003c - MessageNoOverlap 0x0e12 - WaitUntilTextboxCloses - _0807E5F8 0x00000002 - Call sub_08054F64 - DoPostScriptAction 0x000f - _0807E930 0x0008 - Wait 0x0168 - _0807EB44 0x0004 - _0807E930 0x0000 - Wait 0x003c - Call sub_08054F64 - SetEntitySpeed 0x0080 - _0807EEF4 0x0000, 0xffe0 -SCRIPT_END diff --git a/data/scripts/script_0800C004.inc b/data/scripts/script_0800C004.inc deleted file mode 100644 index 46d7e104..00000000 --- a/data/scripts/script_0800C004.inc +++ /dev/null @@ -1,36 +0,0 @@ -SCRIPT_START script_0800C004 - BeginBlock - _0807EB44 0x0000 - _0807E930 0x0000 - DoPostScriptAction 0x0008 - SetEntitySpeed 0x0080 - Call sub_0807F348 - EndBlock - WaitForSomething2 0x00000002 - DoPostScriptAction 0x0007 - CallWithArg sub_0807F4F8, 0x000001b8 - Wait 0x001e - MessageNoOverlap 0x0e11 - WaitUntilTextboxCloses - _0807E5F8 0x0000001c - WaitForSomething2 0x00000002 - SetEntitySpeed 0x0100 - _0807EDD4 0x0088, 0x0188 - _0807EDD4 0x00a8, 0x0188 - _0807EDD4 0x00a8, 0x0178 - Wait 0x000f - _0807E5F8 0x0000001c - DoPostScriptAction 0x000f - _0807E930 0x0008 - Wait 0x00b4 - CallWithArg sub_0804BF38, 0x00000001 - Wait 0x00b4 - CallWithArg sub_0804BF38, 0x00000004 - _0807EB44 0x0004 - _0807E930 0x0000 - Wait 0x003c - _0807E5F8 0x0000001c - SetEntitySpeed 0x0080 - _0807EEF4 0x0000, 0xffe0 - Call sub_08054968 -SCRIPT_END diff --git a/data/scripts/script_0800C0B0.inc b/data/scripts/script_0800C0B0.inc deleted file mode 100644 index e02b5368..00000000 --- a/data/scripts/script_0800C0B0.inc +++ /dev/null @@ -1,50 +0,0 @@ -SCRIPT_START script_0800C0B0 - BeginBlock - _0807EB44 0x0004 - _0807E930 0x0008 - Call sub_0807F348 - EndBlock - WaitFor_2 - Wait 0x00f0 - _0807E930 0x0000 - _0807EB44 0x0002 - Wait 0x003c - MessageNoOverlap 0x0e13 - WaitUntilTextboxCloses - _0807E930 0x0008 - Wait 0x003c - Jump script_0800C11C - .2byte 0x0000 -SCRIPT_START script_0800C0E8 - BeginBlock - _0807EB44 0x0004 - _0807E930 0x0008 - Call sub_0807F348 - EndBlock - WaitFor_2 - Wait 0x00f0 - _0807E930 0x0000 - _0807EB44 0x0006 - Wait 0x003c - WaitUntilTextboxCloses - _0807E930 0x0008 - Wait 0x003c - _0807E5F8 0x00000001 -script_0800C11C: - _0807EB44 0x0004 -script_0800C120: - CheckRoomFlag 0x00ff - JumpIfNot script_0800C120 - _0807E5F8 0x00000002 - Call sub_08054F64 - _0807E930 0x0000 - DoPostScriptAction 0x0004 - Wait 0x003c - MessageNoOverlap 0x0e15 - WaitUntilTextboxCloses - _0807E5F8 0x00000002 - Call sub_08054F64 - DoPostScriptAction 0x000f - _0807E930 0x0008 - Wait 0x00f0 -SCRIPT_END diff --git a/data/scripts/script_0800C160.inc b/data/scripts/script_0800C160.inc deleted file mode 100644 index 3fa4ab2c..00000000 --- a/data/scripts/script_0800C160.inc +++ /dev/null @@ -1,27 +0,0 @@ -SCRIPT_START script_0800C160 - BeginBlock - _0807EB44 0x0000 - _0807E930 0x0000 - DoPostScriptAction 0x0008 - SetEntitySpeed 0x0080 - Call sub_0807F348 - EndBlock - WaitForSomething2 0x00000002 - DoPostScriptAction 0x0007 - CallWithArg sub_0807F4F8, 0x00000128 - Wait 0x001e - MessageNoOverlap 0x0e14 - WaitUntilTextboxCloses - _0807E5F8 0x0000003c - WaitForSomething2 0x00000002 - SetEntitySpeed 0x0100 - _0807EDD4 0x0098, 0x00e8 - _0807EDD4 0x00a8, 0x00e8 - _0807EDD4 0x00a8, 0x00d8 - Wait 0x000f - _0807E5F8 0x0000003c - DoPostScriptAction 0x000f - _0807E930 0x0008 - Wait 0x00f0 - Call sub_08054968 -SCRIPT_END diff --git a/data/scripts/script_0800C1D8.inc b/data/scripts/script_0800C1D8.inc deleted file mode 100644 index 0d78bf42..00000000 --- a/data/scripts/script_0800C1D8.inc +++ /dev/null @@ -1,56 +0,0 @@ -SCRIPT_START script_0800C1D8 - BeginBlock - _0807EB44 0x0004 - _0807E930 0x0008 - Call sub_0807F348 - EndBlock - WaitFor_2 - Wait 0x00f0 - _0807E930 0x0000 - _0807EB44 0x0002 - Wait 0x003c - MessageNoOverlap 0x0e16 - WaitUntilTextboxCloses - _0807E930 0x0008 - Wait 0x003c - Jump script_0800C244 - .2byte 0x0000 -SCRIPT_START script_0800C210 - BeginBlock - _0807EB44 0x0004 - _0807E930 0x0008 - Call sub_0807F348 - EndBlock - WaitFor_2 - Wait 0x00f0 - _0807E930 0x0000 - _0807EB44 0x0006 - Wait 0x003c - WaitUntilTextboxCloses - _0807E930 0x0008 - Wait 0x003c - _0807E5F8 0x00000001 -script_0800C244: - _0807EB44 0x0004 -script_0800C248: - CheckRoomFlag 0x00ff - JumpIfNot script_0800C248 - _0807E5F8 0x00000002 - Call sub_08054F64 - _0807E930 0x0000 - DoPostScriptAction 0x0004 - Wait 0x003c - MessageNoOverlap 0x0e18 - WaitUntilTextboxCloses - _0807E5F8 0x00000002 - Call sub_08054F64 - DoPostScriptAction 0x000f - _0807E930 0x0008 - Wait 0x0168 - _0807EB44 0x0004 - _0807E930 0x0000 - Wait 0x003c - Call sub_08054F64 - SetEntitySpeed 0x0080 - _0807EEF4 0x0000, 0xffe0 -SCRIPT_END diff --git a/data/scripts/script_0800C2A4.inc b/data/scripts/script_0800C2A4.inc deleted file mode 100644 index 5c40fc25..00000000 --- a/data/scripts/script_0800C2A4.inc +++ /dev/null @@ -1,36 +0,0 @@ -SCRIPT_START script_0800C2A4 - BeginBlock - _0807EB44 0x0000 - _0807E930 0x0000 - DoPostScriptAction 0x0008 - SetEntitySpeed 0x0080 - Call sub_0807F348 - EndBlock - WaitForSomething2 0x00000002 - DoPostScriptAction 0x0007 - CallWithArg sub_0807F4F8, 0x00000128 - Wait 0x001e - MessageNoOverlap 0x0e17 - WaitUntilTextboxCloses - _0807E5F8 0x0000007c - WaitForSomething2 0x00000002 - SetEntitySpeed 0x0100 - _0807EDD4 0x0098, 0x00e8 - _0807EDD4 0x00c8, 0x00e8 - _0807EDD4 0x00c8, 0x00d8 - Wait 0x000f - _0807E5F8 0x0000007c - DoPostScriptAction 0x000f - _0807E930 0x0008 - Wait 0x00b4 - CallWithArg sub_0804BF38, 0x00000002 - Wait 0x00b4 - CallWithArg sub_0804BF38, 0x00000005 - _0807EB44 0x0004 - _0807E930 0x0000 - Wait 0x003c - _0807E5F8 0x0000007c - SetEntitySpeed 0x0080 - _0807EEF4 0x0000, 0xffe0 - Call sub_08054968 -SCRIPT_END diff --git a/data/scripts/script_0800C350.inc b/data/scripts/script_0800C350.inc deleted file mode 100644 index 06f641d6..00000000 --- a/data/scripts/script_0800C350.inc +++ /dev/null @@ -1,9 +0,0 @@ -SCRIPT_START script_0800C350 - BeginBlock - CallWithArg sub_0806D658, 0x00000003 - SetEntitySpeed 0x0200 - EndBlock -script_0800C362: - CheckRoomFlag 0x00ff - JumpIfNot script_0800C362 - _0807F0C8 0xffff, 0x0000 diff --git a/data/scripts/script_0800C370.inc b/data/scripts/script_0800C370.inc deleted file mode 100644 index 43489062..00000000 --- a/data/scripts/script_0800C370.inc +++ /dev/null @@ -1,13 +0,0 @@ -SCRIPT_START script_0800C370 - _0807EEF4 0xfff8, 0x0000 - _0807EEF4 0x0010, 0x0000 - _0807EEF4 0xfff0, 0x0000 - _0807EEF4 0x0010, 0x0000 - _0807EEF4 0xfff8, 0x0000 - _0807F0C8 0x0000, 0x0000 - Wait 0x001e - MessageNoOverlap 0x1d00 - WaitUntilTextboxCloses - _0807E5F8 0x00000006 - WaitForSomething2 0x00000001 - _0807F0C8 0xffff, 0x0000 diff --git a/data/scripts/script_0800C3B0.inc b/data/scripts/script_0800C3B0.inc deleted file mode 100644 index 7c2582f8..00000000 --- a/data/scripts/script_0800C3B0.inc +++ /dev/null @@ -1,7 +0,0 @@ -SCRIPT_START script_0800C3B0 - SetEntitySpeed 0x0080 - _0807EEF4 0x0000, 0xff30 - _0807F0C8 0x0000, 0x0000 - Wait 0x00b4 - Call sub_08054968 -SCRIPT_END diff --git a/data/scripts/script_0800C3CC.inc b/data/scripts/script_0800C3CC.inc deleted file mode 100644 index 3e0cd6d7..00000000 --- a/data/scripts/script_0800C3CC.inc +++ /dev/null @@ -1,14 +0,0 @@ -SCRIPT_START script_0800C3CC - BeginBlock - Call sub_0806D660 - SetEntitySpeed 0x0080 - EndBlock - WaitForSomething2 0x00000002 - CallWithArg sub_0807F4F8, 0x00000048 - Call sub_0806D66C - Wait 0x000f - CallWithArg sub_0807F4F8, 0x00000068 - Call sub_0806D67C - _0807F0C8 0x001e, 0x0000 - PlaySound SFX_10B -SCRIPT_END diff --git a/data/scripts/script_0800C410.inc b/data/scripts/script_0800C410.inc deleted file mode 100644 index a0cd7597..00000000 --- a/data/scripts/script_0800C410.inc +++ /dev/null @@ -1,16 +0,0 @@ -SCRIPT_START script_0800C410 - BeginBlock - Call sub_0806D660 - SetEntitySpeed 0x0080 - EndBlock - WaitForSomething2 0x00000004 - CallWithArg sub_0807F4F8, 0x00000048 - Call sub_0806D66C - Wait 0x000f - CallWithArg sub_0807F4F8, 0x00000068 - Call sub_0806D67C - _0807F0C8 0x001e, 0x0000 - PlaySound SFX_10B - _0807E5F8 0x00000001 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800C45C.inc b/data/scripts/script_0800C45C.inc deleted file mode 100644 index c98b696d..00000000 --- a/data/scripts/script_0800C45C.inc +++ /dev/null @@ -1,18 +0,0 @@ -SCRIPT_START script_0800C45C - BeginBlock - SetEntitySpeed 0x0180 - _0807E930 0x0004 - Call sub_080A0B28 - EndBlock - Wait 0x000a - DoPostScriptAction 0x0007 - PlaySound SFX_136 -script_0800C47A: - _0807EE30 - JumpIfNot script_0800C47A - Wait 0x003c - SetRoomFlag 0x00ff - _0807E930 0x0005 - Wait 0x000f -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800C494.inc b/data/scripts/script_0800C494.inc deleted file mode 100644 index 6e278038..00000000 --- a/data/scripts/script_0800C494.inc +++ /dev/null @@ -1,17 +0,0 @@ -SCRIPT_START script_0800C494 - BeginBlock - SetEntitySpeed 0x0120 - _0807E930 0x0004 - EndBlock - Wait 0x000a - DoPostScriptAction 0x0007 - PlaySound SFX_136 - _0807EEF4 0x0000, 0xff90 - Wait 0x001e - _0807EEF4 0x0000, 0xffb0 - Wait 0x003c - SetRoomFlag 0x00ff - _0807E930 0x0005 - Wait 0x000f -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800C4D0.inc b/data/scripts/script_0800C4D0.inc deleted file mode 100644 index bdd65634..00000000 --- a/data/scripts/script_0800C4D0.inc +++ /dev/null @@ -1,17 +0,0 @@ -SCRIPT_START script_0800C4D0 - BeginBlock - SetEntitySpeed 0x0180 - _0807E930 0x0004 - EndBlock - Wait 0x000a - DoPostScriptAction 0x0007 - PlaySound SFX_136 - _0807EEF4 0x00c0, 0x0000 - Wait 0x001e - _0807EEF4 0x0070, 0x0000 - Wait 0x003c - SetRoomFlag 0x00ff - _0807E930 0x0005 - Wait 0x000f -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800C50C.inc b/data/scripts/script_0800C50C.inc deleted file mode 100644 index fbb7b440..00000000 --- a/data/scripts/script_0800C50C.inc +++ /dev/null @@ -1,18 +0,0 @@ -SCRIPT_START script_0800C50C - BeginBlock - SetEntitySpeed 0x0100 - _0807E930 0x0004 - DoPostScriptAction 0x0008 - EndBlock - WaitForSomething2 0x00000001 - Wait 0x000a - DoPostScriptAction 0x0007 - PlaySound SFX_136 - _0807EEF4 0x0000, 0x0060 - Wait 0x003c - _0807EEF4 0x0000, 0x0060 - Wait 0x001e - SetRoomFlag 0x00ff - _0807E930 0x0005 - Wait 0x000f -SCRIPT_END diff --git a/data/scripts/script_0800C550.inc b/data/scripts/script_0800C550.inc deleted file mode 100644 index 14f85748..00000000 --- a/data/scripts/script_0800C550.inc +++ /dev/null @@ -1,274 +0,0 @@ -SCRIPT_START script_0800C550 - BeginBlock - Call sub_08060090 - DoPostScriptAction 0x000a - EndBlock -script_0800C55E: - BeginBlock - CheckEntityInteractType - JumpIf script_0800C572 - Call sub_08060158 - EndBlock - Jump script_0800C55E -script_0800C572: - EndBlock - _0807E864 - Call sub_08060208 - WaitUntilTextboxCloses - _0807E878 - Jump script_0800C55E -SCRIPT_START script_0800C584 - BeginBlock - Call sub_08060090 - DoPostScriptAction 0x000a - EndBlock -script_0800C592: - BeginBlock - CheckEntityInteractType - JumpIf script_0800C5A6 - Call sub_08060158 - EndBlock - Jump script_0800C592 -script_0800C5A6: - EndBlock - _0807E864 - CheckInventory1 0x0067 - JumpIfNot script_0800C5BC - Call sub_08060208 - Jump script_0800C5C0 -script_0800C5BC: - MessageNoOverlap 0x4710 -script_0800C5C0: - WaitUntilTextboxCloses - _0807E878 - Jump script_0800C592 -SCRIPT_START script_0800C5C8 - BeginBlock - Call sub_08060090 - DoPostScriptAction 0x000a - EndBlock -script_0800C5D6: - BeginBlock - CheckEntityInteractType - JumpIf script_0800C5EA - Call sub_08060158 - EndBlock - Jump script_0800C5D6 -script_0800C5EA: - EndBlock - _0807E864 - Call sub_08060270 - WaitUntilTextboxCloses - _0807E878 - Jump script_0800C5D6 -SCRIPT_START script_0800C5FC - BeginBlock -script_0800C5FE: - Call sub_08060090 - DoPostScriptAction 0x000a - EndBlock -script_0800C60A: - BeginBlock - CheckEntityInteractType - JumpIf script_0800C61E - Call sub_08060158 - EndBlock - Jump script_0800C60A -script_0800C61E: - EndBlock - _0807E864 - Call sub_0806021C - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_0800C60A -SCRIPT_START script_0800C634 - BeginBlock - DoPostScriptAction 0x000a - SetEntitySpeed 0x0080 - _0807EB44 0x0004 - CheckLocalFlag 0x0082 - JumpIfNot script_0800C650 - OffsetEntityPosition 0x0010, 0x0000 -script_0800C650: - EndBlock -script_0800C652: - _0807E944 - _0807E864 - Call sub_0807DF28 - CheckLocalFlag 0x0082 - JumpIf script_0800C684 - CheckPlayerInRegion 0x00e8, 0x0028, 0x1810 - JumpIfNot script_0800C674 - DoPostScriptAction 0x000b -script_0800C674: - StartPlayerScript script_0800C8C8 - WaitForSomething2 0x00000001 - DoPostScriptAction 0x000a -script_0800C684: - CheckInventory1 0x0040 - JumpIf script_0800C730 - CheckInventory1 0x005b - JumpIf script_0800C6B6 - DoPostScriptAction 0x0002 - MessageFromTarget 0x1f16 - WaitUntilTextboxCloses - DoPostScriptAction 0x0015 - Wait 0x000a - SetLocalFlag 0x0080 - Call sub_0807DF50 - _0807E878 - Jump script_0800C652 -script_0800C6B6: - CheckLocalFlag 0x0081 - JumpIf script_0800C6DC - DoPostScriptAction 0x0002 - MessageFromTarget 0x1f1b - WaitUntilTextboxCloses - DoPostScriptAction 0x0015 - Wait 0x000a - Call sub_0807DF50 - _0807E878 - Jump script_0800C652 -script_0800C6DC: - CheckLocalFlag 0x0082 - JumpIf script_0800C712 - DoPostScriptAction 0x0002 - MessageFromTarget 0x1f17 - WaitUntilTextboxCloses - DoPostScriptAction 0x0015 - Wait 0x000a - _0807EB44 0x0002 - DoPostScriptAction 0x0001 - _0807EC94 0x0020 - _0807EB44 0x0004 - Wait 0x000f - PlaySound SFX_SECRET - SetLocalFlag 0x0082 -script_0800C712: - DoPostScriptAction 0x0002 - MessageFromTarget 0x1f18 - WaitUntilTextboxCloses - DoPostScriptAction 0x0015 - Wait 0x000a - Call sub_0807DF50 - _0807E878 - Jump script_0800C652 -script_0800C730: - CheckLocalFlag 0x0083 - JumpIf script_0800C756 - DoPostScriptAction 0x0002 - MessageFromTarget 0x1f19 - WaitUntilTextboxCloses - DoPostScriptAction 0x0015 - Wait 0x000a - Call sub_0807DF50 - _0807E878 - Jump script_0800C652 -script_0800C756: - DoPostScriptAction 0x0002 - MessageFromTarget 0x1f1a - WaitUntilTextboxCloses - DoPostScriptAction 0x0015 - Wait 0x000a - Call sub_0807DF50 - _0807E878 - Jump script_0800C652 -SCRIPT_START script_0800C774 - BeginBlock - DoPostScriptAction 0x000a - _0807EB44 0x0004 - EndBlock -script_0800C780: - _0807E944 - _0807E864 - Call sub_0807DF28 - StartPlayerScript script_0800C8F0 - WaitForSomething2 0x00000001 - CheckInventory1 0x0040 - JumpIf script_0800C824 - CheckInventory1 0x005b - JumpIf script_0800C7C0 - _0807E930 0x0008 - MessageFromTarget 0x2122 - WaitUntilTextboxCloses - DoPostScriptAction 0x0000 - Call sub_0807DF50 - _0807E878 - Jump script_0800C780 -script_0800C7C0: - _0807E930 0x0008 - CheckLocalFlag 0x0081 - JumpIf script_0800C80A - MessageFromTarget 0x1130 - WaitUntilTextboxCloses - _0807EB28 0x1131 - WaitUntilTextboxCloses - _0807EB8C - MessageFromTarget 0x1132 - WaitUntilTextboxCloses - SetIntVariable 0x00000103 - Call sub_0807F420 - MessageFromTarget 0x1133 - WaitUntilTextboxCloses - Wait 0x000a - DoPostScriptAction 0x0000 - SetLocalFlag 0x0081 - Call sub_0807DF50 - _0807E878 - Jump script_0800C780 -script_0800C80A: - MessageFromTarget 0x1133 - WaitUntilTextboxCloses - Wait 0x000a - _0807E930 0x0000 - Call sub_0807DF50 - _0807E878 - Jump script_0800C780 -script_0800C824: - _0807E930 0x0008 - CheckLocalFlag 0x0083 - JumpIf script_0800C8AE - MessageFromTarget 0x1135 - WaitUntilTextboxCloses - SetEntitySpeed 0x0040 - _0807EDD4 0x0038, 0x0044 - DoPostScriptAction 0x0000 - Wait 0x000f - SetLocalFlag 0x0083 - Wait 0x003c - PlaySound SFX_SECRET - Wait 0x003c - _0807EB74 - _0807EB8C - MessageFromTarget 0x1136 - WaitUntilTextboxCloses - _0807EB28 0x1137 - WaitUntilTextboxCloses - Wait 0x000a - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - Call sub_0807DF50 - _0807E878 -script_0800C87C: - _0807E944 - _0807E864 - Call sub_0807DF28 - _0807EB74 - SetIntVariable 0x00000008 - Call sub_0807F3D8 - MessageFromTarget 0x1136 - WaitUntilTextboxCloses - Wait 0x000a - DoPostScriptAction 0x0000 - Call sub_0807DF50 - _0807E878 - Jump script_0800C87C -script_0800C8AE: - MessageFromTarget 0x1136 - WaitUntilTextboxCloses - Wait 0x000a - DoPostScriptAction 0x0000 - Call sub_0807DF50 - _0807E878 - Jump script_0800C780 diff --git a/data/scripts/script_0800C8C8.inc b/data/scripts/script_0800C8C8.inc deleted file mode 100644 index ed1e9998..00000000 --- a/data/scripts/script_0800C8C8.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_0800C8C8 - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - _0807EDD4 0x00e8, 0x0068 - _0807EB44 0x0000 - Wait 0x000f - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_0800C8F0.inc b/data/scripts/script_0800C8F0.inc deleted file mode 100644 index c39b1353..00000000 --- a/data/scripts/script_0800C8F0.inc +++ /dev/null @@ -1,12 +0,0 @@ -SCRIPT_START script_0800C8F0 - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - _0807ECC4 0x0010 - _0807EDD4 0x0078, 0x0058 - _0807EB44 0x0000 - Wait 0x000f - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_0800C91C.inc b/data/scripts/script_0800C91C.inc deleted file mode 100644 index 05613e87..00000000 --- a/data/scripts/script_0800C91C.inc +++ /dev/null @@ -1,82 +0,0 @@ -SCRIPT_START script_0800C91C - BeginBlock - _0807EB44 0x0004 - SetEntitySpeed 0x0300 - EndBlock -script_0800C928: - CheckPlayerInRegion 0x0208, 0x0360, 0x2040 - JumpIfNot script_0800C928 - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - StartPlayerScript script_0800CA8C - WaitForSomething2 0x00000002 - Wait 0x003c - _0807EB28 0x1125 - WaitUntilTextboxCloses - _0807E5F8 0x00000800 - _0807E8E4_3 - Wait 0x003c - _0807E5F8 0x00000200 - _0807E8E4_0 - Wait 0x001e - _0807E5F8 0x00002000 - _0807E8E4_1 - Wait 0x0014 - _0807E5F8 0x00020000 - _0807E8E4_1 - Wait 0x000a - _0807E5F8 0x00008000 - _0807E8E4_3 - Wait 0x001e - WaitForSomething2 0x00000400 - WaitForSomething2 0x00001000 - WaitForSomething2 0x00004000 - WaitForSomething2 0x00010000 - WaitForSomething2 0x00040000 - _0807E8E4_0 - Wait 0x003c - _0807E5F8 0x00000200 - WaitForSomething2 0x00000400 - _0807E8E4_0 - MessageFromTarget 0x1126 - Call sub_0807F40C - WaitUntilTextboxCloses - _0807E5F8 0x00000200 - _0807E5F8 0x00000800 - _0807E5F8 0x00002000 - _0807E5F8 0x00008000 - _0807E5F8 0x00020000 - WaitForSomething2 0x00000400 - WaitForSomething2 0x00001000 - WaitForSomething2 0x00004000 - WaitForSomething2 0x00010000 - WaitForSomething2 0x00040000 - _0807E5F8 0x00008000 - WaitForSomething2 0x00010000 - _0807E8E4_3 - MessageFromTarget 0x1127 - WaitUntilTextboxCloses - _0807E5F8 0x00002000 - WaitForSomething2 0x00004000 - _0807E8E4_1 - MessageFromTarget 0x1128 - WaitUntilTextboxCloses - _0807E5F8 0x00000200 - _0807E5F8 0x00000800 - _0807E5F8 0x00002000 - _0807E5F8 0x00008000 - _0807E5F8 0x00020000 - WaitForSomething2 0x00000400 - WaitForSomething2 0x00001000 - WaitForSomething2 0x00004000 - WaitForSomething2 0x00010000 - WaitForSomething2 0x00040000 - _0807E8E4_0 - _0807EB28 0x1129 - WaitUntilTextboxCloses - SetLocalFlag 0x008d - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800CA8C.inc b/data/scripts/script_0800CA8C.inc deleted file mode 100644 index b77826a4..00000000 --- a/data/scripts/script_0800CA8C.inc +++ /dev/null @@ -1,13 +0,0 @@ -SCRIPT_START script_0800CA8C - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - DoPostScriptAction 0x0001 - _0807EDD4 0x0208, 0x0358 - SetEntitySpeed 0x0080 - _0807EDD4 0x0208, 0x0340 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000002 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800CABC.inc b/data/scripts/script_0800CABC.inc deleted file mode 100644 index 33cb62c3..00000000 --- a/data/scripts/script_0800CABC.inc +++ /dev/null @@ -1,34 +0,0 @@ -SCRIPT_START script_0800CABC - BeginBlock - DoPostScriptAction 0x0000 - DoPostScriptAction 0x0008 - SetEntitySpeed 0x0100 - DoPostScriptAction 0x000f - Call sub_0807F338 - EndBlock - WaitForSomething2 0x00000200 - DoPostScriptAction 0x0007 - _0807EDD4 0x0208, 0x0308 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000400 - WaitForSomething2 0x00000200 - PlaySound SFX_PLY_JUMP - _0807EF3C 0x0180, 0x0030 - PlaySound SFX_PLY_JUMP - _0807EF3C 0x0180, 0x0030 - _0807E5F8 0x00000400 - WaitForSomething2 0x00000200 - SetEntitySpeed 0x0200 - DoPostScriptAction 0x000f - _0807EDD4 0x0208, 0x0328 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000400 - WaitForSomething2 0x00000200 - SetEntitySpeed 0x0300 - DoPostScriptAction 0x000f - _0807EDD4 0x0208, 0x02b0 - _0807E5F8 0x00000400 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800CB54.inc b/data/scripts/script_0800CB54.inc deleted file mode 100644 index 33d6ea64..00000000 --- a/data/scripts/script_0800CB54.inc +++ /dev/null @@ -1,30 +0,0 @@ -SCRIPT_START script_0800CB54 - BeginBlock - DoPostScriptAction 0x0000 - DoPostScriptAction 0x0008 - SetEntitySpeed 0x0100 - DoPostScriptAction 0x000f - Call sub_0807F338 - EndBlock - WaitForSomething2 0x00000800 - DoPostScriptAction 0x0007 - _0807EB44 0x0002 - DoPostScriptAction 0x0001 - _0807EDD4 0x01a8, 0x0330 - _0807EB44 0x0002 - DoPostScriptAction 0x0000 - _0807E5F8 0x00001000 - WaitForSomething2 0x00000800 - SetEntitySpeed 0x0200 - DoPostScriptAction 0x000f - _0807EDD4 0x01f8, 0x0348 - DoPostScriptAction 0x0000 - _0807E5F8 0x00001000 - WaitForSomething2 0x00000800 - SetEntitySpeed 0x0300 - DoPostScriptAction 0x000f - _0807EDD4 0x0178, 0x0328 - _0807E5F8 0x00001000 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800CBD4.inc b/data/scripts/script_0800CBD4.inc deleted file mode 100644 index 20423e5c..00000000 --- a/data/scripts/script_0800CBD4.inc +++ /dev/null @@ -1,34 +0,0 @@ -SCRIPT_START script_0800CBD4 - BeginBlock - DoPostScriptAction 0x0000 - DoPostScriptAction 0x0008 - SetEntitySpeed 0x0100 - DoPostScriptAction 0x000f - Call sub_0807F338 - EndBlock - WaitForSomething2 0x00002000 - DoPostScriptAction 0x0007 - _0807EDD4 0x0258, 0x0330 - _0807EB44 0x0006 - DoPostScriptAction 0x0000 - _0807E5F8 0x00004000 - WaitForSomething2 0x00002000 - SetEntitySpeed 0x0200 - DoPostScriptAction 0x000f - _0807EDD4 0x0218, 0x0340 - DoPostScriptAction 0x0000 - _0807E5F8 0x00004000 - WaitForSomething2 0x00002000 - PlaySound SFX_PLY_JUMP - _0807EF3C 0x0180, 0x0030 - PlaySound SFX_PLY_JUMP - _0807EF3C 0x0180, 0x0030 - _0807E5F8 0x00004000 - WaitForSomething2 0x00002000 - SetEntitySpeed 0x0300 - DoPostScriptAction 0x000f - _0807EDD4 0x0288, 0x02d8 - _0807E5F8 0x00004000 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800CC6C.inc b/data/scripts/script_0800CC6C.inc deleted file mode 100644 index ea083bc7..00000000 --- a/data/scripts/script_0800CC6C.inc +++ /dev/null @@ -1,34 +0,0 @@ -SCRIPT_START script_0800CC6C - BeginBlock - DoPostScriptAction 0x0008 - DoPostScriptAction 0x0000 - SetEntitySpeed 0x0100 - DoPostScriptAction 0x000f - Call sub_0807F338 - EndBlock - WaitForSomething2 0x00008000 - DoPostScriptAction 0x0007 - _0807EDD4 0x01b8, 0x0320 - _0807EB44 0x0002 - DoPostScriptAction 0x0000 - _0807E5F8 0x00010000 - WaitForSomething2 0x00008000 - SetEntitySpeed 0x0200 - DoPostScriptAction 0x000f - _0807EDD4 0x01f8, 0x0330 - DoPostScriptAction 0x0000 - _0807E5F8 0x00010000 - WaitForSomething2 0x00008000 - PlaySound SFX_PLY_JUMP - _0807EF3C 0x0180, 0x0030 - PlaySound SFX_PLY_JUMP - _0807EF3C 0x0180, 0x0030 - _0807E5F8 0x00010000 - WaitForSomething2 0x00008000 - SetEntitySpeed 0x0300 - DoPostScriptAction 0x000f - _0807EDD4 0x0188, 0x02d8 - _0807E5F8 0x00010000 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800CD04.inc b/data/scripts/script_0800CD04.inc deleted file mode 100644 index 9519af22..00000000 --- a/data/scripts/script_0800CD04.inc +++ /dev/null @@ -1,28 +0,0 @@ -SCRIPT_START script_0800CD04 - BeginBlock - DoPostScriptAction 0x0000 - DoPostScriptAction 0x0008 - SetEntitySpeed 0x0100 - DoPostScriptAction 0x000f - Call sub_0807F338 - EndBlock - WaitForSomething2 0x00020000 - DoPostScriptAction 0x0007 - _0807EDD4 0x0268, 0x0338 - _0807EB44 0x0006 - DoPostScriptAction 0x0000 - _0807E5F8 0x00040000 - WaitForSomething2 0x00020000 - SetEntitySpeed 0x0200 - DoPostScriptAction 0x000f - _0807EDD4 0x0218, 0x0350 - DoPostScriptAction 0x0000 - _0807E5F8 0x00040000 - WaitForSomething2 0x00020000 - SetEntitySpeed 0x0300 - DoPostScriptAction 0x000f - _0807EDD4 0x02a8, 0x0328 - _0807E5F8 0x00040000 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800CD7C.inc b/data/scripts/script_0800CD7C.inc deleted file mode 100644 index 5a3bef29..00000000 --- a/data/scripts/script_0800CD7C.inc +++ /dev/null @@ -1,296 +0,0 @@ -SCRIPT_START script_0800CD7C - BeginBlock - CheckInventory1 0x005b - JumpIfNot script_0800C5FE - Call sub_08060090 - DoPostScriptAction 0x000a - EndBlock -script_0800CD92: - EndBlock - BeginBlock - CheckEntityInteractType - JumpIf script_0800CDA6 - Call sub_08060158 - Jump script_0800CD92 -script_0800CDA6: - EndBlock - _0807E864 - Call sub_0807DF28 - CheckLocalFlag 0x009d - JumpIf script_0800CDC4 - SetLocalFlag 0x009d - MessageNoOverlap 0x213d - Jump script_0800CF40 -script_0800CDC4: - CheckGlobalFlag 0x003b - JumpIf script_0800CE46 - CheckGlobalFlag 0x0054 - JumpIfNot script_0800CDEC - CheckRoomFlag 0x0000 - JumpIfNot script_0800CF2A - SetGlobalFlag 0x003b - ClearGlobalFlag 0x0054 - MessageNoOverlap 0x2141 - Jump script_0800CF40 -script_0800CDEC: - MessageNoOverlap 0x213e - WaitUntilTextboxCloses - _0807E48C 0x0023 - JumpIfNot script_0800CE14 - MessageNoOverlap 0x214b - WaitUntilTextboxCloses - _0807E3E8 - JumpIfNot script_0800CF40 - PlaySound SFX_TASK_COMPLETE - _0807F088 0x0023 - WaitPlayerGetItem - Jump script_0800CE32 -script_0800CE14: - _0807E48C 0x0022 - JumpIfNot script_0800CF40 - MessageNoOverlap 0x214b - WaitUntilTextboxCloses - _0807E3E8 - JumpIfNot script_0800CF40 - PlaySound SFX_TASK_COMPLETE - _0807F088 0x0022 - WaitPlayerGetItem -script_0800CE32: - _0807EB8C - SetGlobalFlag 0x0054 - Call sub_08060340 - MessageNoOverlap 0x213f - Jump script_0800CF02 -script_0800CE46: - CheckGlobalFlag 0x003c - JumpIf script_0800CEA6 - CheckGlobalFlag 0x0054 - JumpIfNot script_0800CE6E - CheckRoomFlag 0x0000 - JumpIfNot script_0800CF2A - SetGlobalFlag 0x003c - ClearGlobalFlag 0x0054 - MessageNoOverlap 0x2145 - Jump script_0800CF40 -script_0800CE6E: - MessageNoOverlap 0x2142 - WaitUntilTextboxCloses - _0807E48C 0x0027 - JumpIfNot script_0800CF40 - MessageNoOverlap 0x214c - WaitUntilTextboxCloses - _0807E3E8 - JumpIfNot script_0800CF40 - PlaySound SFX_TASK_COMPLETE - _0807F088 0x0027 - WaitPlayerGetItem - _0807EB8C - SetGlobalFlag 0x0054 - Call sub_08060340 - MessageNoOverlap 0x2143 - Jump script_0800CF02 -script_0800CEA6: - CheckGlobalFlag 0x003d - JumpIf script_0800CF3C - CheckGlobalFlag 0x0054 - JumpIfNot script_0800CECE - CheckRoomFlag 0x0000 - JumpIfNot script_0800CF2A - SetGlobalFlag 0x003d - ClearGlobalFlag 0x0054 - MessageNoOverlap 0x2149 - Jump script_0800CF40 -script_0800CECE: - MessageNoOverlap 0x2146 - WaitUntilTextboxCloses - _0807E48C 0x0024 - JumpIfNot script_0800CF40 - MessageNoOverlap 0x214d - WaitUntilTextboxCloses - _0807E3E8 - JumpIfNot script_0800CF40 - PlaySound SFX_TASK_COMPLETE - _0807F088 0x0024 - WaitPlayerGetItem - _0807EB8C - SetGlobalFlag 0x0054 - Call sub_08060340 - MessageNoOverlap 0x2147 -script_0800CF02: - WaitUntilTextboxCloses - Call sub_0807DF50 - _0807E878 -script_0800CF0C: - EndBlock - BeginBlock - CheckEntityInteractType - JumpIf script_0800CF20 - Call sub_08060158 - Jump script_0800CF0C -script_0800CF20: - EndBlock - _0807E864 - Call sub_0807DF28 -script_0800CF2A: - MessageNoOverlap 0x2140 - WaitUntilTextboxCloses - Call sub_0807DF50 - _0807E878 - Jump script_0800CF0C -script_0800CF3C: - MessageNoOverlap 0x214a -script_0800CF40: - WaitUntilTextboxCloses - Call sub_0807DF50 - _0807E878 - Jump script_0800CD92 - .2byte 0x0000 -SCRIPT_START script_0800CF50 - BeginBlock - Call sub_08068104 - DoPostScriptAction 0x000a - EndBlock -script_0800CF5E: - BeginBlock - CheckEntityInteractType - JumpIf script_0800CF72 - Call sub_0806811C - EndBlock - Jump script_0800CF5E -script_0800CF72: - EndBlock - _0807E864 - Call sub_08068190 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_0800CF5E -SCRIPT_START script_0800CF88 - BeginBlock - Call sub_08068104 - DoPostScriptAction 0x000a - EndBlock -script_0800CF96: - _0807E944 - _0807E864 - Call sub_08068190 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_0800CF96 -SCRIPT_START script_0800CFAC - BeginBlock - _0807E9D4 - DoPostScriptAction 0x000a - _0807EB44 0x0004 - _0807E930 0x0000 - EndBlock - CheckInventory1 0x0041 - JumpIf script_0800CFD2 - CheckLocalFlag 0x007e - JumpIfNot script_0800CFD2 - _0807E930 0x0008 -script_0800CFD2: - CheckInventory1 0x0002 - JumpIf script_0800CFFA - CheckInventory1 0x0041 - JumpIfNot script_0800CFEC - _0807E5F8 0x00000020 - Jump script_0800CFFA -script_0800CFEC: - CheckLocalFlag 0x007e - JumpIfNot script_0800CFFA - _0807E5F8 0x00000010 -script_0800CFFA: - EndBlock - BeginBlock - Call sub_08068910 - CheckEntityInteractType - JumpIfNot script_0800CFFA - EndBlock - _0807E864 - Call sub_0807DF28 - CheckInventory1 0x0002 - JumpIfNot script_0800D032 - _0807EB74 - SetIntVariable 0x00000000 - Call sub_0806C028 - MessageNoOverlap 0x1219 - Jump script_0800D17C -script_0800D032: - CheckInventory1 0x0041 - JumpIfNot script_0800D098 - StartPlayerScript script_0800D190 - WaitForSomething2 0x00000008 - _0807EB74 - SetIntVariable 0x00000000 - Call sub_0806C028 - MessageFromTargetPos 0x125c, 0x0002 - WaitUntilTextboxCloses - StartPlayerScript script_0800D1B4 - WaitForSomething2 0x00000008 - _0807EB44 0x0002 - SetIntVariable 0x00000000 - Call sub_0806C028 - Wait 0x000f - _0807E5F8 0x00000020 - StartPlayerScript script_0800D1E0 - WaitForSomething2 0x00000008 - MessageFromTargetPos 0x125d, 0x0002 - Jump script_0800D17C -script_0800D098: - CheckLocalFlag 0x007e - JumpIfNot script_0800D0A8 - MessageFromTarget 0x123e - Jump script_0800D17C -script_0800D0A8: - StartPlayerScript script_0800D190 - WaitForSomething2 0x00000008 - _0807E5F8 0x00000001 - WaitForSomething2 0x00000004 - _0807E5F8 0x00000001 - WaitForSomething2 0x00000004 - _0807EB74 - SetIntVariable 0x00000000 - Call sub_0806C028 - MessageFromTargetPos 0x123d, 0x0002 - WaitUntilTextboxCloses - StartPlayerScript script_0800D1B4 - WaitForSomething2 0x00000008 - _0807EB44 0x0002 - SetIntVariable 0x00000000 - Call sub_0806C028 - PlaySound SFX_TASK_COMPLETE - Call sub_08068964 -script_0800D108: - ComparePlayerAction 0x0008 - JumpIf script_0800D108 - PlaySound SFX_F8 - _0807E5F8 0x00000010 - SetLocalFlag 0x007e - MessageFromTargetPos 0x123e, 0x0002 - WaitUntilTextboxCloses - Wait 0x000f - _0807E930 0x0009 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - Wait 0x001e - MessageFromTargetPos 0x123f, 0x0002 - WaitUntilTextboxCloses - _0807E5F8 0x00000001 - WaitForSomething2 0x00000004 - _0807E5F8 0x00000001 - WaitForSomething2 0x00000004 - _0807E930 0x0008 - Wait 0x003c - Call sub_08095164 - _0807EB28 0x1240 -script_0800D17C: - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Call sub_0807DF50 - Jump script_0800CFFA - .2byte 0x0000 diff --git a/data/scripts/script_0800D190.inc b/data/scripts/script_0800D190.inc deleted file mode 100644 index 1cec26bd..00000000 --- a/data/scripts/script_0800D190.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_0800D190 - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - _0807EDD4 0x0170, 0x0140 - _0807EB44 0x0002 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000008 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_0800D1B4.inc b/data/scripts/script_0800D1B4.inc deleted file mode 100644 index cf4aa40f..00000000 --- a/data/scripts/script_0800D1B4.inc +++ /dev/null @@ -1,12 +0,0 @@ -SCRIPT_START script_0800D1B4 - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - _0807EDD4 0x0170, 0x0120 - _0807EDD4 0x01a8, 0x0120 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000008 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800D1E0.inc b/data/scripts/script_0800D1E0.inc deleted file mode 100644 index 5a9f4e39..00000000 --- a/data/scripts/script_0800D1E0.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_0800D1E0 - _0807F078 0x0002, 0x0001 - CallWithArg sub_0807F918, 0x00000002 - PlaySound SFX_109 - CallWithArg sub_0807F238, 0x000001e2 - Call sub_0807F304 - MessageNoOverlap 0x0502 - WaitUntilTextboxCloses - _0807E5F8 0x00000008 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_0800D218.inc b/data/scripts/script_0800D218.inc deleted file mode 100644 index 741fe977..00000000 --- a/data/scripts/script_0800D218.inc +++ /dev/null @@ -1,12 +0,0 @@ -SCRIPT_START script_0800D218 - BeginBlock - CheckInventory1 0x0041 - JumpIf script_0800D24C - CheckLocalFlag 0x007e - JumpIf script_0800D242 - DoPostScriptAction 0x0008 - EndBlock - WaitForSomething2 0x00000010 - DoPostScriptAction 0x0007 - WaitForSomething2 0x00000010 -SCRIPT_END diff --git a/data/scripts/script_0800D242.inc b/data/scripts/script_0800D242.inc deleted file mode 100644 index c441c743..00000000 --- a/data/scripts/script_0800D242.inc +++ /dev/null @@ -1,4 +0,0 @@ -SCRIPT_START script_0800D242 - DoPostScriptAction 0x0007 - _0807E930 0x0003 -SCRIPT_END diff --git a/data/scripts/script_0800D24C.inc b/data/scripts/script_0800D24C.inc deleted file mode 100644 index f56e72d8..00000000 --- a/data/scripts/script_0800D24C.inc +++ /dev/null @@ -1,4 +0,0 @@ -SCRIPT_START script_0800D24C - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800D254.inc b/data/scripts/script_0800D254.inc deleted file mode 100644 index f601fb80..00000000 --- a/data/scripts/script_0800D254.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_0800D254 - BeginBlock - DoPostScriptAction 0x0008 - EndBlock - WaitForSomething2 0x00000020 - DoPostScriptAction 0x0007 - WaitForSomething2 0x00000020 - DoPostScriptAction 0x0008 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800D278.inc b/data/scripts/script_0800D278.inc deleted file mode 100644 index 7187c45d..00000000 --- a/data/scripts/script_0800D278.inc +++ /dev/null @@ -1,113 +0,0 @@ -SCRIPT_START script_0800D278 - BeginBlock - _0807E9D4 - DoPostScriptAction 0x000a - EndBlock -script_0800D282: - CheckInventory1 0x0041 - JumpIf script_0800D292 - CheckLocalFlag 0x007e - JumpIf script_0800D2EA -script_0800D292: - BeginBlock - TestBit 0x00000001 - JumpIf script_0800D2C6 - CheckEntityInteractType - JumpIf script_0800D2B0 - Call sub_0806811C - EndBlock - Jump script_0800D282 -script_0800D2B0: - EndBlock - _0807E864 - Call sub_08068190 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_0800D282 -script_0800D2C6: - EndBlock - _0807E5F8 0x00000004 - WaitForSomething2 0x00000002 - _0807E5F8 0x00000004 - _0807E930 0x000c - WaitForSomething2 0x00000001 - _0807E5F8 0x00000004 -script_0800D2EA: - _0807E930 0x000b -script_0800D2EE: - CheckEntityInteractType - JumpIfNot script_0800D2EE - _0807E864 - Call sub_08068190 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_0800D2EE -SCRIPT_START script_0800D308 - BeginBlock - Call sub_08068884 - DoPostScriptAction 0x000a - _0807EB44 0x0004 - _0807E930 0x0000 - EndBlock -script_0800D31E: - EndBlock - BeginBlock - Call sub_08068910 - CheckEntityInteractType - JumpIfNot script_0800D31E - EndBlock - _0807E864 - _0807EB74 - SetIntVariable 0x00000000 - Call sub_0806C028 - MessageFromTarget 0x1219 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_0800D31E -SCRIPT_START script_0800D350 - BeginBlock - Call sub_08068104 - DoPostScriptAction 0x000a - EndBlock -script_0800D35E: - BeginBlock - CheckEntityInteractType - JumpIf script_0800D372 - Call sub_0806811C - EndBlock - Jump script_0800D35E -script_0800D372: - EndBlock - _0807E864 - Call sub_08068190 - WaitUntilTextboxCloses - Wait 0x000f - CheckLocalFlag 0x007f - JumpIf script_0800D3E4 - CheckLocalFlag 0x007e - JumpIfNot script_0800D3E4 - DoPostScriptAction 0x000b - SetEntitySpeed 0x0100 - CheckPlayerInRegion 0x0090, 0x0130, 0x0810 - JumpIfNot script_0800D3B2 - StartPlayerScript script_0800D3EC - WaitForSomething2 0x00000001 -script_0800D3B2: - _0807EB44 0x0002 - _0807E930 0x0005 - _0807EDD4 0x00a0, 0x0130 - _0807EB44 0x0006 - _0807E930 0x0003 - SetIntVariable 0x00000004 - Call sub_080681D8 - PlaySound SFX_TASK_COMPLETE - Wait 0x001e - DoPostScriptAction 0x000a - SetLocalFlag 0x007f -script_0800D3E4: - _0807E878 - Jump script_0800D35E - .2byte 0x0000 diff --git a/data/scripts/script_0800D3EC.inc b/data/scripts/script_0800D3EC.inc deleted file mode 100644 index 4a39c3f8..00000000 --- a/data/scripts/script_0800D3EC.inc +++ /dev/null @@ -1,12 +0,0 @@ -SCRIPT_START script_0800D3EC - BeginBlock - SetEntitySpeed 0x0080 - EndBlock - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x000d - _0807ECC4 0x0020 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800D414.inc b/data/scripts/script_0800D414.inc deleted file mode 100644 index 76a31a6e..00000000 --- a/data/scripts/script_0800D414.inc +++ /dev/null @@ -1,163 +0,0 @@ -SCRIPT_START script_0800D414 - BeginBlock - SetEntitySpeed 0x0100 - Call sub_08068104 - DoPostScriptAction 0x000a - EndBlock -script_0800D426: - _0807EB44 0x0002 - SetIntVariable 0x00000000 - Call sub_0806AF60 - Wait 0x0014 - _0807EB44 0x0004 - SetIntVariable 0x00000000 - Call sub_0806AF60 - Wait 0x0014 - _0807EB44 0x0006 - SetIntVariable 0x00000000 - Call sub_0806AF60 - Wait 0x0014 - _0807EB44 0x0006 - SetIntVariable 0x00000004 - Call sub_0806AF60 - _0807EDD4 0x00a8, 0x01e8 - _0807EB44 0x0006 - SetIntVariable 0x00000000 - Call sub_0806AF60 - Wait 0x0014 - _0807EB44 0x0004 - SetIntVariable 0x00000000 - Call sub_0806AF60 - Wait 0x0014 - _0807EB44 0x0002 - SetIntVariable 0x00000000 - Call sub_0806AF60 - Wait 0x0014 - _0807EB44 0x0002 - SetIntVariable 0x00000004 - Call sub_0806AF60 - _0807EDD4 0x0228, 0x01e8 - Jump script_0800D426 - .2byte 0x0000 - BeginBlock - DoPostScriptAction 0x000a - Call sub_08062A48 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 -script_0800D4E4: - EndBlock - Call sub_08062698 - Call sub_080626AC - CallWithArg sub_0807F0EC, 0x00000009 - JumpTable script_0800D510, script_0800D51A, script_0800D524, script_0800D52E, script_0800D538, script_0800D542, script_0800D54C, script_0800D556, script_0800D560 -script_0800D510: - _0807EE04 0x0038, 0x0068 - Jump script_0800D566 -script_0800D51A: - _0807EE04 0x0078, 0x0068 - Jump script_0800D566 -script_0800D524: - _0807EE04 0x00b8, 0x0068 - Jump script_0800D566 -script_0800D52E: - _0807EE04 0x0038, 0x0090 - Jump script_0800D566 -script_0800D538: - _0807EE04 0x0078, 0x0090 - Jump script_0800D566 -script_0800D542: - _0807EE04 0x00b8, 0x0090 - Jump script_0800D566 -script_0800D54C: - _0807EE04 0x0038, 0x00b8 - Jump script_0800D566 -script_0800D556: - _0807EE04 0x0078, 0x00b8 - Jump script_0800D566 -script_0800D560: - _0807EE04 0x00b8, 0x00b8 -script_0800D566: - EndBlock - BeginBlock - Call sub_080626C0 - JumpIf script_0800D4E4 - CheckEntityInteractType - JumpIf script_0800D584 - _0807EE30 - JumpIfNot script_0800D566 - Jump script_0800D4E4 -script_0800D584: - EndBlock - _0807E864 - _0807EB74 - Call sub_0806265C - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_0800D4E4 -SCRIPT_START script_0800D59C - BeginBlock - DoPostScriptAction 0x000a - Call sub_08062A48 - DoPostScriptAction 0x0000 -script_0800D5AC: - EndBlock - Call sub_08062698 - Call sub_080626AC - CallWithArg sub_0807F0EC, 0x00000004 - JumpTable script_0800D5CE, script_0800D5D8, script_0800D5E2, script_0800D5EC -script_0800D5CE: - _0807EE04 0x0038, 0x0098 - Jump script_0800D5F2 -script_0800D5D8: - _0807EE04 0x0058, 0x0098 - Jump script_0800D5F2 -script_0800D5E2: - _0807EE04 0x0038, 0x00c8 - Jump script_0800D5F2 -script_0800D5EC: - _0807EE04 0x0058, 0x00c8 -script_0800D5F2: - EndBlock - BeginBlock - Call sub_080626C0 - JumpIf script_0800D5AC - _0807EE30 - JumpIfNot script_0800D5F2 - Jump script_0800D5AC - .2byte 0x0000 -SCRIPT_START script_0800D60C - BeginBlock - _0807EB44 0x0004 - DoPostScriptAction 0x000b - DoPostScriptAction 0x0008 - Call sub_0806DAAC - JumpIf script_0800D6AE - Call sub_0806DAD0 - CallWithArg sub_0806DA04, 0x00000002 - EndBlock -script_0800D636: - _0807EA4C - _0807E9F0 - Call sub_0806DAAC - JumpIf script_0800D650 - Call sub_0807DF50 - _0807E878 - Jump script_0800D636 -script_0800D650: - _0807E864 - Call sub_0807DF28 - Call sub_0807FBC4 - Call sub_0807FBA0 - SetEntitySpeed 0x0700 - _0807F0B4 0x0007 - CameraTargetEntity - _0807EDD4 0x01e8, 0x01b8 - Wait 0x003c - Call sub_0806DAE8 - Wait 0x0078 - Call sub_0806DB44 - JumpIfNot script_0800D698 - LoadRoomEntityList gUnk_080DD730 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800D698.inc b/data/scripts/script_0800D698.inc deleted file mode 100644 index a9418e17..00000000 --- a/data/scripts/script_0800D698.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_0800D698 - _0807EEB4 - _0807F0B4 0x0004 - CameraTargetPlayer - Call sub_0807FBCC - _0807E878 - Call sub_0807DF50 -script_0800D6AE: - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800D6B4.inc b/data/scripts/script_0800D6B4.inc deleted file mode 100644 index ea0deeed..00000000 --- a/data/scripts/script_0800D6B4.inc +++ /dev/null @@ -1,9 +0,0 @@ -SCRIPT_START script_0800D6B4 - BeginBlock - DoPostScriptAction 0x0007 - DoPostScriptAction 0x0011 - Call sub_0807F158 - Call sub_0807F738 - EndBlock -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800D6D0.inc b/data/scripts/script_0800D6D0.inc deleted file mode 100644 index ab61e061..00000000 --- a/data/scripts/script_0800D6D0.inc +++ /dev/null @@ -1,37 +0,0 @@ -SCRIPT_START script_0800D6D0 - BeginBlock -.ifdef JP - CheckLocalFlag 0x00f0 -.else -.ifdef EU - CheckLocalFlag 0x00f0 -.else -.ifdef DEMO_JP - CheckLocalFlag 0x00f0 @ TODO deduplicate -.else - CheckLocalFlag 0x00f3 -.endif -.endif -.endif - JumpIf script_0800D6E8 - DoPostScriptAction 0x0008 - EndBlock -script_0800D6E0: -.ifdef JP - CheckLocalFlag 0x00f0 -.else -.ifdef EU - CheckLocalFlag 0x00f0 -.else -.ifdef DEMO_JP - CheckLocalFlag 0x00f0 @ TODO deduplicate -.else - CheckLocalFlag 0x00f3 -.endif -.endif -.endif - JumpIfNot script_0800D6E0 -script_0800D6E8: - DoPostScriptAction 0x0007 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800D6F0.inc b/data/scripts/script_0800D6F0.inc deleted file mode 100644 index 4cbdf8b2..00000000 --- a/data/scripts/script_0800D6F0.inc +++ /dev/null @@ -1,36 +0,0 @@ -SCRIPT_START script_0800D6F0 - BeginBlock -.ifdef JP - CheckLocalFlag 0x00f2 -.else -.ifdef EU - CheckLocalFlag 0x00f2 -.else -.ifdef DEMO_JP - CheckLocalFlag 0x00f2 @ TODO deduplicate -.else - CheckLocalFlag 0x00f5 -.endif -.endif -.endif - JumpIf script_0800D6E8 - DoPostScriptAction 0x0008 - EndBlock -script_0800D700: -.ifdef JP - CheckLocalFlag 0x00f2 -.else -.ifdef EU - CheckLocalFlag 0x00f2 -.else -.ifdef DEMO_JP - CheckLocalFlag 0x00f2 @ TODO deduplicate -.else - CheckLocalFlag 0x00f5 -.endif -.endif -.endif - JumpIfNot script_0800D700 - DoPostScriptAction 0x0007 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800D710.inc b/data/scripts/script_0800D710.inc deleted file mode 100644 index 84de7598..00000000 --- a/data/scripts/script_0800D710.inc +++ /dev/null @@ -1,23 +0,0 @@ -SCRIPT_START script_0800D710 - BeginBlock - Call sub_0807F360 - SetEntitySpeed 0x0700 - _0807F0B4 0x0007 - CameraTargetEntity - Call sub_0807FBC4 - EndBlock - _0807E5F8 0x00000008 - WaitForSomething2 0x00000010 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - _0807E5F8 0x0000000a - WaitForSomething2 0x00000004 - _0807EEB4 - _0807F0B4 0x0004 - CameraTargetPlayer - Call sub_0807FBCC - _0807E878 - Call sub_0807DF50 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800D76C.inc b/data/scripts/script_0800D76C.inc deleted file mode 100644 index 01e60a1f..00000000 --- a/data/scripts/script_0800D76C.inc +++ /dev/null @@ -1,51 +0,0 @@ -SCRIPT_START script_0800D76C - BeginBlock - Call sub_0807F360 - DoPostScriptAction 0x000b - SetEntitySpeed 0x0200 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - EndBlock - WaitForSomething2 0x00000008 - DoPostScriptAction 0x0004 - Wait 0x003c - PlaySound SFX_123 - CallWithArg sub_0807F464, 0x000001e0 - _0807EDD4 0x01e0, 0x01d8 - _0807EB44 0x0002 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000010 - PlaySound SFX_PLY_JUMP - _0807EF3C 0x0180, 0x0030 - PlaySound SFX_PLY_JUMP - _0807EF3C 0x0180, 0x0030 - _0807EB44 0x0002 - DoPostScriptAction 0x0001 - WaitForSomething2 0x00000008 - Jump script_0800D80C -SCRIPT_START script_0800D7DC - BeginBlock - Call sub_0807F360 - DoPostScriptAction 0x000b - SetEntityPositionRelative 0x0268, 0x01d8 - SetEntitySpeed 0x0100 - EndBlock - WaitForSomething2 0x00000002 - _0807EDD4 0x01f0, 0x01d8 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000002 -script_0800D80C: - SetEntitySpeed 0x0100 - _0807EEF4 0x0000, 0xffe0 - DoPostScriptAction 0x000e - Call sub_0806CA5C - SetEntity0x20 0x00040000 - PlaySound SFX_F5 -script_0800D82A: - CallWithArg sub_0807F8D0, 0xffffe000 - Call sub_0807F8BC - JumpIf script_0800D82A - _0807E5F8 0x00000004 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800D84C.inc b/data/scripts/script_0800D84C.inc deleted file mode 100644 index cfde64fd..00000000 --- a/data/scripts/script_0800D84C.inc +++ /dev/null @@ -1,14 +0,0 @@ -SCRIPT_START script_0800D84C - BeginBlock - EndBlock -script_0800D850: - CheckRoomFlag 0x0000 - JumpIfNot script_0800D850 - _0807E864 - Call sub_0807DF28 - Wait 0x003c - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800D874.inc b/data/scripts/script_0800D874.inc deleted file mode 100644 index 6e7a1185..00000000 --- a/data/scripts/script_0800D874.inc +++ /dev/null @@ -1,56 +0,0 @@ -SCRIPT_START script_0800D874 - BeginBlock - Call sub_0807F934 - DoPostScriptAction 0x0008 - SetIntVariable 0x00000001 - Call sub_0806DA04 - EndBlock -script_0800D88E: - CheckEntityInteractType - JumpIfNot script_0800D88E - _0807E864 - Call sub_0807DF28 - CheckLocalFlag 0x0045 - JumpIf script_0800D8B0 - StartPlayerScript script_0800D92C - WaitForSomething2 0x00000001 -script_0800D8B0: - _0807E8E4_0 - MessageNoOverlap 0x1324 - WaitUntilTextboxCloses - CheckInventory1 0x0017 - JumpIf script_0800D8D6 - CheckLocalFlag 0x0045 - JumpIf script_0800D8D6 - LoadRoomEntityList gUnk_080E3830 -script_0800D8CE: - CheckLocalFlag 0x0045 - JumpIfNot script_0800D8CE -script_0800D8D6: - Call sub_0807DF50 - _0807E878 - Jump script_0800D88E - .2byte 0x0000 -SCRIPT_START script_0800D8E4 - BeginBlock - DoPostScriptAction 0x0008 - CheckInventory1 0x0017 - JumpIf script_0800D924 - EndBlock -script_0800D8F4: - CheckInventory1 0x0017 - JumpIfNot script_0800D8F4 - Call sub_0807DF28 - _0807E864 - WaitPlayerGetItem - _0807EB28 0x1325 - WaitUntilTextboxCloses - PlaySound SFX_113 - SetIntVariable 0x00000000 - Call sub_0806DA1C - _0807E878 - Call sub_0807DF50 -script_0800D924: - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800D92C.inc b/data/scripts/script_0800D92C.inc deleted file mode 100644 index 43b2abb5..00000000 --- a/data/scripts/script_0800D92C.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_0800D92C - BeginBlock - SetEntitySpeed 0x0080 - EndBlock - DoPostScriptAction 0x0001 - _0807EDD4 0x00a0, 0x0078 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_0800D954.inc b/data/scripts/script_0800D954.inc deleted file mode 100644 index 3ddd4c9d..00000000 --- a/data/scripts/script_0800D954.inc +++ /dev/null @@ -1,42 +0,0 @@ -SCRIPT_START script_0800D954 - BeginBlock - DoPostScriptAction 0x0008 - Call sub_0807F180 - EndBlock -script_0800D962: - CheckPlayerInRegion 0x0118, 0x0038, 0x3050 - JumpIfNot script_0800D962 - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - StartPlayerScript script_0800DA00 - WaitForSomething2 0x00000001 - Wait 0x003c - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x0007 - PlaySound SFX_ELEMENT_FLOAT - SetEntity0x20 0xffff8000 - MessageNoOverlap 0x1701 - WaitUntilTextboxCloses - _0807E5F8 0x00000004 - WaitForSomething2 0x00000002 - MessageNoOverlap 0x1702 - WaitUntilTextboxCloses - SetEntity0x20 0x00010000 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000002 - _0807F050 0x006d - WaitPlayerGetItem - _0807EB28 0x1703 - WaitUntilTextboxCloses - Wait 0x003c - SetLocalFlag 0x0032 - PlaySound SFX_113 - SetIntVariable 0x00000001 - Call sub_0806DA1C - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800DA00.inc b/data/scripts/script_0800DA00.inc deleted file mode 100644 index 3c9463ec..00000000 --- a/data/scripts/script_0800DA00.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_0800DA00 - BeginBlock - SetEntitySpeed 0x0080 - EndBlock - DoPostScriptAction 0x0001 - _0807EDD4 0x0118, 0x0060 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_0800DA28.inc b/data/scripts/script_0800DA28.inc deleted file mode 100644 index bfed0909..00000000 --- a/data/scripts/script_0800DA28.inc +++ /dev/null @@ -1,14 +0,0 @@ -SCRIPT_START script_0800DA28 - BeginBlock - DoPostScriptAction 0x0008 - SetEntitySpeed 0x0080 - EndBlock - WaitForSomething2 0x00000004 - DoPostScriptAction 0x0007 - Wait 0x003c - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - _0807EDD4 0x0118, 0x0060 - _0807E5F8 0x00000002 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800DA60.inc b/data/scripts/script_0800DA60.inc deleted file mode 100644 index 071becb7..00000000 --- a/data/scripts/script_0800DA60.inc +++ /dev/null @@ -1,46 +0,0 @@ -SCRIPT_START script_0800DA60 - 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/script_0800DB18.inc b/data/scripts/script_0800DB18.inc deleted file mode 100644 index 6af5c26a..00000000 --- a/data/scripts/script_0800DB18.inc +++ /dev/null @@ -1,6 +0,0 @@ -SCRIPT_START script_0800DB18 - BeginBlock - DoPostScriptAction 0x000a - Call sub_08066E38 - EndBlock -SCRIPT_END diff --git a/data/scripts/script_0800DB28.inc b/data/scripts/script_0800DB28.inc deleted file mode 100644 index dc596557..00000000 --- a/data/scripts/script_0800DB28.inc +++ /dev/null @@ -1,21 +0,0 @@ -SCRIPT_START script_0800DB28 - 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/script_0800DB78.inc b/data/scripts/script_0800DB78.inc deleted file mode 100644 index 95192f9d..00000000 --- a/data/scripts/script_0800DB78.inc +++ /dev/null @@ -1,46 +0,0 @@ -SCRIPT_START script_0800DB78 - 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_0800DDD0 - WaitForSomething2 0x00000004 - _0807E5F8 0x00000001 - WaitForSomething2 0x00000002 - _0807E5F8 0x00000001 - StartPlayerScript script_0800DE00 - 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/script_0800DC4C.inc b/data/scripts/script_0800DC4C.inc deleted file mode 100644 index 6e987b02..00000000 --- a/data/scripts/script_0800DC4C.inc +++ /dev/null @@ -1,21 +0,0 @@ -SCRIPT_START script_0800DC4C - Wait 0x003c - PlayBgm BGM_CASTLE_COLLAPSE - StartPlayerScript script_0800DE50 - WaitForSomething2 0x00000006 - _0807EB28 0x1646 - WaitUntilTextboxCloses - _0807E5F8 0x00000001 - StartPlayerScript script_0800DE2C - 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/script_0800DCAC.inc b/data/scripts/script_0800DCAC.inc deleted file mode 100644 index f0d48c29..00000000 --- a/data/scripts/script_0800DCAC.inc +++ /dev/null @@ -1,68 +0,0 @@ -SCRIPT_START script_0800DCAC - 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/script_0800DDD0.inc b/data/scripts/script_0800DDD0.inc deleted file mode 100644 index b2c5c367..00000000 --- a/data/scripts/script_0800DDD0.inc +++ /dev/null @@ -1,12 +0,0 @@ -SCRIPT_START script_0800DDD0 - 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/script_0800DE00.inc b/data/scripts/script_0800DE00.inc deleted file mode 100644 index 00579691..00000000 --- a/data/scripts/script_0800DE00.inc +++ /dev/null @@ -1,13 +0,0 @@ -SCRIPT_START script_0800DE00 - 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/script_0800DE2C.inc b/data/scripts/script_0800DE2C.inc deleted file mode 100644 index 12867776..00000000 --- a/data/scripts/script_0800DE2C.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_0800DE2C - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - _0807EEF4 0x0000, 0x0080 - _0807E5F8 0x00000004 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_0800DE50.inc b/data/scripts/script_0800DE50.inc deleted file mode 100644 index 012e71d1..00000000 --- a/data/scripts/script_0800DE50.inc +++ /dev/null @@ -1,9 +0,0 @@ -SCRIPT_START script_0800DE50 - EndBlock - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - CallWithArg sub_0807F238, 0x000003c5 - Call sub_0807F304 - _0807E5F8 0x00000004 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_0800DE78.inc b/data/scripts/script_0800DE78.inc deleted file mode 100644 index 3d28d73b..00000000 --- a/data/scripts/script_0800DE78.inc +++ /dev/null @@ -1,14 +0,0 @@ -SCRIPT_START script_0800DE78 - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - StartPlayerScript script_0800DEB0 - WaitForSomething2 0x00000001 - WaitForSomething2 0x00000002 - _0807EB28 0x1647 - WaitUntilTextboxCloses - SetLocalFlag 0x007a - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800DEB0.inc b/data/scripts/script_0800DEB0.inc deleted file mode 100644 index 2c43999a..00000000 --- a/data/scripts/script_0800DEB0.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_0800DEB0 - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - _0807EDD4 0x0198, 0x01c8 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_0800DED4.inc b/data/scripts/script_0800DED4.inc deleted file mode 100644 index 3c5f2e5e..00000000 --- a/data/scripts/script_0800DED4.inc +++ /dev/null @@ -1,21 +0,0 @@ -SCRIPT_START script_0800DED4 - 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/script_0800DF24.inc b/data/scripts/script_0800DF24.inc deleted file mode 100644 index 13de03c2..00000000 --- a/data/scripts/script_0800DF24.inc +++ /dev/null @@ -1,38 +0,0 @@ -SCRIPT_START script_0800DF24 - 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/script_0800DFB4.inc b/data/scripts/script_0800DFB4.inc deleted file mode 100644 index 99f9742c..00000000 --- a/data/scripts/script_0800DFB4.inc +++ /dev/null @@ -1,14 +0,0 @@ -SCRIPT_START script_0800DFB4 - 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/script_0800DFE4.inc b/data/scripts/script_0800DFE4.inc deleted file mode 100644 index e9ffcfb9..00000000 --- a/data/scripts/script_0800DFE4.inc +++ /dev/null @@ -1,31 +0,0 @@ -SCRIPT_START script_0800DFE4 - 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: - 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/script_0800E050.inc b/data/scripts/script_0800E050.inc deleted file mode 100644 index 188e9ae2..00000000 --- a/data/scripts/script_0800E050.inc +++ /dev/null @@ -1,20 +0,0 @@ -SCRIPT_START script_0800E050 - BeginBlock - Call sub_0807DF28 - _0807E864 - EndBlock - StopBgm - StopBgm - Wait 0x0078 - _0807EB28 0x1638 - WaitUntilTextboxCloses - SetRoomFlag 0x0000 - Wait 0x001e - _0807E5F8 0x00000001 - StartPlayerScript script_0800E094 - WaitForSomething2 0x00000002 - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800E094.inc b/data/scripts/script_0800E094.inc deleted file mode 100644 index 269c0dcd..00000000 --- a/data/scripts/script_0800E094.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_0800E094 - 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/script_0800E0BC.inc b/data/scripts/script_0800E0BC.inc deleted file mode 100644 index 3b30dd5e..00000000 --- a/data/scripts/script_0800E0BC.inc +++ /dev/null @@ -1,355 +0,0 @@ -SCRIPT_START script_0800E0BC - 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 -SCRIPT_START script_0800E154 - 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 -SCRIPT_START script_0800E200 - 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 -SCRIPT_START script_0800E350 - 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 -SCRIPT_START script_0800E408 - 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 -SCRIPT_START script_0800E434 - 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 -SCRIPT_START script_0800E46C - 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 - - -SCRIPT_START script_0800E4A4 - 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/script_0800E504.inc b/data/scripts/script_0800E504.inc deleted file mode 100644 index 52e85d09..00000000 --- a/data/scripts/script_0800E504.inc +++ /dev/null @@ -1,20 +0,0 @@ -SCRIPT_START script_0800E504 - 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/script_0800E544.inc b/data/scripts/script_0800E544.inc deleted file mode 100644 index 1b7a7f95..00000000 --- a/data/scripts/script_0800E544.inc +++ /dev/null @@ -1,22 +0,0 @@ -SCRIPT_START script_0800E544 - 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/script_0800E58C.inc b/data/scripts/script_0800E58C.inc deleted file mode 100644 index e2f26ffa..00000000 --- a/data/scripts/script_0800E58C.inc +++ /dev/null @@ -1,17 +0,0 @@ -SCRIPT_START script_0800E58C - 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/script_0800E5C4.inc b/data/scripts/script_0800E5C4.inc deleted file mode 100644 index 49daf384..00000000 --- a/data/scripts/script_0800E5C4.inc +++ /dev/null @@ -1,7 +0,0 @@ -SCRIPT_START script_0800E5C4 - BeginBlock - CheckLocalFlag 0x0086 - JumpIfNot script_0800E5D6 - DoPostScriptAction 0x0006 - EndBlock -SCRIPT_END diff --git a/data/scripts/script_0800E5D6.inc b/data/scripts/script_0800E5D6.inc deleted file mode 100644 index b2e3dd76..00000000 --- a/data/scripts/script_0800E5D6.inc +++ /dev/null @@ -1,14 +0,0 @@ -SCRIPT_START script_0800E5D6 - 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/script_0800E600.inc b/data/scripts/script_0800E600.inc deleted file mode 100644 index f5bf0e9e..00000000 --- a/data/scripts/script_0800E600.inc +++ /dev/null @@ -1,14 +0,0 @@ -SCRIPT_START script_0800E600 - 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/script_0800E62C.inc b/data/scripts/script_0800E62C.inc deleted file mode 100644 index d19fe97c..00000000 --- a/data/scripts/script_0800E62C.inc +++ /dev/null @@ -1,14 +0,0 @@ -SCRIPT_START script_0800E62C - 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/script_0800E658.inc b/data/scripts/script_0800E658.inc deleted file mode 100644 index ca0d71bf..00000000 --- a/data/scripts/script_0800E658.inc +++ /dev/null @@ -1,14 +0,0 @@ -SCRIPT_START script_0800E658 - 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/script_0800E684.inc b/data/scripts/script_0800E684.inc deleted file mode 100644 index 428f2ece..00000000 --- a/data/scripts/script_0800E684.inc +++ /dev/null @@ -1,14 +0,0 @@ -SCRIPT_START script_0800E684 - BeginBlock - SetEntitySpeed 0x0140 - SetEntityDirection 0x0018 - _0807E864 - Call sub_0807F354 - EndBlock - WaitForPlayerAction0x17 - _0807E8E4_3 - DoPostScriptAction 0x0001 - Call sub_080752AC - _0807E878 - Call sub_080791D0 -SCRIPT_END diff --git a/data/scripts/script_0800E6B0.inc b/data/scripts/script_0800E6B0.inc deleted file mode 100644 index 3ecd0d05..00000000 --- a/data/scripts/script_0800E6B0.inc +++ /dev/null @@ -1,161 +0,0 @@ -SCRIPT_START script_0800E6B0 - BeginBlock - Call sub_08060090 - DoPostScriptAction 0x000a - EndBlock -script_0800E6BE: - BeginBlock - CheckEntityInteractType - JumpIf script_0800E6D2 - Call sub_08060158 - EndBlock - Jump script_0800E6BE -script_0800E6D2: - EndBlock - _0807E864 - Call sub_0806025C - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_0800E6BE -SCRIPT_START script_0800E6E8 - BeginBlock - Call sub_0806ADFC - DoPostScriptAction 0x000a -script_0800E6F4: - EndBlock - BeginBlock - CheckEntityInteractType - JumpIf script_0800E708 - Call sub_0806AEE4 - Jump script_0800E6F4 -script_0800E708: - EndBlock - _0807E864 - Call sub_0806AFE8 - JumpIf script_0800E722 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_0800E6F4 -script_0800E722: - WaitUntilTextboxCloses - _0807F034 0x0057 - WaitPlayerGetItem - WaitUntilTextboxCloses - _0807E878 - Jump script_0800E6F4 - .2byte 0x0000 -SCRIPT_START script_0800E734 - BeginBlock - _0807E9D4 - DoPostScriptAction 0x000a - EndBlock -script_0800E73E: - CheckEntityInteractType - JumpIfNot script_0800E73E - _0807E864 - _0807EB74 - CallWithArg sub_0806AF60, 0x00000000 - Call sub_0806AFE8 - WaitUntilTextboxCloses - _0807E878 - Jump script_0800E73E -SCRIPT_START script_0800E760 - BeginBlock - _0807E9D4 - DoPostScriptAction 0x000a - SetEntitySpeed 0x0200 - CheckGlobalFlag 0x0029 - JumpIfNot script_0800E77C - CheckGlobalFlag 0x002a - JumpIfNot script_0800E786 -script_0800E77C: - SetEntityPositionRelative 0x0188, 0x0098 - Jump script_0800E6F4 -script_0800E786: - EndBlock -script_0800E788: - BeginBlock - CheckGlobalFlag 0x002a - JumpIf script_0800E7BA - CheckEntityInteractType - JumpIf script_0800E7A4 - Call sub_0806AEE4 - EndBlock - Jump script_0800E788 -script_0800E7A4: - EndBlock - _0807E864 - Call sub_0806AFE8 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_0800E788 -script_0800E7BA: - DoPostScriptAction 0x000f - _0807EB44 0x0002 - CallWithArg sub_0806AF60, 0x00000004 - Call sub_0806AF70 - _0807EE04 0x0188, 0x0058 -script_0800E7D8: - EndBlock - BeginBlock - Call sub_0806AF78 - _0807EE30 - JumpIfNot script_0800E7D8 - EntityHasHeight - JumpIf script_0800E7D8 - EndBlock - Jump script_0800E6F4 -SCRIPT_START script_0800E7F4 - BeginBlock - Call sub_0806C674 - DoPostScriptAction 0x000a - _0807EB44 0x0004 - EndBlock -script_0800E806: - CheckEntityInteractType - JumpIfNot script_0800E806 - _0807E864 - _0807EB74 - Call sub_0806C70C - WaitUntilTextboxCloses - _0807E878 - _0807EB44 0x0004 - Jump script_0800E806 - .2byte 0x0000 -SCRIPT_START script_0800E824 - BeginBlock - _0807E9D4 - DoPostScriptAction 0x000a - _0807EB44 0x0000 - EndBlock -script_0800E832: - CheckEntityInteractType - JumpIfNot script_0800E832 - _0807E864 - _0807EB44 0x0004 - BeginBlock - MessageFromTarget 0x4501 - CallWithArg sub_0807F854, 0x00010032 - CallWithArg sub_0807F854, 0x000200c8 - CallWithArg sub_0807F854, 0x00030190 - EndBlock - WaitUntilTextboxCloses - _0807EB38 - JumpTable script_0800E910, script_0800E8D6, script_0800E8A4, script_0800E872 -script_0800E872: - BeginBlock - MessageFromTarget 0x4505 - CallWithArg sub_0807F854, 0x00010190 - EndBlock - WaitUntilTextboxCloses - HasRupees 0x0190 - JumpIfNot script_0800E908 - ModRupees 0xfe70 - SetLocalFlag 0x0091 - MessageFromTarget 0x4508 - WaitUntilTextboxCloses - Call sub_0806C578 -SCRIPT_END diff --git a/data/scripts/script_0800E8A4.inc b/data/scripts/script_0800E8A4.inc deleted file mode 100644 index bb0dd75f..00000000 --- a/data/scripts/script_0800E8A4.inc +++ /dev/null @@ -1,14 +0,0 @@ -SCRIPT_START script_0800E8A4 - BeginBlock - MessageFromTarget 0x4504 - CallWithArg sub_0807F854, 0x000100c8 - EndBlock - WaitUntilTextboxCloses - HasRupees 0x00c8 - JumpIfNot script_0800E908 - ModRupees 0xff38 - SetLocalFlag 0x0091 - MessageFromTarget 0x4508 - WaitUntilTextboxCloses - Call sub_0806C588 -SCRIPT_END diff --git a/data/scripts/script_0800E8D6.inc b/data/scripts/script_0800E8D6.inc deleted file mode 100644 index facf15c1..00000000 --- a/data/scripts/script_0800E8D6.inc +++ /dev/null @@ -1,14 +0,0 @@ -SCRIPT_START script_0800E8D6 - BeginBlock - MessageFromTarget 0x4503 - CallWithArg sub_0807F854, 0x00010032 - EndBlock - WaitUntilTextboxCloses - HasRupees 0x0032 - JumpIfNot script_0800E908 - ModRupees 0xffce - SetLocalFlag 0x0091 - MessageFromTarget 0x4508 - WaitUntilTextboxCloses - Call sub_0806C598 -SCRIPT_END diff --git a/data/scripts/script_0800E908.inc b/data/scripts/script_0800E908.inc deleted file mode 100644 index be2a5614..00000000 --- a/data/scripts/script_0800E908.inc +++ /dev/null @@ -1,73 +0,0 @@ -SCRIPT_START script_0800E908 - MessageFromTarget 0x4507 - Jump script_0800E914 -script_0800E910: - MessageFromTarget 0x4509 -script_0800E914: - WaitUntilTextboxCloses - _0807E878 - _0807EB44 0x0000 - Jump script_0800E832 -SCRIPT_START script_0800E920 - BeginBlock - Call sub_0806C4F8 - DoPostScriptAction 0x000a - _0807EB44 0x0000 - EndBlock -script_0800E932: - CheckEntityInteractType - JumpIfNot script_0800E932 - _0807E864 - _0807EB44 0x0004 - _0807E930 0x0004 -script_0800E942: - Call sub_0806C4A8 - JumpIfNot script_0800E942 - Call sub_0806C4DC - WaitUntilTextboxCloses - _0807E878 - _0807EB44 0x0000 - _0807E930 0x0000 - Jump script_0800E932 - .2byte 0x0000 -SCRIPT_START script_0800E964 - BeginBlock - DoPostScriptAction 0x000a - _0807EB44 0x0004 - _0807E930 0x0000 - EndBlock -script_0800E974: - CheckEntityInteractType - JumpIfNot script_0800E974 - _0807E864 - _0807E930 0x0008 - Call sub_0807F2D4 - _0807E930 0x0009 - Call sub_0806B260 - JumpIfNot script_0800E9E4 - WaitUntilTextboxCloses - DoPostScriptAction 0x000b - StartPlayerScript script_0800E9F4 - WaitForSomething2 0x00000001 - DoPostScriptAction 0x000a - MessageFromTarget 0x4a24 - WaitUntilTextboxCloses - _0807E930 0x000a - Wait 0x0014 - MessageFromTarget 0x4a25 - WaitUntilTextboxCloses - _0807E930 0x0000 - StartPlayerScript script_0800EA1C - WaitForSomething2 0x00000001 - SetLocalFlag 0x0074 - PlaySound SFX_SECRET - Wait 0x00f0 - MessageFromTarget 0x4a26 - WaitUntilTextboxCloses - SetLocalFlag 0x0075 -script_0800E9E4: - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - _0807E930 0x0000 - Jump script_0800E974 diff --git a/data/scripts/script_0800E9F4.inc b/data/scripts/script_0800E9F4.inc deleted file mode 100644 index c801e9d9..00000000 --- a/data/scripts/script_0800E9F4.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_0800E9F4 - BeginBlock - _0807EB44 0x0004 - SetEntitySpeed 0x0100 - EndBlock - DoPostScriptAction 0x0001 - _0807EDD4 0x0078, 0x0080 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_0800EA1C.inc b/data/scripts/script_0800EA1C.inc deleted file mode 100644 index 57360433..00000000 --- a/data/scripts/script_0800EA1C.inc +++ /dev/null @@ -1,15 +0,0 @@ -SCRIPT_START script_0800EA1C - _0807EB44 0x0006 - DoPostScriptAction 0x0000 - Wait 0x0014 - _0807EB44 0x0002 - DoPostScriptAction 0x0000 - Wait 0x0014 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x0005 - Wait 0x003c - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800EA54.inc b/data/scripts/script_0800EA54.inc deleted file mode 100644 index be000e41..00000000 --- a/data/scripts/script_0800EA54.inc +++ /dev/null @@ -1,360 +0,0 @@ -SCRIPT_START script_0800EA54 - BeginBlock - Call sub_0806CE5C - DoPostScriptAction 0x000a - _0807EB44 0x0004 - _0807E930 0x0008 - EndBlock -script_0800EA6A: - CheckEntityInteractType - JumpIfNot script_0800EA6A - _0807E864 - _0807EB74 - CallWithArg sub_0807F3D8, 0x00000004 - Call sub_0807F2D4 - _0807E930 0x0009 - Call sub_0806CE80 - WaitUntilTextboxCloses - _0807E878 - _0807E930 0x000a - Call sub_0807F2D4 - _0807E930 0x0008 - Jump script_0800EA6A -SCRIPT_START script_0800EAA4 - BeginBlock - _0807E9D4 - Call sub_0806C09C - DoPostScriptAction 0x000a - _0807E930 0x0000 - _0807EB44 0x0004 - EndBlock -script_0800EABC: - CheckEntityInteractType - JumpIfNot script_0800EABC - BeginBlock - _0807E864 - _0807EB74 - CallWithArg sub_0806C028, 0x00000004 - EndBlock -script_0800EAD4: - Call sub_0806C00C - JumpIfNot script_0800EAD4 - _0807E930 0x0008 - Call sub_0806C038 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - _0807E930 0x0000 - Jump script_0800EABC -SCRIPT_START script_0800EAF8 - BeginBlock - Call sub_0806C870 - DoPostScriptAction 0x000a - _0807EB44 0x0004 - _0807E930 0x0000 - EndBlock -script_0800EB0E: - _0807E30C - JumpIfNot script_0800EB0E - _0807E864 - _0807EB74 - Call sub_0806C90C - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_0800EB0E - .2byte 0x0000 -SCRIPT_START script_0800EB2C - BeginBlock - Call sub_08061E70 - DoPostScriptAction 0x000a - _0807EB44 0x0004 - Call sub_08061FD8 - EndBlock -script_0800EB44: - CheckEntityInteractType - JumpIfNot script_0800EB44 - _0807E864 - _0807EB74 - Call sub_08061FD8 - Call sub_08062048 - WaitUntilTextboxCloses - _0807E878 - Jump script_0800EB44 - .2byte 0x0000 -SCRIPT_START script_0800EB64 - BeginBlock - Call sub_08061E70 - DoPostScriptAction 0x000a - _0807EB44 0x0006 - Call sub_08061FD8 - EndBlock -script_0800EB7C: - CheckEntityInteractType - JumpIfNot script_0800EB7C - _0807E864 - _0807EB74 - Call sub_08061FD8 - Call sub_08062048 - WaitUntilTextboxCloses - _0807E878 - _0807EB44 0x0006 - Call sub_08061FD8 - Jump script_0800EB7C - BeginBlock - Call sub_08061E70 - DoPostScriptAction 0x000a - _0807EB44 0x0002 - Call sub_08061FD8 - EndBlock - Jump script_0800EBF4 -SCRIPT_START script_0800EBC0 - BeginBlock - Call sub_08061E70 - DoPostScriptAction 0x000a - _0807EB44 0x0004 - Call sub_08061FD8 - EndBlock - Jump script_0800EBF4 -SCRIPT_START script_0800EBDC - BeginBlock - Call sub_08061E70 - DoPostScriptAction 0x000a - _0807EB44 0x0006 - Call sub_08061FD8 - EndBlock -script_0800EBF4: - CheckEntityInteractType - JumpIfNot script_0800EBF4 - _0807E864 - _0807EB74 - Call sub_08061FD8 - Call sub_08062048 - WaitUntilTextboxCloses - _0807E878 - Jump script_0800EBF4 - .2byte 0x0000 -SCRIPT_START script_0800EC14 - BeginBlock - Call sub_08061E70 - DoPostScriptAction 0x000a - _0807EB44 0x0002 - Call sub_08061FD8 - EndBlock -script_0800EC2C: - CheckEntityInteractType - JumpIfNot script_0800EC2C - _0807E864 - _0807EB74 - Call sub_08061FD8 - Call sub_08062048 - WaitUntilTextboxCloses - _0807E878 - _0807EB44 0x0002 - Call sub_08061FD8 - Jump script_0800EC2C -SCRIPT_START script_0800EC54 - BeginBlock - Call sub_08061E70 - DoPostScriptAction 0x000a - _0807EB44 0x0004 - Call sub_08061FD8 - EndBlock -script_0800EC6C: - CheckEntityInteractType - JumpIfNot script_0800EC6C - _0807E864 - _0807EB74 - Call sub_08061FD8 - Call sub_08062048 - WaitUntilTextboxCloses - _0807E878 - Jump script_0800EC6C - .2byte 0x0000 -SCRIPT_START script_0800EC8C - BeginBlock - _0807E9D4 - CallWithArg sub_08061FB8, 0x00000001 - SetEntitySpeed 0x0040 - DoPostScriptAction 0x000a - _0807EB44 0x0004 - _0807E930 0x0002 - EndBlock -script_0800ECAC: - _0807EB44 0x0006 - _0807E930 0x0007 - _0807EDD4 0x0028, 0x0050 - Wait 0x001e - _0807EB44 0x0004 - _0807E930 0x0002 - Wait 0x001e - _0807EB44 0x0002 - _0807E930 0x0001 - Wait 0x001e - _0807EB44 0x0002 - _0807E930 0x0005 - _0807EDD4 0x0048, 0x0050 - Wait 0x001e - _0807EB44 0x0004 - _0807E930 0x0002 - Wait 0x001e - _0807EB44 0x0006 - _0807E930 0x0003 - Wait 0x001e - Jump script_0800ECAC -SCRIPT_START script_0800ED04 - BeginBlock - Call sub_080639D0 - DoPostScriptAction 0x000a - EndBlock - BeginBlock - CallWithArg sub_08063850, 0x00000000 - EndBlock -script_0800ED20: - CheckEntityInteractType - JumpIfNot script_0800ED20 - _0807E864 - _0807EB74 - CallWithArg sub_08063850, 0x00000000 - Call sub_08063944 - WaitUntilTextboxCloses - JumpIfNot script_0800ED46 - _0807F050 0x0070 - WaitPlayerGetItem -script_0800ED46: - _0807E878 - Call sub_08063874 - CallWithArg sub_08063850, 0x00000000 - Jump script_0800ED20 -SCRIPT_START script_0800ED5C - BeginBlock - Call sub_08064CC0 - DoPostScriptAction 0x000a - DoPostScriptAction 0x0007 - _0807EB44 0x0002 - _0807E930 0x0000 - EndBlock -script_0800ED76: - _0807E944 - _0807E864 - _0807EB74 - Call sub_08064CD8 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_0800ED76 - .2byte 0x0000 -SCRIPT_START script_0800ED90 - BeginBlock - _0807E9D4 - DoPostScriptAction 0x000a -script_0800ED98: - EndBlock - BeginBlock - CheckEntityInteractType - JumpIf script_0800EDB6 - TestBit 0x00000001 - JumpIf script_0800EE12 - Call sub_0806AEE4 - Jump script_0800ED98 -script_0800EDB6: - EndBlock - _0807E864 - Call sub_0807DF28 - CheckLocalFlag 0x00ae - JumpIf script_0800EE3E - Wait 0x000a - _0807E5F8 0x00000001 - MessageFromTarget 0x4c07 - WaitUntilTextboxCloses - _0807E5F8 0x00000010 - MessageFromTarget 0x4c08 - WaitUntilTextboxCloses - _0807E5F8 0x00000020 - MessageFromTarget 0x4c09 - WaitUntilTextboxCloses - SetIntVariable 0x00000503 - Call sub_0807F420 - _0807E5F8 0x00000040 - Call sub_0807DF50 - _0807E878 - SetLocalFlag 0x00ae - Jump script_0800ED98 -script_0800EE12: - EndBlock - WaitForSomething2 0x00000002 - _0807EB44 0x0002 - CallWithArg sub_0806AF60, 0x00000008 - WaitForSomething2 0x00000004 - Call sub_0806AED8 - WaitForSomething2 0x00000008 - Jump script_0800ED98 -script_0800EE3E: - MessageFromTarget 0x4c16 - WaitUntilTextboxCloses - Call sub_0807DF50 - _0807E878 - Jump script_0800ED98 -SCRIPT_START script_0800EE50 - BeginBlock - _0807E9D4 - DoPostScriptAction 0x000a -script_0800EE58: - EndBlock - BeginBlock - CheckEntityInteractType - JumpIf script_0800EE76 - TestBit 0x00000001 - JumpIf script_0800EED2 - Call sub_0806AEE4 - Jump script_0800EE58 -script_0800EE76: - EndBlock - _0807E864 - Call sub_0807DF28 - CheckLocalFlag 0x00ae - JumpIf script_0800EEFE - Wait 0x000a - _0807E5F8 0x00000001 - MessageFromTarget 0x4c07 - WaitUntilTextboxCloses - _0807E5F8 0x00000002 - MessageFromTarget 0x4c08 - WaitUntilTextboxCloses - _0807E5F8 0x00000004 - MessageFromTarget 0x4c09 - WaitUntilTextboxCloses - SetIntVariable 0x00000503 - Call sub_0807F420 - _0807E5F8 0x00000008 - Call sub_0807DF50 - _0807E878 - SetLocalFlag 0x00ae - Jump script_0800EE58 -script_0800EED2: - EndBlock - WaitForSomething2 0x00000010 - _0807EB44 0x0006 - CallWithArg sub_0806AF60, 0x00000008 - WaitForSomething2 0x00000020 - Call sub_0806AED8 - WaitForSomething2 0x00000040 - Jump script_0800EE58 -script_0800EEFE: - MessageFromTarget 0x4c15 - WaitUntilTextboxCloses - Call sub_0807DF50 - _0807E878 - Jump script_0800EE58 - MessageFromTarget 0x4c07 - WaitUntilTextboxCloses - _0807E5F8 0x00000012 - Wait 0x000a - MessageFromTarget 0x4c08 - WaitUntilTextboxCloses - _0807E5F8 0x00000024 - MessageFromTarget 0x4c09 - WaitUntilTextboxCloses - _0807E5F8 0x00000048 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_0800EF40.inc b/data/scripts/script_0800EF40.inc deleted file mode 100644 index f10aba5e..00000000 --- a/data/scripts/script_0800EF40.inc +++ /dev/null @@ -1,29 +0,0 @@ -SCRIPT_START script_0800EF40 - BeginBlock - DoPostScriptAction 0x0007 - CheckGlobalFlag 0x001f - JumpIf script_0800EF92 - EndBlock -script_0800EF50: - Call sub_080869A4 - JumpIfNot script_0800EF50 - _0807E864 - CheckLocalFlagByBank 0x0200, 0x006d - JumpIf script_0800EF82 - MessageFromTarget 0x4d01 - WaitUntilTextboxCloses - StartPlayerScript script_0800EF9C - WaitForSomething2 0x00000001 - Wait 0x000f - _0807E878 - Jump script_0800EF50 -script_0800EF82: - SetGlobalFlag 0x001f - MessageFromTarget 0x4d02 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 -script_0800EF92: - Call sub_0808692C -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800EF9C.inc b/data/scripts/script_0800EF9C.inc deleted file mode 100644 index d3e025d2..00000000 --- a/data/scripts/script_0800EF9C.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_0800EF9C - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - _0807ECC4 0x0008 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800EFC0.inc b/data/scripts/script_0800EFC0.inc deleted file mode 100644 index 58456975..00000000 --- a/data/scripts/script_0800EFC0.inc +++ /dev/null @@ -1,92 +0,0 @@ -SCRIPT_START script_0800EFC0 - BeginBlock - SetEntitySpeed 0x0080 - _0807E9D4 - DoPostScriptAction 0x000a - CheckLocalFlag 0x007b - JumpIf script_0800F082 - EndBlock - Jump script_0800EFFE -script_0800EFDA: - _0807EB44 0x0006 - CallWithArg sub_0806AF60, 0x00000008 - Wait 0x0004 - _0807EB44 0x0004 - CallWithArg sub_0806AF60, 0x00000008 - Wait 0x0004 -script_0800EFFE: - _0807EB44 0x0002 - CallWithArg sub_0806AF60, 0x00000008 - Wait 0x0004 - _0807EB44 0x0002 - CallWithArg sub_0806AF60, 0x00000004 - _0807EDD4 0x0088, 0x0040 - DoPostScriptAction 0x000a - _0807EB44 0x0002 - CallWithArg sub_0806AF60, 0x00000008 - Wait 0x0004 - _0807EB44 0x0004 - CallWithArg sub_0806AF60, 0x00000008 - Wait 0x0004 - _0807EB44 0x0006 - CallWithArg sub_0806AF60, 0x00000008 - Wait 0x0004 - _0807EB44 0x0006 - CallWithArg sub_0806AF60, 0x00000004 - _0807EDD4 0x0068, 0x0040 - DoPostScriptAction 0x000a - CheckLocalFlag 0x007b - JumpIf script_0800F082 - Jump script_0800EFDA -script_0800F082: - EndBlock - Call sub_0806AEE4 - Jump script_0800F082 - .2byte 0x0000 -SCRIPT_START script_0800F090 - BeginBlock - _0807F0B4 0x0001 - CameraTargetPlayer - EndBlock -script_0800F09A: - CheckPlayerInRegion 0x01f8, 0x0338, 0x1030 - JumpIfNot script_0800F09A - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - LoadRoomEntityList gUnk_080EE8AC - StartPlayerScript script_0800F14C - WaitForSomething2 0x00000001 - _0807E5F8 0x0000001e - WaitForSomething2 0x00000040 - MessageFromTargetPos 0x1201, 0x000c - WaitUntilTextboxCloses - WaitForSomething2 0x000003c0 - _0807E8E4_0 - MessageFromTargetPos 0x1202, 0x000c - WaitUntilTextboxCloses - _0807F034 0x0067 - WaitPlayerGetItem - _0807E8E4_0 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000040 - MessageFromTargetPos 0x1203, 0x000c - WaitUntilTextboxCloses - _0807E5F8 0x00000002 - Call sub_0807DF50 - _0807E878 - WaitForSomething2 0x00000040 -script_0800F11A: - CheckKinstoneFused 0x0032 - JumpIfNot script_0800F11A - _0807E864 - Call sub_0807DF28 - _0807E5F8 0x0000001e - Wait 0x003c - _0807E8E4_1 - WaitForSomething2 0x000003c0 - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800F14C.inc b/data/scripts/script_0800F14C.inc deleted file mode 100644 index debc95ba..00000000 --- a/data/scripts/script_0800F14C.inc +++ /dev/null @@ -1,15 +0,0 @@ -SCRIPT_START script_0800F14C - BeginBlock - SetEntitySpeed 0x0080 - EndBlock - DoPostScriptAction 0x0000 - _0807EB44 0x0006 - DoPostScriptAction 0x0004 - Wait 0x003c - DoPostScriptAction 0x0001 - _0807EDD4 0x01f8, 0x0338 - _0807EB44 0x0006 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_0800F184.inc b/data/scripts/script_0800F184.inc deleted file mode 100644 index ee317b85..00000000 --- a/data/scripts/script_0800F184.inc +++ /dev/null @@ -1,113 +0,0 @@ -SCRIPT_START script_0800F184 - BeginBlock - SetEntitySpeed 0x0080 - DoPostScriptAction 0x0008 - DoPostScriptAction 0x000a - EndBlock - Call sub_0807F348 - _0807EB44 0x0002 - WaitForSomething2 0x00000002 - DoPostScriptAction 0x0007 - _0807EDD4 0x01b8, 0x0328 - _0807E5F8 0x00000040 - _0807EDD4 0x01f8, 0x0328 - _0807EB44 0x0004 - _0807E930 0x0008 - _0807E8E4_0 - _0807E5F8 0x00000040 - WaitForSomething2 0x00000002 - Call sub_0806E440 - Wait 0x0078 - _0807E5F8 0x00000040 - WaitForSomething2 0x00000002 -script_0800F1E6: - EndBlock - BeginBlock - CallWithArg sub_0807F680, 0x000001c0 - JumpIf script_0800F22A - EndBlock - _0807E864 - Call sub_0807F9A4 - _0807EB74 - _0807E930 0x0008 - DoPostScriptAction 0x0004 - Wait 0x003c - MessageFromTargetPos 0x1206, 0x000c - WaitUntilTextboxCloses - StartPlayerScript script_0800F33C - WaitForSomething2 0x00000400 - _0807E878 - Jump script_0800F1E6 -script_0800F22A: - CallWithArg sub_0807F680, 0x00000230 - JumpIfNot script_0800F26A - EndBlock - _0807E864 - Call sub_0807F9A4 - _0807EB74 - _0807E930 0x0008 - DoPostScriptAction 0x0004 - Wait 0x003c - MessageFromTargetPos 0x1206, 0x000c - WaitUntilTextboxCloses - StartPlayerScript script_0800F354 - WaitForSomething2 0x00000400 - _0807E878 - Jump script_0800F1E6 -script_0800F26A: - CallWithArg sub_0807F6B4, 0x00000310 - JumpIf script_0800F2AA - EndBlock - _0807E864 - Call sub_0807F9A4 - _0807EB74 - _0807E930 0x0008 - DoPostScriptAction 0x0004 - Wait 0x003c - MessageFromTargetPos 0x1206, 0x000c - WaitUntilTextboxCloses - StartPlayerScript script_0800F36C - WaitForSomething2 0x00000400 - _0807E878 - Jump script_0800F1E6 -script_0800F2AA: - CallWithArg sub_0807F6B4, 0x00000340 - JumpIfNot script_0800F2EA - EndBlock - _0807E864 - Call sub_0807F9A4 - _0807EB74 - _0807E930 0x0008 - DoPostScriptAction 0x0004 - Wait 0x003c - MessageFromTargetPos 0x1206, 0x000c - WaitUntilTextboxCloses - StartPlayerScript script_0800F384 - WaitForSomething2 0x00000400 - _0807E878 - Jump script_0800F1E6 -script_0800F2EA: - EndBlock - BeginBlock - CheckKinstoneFused 0x0032 - JumpIf script_0800F314 - CheckEntityInteractType - JumpIfNot script_0800F2EA - EndBlock - _0807E864 - _0807EB74 - _0807E930 0x0008 - MessageFromTargetPos 0x1208, 0x000c - WaitUntilTextboxCloses - _0807E878 - Jump script_0800F1E6 -script_0800F314: - EndBlock - _0807E5F8 0x00000040 - WaitForSomething2 0x00000002 - SetEntitySpeed 0x0100 - _0807EB44 0x0002 - _0807EEF4 0x00c0, 0x0000 - _0807E5F8 0x00000040 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800F33C.inc b/data/scripts/script_0800F33C.inc deleted file mode 100644 index 11c63b10..00000000 --- a/data/scripts/script_0800F33C.inc +++ /dev/null @@ -1,7 +0,0 @@ -SCRIPT_START script_0800F33C - SetEntitySpeed 0x0100 - _0807EC94 0x0008 - _0807E5F8 0x00000400 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800F354.inc b/data/scripts/script_0800F354.inc deleted file mode 100644 index 4a43ec65..00000000 --- a/data/scripts/script_0800F354.inc +++ /dev/null @@ -1,7 +0,0 @@ -SCRIPT_START script_0800F354 - SetEntitySpeed 0x0100 - _0807ECF4 0x0008 - _0807E5F8 0x00000400 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800F36C.inc b/data/scripts/script_0800F36C.inc deleted file mode 100644 index 7fb077c6..00000000 --- a/data/scripts/script_0800F36C.inc +++ /dev/null @@ -1,7 +0,0 @@ -SCRIPT_START script_0800F36C - SetEntitySpeed 0x0100 - _0807ECC4 0x0008 - _0807E5F8 0x00000400 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800F384.inc b/data/scripts/script_0800F384.inc deleted file mode 100644 index 488420ce..00000000 --- a/data/scripts/script_0800F384.inc +++ /dev/null @@ -1,7 +0,0 @@ -SCRIPT_START script_0800F384 - SetEntitySpeed 0x0100 - _0807EC64 0x0008 - _0807E5F8 0x00000400 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800F39C.inc b/data/scripts/script_0800F39C.inc deleted file mode 100644 index a03aa9fa..00000000 --- a/data/scripts/script_0800F39C.inc +++ /dev/null @@ -1,42 +0,0 @@ -SCRIPT_START script_0800F39C - BeginBlock - _0807E9D4 - _0807EB44 0x0002 - DoPostScriptAction 0x0001 - DoPostScriptAction 0x0008 - SetEntitySpeed 0x0080 - DoPostScriptAction 0x000b - EndBlock - Call sub_0807F348 - WaitForSomething2 0x00000004 - DoPostScriptAction 0x0007 - _0807EDD4 0x01f8, 0x0318 - _0807EDD4 0x0208, 0x0318 - _0807EDD4 0x0208, 0x0338 - _0807EB44 0x0006 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x000a - _0807E5F8 0x00000080 -script_0800F3EA: - EndBlock - BeginBlock - CheckEntityInteractType - JumpIfNot script_0800F402 - EndBlock - _0807E864 - _0807EB74 - MessageNoOverlap 0x1237 - WaitUntilTextboxCloses - _0807E878 -script_0800F402: - TestBit 0x00000004 - JumpIfNot script_0800F3EA - EndBlock - DoPostScriptAction 0x000b - Wait 0x0010 - SetEntitySpeed 0x0100 - _0807EC64 0x0010 - _0807EDD4 0x0288, 0x0328 - _0807E5F8 0x00000080 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800F430.inc b/data/scripts/script_0800F430.inc deleted file mode 100644 index b601ce10..00000000 --- a/data/scripts/script_0800F430.inc +++ /dev/null @@ -1,43 +0,0 @@ -SCRIPT_START script_0800F430 - BeginBlock - _0807E9D4 - _0807EB44 0x0002 - DoPostScriptAction 0x0001 - DoPostScriptAction 0x0008 - SetEntitySpeed 0x0080 - DoPostScriptAction 0x000b - EndBlock - Call sub_0807F348 - WaitForSomething2 0x00000008 - DoPostScriptAction 0x0007 - _0807EDD4 0x01d8, 0x0328 - _0807EDD4 0x01f8, 0x0348 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x000a - _0807E5F8 0x00000100 -script_0800F478: - EndBlock - BeginBlock - CheckEntityInteractType - JumpIfNot script_0800F490 - EndBlock - _0807E864 - _0807EB74 - MessageNoOverlap 0x1238 - WaitUntilTextboxCloses - _0807E878 -script_0800F490: - TestBit 0x00000008 - JumpIfNot script_0800F478 - EndBlock - DoPostScriptAction 0x000b - Wait 0x0018 - SetEntitySpeed 0x0100 - _0807EC94 0x0010 - _0807EC64 0x0020 - _0807EDD4 0x0288, 0x0328 - _0807E5F8 0x00000100 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800F4C4.inc b/data/scripts/script_0800F4C4.inc deleted file mode 100644 index 41815127..00000000 --- a/data/scripts/script_0800F4C4.inc +++ /dev/null @@ -1,42 +0,0 @@ -SCRIPT_START script_0800F4C4 - BeginBlock - _0807E9D4 - _0807EB44 0x0002 - DoPostScriptAction 0x0001 - DoPostScriptAction 0x0008 - SetEntitySpeed 0x0080 - DoPostScriptAction 0x000b - EndBlock - Call sub_0807F348 - WaitForSomething2 0x00000010 - DoPostScriptAction 0x0007 - _0807EDD4 0x01c8, 0x0328 - _0807EDD4 0x01e8, 0x0338 - _0807EB44 0x0002 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x000a - _0807E5F8 0x00000200 -script_0800F50C: - EndBlock - BeginBlock - CheckEntityInteractType - JumpIfNot script_0800F524 - EndBlock - _0807E864 - _0807EB74 - MessageNoOverlap 0x1239 - WaitUntilTextboxCloses - _0807E878 -script_0800F524: - TestBit 0x00000010 - JumpIfNot script_0800F50C - EndBlock - DoPostScriptAction 0x000b - Wait 0x0028 - SetEntitySpeed 0x0100 - _0807EC64 0x0010 - _0807EDD4 0x0288, 0x0328 - _0807E5F8 0x00000200 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800F554.inc b/data/scripts/script_0800F554.inc deleted file mode 100644 index 14b29ac3..00000000 --- a/data/scripts/script_0800F554.inc +++ /dev/null @@ -1,183 +0,0 @@ -SCRIPT_START script_0800F554 - BeginBlock - Call sub_08061FE4 - _0807E9D4 - DoPostScriptAction 0x000a - EndBlock -script_0800F564: - CheckEntityInteractType - JumpIfNot script_0800F564 - _0807E864 - _0807EB74 - Call sub_08061FE4 - Call sub_08061FF4 - WaitUntilTextboxCloses - _0807E878 - Jump script_0800F564 - .2byte 0x0000 -SCRIPT_START script_0800F584 - BeginBlock - DoPostScriptAction 0x0001 - _0807E9D4 - DoPostScriptAction 0x000a - EndBlock -script_0800F592: - CheckEntityInteractType - JumpIfNot script_0800F592 - _0807E864 - _0807EB74 - Call sub_0806265C - WaitUntilTextboxCloses - _0807E878 - DoPostScriptAction 0x0001 - Jump script_0800F592 - .2byte 0x0000 -SCRIPT_START script_0800F5B0 - BeginBlock - _0807EB44 0x0006 - _0807E9D4 - DoPostScriptAction 0x000a - CallWithArg sub_0807F3D8, 0x00000008 - EndBlock -script_0800F5C8: - CheckEntityInteractType - JumpIfNot script_0800F5C8 - _0807E864 - _0807EB74 - CallWithArg sub_0807F3D8, 0x00000008 - Call sub_08064428 - WaitUntilTextboxCloses - _0807E878 - Jump script_0800F5C8 - .2byte 0x0000 -SCRIPT_START script_0800F5EC - BeginBlock - _0807EB44 0x0004 - _0807E930 0x0000 - _0807E9D4 - DoPostScriptAction 0x000a - Call sub_0807F348 - EndBlock -script_0800F604: - CheckEntityInteractType - JumpIfNot script_0800F604 - _0807E864 - _0807EB74 - CallWithArg sub_0807F3D8, 0x00000008 - MessageNoOverlap 0x2511 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_0800F604 -SCRIPT_START script_0800F628 - BeginBlock - _0807E9D4 - DoPostScriptAction 0x000a - DoPostScriptAction 0x0001 - EndBlock -script_0800F636: - _0807E30C - JumpIfNot script_0800F636 - _0807E864 - _0807EB74 - Call sub_0806C90C - WaitUntilTextboxCloses - _0807E878 - Jump script_0800F636 - .2byte 0x0000 -SCRIPT_START script_0800F650 - BeginBlock - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x000a - _0807E9D4 - EndBlock -script_0800F662: - CheckEntityInteractType - JumpIfNot script_0800F662 - _0807E864 - _0807EB74 - DoPostScriptAction 0x0001 - Call sub_0806B4F0 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - DoPostScriptAction 0x0000 - Jump script_0800F662 - .2byte 0x0000 - - -SCRIPT_START script_0800F688 - BeginBlock - _0807EB44 0x0004 - _0807E930 0x0000 - _0807E9D4 - DoPostScriptAction 0x000a - Call sub_0807F348 - EndBlock -script_0800F6A0: - CheckEntityInteractType - JumpIfNot script_0800F6A0 - _0807E864 - _0807EB74 - CallWithArg sub_0807F3D8, 0x00000004 -.ifdef JP - CheckLocalFlag 0x00ca -.else -.ifdef EU - CheckLocalFlag 0x00ca -.else -.ifdef DEMO_JP - CheckLocalFlag 0x00ca @ TODO deduplicate -.else - CheckLocalFlag 0x00cd -.endif -.endif -.endif - JumpIf script_0800F6C4 - MessageNoOverlap 0x2512 - Jump script_0800F6C8 -script_0800F6C4: - MessageNoOverlap 0x251f -script_0800F6C8: - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - CallWithArg sub_0807F3D8, 0x00000000 - Jump script_0800F6A0 - .2byte 0x0000 -SCRIPT_START script_0800F6E0 - BeginBlock - DoPostScriptAction 0x0001 - _0807E9D4 - DoPostScriptAction 0x000a - Call sub_08062788 - EndBlock -script_0800F6F4: -.ifdef JP - CheckLocalFlag 0x00ca -.else -.ifdef EU - CheckLocalFlag 0x00ca -.else -.ifdef DEMO_JP - CheckLocalFlag 0x00ca @ TODO deduplicate -.else - CheckLocalFlag 0x00cd -.endif -.endif -.endif - JumpIf script_0800F718 - CheckEntityInteractType - JumpIfNot script_0800F6F4 - _0807E864 - _0807EB74 - Call sub_0806265C - WaitUntilTextboxCloses - _0807E878 - DoPostScriptAction 0x0001 - Jump script_0800F6F4 -script_0800F718: - Call sub_080627E8 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800F724.inc b/data/scripts/script_0800F724.inc deleted file mode 100644 index acc3e12f..00000000 --- a/data/scripts/script_0800F724.inc +++ /dev/null @@ -1,215 +0,0 @@ -SCRIPT_START script_0800F724 - BeginBlock - DoPostScriptAction 0x0008 - EndBlock -script_0800F72C: -.ifdef JP - CheckLocalFlag 0x00ca -.else -.ifdef EU - CheckLocalFlag 0x00ca -.else -.ifdef DEMO_JP - CheckLocalFlag 0x00ca @ TODO deduplicate -.else - CheckLocalFlag 0x00cd -.endif -.endif -.endif - JumpIfNot script_0800F72C - DoPostScriptAction 0x0007 - Jump script_0800F584 - - -SCRIPT_START script_0800F73C -.ifdef JP - CheckLocalFlag 0x00ca -.else -.ifdef EU - CheckLocalFlag 0x00ca -.else -.ifdef DEMO_JP - CheckLocalFlag 0x00ca @ TODO deduplicate -.else - CheckLocalFlag 0x00cd -.endif -.endif -.endif - JumpIf script_0800FA4C - _0807E864 - Call sub_0807DF28 - SetEntityPositionRelative 0x00c8, 0x0148 - Call sub_0807F844 - _0807E778 0x0002 - DoFade6 - WaitFor_2 - StartPlayerScript script_0800FA54 - _0807E5F8 0x00000002 - _0807F0B4 0x0001 - SetEntityPositionRelative 0x00c8, 0x0218 - Call sub_0807F5C0 - Wait 0x0064 - _0807F0B4 0x0002 - SetEntityPositionRelative 0x00c8, 0x0368 - Call sub_0807F5C0 - WaitForSomething2 0x00000001 - WaitForSomething2 0x00000004 - MessageFromTargetPos 0x2501, 0x0000 - WaitUntilTextboxCloses - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - _0807F0B4 0x0004 - CameraTargetPlayer - Call sub_0807DF50 - _0807E878 - _0807E5F8 0x00000010 - WaitForSomething2 0x00000004 - _0807E864 - Call sub_0807DF28 - StartPlayerScript script_0800FA78 - WaitForSomething2 0x00000001 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - MessageFromTargetPos 0x2503, 0x000e - WaitUntilTextboxCloses - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - Call sub_0807DF50 - _0807E878 - WaitForSomething2 0x00000004 - _0807E864 - Call sub_0807DF28 - StartPlayerScript script_0800FA9C - WaitForSomething2 0x00000001 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - MessageFromTargetPos 0x2504, 0x000e - WaitUntilTextboxCloses - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - Call sub_0807DF50 - _0807E878 - WaitForSomething2 0x00000004 - _0807E864 - Call sub_0807DF28 - StartPlayerScript script_0800FAC0 - WaitForSomething2 0x00000001 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - MessageFromTargetPos 0x2505, 0x000e - WaitUntilTextboxCloses - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - Call sub_0807DF50 - _0807E878 - WaitForSomething2 0x00000004 - _0807E864 - Call sub_0807DF28 - Call sub_08063C5C - PlaySound SFX_CUCCO_MINIGAME_BELL - Wait 0x001e - _0807E8E4_0 - Call sub_0807F3F8 - Wait 0x003c - MessageFromTargetPos 0x1021, 0x000e - WaitUntilTextboxCloses - StartPlayerScript script_0800FAE4 - SetEntityPositionRelative 0x00f0, 0x0258 - _0807F0B4 0x0001 - CameraTargetEntity - Wait 0x001e - Call sub_08063C2C - WaitForSomething2 0x00000001 - MessageFromTargetPos 0x1022, 0x000e - WaitUntilTextboxCloses - _0807E8E4_0 - Call sub_08063C14 - Call sub_08094CDC - Wait 0x001e - MessageFromTargetPos 0x1023, 0x000e - WaitUntilTextboxCloses - Call sub_08063C14 - Call sub_08094DD8 - Wait 0x001e - MessageFromTargetPos 0x1024, 0x000e - WaitUntilTextboxCloses - Call sub_08063C14 - Call sub_08094D34 - Wait 0x001e - MessageFromTargetPos 0x1025, 0x000e - WaitUntilTextboxCloses - Call sub_08063C5C - MessageFromTargetPos 0x1026, 0x000e - WaitUntilTextboxCloses - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - _0807E8E4_1 - Call sub_08063C2C - MessageFromTargetPos 0x1027, 0x0000 - WaitUntilTextboxCloses - Call sub_08063C74 - Wait 0x003c - Call sub_08063C14 - _0807E8E4_0 - MessageFromTargetPos 0x1028, 0x000e - WaitUntilTextboxCloses - _0807E8E4_1 - MessageFromTargetPos 0x1029, 0x0000 - WaitUntilTextboxCloses - _0807E8E4_0 - MessageFromTargetPos 0x102a, 0x000e - WaitUntilTextboxCloses - Call sub_08063C14 - Call sub_08094D70 - PlaySound SFX_103 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - Call sub_08063C14 - Call sub_08094D10 - Wait 0x001e - Call sub_08094E0C - Wait 0x001e - _0807E8E4_1 - Call sub_0807F3F8 - Wait 0x003c - MessageFromTargetPos 0x102b, 0x0000 - WaitUntilTextboxCloses - _0807F034 0x000d - WaitPlayerGetItem - Call sub_0806DC3C - Call sub_080791BC - CallWithArg sub_0807F244, 0x0000000d - SetIntVariable 0x000000ff - Call sub_0807F5B0 - CallWithArg sub_0807F29C, gUnk_080049D6 - Wait 0x00b7 - SetIntVariable 0x00000000 - Call sub_0807F5B0 - MessageFromTargetPos 0x102c, 0x0000 - WaitUntilTextboxCloses - CallWithArg sub_0807F29C, 0x00000000 - Call sub_0806DC58 - _0807F0B4 0x0004 - CameraTargetPlayer - Wait 0x000a - _0807E5F8 0x00000002 - Call sub_08063C44 -.ifdef JP - SetLocalFlag 0x00ca -.else -.ifdef EU - SetLocalFlag 0x00ca -.else -.ifdef DEMO_JP - SetLocalFlag 0x00ca @ TODO deduplicate -.else - SetLocalFlag 0x00cd -.endif -.endif -.endif - Call sub_0807DF50 - _0807E878 -script_0800FA4C: - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800FA54.inc b/data/scripts/script_0800FA54.inc deleted file mode 100644 index f860b75f..00000000 --- a/data/scripts/script_0800FA54.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_0800FA54 - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - SetEntityPositionRelative 0x00d8, 0x0398 - _0807EB44 0x0006 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_0800FA78.inc b/data/scripts/script_0800FA78.inc deleted file mode 100644 index 1586c6f1..00000000 --- a/data/scripts/script_0800FA78.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_0800FA78 - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - _0807EDD4 0x00a0, 0x0278 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_0800FA9C.inc b/data/scripts/script_0800FA9C.inc deleted file mode 100644 index cf738fff..00000000 --- a/data/scripts/script_0800FA9C.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_0800FA9C - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - _0807EDD4 0x0078, 0x01c0 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_0800FAC0.inc b/data/scripts/script_0800FAC0.inc deleted file mode 100644 index c9240cf5..00000000 --- a/data/scripts/script_0800FAC0.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_0800FAC0 - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - _0807EDD4 0x0108, 0x01c8 - _0807EB44 0x0002 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_0800FAE4.inc b/data/scripts/script_0800FAE4.inc deleted file mode 100644 index 957eb40f..00000000 --- a/data/scripts/script_0800FAE4.inc +++ /dev/null @@ -1,17 +0,0 @@ -SCRIPT_START script_0800FAE4 - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - Call sub_0807F584 - JumpTable script_0800FB06, script_0800FB10, script_0800FB06, script_0800FAFC -script_0800FAFC: - CallWithArg sub_0807F4F8, 0x0000027c -script_0800FB06: - CallWithArg sub_0807F464, 0x000000e8 -script_0800FB10: - _0807EDD4 0x00e8, 0x0270 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_0800FB2C.inc b/data/scripts/script_0800FB2C.inc deleted file mode 100644 index 6f074f03..00000000 --- a/data/scripts/script_0800FB2C.inc +++ /dev/null @@ -1,7 +0,0 @@ -SCRIPT_START script_0800FB2C - _0807EB44 0x0002 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800FB44.inc b/data/scripts/script_0800FB44.inc deleted file mode 100644 index 687e719e..00000000 --- a/data/scripts/script_0800FB44.inc +++ /dev/null @@ -1,105 +0,0 @@ -SCRIPT_START script_0800FB44 - BeginBlock - DoPostScriptAction 0x0008 - DoPostScriptAction 0x000b - SetEntitySpeed 0x0080 - Call sub_08066D04 - EndBlock - WaitForSomething2 0x00000002 - Call sub_08066D14 - JumpIf script_0800FB6C - MoveEntityToPlayer -script_0800FB6C: - DoPostScriptAction 0x0007 - SetEntityPositionRelative 0x00b8, 0x0398 - _0807EB44 0x0002 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000002 - SetEntitySpeed 0x0200 - _0807EDD4 0x00b8, 0x0318 - SetEntityPositionRelative 0x00a0, 0x0260 - _0807EB44 0x0000 - DoPostScriptAction 0x0001 - _0807E5F8 0x00000004 - DoPostScriptAction 0x000a - _0807E9D4 -script_0800FBAE: - _0807E30C - JumpIfNot script_0800FBAE - DoPostScriptAction 0x000b - _0807E5F8 0x00000004 - WaitForSomething2 0x00000002 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000002 - SetEntitySpeed 0x0200 - _0807EDD4 0x00a0, 0x0268 - _0807EDD4 0x0070, 0x0268 - _0807EDD4 0x0070, 0x0208 - SetEntityPositionRelative 0x0078, 0x01a8 - _0807EB44 0x0000 - DoPostScriptAction 0x0001 - _0807E5F8 0x00000004 - DoPostScriptAction 0x000a -script_0800FC06: - _0807E30C - JumpIfNot script_0800FC06 - DoPostScriptAction 0x000b - _0807E5F8 0x00000004 - WaitForSomething2 0x00000002 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000002 - SetEntitySpeed 0x0200 - _0807EDD4 0x00f8, 0x01a8 - SetEntityPositionRelative 0x0118, 0x01c8 - _0807EB44 0x0002 - DoPostScriptAction 0x0001 - _0807E5F8 0x00000004 - DoPostScriptAction 0x000a -script_0800FC52: - _0807E30C - JumpIfNot script_0800FC52 - DoPostScriptAction 0x000b - _0807E5F8 0x00000004 - WaitForSomething2 0x00000002 - _0807EB44 0x0006 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000002 - SetEntitySpeed 0x0200 - _0807EDD4 0x0118, 0x0260 - SetEntityPositionRelative 0x00f8, 0x0270 - _0807EB44 0x0000 - DoPostScriptAction 0x0001 - _0807E5F8 0x00000004 - DoPostScriptAction 0x000a -script_0800FC9E: - CheckEntityInteractType - JumpIfNot script_0800FC9E - DoPostScriptAction 0x000b - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000004 - DoPostScriptAction 0x0004 - WaitForSomething2 0x00000002 - DoPostScriptAction 0x000d - SetEntitySpeed 0x0040 - _0807EC94 0x0020 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000002 - DoPostScriptAction 0x000c - SetEntitySpeed 0x0040 - _0807ECF4 0x0020 - _0807EB44 0x0006 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000002 - Call sub_08066D4C - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800FD0C.inc b/data/scripts/script_0800FD0C.inc deleted file mode 100644 index c922a2fb..00000000 --- a/data/scripts/script_0800FD0C.inc +++ /dev/null @@ -1,54 +0,0 @@ -SCRIPT_START script_0800FD0C -.ifdef JP - CheckLocalFlag 0x00ca -.else -.ifdef EU - CheckLocalFlag 0x00ca -.else -.ifdef DEMO_JP - CheckLocalFlag 0x00ca @ TODO deduplicate -.else - CheckLocalFlag 0x00cd -.endif -.endif -.endif - JumpIf script_0800FD50 - WaitForSomething2 0x00000010 -script_0800FD1A: - CheckPlayerInRegion 0x00c8, 0x03c0, 0x1040 - JumpIfNot script_0800FD1A -.ifdef JP - CheckLocalFlag 0x00ca -.else -.ifdef EU - CheckLocalFlag 0x00ca -.else -.ifdef DEMO_JP - CheckLocalFlag 0x00ca @ TODO deduplicate -.else - CheckLocalFlag 0x00cd -.endif -.endif -.endif - JumpIf script_0800FD5C - _0807E864 - Call sub_0807F9A4 - MessageFromTargetPos 0x2506, 0x0000 - WaitUntilTextboxCloses - StartPlayerScript script_0800FD80 - WaitForSomething2 0x00000008 - _0807E878 - Jump script_0800FD1A -script_0800FD50: - CheckPlayerInRegion 0x00c8, 0x03c0, 0x1040 - JumpIfNot script_0800FD50 -script_0800FD5C: - _0807E864 - Call sub_0807F9A4 - MessageFromTargetPos 0x106c, 0x0000 - WaitUntilTextboxCloses - StartPlayerScript script_0800FD80 - WaitForSomething2 0x00000008 - _0807E878 - Jump script_0800FD50 - .2byte 0x0000 diff --git a/data/scripts/script_0800FD80.inc b/data/scripts/script_0800FD80.inc deleted file mode 100644 index 2d707a67..00000000 --- a/data/scripts/script_0800FD80.inc +++ /dev/null @@ -1,9 +0,0 @@ -SCRIPT_START script_0800FD80 - SetEntitySpeed 0x0080 - _0807EC64 0x0020 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000008 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0800FDA0.inc b/data/scripts/script_0800FDA0.inc deleted file mode 100644 index 3e0e6277..00000000 --- a/data/scripts/script_0800FDA0.inc +++ /dev/null @@ -1,119 +0,0 @@ -SCRIPT_START script_0800FDA0 - BeginBlock - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x000a - _0807E9D4 - EndBlock -script_0800FDB2: - CheckEntityInteractType - JumpIfNot script_0800FDB2 - _0807E864 - _0807EB74 - Call sub_08069888 - WaitUntilTextboxCloses - _0807E878 - Jump script_0800FDB2 - .2byte 0x0000 -SCRIPT_START script_0800FDCC - BeginBlock - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x000a - _0807E9D4 - SetEntitySpeed 0x0040 - EndBlock -script_0800FDE2: - Call sub_08069A60 -script_0800FDE8: - Call sub_0806991C -script_0800FDEE: - EndBlock - BeginBlock - Call sub_08069ACC - JumpIf script_0800FE06 - _0807EE30 - JumpIfNot script_0800FDEE - Jump script_0800FDE2 -script_0800FE06: - EndBlock - _0807EB44 0x0002 - DoPostScriptAction 0x0000 - Wait 0x001e - _0807EB44 0x0006 - DoPostScriptAction 0x0000 - Wait 0x001e - _0807EB44 0x0002 - DoPostScriptAction 0x0000 - Wait 0x001e - _0807EB44 0x0006 - DoPostScriptAction 0x0000 - Wait 0x003c - Call sub_08069A3C - Jump script_0800FDE8 - .2byte 0x0000 -SCRIPT_START script_0800FE44 - BeginBlock - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x000a - _0807E9D4 - SetEntitySpeed 0x0040 - EndBlock -script_0800FE5A: - Call sub_08069AA8 -script_0800FE60: - Call sub_080699AC -script_0800FE66: - EndBlock - BeginBlock - Call sub_08069ACC - JumpIf script_0800FE7E - _0807EE30 - JumpIfNot script_0800FE66 - Jump script_0800FE5A -script_0800FE7E: - EndBlock - _0807EB44 0x0002 - DoPostScriptAction 0x0000 - Wait 0x001e - _0807EB44 0x0006 - DoPostScriptAction 0x0000 - Wait 0x001e - _0807EB44 0x0002 - DoPostScriptAction 0x0000 - Wait 0x001e - _0807EB44 0x0006 - DoPostScriptAction 0x0000 - Wait 0x003c - Call sub_08069A84 - Jump script_0800FE60 - .2byte 0x0000 -SCRIPT_START script_0800FEBC - BeginBlock - CheckInventory1 0x0012 - JumpIf script_0800FF0E - _0807EB44 0x0006 - _0807E9D4 - CallWithArg sub_0807F3D8, 0x00000008 - EndBlock -script_0800FED8: - EndBlock - BeginBlock - DoPostScriptAction 0x000b - Call sub_080642B8 - CheckEntityInteractType - JumpIfNot script_0800FED8 - EndBlock - _0807E864 - _0807EB74 - CallWithArg sub_0807F3D8, 0x00000008 - Call sub_08064428 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_0800FED8 -script_0800FF0E: - DoPostScriptAction 0x0008 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800FF18.inc b/data/scripts/script_0800FF18.inc deleted file mode 100644 index eee6feb4..00000000 --- a/data/scripts/script_0800FF18.inc +++ /dev/null @@ -1,28 +0,0 @@ -SCRIPT_START script_0800FF18 - BeginBlock - CheckInventory1 0x0012 - JumpIf script_0800FF6A - _0807EB44 0x0006 - _0807E9D4 - CallWithArg sub_0807F3D8, 0x00000008 - EndBlock -script_0800FF34: - EndBlock - BeginBlock - DoPostScriptAction 0x000b - Call sub_08064198 - CheckEntityInteractType - JumpIfNot script_0800FF34 - EndBlock - _0807E864 - _0807EB74 - CallWithArg sub_0807F3D8, 0x00000008 - Call sub_08064428 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_0800FF34 -script_0800FF6A: - DoPostScriptAction 0x0008 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0800FF74.inc b/data/scripts/script_0800FF74.inc deleted file mode 100644 index 4da89980..00000000 --- a/data/scripts/script_0800FF74.inc +++ /dev/null @@ -1,160 +0,0 @@ -SCRIPT_START script_0800FF74 - BeginBlock - _0807EB44 0x0002 - _0807E9D4 - CallWithArg sub_0807F3D8, 0x00000008 - Call sub_080644A4 -.ifdef JP - ClearLocalFlag 0x00c4 -.else -.ifdef DEMO_JP - ClearLocalFlag 0x00c4 @ TODO deduplicate -.else -.ifndef EU - ClearLocalFlag 0x00c7 -.endif -.endif -.endif - EndBlock -script_0800FF92: - EndBlock - BeginBlock - DoPostScriptAction 0x000a -.ifdef JP - CheckLocalFlag 0x00cb -.else -.ifdef EU - CheckLocalFlag 0x00cb -.else -.ifdef DEMO_JP - CheckLocalFlag 0x00cb @ TODO deduplicate -.else - CheckLocalFlag 0x00ce -.endif -.endif -.endif - JumpIf script_0800FFCC - DoPostScriptAction 0x000b - Call sub_08064198 -.ifdef JP - CheckLocalFlag 0x00c4 -.else -.ifdef EU - CheckLocalFlag 0x00c4 -.else -.ifdef DEMO_JP - CheckLocalFlag 0x00c4 @ TODO deduplicate -.else - CheckLocalFlag 0x00c7 -.endif -.endif -.endif - JumpIfNot script_0800FFCC - Call sub_08064488 - CheckPlayerInRegion2 0x4040 - JumpIfNot script_0800FFCC - Call sub_08064470 - JumpIf script_08010014 -script_0800FFCC: - CheckEntityInteractType - JumpIfNot script_0800FF92 - EndBlock -.ifdef JP - SetLocalFlag 0x00c4 -.else -.ifdef EU - SetLocalFlag 0x00c4 -.else -.ifdef DEMO_JP - SetLocalFlag 0x00c4 @ TODO deduplicate -.else - SetLocalFlag 0x00c7 -.endif -.endif -.endif - _0807E864 - _0807EB74 - CallWithArg sub_0807F3D8, 0x00000008 - CheckInventory1 0x0048 - JumpIf script_0800FFF8 - MessageNoOverlap 0x3401 - WaitUntilTextboxCloses - Jump script_08010060 -script_0800FFF8: -.ifdef JP - CheckLocalFlag 0x00cb -.else -.ifdef EU - CheckLocalFlag 0x00cb -.else -.ifdef DEMO_JP - CheckLocalFlag 0x00cb @ TODO deduplicate -.else - CheckLocalFlag 0x00ce -.endif -.endif -.endif - JumpIfNot script_0801000A - MessageNoOverlap 0x340b - WaitUntilTextboxCloses - Jump script_08010060 -script_0801000A: - MessageNoOverlap 0x3402 - WaitUntilTextboxCloses - Jump script_08010060 -script_08010014: - EndBlock - _0807E888 - Call sub_0807F594 - _0807E864 - _0807EB74 - CallWithArg sub_0807F3D8, 0x00000008 - PlaySound SFX_TASK_COMPLETE - MessageNoOverlap 0x340a - WaitUntilTextboxCloses - _0807EB44 0x0004 - CallWithArg sub_0807F3D8, 0x0000000c - SetEntitySpeed 0x0100 - _0807EDD4 0x0018, 0x0108 - _0807EB44 0x0002 - CallWithArg sub_0807F3D8, 0x00000008 -.ifdef JP - SetLocalFlag 0x00cb -.else -.ifdef EU - SetLocalFlag 0x00cb -.else -.ifdef DEMO_JP - SetLocalFlag 0x00cb @ TODO deduplicate -.else - SetLocalFlag 0x00ce -.endif -.endif -.endif -script_08010060: - Call sub_080644A4 - CallWithArg sub_0807F5B0, 0x0000000a - _0807E878 - Jump script_0800FF92 - .2byte 0x0000 - BeginBlock - _0807E9D4 - DoPostScriptAction 0x000a - _0807EB44 0x0004 - CallWithArg sub_080672B0, 0x00000000 - EndBlock -script_08010090: - CheckEntityInteractType - JumpIfNot script_08010090 - _0807E864 - _0807EB74 - CallWithArg sub_080672B0, 0x00000004 - MessageFromTarget 0x0a01 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - _0807EB44 0x0004 - CallWithArg sub_080672B0, 0x00000000 - Jump script_08010090 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_080100C8.inc b/data/scripts/script_080100C8.inc deleted file mode 100644 index 360411e1..00000000 --- a/data/scripts/script_080100C8.inc +++ /dev/null @@ -1,122 +0,0 @@ -SCRIPT_START script_080100C8 - BeginBlock - Call sub_08061FE4 - Call sub_08061E70 - DoPostScriptAction 0x000a - EndBlock -script_080100DC: - CheckEntityInteractType - JumpIfNot script_080100DC - _0807E864 - _0807EB74 - Call sub_08061FE4 - Call sub_08062048 - WaitUntilTextboxCloses - _0807E878 - Jump script_080100DC - .2byte 0x0000 -SCRIPT_START script_080100FC - BeginBlock - Call sub_08061FE4 - Call sub_08061E70 - DoPostScriptAction 0x000a - EndBlock -script_08010110: - Wait 0x003c - Call sub_08061E90 - Jump script_08010110 - .2byte 0x0000 -SCRIPT_START script_08010120 - BeginBlock - _0807E9D4 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x000a - EndBlock -script_08010132: - CheckEntityInteractType - JumpIfNot script_08010132 - _0807E864 - _0807EB74 - MessageFromTarget 0x4f22 - WaitUntilTextboxCloses - _0807E878 - Jump script_08010132 -SCRIPT_START script_08010148 - BeginBlock - DoPostScriptAction 0x0001 - Call sub_0806C354 - DoPostScriptAction 0x000a - EndBlock -script_0801015A: - CheckEntityInteractType - JumpIfNot script_0801015A - _0807E864 - _0807EB74 - CheckRoomFlag 0x0001 - JumpIf script_0801019E - MessageFromTargetPos 0x3001, 0x0000 - WaitUntilTextboxCloses - _0807E3E8 - JumpIfNot script_080101A6 - Call sub_080A1608 - WaitUntilTextboxCloses - _0807E878 - CallWithArg sub_080A1550, script_080101AC - JumpIfNot script_0801015A - PlayBgm BGM_CUCCO_MINIGAME - SetRoomFlag 0x0001 - Jump script_0801015A -script_0801019E: - Call sub_080A1608 - WaitUntilTextboxCloses -script_080101A6: - _0807E878 - Jump script_0801015A -script_080101AC: - BeginBlock - DoPostScriptAction 0x0008 - Call sub_080A1648 - EndBlock - Call sub_080A1270 - _0807E864 - Call sub_0807DF28 - MessageFromTargetPos 0x3004, 0x0007 - WaitUntilTextboxCloses - StopBgm - _0807E778 0x0004 - DoFade5 - WaitFor_2 - CallWithArg sub_0807F75C, 0x03400378 - Call sub_080791BC - Call sub_0807FB74 - _0807E8E4_1 - Call sub_0807F168 - Call sub_080A1388 - Call sub_0806EC38 - BeginBlock - MoveEntityToPlayer - Call sub_0807F844 - CameraTargetPlayer - EndBlock - _0807E778 0x0004 - DoFade4 - WaitFor_2 - PlayBGM - Call sub_080A13B4 - WaitUntilTextboxCloses - JumpIfNot script_08010240 - Call sub_080A13E8 - WaitPlayerGetItem - Call sub_080A1460 - WaitUntilTextboxCloses - Call sub_080A14A8 -script_08010240: - Call sub_0807DF50 - _0807E878 - CallWithArg sub_0807F5B0, 0x00000000 - ClearRoomFlag 0x0001 - Call sub_080A169C - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08010264.inc b/data/scripts/script_08010264.inc deleted file mode 100644 index d088e35d..00000000 --- a/data/scripts/script_08010264.inc +++ /dev/null @@ -1,562 +0,0 @@ -SCRIPT_START script_08010264 - BeginBlock - DoPostScriptAction 0x0007 - _0807E9D4 - DoPostScriptAction 0x000a - _0807EB44 0x0006 - DoPostScriptAction 0x0000 - EndBlock -script_0801027A: - CheckEntityInteractType - JumpIfNot script_0801027A - _0807E864 - _0807EB74 - Call sub_08065F64 - WaitUntilTextboxCloses - _0807E878 - Jump script_0801027A - .align 2 -SCRIPT_START script_08010294 - BeginBlock - DoPostScriptAction 0x0000 - Call sub_08062A48 - DoPostScriptAction 0x000a - EndBlock -script_080102A6: - CheckEntityInteractType - JumpIfNot script_080102A6 - CheckRoomFlag 0x0009 - JumpIfNot script_080102CC - _0807E864 - _0807EB74 - Call sub_0806265C - WaitUntilTextboxCloses - _0807E878 - Call sub_08062500 - Jump script_080102A6 -script_080102CC: - _0807E864 - _0807EB74 - Call sub_0806265C - WaitUntilTextboxCloses - _0807E878 - Jump script_080102A6 - .2byte 0x0000 -SCRIPT_START script_080102E0 - BeginBlock - DoPostScriptAction 0x0000 - Call sub_08062A48 - DoPostScriptAction 0x000a - EndBlock -script_080102F2: - CheckEntityInteractType - JumpIfNot script_080102F2 - _0807E864 - _0807EB74 - Call sub_0806265C - WaitUntilTextboxCloses - _0807E878 - Jump script_080102F2 - .2byte 0x0000 -SCRIPT_START script_0801030C - BeginBlock - DoPostScriptAction 0x0000 - EndBlock -script_08010314: - EndBlock - Call sub_08062698 - Call sub_080626AC - CallWithArg sub_0807F0EC, 0x00000009 - JumpTable script_08010340, script_0801034A, script_08010354, script_0801035E, script_08010368, script_08010372, script_0801037C, script_08010386, script_08010390 -script_08010340: - _0807EE04 0x0358, 0x0078 - Jump script_08010396 -script_0801034A: - _0807EE04 0x0390, 0x0078 - Jump script_08010396 -script_08010354: - _0807EE04 0x03c8, 0x0078 - Jump script_08010396 -script_0801035E: - _0807EE04 0x0358, 0x0098 - Jump script_08010396 -script_08010368: - _0807EE04 0x0390, 0x0098 - Jump script_08010396 -script_08010372: - _0807EE04 0x03c8, 0x0098 - Jump script_08010396 -script_0801037C: - _0807EE04 0x0358, 0x00b8 - Jump script_08010396 -script_08010386: - _0807EE04 0x0390, 0x00b8 - Jump script_08010396 -script_08010390: - _0807EE04 0x03c8, 0x00b8 -script_08010396: - EndBlock - BeginBlock - Call sub_080626C0 - JumpIf script_08010314 - _0807EE30 - JumpIfNot script_08010396 - Jump script_08010314 - .2byte 0x0000 -SCRIPT_START script_080103B0 - BeginBlock - DoPostScriptAction 0x0000 - Call sub_08062A48 - DoPostScriptAction 0x000a - EndBlock -script_080103C2: - Wait 0x001e - Call sub_08062948 - Jump script_080103C2 -SCRIPT_START script_080103D0 - BeginBlock - _0807E9D4 - _0807EB44 0x0004 - DoPostScriptAction 0x000a - CallWithArg sub_0807F3D8, 0x00000004 - EndBlock -script_080103E8: - Wait 0x003c - Call sub_0806407C - Jump script_080103E8 - .2byte 0x0000 -SCRIPT_START script_080103F8 - BeginBlock - _0807E9D4 - _0807EB44 0x0004 - DoPostScriptAction 0x000a - CallWithArg sub_0807F3D8, 0x00000000 - EndBlock -script_08010410: - CheckEntityInteractType - JumpIfNot script_08010410 - _0807E864 - _0807EB74 - Call sub_08064428 - WaitUntilTextboxCloses - _0807E878 - Jump script_08010410 -SCRIPT_START script_08010428 - BeginBlock - _0807E9D4 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x000a - SetIntVariable sub_08064688 - Call sub_08064644 - EndBlock -script_08010446: - Wait 0x003c - Call sub_080646A4 - Jump script_08010446 -SCRIPT_START script_08010454 - BeginBlock - _0807EB44 0x0004 - _0807E930 0x0000 - Call sub_080636F4 - DoPostScriptAction 0x000a - Call sub_0807F348 - EndBlock -script_08010470: - CheckEntityInteractType - JumpIfNot script_08010470 - _0807E864 - _0807EB74 - CallWithArg sub_0807F3D8, 0x00000004 - Call sub_080636D8 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - CallWithArg sub_0807F3D8, 0x00000000 - Jump script_08010470 -SCRIPT_START script_080104A0 - BeginBlock - _0807EB44 0x0004 - _0807E930 0x0000 - Call sub_08063CAC - DoPostScriptAction 0x000a - Call sub_0807F348 - EndBlock -script_080104BC: - CheckEntityInteractType - JumpIfNot script_080104BC - _0807E864 - _0807EB74 - CallWithArg sub_0807F3D8, 0x00000004 - Call sub_08063C90 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - CallWithArg sub_0807F3D8, 0x00000000 - Jump script_080104BC -SCRIPT_START script_080104EC - BeginBlock - _0807EB44 0x0004 - _0807E930 0x0000 - DoPostScriptAction 0x000a - Call sub_0807F348 - EndBlock -script_08010502: - CheckEntityInteractType - JumpIfNot script_08010502 - _0807E864 - Call sub_0807DF28 - _0807EB74 - CallWithArg sub_0807F3D8, 0x00000008 - CheckRoomFlag 0x000e - JumpIf script_0801052E - SetRoomFlag 0x000e - MessageNoOverlap 0x2b10 - WaitUntilTextboxCloses -script_0801052E: - Call sub_080634E4 - JumpTable script_08010544, script_08010558, script_08010570, script_08010570, script_0801054C, script_08010564, script_08010570 -script_08010544: - MessageNoOverlap 0x2b0d - Jump script_080105E0 -script_0801054C: - CheckGlobalFlag 0x003d - JumpIfNot script_080105DC - Jump script_08010570 -script_08010558: - CheckGlobalFlag 0x003c - JumpIfNot script_080105DC - Jump script_08010570 -script_08010564: - CheckGlobalFlag 0x003b - JumpIfNot script_080105DC - Jump script_08010570 -script_08010570: - Call sub_080634EC - CallWithArg sub_0807F78C, 0x00000000 - WaitUntilTextboxCloses - _0807E3E8 - JumpIfNot script_080105E0 - CallWithArg sub_0807F7C4, 0x00000000 - JumpIfNot script_080105C4 - _0807E48C 0x0020 - JumpIfNot script_080105CC - Call sub_08063504 - JumpIf script_080105D4 - MessageNoOverlap 0x2b07 - WaitUntilTextboxCloses - CallWithArg sub_0807F800, 0x00000000 - WaitPlayerGetItem - WaitUntilTextboxCloses - MessageNoOverlap 0x2b0c - Jump script_080105E0 -script_080105C4: - MessageNoOverlap 0x2b09 - Jump script_080105E0 -script_080105CC: - MessageNoOverlap 0x2b0a - Jump script_080105E0 -script_080105D4: - MessageNoOverlap 0x2b0b - Jump script_080105E0 -script_080105DC: - MessageNoOverlap 0x2b0e -script_080105E0: - WaitUntilTextboxCloses - Call sub_0807DF50 - _0807E878 - Jump script_08010502 - .2byte 0x0000 - BeginBlock - _0807E9D4 - DoPostScriptAction 0x000a - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - EndBlock -script_08010602: - CheckEntityInteractType - JumpIfNot script_08010602 - _0807E864 - _0807EB74 - MessageFromTarget 0x0a01 - WaitUntilTextboxCloses - _0807E878 - _0807EB44 0x0004 - Jump script_08010602 -SCRIPT_START script_0801061C - BeginBlock - _0807E930 0x0008 -script_08010622: - Call sub_08062A48 - DoPostScriptAction 0x000a - EndBlock -script_0801062E: - CheckEntityInteractType - JumpIfNot script_0801062E - _0807E864 - Call sub_0806265C - WaitUntilTextboxCloses - _0807E878 - Jump script_0801062E -SCRIPT_START script_08010644 - BeginBlock - _0807E930 0x0009 - Jump script_08010622 - .2byte 0x0000 -SCRIPT_START script_08010650 - BeginBlock - _0807E930 0x000b - Jump script_08010622 - .2byte 0x0000 - BeginBlock - _0807E930 0x000c - Jump script_08010622 - .2byte 0x0000 - BeginBlock - _0807E930 0x000d - Jump script_08010622 - .2byte 0x0000 -SCRIPT_START script_08010674 - BeginBlock - _0807E9D4 - DoPostScriptAction 0x000a - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - EndBlock -script_08010686: - CheckEntityInteractType - JumpIfNot script_08010686 - _0807E864 - _0807EB74 - HasRoomItemForSale - Call sub_0807F77C - MessageFromTargetTable 0x3c08, 0x3c09 - WaitUntilTextboxCloses - _0807E878 - _0807EB44 0x0004 - Jump script_08010686 - .2byte 0x0000 -SCRIPT_START script_080106AC - BeginBlock - _0807E9D4 - DoPostScriptAction 0x000a - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - EndBlock -script_080106BE: - CheckEntityInteractType - JumpIfNot script_080106BE - _0807E864 - _0807EB74 - Call sub_0807F2D4 - DoPostScriptAction 0x0000 - HasRoomItemForSale - JumpIf script_080106E0 - MessageNoOverlap 0x3c07 - Jump script_08010726 -script_080106E0: - Call sub_08062EB8 - CallWithArg sub_0807F78C, 0x00000000 - WaitUntilTextboxCloses - _0807E3E8 - JumpIfNot script_08010726 - WaitUntilTextboxCloses - BuyItem 0x0000, 0x0000 - JumpIf script_0801070C - MessageNoOverlap 0x3c04 - Jump script_08010726 -script_0801070C: - WaitPlayerGetItem - ModHealth 0x0008 - Call sub_08062EDC - JumpIf script_08010724 - MessageNoOverlap 0x3c06 - Jump script_08010726 -script_08010724: - WaitPlayerGetItem -script_08010726: - WaitUntilTextboxCloses - _0807E878 - DoPostScriptAction 0x0001 - Jump script_080106BE - .2byte 0x0000 -SCRIPT_START script_08010734 - BeginBlock - DoPostScriptAction 0x0007 - _0807E9D4 - DoPostScriptAction 0x000a - _0807E930 0x0000 - EndBlock -script_08010746: - CheckEntityInteractType - JumpIfNot script_08010746 - _0807E864 - _0807E930 0x0004 - BeginBlock - Call sub_08062D18 - JumpIfNot script_08010786 - EndBlock - WaitUntilTextboxCloses - _0807E3E8 - JumpIfNot script_08010786 - HasRupees 0x00c8 - JumpIf script_08010778 - MessageNoOverlap 0x4008 - Jump script_08010786 -script_08010778: - ModRupees 0xff38 - Call sub_08062E14 - MessageNoOverlap 0x4007 -script_08010786: - EndBlock - WaitUntilTextboxCloses - _0807E878 - _0807E930 0x0008 - Jump script_08010746 -SCRIPT_START script_08010794 - BeginBlock - DoPostScriptAction 0x0007 - _0807E9D4 - DoPostScriptAction 0x000a - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - EndBlock -script_080107AA: - CheckEntityInteractType - JumpIfNot script_080107AA - _0807E864 - Call sub_0807F2D4 - DoPostScriptAction 0x0001 - Call sub_08062CBC - WaitUntilTextboxCloses - _0807E878 - DoPostScriptAction 0x0000 - Jump script_080107AA - .2byte 0x0000 -SCRIPT_START script_080107D0 - BeginBlock - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x000a - DoPostScriptAction 0x0007 - _0807E9D4 - Call sub_0807F348 - Call sub_08069684 - EndBlock -script_080107F2: - EndBlock - BeginBlock - CheckPlayerInRegion2 0x3030 - JumpIfNot script_080107F2 - Call sub_080696B0 -script_08010804: - EndBlock - BeginBlock - CheckPlayerInRegion2 0x3030 - JumpIfNot script_080107F2 - HasRoomItemForSale - JumpIf script_08010860 - CheckEntityInteractType - JumpIfNot script_08010804 - EndBlock - _0807E864 - Call sub_0807DF28 - _0807EB74 - CheckGlobalFlag 0x0042 - JumpIfNot script_08010858 - CheckGlobalFlag 0x0043 - JumpIfNot script_08010858 - CheckGlobalFlag 0x0044 - JumpIfNot script_08010858 - CheckGlobalFlag 0x0041 - JumpIfNot script_08010850 - MessageNoOverlap 0x3f39 - Jump script_080108BA -script_08010850: - MessageNoOverlap 0x2c1b - Jump script_080108BA -script_08010858: - MessageNoOverlap 0x2c1a - Jump script_080108BA -script_08010860: - EndBlock - _0807E864 - Call sub_0807DF38 - _0807EB74 - Call sub_08069660 - WaitUntilTextboxCloses - _0807E3E8 - JumpIfNot script_080108B2 - Call GoronMerchant_TryToBuyKinstone - JumpIfNot script_080108B2 - WaitPlayerGetItem - WaitUntilTextboxCloses - _0807EB8C - CheckGlobalFlag 0x0042 - JumpIfNot script_080108AA - CheckGlobalFlag 0x0043 - JumpIfNot script_080108AA - CheckGlobalFlag 0x0044 - JumpIfNot script_080108AA - MessageNoOverlap 0x2c21 - Jump script_080108B2 -script_080108AA: -.ifdef USA - SetLocalFlag 0x00fa -.else -.ifdef DEMO_USA - SetLocalFlag 0x00fa -.endif -.endif - MessageNoOverlap 0x2c20 -script_080108B2: - WaitUntilTextboxCloses - Call sub_0807F83C -script_080108BA: - WaitUntilTextboxCloses - Call sub_0807DF50 - _0807E878 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - Jump script_08010804 -SCRIPT_START script_080108D0 - CheckPlayerInRegion2 0x0808 - JumpIfNot script_080108D0 - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - StartPlayerScript script_080109F0 - WaitForSomething2 0x00000001 - CheckRoomFlag 0x0001 - JumpIf script_08010900 - _0807EB28 0x0b63 - WaitUntilTextboxCloses -script_08010900: - Call sub_0807DF50 - _0807E878 - Jump script_080108D0 -SCRIPT_START script_0801090C - BeginBlock - DoPostScriptAction 0x0007 - CheckKinstoneFused 0x001b - JumpIf script_0800EF92 - EndBlock -script_0801091C: - Call sub_080869A4 - JumpIfNot script_0801091C - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - CheckRoomFlag 0x0001 - JumpIf script_08010942 - _0807EB28 0x0b62 - WaitUntilTextboxCloses -script_08010942: - StartPlayerScript script_080109F0 - WaitForSomething2 0x00000001 - Call sub_0807DF50 - _0807E878 - Jump script_0801091C - Call sub_0808692C -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08010964.inc b/data/scripts/script_08010964.inc deleted file mode 100644 index a1df913b..00000000 --- a/data/scripts/script_08010964.inc +++ /dev/null @@ -1,54 +0,0 @@ -SCRIPT_START script_08010964 - CheckPlayerInRegion2 0x0808 - JumpIfNot script_08010964 - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - StartPlayerScript script_08010A38 - WaitForSomething2 0x00000001 - CheckRoomFlag 0x0001 - JumpIf script_08010994 - _0807EB28 0x0b63 - WaitUntilTextboxCloses -script_08010994: - Call sub_0807DF50 - _0807E878 - Jump script_08010964 - - -SCRIPT_START script_080109A0 - BeginBlock - EndBlock -.ifdef JP - CheckLocalFlag 0x00ce -.else -.ifdef EU - CheckLocalFlag 0x00ce -.else -.ifdef DEMO_JP - CheckLocalFlag 0x00ce @ TODO deduplicate -.else - CheckLocalFlag 0x00d1 -.endif -.endif -.endif - JumpIf script_080109EA - CheckPlayerInRegion2 0x0808 - JumpIfNot script_080109A0 - EndBlock - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - StartPlayerScript script_08010A38 - WaitForSomething2 0x00000001 - CheckRoomFlag 0x0001 - JumpIf script_080109DE - _0807EB28 0x0b64 - WaitUntilTextboxCloses -script_080109DE: - Call sub_0807DF50 - _0807E878 - Jump script_080109A0 -script_080109EA: - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_080109F0.inc b/data/scripts/script_080109F0.inc deleted file mode 100644 index d8d9abbb..00000000 --- a/data/scripts/script_080109F0.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_080109F0 - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - _0807ECC4 0x0010 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08010A14.inc b/data/scripts/script_08010A14.inc deleted file mode 100644 index 8e7c7ca4..00000000 --- a/data/scripts/script_08010A14.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_08010A14 - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - _0807EC64 0x0010 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08010A38.inc b/data/scripts/script_08010A38.inc deleted file mode 100644 index e3dae7ae..00000000 --- a/data/scripts/script_08010A38.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_08010A38 - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - _0807EC94 0x0010 - _0807EB44 0x0002 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08010A5C.inc b/data/scripts/script_08010A5C.inc deleted file mode 100644 index b08284b9..00000000 --- a/data/scripts/script_08010A5C.inc +++ /dev/null @@ -1,19 +0,0 @@ -SCRIPT_START script_08010A5C - BeginBlock - Call sub_0807DF28 - _0807E864 - ModHealth 0x00a0 - EndBlock - Wait 0x003c - _0807E778 0x0004 - DoFade4 - WaitFor_2 -script_08010A78: - Call sub_0807F0D8 - JumpIfNot script_08010A78 - DoPostScriptAction 0x0014 - _0807E878 - Call sub_0807DF50 - Call sub_080791D0 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08010A98.inc b/data/scripts/script_08010A98.inc deleted file mode 100644 index c76ce7b0..00000000 --- a/data/scripts/script_08010A98.inc +++ /dev/null @@ -1,61 +0,0 @@ -SCRIPT_START script_08010A98 - BeginBlock - _0807EB44 0x0004 - CallWithArg sub_080672B0, 0x00000000 - DoPostScriptAction 0x000a - Call sub_08067314 - EndBlock -script_08010AB4: - CheckEntityInteractType - JumpIfNot script_08010AB4 - _0807E864 - _0807EB74 - CallWithArg sub_080672B0, 0x00000004 - Call sub_08067304 - WaitUntilTextboxCloses - _0807E878 - _0807EB44 0x0004 - CallWithArg sub_080672B0, 0x00000000 - Jump script_08010AB4 -SCRIPT_START script_08010AE4 - BeginBlock - CheckInventory1 0x0067 - JumpIfNot script_08010B62 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - SetEntitySpeed 0x0180 - CallWithArg sub_0807F348 - Call sub_0806075C - EndBlock - WaitUntilTextboxCloses - Call sub_080606C0 -script_08010B10: - EndBlock - Call sub_0806076C - DoPostScriptAction 0x0007 -script_08010B1C: - Call sub_08060700 -script_08010B22: - EndBlock - BeginBlock - _0807E564 - JumpIf script_08010B3A - CallWithArg sub_080608E4, 0x00000000 - JumpIf script_08010B44 -script_08010B3A: - _0807EE30 - JumpIfNot script_08010B22 - Jump script_08010B10 -script_08010B44: - EndBlock - DoPostScriptAction 0x0000 -script_08010B4A: - EndBlock - BeginBlock - CallWithArg sub_080608E4, 0x00000001 - JumpIf script_08010B4A - EndBlock - Jump script_08010B1C -script_08010B62: - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08010B68.inc b/data/scripts/script_08010B68.inc deleted file mode 100644 index f5b0775f..00000000 --- a/data/scripts/script_08010B68.inc +++ /dev/null @@ -1,28 +0,0 @@ -SCRIPT_START script_08010B68 - BeginBlock - _0807E564 - JumpIfNot script_08010BAC - Call sub_0807F924 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x0007 - DoPostScriptAction 0x000a - EndBlock -script_08010B88: - EndBlock - BeginBlock - _0807E564 - JumpIfNot script_08010BAC - CheckEntityInteractType - JumpIfNot script_08010B88 - EndBlock - _0807E864 - _0807EB74 - Call sub_0806E2DC - WaitUntilTextboxCloses - _0807E878 - Jump script_08010B88 -script_08010BAC: - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08010BB4.inc b/data/scripts/script_08010BB4.inc deleted file mode 100644 index 79bd4c24..00000000 --- a/data/scripts/script_08010BB4.inc +++ /dev/null @@ -1,139 +0,0 @@ -SCRIPT_START script_08010BB4 - BeginBlock - DoPostScriptAction 0x000a - _0807EB44 0x0004 - _0807E930 0x0008 - Call sub_0806E440 - EndBlock -script_08010BCA: - CheckEntityInteractType - JumpIfNot script_08010BCA - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 - Call sub_0806E418 - WaitUntilTextboxCloses - _0807E878 - _0807E930 0x0008 - Jump script_08010BCA - .2byte 0x0000 -SCRIPT_START script_08010BEC - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - StartPlayerScript script_08011074 - WaitForSomething2 0x00000400 - _0807F078 0x0034, 0x0002 - MessageFromTargetPos 0x1036, 0x000c - WaitUntilTextboxCloses - _0807E5F8 0x00000010 - WaitForSomething2 0x00000020 - MessageFromTargetPos 0x1037, 0x0002 - WaitUntilTextboxCloses - _0807E5F8 0x00000010 - WaitForSomething2 0x00000020 - MessageFromTargetPos 0x1038, 0x000c - WaitUntilTextboxCloses - StopBgm - _0807E778 0x0004 - DoFade5 - WaitFor_2 - Call sub_08064180 - Call sub_08064180 - Call sub_08064180 - Call sub_08064180 - Call sub_08064180 - Call sub_08064180 - Call sub_08064180 - Call sub_08064180 - LoadRoomEntityList gUnk_080F06E0 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - StartPlayerScript script_08011098 - WaitForSomething2 0x00000400 - SetEntityPositionRelative 0x01f8, 0x0050 - _0807F0B4 0x0007 - CameraTargetEntity - Wait 0x000a - _0807F0B4 0x0001 - _0807E778 0x0001 - DoFade4 - _0807E5F8 0x0002a800 - WaitForSomething2 0x00055000 - SetEntityPositionRelative 0x01f8, 0x0078 - Wait 0x003c - _0807E5F8 0x00800000 - WaitForSomething2 0x01000000 - _0807E5F8 0x0002a800 - WaitForSomething2 0x00055000 - _0807E8E4_1 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - MessageFromTargetPos 0x1039, 0x000c - WaitUntilTextboxCloses - PlayBgm BGM_CASTLE_TOURNAMENT - _0807E8E4_2 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - _0807E5F8 0x00000010 - _0807E5F8 0x00000040 - WaitForSomething2 0x00000020 - WaitForSomething2 0x00000080 - Wait 0x012c - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - MessageFromTargetPos 0x103a, 0x000c - WaitUntilTextboxCloses - SetEntityPositionRelative 0x01f8, 0x01c0 - _0807F0B4 0x0004 - Wait 0x0078 - _0807E5F8 0x00280000 - WaitForSomething2 0x00500000 - _0807E5F8 0x00000100 - SetEntityPositionRelative 0x01f8, 0x0220 - SetEntitySpeed 0x0100 - _0807EDD4 0x01f8, 0x0098 - Wait 0x003c - WaitForSomething2 0x00000200 - _0807E5F8 0x00280000 - StopBgm - PlaySound SFX_9B - _0807E5F8 0x00000100 - WaitForSomething2 0x00000200 - MessageFromTargetPos 0x1043, 0x0000 - WaitUntilTextboxCloses - PlayBgm BGM_VAATI_THEME - _0807E5F8 0x00000100 - WaitForSomething2 0x00000200 - _0807E5F8 0x0002a800 - WaitForSomething2 0x00055000 - PlaySound SFX_1C7 - PlaySound SFX_BUTTON_DEPRESS - _0807E5F8 0x00000100 - _0807E5F8 0x00002800 - CallWithArg sub_0807FB28, 0x00000003 - WaitForSomething2 0x00000200 - WaitForSomething2 0x00005000 - _0807E5F8 0x00028000 - WaitForSomething2 0x00050000 - MessageFromTargetPos 0x1044, 0x0000 - WaitUntilTextboxCloses - SetEntityPositionRelative 0x01f8, 0x0098 - StopBgm - Wait 0x003c - PlayBgm BGM_VAATI_REBORN - _0807E5F8 0x00028000 - _0807E5F8 0x00000100 - WaitForSomething2 0x00000200 - WaitForSomething2 0x00050000 - CallWithArg sub_0807FB28, 0x00000003 - PlaySound SFX_BUTTON_DEPRESS - _0807E5F8 0x00028000 - WaitForSomething2 0x00050000 - PlaySound SFX_125 - CallWithArg sub_0807FB28, 0x00000003 - _0807E5F8 0x08000000 - _0807E5F8 0x00800000 - WaitForSomething2 0x01000000 - CallWithArg CreateManager36, 0x00000002 - _0807F0C8 0xffff, 0x0000 diff --git a/data/scripts/script_08010E5A.inc b/data/scripts/script_08010E5A.inc deleted file mode 100644 index 62f2874d..00000000 --- a/data/scripts/script_08010E5A.inc +++ /dev/null @@ -1,55 +0,0 @@ -SCRIPT_START script_08010E5A - Wait 0x001e - PlaySound SFX_125 - CallWithArg sub_0807FB28, 0x00000003 - Wait 0x003c - PlaySound SFX_125 - CallWithArg sub_0807FB28, 0x00000003 - Wait 0x0004 - PlaySound SFX_125 - CallWithArg sub_0807FB28, 0x00000003 - Wait 0x001e - PlaySound SFX_12C - _0807E5F8 0x00800000 - WaitForSomething2 0x01000000 - _0807E778 0x0004 - DoFade7 - WaitFor_2 - Wait 0x003c - PlaySound SFX_SPIRITS_RELEASE - PlaySound SFX_1C2 - LoadRoomEntityList gUnk_080F0770 - _0807E5F8 0x00000010 - WaitForSomething2 0x00000020 - _0807E778 0x0002 - DoFade6 - WaitFor_2 - CallWithArg DeleteManager36, 0x00000002 - _0807F0C8 0x0000, 0x0000 - Call sub_0806DC3C - Call sub_080791BC - CallWithArg sub_0807F244, 0x0000000d - CallWithArg sub_0807F29C, gUnk_080049F6 - _0807F0B4 0x0001 - SetEntityPositionRelative 0x01f8, 0x0068 - _0807E5F8 0x00000004 - Wait 0x001e - _0807E5F8 0x00000040 - WaitForSomething2 0x00000008 - WaitForSomething2 0x00000080 - PlaySound SFX_1C3 - _0807E5F8 0x20000000 - Wait 0x0078 - CallWithArg sub_0807F29C, 0x00000000 - Call sub_0806DC58 - _0807E5F8 0x40000000 - _0807E5F8 0x00000010 - _0807E5F8 0x00000100 - WaitForSomething2 0x00000020 - WaitForSomething2 0x00000200 - MessageFromTargetPos 0x1045, 0x000c - WaitUntilTextboxCloses - MessageFromTargetPos 0x1046, 0x0000 - WaitUntilTextboxCloses - CallWithArg CreateManager36, 0x00000002 - _0807F0C8 0xffff, 0x0000 diff --git a/data/scripts/script_08010F84.inc b/data/scripts/script_08010F84.inc deleted file mode 100644 index 64f3c058..00000000 --- a/data/scripts/script_08010F84.inc +++ /dev/null @@ -1,44 +0,0 @@ -SCRIPT_START script_08010F84 - Wait 0x003c - _0807E5F8 0x00000100 - WaitForSomething2 0x00000200 - StartPlayerScript script_080110BC - WaitForSomething2 0x00000400 - MessageFromTargetPos 0x1047, 0x0000 - WaitUntilTextboxCloses - Call sub_0806DC3C - Call sub_080791BC - CallWithArg sub_0807F244, 0x0000000d - CallWithArg sub_0807F29C, gUnk_080049F6 - Wait 0x001e - _0807E5F8 0x00000100 - WaitForSomething2 0x00000200 - CallWithArg sub_0807F29C, 0x00000000 - Call sub_0806DC58 - Wait 0x003c - _0807E5F8 0x08000000 - PlaySound SFX_125 - CallWithArg sub_0807FB28, 0x00000003 - Wait 0x000f - PlaySound SFX_125 - CallWithArg sub_0807FB28, 0x00000003 - CallWithArg DeleteManager36, 0x00000002 - _0807F0C8 0x0000, 0x0000 - _0807E5F8 0x00000010 - WaitForSomething2 0x00000020 - StopBgm - Wait 0x003c - MessageFromTargetPos 0x104a, 0x0000 - WaitUntilTextboxCloses - _0807E5F8 0x00000100 - WaitForSomething2 0x00000200 - MessageFromTargetPos 0x1049, 0x0000 - WaitUntilTextboxCloses - SetEntityPositionRelative 0x01f8, 0x0098 - Wait 0x0078 - _0807E5F8 0x00000100 - WaitForSomething2 0x00000200 - Call sub_0804BCDC - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08011074.inc b/data/scripts/script_08011074.inc deleted file mode 100644 index 4f3ea168..00000000 --- a/data/scripts/script_08011074.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_08011074 - BeginBlock - SetEntitySpeed 0x0080 - EndBlock - _0807EDD4 0x01e8, 0x0050 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000400 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_08011098.inc b/data/scripts/script_08011098.inc deleted file mode 100644 index 5a5b24bb..00000000 --- a/data/scripts/script_08011098.inc +++ /dev/null @@ -1,9 +0,0 @@ -SCRIPT_START script_08011098 - SetEntityPositionRelative 0x01a8, 0x0058 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000400 - _0807E610 0x00000002 - EndBlock - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_080110BC.inc b/data/scripts/script_080110BC.inc deleted file mode 100644 index 9827dbfb..00000000 --- a/data/scripts/script_080110BC.inc +++ /dev/null @@ -1,12 +0,0 @@ -SCRIPT_START script_080110BC - BeginBlock - SetEntitySpeed 0x0040 - EndBlock - SetEntitySpeed 0x0200 - DoPostScriptAction 0x0001 - _0807EDD4 0x01d8, 0x0068 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000400 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_080110E8.inc b/data/scripts/script_080110E8.inc deleted file mode 100644 index 95ed5ca6..00000000 --- a/data/scripts/script_080110E8.inc +++ /dev/null @@ -1,16 +0,0 @@ -SCRIPT_START script_080110E8 - PlaySound SFX_PLY_VO6 - _0807EB44 0x0004 - DoPostScriptAction 0x000d - PlaySound SFX_86 - Call sub_0807F36C - SetEntitySpeed 0x0400 - _0807ECF4 0x0008 - BeginBlock - Call sub_0807F1E8 - DoPostScriptAction 0x0011 - EndBlock - Call sub_0807F2D4 - WaitForSomething 0x80000000 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_08011128.inc b/data/scripts/script_08011128.inc deleted file mode 100644 index a2789561..00000000 --- a/data/scripts/script_08011128.inc +++ /dev/null @@ -1,57 +0,0 @@ -SCRIPT_START script_08011128 - BeginBlock - _0807EB44 0x0004 - DoPostScriptAction 0x0000 -.ifdef JP -.ifndef DEMO_JP - _0807E9D4 - DoPostScriptAction 0x000a -.endif -.else -.ifdef EU - _0807E9D4 - DoPostScriptAction 0x000a -.endif -.endif - EndBlock -script_08011134: - CheckPlayerInRegion 0x01f8, 0x0048, 0x1040 - JumpIfNot script_08011134 - LoadRoomEntityList gUnk_080F06B0 - DoPostScriptAction 0x000b - WaitForSomething2 0x00000004 - SetEntityPositionRelative 0x01b8, 0x0058 - _0807EB44 0x0004 - _0807E5F8 0x00000008 - WaitForSomething2 0x00000004 - _0807EB44 0x0006 - _0807E5F8 0x00000008 - WaitForSomething2 0x00000004 - _0807EB44 0x0004 - _0807E5F8 0x00000008 - WaitForSomething2 0x00000004 - SetEntitySpeed 0x0100 - DoPostScriptAction 0x0001 - _0807ECC4 0x0010 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000008 - WaitForSomething2 0x00000004 - DoPostScriptAction 0x0010 - Wait 0x001e - DoPostScriptAction 0x0010 - Call sub_0807F3C8 - SetEntitySpeed 0x0400 - SetEntityDirection 0x001c - _0807EC1C 0x003c - _0807E5F8 0x00000008 - DoPostScriptAction 0x0006 -SCRIPT_END -.ifdef JP -.ifndef DEMO_JP - .2byte 0x0000 -.endif -.else -.ifdef EU - .2byte 0x0000 -.endif -.endif diff --git a/data/scripts/script_080111CC.inc b/data/scripts/script_080111CC.inc deleted file mode 100644 index 6c63ae50..00000000 --- a/data/scripts/script_080111CC.inc +++ /dev/null @@ -1,55 +0,0 @@ -SCRIPT_START script_080111CC - BeginBlock - DoPostScriptAction 0x0008 - SetEntitySpeed 0x0100 - Call sub_08066D04 - EndBlock - Call sub_0807F338 - WaitForSomething2 0x00000010 - Call sub_08066D14 - JumpIf script_080111F6 - MoveEntityToPlayer -script_080111F6: - Call sub_0807F8BC - JumpIf script_08011206 - SetEntityPositionRelative 0x01f8, 0x00b8 -script_08011206: - DoPostScriptAction 0x0007 - DoPostScriptAction 0x0001 - _0807EDD4 0x01f8, 0x0050 - _0807EB74 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000020 - WaitForSomething2 0x00000010 - DoPostScriptAction 0x0001 - _0807EDD4 0x01f8, 0x0020 - DoPostScriptAction 0x0008 - _0807E5F8 0x00000020 - WaitForSomething2 0x00000010 - DoPostScriptAction 0x0007 - DoPostScriptAction 0x0001 - SetEntitySpeed 0x0040 - _0807EDD4 0x01e8, 0x0040 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000020 - WaitForSomething2 0x00000010 - Call sub_08095810 - _0807E5F8 0x00000020 - WaitForSomething2 0x00000010 - DoPostScriptAction 0x0001 - _0807EDD4 0x01d8, 0x0058 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000020 - WaitForSomething2 0x00000010 - PlaySound SFX_1C9 - DoPostScriptAction 0x0010 - Wait 0x0014 - Call sub_08066E20 - Wait 0x0014 - DoPostScriptAction 0x0010 - Call sub_0807F2D4 - PlaySound SFX_1CA - _0807E5F8 0x00000020 - WaitForSomething2 0x00000010 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_080112C4.inc b/data/scripts/script_080112C4.inc deleted file mode 100644 index ef5f171c..00000000 --- a/data/scripts/script_080112C4.inc +++ /dev/null @@ -1,52 +0,0 @@ -SCRIPT_START script_080112C4 - BeginBlock - DoPostScriptAction 0x0008 - SetEntitySpeed 0x0100 - Call sub_08095244 - Call sub_0807F338 - EndBlock - WaitForSomething 0x0002a800 - DoPostScriptAction 0x0007 - _0807E930 0x0006 - _0807ECC4 0x0010 - Wait 0x003c - _0807ECC4 0x0010 - Wait 0x003c - _0807ECC4 0x0010 - _0807E930 0x0002 - Call sub_08064050 - JumpTable script_08011312, script_080113AA, script_08011442, script_08011508 -script_08011312: - _0807E610 0x00000800 - _0807E5F8 0x00001000 - WaitForSomething2 0x00000800 - _0807E930 0x0007 - _0807EB44 0x0006 - _0807ECF4 0x0010 - _0807EB44 0x0004 - _0807E930 0x0002 - _0807E5F8 0x00001000 - WaitForSomething2 0x00000800 - DoPostScriptAction 0x0004 - Wait 0x003c - _0807E930 0x0012 - PlaySound SFX_EM_MOBLIN_SPEAR - Wait 0x003c - _0807E930 0x0014 - SetEntitySpeed 0x0100 - _0807EDD4 0x01f0, 0x0098 - _0807EDD4 0x01f0, 0x00c8 - _0807E930 0x0013 - _0807E5F8 0x00001000 - WaitForSomething2 0x00000800 - DoPostScriptAction 0x0010 - Wait 0x000a - DoPostScriptAction 0x0010 - Call sub_0807F3C8 - _0807E930 0x0014 - SetEntitySpeed 0x0400 - SetEntityDirection 0x001e - _0807EC1C 0x003c - _0807E5F8 0x00001000 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_080113AA.inc b/data/scripts/script_080113AA.inc deleted file mode 100644 index c2dd7844..00000000 --- a/data/scripts/script_080113AA.inc +++ /dev/null @@ -1,34 +0,0 @@ -SCRIPT_START script_080113AA - _0807E610 0x00002000 - _0807E5F8 0x00004000 - WaitForSomething2 0x00002000 - _0807E930 0x0005 - _0807EB44 0x0002 - _0807EC94 0x0010 - _0807EB44 0x0004 - _0807E930 0x0002 - _0807E5F8 0x00004000 - WaitForSomething2 0x00002000 - DoPostScriptAction 0x0004 - Wait 0x003c - _0807E930 0x0012 - PlaySound SFX_EM_MOBLIN_SPEAR - Wait 0x003c - _0807E930 0x0014 - SetEntitySpeed 0x0100 - _0807EDD4 0x0200, 0x0098 - _0807EDD4 0x0200, 0x00c8 - _0807E930 0x0013 - _0807E5F8 0x00004000 - WaitForSomething2 0x00002000 - DoPostScriptAction 0x0010 - Wait 0x000a - DoPostScriptAction 0x0010 - Call sub_0807F3C8 - _0807E930 0x0014 - SetEntitySpeed 0x0400 - SetEntityDirection 0x0002 - _0807EC1C 0x003c - _0807E5F8 0x00004000 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08011442.inc b/data/scripts/script_08011442.inc deleted file mode 100644 index 60fb8b68..00000000 --- a/data/scripts/script_08011442.inc +++ /dev/null @@ -1,43 +0,0 @@ -SCRIPT_START script_08011442 - _0807E610 0x00008000 - _0807E5F8 0x00010000 - WaitForSomething2 0x00008000 - _0807E930 0x0007 - _0807EB44 0x0006 - _0807ECF4 0x0020 - _0807EB44 0x0004 - _0807E930 0x0006 - _0807ECC4 0x0010 - _0807E930 0x0002 - _0807E5F8 0x00010000 - WaitForSomething2 0x00008000 - DoPostScriptAction 0x0004 - Wait 0x003c - _0807E930 0x0012 - PlaySound SFX_EM_MOBLIN_SPEAR - _0807E5F8 0x00010000 - WaitForSomething2 0x00008000 - _0807E930 0x0014 - SetEntitySpeed 0x0100 - _0807EDD4 0x01e8, 0x0098 - SetEntitySpeed 0x0040 - _0807EEF4 0x0000, 0x0010 - _0807E930 0x0013 - _0807E5F8 0x00010000 - WaitForSomething2 0x00008000 - DoPostScriptAction 0x000d - _0807E930 0x0014 - SetEntitySpeed 0x0020 - _0807EEF4 0x0000, 0xfff0 - _0807E930 0x0013 - DoPostScriptAction 0x0010 - _0807E5F8 0x00010000 - WaitForSomething2 0x00008000 - Call sub_0807F3C8 - _0807E930 0x0014 - SetEntitySpeed 0x0400 - SetEntityDirection 0x001e - _0807EC1C 0x003c - _0807E5F8 0x00010000 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08011508.inc b/data/scripts/script_08011508.inc deleted file mode 100644 index 4b312019..00000000 --- a/data/scripts/script_08011508.inc +++ /dev/null @@ -1,44 +0,0 @@ -SCRIPT_START script_08011508 - _0807E610 0x00020000 - _0807E5F8 0x00040000 - WaitForSomething2 0x00020000 - _0807E930 0x0005 - _0807EB44 0x0002 - _0807EC94 0x0020 - _0807EB44 0x0004 - _0807E930 0x0006 - _0807ECC4 0x0010 - _0807E930 0x0002 - _0807E5F8 0x00040000 - WaitForSomething2 0x00020000 - DoPostScriptAction 0x0004 - Wait 0x003c - _0807E930 0x0012 - PlaySound SFX_EM_MOBLIN_SPEAR - _0807E5F8 0x00040000 - WaitForSomething2 0x00020000 - _0807E930 0x0014 - SetEntitySpeed 0x0100 - _0807EDD4 0x0208, 0x0098 - SetEntitySpeed 0x0040 - _0807EEF4 0x0000, 0x0010 - _0807E930 0x0013 - _0807E5F8 0x00040000 - WaitForSomething2 0x00020000 - DoPostScriptAction 0x000d - _0807E930 0x0014 - SetEntitySpeed 0x0020 - _0807EEF4 0x0000, 0xfff0 - _0807E930 0x0013 - DoPostScriptAction 0x0010 - _0807E5F8 0x00040000 - WaitForSomething2 0x00020000 - Call sub_0807F3C8 - _0807E930 0x0014 - SetEntitySpeed 0x0400 - SetEntityDirection 0x0002 - _0807EC1C 0x003c - _0807E5F8 0x00040000 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_080115D0.inc b/data/scripts/script_080115D0.inc deleted file mode 100644 index bc84211f..00000000 --- a/data/scripts/script_080115D0.inc +++ /dev/null @@ -1,15 +0,0 @@ -SCRIPT_START script_080115D0 - BeginBlock - SetEntitySpeed 0x0100 - _0807EB44 0x0002 - _0807E930 0x0001 - EndBlock - WaitForSomething2 0x00080000 - _0807E930 0x0005 - PlaySound SFX_11C - _0807ECF4 0x0010 - _0807E930 0x0001 - _0807E5F8 0x00100000 - WaitForSomething2 0x00080000 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08011608.inc b/data/scripts/script_08011608.inc deleted file mode 100644 index f540d792..00000000 --- a/data/scripts/script_08011608.inc +++ /dev/null @@ -1,15 +0,0 @@ -SCRIPT_START script_08011608 - BeginBlock - SetEntitySpeed 0x0100 - _0807EB44 0x0006 - _0807E930 0x0003 - EndBlock - WaitForSomething2 0x00200000 - _0807E930 0x0007 - PlaySound SFX_11C - _0807EC94 0x0010 - _0807E930 0x0003 - _0807E5F8 0x00400000 - WaitForSomething2 0x00200000 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08011640.inc b/data/scripts/script_08011640.inc deleted file mode 100644 index aecf84a6..00000000 --- a/data/scripts/script_08011640.inc +++ /dev/null @@ -1,25 +0,0 @@ -SCRIPT_START script_08011640 - BeginBlock - DoPostScriptAction 0x0008 - _0807EB44 0x0004 - SetEntitySpeed 0x0100 - EndBlock - Call sub_0807F338 - WaitForSomething2 0x00000040 - DoPostScriptAction 0x0007 - DoPostScriptAction 0x0001 - SetEntitySpeed 0x0040 - _0807EDD4 0x01f8, 0x0048 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000080 - WaitForSomething2 0x00000040 - DoPostScriptAction 0x0010 - Wait 0x001e - DoPostScriptAction 0x0010 - Call sub_0807F3C8 - SetEntitySpeed 0x0400 - SetEntityDirection 0x0008 - _0807EC1C 0x003c - _0807E5F8 0x00000080 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_080116A8.inc b/data/scripts/script_080116A8.inc deleted file mode 100644 index 57538123..00000000 --- a/data/scripts/script_080116A8.inc +++ /dev/null @@ -1,85 +0,0 @@ -SCRIPT_START script_080116A8 - BeginBlock - _0807EB44 0x0000 - SetEntitySpeed 0x0100 - EndBlock - Call sub_0807F338 - WaitForSomething2 0x00000100 - DoPostScriptAction 0x0001 - _0807EDD4 0x01f8, 0x00d0 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000200 - WaitForSomething2 0x00000100 - _0807EB44 0x0004 - DoPostScriptAction 0x001c - Call sub_0807F2D4 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000200 - WaitForSomething2 0x00000100 - _0807EB44 0x0000 - DoPostScriptAction 0x001c - Call sub_0807F2D4 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000200 - WaitForSomething2 0x00000100 - _0807EB44 0x0000 - DoPostScriptAction 0x001a - Call sub_0807F2D4 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000200 - WaitForSomething2 0x00000100 - _0807EB44 0x0000 - DoPostScriptAction 0x0014 - PlaySound SFX_CHARGING_UP - CallWithArg sub_08095420, script_08011890 - Wait 0x00f0 - DoPostScriptAction 0x0016 - PlaySound SFX_1CB - WaitForSomething2 0x10000000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000200 - WaitForSomething2 0x00000100 - SetEntitySpeed 0x0080 - DoPostScriptAction 0x0001 - _0807EDD4 0x01d8, 0x00a8 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000200 - WaitForSomething2 0x00000100 - DoPostScriptAction 0x0014 - PlaySound SFX_1C4 - CallWithArg sub_0809545C, script_080118D4 - _0807E5F8 0x00000200 - WaitForSomething2 0x00000100 - Wait 0x003c - DoPostScriptAction 0x0016 - PlaySound SFX_1C5 - _0807E5F8 0x08000000 - WaitForSomething2 0x10000000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000200 - WaitForSomething2 0x00000100 - SetEntitySpeed 0x0100 - DoPostScriptAction 0x0001 - _0807EDD4 0x01f8, 0x0098 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x0004 - Wait 0x005a - _0807EB44 0x0004 - DoPostScriptAction 0x001c - Call sub_0807F2D4 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - Wait 0x001e - _0807E5F8 0x00000200 - WaitForSomething2 0x00000100 - Call sub_08066CA4 - DoPostScriptAction 0x0008 - Wait 0x0078 - _0807E5F8 0x00000200 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0801183C.inc b/data/scripts/script_0801183C.inc deleted file mode 100644 index f1c733d5..00000000 --- a/data/scripts/script_0801183C.inc +++ /dev/null @@ -1,19 +0,0 @@ -SCRIPT_START script_0801183C - BeginBlock - Call sub_08095330 - EndBlock - WaitForSomething2 0x00800000 - _0807EF3C 0x0000, 0x0020 - _0807E5F8 0x01000000 - WaitForSomething2 0x00800000 - Call sub_08095364 - PlaySound SFX_122 - Wait 0x003c - _0807E5F8 0x01000000 - WaitForSomething2 0x00800000 - _0807E930 0x0002 - _0807E5F8 0x01000000 - WaitForSomething2 0x00800000 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08011890.inc b/data/scripts/script_08011890.inc deleted file mode 100644 index f820b99f..00000000 --- a/data/scripts/script_08011890.inc +++ /dev/null @@ -1,16 +0,0 @@ -SCRIPT_START script_08011890 - BeginBlock - _0807E930 0x0000 - SetEntitySpeed 0x0200 - Call nullsub_527 - Call sub_08094B80 - EndBlock - Wait 0x00f0 - Call sub_08094B6C - _0807EDD4 0x01f8, 0x0088 - Call sub_08094B80 - PlaySound SFX_1CC - _0807E5F8 0x10000000 - WaitForSomething2 0x08000000 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_080118D4.inc b/data/scripts/script_080118D4.inc deleted file mode 100644 index f27d95f1..00000000 --- a/data/scripts/script_080118D4.inc +++ /dev/null @@ -1,21 +0,0 @@ -SCRIPT_START script_080118D4 - BeginBlock - _0807E930 0x0000 - SetEntitySpeed 0x0200 - Call nullsub_527 - Call sub_08094B80 - EndBlock - WaitForSomething2 0x08000000 - Call sub_08094B6C - _0807EDD4 0x01d8, 0x0078 - StartPlayerScript script_080110E8 - _0807EDD4 0x01d8, 0x0058 - Call sub_08094B80 - PlaySound SFX_VO_ZELDA7 - PlaySound SFX_1C6 - _0807E5F8 0x10000000 - WaitForSomething2 0x08000000 - PlaySound SFX_11D - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08011930.inc b/data/scripts/script_08011930.inc deleted file mode 100644 index 2dcc1588..00000000 --- a/data/scripts/script_08011930.inc +++ /dev/null @@ -1,5 +0,0 @@ -SCRIPT_START script_08011930 - WaitForSomething 0x20000000 - Call sub_0809567C -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08011940.inc b/data/scripts/script_08011940.inc deleted file mode 100644 index 0fdf418f..00000000 --- a/data/scripts/script_08011940.inc +++ /dev/null @@ -1,4 +0,0 @@ -SCRIPT_START script_08011940 - WaitForSomething 0x40000000 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0801194C.inc b/data/scripts/script_0801194C.inc deleted file mode 100644 index 18b0d47a..00000000 --- a/data/scripts/script_0801194C.inc +++ /dev/null @@ -1,158 +0,0 @@ -SCRIPT_START script_0801194C - BeginBlock - _0807EB44 0x0002 - Jump script_0801196A - .2byte 0x0000 -SCRIPT_START script_08011958 - BeginBlock - _0807EB44 0x0006 - Jump script_0801196A - .2byte 0x0000 -SCRIPT_START script_08011964 - BeginBlock - _0807EB44 0x0004 -script_0801196A: - _0807E9D4 - DoPostScriptAction 0x000a - CallWithArg sub_0807F3D8, 0x00000000 - EndBlock -script_0801197C: - CheckEntityInteractType - JumpIfNot script_0801197C - _0807E864 - _0807EB74 - CallWithArg sub_0807F3D8, 0x00000000 - CheckGlobalFlag 0x0015 - JumpIf script_080119A0 - MessageFromTarget 0x103d - Jump script_080119A4 -script_080119A0: - MessageFromTarget 0x103f -script_080119A4: - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_0801197C -SCRIPT_START script_080119B0 - BeginBlock - _0807E9D4 - _0807EB44 0x0004 - DoPostScriptAction 0x000a - CallWithArg sub_0807F3D8, 0x0000000c - EndBlock -script_080119C8: - Wait 0x003c - Call sub_0806407C - Jump script_080119C8 - .2byte 0x0000 -SCRIPT_START script_080119D8 - BeginBlock - _0807EB44 0x0002 - Jump script_080119F6 - .2byte 0x0000 -SCRIPT_START script_080119E4 - BeginBlock - _0807EB44 0x0004 - Jump script_080119F6 - .2byte 0x0000 -SCRIPT_START script_080119F0 - BeginBlock - _0807EB44 0x0006 -script_080119F6: - _0807E9D4 - DoPostScriptAction 0x000a - CallWithArg sub_0807F3D8, 0x00000000 - EndBlock -script_08011A08: - CheckEntityInteractType - JumpIfNot script_08011A08 - _0807E864 - _0807EB74 - CallWithArg sub_0807F3D8, 0x00000000 - Call sub_08064428 - WaitUntilTextboxCloses - _0807E878 - Jump script_08011A08 - .2byte 0x0000 -SCRIPT_START script_08011A2C - BeginBlock - _0807EB44 0x0004 - _0807E9D4 - DoPostScriptAction 0x000a - CallWithArg sub_0807F3D8, 0x00000000 - EndBlock -script_08011A44: - CheckEntityInteractType - JumpIfNot script_08011A44 - _0807E864 - _0807EB74 - CallWithArg sub_0807F3D8, 0x00000000 - MessageFromTarget 0x1320 - WaitUntilTextboxCloses - _0807E878 - Jump script_08011A44 -SCRIPT_START script_08011A64 - BeginBlock - _0807EB44 0x0002 - _0807E9D4 - DoPostScriptAction 0x000a - CallWithArg sub_0807F3D8, 0x00000000 - EndBlock -script_08011A7C: - CheckEntityInteractType - JumpIfNot script_08011A7C - _0807E864 - _0807EB74 - CallWithArg sub_0807F3D8, 0x00000000 - CallWithArg sub_080644B4, 0x00000006 - JumpIf script_08011AFA - MessageFromTarget 0x1320 - WaitUntilTextboxCloses - _0807E878 - Jump script_08011A7C - .2byte 0x0000 - BeginBlock - _0807EB44 0x0004 - _0807E9D4 - DoPostScriptAction 0x000a - CallWithArg sub_0807F3D8, 0x00000000 - EndBlock -script_08011AC4: - CheckEntityInteractType - JumpIfNot script_08011AC4 - _0807E864 - _0807EB74 - CallWithArg sub_0807F3D8, 0x00000000 - MessageFromTarget 0x1322 - WaitUntilTextboxCloses - _0807E878 - Jump script_08011AC4 - -SCRIPT_START script_08011AE4 - CheckRoomFlag 0x000f - JumpIfNot script_08011AE4 - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 -script_08011AFA: - MessageFromTargetPos 0x1321, 0x0007 - WaitUntilTextboxCloses -.ifdef JP - SetLocalFlag 0x0011 -.else -.ifdef EU - SetLocalFlag 0x0011 -.else -.ifdef DEMO_JP - SetLocalFlag 0x0011 @ TODO deduplicate -.else - SetLocalFlag 0x0010 -.endif -.endif -.endif - CallWithArg sub_0806DA1C, 0x00000003 - _0807E878 - Call sub_0807DF50 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08011B20.inc b/data/scripts/script_08011B20.inc deleted file mode 100644 index c679db6d..00000000 --- a/data/scripts/script_08011B20.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_08011B20 - _0807E864 - Call sub_0807DF28 - MessageFromTargetPos 0x1320, 0x000c - WaitUntilTextboxCloses - _0807E878 - Call sub_0807DF50 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08011B40.inc b/data/scripts/script_08011B40.inc deleted file mode 100644 index 461cbf23..00000000 --- a/data/scripts/script_08011B40.inc +++ /dev/null @@ -1,83 +0,0 @@ -SCRIPT_START script_08011B40 - BeginBlock - _0807E9D4 - DoPostScriptAction 0x000a - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - EndBlock - CheckGlobalFlag 0x0050 - JumpIfNot script_08011B84 - WaitForSomething2 0x00000004 - _0807EB44 0x0006 - DoPostScriptAction 0x0004 - Wait 0x003c - _0807EB8C - MessageNoOverlap 0x3d07 - WaitUntilTextboxCloses - _0807EB44 0x0004 - ClearGlobalFlag 0x0050 - Call sub_0807DF50 - _0807E878 -script_08011B84: - CheckEntityInteractType - JumpIfNot script_08011B84 - _0807E864 - _0807EB74 - MessageNoOverlap 0x3d01 - WaitUntilTextboxCloses - _0807E3E8 - JumpIf script_08011BA4 -script_08011B9A: - _0807E878 - _0807EB44 0x0004 - Jump script_08011B84 -script_08011BA4: - HasRupees 0x000a - JumpIf script_08011BBC - DoPostScriptAction 0x0004 - Wait 0x003c - MessageNoOverlap 0x3d05 - Jump script_08011B9A -script_08011BBC: - ModRupees 0xfff6 - Wait 0x001e - MessageNoOverlap 0x3d06 - WaitUntilTextboxCloses - CallWithArg sub_0806C2A0, 0x00000000 - WaitFor_2 - Wait 0x003c - Call sub_0806C224 - Jump script_08011B9A -SCRIPT_START script_08011BE4 - BeginBlock - _0807E888 - EndBlock - CallWithArg sub_0806C2A0, 0x00000001 - WaitFor_2 - Wait 0x003c - _0807E878 - SetRoomFlag 0x0000 - PlayBgm BGM_FIGHT_THEME2 -script_08011C04: - CheckRoomFlag 0x0064 - JumpIfNot script_08011C04 - StopBgm - _0807E864 - Wait 0x003c - CameraTargetEntity - Wait 0x003c - Call Simon_CreateChest - Wait 0x003c - CameraTargetPlayer - _0807E878 -script_08011C28: - CheckLocalFlag 0x0001 - JumpIfNot script_08011C28 - _0807E888 - WaitPlayerGetItem - Wait 0x001e - CallWithArg sub_0806C2A0, 0x00000000 - WaitFor_2 - Wait 0x003c - Call sub_0806C280 -SCRIPT_END diff --git a/data/scripts/script_08011C50.inc b/data/scripts/script_08011C50.inc deleted file mode 100644 index 154bc0ab..00000000 --- a/data/scripts/script_08011C50.inc +++ /dev/null @@ -1,13 +0,0 @@ -SCRIPT_START script_08011C50 - BeginBlock - _0807E864 - EndBlock - Wait 0x003c - CallWithArg sub_0806C2A0, 0x00000001 - WaitFor_2 - Wait 0x003c - DoPostScriptAction 0x0014 - Wait 0x001e - _0807E5F8 0x00000004 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08011C7C.inc b/data/scripts/script_08011C7C.inc deleted file mode 100644 index bc4f9a5e..00000000 --- a/data/scripts/script_08011C7C.inc +++ /dev/null @@ -1,622 +0,0 @@ -SCRIPT_START script_08011C7C - BeginBlock - Call sub_08064828 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - DoPostScriptAction 0x000a - CheckGlobalFlag 0x0047 - JumpIf script_08011CC2 - EndBlock -script_08011C9A: - EndBlock - BeginBlock - CheckEntityInteractType - JumpIfNot script_08011C9A - EndBlock - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 - MessageNoOverlap 0x4515 - WaitUntilTextboxCloses - _0807E878 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - Jump script_08011C9A -script_08011CC2: - EndBlock - BeginBlock - CheckGlobalFlag 0x002c - JumpIf script_08011C9A - CheckGlobalFlag 0x002d - JumpIf script_08011C9A - CheckEntityInteractType - JumpIfNot script_08011CC2 - EndBlock - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 - MessageNoOverlap 0x3105 - WaitUntilTextboxCloses - _0807E3E8 - JumpIf script_08011D0E - _0807E878 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - Jump script_08011CC2 -script_08011D00: - CheckEntityInteractType - JumpIfNot script_08011D00 - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 -script_08011D0E: - MessageNoOverlap 0x3108 - WaitUntilTextboxCloses - SetGlobalFlag 0x002b - _0807E878 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - Jump script_08011D00 - .2byte 0x0000 -SCRIPT_START script_08011D28 - BeginBlock - Call sub_08064928 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - DoPostScriptAction 0x000a - CheckGlobalFlag 0x0047 - JumpIf script_08011D6E - EndBlock -script_08011D46: - EndBlock - BeginBlock - CheckEntityInteractType - JumpIfNot script_08011D46 - EndBlock - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 - MessageNoOverlap 0x4513 - WaitUntilTextboxCloses - _0807E878 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - Jump script_08011D46 -script_08011D6E: - EndBlock - BeginBlock - CheckGlobalFlag 0x002b - JumpIf script_08011D46 - CheckGlobalFlag 0x002d - JumpIf script_08011D46 - CheckEntityInteractType - JumpIfNot script_08011D6E - EndBlock - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 - MessageNoOverlap 0x3103 - WaitUntilTextboxCloses - _0807E3E8 - JumpIf script_08011DBA - _0807E878 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - Jump script_08011D6E -script_08011DAC: - CheckEntityInteractType - JumpIfNot script_08011DAC - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 -script_08011DBA: - MessageNoOverlap 0x3106 - WaitUntilTextboxCloses - SetGlobalFlag 0x002c - _0807E878 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - Jump script_08011DAC - .2byte 0x0000 -SCRIPT_START script_08011DD4 - BeginBlock - Call sub_08064A28 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - DoPostScriptAction 0x000a - CheckGlobalFlag 0x0047 - JumpIf script_08011E1A - EndBlock -script_08011DF2: - EndBlock - BeginBlock - CheckEntityInteractType - JumpIfNot script_08011DF2 - EndBlock - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 - MessageNoOverlap 0x4514 - WaitUntilTextboxCloses - _0807E878 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - Jump script_08011DF2 -script_08011E1A: - EndBlock - BeginBlock - CheckGlobalFlag 0x002b - JumpIf script_08011DF2 - CheckGlobalFlag 0x002c - JumpIf script_08011DF2 - CheckEntityInteractType - JumpIfNot script_08011E1A - EndBlock - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 - MessageNoOverlap 0x3104 - WaitUntilTextboxCloses - _0807E3E8 - JumpIf script_08011E66 - _0807E878 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - Jump script_08011E1A -script_08011E58: - CheckEntityInteractType - JumpIfNot script_08011E58 - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 -script_08011E66: - MessageNoOverlap 0x3107 - WaitUntilTextboxCloses - SetGlobalFlag 0x002d - _0807E878 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - Jump script_08011E58 - .2byte 0x0000 -SCRIPT_START script_08011E80 - BeginBlock - Call sub_08064828 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - DoPostScriptAction 0x000a - EndBlock -script_08011E96: - EndBlock - BeginBlock - CheckGlobalFlag 0x002f - JumpIf script_08011C9A - CheckGlobalFlag 0x0030 - JumpIf script_08011C9A - CheckEntityInteractType - JumpIfNot script_08011E96 - EndBlock - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 - CheckGlobalFlag 0x0048 - JumpIf script_08011ECC - MessageNoOverlap 0x4524 - WaitUntilTextboxCloses - Jump script_08011ED8 -script_08011ECC: - MessageNoOverlap 0x3111 - WaitUntilTextboxCloses - _0807E3E8 - JumpIf script_08011EF4 -script_08011ED8: - _0807E878 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - Jump script_08011E96 -script_08011EE6: - CheckEntityInteractType - JumpIfNot script_08011EE6 - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 -script_08011EF4: - MessageNoOverlap 0x3114 - WaitUntilTextboxCloses - SetGlobalFlag 0x002e - _0807E878 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - Jump script_08011EE6 -SCRIPT_START script_08011F0C - BeginBlock - Call sub_08064928 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - DoPostScriptAction 0x000a - EndBlock -script_08011F22: - EndBlock - BeginBlock - CheckGlobalFlag 0x002e - JumpIf script_08011D46 - CheckGlobalFlag 0x0030 - JumpIf script_08011D46 - CheckEntityInteractType - JumpIfNot script_08011F22 - EndBlock - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 - CheckGlobalFlag 0x0048 - JumpIf script_08011F58 - MessageNoOverlap 0x4522 - WaitUntilTextboxCloses - Jump script_08011F64 -script_08011F58: - MessageNoOverlap 0x310f - WaitUntilTextboxCloses - _0807E3E8 - JumpIf script_08011F80 -script_08011F64: - _0807E878 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - Jump script_08011F22 -script_08011F72: - CheckEntityInteractType - JumpIfNot script_08011F72 - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 -script_08011F80: - MessageNoOverlap 0x3112 - WaitUntilTextboxCloses - SetGlobalFlag 0x002f - _0807E878 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - Jump script_08011F72 -SCRIPT_START script_08011F98 - BeginBlock - Call sub_08064A28 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - DoPostScriptAction 0x000a - EndBlock -script_08011FAE: - EndBlock - BeginBlock - CheckGlobalFlag 0x002e - JumpIf script_08011DF2 - CheckGlobalFlag 0x002f - JumpIf script_08011DF2 - CheckEntityInteractType - JumpIfNot script_08011FAE - EndBlock - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 - CheckGlobalFlag 0x0048 - JumpIf script_08011FE4 - MessageNoOverlap 0x4523 - WaitUntilTextboxCloses - Jump script_08011FF0 -script_08011FE4: - MessageNoOverlap 0x3110 - WaitUntilTextboxCloses - _0807E3E8 - JumpIf script_0801200C -script_08011FF0: - _0807E878 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - Jump script_08011FAE -script_08011FFE: - CheckEntityInteractType - JumpIfNot script_08011FFE - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 -script_0801200C: - MessageNoOverlap 0x3113 - WaitUntilTextboxCloses - SetGlobalFlag 0x0030 - _0807E878 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - Jump script_08011FFE - - -SCRIPT_START script_08012024 - BeginBlock - Call sub_08064828 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - DoPostScriptAction 0x000a - EndBlock -script_0801203A: - CheckEntityInteractType - JumpIfNot script_0801203A - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 - CheckLocalFlag 0x0094 - JumpIf script_0801205E - MessageNoOverlap 0x3122 - WaitUntilTextboxCloses - SetLocalFlag 0x0094 - Jump script_0801209E -script_0801205E: - _0807E48C 0x0031 - JumpIfNot script_08012070 - MessageNoOverlap 0x3123 - WaitUntilTextboxCloses - Jump script_0801209E -script_08012070: - MessageNoOverlap 0x3124 - WaitUntilTextboxCloses - _0807E3E8 - JumpIfNot script_0801209E - _0807E48C 0x0020 - JumpIfNot script_0801209A - MessageNoOverlap 0x3125 - WaitUntilTextboxCloses - _0807F034 0x0031 - WaitPlayerGetItem -.ifdef USA - Call sub_0807FC24 -.else -.ifdef DEMO_USA - Call sub_0807FC24 -.else -.ifdef DEMO_JP - Call sub_0807FC24 -.endif -.endif -.endif - Jump script_0801209E -script_0801209A: - MessageNoOverlap 0x3127 -script_0801209E: - WaitUntilTextboxCloses - _0807E878 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - Jump script_0801203A - .align 2, 0 - -SCRIPT_START script_080120B0 - BeginBlock - Call sub_08064928 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - DoPostScriptAction 0x000a - EndBlock -script_080120C6: - CheckEntityInteractType - JumpIfNot script_080120C6 - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 - CheckLocalFlag 0x0095 - JumpIf script_080120EA - MessageNoOverlap 0x3116 - WaitUntilTextboxCloses - SetLocalFlag 0x0095 - Jump script_0801212A -script_080120EA: - _0807E48C 0x002f - JumpIfNot script_080120FC - MessageNoOverlap 0x3117 - WaitUntilTextboxCloses - Jump script_0801212A -script_080120FC: - MessageNoOverlap 0x3118 - WaitUntilTextboxCloses - _0807E3E8 - JumpIfNot script_0801212A - _0807E48C 0x0020 - JumpIfNot script_08012126 - MessageNoOverlap 0x3119 - WaitUntilTextboxCloses - _0807F034 0x002f - WaitPlayerGetItem -.ifdef USA - Call sub_0807FC24 -.else -.ifdef DEMO_USA - Call sub_0807FC24 -.else -.ifdef DEMO_JP - Call sub_0807FC24 -.endif -.endif -.endif - Jump script_0801212A -script_08012126: - MessageNoOverlap 0x311b -script_0801212A: - WaitUntilTextboxCloses - _0807E878 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - Jump script_080120C6 - .align 2, 0 - -SCRIPT_START script_0801213C - BeginBlock - Call sub_08064A28 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - DoPostScriptAction 0x000a - EndBlock -script_08012152: - CheckEntityInteractType - JumpIfNot script_08012152 - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 - CheckLocalFlag 0x0096 - JumpIf script_08012176 - MessageNoOverlap 0x311c - WaitUntilTextboxCloses - SetLocalFlag 0x0096 - Jump script_080121B6 -script_08012176: - _0807E48C 0x0030 - JumpIfNot script_08012188 - MessageNoOverlap 0x311d - WaitUntilTextboxCloses - Jump script_080121B6 -script_08012188: - MessageNoOverlap 0x311e - WaitUntilTextboxCloses - _0807E3E8 - JumpIfNot script_080121B6 - _0807E48C 0x0020 - JumpIfNot script_080121B2 - MessageNoOverlap 0x311f - WaitUntilTextboxCloses - _0807F034 0x0030 - WaitPlayerGetItem -.ifdef USA - Call sub_0807FC24 -.else -.ifdef DEMO_USA - Call sub_0807FC24 -.else -.ifdef DEMO_JP - Call sub_0807FC24 -.endif -.endif -.endif - Jump script_080121B6 -script_080121B2: - MessageNoOverlap 0x3121 -script_080121B6: - WaitUntilTextboxCloses - _0807E878 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - Jump script_08012152 - .align 2, 0 - -SCRIPT_START script_080121C8 - BeginBlock - Call sub_08064828 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - DoPostScriptAction 0x000a - EndBlock -script_080121DE: - CheckEntityInteractType - JumpIfNot script_080121DE - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 - MessageNoOverlap 0x4527 - WaitUntilTextboxCloses - _0807E878 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - Jump script_080121DE -SCRIPT_START script_08012200 - BeginBlock - Call sub_08064928 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - DoPostScriptAction 0x000a - EndBlock -script_08012216: - CheckEntityInteractType - JumpIfNot script_08012216 - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 - MessageNoOverlap 0x4525 - WaitUntilTextboxCloses - _0807E878 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - Jump script_08012216 -SCRIPT_START script_08012238 - BeginBlock - Call sub_08064A28 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - DoPostScriptAction 0x000a - EndBlock -script_0801224E: - CheckEntityInteractType - JumpIfNot script_0801224E - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 - MessageNoOverlap 0x4526 - WaitUntilTextboxCloses - _0807E878 - _0807EB44 0x0004 - DoPostScriptAction 0x0001 - Jump script_0801224E -SCRIPT_START script_08012270 - BeginBlock - _0807EB44 0x0004 - Call sub_08061FD8 - _0807E9D4 - DoPostScriptAction 0x000a - EndBlock -script_08012284: - EndBlock - BeginBlock - CheckGlobalFlag 0x001e - JumpIfNot script_08012298 - CheckInventory1 0x0015 - JumpIf script_080122BA -script_08012298: - CheckEntityInteractType - JumpIfNot script_08012284 - EndBlock - _0807EB74 - _0807E864 - Call sub_08061FD8 - MessageFromTarget 0x2302 - WaitUntilTextboxCloses - _0807E878 - SetGlobalFlag 0x001e - Jump script_08012284 -script_080122BA: - EndBlock - BeginBlock - CheckRoomFlag 0x0000 - JumpIfNot script_080122CE - CheckRoomFlag 0x0001 - JumpIf script_080122EC -script_080122CE: - CheckEntityInteractType - JumpIfNot script_080122BA - EndBlock - _0807EB74 - _0807E864 - Call sub_08061FD8 - MessageFromTarget 0x2303 - WaitUntilTextboxCloses - _0807E878 - Jump script_080122BA -script_080122EC: - EndBlock - _0807EB74 - _0807E864 - Call sub_08061FD8 - DoPostScriptAction 0x000b - Call sub_08061FB0 - Call sub_08061F94 - LoadRoomEntityList gUnk_additional_a_HouseInteriors2_Percy - DoPostScriptAction 0x0008 - Wait 0x003c - PlaySound SFX_SECRET - SetLocalFlag 0x0043 - Wait 0x001e - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END - .align 2, 0 diff --git a/data/scripts/script_0801232C.inc b/data/scripts/script_0801232C.inc deleted file mode 100644 index 82ed1d1a..00000000 --- a/data/scripts/script_0801232C.inc +++ /dev/null @@ -1,72 +0,0 @@ -SCRIPT_START script_0801232C - BeginBlock - _0807EB74 - _0807E9D4 - DoPostScriptAction 0x000a - EndBlock -script_08012338: - CheckEntityInteractType - JumpIfNot script_08012338 - _0807EB74 - _0807E864 - MessageFromTarget 0x2304 - WaitUntilTextboxCloses - CheckLocalFlag 0x0042 - JumpIf script_0801235A - SetLocalFlag 0x0042 - _0807F034 0x0057 - WaitPlayerGetItem -script_0801235A: - _0807E878 - Jump script_08012338 -SCRIPT_START script_08012360 - BeginBlock - DoPostScriptAction 0x0008 - EndBlock -script_08012368: - CheckLocalFlag 0x0004 - JumpIfNot script_08012368 - Call sub_0807DF28 - _0807E864 - StopBgm - BeginBlock - _0807E778 0x0004 - SetFadeMask 0x00007fff - DoFade5 - _0807E858 0x0080 - EndBlock - WaitFor_2 - PlayBgm BGM_ELEMENTAL_SANCTUARY - _0807EB28 0x1401 - WaitUntilTextboxCloses - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x0007 - PlaySound SFX_ELEMENT_FLOAT - SetEntity0x20 0xffff8000 - Wait 0x003c - _0807E8E4_0 - StartPlayerScript script_08012410 - WaitForSomething2 0x00000001 - MessageNoOverlap 0x1402 - WaitUntilTextboxCloses - StopBgm - SetEntity0x20 0x00010000 - Wait 0x003c - BeginBlock - _0807E778 0x0004 - SetFadeMask 0xffffffff - DoFade4 - _0807E858 0x0080 - EndBlock - WaitFor_2 - PlayBGM - _0807EB28 0x1403 - WaitUntilTextboxCloses - SetIntVariable 0x00000203 - Call sub_0807F420 - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08012410.inc b/data/scripts/script_08012410.inc deleted file mode 100644 index 82f5c189..00000000 --- a/data/scripts/script_08012410.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_08012410 - BeginBlock - SetEntitySpeed 0x0080 - EndBlock - DoPostScriptAction 0x0004 - Wait 0x003c - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08012430.inc b/data/scripts/script_08012430.inc deleted file mode 100644 index 5390ddeb..00000000 --- a/data/scripts/script_08012430.inc +++ /dev/null @@ -1,168 +0,0 @@ -SCRIPT_START script_08012430 - BeginBlock - DoPostScriptAction 0x000a - _0807EB44 0x0004 - _0807E930 0x0000 - EndBlock -script_08012440: - CheckEntityInteractType - JumpIfNot script_08012440 - _0807E864 - _0807E930 0x0008 - Call sub_0807F2D4 - _0807E930 0x0009 - Call sub_0806B2B4 - WaitUntilTextboxCloses - CheckLocalFlag 0x00b3 - JumpIf script_08012474 - SetLocalFlag 0x00b3 - _0807F034 0x0062 - WaitPlayerGetItem -.ifdef USA - SetLocalFlag 0x00d0 -.else -.ifdef DEMO_USA - SetLocalFlag 0x00d0 -.endif -.endif -script_08012474: - _0807E878 - _0807E930 0x0000 - Jump script_08012440 - .align 2, 0 - - -SCRIPT_START script_08012480 - BeginBlock - Call sub_08054564 - EndBlock -script_0801248A: - CheckPlayerInRegion 0x0208, 0x02c8, 0x4020 - JumpIfNot script_0801248A - StopBgm - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - StartPlayerScript script_08012AB0 - MessageFromTargetPos 0x1101, 0x0007 - WaitUntilTextboxCloses - CameraTargetPlayer - _0807E778 0x0004 - _0807E80C 0x00000000 - WaitFor_2 - _0807E858 0x0000 - Call sub_080791BC - LoadRoomEntityList gUnk_080F4D70 - Call DeleteAllEnemies - SetEntityPositionRelative 0x0388, 0x0168 - Call sub_0807F844 - _0807E778 0x0004 - _0807E800 0x00000000 - WaitFor_2 - PlayBgm BGM_EZLO_THEME - _0807E5F8 0x00000010 - WaitForSomething2 0x00000020 - WaitForSomething2 0x00000100 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - _0807E5F8 0x00000040 - WaitForSomething2 0x00000080 - WaitForSomething2 0x00000100 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - StopBgm - _0807E778 0x0004 - _0807E80C 0x00000000 - WaitFor_2 - MoveEntityToPlayer - Call sub_0807F844 - CameraTargetPlayer - SetFadeMask 0xffffffff - _0807E778 0x0004 - _0807E800 0x00000000 - WaitFor_2 - Call sub_0807DF50 - _0807E878 - PlayBGM -script_08012566: - CheckPlayerInRegion 0x03a0, 0x01a0, 0x1020 - JumpIfNot script_08012566 - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - Call sub_0806DC7C - StopBgm - StartPlayerScript script_08012AC8 - WaitForSomething2 0x00000001 - SetEntityPositionRelative 0x0388, 0x0168 - _0807F0B4 0x0001 - CameraTargetEntity - Wait 0x005a - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - PlayBgm BGM_EZLO_THEME - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - _0807E5F8 0x00000040 - WaitForSomething2 0x00000080 - WaitForSomething2 0x00000100 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - _0807E5F8 0x00000010 - WaitForSomething2 0x00000020 - WaitForSomething2 0x00000100 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - StopBgm - PlayBgm BGM_FIGHT_THEME2 - Call sub_0807DF50 - _0807E878 - _0807E5F8 0x00000050 - LoadRoomEntityList gUnk_080F51D0 - WaitForSomething2 0x00000008 - _0807E864 - Call sub_0807FA40 - Call sub_0807DF28 - PlaySound SFX_SECRET - StopBgm - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - StartPlayerScript script_08012AF0 - WaitForSomething2 0x00000001 - _0807E8E4_0 - PlayBgm BGM_EZLO_THEME - Wait 0x001e - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - StopBgm - Wait 0x003c - PlayBGM - Call sub_0806DCA0 - _0807F0B4 0x0004 - CameraTargetPlayer - Call sub_0807DF50 - _0807E878 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - StopBgm - Wait 0x003c - PlayBGM - Call sub_08054570 - SetGlobalFlag 0x0014 - CallWithArg sub_0807F6F8, 0x00000008 - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_080126FC.inc b/data/scripts/script_080126FC.inc deleted file mode 100644 index 4470cf0e..00000000 --- a/data/scripts/script_080126FC.inc +++ /dev/null @@ -1,243 +0,0 @@ -SCRIPT_START script_080126FC - BeginBlock - SetEntitySpeed 0x0040 - DoPostScriptAction 0x0007 - EndBlock - _0807E930 0x0020 - WaitForSomething2 0x00000004 - _0807E930 0x0022 - Call sub_0807F3C8 - MessageFromTargetPos 0x1102, 0x000c - WaitUntilTextboxCloses - _0807E930 0x0020 - _0807E5F8 0x00000008 - WaitForSomething2 0x00000004 - _0807E930 0x0021 - Call sub_0807F3C8 - MessageFromTargetPos 0x1103, 0x000c - WaitUntilTextboxCloses - _0807E930 0x0020 - _0807E5F8 0x00000008 - WaitForSomething2 0x00000004 - DoPostScriptAction 0x0004 - Wait 0x003c - _0807E5F8 0x00000008 - WaitForSomething2 0x00000004 - DoPostScriptAction 0x0011 - _0807E930 0x001c - MessageFromTargetPos 0x1105, 0x000c - WaitUntilTextboxCloses - _0807E930 0x0020 - _0807E5F8 0x00000008 - WaitForSomething2 0x00000004 - _0807E930 0x0022 - Call sub_0807F3C8 - MessageFromTargetPos 0x1106, 0x000c - WaitUntilTextboxCloses - _0807E930 0x001c - Call sub_0806D96C - MessageFromTargetPos 0x1107, 0x000c - WaitUntilTextboxCloses - _0807E930 0x0020 - _0807E5F8 0x00000008 - WaitForSomething2 0x00000004 - _0807E930 0x0021 - Call sub_0807F3C8 - MessageFromTargetPos 0x1108, 0x000c - WaitUntilTextboxCloses - _0807E930 0x001c - Call sub_0806D96C - MessageFromTargetPos 0x1109, 0x000c - WaitUntilTextboxCloses - _0807E930 0x0020 - DoPostScriptAction 0x000a - _0807E9D4 - _0807E5F8 0x00000008 -script_080127F2: - EndBlock - BeginBlock - CheckRoomFlag 0x0000 - JumpIf script_08012824 - CheckEntityInteractType - JumpIfNot script_080127F2 - EndBlock - _0807E864 - Call sub_0806D944 - _0807E930 0x0010 - MessageFromTargetPos 0x1114, 0x000c - WaitUntilTextboxCloses - _0807E930 0x0020 - _0807E878 - Jump script_080127F2 -script_08012824: - _0807E864 - _0807E9DC - CallWithArg sub_0807F5B0, 0x0000003c - Call sub_080791D0 - EndBlock - _0807E5F8 0x00000008 - WaitForSomething2 0x00000004 - DoPostScriptAction 0x000b - _0807E5F8 0x00000008 - WaitForSomething2 0x00000004 - Call sub_0806D944 - _0807E930 0x0010 - MessageFromTargetPos 0x110a, 0x000c - WaitUntilTextboxCloses - _0807E930 0x001f - _0807E5F8 0x00000008 - WaitForSomething2 0x00000004 - _0807E930 0x0010 - MessageFromTargetPos 0x110b, 0x000c - WaitUntilTextboxCloses - _0807E930 0x001f - _0807E5F8 0x00000008 - WaitForSomething2 0x00000004 - DoPostScriptAction 0x0004 - Wait 0x003c - _0807E930 0x0010 - MessageFromTargetPos 0x110c, 0x000c - WaitUntilTextboxCloses - _0807E930 0x001f - _0807E5F8 0x00000008 - WaitForSomething2 0x00000004 - _0807E930 0x0010 - MessageFromTargetPos 0x110d, 0x000c - WaitUntilTextboxCloses - _0807E930 0x001f - _0807E5F8 0x00000008 - WaitForSomething2 0x00000004 - _0807E930 0x0010 - MessageFromTargetPos 0x110e, 0x000c - WaitUntilTextboxCloses - _0807E930 0x0018 - SetEntitySpeed 0x0080 - Call sub_0806D908 - _0807EC1C 0x0010 - DoPostScriptAction 0x000a - _0807E9D4 - _0807E5F8 0x00000008 - WaitForSomething2 0x00000004 -script_08012904: - EndBlock - BeginBlock - Call sub_0806D944 - CheckEntityInteractType - JumpIf script_08012920 - CheckPlayerInRegion2 0x3030 - JumpIfNot script_0801293A - Jump script_08012904 -script_08012920: - _0807E864 - _0807E930 0x0010 - EndBlock - MessageFromTargetPos 0x1115, 0x000c - WaitUntilTextboxCloses - _0807E930 0x0018 - _0807E878 - Jump script_08012904 -script_0801293A: - EndBlock - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - _0807EB8C - Call sub_0806D944 - _0807E930 0x0010 - MessageFromTargetPos 0x110f, 0x000c - _0807E930 0x0018 - SetEntitySpeed 0x0080 - Call sub_0806D908 - _0807EC1C 0x0050 - WaitUntilTextboxCloses - Call sub_0807DF50 - _0807E878 - _0807E5F8 0x00000008 - WaitForSomething2 0x00000004 -script_08012984: - EndBlock - BeginBlock - Call sub_0806D944 - CheckEntityInteractType - JumpIf script_080129A0 - CheckPlayerInRegion2 0x3030 - JumpIfNot script_080129BA - Jump script_08012984 -script_080129A0: - _0807E864 - _0807E930 0x0010 - EndBlock - MessageFromTargetPos 0x1115, 0x000c - WaitUntilTextboxCloses - _0807E930 0x0018 - _0807E878 - Jump script_08012984 -script_080129BA: - EndBlock - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - _0807EB8C - Call sub_0806D944 - _0807E930 0x0010 - MessageFromTargetPos 0x1110, 0x000c - _0807E930 0x0018 - SetEntitySpeed 0x0080 - Call sub_0806D908 - _0807EC1C 0x0050 - _0807E930 0x0018 - WaitUntilTextboxCloses - Call sub_0807DF50 - _0807E878 - _0807E5F8 0x00000008 - WaitForSomething2 0x00000004 -script_08012A08: - EndBlock - BeginBlock - Call sub_0806D944 - CheckEntityInteractType - JumpIf script_08012A24 - CheckPlayerInRegion2 0x3030 - JumpIfNot script_08012A3E - Jump script_08012A08 -script_08012A24: - _0807E864 - _0807E930 0x0010 - EndBlock - MessageFromTargetPos 0x1115, 0x000c - WaitUntilTextboxCloses - _0807E930 0x0018 - _0807E878 - Jump script_08012A08 -script_08012A3E: - EndBlock - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - StopBgm - DoPostScriptAction 0x000b - _0807EB8C - Call sub_0806D944 - _0807E930 0x0010 - MessageFromTargetPos 0x1111, 0x000c - _0807E930 0x0018 - SetEntitySpeed 0x0080 - Call sub_0806D8A0 -script_08012A74: - _0807EE30 - JumpIfNot script_08012A74 - _0807E930 0x001f - WaitUntilTextboxCloses - StartPlayerScript script_08012B18 - Call sub_0806D9A4 - DoPostScriptAction 0x0008 - Wait 0x0078 - PlayBgm BGM_EZLO_THEME - BeginBlock - _0807E8E4_2 - _0807EB28 0x1112 - EndBlock - WaitUntilTextboxCloses - _0807E5F8 0x00000008 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08012AB0.inc b/data/scripts/script_08012AB0.inc deleted file mode 100644 index 8c0a07dd..00000000 --- a/data/scripts/script_08012AB0.inc +++ /dev/null @@ -1,9 +0,0 @@ -SCRIPT_START script_08012AB0 - EndBlock -script_08012AB2: - _0807EB44 0x0002 - Wait 0x000a - _0807EB44 0x0006 - Wait 0x000a - Jump script_08012AB2 - .2byte 0x0000 diff --git a/data/scripts/script_08012AC8.inc b/data/scripts/script_08012AC8.inc deleted file mode 100644 index 549da3a5..00000000 --- a/data/scripts/script_08012AC8.inc +++ /dev/null @@ -1,12 +0,0 @@ -SCRIPT_START script_08012AC8 - BeginBlock - SetEntitySpeed 0x0080 - EndBlock - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x0004 - Wait 0x003c - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08012AF0.inc b/data/scripts/script_08012AF0.inc deleted file mode 100644 index 3250384f..00000000 --- a/data/scripts/script_08012AF0.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_08012AF0 - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - DoPostScriptAction 0x0001 - _0807EDD4 0x0388, 0x0180 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_08012B18.inc b/data/scripts/script_08012B18.inc deleted file mode 100644 index c317235e..00000000 --- a/data/scripts/script_08012B18.inc +++ /dev/null @@ -1,4 +0,0 @@ -SCRIPT_START script_08012B18 - DoPostScriptAction 0x0015 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_08012B24.inc b/data/scripts/script_08012B24.inc deleted file mode 100644 index 7fa4617a..00000000 --- a/data/scripts/script_08012B24.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_08012B24 - BeginBlock - SetEntitySpeed 0x0100 - _0807EB44 0x0004 - EndBlock - DoPostScriptAction 0x0001 - _0807ECC4 0x0008 - _0807E5F8 0x00000002 - CallWithArg sub_0807FB64, 0xffffffe2 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_08012B50.inc b/data/scripts/script_08012B50.inc deleted file mode 100644 index 8fb19805..00000000 --- a/data/scripts/script_08012B50.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_08012B50 - BeginBlock - SetEntitySpeed 0x0100 - _0807EB44 0x0000 - EndBlock - DoPostScriptAction 0x0001 - _0807EC64 0x0008 - _0807E5F8 0x00000002 - CallWithArg sub_0807FB64, 0xffffffe2 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_08012B7C.inc b/data/scripts/script_08012B7C.inc deleted file mode 100644 index 9b90a21b..00000000 --- a/data/scripts/script_08012B7C.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_08012B7C - BeginBlock - SetEntitySpeed 0x0100 - _0807EB44 0x0002 - EndBlock - DoPostScriptAction 0x0001 - _0807EC94 0x0008 - _0807E5F8 0x00000002 - CallWithArg sub_0807FB64, 0xffffffe2 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_08012BA8.inc b/data/scripts/script_08012BA8.inc deleted file mode 100644 index b23bee96..00000000 --- a/data/scripts/script_08012BA8.inc +++ /dev/null @@ -1,20 +0,0 @@ -SCRIPT_START script_08012BA8 - BeginBlock - _0807EB44 0x0002 - DoPostScriptAction 0x0007 - _0807E930 0x0001 - EndBlock - WaitForSomething2 0x00000040 - _0807E930 0x0005 - Wait 0x001e - _0807E5F8 0x00000080 - _0807E930 0x0001 - WaitForSomething2 0x00000040 - _0807E930 0x0005 - Wait 0x001e - _0807E5F8 0x00000080 - _0807E930 0x0001 - WaitForSomething2 0x00000040 - Wait 0x0001 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08012BF8.inc b/data/scripts/script_08012BF8.inc deleted file mode 100644 index 2d3bc84f..00000000 --- a/data/scripts/script_08012BF8.inc +++ /dev/null @@ -1,20 +0,0 @@ -SCRIPT_START script_08012BF8 - BeginBlock - _0807EB44 0x0006 - DoPostScriptAction 0x0007 - _0807E930 0x0003 - EndBlock - WaitForSomething2 0x00000010 - _0807E930 0x0007 - Wait 0x001e - _0807E5F8 0x00000020 - _0807E930 0x0003 - WaitForSomething2 0x00000010 - _0807E930 0x0007 - Wait 0x001e - _0807E5F8 0x00000020 - _0807E930 0x0003 - WaitForSomething2 0x00000010 - Wait 0x0001 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08012C48.inc b/data/scripts/script_08012C48.inc deleted file mode 100644 index 63b3e809..00000000 --- a/data/scripts/script_08012C48.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_08012C48 - BeginBlock - DoPostScriptAction 0x0007 - SetEntitySpeed 0x0280 - EndBlock - _0807EDD4 0x0388, 0x0168 - _0807E5F8 0x00000100 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08012C68.inc b/data/scripts/script_08012C68.inc deleted file mode 100644 index c63f591e..00000000 --- a/data/scripts/script_08012C68.inc +++ /dev/null @@ -1,51 +0,0 @@ -SCRIPT_START script_08012C68 - BeginBlock - _0807E9D4 - DoPostScriptAction 0x0008 - SetIntVariable 0x00000000 - Call sub_0806DA04 - EndBlock -script_08012C7E: - CheckEntityInteractType - JumpIfNot script_08012C7E - _0807E864 - _0807E8E4_0 - MessageFromTarget 0x111d - WaitUntilTextboxCloses - SetGlobalFlag 0x0022 - _0807E878 - Jump script_08012C7E - -SCRIPT_START script_08012C98 - CheckGlobalFlag 0x0014 - JumpIfNot script_08012C98 -script_08012CA0: - EndBlock - BeginBlock - CheckPlayerInRegion 0x0398, 0x03b0, 0x2040 - JumpIfNot script_08012CA0 - _0807E564 - JumpIf script_08012CD2 - EndBlock - _0807E864 - Call sub_0807DF28 - _0807EB28 0x2202 - WaitUntilTextboxCloses -.ifdef JP - SetLocalFlag 0x003a -.else -.ifdef EU - SetLocalFlag 0x003a -.else -.ifdef DEMO_JP - SetLocalFlag 0x003a @ TODO deduplicate -.else - SetLocalFlag 0x003b -.endif -.endif -.endif - Call sub_0807DF50 - _0807E878 -script_08012CD2: - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08012CD8.inc b/data/scripts/script_08012CD8.inc deleted file mode 100644 index 1d6bda91..00000000 --- a/data/scripts/script_08012CD8.inc +++ /dev/null @@ -1,31 +0,0 @@ -SCRIPT_START script_08012CD8 - EndBlock - BeginBlock - _0807E564 - JumpIfNot script_08012CD8 - CheckPlayerInRegion 0x0380, 0x03b0, 0x4040 - JumpIfNot script_08012CD8 - ComparePlayerAction 0x0015 - JumpIf script_08012CD8 - _0807E864 - Call sub_0807DF28 - EndBlock - _0807EB28 0x2203 - WaitUntilTextboxCloses -.ifdef JP - SetLocalFlag 0x003d -.else -.ifdef EU - SetLocalFlag 0x003d -.else -.ifdef DEMO_JP - SetLocalFlag 0x003d @ TODO deduplicate -.else - SetLocalFlag 0x003e -.endif -.endif -.endif - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08012D18.inc b/data/scripts/script_08012D18.inc deleted file mode 100644 index 206fd304..00000000 --- a/data/scripts/script_08012D18.inc +++ /dev/null @@ -1,24 +0,0 @@ -SCRIPT_START script_08012D18 - EndBlock - BeginBlock - CheckGlobalFlag 0x0014 - JumpIfNot script_08012D18 - CheckLocalFlagByBank 0x0200, 0x008d - JumpIf script_08012D68 - CheckPlayerInRegion 0x0000, 0x01a8, 0x2010 - JumpIfNot script_08012D18 - EndBlock - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - _0807EB28 0x111a - WaitUntilTextboxCloses - StartPlayerScript script_08010A38 - WaitForSomething2 0x00000001 - Call sub_0807DF50 - _0807E878 - Jump script_08012D18 -script_08012D68: - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08012D70.inc b/data/scripts/script_08012D70.inc deleted file mode 100644 index f74d2b21..00000000 --- a/data/scripts/script_08012D70.inc +++ /dev/null @@ -1,28 +0,0 @@ -SCRIPT_START script_08012D70 - CheckPlayerInRegion 0x0088, 0x0048, 0x3030 - JumpIfNot script_08012D70 - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - StartPlayerScript script_08012DB0 - WaitForSomething2 0x00000001 - _0807EB28 0x132d - WaitUntilTextboxCloses -.ifdef JP - SetLocalFlag 0x0015 -.else -.ifdef EU - SetLocalFlag 0x0015 -.else -.ifdef DEMO_JP - SetLocalFlag 0x0015 @ TODO deduplicate -.else - SetLocalFlag 0x0014 -.endif -.endif -.endif - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08012DB0.inc b/data/scripts/script_08012DB0.inc deleted file mode 100644 index 5e9b2640..00000000 --- a/data/scripts/script_08012DB0.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_08012DB0 - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - _0807EDD4 0x0088, 0x0068 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - Wait 0x001e - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_08012DD8.inc b/data/scripts/script_08012DD8.inc deleted file mode 100644 index 21a77241..00000000 --- a/data/scripts/script_08012DD8.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_08012DD8 - BeginBlock - EndBlock - _0807E888 - Wait 0x0018 - _0807E864 - StartPlayerScript script_08012DF8 - WaitForSomething2 0x00000001 - _0807E908 0x0002 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08012DF8.inc b/data/scripts/script_08012DF8.inc deleted file mode 100644 index 3e47a89b..00000000 --- a/data/scripts/script_08012DF8.inc +++ /dev/null @@ -1,12 +0,0 @@ -SCRIPT_START script_08012DF8 - BeginBlock - _0807EB44 0x0000 - SetEntitySpeed 0x0140 - EndBlock - _0807EDD4 0x00b8, 0x0094 - Wait 0x0008 - DoPostScriptAction 0x0000 - Wait 0x0008 - _0807E5F8 0x00000001 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08012E20.inc b/data/scripts/script_08012E20.inc deleted file mode 100644 index 2a6bee16..00000000 --- a/data/scripts/script_08012E20.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_08012E20 - BeginBlock - _0807E864 - EndBlock - Wait 0x0078 - _0807E908 0x0004 - StartPlayerScript script_08012E44 - WaitForSomething2 0x00000002 - Wait 0x000c - _0807E908 0x0005 -SCRIPT_END diff --git a/data/scripts/script_08012E44.inc b/data/scripts/script_08012E44.inc deleted file mode 100644 index bc828aa9..00000000 --- a/data/scripts/script_08012E44.inc +++ /dev/null @@ -1,19 +0,0 @@ -SCRIPT_START script_08012E44 - BeginBlock - SetEntitySpeed 0x0140 - EndBlock - Wait 0x003c - _0807EB44 0x0004 - Wait 0x000f - _0807EB44 0x0002 - Wait 0x0012 - _0807EB44 0x0006 - Wait 0x000c - _0807EB44 0x0000 - Wait 0x0015 - _0807EB44 0x0004 - Wait 0x0008 - _0807E5F8 0x00000002 - _0807EDD4 0x0088, 0x0158 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08012E88.inc b/data/scripts/script_08012E88.inc deleted file mode 100644 index 3f8ae14f..00000000 --- a/data/scripts/script_08012E88.inc +++ /dev/null @@ -1,38 +0,0 @@ -SCRIPT_START script_08012E88 - BeginBlock - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x000a - Call sub_0806B60C - EndBlock -script_08012E9E: - CheckEntityInteractType - JumpIfNot script_08012E9E - _0807E864 - _0807EB74 - DoPostScriptAction 0x0001 - Call sub_0806B4F0 - WaitUntilTextboxCloses - _0807E878 - DoPostScriptAction 0x0000 - Jump script_08012E9E - .2byte 0x0000 -SCRIPT_START script_08012EC0 - BeginBlock - _0807EB44 0x0004 - CallWithArg sub_0807F3D8, 0x00000008 - DoPostScriptAction 0x000a - Call sub_0806B60C - EndBlock -script_08012EDC: - CheckEntityInteractType - JumpIfNot script_08012EDC - _0807E864 - _0807EB74 - CallWithArg sub_0807F3D8, 0x0000000c - Call sub_0806B4F0 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - CallWithArg sub_0807F3D8, 0x00000008 - Jump script_08012EDC diff --git a/data/scripts/script_08012F0C.inc b/data/scripts/script_08012F0C.inc deleted file mode 100644 index 17ccbb21..00000000 --- a/data/scripts/script_08012F0C.inc +++ /dev/null @@ -1,35 +0,0 @@ -SCRIPT_START script_08012F0C - BeginBlock - CallWithArg sub_0806A93C, 0x12345678 - _0807EB44 0x0004 - _0807E930 0x0002 - CheckInventory1 0x0015 - JumpIf script_080130B6 - CheckLocalFlag 0x0060 - JumpIf script_08012FD2 - CheckGlobalFlag 0x001e - JumpIf script_08012F86 - EndBlock - CheckLocalFlag 0x0062 - JumpIfNot script_08012F48 - Call sub_0806A9B0 -script_08012F48: - CheckLocalFlag 0x0061 - JumpIf script_08012F6C -script_08012F50: - Call sub_0806A96C - JumpIfNot script_08012F50 - _0807E864 - MessageNoOverlap 0x4401 - WaitUntilTextboxCloses - SetLocalFlag 0x0061 - _0807E878 - _0807E908 0x0001 -script_08012F6C: - Call sub_0806A96C - JumpIfNot script_08012F6C - MessageNoOverlap 0x4402 - WaitUntilTextboxCloses - _0807E908 0x0001 - Jump script_08012F6C -SCRIPT_END diff --git a/data/scripts/script_08012F86.inc b/data/scripts/script_08012F86.inc deleted file mode 100644 index 13ddc6bf..00000000 --- a/data/scripts/script_08012F86.inc +++ /dev/null @@ -1,99 +0,0 @@ -SCRIPT_START script_08012F86 - BeginBlock - CheckLocalFlag 0x0060 - JumpIf script_08012FD2 - _0807E864 - Call sub_0807DF28 - StartPlayerScript script_080130E4 - SetLocalFlag 0x0060 - ClearLocalFlag 0x0061 - EndBlock - WaitForSomething2 0x00000004 - _0807E908 0x0004 - Call sub_0806A958 - CallWithArg sub_0807F93C, 0x0000f2f4 - Call sub_0807DF50 - _0807E878 - SetLocalFlag 0x0062 - Jump script_08012FFA -script_08012FD2: - BeginBlock - _0807E930 0x000d - _0807E908 0x0005 - SetLocalFlag 0x0062 - CallWithArg sub_0807F93C, 0x0000f2f4 - Call sub_0806AA10 - EndBlock - CheckInventory1 0x0038 - JumpIf script_08013006 -script_08012FFA: - _0807E944 - MessageNoOverlap 0x4403 - WaitUntilTextboxCloses - Jump script_08012FFA -script_08013006: - _0807E944 - BeginBlock - _0807E864 - Call sub_0807DF28 - EndBlock - PlaySound SFX_TASK_COMPLETE - _0807F088 0x0038 - WaitPlayerGetItem - Wait 0x001e - _0807E8E4_0 - Call sub_0806AB9C - _0807E930 0x000b - Wait 0x003c - DoPostScriptAction 0x0004 - Wait 0x003c - MessageNoOverlap 0x4404 - WaitUntilTextboxCloses - Wait 0x001e - DoPostScriptAction 0x0004 - Wait 0x003c - MessageNoOverlap 0x440e - WaitUntilTextboxCloses - Wait 0x001e - Call sub_0806A9E8 - _0807E930 0x000f - Wait 0x00f0 - MessageNoOverlap 0x4405 - WaitUntilTextboxCloses - _0807E5F8 0x00000200 - _0807F034 0x0015 - WaitPlayerGetItem - _0807EB8C - MessageNoOverlap 0x4406 - WaitUntilTextboxCloses - _0807E908 0x0001 - Call sub_0807DF50 - _0807E878 -script_0801308A: - Call sub_0806A96C - JumpIfNot script_0801308A - MessageNoOverlap 0x4407 - WaitUntilTextboxCloses - _0807E908 0x0001 -script_0801309E: - Call sub_0806A96C - JumpIfNot script_0801309E - MessageNoOverlap 0x440d - WaitUntilTextboxCloses - _0807E908 0x0001 - Jump script_0801308A -script_080130B6: - CheckLocalFlag 0x0062 - JumpIfNot script_080130C4 - Call sub_0806A9B0 -script_080130C4: - EndBlock -script_080130C6: - Call sub_0806A96C - JumpIfNot script_080130C6 - _0807E864 - Call sub_0806AA18 - WaitUntilTextboxCloses - _0807E878 - _0807E908 0x0001 - Jump script_080130C6 diff --git a/data/scripts/script_080130E4.inc b/data/scripts/script_080130E4.inc deleted file mode 100644 index 38df27bf..00000000 --- a/data/scripts/script_080130E4.inc +++ /dev/null @@ -1,14 +0,0 @@ -SCRIPT_START script_080130E4 - BeginBlock - _0807EB44 0x0006 - SetEntitySpeed 0x0140 - EndBlock - _0807EDD4 0x00a8, 0x0060 - Wait 0x0008 - DoPostScriptAction 0x0000 - Wait 0x0008 - DoPostScriptAction 0x0004 - Wait 0x000f - _0807E5F8 0x00000004 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08013114.inc b/data/scripts/script_08013114.inc deleted file mode 100644 index 1adcb058..00000000 --- a/data/scripts/script_08013114.inc +++ /dev/null @@ -1,40 +0,0 @@ -SCRIPT_START script_08013114 - BeginBlock - _0807E9D4 - DoPostScriptAction 0x000a - DoPostScriptAction 0x0012 - Call sub_0807F348 - EndBlock -script_08013128: - EndBlock - BeginBlock - CheckEntityInteractType - JumpIf script_0801313C - Call sub_0806AEE4 - Jump script_08013128 -script_0801313C: - _0807E864 - EndBlock - _0807EB74 - Call sub_0806AED8 - CallWithArg sub_0806AA50, 0x00000000 - WaitUntilTextboxCloses - CallWithArg sub_0806AA50, 0x00000001 - WaitUntilTextboxCloses - CallWithArg sub_0806AA50, 0x00000002 - WaitUntilTextboxCloses - JumpIf script_08013176 - _0807E878 - Jump script_08013128 -script_08013176: - SetIntVariable 0x00000403 - Call sub_0807F420 - _0807E878 - Jump script_08013128 -SCRIPT_START script_08013188 - BeginBlock - CheckLocalFlag 0x0062 - JumpIfNot script_0801319A - DoPostScriptAction 0x0006 - EndBlock -SCRIPT_END diff --git a/data/scripts/script_0801319A.inc b/data/scripts/script_0801319A.inc deleted file mode 100644 index 0f1b052e..00000000 --- a/data/scripts/script_0801319A.inc +++ /dev/null @@ -1,78 +0,0 @@ -SCRIPT_START script_0801319A - EndBlock - BeginBlock - CameraTargetEntity - MoveEntityToPlayer - Call sub_0806AB74 - Jump script_0801319A -SCRIPT_START script_080131AC - CheckPlayerInRegion 0x0098, 0x0038, 0x2060 - JumpIfNot script_080131AC - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - StartPlayerScript script_080132E4 - WaitForSomething2 0x00000002 - _0807EB28 0x1601 - WaitUntilTextboxCloses - StartPlayerScript script_0801330C - WaitForSomething2 0x00000002 - _0807E778 0x0004 - DoFade5 - WaitFor_2 - LoadRoomEntityList gUnk_080F5680 - StartPlayerScript script_08013330 - WaitForSomething2 0x00000002 - MoveEntityToPlayer - OffsetEntityPosition 0x0000, 0xfff0 - Call sub_0807F844 - CameraTargetEntity - Call sub_080536B8 - _0807E864 - Call sub_0807DF28 - WaitFor_2 - MessageFromTargetPos 0x1602, 0x000c - WaitUntilTextboxCloses - _0807E5F8 0x00000008 - WaitForSomething2 0x00000010 - _0807E5F8 0x00000020 - WaitForSomething2 0x00000040 - PlayBgm BGM_VAATI_THEME - StartPlayerScript script_0801334C - WaitForSomething2 0x00000002 - _0807E5F8 0x00000020 - WaitForSomething2 0x00000040 - StartPlayerScript script_08013378 - _0807E5F8 0x00000020 - WaitForSomething2 0x00000042 - MessageFromTargetPos 0x1603, 0x000c - WaitUntilTextboxCloses - _0807E5F8 0x00000020 - WaitForSomething2 0x00000040 - SetFadeMask 0xffff7fff - _0807E778 0x0004 - DoFade5 - WaitFor_2 - StopBgm - _0807E858 0x0000 - Wait 0x003c - CameraTargetPlayer - Call sub_0807F5C0 - MessageFromTargetPos 0x1604, 0x0007 - WaitUntilTextboxCloses - SetFadeMask 0xffffffff - _0807E778 0x0004 - DoFade4 - WaitFor_2 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000002 - _0807EB28 0x1605 - WaitUntilTextboxCloses - SetLocalFlag 0x0078 - PlayBgm BGM_CASTLE_COLLAPSE - SetGlobalFlag 0x005d - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_080132E4.inc b/data/scripts/script_080132E4.inc deleted file mode 100644 index 78146e83..00000000 --- a/data/scripts/script_080132E4.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_080132E4 - BeginBlock - SetEntitySpeed 0x0080 - EndBlock - DoPostScriptAction 0x0001 - _0807EDD4 0x0098, 0x0058 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000002 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_0801330C.inc b/data/scripts/script_0801330C.inc deleted file mode 100644 index fd756c78..00000000 --- a/data/scripts/script_0801330C.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_0801330C - BeginBlock - SetEntitySpeed 0x0080 - EndBlock - DoPostScriptAction 0x0001 - _0807EC64 0x0020 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000002 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08013330.inc b/data/scripts/script_08013330.inc deleted file mode 100644 index e1622710..00000000 --- a/data/scripts/script_08013330.inc +++ /dev/null @@ -1,8 +0,0 @@ -SCRIPT_START script_08013330 - BeginBlock - _0807EB44 0x0000 - SetEntityPositionRelative 0x0098, 0x0070 - EndBlock - _0807E5F8 0x00000002 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_0801334C.inc b/data/scripts/script_0801334C.inc deleted file mode 100644 index f353b8f8..00000000 --- a/data/scripts/script_0801334C.inc +++ /dev/null @@ -1,13 +0,0 @@ -SCRIPT_START script_0801334C - BeginBlock - SetEntitySpeed 0x0080 - DoPostScriptAction 0x000d - EndBlock - DoPostScriptAction 0x0001 - _0807ECC4 0x0020 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x000c - _0807E5F8 0x00000002 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08013378.inc b/data/scripts/script_08013378.inc deleted file mode 100644 index 3c2a52bf..00000000 --- a/data/scripts/script_08013378.inc +++ /dev/null @@ -1,16 +0,0 @@ -SCRIPT_START script_08013378 - Call sub_0807F1C4 - Call sub_0807F2D4 - Call sub_0807F1E8 - Call sub_0807F2D4 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - PlaySound SFX_PLY_JUMP - _0807EB44 0x0004 - Call sub_0807F210 - _0807EF3C 0x0200, 0x0020 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000002 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_080133C4.inc b/data/scripts/script_080133C4.inc deleted file mode 100644 index 7b1a62fd..00000000 --- a/data/scripts/script_080133C4.inc +++ /dev/null @@ -1,14 +0,0 @@ -SCRIPT_START script_080133C4 - BeginBlock - _0807EB44 0x0004 - DoPostScriptAction 0x0007 - DoPostScriptAction 0x000b - Call sub_0807F338 - EndBlock - WaitForSomething2 0x00000008 - Call sub_08061F94 - Wait 0x000a - _0807E5F8 0x00000010 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_080133F8.inc b/data/scripts/script_080133F8.inc deleted file mode 100644 index d489dda4..00000000 --- a/data/scripts/script_080133F8.inc +++ /dev/null @@ -1,34 +0,0 @@ -SCRIPT_START script_080133F8 - BeginBlock - _0807EB44 0x0004 - DoPostScriptAction 0x0008 - DoPostScriptAction 0x000b - Call sub_0807F338 - EndBlock - WaitForSomething2 0x00000020 - SetEntityPositionRelative 0x0098, 0x0048 - Call sub_08066C94 - Wait 0x00e9 - DoPostScriptAction 0x0007 - _0807E5F8 0x00000040 - WaitForSomething2 0x00000020 - Wait 0x003c - DoPostScriptAction 0x0014 - PlaySound SFX_CHARGING_UP - CallWithArg sub_08095420, script_08013494 - Wait 0x005a - DoPostScriptAction 0x0016 - WaitForSomething2 0x00000080 - _0807E5F8 0x00000040 - WaitForSomething2 0x00000020 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000040 - WaitForSomething2 0x00000020 - Call sub_08066CA4 - DoPostScriptAction 0x0008 - Wait 0x0078 - _0807E5F8 0x00000040 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08013494.inc b/data/scripts/script_08013494.inc deleted file mode 100644 index 077f4297..00000000 --- a/data/scripts/script_08013494.inc +++ /dev/null @@ -1,18 +0,0 @@ -SCRIPT_START script_08013494 - BeginBlock - _0807E930 0x0000 - SetEntitySpeed 0x0200 - Call nullsub_527 - Call sub_08094B80 - EndBlock - Wait 0x005a - Call sub_08094B6C - _0807EDD4 0x0098, 0x0080 - BeginBlock - Call sub_08094B80 - PlaySound SFX_1CC - Call sub_0807F36C - _0807E5F8 0x00000080 - EndBlock - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_080134DC.inc b/data/scripts/script_080134DC.inc deleted file mode 100644 index 2c83e70b..00000000 --- a/data/scripts/script_080134DC.inc +++ /dev/null @@ -1,73 +0,0 @@ -SCRIPT_START script_080134DC - BeginBlock - DoPostScriptAction 0x0008 - EndBlock - BeginBlock - Call sub_0807F92C - CallWithArg sub_0806DA04, 0x00000003 - EndBlock -script_080134F8: - CheckEntityInteractType - JumpIfNot script_080134F8 - _0807E864 - Call sub_0807DF28 - StartPlayerScript script_080136D8 - WaitForSomething2 0x00000001 - CallWithArg sub_08095A1C, script_08013F04 - PlaySound SFX_ELEMENT_PLACE - Wait 0x005a - BeginBlock - PlaySound SFX_ELEMENT_FLOAT - CallWithArg sub_08095D54, script_08013E04 - CallWithArg sub_08095D54, script_08013E28 - EndBlock - WaitForSomething2 0x18000000 - BeginBlock - PlaySound SFX_ELEMENT_CHARGE - CallWithArg sub_08095D8C, script_08014054 - CallWithArg sub_08095D8C, script_08014074 - EndBlock - Wait 0x001e - BeginBlock - PlaySound SFX_1D0 - CallWithArg sub_08095D8C, script_080140DC - CallWithArg sub_08095D8C, script_08014118 - EndBlock - Wait 0x003c - CallWithArg CreateManager36, 0x00000000 - _0807E5F8 0x00000200 - WaitForSomething2 0x00002000 - PlaySound SFX_1D2 - CallWithArg sub_08095D8C, script_080141DC - CallWithArg sub_08095D8C, script_08014210 - _0807E5F8 0x00000400 - WaitForSomething2 0x00004000 - Wait 0x0078 - _0807E5F8 0x00000060 - CallWithArg DeleteManager36, 0x00000000 - Wait 0x0078 - _0807E5F8 0x00000080 - WaitForSomething2 0x00000100 - Wait 0x003c - StartPlayerScript script_08013B70 - _0807E5F8 0x00000080 - _0807F078 0x0003, 0x0001 - Call sub_0806DC3C - Call sub_0806DC58 - Call sub_0807F304 - Wait 0x003c - _0807E778 0x0004 - DoFade7 - PlaySound SFX_EVAPORATE - WaitFor_2 - Wait 0x003c - _0807E5F8 0x00000010 - _0807E778 0x0002 - DoFade6 - WaitFor_2 - PlaySound SFX_109 - MessageFromTargetPos 0x0503, 0x000c - WaitUntilTextboxCloses - _0807E5F8 0x00040000 - CallWithArg CreateManager36, 0x00000001 - _0807F0C8 0xffff, 0x0000 diff --git a/data/scripts/script_08013650.inc b/data/scripts/script_08013650.inc deleted file mode 100644 index 9e6b1d46..00000000 --- a/data/scripts/script_08013650.inc +++ /dev/null @@ -1,23 +0,0 @@ -SCRIPT_START script_08013650 - Call sub_0807F3F8 - Wait 0x003c - _0807F0B4 0x0007 - SetEntityPositionRelative 0x00e8, 0x00a8 - CameraTargetEntity - Wait 0x003c - _0807E5F8 0x00000004 - Wait 0x0078 - CallWithArg DeleteManager36, 0x00000001 - _0807F0C8 0x0000, 0x0000 - StartPlayerScript script_080136B4 - WaitForSomething2 0x00000002 - _0807EB28 0x1501 - WaitUntilTextboxCloses - _0807F0B4 0x0004 - CameraTargetPlayer - SetLocalFlag 0x007a - Call sub_08053250 - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_080136B4.inc b/data/scripts/script_080136B4.inc deleted file mode 100644 index 3cd43738..00000000 --- a/data/scripts/script_080136B4.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_080136B4 - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - _0807EDD4 0x00e8, 0x00a8 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000002 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_080136D8.inc b/data/scripts/script_080136D8.inc deleted file mode 100644 index bd7e8f9c..00000000 --- a/data/scripts/script_080136D8.inc +++ /dev/null @@ -1,17 +0,0 @@ -SCRIPT_START script_080136D8 - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - Call sub_0807F584 - JumpTable script_080136F0, script_080136FA, script_08013704, script_080136FA -script_080136F0: - CallWithArg sub_0807F464, 0x000000d0 -script_080136FA: - CallWithArg sub_0807F4F8, 0x00000124 -script_08013704: - _0807EDD4 0x00e8, 0x0124 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_08013720.inc b/data/scripts/script_08013720.inc deleted file mode 100644 index 1f7bb597..00000000 --- a/data/scripts/script_08013720.inc +++ /dev/null @@ -1,81 +0,0 @@ -SCRIPT_START script_08013720 - BeginBlock - DoPostScriptAction 0x0008 - EndBlock - BeginBlock - Call sub_0807F92C - CallWithArg sub_0806DA04, 0x00000003 - EndBlock -script_0801373C: - CheckEntityInteractType - JumpIfNot script_0801373C - _0807E864 - Call sub_0807DF28 - StartPlayerScript script_080136D8 - WaitForSomething2 0x00000001 - CallWithArg sub_08095A1C, script_08013F34 - PlaySound SFX_ELEMENT_PLACE - Wait 0x005a - BeginBlock - PlaySound SFX_ELEMENT_FLOAT - CallWithArg sub_08095D54, script_08013E4C - EndBlock - WaitForSomething2 0x20000000 - BeginBlock - PlaySound SFX_ELEMENT_CHARGE - CallWithArg sub_08095D8C, script_08014054 - CallWithArg sub_08095D8C, script_08014074 - CallWithArg sub_08095D8C, script_08014094 - EndBlock - Wait 0x001e - BeginBlock - PlaySound SFX_1D0 - CallWithArg sub_08095D8C, script_080140DC - CallWithArg sub_08095D8C, script_08014118 - CallWithArg sub_08095D8C, script_08014154 - EndBlock - Wait 0x003c - CallWithArg CreateManager36, 0x00000000 - _0807E5F8 0x00000200 - WaitForSomething2 0x00002000 - PlaySound SFX_1D2 - CallWithArg sub_08095D8C, script_080141DC - CallWithArg sub_08095D8C, script_08014210 - _0807E5F8 0x00000400 - WaitForSomething2 0x00004000 - _0807E5F8 0x00000800 - WaitForSomething2 0x00008000 - Wait 0x0078 - _0807E5F8 0x00000060 - CallWithArg DeleteManager36, 0x00000000 - Wait 0x0078 - _0807E5F8 0x00000080 - WaitForSomething2 0x00000100 - Wait 0x003c - StartPlayerScript script_08013B70 - _0807E5F8 0x00000080 - _0807F078 0x0004, 0x0001 - Call sub_0806DC3C - Call sub_0806DC58 - Call sub_0807F304 - Wait 0x003c - _0807E778 0x0004 - DoFade7 - PlaySound SFX_EVAPORATE - WaitFor_2 - Wait 0x003c - _0807E5F8 0x00000010 - _0807E778 0x0002 - DoFade6 - WaitFor_2 - PlaySound SFX_109 - MessageFromTargetPos 0x0504, 0x000c - WaitUntilTextboxCloses - _0807E5F8 0x00040000 - SetLocalFlag 0x007b - Call sub_08053250 - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_080138B4.inc b/data/scripts/script_080138B4.inc deleted file mode 100644 index 2cbc2caf..00000000 --- a/data/scripts/script_080138B4.inc +++ /dev/null @@ -1,97 +0,0 @@ -SCRIPT_START script_080138B4 - BeginBlock - DoPostScriptAction 0x0008 - EndBlock - BeginBlock - Call sub_0807F92C - CallWithArg sub_0806DA04, 0x00000003 - EndBlock -script_080138D0: - CheckEntityInteractType - JumpIfNot script_080138D0 - _0807E864 - Call sub_0807DF28 - StartPlayerScript script_080136D8 - WaitForSomething2 0x00000001 - CallWithArg sub_08095A1C, script_08013F64 - PlaySound SFX_ELEMENT_PLACE - Wait 0x005a - BeginBlock - PlaySound SFX_ELEMENT_FLOAT - CallWithArg sub_08095D54, script_08013E70 - EndBlock - WaitForSomething2 0x40000000 - BeginBlock - PlaySound SFX_ELEMENT_CHARGE - CallWithArg sub_08095D8C, script_08014054 - CallWithArg sub_08095D8C, script_08014074 - CallWithArg sub_08095D8C, script_08014094 - CallWithArg sub_08095D8C, script_080140B8 - EndBlock - Wait 0x001e - BeginBlock - PlaySound SFX_1D0 - CallWithArg sub_08095D8C, script_080140DC - CallWithArg sub_08095D8C, script_08014118 - CallWithArg sub_08095D8C, script_08014154 - CallWithArg sub_08095D8C, script_08014198 - EndBlock - Wait 0x003c - CallWithArg CreateManager36, 0x00000000 - _0807E5F8 0x00000200 - WaitForSomething2 0x00002000 - PlaySound SFX_1D2 - CallWithArg sub_08095D8C, script_080141DC - CallWithArg sub_08095D8C, script_08014210 - _0807E5F8 0x00000400 - WaitForSomething2 0x00004000 - _0807E5F8 0x00000800 - WaitForSomething2 0x00008000 - _0807E5F8 0x00001000 - WaitForSomething2 0x00010000 - Wait 0x0078 - _0807E5F8 0x00000060 - CallWithArg DeleteManager36, 0x00000000 - Wait 0x0078 - _0807E5F8 0x00000080 - WaitForSomething2 0x00000100 - Wait 0x003c - StartPlayerScript script_08013BA8 - _0807E5F8 0x00000080 - _0807F078 0x0006, 0x0001 - Call sub_0807AEE4 - Call sub_0806DC3C - Call sub_0806DC58 - Call sub_0807F304 - Wait 0x003c - _0807E778 0x0004 - DoFade7 - PlaySound SFX_EVAPORATE - WaitFor_2 - Wait 0x003c - _0807E5F8 0x00000010 - _0807E778 0x0002 - DoFade6 - WaitFor_2 - PlaySound SFX_109 - MessageFromTargetPos 0x0505, 0x000c - WaitUntilTextboxCloses - _0807E5F8 0x00040000 -.ifndef EU - _0807F0B4 0x0002 - SetEntityPositionRelative 0x00e8, 0x00d8 - CameraTargetEntity -.endif - Call sub_0806DC3C - CallWithArg sub_0807F244, 0x00010001 - CallWithArg sub_0807F29C, gUnk_080049FE - Wait 0x00c8 - CallWithArg sub_0807F29C, 0x00000000 - Call sub_0806DC58 -script_08013A8E: -.ifndef EU - CheckRoomFlag 0x0004 - JumpIfNot script_08013A8E -.endif - CallWithArg CreateManager36, 0x00000001 - _0807F0C8 0xffff, 0x0000 diff --git a/data/scripts/script_08013AA6.inc b/data/scripts/script_08013AA6.inc deleted file mode 100644 index a34b2009..00000000 --- a/data/scripts/script_08013AA6.inc +++ /dev/null @@ -1,34 +0,0 @@ -SCRIPT_START script_08013AA6 - Call sub_0807F3F8 - Wait 0x003c -.ifdef EU - _0807F0B4 0x0007 - SetEntityPositionRelative 0x00e8, 0x00a8 - CameraTargetEntity - Wait 0x003c -.endif - _0807E5F8 0x00000008 - Wait 0x0078 - CallWithArg DeleteManager36, 0x00000001 - _0807F0C8 0x0000, 0x0000 - Wait 0x003c - _0807F0B4 0x0004 - SetEntityPositionRelative 0x00e8, 0x0050 - CameraTargetEntity - Wait 0x003c - LoadRoomEntityList gUnk_080F55D8 - Wait 0x0078 - _0807F0B4 0x0007 - MoveEntityToPlayer - CameraTargetEntity - Wait 0x003c - _0807EB28 0x1502 - WaitUntilTextboxCloses - _0807F0B4 0x0004 - CameraTargetPlayer - SetLocalFlag 0x007c - Call sub_08053250 - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08013B18.inc b/data/scripts/script_08013B18.inc deleted file mode 100644 index 871595af..00000000 --- a/data/scripts/script_08013B18.inc +++ /dev/null @@ -1,24 +0,0 @@ -SCRIPT_START script_08013B18 - BeginBlock - DoPostScriptAction 0x0008 -script_08013B1E: - EndBlock - BeginBlock - CallWithArg sub_0807F6B4, 0x000001c8 - JumpIfNot script_08013B1E - CheckInventory1 0x0006 - JumpIfNot script_08013B1E - CheckLocalFlag 0x0078 - JumpIf script_08013B1E - EndBlock - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - _0807EB28 0x1507 - WaitUntilTextboxCloses - StartPlayerScript script_08010A14 - WaitForSomething2 0x00000001 - Call sub_0807DF50 - _0807E878 - Jump script_08013B1E - .2byte 0x0000 diff --git a/data/scripts/script_08013B70.inc b/data/scripts/script_08013B70.inc deleted file mode 100644 index 15c75a3c..00000000 --- a/data/scripts/script_08013B70.inc +++ /dev/null @@ -1,12 +0,0 @@ -SCRIPT_START script_08013B70 - PlaySound SFX_1D3 - CallWithArg sub_0807F238, 0x000008bf - Call sub_08096028 - Wait 0x003c - _0807E5F8 0x00020000 - Call sub_0807F304 - Wait 0x0078 - WaitForSomething2 0x00040000 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08013BA8.inc b/data/scripts/script_08013BA8.inc deleted file mode 100644 index dd34bd58..00000000 --- a/data/scripts/script_08013BA8.inc +++ /dev/null @@ -1,12 +0,0 @@ -SCRIPT_START script_08013BA8 - CallWithArg sub_08095E7C, script_08014248 - PlaySound SFX_1D3 - CallWithArg sub_0807F238, 0x000008e3 - Call sub_08096028 - Wait 0x0078 - _0807E5F8 0x00020000 - Call sub_0807F304 - Wait 0x0078 - WaitForSomething2 0x00040000 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_08013BE8.inc b/data/scripts/script_08013BE8.inc deleted file mode 100644 index 61fa4b10..00000000 --- a/data/scripts/script_08013BE8.inc +++ /dev/null @@ -1,60 +0,0 @@ -SCRIPT_START script_08013BE8 - BeginBlock - CheckLocalFlag 0x007a - JumpIf script_08013C2A - CheckInventory1 0x0003 - JumpIf script_08013C2A - CheckInventory1 0x0002 - JumpIfNot script_08013C98 - CheckInventory1 0x0040 - JumpIfNot script_08013C98 - CheckInventory1 0x0041 - JumpIfNot script_08013C98 - EndBlock - DoPostScriptAction 0x0008 - WaitForSomething2 0x00000004 - _0807E908 0x0002 - PlaySound SFX_134 - Jump script_08013C32 -script_08013C2A: - CheckLocalFlag 0x007c - JumpIf script_08013C98 -script_08013C32: - BeginBlock - DoPostScriptAction 0x0007 - Call sub_0807F934 - DoPostScriptAction 0x000a - CallWithArg sub_080962F8, 0x00000000 -.ifndef EU - CallWithArg sub_0807F8E8, 0x00000004 -.endif - EndBlock -script_08013C58: - EndBlock - BeginBlock - TestBit 0x00000008 - JumpIf script_08013C92 - CheckEntityInteractType - JumpIfNot script_08013C58 - EndBlock - _0807E864 - _0807EB74 - CheckLocalFlag 0x007d - JumpIf script_08013C82 - _0807EB28 0x1501 - Jump script_08013C86 -script_08013C82: - _0807EB28 0x1506 -script_08013C86: - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_08013C58 -script_08013C92: - EndBlock - _0807E908 0x0004 -script_08013C98: - DoPostScriptAction 0x0008 - DoPostScriptAction 0x0006 -SCRIPT_END - .align 2, 0 diff --git a/data/scripts/script_08013CA4.inc b/data/scripts/script_08013CA4.inc deleted file mode 100644 index a04b072e..00000000 --- a/data/scripts/script_08013CA4.inc +++ /dev/null @@ -1,25 +0,0 @@ -SCRIPT_START script_08013CA4 - EndBlock -script_08013CA6: - CheckPlayerInRegion 0x00e8, 0x01e8, 0x4080 - JumpIfNot script_08013CA6 - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - Call sub_0807F3F8 - Wait 0x003c - _0807F0B4 0x0001 - SetEntityPositionRelative 0x00e8, 0x0138 - CameraTargetEntity - Call sub_0807F5C0 - Wait 0x0078 - _0807F0B4 0x0004 - CameraTargetPlayer - Call sub_0807F5C0 - _0807EB28 0x1504 - WaitUntilTextboxCloses - SetLocalFlag 0x0079 - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08013D04.inc b/data/scripts/script_08013D04.inc deleted file mode 100644 index c18da600..00000000 --- a/data/scripts/script_08013D04.inc +++ /dev/null @@ -1,16 +0,0 @@ -SCRIPT_START script_08013D04 - BeginBlock - Call sub_0807F92C - DoPostScriptAction 0x0008 - CallWithArg sub_0806DA04, 0x00000004 - EndBlock -script_08013D1C: - CheckEntityInteractType - JumpIfNot script_08013D1C - CallWithArg sub_08095D54, 0x00000000 - PlaySound SFX_ELEMENT_PLACE - _0807E5F8 0x08000000 - Call sub_080791BC - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08013D44.inc b/data/scripts/script_08013D44.inc deleted file mode 100644 index b2035e0e..00000000 --- a/data/scripts/script_08013D44.inc +++ /dev/null @@ -1,16 +0,0 @@ -SCRIPT_START script_08013D44 - BeginBlock - Call sub_0807F92C - DoPostScriptAction 0x0008 - CallWithArg sub_0806DA04, 0x00000004 - EndBlock -script_08013D5C: - CheckEntityInteractType - JumpIfNot script_08013D5C - CallWithArg sub_08095D54, 0x00000001 - PlaySound SFX_ELEMENT_PLACE - _0807E5F8 0x10000000 - Call sub_080791BC - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08013D84.inc b/data/scripts/script_08013D84.inc deleted file mode 100644 index 99a81862..00000000 --- a/data/scripts/script_08013D84.inc +++ /dev/null @@ -1,16 +0,0 @@ -SCRIPT_START script_08013D84 - BeginBlock - Call sub_0807F92C - DoPostScriptAction 0x0008 - CallWithArg sub_0806DA04, 0x00000004 - EndBlock -script_08013D9C: - CheckEntityInteractType - JumpIfNot script_08013D9C - CallWithArg sub_08095D54, 0x00000002 - PlaySound SFX_ELEMENT_PLACE - _0807E5F8 0x20000000 - Call sub_080791BC - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08013DC4.inc b/data/scripts/script_08013DC4.inc deleted file mode 100644 index dbac7069..00000000 --- a/data/scripts/script_08013DC4.inc +++ /dev/null @@ -1,16 +0,0 @@ -SCRIPT_START script_08013DC4 - BeginBlock - Call sub_0807F92C - DoPostScriptAction 0x0008 - CallWithArg sub_0806DA04, 0x00000004 - EndBlock -script_08013DDC: - CheckEntityInteractType - JumpIfNot script_08013DDC - CallWithArg sub_08095D54, 0x00000003 - PlaySound SFX_ELEMENT_PLACE - _0807E5F8 0x40000000 - Call sub_080791BC - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08013E04.inc b/data/scripts/script_08013E04.inc deleted file mode 100644 index 47abff69..00000000 --- a/data/scripts/script_08013E04.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_08013E04 - BeginBlock - DoPostScriptAction 0x0007 - _0807E930 0x0000 - EndBlock - SetEntitySpeed 0x0080 - _0807EDD4 0x00b0, 0x00f8 - _0807E930 0x0001 - _0807E5F8 0x08000000 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08013E28.inc b/data/scripts/script_08013E28.inc deleted file mode 100644 index e996cf56..00000000 --- a/data/scripts/script_08013E28.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_08013E28 - BeginBlock - DoPostScriptAction 0x0007 - _0807E930 0x0002 - EndBlock - SetEntitySpeed 0x0080 - _0807EDD4 0x0120, 0x00f8 - _0807E930 0x0003 - _0807E5F8 0x10000000 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08013E4C.inc b/data/scripts/script_08013E4C.inc deleted file mode 100644 index 7180dae7..00000000 --- a/data/scripts/script_08013E4C.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_08013E4C - BeginBlock - DoPostScriptAction 0x0007 - _0807E930 0x0004 - EndBlock - SetEntitySpeed 0x0080 - _0807EDD4 0x0120, 0x0168 - _0807E930 0x0005 - _0807E5F8 0x20000000 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08013E70.inc b/data/scripts/script_08013E70.inc deleted file mode 100644 index fb6a48c8..00000000 --- a/data/scripts/script_08013E70.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_08013E70 - BeginBlock - DoPostScriptAction 0x0007 - _0807E930 0x0006 - EndBlock - SetEntitySpeed 0x0080 - _0807EDD4 0x00b0, 0x0168 - _0807E930 0x0007 - _0807E5F8 0x40000000 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08013E94.inc b/data/scripts/script_08013E94.inc deleted file mode 100644 index 6da73541..00000000 --- a/data/scripts/script_08013E94.inc +++ /dev/null @@ -1,9 +0,0 @@ -SCRIPT_START script_08013E94 - BeginBlock - DoPostScriptAction 0x0007 - Call sub_0807F180 - SetEntityPositionRelative 0x00b0, 0x00f8 - _0807E930 0x0001 - EndBlock -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08013EB0.inc b/data/scripts/script_08013EB0.inc deleted file mode 100644 index f02fef23..00000000 --- a/data/scripts/script_08013EB0.inc +++ /dev/null @@ -1,9 +0,0 @@ -SCRIPT_START script_08013EB0 - BeginBlock - DoPostScriptAction 0x0007 - Call sub_0807F180 - SetEntityPositionRelative 0x0120, 0x00f8 - _0807E930 0x0003 - EndBlock -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08013ECC.inc b/data/scripts/script_08013ECC.inc deleted file mode 100644 index 4ea11b20..00000000 --- a/data/scripts/script_08013ECC.inc +++ /dev/null @@ -1,9 +0,0 @@ -SCRIPT_START script_08013ECC - BeginBlock - DoPostScriptAction 0x0007 - Call sub_0807F180 - SetEntityPositionRelative 0x0120, 0x0168 - _0807E930 0x0005 - EndBlock -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08013EE8.inc b/data/scripts/script_08013EE8.inc deleted file mode 100644 index 924a762e..00000000 --- a/data/scripts/script_08013EE8.inc +++ /dev/null @@ -1,9 +0,0 @@ -SCRIPT_START script_08013EE8 - BeginBlock - DoPostScriptAction 0x0007 - Call sub_0807F180 - SetEntityPositionRelative 0x00b0, 0x0168 - _0807E930 0x0007 - EndBlock -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08013F04.inc b/data/scripts/script_08013F04.inc deleted file mode 100644 index 7b5162e1..00000000 --- a/data/scripts/script_08013F04.inc +++ /dev/null @@ -1,13 +0,0 @@ -SCRIPT_START script_08013F04 - BeginBlock - DoPostScriptAction 0x0007 - _0807E930 0x0008 - EndBlock - WaitForSomething2 0x00000080 - _0807E930 0x000b - Call sub_0807F2D4 - _0807E5F8 0x00000100 - WaitForSomething2 0x00000080 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08013F34.inc b/data/scripts/script_08013F34.inc deleted file mode 100644 index 9646a835..00000000 --- a/data/scripts/script_08013F34.inc +++ /dev/null @@ -1,13 +0,0 @@ -SCRIPT_START script_08013F34 - BeginBlock - DoPostScriptAction 0x0007 - _0807E930 0x0009 - EndBlock - WaitForSomething2 0x00000080 - _0807E930 0x000c - Call sub_0807F2D4 - _0807E5F8 0x00000100 - WaitForSomething2 0x00000080 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08013F64.inc b/data/scripts/script_08013F64.inc deleted file mode 100644 index 3bdd29ac..00000000 --- a/data/scripts/script_08013F64.inc +++ /dev/null @@ -1,13 +0,0 @@ -SCRIPT_START script_08013F64 - BeginBlock - DoPostScriptAction 0x0007 - _0807E930 0x000a - EndBlock - WaitForSomething2 0x00000080 - _0807E930 0x000d - Call sub_0807F2D4 - _0807E5F8 0x00000100 - WaitForSomething2 0x00000080 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08013F94.inc b/data/scripts/script_08013F94.inc deleted file mode 100644 index a44e8e88..00000000 --- a/data/scripts/script_08013F94.inc +++ /dev/null @@ -1,27 +0,0 @@ -SCRIPT_START script_08013F94 - BeginBlock - DoPostScriptAction 0x0008 - EndBlock - CheckLocalFlag 0x007d - JumpIf script_08013FE0 -script_08013FA4: - EndBlock - BeginBlock - CheckInventory1 0x0003 - JumpIfNot script_08013FA4 - CheckPlayerFlags 0x00400000 - JumpIfNot script_08013FA4 - EndBlock - Call sub_0807FA40 - _0807E888 - Call sub_0807DF38 - Wait 0x0078 - _0807EB28 0x1505 - WaitUntilTextboxCloses - SetLocalFlag 0x007d - Call sub_0807DF50 - _0807E878 -script_08013FE0: - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08013FE8.inc b/data/scripts/script_08013FE8.inc deleted file mode 100644 index 6b33e01b..00000000 --- a/data/scripts/script_08013FE8.inc +++ /dev/null @@ -1,32 +0,0 @@ -SCRIPT_START script_08013FE8 - BeginBlock - DoPostScriptAction 0x0008 - EndBlock -script_08013FF0: - EndBlock - BeginBlock - CheckLocalFlag 0x007d - JumpIf script_0801404C - CheckLocalFlag 0x007a - JumpIfNot script_08013FF0 - CheckInventory1 0x0003 - JumpIfNot script_08013FF0 - CallWithArg sub_0807F6B4, 0x000000d0 - JumpIfNot script_08013FF0 - EndBlock - Call sub_0807F9A4 - BeginBlock - _0807E864 - Call sub_0807DF28 - EndBlock - _0807EB28 0x1508 - WaitUntilTextboxCloses - StartPlayerScript script_08010A14 - WaitForSomething2 0x00000001 - Call sub_0807DF50 - _0807E878 - Jump script_08013FF0 -script_0801404C: - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08014054.inc b/data/scripts/script_08014054.inc deleted file mode 100644 index 52fc4e4f..00000000 --- a/data/scripts/script_08014054.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_08014054 - BeginBlock - DoPostScriptAction 0x0007 - _0807E930 0x0000 - Call sub_0807F738 - EndBlock - WaitForSomething 0x00000040 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08014074.inc b/data/scripts/script_08014074.inc deleted file mode 100644 index 94ac4516..00000000 --- a/data/scripts/script_08014074.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_08014074 - BeginBlock - DoPostScriptAction 0x0007 - _0807E930 0x0001 - Call sub_0807F738 - EndBlock - WaitForSomething 0x00000040 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08014094.inc b/data/scripts/script_08014094.inc deleted file mode 100644 index ba91ee5c..00000000 --- a/data/scripts/script_08014094.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_08014094 - BeginBlock - DoPostScriptAction 0x0007 - _0807E930 0x0002 - Call sub_0807F738 - OffsetEntityPosition 0x0000, 0xfff0 - EndBlock - WaitForSomething 0x00000040 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_080140B8.inc b/data/scripts/script_080140B8.inc deleted file mode 100644 index 200930ac..00000000 --- a/data/scripts/script_080140B8.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_080140B8 - BeginBlock - DoPostScriptAction 0x0007 - _0807E930 0x0003 - Call sub_0807F738 - OffsetEntityPosition 0x0000, 0xfff0 - EndBlock - WaitForSomething 0x00000040 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_080140DC.inc b/data/scripts/script_080140DC.inc deleted file mode 100644 index 14d92521..00000000 --- a/data/scripts/script_080140DC.inc +++ /dev/null @@ -1,15 +0,0 @@ -SCRIPT_START script_080140DC - BeginBlock - DoPostScriptAction 0x0007 - _0807E930 0x0004 - EndBlock - WaitForSomething2 0x00000200 - _0807E930 0x0008 - Call sub_0807F2D4 - _0807E930 0x000c - _0807E5F8 0x00002000 - WaitForSomething 0x00000020 - _0807E930 0x0010 - Call sub_0807F2D4 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08014118.inc b/data/scripts/script_08014118.inc deleted file mode 100644 index 3576334e..00000000 --- a/data/scripts/script_08014118.inc +++ /dev/null @@ -1,15 +0,0 @@ -SCRIPT_START script_08014118 - BeginBlock - DoPostScriptAction 0x0007 - _0807E930 0x0005 - EndBlock - WaitForSomething2 0x00000400 - _0807E930 0x0009 - Call sub_0807F2D4 - _0807E930 0x000d - _0807E5F8 0x00004000 - WaitForSomething 0x00000020 - _0807E930 0x0011 - Call sub_0807F2D4 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08014154.inc b/data/scripts/script_08014154.inc deleted file mode 100644 index 175080d4..00000000 --- a/data/scripts/script_08014154.inc +++ /dev/null @@ -1,17 +0,0 @@ -SCRIPT_START script_08014154 - BeginBlock - DoPostScriptAction 0x0007 - _0807E930 0x0006 - OffsetEntityPosition 0x0000, 0xfff0 - EndBlock - WaitForSomething2 0x00000800 - _0807E930 0x000a - Call sub_0807F2D4 - _0807E930 0x000e - _0807E5F8 0x00008000 - WaitForSomething 0x00000020 - _0807E930 0x0012 - Call sub_0807F2D4 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08014198.inc b/data/scripts/script_08014198.inc deleted file mode 100644 index 23954b49..00000000 --- a/data/scripts/script_08014198.inc +++ /dev/null @@ -1,17 +0,0 @@ -SCRIPT_START script_08014198 - BeginBlock - DoPostScriptAction 0x0007 - _0807E930 0x0007 - OffsetEntityPosition 0x0000, 0xfff0 - EndBlock - WaitForSomething2 0x00001000 - _0807E930 0x000b - Call sub_0807F2D4 - _0807E930 0x000f - _0807E5F8 0x00010000 - WaitForSomething 0x00000020 - _0807E930 0x0013 - Call sub_0807F2D4 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_080141DC.inc b/data/scripts/script_080141DC.inc deleted file mode 100644 index cdb648e7..00000000 --- a/data/scripts/script_080141DC.inc +++ /dev/null @@ -1,13 +0,0 @@ -SCRIPT_START script_080141DC - BeginBlock - DoPostScriptAction 0x0007 - _0807E930 0x0014 - Call sub_0807F714 - CallWithArg sub_0807F994, 0x0000fffc - EndBlock - WaitForSomething 0x00000020 - Wait 0x0078 - Call sub_0807F2D4 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08014210.inc b/data/scripts/script_08014210.inc deleted file mode 100644 index 4119ab95..00000000 --- a/data/scripts/script_08014210.inc +++ /dev/null @@ -1,13 +0,0 @@ -SCRIPT_START script_08014210 - BeginBlock - DoPostScriptAction 0x0007 - _0807E930 0x0015 - Call sub_0807F714 - Call sub_0807F714 - CallWithArg sub_0807F994, 0x0000fffc - EndBlock - WaitForSomething 0x00000020 - Wait 0x0078 - Call sub_0807F2D4 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08014248.inc b/data/scripts/script_08014248.inc deleted file mode 100644 index b0ec2caf..00000000 --- a/data/scripts/script_08014248.inc +++ /dev/null @@ -1,33 +0,0 @@ -SCRIPT_START script_08014248 - TestBit 0x00020000 - JumpIf script_08014264 - Wait 0x0008 - CallWithArg sub_08095EAC, 0x00000000 - Jump script_08014248 -script_08014264: - CallWithArg sub_08095EAC, 0x00000001 - Jump script_08014264 - .align 2, 0 - -.ifndef EU -SCRIPT_START script_08014274 - BeginBlock - DoPostScriptAction 0x0008 - EndBlock -script_0801427C: - CheckLocalFlag 0x0078 - JumpIfNot script_0801427C - BeginBlock - Call sub_0807F934 - CallWithArg sub_0806DA04, 0x00000008 - EndBlock -script_08014298: - CheckEntityInteractType - JumpIfNot script_08014298 - _0807E864 - MessageFromTargetPos 0x0647, 0x000c - WaitUntilTextboxCloses - _0807E878 - Jump script_08014298 - .2byte 0x0000 -.endif diff --git a/data/scripts/script_080142B0.inc b/data/scripts/script_080142B0.inc deleted file mode 100644 index 7a9188ad..00000000 --- a/data/scripts/script_080142B0.inc +++ /dev/null @@ -1,63 +0,0 @@ -SCRIPT_START script_080142B0 - BeginBlock - CheckLocalFlag 0x0054 - JumpIf script_08014382 - CheckLocalFlag 0x0053 - JumpIf script_08014330 - EndBlock -script_080142C4: - EndBlock - BeginBlock - _0807E564 - JumpIfNot script_080142C4 - CheckPlayerInRegion 0x0098, 0x0058, 0x1818 - JumpIfNot script_080142C4 - EndBlock - _0807E864 - SetLocalFlag 0x0053 - Wait 0x0014 - _0807E908 0x0004 - Call sub_080654DC - Wait 0x001e - _0807E930 0x0001 - Wait 0x000a - _0807E930 0x0003 - Wait 0x000a - _0807E930 0x0001 - Wait 0x000a - _0807E930 0x0003 - Wait 0x000a - _0807E930 0x0002 - Wait 0x001e - MessageNoOverlap 0x2c12 - WaitUntilTextboxCloses - Wait 0x0014 - _0807E930 0x0004 - _0807E878 - _0807E908 0x0001 -script_08014330: - EndBlock - BeginBlock - _0807E564 - JumpIf script_08014330 - EntityHasHeight - JumpIf script_08014330 - CheckPlayerInRegion 0x00c0, 0x0068, 0x1010 - JumpIfNot script_08014330 - EndBlock - _0807E864 - SetLocalFlag 0x0054 - Wait 0x005a - _0807E908 0x0004 - Call sub_080654EC - Wait 0x001e - _0807E930 0x0001 - Wait 0x001e - MessageNoOverlap 0x2c13 - WaitUntilTextboxCloses - Wait 0x0014 - _0807E930 0x0004 - _0807E908 0x0001 - _0807E878 -script_08014382: -SCRIPT_END diff --git a/data/scripts/script_08014384.inc b/data/scripts/script_08014384.inc deleted file mode 100644 index ac5a30fe..00000000 --- a/data/scripts/script_08014384.inc +++ /dev/null @@ -1,22 +0,0 @@ -SCRIPT_START script_08014384 - EndBlock - _0807E864 - WaitUntilTextboxCloses - _0807E3E8 - JumpIfNot script_080143AC - Wait 0x001e - Call sub_08065370 - JumpIfNot script_080143AC - Wait 0x003c - WaitUntilTextboxCloses - _0807EB8C - Wait 0x001e - MessageNoOverlapVar -script_080143AC: - WaitUntilTextboxCloses - Wait 0x001e - _0807E930 0x0004 - _0807E908 0x0001 - _0807E878 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_080143C0.inc b/data/scripts/script_080143C0.inc deleted file mode 100644 index a47c473e..00000000 --- a/data/scripts/script_080143C0.inc +++ /dev/null @@ -1,41 +0,0 @@ -SCRIPT_START script_080143C0 - EndBlock - _0807E864 - Call sub_0807DF28 - Call sub_080654FC - _0807E930 0x0001 - Call sub_080654EC - Wait 0x003c - MessageNoOverlap 0x2c16 - WaitUntilTextboxCloses - _0807E3E8 - JumpIf script_080143FA - SetIntVariable 0x00000002 - Call sub_08065528 - Jump script_0801443E -script_080143FA: - Call sub_080654EC - Wait 0x001e - MessageNoOverlap 0x2c18 - WaitUntilTextboxCloses - Wait 0x000a - SetIntVariable 0x00000000 - Call sub_08065528 - _0807F034 0x0036 - WaitPlayerGetItem - MessageNoOverlap 0x2c19 - WaitUntilTextboxCloses - SetIntVariable 0x00000303 - Call sub_0807F420 -.ifndef EU - Wait 0x001e - _0807EB8C - MessageNoOverlap 0x2c22 - WaitUntilTextboxCloses -.endif -script_0801443E: - _0807E930 0x0004 - _0807E908 0x0001 - Call sub_0807DF50 - _0807E878 -SCRIPT_END diff --git a/data/scripts/script_08014450.inc b/data/scripts/script_08014450.inc deleted file mode 100644 index 6888e5d0..00000000 --- a/data/scripts/script_08014450.inc +++ /dev/null @@ -1,76 +0,0 @@ -SCRIPT_START script_08014450 - BeginBlock - _0807E9D4 - _0807EB44 0x0000 - SetEntitySpeed 0x01c0 - DoPostScriptAction 0x000a - EndBlock -script_08014462: - _0807E30C - JumpIfNot script_08014462 - _0807E864 - _0807E930 0x0008 - Wait 0x0020 - _0807E930 0x0002 - MessageFromTarget 0x4202 - MessageFromTarget 0x4203 - WaitUntilTextboxCloses - _0807E3E8 - JumpIfNot script_080144F0 - DoPostScriptAction 0x0001 - Wait 0x008c - DoPostScriptAction 0x0000 - HasRupees 0x000a - JumpIf script_080144A2 - MessageFromTarget 0x4204 - Jump script_080144FC -script_080144A2: - Call sub_0806E250 - JumpIfNot script_080144B8 - MessageFromTarget 0x420b - _0807EB38 - JumpTable script_080144B8, script_080144C0 -script_080144B8: - ClearLocalFlag 0x0093 - Jump script_080144C8 -script_080144C0: - SetLocalFlag 0x0093 -.ifdef USA - SetLocalFlag 0x00d3 -.else -.ifdef DEMO_USA - SetLocalFlag 0x00d3 -.endif -.endif -script_080144C8: - ModRupees 0xfff6 - MessageFromTarget 0x420c - PlaySound SFX_10C - Wait 0x0018 - SetRoomFlag 0x0000 - SetLocalFlag 0x0092 - _0807EEF4 0x0000, 0xffa0 - Call sub_0807DF38 - Jump script_080144FC -script_080144F0: - _0807E930 0x0009 - Wait 0x003c - _0807E930 0x0002 -script_080144FC: - _0807E878 - CheckRoomFlag 0x0000 - JumpIfNot script_08014462 -.ifdef USA - _0807E9DC -.else -.ifdef DEMO_USA - _0807E9DC -.else -.ifdef DEMO_JP - _0807E9DC -.endif -.endif -.endif -SCRIPT_END - .align 2, 0 - diff --git a/data/scripts/script_0801450C.inc b/data/scripts/script_0801450C.inc deleted file mode 100644 index ef9e3619..00000000 --- a/data/scripts/script_0801450C.inc +++ /dev/null @@ -1,36 +0,0 @@ -SCRIPT_START script_0801450C - BeginBlock - _0807E9D4 - _0807EB44 0x0000 - SetEntitySpeed 0x01c0 - DoPostScriptAction 0x000a - EndBlock - _0807E864 - Call sub_0807DF28 - Call sub_0806E20C - WaitUntilTextboxCloses - Call sub_0806E23C - ClearLocalFlag 0x0093 - ClearLocalFlag 0x0092 - Call sub_0807DF50 - Jump script_080144FC - .2byte 0x0000 -SCRIPT_START script_08014548 - BeginBlock - EndBlock -script_0801454C: - CheckPlayerInRegion 0x0078, 0x0088, 0x0810 - JumpIfNot script_0801454C - CheckRoomFlag 0x0000 - JumpIfNot script_0801454C - _0807E864 - _0807EB28 0x4217 - WaitUntilTextboxCloses - StartPlayerScript script_08014588 - Wait 0x0010 - _0807E5F8 0x00000001 - WaitForSomething2 0x00000002 - _0807E878 - Jump script_0801454C -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08014588.inc b/data/scripts/script_08014588.inc deleted file mode 100644 index b9971cca..00000000 --- a/data/scripts/script_08014588.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_08014588 - EndBlock - WaitForSomething2 0x00000001 - SetEntitySpeed 0x00e0 - _0807EDD4 0x0078, 0x0078 - DoPostScriptAction 0x0000 - Wait 0x0010 - _0807E5F8 0x00000002 - Call sub_0807921C -SCRIPT_END diff --git a/data/scripts/script_080145B0.inc b/data/scripts/script_080145B0.inc deleted file mode 100644 index 0b0264e5..00000000 --- a/data/scripts/script_080145B0.inc +++ /dev/null @@ -1,29 +0,0 @@ -SCRIPT_START script_080145B0 - BeginBlock - SetEntityPositionRelative 0x01f8, 0x00e0 - CheckLocalFlag 0x005e - JumpIf script_080145E4 - EndBlock -script_080145C2: - CheckRoomFlag 0x0005 - JumpIfNot script_080145C2 - _0807E864 - ClearRoomFlag 0x0005 -.ifdef EU - Wait 0x0018 - _0807E8E4_1 - _0807EB44 0x0006 -.else - Wait 0x000c - _0807EB8C -.endif - MessageFromTargetPos 0x432e, 0x000c - WaitUntilTextboxCloses -.ifdef EU - Wait 0x0018 -.endif - _0807E878 - Jump script_080145C2 -script_080145E4: - EndBlock -SCRIPT_END diff --git a/data/scripts/script_080145E8.inc b/data/scripts/script_080145E8.inc deleted file mode 100644 index 43290291..00000000 --- a/data/scripts/script_080145E8.inc +++ /dev/null @@ -1,265 +0,0 @@ -SCRIPT_START script_080145E8 - BeginBlock - DoPostScriptAction 0x0008 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - EndBlock -script_080145F8: -.ifdef EU - CheckPlayerInRegion 0x00a8, 0x0054, 0x080c - JumpIfNot script_080145F8 - ComparePlayerAnimationState 0x0000 - JumpIfNot script_080145F8 - CheckRoomFlag 0x0009 - JumpIf script_08014632 - _0807E864 - Wait 0x0018 - _0807E8E4_3 - _0807EB44 0x0002 - MessageFromTargetPos 0x432b, 0x000c - WaitUntilTextboxCloses - Wait 0x0018 - _0807E878 - Jump script_080145F8 -script_08014632: - CheckRoomFlag 0x0000 - JumpIfNot script_08014632 - _0807E864 - Call sub_0807DF28 -script_08014642: - CheckRoomFlag 0x0009 - JumpIf script_08014642 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - Call sub_0807DF50 - _0807E878 - Jump script_080145F8 -.else - CheckRoomFlag 0x0000 - JumpIfNot script_080145F8 - _0807E864 - Call sub_0807DF28 -script_08014608: - CheckRoomFlag 0x0004 - JumpIf script_08014608 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - Call sub_0807DF50 - _0807E878 - Jump script_080145F8 -.endif - .align 2, 0 - -SCRIPT_START script_08014628 - BeginBlock - _0807E9D4 - _0807EB44 0x0004 - SetEntityDirection 0x0000 - DoPostScriptAction 0x000a - EndBlock -script_0801463A: - _0807E30C -.ifdef EU - JumpIf script_080146E2 -.else - JumpIf script_080146A0 -.endif - TestBit 0x00000004 - JumpIf script_0801477A -.ifdef EU - CheckPlayerInRegion 0x0078, 0x0078, 0x0810 - JumpIfNot script_0801463A - CheckRoomFlag 0x0009 - JumpIfNot script_0801463A - _0807E864 - _0807EB28 0x431f - WaitUntilTextboxCloses -script_0801469A: - StartPlayerScript script_080147DC - Wait 0x0010 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000001 - _0807E878 - Jump script_0801463A -script_080146E2: - _0807E864 - _0807E930 0x0008 - Wait 0x0020 - _0807E930 0x0002 - CheckGlobalFlag 0x0059 - JumpIf script_0801472E_2 - CheckRoomFlag 0x0009 - JumpIf script_080146F4 - CheckLocalFlag 0x005c - JumpIfNot script_080146FE - CheckLocalFlag 0x005e - JumpIfNot script_0801474A - CheckRoomFlag 0x0006 - JumpIf script_0801472E - CheckLocalFlag 0x005f - JumpIf script_08014720 - Call sub_08088574 - SetRoomFlag 0x000a - Jump script_0801473C -script_0801472E_2: - MessageFromTargetPos 0x432f, 0x000c - Jump script_080147CE @ TODO script_08014816 -.else - CheckRoomFlag 0x0004 - JumpIf script_08014672 - Call sub_0808861C - JumpIfNot script_0801463A - CheckLocalFlag 0x005e - JumpIf script_080146A0 - _0807E864 - _0807EB8C - MessageFromTargetPos 0x432b, 0x000c - Jump script_080147CE -script_08014672: -.ifdef DEMO_JP - Call sub_08088658 -.else -.ifdef JP - CheckPlayerInRegion 0x0078, 0x0078, 0x0810 -.else - Call sub_08088658 -.endif -.endif - JumpIfNot script_0801463A - _0807E864 - _0807EB28 0x431f - WaitUntilTextboxCloses - StartPlayerScript script_080147DC - Wait 0x0010 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000001 - _0807E878 - Jump script_0801463A -script_080146A0: - _0807E864 - _0807E930 0x0008 - Wait 0x0010 - _0807EB8C - Wait 0x0010 - _0807E930 0x0002 - CheckGlobalFlag 0x0059 - JumpIfNot script_080146C6 - MessageFromTargetPos 0x432f, 0x000c - Jump script_080147CE -script_080146C6: - CheckRoomFlag 0x0004 - JumpIf script_080146F4 - CheckLocalFlag 0x005e - JumpIfNot script_080146FE - CheckRoomFlag 0x0006 - JumpIf script_0801472E - CheckLocalFlag 0x005f - JumpIf script_08014720 - Call sub_08088574 - SetRoomFlag 0x0009 - Jump script_0801473C -.endif - -script_080146F4: - MessageFromTargetPos 0x431e, 0x000c - Jump script_080147CE -script_080146FE: -.ifdef EU - SetRoomFlag 0x000A -.else - SetRoomFlag 0x0009 -.endif - SetLocalFlag 0x005c -.ifdef EU -script_0801474A: - SetRoomFlag 0x000a -.endif - MessageFromTargetPos 0x4305, 0x000c - WaitUntilTextboxCloses - _0807E3BC 0x0001 - JumpIfNot script_080147C4 - MessageFromTargetPos 0x4306, 0x000c - Jump script_0801473C -script_08014720: -.ifdef EU - SetRoomFlag 0x000A -.else - SetRoomFlag 0x0009 -.endif - Call sub_08088504 - Jump script_0801473C -script_0801472E: -.ifdef EU - SetRoomFlag 0x000A -.else - SetRoomFlag 0x0009 -.endif - ClearRoomFlag 0x0006 - Call sub_08088544 -script_0801473C: - _0807E3E8 - JumpIfNot script_08014770 - WaitUntilTextboxCloses - _0807E3BC 0x0001 - JumpIfNot script_080147C4 - SetRoomFlag 0x0001 - Wait 0x0014 -script_08014754: - CheckRoomFlag 0x0003 - JumpIfNot script_08014754 - ClearRoomFlag 0x0003 - WaitUntilTextboxCloses -.ifdef EU - SetRoomFlag 0x0009 -.else - SetRoomFlag 0x0004 -.endif - MessageFromTargetPos 0x431e, 0x000c - Jump script_080147CE -script_08014770: -.ifdef EU - SetRoomFlag 0x000A -.else - SetRoomFlag 0x0009 -.endif - WaitUntilTextboxCloses - Jump script_080147CE -script_0801477A: - CheckRoomFlag 0x0008 - JumpIf script_080147B4 - CheckRoomFlag 0x0007 - JumpIf script_080147A4 -script_0801478A: - Call sub_08088478 - WaitUntilTextboxCloses - Call sub_080885B0 - WaitPlayerGetItem - _0807E5F8 0x00000008 - Jump script_080147CE -script_080147A4: - _0807E930 0x0009 - Wait 0x003c - _0807E930 0x0002 - Jump script_0801478A -script_080147B4: - _0807E930 0x000a - Wait 0x008c - _0807E930 0x0002 - Jump script_0801478A -script_080147C4: -.ifdef EU - SetRoomFlag 0x000A -.else - SetRoomFlag 0x0009 -.endif - MessageFromTargetPos 0x4307, 0x000c -script_080147CE: - WaitUntilTextboxCloses -.ifdef EU - Wait 0x000F -.else - Wait 0x0004 -.endif - _0807E878 - Jump script_0801463A - .align 2, 0 diff --git a/data/scripts/script_080147DC.inc b/data/scripts/script_080147DC.inc deleted file mode 100644 index d5b0ad59..00000000 --- a/data/scripts/script_080147DC.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_080147DC - EndBlock - WaitForSomething2 0x00000002 - SetEntitySpeed 0x00e0 - _0807EDD4 0x0078, 0x0068 - DoPostScriptAction 0x0000 - Wait 0x0010 - _0807E5F8 0x00000001 - Call sub_0807921C -SCRIPT_END diff --git a/data/scripts/script_08014804.inc b/data/scripts/script_08014804.inc deleted file mode 100644 index 98d12714..00000000 --- a/data/scripts/script_08014804.inc +++ /dev/null @@ -1,98 +0,0 @@ -SCRIPT_START script_08014804 - BeginBlock - _0807E9D4 - _0807EB44 0x0000 - DoPostScriptAction 0x000a - EndBlock - _0807E864 - Call sub_0807DF38 - Wait 0x0010 - CheckLocalFlag 0x0093 - JumpIf script_080148B6 - MessageFromTargetPos 0x4215, 0x000c - _0807E878 -script_0801482E: - TestBit 0x00000001 - JumpIf script_08014862 - TestBit 0x00000004 - JumpIf script_08014878 - _0807E30C - JumpIfNot script_0801482E - _0807E864 - _0807E930 0x0008 - Wait 0x0020 - _0807E930 0x0002 - MessageFromTargetPos 0x4215, 0x000c - _0807E878 - Jump script_0801482E -script_08014862: - _0807E930 0x0008 - Wait 0x0020 - _0807E930 0x0002 - _0807E5F8 0x00000002 - Jump script_0801482E -script_08014878: - _0807E930 0x0009 - Wait 0x003c - _0807E930 0x0002 - _0807E5F8 0x00000008 - Jump script_0801482E -script_0801488E: - TestBit 0x00000001 - JumpIf script_080148C2 - TestBit 0x00000004 - JumpIf script_080148D8 - _0807E30C - JumpIfNot script_0801488E - _0807E864 - _0807E930 0x0008 - Wait 0x0020 - _0807E930 0x0002 -script_080148B6: - MessageFromTargetPos 0x4216, 0x000c - _0807E878 - Jump script_0801488E -script_080148C2: - _0807E930 0x0008 - Wait 0x0020 - _0807E930 0x0002 - _0807E5F8 0x00000002 - Jump script_0801488E -script_080148D8: - _0807E930 0x0009 - Wait 0x003c - _0807E930 0x0002 - _0807E5F8 0x00000008 - Jump script_0801488E - .2byte 0x0000 -SCRIPT_START script_080148F0 - BeginBlock - EndBlock -script_080148F4: - CheckRoomFlag 0x0000 - JumpIfNot script_080148F4 - ClearRoomFlag 0x0000 - Call sub_0806E140 - JumpIfNot script_08014932 - WaitUntilTextboxCloses - _0807E3E8 - JumpIfNot script_08014938 - _0807E864 - _0807E5F8 0x00000001 - WaitForSomething2 0x00000002 - Call sub_0806E1E0 - WaitUntilTextboxCloses - Wait 0x0018 - _0807E878 - Jump script_080148F4 -script_08014932: - WaitUntilTextboxCloses - Jump script_08014938 -script_08014938: - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - Call sub_0806E1FC - Wait 0x001e - Call sub_0807DF50 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08014958.inc b/data/scripts/script_08014958.inc deleted file mode 100644 index d4ae69ff..00000000 --- a/data/scripts/script_08014958.inc +++ /dev/null @@ -1,40 +0,0 @@ -SCRIPT_START script_08014958 - BeginBlock - Call sub_0806C870 - DoPostScriptAction 0x000a - CheckGlobalFlag 0x0058 - JumpIf script_08014976 - _0807EB44 0x0004 - SetEntityPositionRelative 0x0078, 0x0128 -script_08014976: - EndBlock -script_08014978: - _0807E30C - JumpIfNot script_08014978 - _0807E864 - _0807EB74 - Call sub_0806C90C - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_08014978 -SCRIPT_START script_08014994 - BeginBlock - Call sub_0806C870 - DoPostScriptAction 0x000a - CheckGlobalFlag 0x0058 - JumpIfNot script_080149C6 - EndBlock -script_080149AA: - _0807E30C - JumpIfNot script_080149AA - _0807E864 - _0807EB74 - Call sub_0806C90C - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_080149AA -script_080149C6: - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_080149CC.inc b/data/scripts/script_080149CC.inc deleted file mode 100644 index e37b94a7..00000000 --- a/data/scripts/script_080149CC.inc +++ /dev/null @@ -1,61 +0,0 @@ -SCRIPT_START script_080149CC - BeginBlock - SetEntitySpeed 0x0080 - Call sub_0806C870 - DoPostScriptAction 0x000a - EndBlock -script_080149DE: - _0807E30C - JumpIfNot script_080149DE - _0807E864 - _0807EB74 - Call sub_0806C90C - WaitUntilTextboxCloses - CheckLocalFlag 0x0064 - JumpIfNot script_08014A20 - CheckLocalFlag 0x00b1 - JumpIf script_08014A20 - SetLocalFlag 0x00b1 - DoPostScriptAction 0x000b - DoPostScriptAction 0x0001 - _0807EDD4 0x0068, 0x00f8 - PlaySound SFX_SECRET - _0807EB74 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x000a -script_08014A20: - _0807E878 - Jump script_080149DE - .2byte 0x0000 -SCRIPT_START script_08014A28 - BeginBlock - Call sub_0806C870 - DoPostScriptAction 0x000a - EndBlock -script_08014A36: - _0807E30C - JumpIfNot script_08014A36 - _0807E864 - _0807EB74 - Call sub_0806C90C - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_08014A36 - .2byte 0x0000 -SCRIPT_START script_08014A54 - BeginBlock - Call sub_0806C870 - DoPostScriptAction 0x000a - EndBlock -script_08014A62: - _0807E30C - JumpIfNot script_08014A62 - _0807E864 - _0807EB74 - Call sub_0806C90C - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_08014A62 - .2byte 0x0000 diff --git a/data/scripts/script_08014A80.inc b/data/scripts/script_08014A80.inc deleted file mode 100644 index 058d4364..00000000 --- a/data/scripts/script_08014A80.inc +++ /dev/null @@ -1,48 +0,0 @@ -SCRIPT_START script_08014A80 - BeginBlock - DoPostScriptAction 0x000a - EndBlock - WaitForSomething2 0x00000001 - _0807EB74 - DoPostScriptAction 0x0004 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000001 - MessageNoOverlap 0x2f0a - WaitUntilTextboxCloses - _0807E5F8 0x00000002 -script_08014AAC: - _0807E30C - JumpIfNot script_08014AAC - _0807E864 - _0807EB74 - MessageNoOverlap 0x2f0a - WaitUntilTextboxCloses - _0807E878 - Jump script_08014AAC - .2byte 0x0000 -SCRIPT_START script_08014AC4 - BeginBlock - Call sub_0806C870 - DoPostScriptAction 0x000a - EndBlock -script_08014AD2: - _0807E30C - JumpIfNot script_08014AD2 - _0807E864 - _0807EB74 - StartPlayerScript script_08014B10 - WaitForSomething2 0x00000001 - _0807EB74 - CheckLocalFlag 0x0064 - JumpIf script_08014AFE - SetLocalFlag 0x0064 - MessageNoOverlap 0x2f0b - Jump script_08014B02 -script_08014AFE: - MessageNoOverlap 0x2f0c -script_08014B02: - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_08014AD2 - .2byte 0x0000 diff --git a/data/scripts/script_08014B10.inc b/data/scripts/script_08014B10.inc deleted file mode 100644 index 42a6c2b1..00000000 --- a/data/scripts/script_08014B10.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_08014B10 - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - _0807EDD4 0x0078, 0x0040 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_08014B34.inc b/data/scripts/script_08014B34.inc deleted file mode 100644 index fd880ee7..00000000 --- a/data/scripts/script_08014B34.inc +++ /dev/null @@ -1,132 +0,0 @@ -SCRIPT_START script_08014B34 - BeginBlock - DoPostScriptAction 0x000a - _0807E930 0x0000 - EndBlock - CheckLocalFlag 0x0063 - JumpIf script_08014BE8 -script_08014B48: - EndBlock - BeginBlock - CheckRoomFlag 0x0000 - JumpIf script_08014B70 - CheckEntityInteractType - JumpIfNot script_08014B48 - EndBlock - _0807E864 - _0807EB74 - MessageNoOverlap 0x2f01 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_08014B48 -script_08014B70: - EndBlock - _0807E864 - Call sub_0807DF28 - _0807E5F8 0x00000001 - DoPostScriptAction 0x0004 - WaitForSomething2 0x00000002 - _0807E930 0x0010 - Call sub_0806CCF8 - Wait 0x0014 - Call sub_0806CD04 - Wait 0x0014 - Call sub_0806CD14 - Wait 0x0014 - Call sub_0806CD20 - Wait 0x0014 - Call sub_0806CD30 - Wait 0x0014 - Call sub_0806CD3C - Wait 0x0014 - Call sub_0806CD4C - PlaySound SFX_SECRET - _0807E5F8 0x00000001 - WaitForSomething2 0x00000002 - Call sub_0807DF50 - _0807E878 -script_08014BE8: - _0807E930 0x0010 - Call sub_0806CD4C -script_08014BF2: - CheckEntityInteractType - JumpIfNot script_08014BF2 - _0807E864 - CheckLocalFlag 0x0065 - JumpIf script_08014C1C - SetLocalFlag 0x0065 - MessageNoOverlap 0x2f07 - WaitUntilTextboxCloses - SetIntVariable 0x00000064 - _0807F034 0x003f - WaitPlayerGetItem - Jump script_08014C22 -script_08014C1C: - MessageNoOverlap 0x2f08 - WaitUntilTextboxCloses -script_08014C22: - Wait 0x000f - _0807E878 - Jump script_08014BF2 -SCRIPT_START script_08014C2C - BeginBlock - Call sub_0806CD58 - DoPostScriptAction 0x000a - _0807EB44 0x0004 - _0807E930 0x0006 - EndBlock -script_08014C42: - CheckEntityInteractType - JumpIfNot script_08014C42 - _0807E864 - _0807EB74 -script_08014C4C: - Call sub_0806CCD0 - JumpIfNot script_08014C4C -script_08014C56: - Call sub_0806CCB4 - JumpIfNot script_08014C56 - CheckLocalFlag 0x0066 - JumpIf script_08014C7C - SetLocalFlag 0x0066 - MessageNoOverlap 0x2f0d - WaitUntilTextboxCloses - _0807F034 0x000a - WaitPlayerGetItem - Jump script_08014C82 -script_08014C7C: - MessageNoOverlap 0x2f09 - WaitUntilTextboxCloses -script_08014C82: - Wait 0x000f - _0807E878 - _0807EB44 0x0004 - _0807E930 0x0006 - Jump script_08014C42 -SCRIPT_START script_08014C94 - BeginBlock - CheckGlobalFlag 0x0024 - JumpIf script_08014CD4 - Call sub_0806C870 - DoPostScriptAction 0x000a - DoPostScriptAction 0x0000 - EndBlock -script_08014CAE: - EndBlock - BeginBlock - CheckGlobalFlag 0x0024 - JumpIf script_08014CD4 - _0807E30C - JumpIfNot script_08014CAE - EndBlock - _0807E864 - _0807EB74 - Call sub_0806C90C - WaitUntilTextboxCloses - _0807E878 - Jump script_08014CAE -script_08014CD4: - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08014CDC.inc b/data/scripts/script_08014CDC.inc deleted file mode 100644 index c7c09148..00000000 --- a/data/scripts/script_08014CDC.inc +++ /dev/null @@ -1,72 +0,0 @@ -SCRIPT_START script_08014CDC - BeginBlock - SetEntitySpeed 0x0180 - DoPostScriptAction 0x000a - Call sub_08066D04 - Call sub_08066D14 - SetEntityPositionRelative 0x01e8, 0x0180 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - EndBlock - WaitForSomething2 0x00000001 - Call sub_08066E08 - _0807E864 - MessageFromTargetPos 0x1010, 0x000c - WaitUntilTextboxCloses - _0807E5F8 0x00000002 -script_08014D1E: - EndBlock - BeginBlock - CheckPlayerInRegion 0x01d8, 0x0160, 0x3050 - JumpIfNot script_08014D1E - EndBlock - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - MessageNoOverlap 0x1012 - WaitUntilTextboxCloses - _0807EC64 0x0040 - _0807EB44 0x0004 - Call sub_08066E08 - SetEntityPositionRelative 0x01f8, 0x00c8 - Call sub_0807DF50 - _0807E878 -script_08014D60: - CallWithArg sub_0807F6B4, 0x000000e8 - JumpIf script_08014D60 - _0807E864 - Call sub_0807DF28 - MessageNoOverlap 0x1013 - WaitUntilTextboxCloses - _0807EC64 0x0040 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - SetEntityPositionRelative 0x01e8, 0x0028 - Call sub_0807DF50 - _0807E878 -script_08014D96: - CheckPlayerInRegion 0x01f8, 0x0028, 0x2040 - JumpIfNot script_08014D96 - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - MessageNoOverlap 0x1014 - WaitUntilTextboxCloses - _0807EC64 0x0018 -.ifdef JP - SetLocalFlag 0x006b -.else -.ifdef EU - SetLocalFlag 0x006b -.else -.ifdef DEMO_JP - SetLocalFlag 0x006b @ TODO deduplicate -.else - SetLocalFlag 0x006d -.endif -.endif -.endif - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08014DCC.inc b/data/scripts/script_08014DCC.inc deleted file mode 100644 index f8d36d7f..00000000 --- a/data/scripts/script_08014DCC.inc +++ /dev/null @@ -1,20 +0,0 @@ -SCRIPT_START script_08014DCC - BeginBlock - SetEntityPositionRelative 0x0238, 0x01a8 - Call sub_0807F844 - Call sub_0807F348 - _0807E864 - Call sub_0807DF28 - EndBlock - _0807E778 0x0010 - DoFade6 - WaitFor_2 - _0807E5F8 0x00000001 - WaitForSomething2 0x00000002 - _0807F0B4 0x0004 - CameraTargetPlayer - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08014E14.inc b/data/scripts/script_08014E14.inc deleted file mode 100644 index 86972a81..00000000 --- a/data/scripts/script_08014E14.inc +++ /dev/null @@ -1,292 +0,0 @@ -SCRIPT_START script_08014E14 - BeginBlock - _0807EB44 0x0004 - _0807E9D4 - DoPostScriptAction 0x000a - CallWithArg sub_0807F3D8, 0x00000000 - EndBlock -script_08014E2C: - CheckEntityInteractType - JumpIfNot script_08014E2C - _0807E864 - _0807EB74 - CallWithArg sub_0807F3D8, 0x00000000 - Call sub_08064428 - WaitUntilTextboxCloses - _0807E878 - Jump script_08014E2C - .2byte 0x0000 -SCRIPT_START script_08014E50 - BeginBlock - DoPostScriptAction 0x000a - DoPostScriptAction 0x0007 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - EndBlock -script_08014E64: - CheckEntityInteractType - JumpIfNot script_08014E64 - _0807E864 - Call sub_0807DF28 - _0807EB74 - CallWithArg sub_0807F78C, 0x00000022 - WaitUntilTextboxCloses - _0807E3E8 - JumpIfNot script_08014EBC - CallWithArg sub_0807F7C4, 0x00000022 - JumpIfNot script_08014EB0 - _0807E48C 0x0020 - JumpIfNot script_08014EB8 - CallWithArg sub_0807F800, 0x00000022 - WaitPlayerGetItem - MessageNoOverlap 0x0a04 - Jump script_08014EBC -script_08014EB0: - MessageNoOverlap 0x0a03 - Jump script_08014EBC -script_08014EB8: - MessageNoOverlap 0x0a02 -script_08014EBC: - WaitUntilTextboxCloses - Call sub_0807DF50 - _0807E878 - Jump script_08014E64 - .2byte 0x0000 -SCRIPT_START script_08014ECC - BeginBlock - DoPostScriptAction 0x000a - DoPostScriptAction 0x0007 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - EndBlock -script_08014EE0: - CheckEntityInteractType - JumpIfNot script_08014EE0 - _0807E864 - _0807EB74 - MessageNoOverlap 0x200d - WaitUntilTextboxCloses - _0807E878 - Jump script_08014EE0 - .2byte 0x0000 -SCRIPT_START script_08014EF8 - BeginBlock - DoPostScriptAction 0x000a - DoPostScriptAction 0x0007 - _0807EB44 0x0004 - _0807E930 0x000a - EndBlock -script_08014F0C: - CheckEntityInteractType - JumpIfNot script_08014F0C - _0807E864 - _0807EB74 - DoPostScriptAction 0x0000 - MessageNoOverlap 0x200e - WaitUntilTextboxCloses - _0807E878 - _0807EB44 0x0004 - _0807E930 0x000a - Jump script_08014F0C - .2byte 0x0000 -SCRIPT_START script_08014F30 - BeginBlock - DoPostScriptAction 0x000a - DoPostScriptAction 0x0007 - _0807EB44 0x0004 - _0807E930 0x000e - EndBlock - Call sub_08065914 -script_08014F4A: - CheckEntityInteractType - JumpIfNot script_08014F4A - _0807E864 - Call sub_0807DF28 - _0807EB74 - DoPostScriptAction 0x0000 - BeginBlock - MessageNoOverlap 0x3b0b - CallWithArg sub_0807F854, 0x00010064 - EndBlock - WaitUntilTextboxCloses - _0807E3E8 - JumpIfNot script_08014FA6 - HasRupees 0x0064 - JumpIfNot script_08014F9A - _0807E48C 0x0020 - JumpIfNot script_08014FA2 - ModRupees 0xff9c - _0807F034 0x0022 - WaitPlayerGetItem - MessageNoOverlap 0x3b11 - Jump script_08014FA6 -script_08014F9A: - MessageNoOverlap 0x3b0e - Jump script_08014FA6 -script_08014FA2: - MessageNoOverlap 0x3b0f -script_08014FA6: - WaitUntilTextboxCloses - Call sub_0807DF50 - _0807E878 - _0807EB44 0x0004 - _0807E930 0x000e - Jump script_08014F4A -SCRIPT_START script_08014FBC - BeginBlock - SetEntityPositionRelative 0x01f8, 0x00e0 - Call sub_08054564 - EndBlock -script_08014FCC: - CheckPlayerInRegion 0x01f8, 0x00a0, 0x2040 - JumpIfNot script_08014FCC - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - StopBgm - _0807F0B4 0x0001 - CameraTargetEntity - StartPlayerScript script_080152B4 - WaitForSomething2 0x00000001 - MessageFromTargetPos 0x1301, 0x0002 - WaitUntilTextboxCloses - Call sub_0807F3F8 - Wait 0x003c - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - PlayBgm BGM_VAATI_THEME - _0807EB28 0x1302 - WaitUntilTextboxCloses - MessageFromTargetPos 0x1303, 0x0002 - WaitUntilTextboxCloses - _0807EB28 0x1304 - WaitUntilTextboxCloses - MessageFromTargetPos 0x1305, 0x0002 - WaitUntilTextboxCloses - _0807E5F8 0x00000002 - WaitForSomething2 0x00000004 - _0807EB28 0x1306 - WaitUntilTextboxCloses - StopBgm - StartPlayerScript script_080152DC - CameraTargetEntity - _0807F0B4 0x0003 - SetEntityPositionRelative 0x01f8, 0x0148 - WaitForSomething2 0x00000001 - Call sub_0804F6A8 - Wait 0x0004 - Call sub_0804F808 - PlaySound SFX_10B - StartPlayerScript script_08015304 - Call sub_0804F6C8 - Wait 0x0004 - Call sub_0804F830 - PlaySound SFX_10B - Call sub_0804F6E8 - Wait 0x0004 - Call sub_0804F854 - PlaySound SFX_10B - Call sub_0804F724 - Wait 0x0004 - Call sub_0804F89C - PlaySound SFX_10B - Call sub_0804F760 - Wait 0x0004 - Call sub_0804F8E0 - PlaySound SFX_10B - Wait 0x003c - WaitForSomething2 0x00000001 - PlaySound SFX_1B0 - Call sub_0804F79C - Wait 0x000a - LoadRoomEntityList gUnk_080F7FC0 - PlayBgm BGM_FIGHT_THEME - Call sub_0807DF50 - _0807E878 -script_08015104: - CheckRoomFlag 0x0000 - JumpIfNot script_08015104 - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - StopBgm - StartPlayerScript script_08015338 - WaitForSomething2 0x00000001 - Wait 0x003c - Call sub_0804F6A8 - Wait 0x0004 - Call sub_0804F928 - PlaySound SFX_10B - Call sub_0804F6C8 - Wait 0x0004 - Call sub_0804F944 - PlaySound SFX_10B - Call sub_0804F6E8 - Wait 0x0004 - Call sub_0804F960 - PlaySound SFX_10B - Call sub_0804F724 - Wait 0x0004 - Call sub_0804F994 - PlaySound SFX_10B - Call sub_0804F760 - Wait 0x0004 - Call sub_0804F9C8 - PlaySound SFX_10B - Wait 0x003c - PlaySound SFX_SECRET - _0807F0B4 0x0004 - CameraTargetPlayer -.ifdef JP - SetLocalFlag 0x008a -.else -.ifdef EU - SetLocalFlag 0x008a -.else -.ifdef DEMO_JP - SetLocalFlag 0x008a @ TODO deduplicate -.else - SetLocalFlag 0x008c -.endif -.endif -.endif - _0807EB28 0x130c - WaitUntilTextboxCloses - CameraTargetPlayer - _0807E778 0x0004 - _0807E80C 0x00000000 - WaitFor_2 - Call sub_08053B3C - BeginBlock - _0807E864 - CallWithArg sub_0807F6E8, 0x00000008 - MoveEntityToPlayer - _0807F0B4 0x0004 - CameraTargetEntity - _0807E778 0x0100 - DoFade4 - _0807E80C 0x00000000 - EndBlock - StartPlayerScript script_08015360 - WaitForSomething2 0x00000001 - LoadRoomEntityList gUnk_080F7CB0 - _0807E778 0x0004 - _0807E800 0x00000000 - WaitFor_2 - _0807E5F8 0x00000008 - WaitForSomething2 0x00000010 - BeginBlock - _0807E8E4_2 - _0807EB28 0x1315 - EndBlock - WaitUntilTextboxCloses - _0807F0B4 0x0004 - CameraTargetPlayer - Call sub_08054570 - PlayBGM - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08015234.inc b/data/scripts/script_08015234.inc deleted file mode 100644 index c7060e78..00000000 --- a/data/scripts/script_08015234.inc +++ /dev/null @@ -1,30 +0,0 @@ -SCRIPT_START script_08015234 - BeginBlock - DoPostScriptAction 0x0008 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - Call sub_0807F354 - EndBlock - WaitForSomething2 0x00000002 - Call sub_08066C94 - Wait 0x00e9 - DoPostScriptAction 0x0007 - DoPostScriptAction 0x001e - _0807E5F8 0x00000004 - WaitForSomething2 0x00000002 - Wait 0x0014 - _0807EB44 0x0000 - DoPostScriptAction 0x001c - Call sub_0807F2D4 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000002 - PlaySound SFX_F5 - DoPostScriptAction 0x001f - SetEntitySpeed 0x0200 - DoPostScriptAction 0x000d - DoPostScriptAction 0x0000 - _0807ECC4 0x0030 - _0807E5F8 0x00000004 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_080152B4.inc b/data/scripts/script_080152B4.inc deleted file mode 100644 index 61ae2f32..00000000 --- a/data/scripts/script_080152B4.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_080152B4 - BeginBlock - SetEntitySpeed 0x0080 - EndBlock - DoPostScriptAction 0x0001 - _0807EDD4 0x01f8, 0x00b8 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_080152DC.inc b/data/scripts/script_080152DC.inc deleted file mode 100644 index 5e55ee16..00000000 --- a/data/scripts/script_080152DC.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_080152DC - BeginBlock - SetEntitySpeed 0x0200 - EndBlock - DoPostScriptAction 0x0001 - _0807EDD4 0x01f8, 0x0148 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_08015304.inc b/data/scripts/script_08015304.inc deleted file mode 100644 index 85133e67..00000000 --- a/data/scripts/script_08015304.inc +++ /dev/null @@ -1,14 +0,0 @@ -SCRIPT_START script_08015304 - _0807EB44 0x0002 - Wait 0x000a - _0807EB44 0x0006 - Wait 0x000a - _0807EB44 0x0002 - Wait 0x000a - _0807EB44 0x0006 - Wait 0x000a - _0807EB44 0x0004 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08015338.inc b/data/scripts/script_08015338.inc deleted file mode 100644 index 5dd2c48f..00000000 --- a/data/scripts/script_08015338.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_08015338 - BeginBlock - SetEntitySpeed 0x0100 - EndBlock - DoPostScriptAction 0x0001 - _0807EDD4 0x01f8, 0x0148 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_08015360.inc b/data/scripts/script_08015360.inc deleted file mode 100644 index 98b78e13..00000000 --- a/data/scripts/script_08015360.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_08015360 - BeginBlock - SetEntitySpeed 0x0100 - SetEntityPositionRelative 0x0208, 0x0148 - EndBlock - _0807EB44 0x0006 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_08015384.inc b/data/scripts/script_08015384.inc deleted file mode 100644 index a46df80e..00000000 --- a/data/scripts/script_08015384.inc +++ /dev/null @@ -1,4 +0,0 @@ -SCRIPT_START script_08015384 - DoPostScriptAction 0x0015 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_08015390.inc b/data/scripts/script_08015390.inc deleted file mode 100644 index d7337b44..00000000 --- a/data/scripts/script_08015390.inc +++ /dev/null @@ -1,24 +0,0 @@ -SCRIPT_START script_08015390 - BeginBlock - SetEntitySpeed 0x0080 - DoPostScriptAction 0x0007 - EndBlock - _0807E930 0x001f - Call sub_0806D944 - WaitForSomething2 0x00000008 - _0807E930 0x0010 - MessageFromTargetPos 0x1314, 0x000c - WaitUntilTextboxCloses - _0807E930 0x0018 - Call sub_0806D8A0 -script_080153C2: - _0807EE30 - JumpIfNot script_080153C2 - _0807E930 0x001f - StartPlayerScript script_08015384 - Call sub_0806D9A4 - DoPostScriptAction 0x0008 - Wait 0x0078 - _0807E5F8 0x00000010 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_080153EC.inc b/data/scripts/script_080153EC.inc deleted file mode 100644 index 019ff352..00000000 --- a/data/scripts/script_080153EC.inc +++ /dev/null @@ -1,36 +0,0 @@ -SCRIPT_START script_080153EC - BeginBlock - _0807F0B4 0x0007 - SetEntityPositionRelative 0x0078, 0x0068 - CameraTargetEntity - EndBlock - PlayBgm BGM_EZLO_STORY - _0807E778 0x0004 - DoFade4 - WaitFor_2 - Wait 0x003c - _0807E5F8 0x00000080 - WaitForSomething2 0x00000100 - _0807E5F8 0x00000800 - WaitForSomething2 0x00001000 - _0807E5F8 0x00000880 - WaitForSomething2 0x00001100 - _0807F0B4 0x0004 - SetEntityPositionRelative 0x0078, 0x0090 - MessageFromTargetPos 0x1330, 0x0002 - WaitUntilTextboxCloses - _0807E5F8 0x00008000 - WaitForSomething2 0x00010000 - _0807E5F8 0x00000880 - WaitForSomething2 0x00001000 - Wait 0x003c - MessageFromTargetPos 0x130d, 0x0002 - WaitUntilTextboxCloses - MessageFromTargetPos 0x130e, 0x000c - WaitUntilTextboxCloses - MessageFromTargetPos 0x130f, 0x0002 - WaitUntilTextboxCloses - MessageFromTargetPos 0x1310, 0x000c - WaitUntilTextboxCloses - CallWithArg CreateManager36, 0x00000001 - _0807F0C8 0xffff, 0x0000 diff --git a/data/scripts/script_0801548E.inc b/data/scripts/script_0801548E.inc deleted file mode 100644 index d30b9978..00000000 --- a/data/scripts/script_0801548E.inc +++ /dev/null @@ -1,26 +0,0 @@ -SCRIPT_START script_0801548E - _0807E5F8 0x00000800 - WaitForSomething2 0x00001000 - PlaySound SFX_125 - CallWithArg sub_0807FB28, 0x00000003 - _0807E5F8 0x00048000 - WaitForSomething2 0x00090000 - MessageFromTargetPos 0x1311, 0x0002 - WaitUntilTextboxCloses - _0807E5F8 0x00008000 - WaitForSomething2 0x00010000 - _0807E5F8 0x00048000 - WaitForSomething2 0x00010000 - CallWithArg DeleteManager36, 0x00000001 - _0807F0C8 0x0000, 0x0000 - MessageFromTargetPos 0x1312, 0x000c - WaitUntilTextboxCloses - _0807E5F8 0x00000800 - WaitForSomething2 0x00001000 - StopBgm - _0807E778 0x0004 - DoFade5 - WaitFor_2 - SetRoomFlag 0x0001 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_0801550C.inc b/data/scripts/script_0801550C.inc deleted file mode 100644 index 267b9dd6..00000000 --- a/data/scripts/script_0801550C.inc +++ /dev/null @@ -1,45 +0,0 @@ -SCRIPT_START script_0801550C - BeginBlock - SetEntitySpeed 0x0080 - DoPostScriptAction 0x0007 - _0807EB44 0x0000 - Call sub_0807F338 - EndBlock - CallWithArg sub_0806AF60, 0x00000000 - WaitForSomething2 0x00008000 - CallWithArg sub_0806AF60, 0x00000004 - _0807EDD4 0x0078, 0x00b8 - _0807EB44 0x0000 - CallWithArg sub_0806AF60, 0x00000000 - _0807E5F8 0x00010000 - WaitForSomething2 0x00008000 - DoPostScriptAction 0x000d - _0807EB44 0x0000 - CallWithArg sub_0806AF60, 0x00000004 - _0807EDD4 0x0078, 0x00c8 - _0807E5F8 0x00010000 - WaitForSomething2 0x00008000 - _0807EB44 0x0000 - CallWithArg sub_0806AF60, 0x00000000 - DoPostScriptAction 0x0010 - Wait 0x0028 - PlaySound SFX_125 - CallWithArg sub_0807FB28, 0x00000003 - Wait 0x000a - PlaySound SFX_125 - CallWithArg sub_0807FB28, 0x00000003 - Wait 0x000a - DoPostScriptAction 0x0010 - _0807E5F8 0x00010000 - WaitForSomething2 0x00008000 - _0807E930 0x000d - Call sub_0807F2D4 - _0807E5F8 0x00010000 - Wait 0x003c - DoPostScriptAction 0x0005 - Wait 0x003c -script_080155E6: - CheckRoomFlag 0x0001 - JumpIfNot script_080155E6 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_080155F4.inc b/data/scripts/script_080155F4.inc deleted file mode 100644 index 8d2bae15..00000000 --- a/data/scripts/script_080155F4.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_080155F4 - WaitForSomething2 0x00000020 - _0807E930 0x0000 - Wait 0x0014 - _0807E5F8 0x00000040 -script_08015608: - CheckRoomFlag 0x0001 - JumpIfNot script_08015608 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08015618.inc b/data/scripts/script_08015618.inc deleted file mode 100644 index cc21ef92..00000000 --- a/data/scripts/script_08015618.inc +++ /dev/null @@ -1,22 +0,0 @@ -SCRIPT_START script_08015618 - BeginBlock - DoPostScriptAction 0x0007 - SetEntitySpeed 0x0040 - Call sub_08094B80 - EndBlock - WaitForSomething2 0x00000080 - CallWithArg CreateManager36, 0x00000003 - Call sub_08094B0C - _0807EDD4 0x0078, 0x0068 - _0807E5F8 0x00000100 - WaitForSomething2 0x00000080 - _0807EF3C 0xff80, 0x0000 - CallWithArg DeleteManager36, 0x00000003 - Wait 0x003c - _0807E5F8 0x00000100 - WaitForSomething2 0x00000080 - _0807E930 0x0001 - Call sub_0807F2D4 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08015684.inc b/data/scripts/script_08015684.inc deleted file mode 100644 index 4bcb6dc9..00000000 --- a/data/scripts/script_08015684.inc +++ /dev/null @@ -1,46 +0,0 @@ -SCRIPT_START script_08015684 - BeginBlock - DoPostScriptAction 0x0007 - DoPostScriptAction 0x000b - _0807EB44 0x0000 - DoPostScriptAction 0x0017 - Call sub_0807F180 - EndBlock - WaitForSomething2 0x00000800 - _0807EB44 0x0002 - DoPostScriptAction 0x0017 - Wait 0x000a - _0807EB44 0x0004 - DoPostScriptAction 0x0017 - _0807EB44 0x0004 - DoPostScriptAction 0x001b - _0807E5F8 0x00001000 - WaitForSomething2 0x00000800 - Wait 0x0078 - DoPostScriptAction 0x0004 - Wait 0x0014 - _0807E5F8 0x00001000 - WaitForSomething2 0x00000800 - DoPostScriptAction 0x0018 - Call sub_0807F2D4 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - _0807E5F8 0x00001000 - WaitForSomething2 0x00000800 - _0807EB44 0x0004 - DoPostScriptAction 0x0014 - CallWithArg sub_0809545C, script_08015754 - PlaySound SFX_1C4 - Wait 0x0078 - DoPostScriptAction 0x0016 - WaitForSomething2 0x00020000 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - _0807E5F8 0x00001000 - WaitForSomething2 0x00000800 - Call sub_08066CA4 - DoPostScriptAction 0x0008 - Wait 0x0078 - _0807E5F8 0x00001000 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08015754.inc b/data/scripts/script_08015754.inc deleted file mode 100644 index 8495df7f..00000000 --- a/data/scripts/script_08015754.inc +++ /dev/null @@ -1,20 +0,0 @@ -SCRIPT_START script_08015754 - BeginBlock - _0807E930 0x0000 - SetEntitySpeed 0x0200 - Call sub_08094B80 - EndBlock - Wait 0x0078 - PlaySound SFX_1C5 - Call sub_08094B6C - _0807EDD4 0x0078, 0x00b8 - PlaySound SFX_1C6 - Call sub_08094B80 - _0807E5F8 0x00020000 - SetEntitySpeed 0x0080 - WaitForSomething2 0x00040000 - _0807EDD4 0x0078, 0x00c8 - _0807E5F8 0x00080000 - WaitForSomething2 0x00040000 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_080157AC.inc b/data/scripts/script_080157AC.inc deleted file mode 100644 index 2cb7bc3c..00000000 --- a/data/scripts/script_080157AC.inc +++ /dev/null @@ -1,85 +0,0 @@ -SCRIPT_START script_080157AC - CheckPlayerInRegion 0x01f8, 0x0310, 0x2020 - JumpIfNot script_080157AC - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - _0807E5F8 0x00000001 - WaitForSomething2 0x00000002 - Call sub_0807DF50 - _0807E878 -script_080157DA: - CheckPlayerInRegion 0x0250, 0x0230, 0x3040 - JumpIfNot script_080157DA - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - Call sub_0807F3F8 - Wait 0x003c - _0807E5F8 0x00000001 - WaitForSomething2 0x00000002 - StartPlayerScript script_080158F8 - _0807F0B4 0x0001 - SetEntityPositionRelative 0x0248, 0x0218 - CameraTargetEntity - Call sub_0807F5C0 - WaitForSomething2 0x00000010 - _0807E5F8 0x00000008 - WaitForSomething2 0x00000020 - _0807E5F8 0x00000001 - WaitForSomething2 0x00000002 - StartPlayerScript script_08015918 - WaitForSomething2 0x00000010 - _0807E5F8 0x00000001 - WaitForSomething2 0x00000002 - MessageFromTargetPos 0x1066, 0x0002 - WaitUntilTextboxCloses - _0807E5F8 0x00000001 - WaitForSomething2 0x00000002 - Call sub_0807DF50 - _0807E878 - Call sub_08066F94 - _0807E5F8 0x00000008 -script_08015880: - CheckRoomFlag 0x0000 - JumpIfNot script_08015880 -script_08015888: - WaitUntilTextboxCloses - ComparePlayerAction 0x001c - JumpIf script_08015888 - _0807E864 - Call sub_0807DF28 - _0807F0B4 0x0002 - SetEntityPositionRelative 0x0248, 0x0208 - CameraTargetEntity - StartPlayerScript script_08015938 - WaitForSomething2 0x00000010 - MessageFromTargetPos 0x106a, 0x000c - WaitUntilTextboxCloses - _0807E5F8 0x00000008 - Wait 0x0078 - _0807E8E4_2 - MessageFromTargetPos 0x1068, 0x0002 - WaitUntilTextboxCloses - _0807E5F8 0x00000001 - WaitForSomething2 0x00000002 -.ifdef JP - SetLocalFlag 0x0089 -.else -.ifdef EU - SetLocalFlag 0x0089 -.else -.ifdef DEMO_JP - SetLocalFlag 0x0089 @ TODO deduplicate -.else - SetLocalFlag 0x008b -.endif -.endif -.endif - Call sub_08066FB8 - Call sub_0807DF50 - _0807E878 - _0807F0B4 0x0004 - CameraTargetPlayer - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_080158F8.inc b/data/scripts/script_080158F8.inc deleted file mode 100644 index 0c4d7f69..00000000 --- a/data/scripts/script_080158F8.inc +++ /dev/null @@ -1,8 +0,0 @@ -SCRIPT_START script_080158F8 - SetEntitySpeed 0x0100 - _0807EDD4 0x0218, 0x0238 - _0807EB44 0x0002 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000010 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_08015918.inc b/data/scripts/script_08015918.inc deleted file mode 100644 index 2c49a5c5..00000000 --- a/data/scripts/script_08015918.inc +++ /dev/null @@ -1,8 +0,0 @@ -SCRIPT_START script_08015918 - SetEntitySpeed 0x0100 - _0807EDD4 0x0238, 0x0228 - _0807EB44 0x0002 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000010 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_08015938.inc b/data/scripts/script_08015938.inc deleted file mode 100644 index df0c766b..00000000 --- a/data/scripts/script_08015938.inc +++ /dev/null @@ -1,8 +0,0 @@ -SCRIPT_START script_08015938 - SetEntitySpeed 0x0100 - _0807EDD4 0x0248, 0x0208 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000010 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_08015958.inc b/data/scripts/script_08015958.inc deleted file mode 100644 index a8d05e76..00000000 --- a/data/scripts/script_08015958.inc +++ /dev/null @@ -1,73 +0,0 @@ -SCRIPT_START script_08015958 - BeginBlock - SetEntitySpeed 0x0180 - DoPostScriptAction 0x0008 - DoPostScriptAction 0x000b - Call sub_08066D04 - EndBlock - WaitForSomething2 0x00000001 - BeginBlock - Call sub_08066D14 - MoveEntityToPlayer - EndBlock - DoPostScriptAction 0x0007 - _0807EB74 - _0807EDD4 0x01f8, 0x02f8 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - MessageFromTargetPos 0x1011, 0x0002 - WaitUntilTextboxCloses - _0807EDD4 0x01f8, 0x0268 - SetEntityPositionRelative 0x0248, 0x0218 - _0807EB44 0x0006 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000001 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000001 - Call sub_0807F3C8 - PlaySound SFX_VO_ZELDA3 - SetEntitySpeed 0x0200 - _0807ECC4 0x0008 - _0807E930 0x0040 - Call sub_0807F2D4 - _0807EB44 0x0006 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000001 - _0807EB44 0x0006 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000002 - WaitForSomething2 0x00000001 - SetEntitySpeed 0x0100 - _0807EDD4 0x0238, 0x0238 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x000a - _0807E9D4 - _0807E5F8 0x00000002 -script_08015A32: - EndBlock - BeginBlock - _0807EB74 - CheckRoomFlag 0x0000 - JumpIf script_08015A54 - CheckEntityInteractType - JumpIfNot script_08015A32 - EndBlock - MessageFromTargetPos 0x1067, 0x0002 - WaitUntilTextboxCloses - Jump script_08015A32 -script_08015A54: - EndBlock - DoPostScriptAction 0x000b - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - WaitForSomething2 0x00000001 - Call sub_08066D4C - _0807E5F8 0x00000002 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08015A7C.inc b/data/scripts/script_08015A7C.inc deleted file mode 100644 index ade0dcff..00000000 --- a/data/scripts/script_08015A7C.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_08015A7C - SetEntitySpeed 0x0100 - DoPostScriptAction 0x0001 - _0807EC64 0x0010 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000004 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08015AA0.inc b/data/scripts/script_08015AA0.inc deleted file mode 100644 index 24b46093..00000000 --- a/data/scripts/script_08015AA0.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_08015AA0 - SetEntitySpeed 0x0100 - DoPostScriptAction 0x0001 - _0807EC94 0x0010 - _0807EB44 0x0002 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000004 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08015AC4.inc b/data/scripts/script_08015AC4.inc deleted file mode 100644 index b0b245f7..00000000 --- a/data/scripts/script_08015AC4.inc +++ /dev/null @@ -1,21 +0,0 @@ -SCRIPT_START script_08015AC4 - BeginBlock - DoPostScriptAction 0x0007 - DoPostScriptAction 0x000a - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - EndBlock - WaitForSomething2 0x00000008 - _0807E908 0x0007 - WaitForSomething2 0x00000008 - _0807E908 0x0006 - SetRoomFlag 0x0000 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - WaitForSomething2 0x00000008 - Wait 0x003c - PlaySound SFX_SECRET - Call sub_08046078 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08015B14.inc b/data/scripts/script_08015B14.inc deleted file mode 100644 index f0f3c82a..00000000 --- a/data/scripts/script_08015B14.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_08015B14 - BeginBlock - _0807E930 0x0018 - SetEntitySpeed 0x0300 - EndBlock - _0807EDD4 0x0248, 0x0218 - _0807E5F8 0x00000020 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08015B34.inc b/data/scripts/script_08015B34.inc deleted file mode 100644 index 6c5d3065..00000000 --- a/data/scripts/script_08015B34.inc +++ /dev/null @@ -1,33 +0,0 @@ -SCRIPT_START script_08015B34 - EndBlock - BeginBlock -.ifdef JP - CheckLocalFlag 0x0089 -.else -.ifdef EU - CheckLocalFlag 0x0089 -.else -.ifdef DEMO_JP - CheckLocalFlag 0x0089 @ TODO deduplicate -.else - CheckLocalFlag 0x008b -.endif -.endif -.endif - JumpIf script_08015B7E - CallWithArg sub_0807F6B4, 0x00000318 - JumpIfNot script_08015B34 - EndBlock - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - MessageFromTargetPos 0x2506, 0x0002 - WaitUntilTextboxCloses - StartPlayerScript script_08015B84 - WaitForSomething2 0x00000004 - Call sub_0807DF50 - _0807E878 - Jump script_08015B34 -script_08015B7E: - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08015B84.inc b/data/scripts/script_08015B84.inc deleted file mode 100644 index afe2682a..00000000 --- a/data/scripts/script_08015B84.inc +++ /dev/null @@ -1,10 +0,0 @@ -SCRIPT_START script_08015B84 - SetEntitySpeed 0x0100 - DoPostScriptAction 0x0001 - _0807EC64 0x0010 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000004 - Call sub_080791BC -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08015BA8.inc b/data/scripts/script_08015BA8.inc deleted file mode 100644 index 70876df6..00000000 --- a/data/scripts/script_08015BA8.inc +++ /dev/null @@ -1,33 +0,0 @@ -SCRIPT_START script_08015BA8 - BeginBlock -.ifdef JP - SetLocalFlag 0x008c -.else -.ifdef EU - SetLocalFlag 0x008c -.else -.ifdef DEMO_JP - SetLocalFlag 0x008c @ TODO deduplicate -.else - SetLocalFlag 0x008e -.endif -.endif -.endif - _0807E864 - MoveEntityToPlayer - CameraTargetEntity - SetEntitySpeed 0x0200 - EndBlock - Wait 0x000f - _0807E8E4_2 - Call sub_0807F3F8 - Wait 0x001e - _0807EDD4 0x00b8, 0x0258 - Wait 0x001e - SetRoomFlag 0x0065 - Wait 0x0078 - _0807EEB4 - CameraTargetPlayer - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08015BE8.inc b/data/scripts/script_08015BE8.inc deleted file mode 100644 index e6a52ab6..00000000 --- a/data/scripts/script_08015BE8.inc +++ /dev/null @@ -1,52 +0,0 @@ -SCRIPT_START script_08015BE8 - BeginBlock - SetEntitySpeed 0x0080 - EndBlock -script_08015BF0: - CheckPlayerInRegion 0x0160, 0x0020, 0x3040 - JumpIfNot script_08015BF0 - _0807E864 - Call sub_0807F9A4 - Call sub_0807DF28 - Call sub_0807FBC4 - StartPlayerScript script_08015C7C - WaitForSomething2 0x00000100 - CameraTargetPlayer - _0807E778 0x0004 - _0807E80C 0x00000000 - WaitFor_2 - StopBgm - Call sub_08053BE8 - BeginBlock - _0807E864 - Call sub_0807FBC4 - CameraTargetPlayer - _0807E778 0x0100 - DoFade4 - _0807E80C 0x00000000 - EndBlock - _0807E778 0x0004 - _0807E800 0x00000000 - WaitFor_2 - PlayBGM - _0807EB28 0x131f - WaitUntilTextboxCloses -.ifdef JP - SetLocalFlag 0x009b -.else -.ifdef EU - SetLocalFlag 0x009b -.else -.ifdef DEMO_JP - SetLocalFlag 0x009b @ TODO deduplicate -.else - SetLocalFlag 0x009c -.endif -.endif -.endif - Call sub_0807FBCC - Call sub_0807DF50 - _0807E878 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08015C7C.inc b/data/scripts/script_08015C7C.inc deleted file mode 100644 index 48ae9e24..00000000 --- a/data/scripts/script_08015C7C.inc +++ /dev/null @@ -1,19 +0,0 @@ -SCRIPT_START script_08015C7C - BeginBlock - SetEntitySpeed 0x0080 - EndBlock - DoPostScriptAction 0x0001 - _0807EDD4 0x0168, 0x0058 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - CallWithArg sub_0807F238, 0x000003c5 - Call sub_0807F304 - MessageFromTargetPos 0x1318, 0x000c - WaitUntilTextboxCloses - CallWithArg sub_0807F238, 0x000003c9 - Call sub_0807F304 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000100 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_08015CD4.inc b/data/scripts/script_08015CD4.inc deleted file mode 100644 index 71dd90ee..00000000 --- a/data/scripts/script_08015CD4.inc +++ /dev/null @@ -1,67 +0,0 @@ -SCRIPT_START script_08015CD4 - BeginBlock - _0807F0B4 0x0007 - SetEntityPositionRelative 0x0088, 0x0068 - CameraTargetEntity - EndBlock - _0807E778 0x0004 - DoFade4 - WaitFor_2 - Wait 0x003c - _0807F0B4 0x0004 - SetEntityPositionRelative 0x0088, 0x00e0 - CameraTargetEntity - Wait 0x003c - PlayBgm BGM_VAATI_THEME - _0807E5F8 0x00000010 - WaitForSomething2 0x00000020 - _0807F0B4 0x0004 - SetEntityPositionRelative 0x0088, 0x0070 - CameraTargetEntity - Wait 0x003c - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - _0807F0B4 0x0004 - SetEntityPositionRelative 0x0088, 0x00e0 - CameraTargetEntity - Wait 0x003c - _0807E5F8 0x00000010 - WaitForSomething2 0x00000020 - _0807F0B4 0x0004 - SetEntityPositionRelative 0x0088, 0x0070 - CameraTargetEntity - Wait 0x003c - _0807E5F8 0x00000010 - WaitForSomething2 0x00000020 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - _0807E5F8 0x00000010 - WaitForSomething2 0x00000020 - _0807E778 0x0004 - DoFade5 - WaitFor_2 - _0807E5F8 0x00000010 - LoadRoomEntityList gUnk_080FCE30 - StopBgm - Wait 0x0078 - _0807E778 0x0004 - DoFade4 - WaitFor_2 - PlayBgm BGM_DIGGING_CAVE - _0807E5F8 0x00000040 - WaitForSomething2 0x00000080 - _0807E5F8 0x00000001 - WaitForSomething2 0x00000002 - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - _0807E5F8 0x00000200 - Wait 0x003c - _0807E5F8 0x00000004 - WaitForSomething2 0x00000008 - _0807E778 0x0004 - DoFade5 - WaitFor_2 - StopBgm - SetRoomFlag 0x0000 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08015DF0.inc b/data/scripts/script_08015DF0.inc deleted file mode 100644 index 9cc8db37..00000000 --- a/data/scripts/script_08015DF0.inc +++ /dev/null @@ -1,26 +0,0 @@ -SCRIPT_START script_08015DF0 - BeginBlock - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - EndBlock - WaitForSomething2 0x00000004 - DoPostScriptAction 0x0004 - Wait 0x003c - MessageNoOverlap 0x1319 - WaitUntilTextboxCloses - _0807E5F8 0x00000008 - WaitForSomething2 0x00000004 - MessageNoOverlap 0x131a - WaitUntilTextboxCloses - _0807E5F8 0x00000008 - WaitForSomething2 0x00000004 - MessageNoOverlap 0x131d - WaitUntilTextboxCloses - _0807E5F8 0x00000008 - WaitForSomething2 0x00000004 - MessageNoOverlap 0x131e - WaitUntilTextboxCloses - _0807E5F8 0x00000008 - WaitForSomething 0x00000400 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08015E58.inc b/data/scripts/script_08015E58.inc deleted file mode 100644 index 457d8fb6..00000000 --- a/data/scripts/script_08015E58.inc +++ /dev/null @@ -1,40 +0,0 @@ -SCRIPT_START script_08015E58 - BeginBlock - DoPostScriptAction 0x0008 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x001d - EndBlock - WaitForSomething2 0x00000010 - Call sub_08066C94 - Wait 0x00e9 - DoPostScriptAction 0x0007 - DoPostScriptAction 0x001e - Wait 0x0014 - _0807EB44 0x0000 - DoPostScriptAction 0x001c - Call sub_0807F2D4 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000020 - WaitForSomething2 0x00000010 - Call sub_08066CA4 - DoPostScriptAction 0x0008 - Wait 0x00bc - _0807E5F8 0x00000020 - WaitForSomething2 0x00000010 - SetEntityPositionRelative 0x0088, 0x0068 - Call sub_08066C94 - Wait 0x00e8 - DoPostScriptAction 0x0007 - DoPostScriptAction 0x001e - Wait 0x0014 - _0807E5F8 0x00000020 - WaitForSomething2 0x00000010 - DoPostScriptAction 0x0014 - Wait 0x001e - MessageNoOverlap 0x131b - WaitUntilTextboxCloses - _0807E5F8 0x00000020 - WaitForSomething2 0x00000010 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08015F08.inc b/data/scripts/script_08015F08.inc deleted file mode 100644 index 2bedafbe..00000000 --- a/data/scripts/script_08015F08.inc +++ /dev/null @@ -1,14 +0,0 @@ -SCRIPT_START script_08015F08 - BeginBlock - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - EndBlock - WaitForSomething2 0x00000001 - MessageNoOverlap 0x131c - WaitUntilTextboxCloses - _0807E5F8 0x00000002 - WaitForSomething 0x00000200 - DoPostScriptAction 0x0005 - WaitForSomething 0x00000400 - DoPostScriptAction 0x0006 -SCRIPT_END diff --git a/data/scripts/script_08015F3C.inc b/data/scripts/script_08015F3C.inc deleted file mode 100644 index b90cb216..00000000 --- a/data/scripts/script_08015F3C.inc +++ /dev/null @@ -1,18 +0,0 @@ -SCRIPT_START script_08015F3C - BeginBlock - SetEntitySpeed 0x0080 - _0807EB44 0x0000 - _0807E930 0x0000 - EndBlock - WaitForSomething 0x00000040 - _0807E930 0x0004 - _0807EC64 0x00c0 - _0807E930 0x0000 - Wait 0x003c - _0807E5F8 0x00000080 - WaitForSomething 0x00000200 - DoPostScriptAction 0x0005 - WaitForSomething 0x00000400 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08015F80.inc b/data/scripts/script_08015F80.inc deleted file mode 100644 index 685cd467..00000000 --- a/data/scripts/script_08015F80.inc +++ /dev/null @@ -1,11 +0,0 @@ -SCRIPT_START script_08015F80 - BeginBlock - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - EndBlock - WaitForSomething 0x00000200 - DoPostScriptAction 0x0005 - WaitForSomething 0x00000400 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08015FA4.inc b/data/scripts/script_08015FA4.inc deleted file mode 100644 index 3f743ae6..00000000 --- a/data/scripts/script_08015FA4.inc +++ /dev/null @@ -1,9 +0,0 @@ -SCRIPT_START script_08015FA4 - BeginBlock - DoPostScriptAction 0x000a - Call sub_08066E38 - EndBlock - WaitForSomething 0x00000400 - DoPostScriptAction 0x0006 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_08015FC0.inc b/data/scripts/script_08015FC0.inc deleted file mode 100644 index a4af16db..00000000 --- a/data/scripts/script_08015FC0.inc +++ /dev/null @@ -1,20 +0,0 @@ -SCRIPT_START script_08015FC0 - 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 diff --git a/data/scripts/script_08016004.inc b/data/scripts/script_08016004.inc deleted file mode 100644 index 7516f589..00000000 --- a/data/scripts/script_08016004.inc +++ /dev/null @@ -1,13 +0,0 @@ -SCRIPT_START script_08016004 - _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 diff --git a/data/scripts/script_08016030.inc b/data/scripts/script_08016030.inc deleted file mode 100644 index 89472d82..00000000 --- a/data/scripts/script_08016030.inc +++ /dev/null @@ -1,14 +0,0 @@ -SCRIPT_START script_08016030 - BeginBlock - CheckKinstoneFused 0x0009 - JumpIf script_08016062 - EndBlock - WaitForSomething2 0x00000001 - DoPostScriptAction 0x0010 - Wait 0x003c - SetEntitySpeed 0x0020 - _0807ECF4 0x0080 - Wait 0x001e - DoPostScriptAction 0x0010 - _0807E5F8 0x00000008 -SCRIPT_END diff --git a/data/scripts/script_08016062.inc b/data/scripts/script_08016062.inc deleted file mode 100644 index fb0d6300..00000000 --- a/data/scripts/script_08016062.inc +++ /dev/null @@ -1,4 +0,0 @@ -SCRIPT_START script_08016062 - OffsetEntityPosition 0xfff0, 0x0000 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_0801606C.inc b/data/scripts/script_0801606C.inc deleted file mode 100644 index 34937e0f..00000000 --- a/data/scripts/script_0801606C.inc +++ /dev/null @@ -1,14 +0,0 @@ -SCRIPT_START script_0801606C - BeginBlock - CheckKinstoneFused 0x0009 - JumpIf script_0801609E - EndBlock - WaitForSomething2 0x00000002 - DoPostScriptAction 0x0010 - Wait 0x003c - SetEntitySpeed 0x0020 - _0807EC94 0x0080 - Wait 0x001e - DoPostScriptAction 0x0010 - _0807E5F8 0x00000004 -SCRIPT_END diff --git a/data/scripts/script_0801609E.inc b/data/scripts/script_0801609E.inc deleted file mode 100644 index e11bf37f..00000000 --- a/data/scripts/script_0801609E.inc +++ /dev/null @@ -1,4 +0,0 @@ -SCRIPT_START script_0801609E - OffsetEntityPosition 0x0010, 0x0000 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_080160A8.inc b/data/scripts/script_080160A8.inc deleted file mode 100644 index eba0a74e..00000000 --- a/data/scripts/script_080160A8.inc +++ /dev/null @@ -1,224 +0,0 @@ -SCRIPT_START script_080160A8 - BeginBlock - _0807E9D4 - _0807E930 0x0008 -script_080160B0: - EndBlock - BeginBlock - CheckEntityInteractType - JumpIf script_080160E0 - TestBit 0x00000008 - JumpIf script_080160D2 - TestBit 0x00000010 - JumpIf script_080160D2 - Jump script_080160B0 -script_080160D2: - EndBlock - _0807EB74 - WaitForSomething2 0x00000004 - Jump script_080160B0 -script_080160E0: - _0807E864 - _0807EB74 - EndBlock - HasRoomItemForSale - JumpIfNot script_0801611A - MessageFromTarget 0x2d07 - WaitUntilTextboxCloses - _0807E3E8 - JumpIfNot script_08016132 - BuyItem 0x0000, 0x0000 - JumpIf script_0801610C - MessageFromTarget 0x2d0b - WaitUntilTextboxCloses - Jump script_08016132 -script_0801610C: - WaitPlayerGetItem -.ifndef EU - _0807EB8C - MessageFromTarget 0x2d0d -.else - MessageFromTarget 0x2d08 -.endif - WaitUntilTextboxCloses - Jump script_08016132 -script_0801611A: - CheckKinstoneFused 0x0014 - JumpIfNot script_0801612C - MessageFromTarget 0x2d09 - WaitUntilTextboxCloses - Jump script_08016132 -script_0801612C: - MessageFromTarget 0x2d01 - WaitUntilTextboxCloses -script_08016132: - _0807E878 - _0807EB44 0x0004 - Jump script_080160B0 - .align 2, 0 - -SCRIPT_START script_0801613C - BeginBlock - Call sub_080787B4 - EndBlock -script_08016146: - CheckEntityInteractType - JumpIfNot script_08016146 - _0807E864 - GetInventoryValue 0x0025 - MessageFromTargetTable 0x2d03, 0x2d02, 0x2d02, 0x2d02 - _0807E3E8 - JumpIfNot script_0801618A - _0807E48C 0x0020 - JumpIf script_08016172 - MessageFromTarget 0x2d0c - Jump script_0801618A -script_08016172: - BuyItem 0x0025, 0x0000 - JumpIf script_08016184 - MessageFromTarget 0x2d0b - Jump script_0801618A -script_08016184: - WaitPlayerGetItem - MessageFromTarget 0x2d06 -script_0801618A: - _0807E878 - Jump script_08016146 - .align 2, 0 - -SCRIPT_START script_08016190 - BeginBlock - Call sub_080787B4 - EndBlock -script_0801619A: - CheckEntityInteractType - JumpIfNot script_0801619A - _0807E864 - GetInventoryValue 0x0024 - MessageFromTargetTable 0x2d05, 0x2d04, 0x2d04, 0x2d04 - _0807E3E8 - JumpIfNot script_080161E2 - _0807E48C 0x0020 - JumpIf script_080161C6 - MessageFromTarget 0x2d0c - Jump script_080161E2 -script_080161C6: - BuyItem 0x0024, 0x0000 - JumpIf script_080161D8 - MessageFromTarget 0x2d0b - Jump script_080161E2 -script_080161D8: -.ifndef EU - WaitPlayerGetItem - WaitUntilTextboxCloses - _0807EB8C - MessageNoOverlap 0x2d06 -.else - MessageFromTarget 0x2d06 -.endif -script_080161E2: - _0807E878 - Jump script_0801619A - .align 2, 0 - -SCRIPT_START script_080161E8 - BeginBlock - Call sub_0807F348 - DoPostScriptAction 0x000a - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - EndBlock -script_080161FE: - Call sub_08068C28 -script_08016204: - CheckEntityInteractType - JumpIfNot script_08016204 - _0807E864 - Call sub_0807DF28 - _0807EB74 - Call sub_08068CA0 - JumpIf script_0801633E - Call sub_08068CFC - JumpIfNot script_08016332 - Call sub_08068DB8 - WaitUntilTextboxCloses - Call sub_08068DD0 - WaitUntilTextboxCloses - _0807E3E8 - JumpIfNot script_08016346 - StartPlayerScript script_0801635C - WaitForSomething2 0x00000001 - _0807EB74 - Call sub_08068C8C - JumpIf script_08016262 - Call sub_08068DE8 - WaitUntilTextboxCloses - Wait 0x001e -script_08016262: - Call sub_08068E00 - WaitUntilTextboxCloses - DoPostScriptAction 0x0001 - Call sub_0807F2D4 - Call sub_08068E90 - Call sub_08068C8C - JumpIf script_0801631C - Call sub_08068F00 - Call sub_08068F14 - Call sub_08068BB4 - CallWithArg sub_0807F244, 0x00010001 - Call sub_08068B84 - Call sub_0807F2A8 - Call sub_08068BD0 - Wait 0x001e - Call sub_08068E18 - WaitUntilTextboxCloses - Call sub_08068EB4 - Call sub_0807DF50 - _0807E878 -script_080162CC: - EndBlock - BeginBlock - Call sub_08068EC4 - JumpIf script_080162F6 - CheckEntityInteractType - JumpIf script_080162E4 - Jump script_080162CC -script_080162E4: - EndBlock - _0807E864 - Call sub_08068E78 - WaitUntilTextboxCloses - _0807E878 - Jump script_080162CC -script_080162F6: - EndBlock - _0807E888 - Call sub_0807F594 - Call sub_0807DF28 - _0807E864 - StopBgm - PlaySound SFX_TASK_COMPLETE - Wait 0x003c - PlayBgm BGM_LEARN_SCROLL - Call sub_08068F3C -script_0801631C: - Call sub_08068E30 - WaitUntilTextboxCloses - Call sub_08068C6C - WaitPlayerGetItem - WaitUntilTextboxCloses - Jump script_08016346 -script_08016332: - Call sub_08068E60 - WaitUntilTextboxCloses - Jump script_08016346 -script_0801633E: - Call sub_08068E48 - WaitUntilTextboxCloses -script_08016346: - Call sub_0807DF50 - _0807E878 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - Jump script_080161FE - .2byte 0x0000 diff --git a/data/scripts/script_0801635C.inc b/data/scripts/script_0801635C.inc deleted file mode 100644 index 002227b9..00000000 --- a/data/scripts/script_0801635C.inc +++ /dev/null @@ -1,8 +0,0 @@ -SCRIPT_START script_0801635C - SetEntitySpeed 0x0100 - _0807EDD4 0x0078, 0x0050 - _0807EB44 0x0000 - DoPostScriptAction 0x0000 - _0807E5F8 0x00000001 - Call sub_080791BC -SCRIPT_END diff --git a/data/scripts/script_0801637C.inc b/data/scripts/script_0801637C.inc deleted file mode 100644 index 0f1c6a03..00000000 --- a/data/scripts/script_0801637C.inc +++ /dev/null @@ -1,5 +0,0 @@ -thumb_func_start script_0801637C -script_0801637C: - push {lr} - bl CreateDust - pop {pc} diff --git a/data/scripts/script_08016384.inc b/data/scripts/script_08016384.inc deleted file mode 100644 index ff750c90..00000000 --- a/data/scripts/script_08016384.inc +++ /dev/null @@ -1,69 +0,0 @@ -SCRIPT_START script_08016384 - BeginBlock - EndBlock - Jump script_08016384 - JumpIf script_08016384 - JumpIfNot script_08016384 - JumpTable script_08016384, script_08016384 - JumpAbsolute script_08016384 - JumpAbsoluteIf script_08016384 - JumpAbsoluteIfNot script_08016384 - JumpAbsoluteTable script_08016384, script_08016384 - Call script_08016384 - CallWithArg script_08016384, 0x12345678 - LoadRoomEntityList script_08016384 - TestBit 0x00000001 - CheckInventory1 0x0001 - CheckInventory2 0x0001 - HasRoomItemForSale - CheckLocalFlag 0x0067 -.ifdef JP - CheckLocalFlagByBank 0x0100, 0x0069 -.else -.ifdef EU - CheckLocalFlagByBank 0x0100, 0x0069 -.else -.ifdef DEMO_JP - CheckLocalFlagByBank 0x0100, 0x0069 @ TODO deduplicate -.else - CheckLocalFlagByBank 0x0100, 0x006b -.endif -.endif -.endif - CheckGlobalFlag 0x0013 - CheckRoomFlag 0x0000 - CheckPlayerInRegion 0x0000, 0x0000, 0x0000 - CheckPlayerInRegion2 0x0000 - CheckEntityInteractType - _0807E30C - HasRupees 0x00c8 - _0807E3E8 - CheckKinstoneFused 0x0001 - BuyItem 0x006c, 0x0000 - _0807E48C 0x0020 - _0807E4CC 0x00000000 - _0807E4EC 0x00000000 - _0807E514 0x00000000 - CheckPlayerFlags 0x00000080 - _0807E564 - EntityHasHeight - ComparePlayerAction 0x0001 - ComparePlayerAnimationState 0x0004 - _0807E5F8 0x00000001 - _0807E610 0x00000002 - SetLocalFlag 0x0067 - SetLocalFlagByBank 0x0100, 0x0001 - ClearLocalFlag 0x0067 - SetGlobalFlag 0x0013 - ClearGlobalFlag 0x0013 - SetRoomFlag 0x0000 - ClearRoomFlag 0x0000 - Wait 0x001e - WaitForSomething 0x00000001 - WaitForSomething2 0x00000002 - WaitPlayerGetItem - WaitForPlayerAction0x17 - WaitFor_1 - WaitFor_2 - _0807E778 0x0004 - SetFadeMask 0x0000ffff diff --git a/data/scripts/script_08016482.inc b/data/scripts/script_08016482.inc deleted file mode 100644 index 57c2cda5..00000000 --- a/data/scripts/script_08016482.inc +++ /dev/null @@ -1,80 +0,0 @@ -SCRIPT_START script_08016482 - _0807E79C - Nop2 0x0080 - DoFade4 - DoFade5 - DoFade6 - DoFade7 - _0807E800 0x00000000 - _0807E80C 0x00000000 - _0807E858_0 - _0807E864 - _0807E878 - _0807E888 - SetPlayerAction 0x00005408 - StartPlayerScript script_08016384 - _0807E8D4 0x03a0 - _0807E8E4_0 - _0807E8E4_1 - _0807E8E4_2 - _0807E8E4_3 - _0807E908 0x0004 - SetIntVariable 0x00000000 - _0807E924 - _0807E930 0x0000 - _0807E944 - _0807E974 0x0600 - _0807E9D4 - _0807E9DC - _0807E9E4 0x0000 - _0807EA88 0x0001 - WaitUntilTextboxCloses - MessageFromTarget 0x0601 - MessageNoOverlap 0x0601 - MessageFromTargetPos_1 0x0601 - MessageFromTargetTable 0x0601, 0x0602, 0x0603 - MessageNoOverlapVar - _0807EB28 0x0602 - _0807EB38 - _0807EB44 0x0000 - _0807EB4C 0x0000, 0x0000 - _0807EB74 - _0807EB8C - SetEntityDirection 0x0000 - SetEntityDirectionWithAnimationState 0x0000 - SetEntitySpeed 0x0100 - SetEntity0x20 0x00018000 - SetEntityPositionRelative 0x0000, 0x0000 - MoveEntityToPlayer - Nop3 - _0807EC1C 0x0010 - _0807EC64 0x0020 - _0807EC94 0x0030 - _0807ECC4 0x0040 - _0807ECF4 0x0050 - _0807ED24 0x0000, 0x0000, 0x0000 - _0807EDD4 0x0000, 0x0000 - _0807EE04 0x0000, 0x0000 - _0807EE30 - _0807EEB4 - _0807EEF4 0xfff0, 0x0014 - DoPostScriptAction 0x0000 - DoPostScriptAction2 0x0001 - PlaySound SFX_METAL_CLINK - PlayBgm BGM_MINISH_WOODS - SoundReq 0x00000074 - StopBgm - ModRupees 0xff38 - ModHealth 0x0010 - IncreaseMaxHealth - _0807F050 0x0001 - _0807F034 0x0001 - GetInventoryValue 0x0001 - _0807F078 0x0001, 0x0002 - _0807F088 0x0001 - CameraTargetEntity - CameraTargetPlayer - _0807F0B4 0x0007 - _0807F0C8 0x003c, 0x0003 -SCRIPT_END - .2byte 0x0000 diff --git a/data/scripts/script_080165A4.inc b/data/scripts/script_080165A4.inc deleted file mode 100644 index 288a6781..00000000 --- a/data/scripts/script_080165A4.inc +++ /dev/null @@ -1,18 +0,0 @@ -SCRIPT_START script_080165A4 - BeginBlock - DoPostScriptAction 0x000a - _0807EB44 0x0004 - _0807E9D4 - EndBlock -script_080165B2: - _0807E974 0x0601 - Jump script_080165B2 - .2byte 0x0000 -script_080165BC: - Wait 0x001e - CheckPlayerInRegion2 0x2020 - JumpIfNot script_080165BC - DoPostScriptAction 0x0003 - Call script_0801637C+1 - Jump script_080165BC - .2byte 0x0000 diff --git a/data/scripts/script_080165D8.inc b/data/scripts/script_080165D8.inc deleted file mode 100644 index e9ef17f2..00000000 --- a/data/scripts/script_080165D8.inc +++ /dev/null @@ -1,263 +0,0 @@ -SCRIPT_START script_080165D8 - Wait 0x001e - CheckPlayerInRegion2 0x2020 - JumpAbsoluteIfNot script_080165D8 - DoPostScriptAction 0x0003 - Call script_0801637C+1 - JumpAbsolute script_080165D8 - .2byte 0x0000 -SCRIPT_START script_080165F8 - BeginBlock - _0807E9D4 - EndBlock -script_080165FE: - _0807E30C - JumpIfNot script_080165FE - MessageFromTarget 0x0601 - Jump script_080165FE -SCRIPT_START script_0801660C - BeginBlock - _0807E9D4 - EndBlock -script_08016612: - _0807E944 - _0807E864 - MessageFromTarget 0x0602 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_08016612 - .2byte 0x0000 -SCRIPT_START script_08016628 - BeginBlock - _0807E9D4 - EndBlock -script_0801662E: - _0807E944 - _0807E864 - _0807EB28 0x0603 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_0801662E - .2byte 0x0000 -SCRIPT_START script_08016644 - SetEntitySpeed 0x0100 -script_08016648: - _0807ECF4 0x0030 - Wait 0x0008 - _0807ECC4 0x0030 - Wait 0x0008 - _0807EC94 0x0030 - Wait 0x0008 - _0807EC64 0x0030 - Wait 0x0008 - Jump script_08016648 -SCRIPT_START script_0801666C - _0807ED24 0x0055, 0x0039, 0x00b4 - Wait 0x0008 - _0807ED24 0x0075, 0x0076, 0x003c - Wait 0x0008 - _0807ED24 0x0105, 0x006c, 0x0078 - Wait 0x0008 - _0807ED24 0x018e, 0x007a, 0x0078 - Wait 0x0008 - _0807ED24 0x0173, 0x0023, 0x003c - Wait 0x0008 - _0807ED24 0x00d8, 0x003f, 0x003c - Wait 0x0008 - Jump script_0801666C -SCRIPT_START script_080166B8 - SetEntitySpeed 0x0100 -script_080166BC: - _0807EDD4 0x0055, 0x0039 - Wait 0x0008 - _0807EDD4 0x0075, 0x0076 - Wait 0x0008 - _0807EDD4 0x0105, 0x006c - Wait 0x0008 - _0807EDD4 0x018e, 0x007a - Wait 0x0008 - _0807EDD4 0x0173, 0x0023 - Wait 0x0008 - _0807EDD4 0x00d8, 0x003f - Wait 0x0008 - Jump script_080166BC -SCRIPT_START script_080166FC - SetEntitySpeed 0x0100 -script_08016700: - _0807EC94 0x0030 - _0807E5F8 0x00000002 - Wait 0x000f - DoPostScriptAction 0x0000 - _0807EB44 0x0004 - WaitForSomething 0x00000001 - _0807E610 0x00000001 - DoPostScriptAction 0x0003 - Wait 0x0002 - _0807EB44 0x0006 - Wait 0x0002 - _0807EB44 0x0000 - Wait 0x0002 - _0807EB44 0x0002 - Wait 0x0002 - _0807EB44 0x0004 - WaitForSomething 0x00000001 - _0807E610 0x00000001 - _0807ECF4 0x0030 - Wait 0x000f - DoPostScriptAction 0x0000 - _0807EB44 0x0004 - Wait 0x001e - _0807E5F8 0x00000006 - DoPostScriptAction 0x0003 - Wait 0x0002 - _0807EB44 0x0006 - Wait 0x0002 - _0807EB44 0x0000 - Wait 0x0002 - _0807EB44 0x0002 - Wait 0x0002 - _0807EB44 0x0004 - Wait 0x003c - Jump script_08016700 -SCRIPT_START script_08016798 - SetEntitySpeed 0x0100 -script_0801679C: - WaitForSomething 0x00000002 - _0807E610 0x00000002 - _0807EC94 0x0030 - _0807E5F8 0x00000004 - Wait 0x000f - DoPostScriptAction 0x0000 - _0807EB44 0x0004 - WaitForSomething 0x00000002 - _0807E610 0x00000002 - DoPostScriptAction 0x0003 - Wait 0x0002 - _0807EB44 0x0006 - Wait 0x0002 - _0807EB44 0x0000 - Wait 0x0002 - _0807EB44 0x0002 - Wait 0x0002 - _0807EB44 0x0004 - WaitForSomething 0x00000002 - _0807E610 0x00000002 - _0807ECF4 0x0030 - _0807E5F8 0x00000001 - Wait 0x000f - DoPostScriptAction 0x0000 - _0807EB44 0x0004 - WaitForSomething 0x00000002 - _0807E610 0x00000002 - DoPostScriptAction 0x0003 - Wait 0x0002 - _0807EB44 0x0006 - Wait 0x0002 - _0807EB44 0x0000 - Wait 0x0002 - _0807EB44 0x0002 - Wait 0x0002 - _0807EB44 0x0004 - Jump script_0801679C -SCRIPT_START script_08016844 - SetEntitySpeed 0x0100 -script_08016848: - WaitForSomething 0x00000004 - _0807E610 0x00000004 - _0807EC94 0x0030 - Wait 0x000f - DoPostScriptAction 0x0000 - _0807EB44 0x0004 - Wait 0x001e - _0807E5F8 0x00000003 - DoPostScriptAction 0x0003 - Wait 0x0002 - _0807EB44 0x0006 - Wait 0x0002 - _0807EB44 0x0000 - Wait 0x0002 - _0807EB44 0x0002 - Wait 0x0002 - _0807EB44 0x0004 - Wait 0x003c - _0807ECF4 0x0030 - _0807E5F8 0x00000002 - Wait 0x000f - DoPostScriptAction 0x0000 - _0807EB44 0x0004 - WaitForSomething 0x00000004 - _0807E610 0x00000004 - DoPostScriptAction 0x0003 - Wait 0x0002 - _0807EB44 0x0006 - Wait 0x0002 - _0807EB44 0x0000 - Wait 0x0002 - _0807EB44 0x0002 - Wait 0x0002 - _0807EB44 0x0004 - Jump script_08016848 -SCRIPT_START script_080168E0 - BeginBlock - _0807E9D4 - EndBlock -script_080168E6: - _0807E944 - _0807E864 - Wait 0x000f - _0807E878 - Jump script_080168E6 -SCRIPT_START script_080168F4 - BeginBlock - Call sub_08064EA4 - _0807EB44 0x0004 - DoPostScriptAction 0x0000 - DoPostScriptAction 0x000a - EndBlock -script_0801690A: - _0807E30C - JumpIfNot script_0801690A - _0807E864 - _0807EB74 - Call sub_08064F28 - WaitUntilTextboxCloses - JumpIfNot script_08016926 - _0807F034 0x003d - WaitPlayerGetItem -script_08016926: - _0807E878 - SetGlobalFlag 0x005c - Jump script_0801690A - BeginBlock - _0807E9D4 - _0807EB44 0x0000 - DoPostScriptAction 0x000a - EndBlock -script_0801693E: - _0807E944 - _0807E864 - Wait 0x0018 - MessageFromTarget 0x0a01 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_0801693E - .2byte 0x0000 - BeginBlock - _0807E9D4 - _0807EB44 0x0000 - DoPostScriptAction 0x000a - _0807E930 0x0000 - EndBlock -script_0801696A: - _0807E944 - _0807E864 - Wait 0x0018 - MessageFromTarget 0x0a01 - WaitUntilTextboxCloses - Wait 0x000f - _0807E878 - Jump script_0801696A - .2byte 0x0000 diff --git a/data/scripts/southHyruleField/script_BedInLinksRoom.inc b/data/scripts/southHyruleField/script_BedInLinksRoom.inc new file mode 100644 index 00000000..1ce23a20 --- /dev/null +++ b/data/scripts/southHyruleField/script_BedInLinksRoom.inc @@ -0,0 +1,13 @@ +@ Bed in links room +@ also Bed in Hyrule Castle +SCRIPT_START script_BedInLinksRoom + BeginBlock + SetIntVariable 0x00000002 + DoPostScriptAction 0x0001 + EndBlock + WaitForSomething2 0x00000004 + BeginBlock + SetIntVariable 0x00000003 + DoPostScriptAction 0x0001 + EndBlock +SCRIPT_END diff --git a/data/scripts/southHyruleField/script_ForestMinish2.inc b/data/scripts/southHyruleField/script_ForestMinish2.inc new file mode 100644 index 00000000..9815dd19 --- /dev/null +++ b/data/scripts/southHyruleField/script_ForestMinish2.inc @@ -0,0 +1,26 @@ +@ Hyrule Fields? ForestMinish with Beanstock left to Minish Woods +SCRIPT_START script_ForestMinish2 + BeginBlock + Call sub_08060090 + DoPostScriptAction 0x000a + EndBlock +script_0800C592: + BeginBlock + CheckEntityInteractType + JumpIf script_0800C5A6 + Call sub_08060158 + EndBlock + Jump script_0800C592 +script_0800C5A6: + EndBlock + _0807E864 + CheckInventory1 0x0067 + JumpIfNot script_0800C5BC + Call sub_08060208 + Jump script_0800C5C0 +script_0800C5BC: + MessageNoOverlap 0x4710 +script_0800C5C0: + WaitUntilTextboxCloses + _0807E878 + Jump script_0800C592 diff --git a/data/scripts/southHyruleField/script_Object69LinksHouseBed.inc b/data/scripts/southHyruleField/script_Object69LinksHouseBed.inc new file mode 100644 index 00000000..a295cc26 --- /dev/null +++ b/data/scripts/southHyruleField/script_Object69LinksHouseBed.inc @@ -0,0 +1,33 @@ +@ Links house OBJECT_69 bed +SCRIPT_START script_Object69LinksHouseBed + BeginBlock + EndBlock +script_08009DF0: + CheckPlayerInRegion 0x00a0, 0x0038, 0x1830 + JumpIfNot script_08009DF0 + _0807E864 + Call sub_0807F9A4 + Wait 0x0008 + _0807EB28 0x3207 + _0807E3E8 + JumpIfNot script_08009E4E + Call sub_0807DF28 + _0807E778 0x0002 + DoFade5 + WaitFor_2 + Call sub_0804E864 + Wait 0x001e + _0807E5F8 0x00000002 + WaitForSomething2 0x00000001 + _0807EB28 0x3209 + Wait 0x000f + WaitUntilTextboxCloses + _0807E878 + Call sub_0807DF50 + DoPostScriptAction 0x0006 +SCRIPT_END +script_08009E4E: + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/southHyruleField/script_PlayerWakeAfterRest.inc b/data/scripts/southHyruleField/script_PlayerWakeAfterRest.inc new file mode 100644 index 00000000..dcd55630 --- /dev/null +++ b/data/scripts/southHyruleField/script_PlayerWakeAfterRest.inc @@ -0,0 +1,13 @@ +@ Player waking up after rest +SCRIPT_START script_PlayerWakeAfterRest + BeginBlock + Call sub_0807DF28 + EndBlock + WaitForSomething2 0x00000002 + _0807E778 0x0002 + DoFade4 + WaitFor_2 + DoPostScriptAction 0x0014 + Wait 0x001e + _0807E5F8 0x00000001 +SCRIPT_END diff --git a/data/scripts/southHyruleField/script_SmithAtLinksHouse.inc b/data/scripts/southHyruleField/script_SmithAtLinksHouse.inc new file mode 100644 index 00000000..88aa8aa8 --- /dev/null +++ b/data/scripts/southHyruleField/script_SmithAtLinksHouse.inc @@ -0,0 +1,18 @@ +@ Links house Smith +SCRIPT_START script_SmithAtLinksHouse + BeginBlock + Call sub_0807F348 + Call sub_08066288 + Call sub_08066274 + DoPostScriptAction 0x000a + _0807E930 0x000c + _0807E908 0x0003 + EndBlock +script_08009DD2: + _0807E944 + _0807E908 0x0002 + Call sub_0806622C + WaitUntilTextboxCloses + _0807E908 0x0003 + _0807E930 0x000c + Jump script_08009DD2 diff --git a/data/scripts/unused/script_08009E80.inc b/data/scripts/unused/script_08009E80.inc new file mode 100644 index 00000000..9d082aa4 --- /dev/null +++ b/data/scripts/unused/script_08009E80.inc @@ -0,0 +1,6 @@ +@ TODO UNUSED? +SCRIPT_START script_08009E80 + BeginBlock + EndBlock +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/unused/script_0800B828.inc b/data/scripts/unused/script_0800B828.inc new file mode 100644 index 00000000..002888a2 --- /dev/null +++ b/data/scripts/unused/script_0800B828.inc @@ -0,0 +1,52 @@ +@ TODO UNUSED? +SCRIPT_START script_0800B828 + BeginBlock + _0807E9D4 + _0807EB44 0x0000 + DoPostScriptAction 0x000a + EndBlock +script_0800B836: + _0807E944 + _0807E864 + MessageFromTarget 0x0a01 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_0800B836 + .2byte 0x0000 + BeginBlock + _0807E9D4 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x000a + EndBlock +script_0800B85E: + Wait 0x003c + Call sub_080646A4 + Jump script_0800B85E + BeginBlock + _0807E9D4 + _0807EB44 0x0004 + _0807E930 0x0000 + DoPostScriptAction 0x000a + EndBlock +script_0800B87E: + Wait 0x003c + Call sub_0806407C + Jump script_0800B87E + BeginBlock + _0807E9D4 + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x000a + EndBlock +script_0800B89E: + CheckEntityInteractType + JumpIfNot script_0800B89E + _0807E864 + _0807EB74 + MessageFromTarget 0x0a01 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + Jump script_0800B89E diff --git a/data/scripts/unused/script_0800D84C.inc b/data/scripts/unused/script_0800D84C.inc new file mode 100644 index 00000000..baf79ed1 --- /dev/null +++ b/data/scripts/unused/script_0800D84C.inc @@ -0,0 +1,15 @@ +@ TODO UNUSED? +SCRIPT_START script_0800D84C + BeginBlock + EndBlock +script_0800D850: + CheckRoomFlag 0x0000 + JumpIfNot script_0800D850 + _0807E864 + Call sub_0807DF28 + Wait 0x003c + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/unused/script_0800FB2C.inc b/data/scripts/unused/script_0800FB2C.inc new file mode 100644 index 00000000..fb2209b0 --- /dev/null +++ b/data/scripts/unused/script_0800FB2C.inc @@ -0,0 +1,8 @@ +@ TODO UNUSED? +SCRIPT_START script_0800FB2C + _0807EB44 0x0002 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/unused/script_08012B24.inc b/data/scripts/unused/script_08012B24.inc new file mode 100644 index 00000000..9a5df12d --- /dev/null +++ b/data/scripts/unused/script_08012B24.inc @@ -0,0 +1,12 @@ +@ TODO UNUSED? +SCRIPT_START script_08012B24 + BeginBlock + SetEntitySpeed 0x0100 + _0807EB44 0x0004 + EndBlock + DoPostScriptAction 0x0001 + _0807ECC4 0x0008 + _0807E5F8 0x00000002 + CallWithArg sub_0807FB64, 0xffffffe2 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/unused/script_08012B50.inc b/data/scripts/unused/script_08012B50.inc new file mode 100644 index 00000000..e83e0540 --- /dev/null +++ b/data/scripts/unused/script_08012B50.inc @@ -0,0 +1,12 @@ +@ TODO UNUSED? +SCRIPT_START script_08012B50 + BeginBlock + SetEntitySpeed 0x0100 + _0807EB44 0x0000 + EndBlock + DoPostScriptAction 0x0001 + _0807EC64 0x0008 + _0807E5F8 0x00000002 + CallWithArg sub_0807FB64, 0xffffffe2 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/unused/script_08012B7C.inc b/data/scripts/unused/script_08012B7C.inc new file mode 100644 index 00000000..b6b44f07 --- /dev/null +++ b/data/scripts/unused/script_08012B7C.inc @@ -0,0 +1,12 @@ +@ TODO UNUSED? +SCRIPT_START script_08012B7C + BeginBlock + SetEntitySpeed 0x0100 + _0807EB44 0x0002 + EndBlock + DoPostScriptAction 0x0001 + _0807EC94 0x0008 + _0807E5F8 0x00000002 + CallWithArg sub_0807FB64, 0xffffffe2 + Call sub_080791BC +SCRIPT_END diff --git a/data/scripts/unused/script_08012C68.inc b/data/scripts/unused/script_08012C68.inc new file mode 100644 index 00000000..c27b36b3 --- /dev/null +++ b/data/scripts/unused/script_08012C68.inc @@ -0,0 +1,19 @@ +@ TODO UNUSED? +SCRIPT_START script_08012C68 + BeginBlock + _0807E9D4 + DoPostScriptAction 0x0008 + SetIntVariable 0x00000000 + Call sub_0806DA04 + EndBlock +script_08012C7E: + CheckEntityInteractType + JumpIfNot script_08012C7E + _0807E864 + _0807E8E4_0 + MessageFromTarget 0x111d + WaitUntilTextboxCloses + SetGlobalFlag 0x0022 + _0807E878 + Jump script_08012C7E + diff --git a/data/scripts/unused/script_08013D04.inc b/data/scripts/unused/script_08013D04.inc new file mode 100644 index 00000000..f53391a3 --- /dev/null +++ b/data/scripts/unused/script_08013D04.inc @@ -0,0 +1,17 @@ +@ TODO UNUSED? +SCRIPT_START script_08013D04 + BeginBlock + Call sub_0807F92C + DoPostScriptAction 0x0008 + CallWithArg sub_0806DA04, 0x00000004 + EndBlock +script_08013D1C: + CheckEntityInteractType + JumpIfNot script_08013D1C + CallWithArg sub_08095D54, 0x00000000 + PlaySound SFX_ELEMENT_PLACE + _0807E5F8 0x08000000 + Call sub_080791BC + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/unused/script_08013D44.inc b/data/scripts/unused/script_08013D44.inc new file mode 100644 index 00000000..0c0c832f --- /dev/null +++ b/data/scripts/unused/script_08013D44.inc @@ -0,0 +1,17 @@ +@ TODO UNUSED? +SCRIPT_START script_08013D44 + BeginBlock + Call sub_0807F92C + DoPostScriptAction 0x0008 + CallWithArg sub_0806DA04, 0x00000004 + EndBlock +script_08013D5C: + CheckEntityInteractType + JumpIfNot script_08013D5C + CallWithArg sub_08095D54, 0x00000001 + PlaySound SFX_ELEMENT_PLACE + _0807E5F8 0x10000000 + Call sub_080791BC + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/unused/script_08013D84.inc b/data/scripts/unused/script_08013D84.inc new file mode 100644 index 00000000..7c41421f --- /dev/null +++ b/data/scripts/unused/script_08013D84.inc @@ -0,0 +1,17 @@ +@ TODO UNUSED? +SCRIPT_START script_08013D84 + BeginBlock + Call sub_0807F92C + DoPostScriptAction 0x0008 + CallWithArg sub_0806DA04, 0x00000004 + EndBlock +script_08013D9C: + CheckEntityInteractType + JumpIfNot script_08013D9C + CallWithArg sub_08095D54, 0x00000002 + PlaySound SFX_ELEMENT_PLACE + _0807E5F8 0x20000000 + Call sub_080791BC + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/unused/script_08013DC4.inc b/data/scripts/unused/script_08013DC4.inc new file mode 100644 index 00000000..0d04b036 --- /dev/null +++ b/data/scripts/unused/script_08013DC4.inc @@ -0,0 +1,17 @@ +@ TODO UNUSED? +SCRIPT_START script_08013DC4 + BeginBlock + Call sub_0807F92C + DoPostScriptAction 0x0008 + CallWithArg sub_0806DA04, 0x00000004 + EndBlock +script_08013DDC: + CheckEntityInteractType + JumpIfNot script_08013DDC + CallWithArg sub_08095D54, 0x00000003 + PlaySound SFX_ELEMENT_PLACE + _0807E5F8 0x40000000 + Call sub_080791BC + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/unused/script_080155F4.inc b/data/scripts/unused/script_080155F4.inc new file mode 100644 index 00000000..ae645fa8 --- /dev/null +++ b/data/scripts/unused/script_080155F4.inc @@ -0,0 +1,12 @@ +@ TODO UNUSED? +SCRIPT_START script_080155F4 + WaitForSomething2 0x00000020 + _0807E930 0x0000 + Wait 0x0014 + _0807E5F8 0x00000040 +script_08015608: + CheckRoomFlag 0x0001 + JumpIfNot script_08015608 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/unused/script_08015A7C.inc b/data/scripts/unused/script_08015A7C.inc new file mode 100644 index 00000000..88c9b653 --- /dev/null +++ b/data/scripts/unused/script_08015A7C.inc @@ -0,0 +1,11 @@ +@ TODO UNUSED? +SCRIPT_START script_08015A7C + SetEntitySpeed 0x0100 + DoPostScriptAction 0x0001 + _0807EC64 0x0010 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000004 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/unused/script_08015AA0.inc b/data/scripts/unused/script_08015AA0.inc new file mode 100644 index 00000000..aaad91f3 --- /dev/null +++ b/data/scripts/unused/script_08015AA0.inc @@ -0,0 +1,11 @@ +@ TODO UNUSED? +SCRIPT_START script_08015AA0 + SetEntitySpeed 0x0100 + DoPostScriptAction 0x0001 + _0807EC94 0x0010 + _0807EB44 0x0002 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000004 + Call sub_080791BC +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/unused/script_08015F80.inc b/data/scripts/unused/script_08015F80.inc new file mode 100644 index 00000000..bf99b59a --- /dev/null +++ b/data/scripts/unused/script_08015F80.inc @@ -0,0 +1,12 @@ +@ TODO UNUSED? +SCRIPT_START script_08015F80 + BeginBlock + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + EndBlock + WaitForSomething 0x00000200 + DoPostScriptAction 0x0005 + WaitForSomething 0x00000400 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/unused/script_08016384.inc b/data/scripts/unused/script_08016384.inc new file mode 100644 index 00000000..507b9dcc --- /dev/null +++ b/data/scripts/unused/script_08016384.inc @@ -0,0 +1,70 @@ +@ TODO UNUSED? +SCRIPT_START script_08016384 + BeginBlock + EndBlock + Jump script_08016384 + JumpIf script_08016384 + JumpIfNot script_08016384 + JumpTable script_08016384, script_08016384 + JumpAbsolute script_08016384 + JumpAbsoluteIf script_08016384 + JumpAbsoluteIfNot script_08016384 + JumpAbsoluteTable script_08016384, script_08016384 + Call script_08016384 + CallWithArg script_08016384, 0x12345678 + LoadRoomEntityList script_08016384 + TestBit 0x00000001 + CheckInventory1 0x0001 + CheckInventory2 0x0001 + HasRoomItemForSale + CheckLocalFlag 0x0067 +.ifdef JP + CheckLocalFlagByBank 0x0100, 0x0069 +.else +.ifdef EU + CheckLocalFlagByBank 0x0100, 0x0069 +.else +.ifdef DEMO_JP + CheckLocalFlagByBank 0x0100, 0x0069 @ TODO deduplicate +.else + CheckLocalFlagByBank 0x0100, 0x006b +.endif +.endif +.endif + CheckGlobalFlag 0x0013 + CheckRoomFlag 0x0000 + CheckPlayerInRegion 0x0000, 0x0000, 0x0000 + CheckPlayerInRegion2 0x0000 + CheckEntityInteractType + _0807E30C + HasRupees 0x00c8 + _0807E3E8 + CheckKinstoneFused 0x0001 + BuyItem 0x006c, 0x0000 + _0807E48C 0x0020 + _0807E4CC 0x00000000 + _0807E4EC 0x00000000 + _0807E514 0x00000000 + CheckPlayerFlags 0x00000080 + _0807E564 + EntityHasHeight + ComparePlayerAction 0x0001 + ComparePlayerAnimationState 0x0004 + _0807E5F8 0x00000001 + _0807E610 0x00000002 + SetLocalFlag 0x0067 + SetLocalFlagByBank 0x0100, 0x0001 + ClearLocalFlag 0x0067 + SetGlobalFlag 0x0013 + ClearGlobalFlag 0x0013 + SetRoomFlag 0x0000 + ClearRoomFlag 0x0000 + Wait 0x001e + WaitForSomething 0x00000001 + WaitForSomething2 0x00000002 + WaitPlayerGetItem + WaitForPlayerAction0x17 + WaitFor_1 + WaitFor_2 + _0807E778 0x0004 + SetFadeMask 0x0000ffff diff --git a/data/scripts/unused/script_08016482.inc b/data/scripts/unused/script_08016482.inc new file mode 100644 index 00000000..cbd4b1d4 --- /dev/null +++ b/data/scripts/unused/script_08016482.inc @@ -0,0 +1,81 @@ +@ TODO UNUSED? +SCRIPT_START script_08016482 + _0807E79C + Nop2 0x0080 + DoFade4 + DoFade5 + DoFade6 + DoFade7 + _0807E800 0x00000000 + _0807E80C 0x00000000 + _0807E858_0 + _0807E864 + _0807E878 + _0807E888 + SetPlayerAction 0x00005408 + StartPlayerScript script_08016384 + _0807E8D4 0x03a0 + _0807E8E4_0 + _0807E8E4_1 + _0807E8E4_2 + _0807E8E4_3 + _0807E908 0x0004 + SetIntVariable 0x00000000 + _0807E924 + _0807E930 0x0000 + _0807E944 + _0807E974 0x0600 + _0807E9D4 + _0807E9DC + _0807E9E4 0x0000 + _0807EA88 0x0001 + WaitUntilTextboxCloses + MessageFromTarget 0x0601 + MessageNoOverlap 0x0601 + MessageFromTargetPos_1 0x0601 + MessageFromTargetTable 0x0601, 0x0602, 0x0603 + MessageNoOverlapVar + _0807EB28 0x0602 + _0807EB38 + _0807EB44 0x0000 + _0807EB4C 0x0000, 0x0000 + _0807EB74 + _0807EB8C + SetEntityDirection 0x0000 + SetEntityDirectionWithAnimationState 0x0000 + SetEntitySpeed 0x0100 + SetEntity0x20 0x00018000 + SetEntityPositionRelative 0x0000, 0x0000 + MoveEntityToPlayer + Nop3 + _0807EC1C 0x0010 + _0807EC64 0x0020 + _0807EC94 0x0030 + _0807ECC4 0x0040 + _0807ECF4 0x0050 + _0807ED24 0x0000, 0x0000, 0x0000 + _0807EDD4 0x0000, 0x0000 + _0807EE04 0x0000, 0x0000 + _0807EE30 + _0807EEB4 + _0807EEF4 0xfff0, 0x0014 + DoPostScriptAction 0x0000 + DoPostScriptAction2 0x0001 + PlaySound SFX_METAL_CLINK + PlayBgm BGM_MINISH_WOODS + SoundReq 0x00000074 + StopBgm + ModRupees 0xff38 + ModHealth 0x0010 + IncreaseMaxHealth + _0807F050 0x0001 + _0807F034 0x0001 + GetInventoryValue 0x0001 + _0807F078 0x0001, 0x0002 + _0807F088 0x0001 + CameraTargetEntity + CameraTargetPlayer + _0807F0B4 0x0007 + _0807F0C8 0x003c, 0x0003 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/unused/script_080165A4.inc b/data/scripts/unused/script_080165A4.inc new file mode 100644 index 00000000..f3be3358 --- /dev/null +++ b/data/scripts/unused/script_080165A4.inc @@ -0,0 +1,19 @@ +@ TODO UNUSED? +SCRIPT_START script_080165A4 + BeginBlock + DoPostScriptAction 0x000a + _0807EB44 0x0004 + _0807E9D4 + EndBlock +script_080165B2: + _0807E974 0x0601 + Jump script_080165B2 + .2byte 0x0000 +script_080165BC: + Wait 0x001e + CheckPlayerInRegion2 0x2020 + JumpIfNot script_080165BC + DoPostScriptAction 0x0003 + Call CreateDustFromScript+1 + Jump script_080165BC + .2byte 0x0000 diff --git a/data/scripts/unused/script_080165D8.inc b/data/scripts/unused/script_080165D8.inc new file mode 100644 index 00000000..698f8542 --- /dev/null +++ b/data/scripts/unused/script_080165D8.inc @@ -0,0 +1,9 @@ +@ TODO UNUSED? +SCRIPT_START script_080165D8 + Wait 0x001e + CheckPlayerInRegion2 0x2020 + JumpAbsoluteIfNot script_080165D8 + DoPostScriptAction 0x0003 + Call CreateDustFromScript+1 + JumpAbsolute script_080165D8 + .2byte 0x0000 diff --git a/data/scripts/veilFalls/script_BigGoron1.inc b/data/scripts/veilFalls/script_BigGoron1.inc new file mode 100644 index 00000000..09ab084e --- /dev/null +++ b/data/scripts/veilFalls/script_BigGoron1.inc @@ -0,0 +1,6 @@ +@ Veil Falls BigGoron 1 +SCRIPT_START script_BigGoron1 + BeginBlock + EndBlock +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/veilFalls/script_BigGoron2.inc b/data/scripts/veilFalls/script_BigGoron2.inc new file mode 100644 index 00000000..4ee4c99c --- /dev/null +++ b/data/scripts/veilFalls/script_BigGoron2.inc @@ -0,0 +1,6 @@ +@ Veil Falls BigGoron 2 +SCRIPT_START script_BigGoron2 + BeginBlock + EndBlock +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/veilFalls/script_BigGoron3.inc b/data/scripts/veilFalls/script_BigGoron3.inc new file mode 100644 index 00000000..b6531c84 --- /dev/null +++ b/data/scripts/veilFalls/script_BigGoron3.inc @@ -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 diff --git a/data/scripts/veilFalls/script_BigGoronHiding.inc b/data/scripts/veilFalls/script_BigGoronHiding.inc new file mode 100644 index 00000000..1cf359ef --- /dev/null +++ b/data/scripts/veilFalls/script_BigGoronHiding.inc @@ -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 diff --git a/data/scripts/veilFalls/script_BigGoronMirrorShield.inc b/data/scripts/veilFalls/script_BigGoronMirrorShield.inc new file mode 100644 index 00000000..43fbb794 --- /dev/null +++ b/data/scripts/veilFalls/script_BigGoronMirrorShield.inc @@ -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 diff --git a/data/scripts/veilFalls/script_BigGoronTalk.inc b/data/scripts/veilFalls/script_BigGoronTalk.inc new file mode 100644 index 00000000..cb070bfe --- /dev/null +++ b/data/scripts/veilFalls/script_BigGoronTalk.inc @@ -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 diff --git a/data/scripts/veilFalls/script_NPC4ESourceOfTheFlow.inc b/data/scripts/veilFalls/script_NPC4ESourceOfTheFlow.inc new file mode 100644 index 00000000..61995039 --- /dev/null +++ b/data/scripts/veilFalls/script_NPC4ESourceOfTheFlow.inc @@ -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 diff --git a/data/scripts/veilFalls/script_NPC4ESouurceOfTheFlowOpening.inc b/data/scripts/veilFalls/script_NPC4ESouurceOfTheFlowOpening.inc new file mode 100644 index 00000000..ae9416fe --- /dev/null +++ b/data/scripts/veilFalls/script_NPC4ESouurceOfTheFlowOpening.inc @@ -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 diff --git a/data/scripts/veilFalls/script_Object3ELeftStone.inc b/data/scripts/veilFalls/script_Object3ELeftStone.inc new file mode 100644 index 00000000..d92ea126 --- /dev/null +++ b/data/scripts/veilFalls/script_Object3ELeftStone.inc @@ -0,0 +1,5 @@ +@ Veil Falls OBJECT_3E left stone +SCRIPT_START script_Object3ELeftStone + OffsetEntityPosition 0xfff0, 0x0000 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/veilFalls/script_Object3ELeftStoneOpening.inc b/data/scripts/veilFalls/script_Object3ELeftStoneOpening.inc new file mode 100644 index 00000000..cb69c950 --- /dev/null +++ b/data/scripts/veilFalls/script_Object3ELeftStoneOpening.inc @@ -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 diff --git a/data/scripts/veilFalls/script_Object3ERightStone.inc b/data/scripts/veilFalls/script_Object3ERightStone.inc new file mode 100644 index 00000000..76e0ddbd --- /dev/null +++ b/data/scripts/veilFalls/script_Object3ERightStone.inc @@ -0,0 +1,5 @@ +@ Veil Falls OBJECT_3E right stone +SCRIPT_START script_Object3ERightStone + OffsetEntityPosition 0x0010, 0x0000 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/veilFalls/script_Object3ERightStoneOpening.inc b/data/scripts/veilFalls/script_Object3ERightStoneOpening.inc new file mode 100644 index 00000000..ef2f0020 --- /dev/null +++ b/data/scripts/veilFalls/script_Object3ERightStoneOpening.inc @@ -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 diff --git a/data/scripts/veilFalls/script_Object6AMirrorShield.inc b/data/scripts/veilFalls/script_Object6AMirrorShield.inc new file mode 100644 index 00000000..63bca6f6 --- /dev/null +++ b/data/scripts/veilFalls/script_Object6AMirrorShield.inc @@ -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 diff --git a/data/scripts/veilFalls/script_Object6AVeilFallsTop.inc b/data/scripts/veilFalls/script_Object6AVeilFallsTop.inc new file mode 100644 index 00000000..a112bcb8 --- /dev/null +++ b/data/scripts/veilFalls/script_Object6AVeilFallsTop.inc @@ -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 diff --git a/data/scripts/westernWood/script_ForestMinish1.inc b/data/scripts/westernWood/script_ForestMinish1.inc new file mode 100644 index 00000000..f31443f3 --- /dev/null +++ b/data/scripts/westernWood/script_ForestMinish1.inc @@ -0,0 +1,20 @@ +@ Western Wood Forest Minish +SCRIPT_START script_ForestMinish1 + BeginBlock + Call sub_08060090 + DoPostScriptAction 0x000a + EndBlock +script_0800C55E: + BeginBlock + CheckEntityInteractType + JumpIf script_0800C572 + Call sub_08060158 + EndBlock + Jump script_0800C55E +script_0800C572: + EndBlock + _0807E864 + Call sub_08060208 + WaitUntilTextboxCloses + _0807E878 + Jump script_0800C55E diff --git a/data/scripts/westernWood/script_MoblinLady.inc b/data/scripts/westernWood/script_MoblinLady.inc new file mode 100644 index 00000000..05c272db --- /dev/null +++ b/data/scripts/westernWood/script_MoblinLady.inc @@ -0,0 +1,22 @@ +@ Western Wood MoblinLady in Percys house +SCRIPT_START script_MoblinLady + BeginBlock + _0807EB74 + _0807E9D4 + DoPostScriptAction 0x000a + EndBlock +script_08012338: + CheckEntityInteractType + JumpIfNot script_08012338 + _0807EB74 + _0807E864 + MessageFromTarget 0x2304 + WaitUntilTextboxCloses + CheckLocalFlag 0x0042 + JumpIf script_0801235A + SetLocalFlag 0x0042 + _0807F034 0x0057 + WaitPlayerGetItem +script_0801235A: + _0807E878 + Jump script_08012338 diff --git a/data/scripts/westernWood/script_MoblinLadyDisguised.inc b/data/scripts/westernWood/script_MoblinLadyDisguised.inc new file mode 100644 index 00000000..3000aea1 --- /dev/null +++ b/data/scripts/westernWood/script_MoblinLadyDisguised.inc @@ -0,0 +1,63 @@ +@ Western Wood Moblin disguised as Townsperson in Percys house +SCRIPT_START script_MoblinLadyDisguised + BeginBlock + _0807EB44 0x0004 + Call sub_08061FD8 + _0807E9D4 + DoPostScriptAction 0x000a + EndBlock +script_08012284: + EndBlock + BeginBlock + CheckGlobalFlag 0x001e + JumpIfNot script_08012298 + CheckInventory1 0x0015 + JumpIf script_080122BA +script_08012298: + CheckEntityInteractType + JumpIfNot script_08012284 + EndBlock + _0807EB74 + _0807E864 + Call sub_08061FD8 + MessageFromTarget 0x2302 + WaitUntilTextboxCloses + _0807E878 + SetGlobalFlag 0x001e + Jump script_08012284 +script_080122BA: + EndBlock + BeginBlock + CheckRoomFlag 0x0000 + JumpIfNot script_080122CE + CheckRoomFlag 0x0001 + JumpIf script_080122EC +script_080122CE: + CheckEntityInteractType + JumpIfNot script_080122BA + EndBlock + _0807EB74 + _0807E864 + Call sub_08061FD8 + MessageFromTarget 0x2303 + WaitUntilTextboxCloses + _0807E878 + Jump script_080122BA +script_080122EC: + EndBlock + _0807EB74 + _0807E864 + Call sub_08061FD8 + DoPostScriptAction 0x000b + Call sub_08061FB0 + Call sub_08061F94 + LoadRoomEntityList gUnk_additional_a_HouseInteriors2_Percy + DoPostScriptAction 0x0008 + Wait 0x003c + PlaySound SFX_SECRET + SetLocalFlag 0x0043 + Wait 0x001e + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END + .align 2, 0 diff --git a/data/scripts/westernWood/script_PercyInside.inc b/data/scripts/westernWood/script_PercyInside.inc new file mode 100644 index 00000000..d0794615 --- /dev/null +++ b/data/scripts/westernWood/script_PercyInside.inc @@ -0,0 +1,20 @@ +@ Tilby Highlands Percy in Tree or in his house +SCRIPT_START script_PercyInside + BeginBlock + _0807EB44 0x0004 + DoPostScriptAction 0x0000 + DoPostScriptAction 0x000a + Call sub_0806B60C + EndBlock +script_08012E9E: + CheckEntityInteractType + JumpIfNot script_08012E9E + _0807E864 + _0807EB74 + DoPostScriptAction 0x0001 + Call sub_0806B4F0 + WaitUntilTextboxCloses + _0807E878 + DoPostScriptAction 0x0000 + Jump script_08012E9E + .2byte 0x0000 diff --git a/data/scripts/westernWood/script_PercyOutside.inc b/data/scripts/westernWood/script_PercyOutside.inc new file mode 100644 index 00000000..e34359d9 --- /dev/null +++ b/data/scripts/westernWood/script_PercyOutside.inc @@ -0,0 +1,20 @@ +@ Trilby Highlands Percy in front of house +SCRIPT_START script_PercyOutside + BeginBlock + _0807EB44 0x0004 + CallWithArg sub_0807F3D8, 0x00000008 + DoPostScriptAction 0x000a + Call sub_0806B60C + EndBlock +script_08012EDC: + CheckEntityInteractType + JumpIfNot script_08012EDC + _0807E864 + _0807EB74 + CallWithArg sub_0807F3D8, 0x0000000c + Call sub_0806B4F0 + WaitUntilTextboxCloses + Wait 0x000f + _0807E878 + CallWithArg sub_0807F3D8, 0x00000008 + Jump script_08012EDC diff --git a/data/scripts/windRuins/script_EzloTalkFoW.inc b/data/scripts/windRuins/script_EzloTalkFoW.inc new file mode 100644 index 00000000..8ac839e1 --- /dev/null +++ b/data/scripts/windRuins/script_EzloTalkFoW.inc @@ -0,0 +1,12 @@ +@ Ezlo talk after Wind Ruins +SCRIPT_START script_EzloTalkFoW + _0807E864 + Call sub_0807DF28 + _0807EB28 0x1c03 + WaitUntilTextboxCloses + SetLocalFlagByBank 0x0100, 0x0003 + Call sub_0807DF50 + _0807E878 + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/windRuins/script_Npc4EReceiveOcarina.inc b/data/scripts/windRuins/script_Npc4EReceiveOcarina.inc new file mode 100644 index 00000000..b3a0d2f2 --- /dev/null +++ b/data/scripts/windRuins/script_Npc4EReceiveOcarina.inc @@ -0,0 +1,24 @@ +@ After Mazaal NPC4E receive ocarina +SCRIPT_START script_Npc4EReceiveOcarina + BeginBlock + DoPostScriptAction 0x0008 + CheckInventory1 0x0017 + JumpIf script_0800D924 + EndBlock +script_0800D8F4: + CheckInventory1 0x0017 + JumpIfNot script_0800D8F4 + Call sub_0807DF28 + _0807E864 + WaitPlayerGetItem + _0807EB28 0x1325 + WaitUntilTextboxCloses + PlaySound SFX_113 + SetIntVariable 0x00000000 + Call sub_0806DA1C + _0807E878 + Call sub_0807DF50 +script_0800D924: + DoPostScriptAction 0x0006 +SCRIPT_END + .2byte 0x0000 diff --git a/data/scripts/windRuins/script_Npc4EWindRuinsTextBoard.inc b/data/scripts/windRuins/script_Npc4EWindRuinsTextBoard.inc new file mode 100644 index 00000000..8b0662a7 --- /dev/null +++ b/data/scripts/windRuins/script_Npc4EWindRuinsTextBoard.inc @@ -0,0 +1,34 @@ +@ After Mazaal NPC4E text board +SCRIPT_START script_Npc4EWindRuinsTextBoard + BeginBlock + Call sub_0807F934 + DoPostScriptAction 0x0008 + SetIntVariable 0x00000001 + Call sub_0806DA04 + EndBlock +script_0800D88E: + CheckEntityInteractType + JumpIfNot script_0800D88E + _0807E864 + Call sub_0807DF28 + CheckLocalFlag 0x0045 + JumpIf script_0800D8B0 + StartPlayerScript script_PlayerAtTextboard + WaitForSomething2 0x00000001 +script_0800D8B0: + _0807E8E4_0 + MessageNoOverlap 0x1324 + WaitUntilTextboxCloses + CheckInventory1 0x0017 + JumpIf script_0800D8D6 + CheckLocalFlag 0x0045 + JumpIf script_0800D8D6 + LoadRoomEntityList gUnk_080E3830 +script_0800D8CE: + CheckLocalFlag 0x0045 + JumpIfNot script_0800D8CE +script_0800D8D6: + Call sub_0807DF50 + _0807E878 + Jump script_0800D88E + .2byte 0x0000 diff --git a/data/scripts/windRuins/script_PlayerAtTextboard.inc b/data/scripts/windRuins/script_PlayerAtTextboard.inc new file mode 100644 index 00000000..dbee2f6d --- /dev/null +++ b/data/scripts/windRuins/script_PlayerAtTextboard.inc @@ -0,0 +1,12 @@ +@ Player at Text board after Mazaal +SCRIPT_START script_PlayerAtTextboard + BeginBlock + SetEntitySpeed 0x0080 + EndBlock + DoPostScriptAction 0x0001 + _0807EDD4 0x00a0, 0x0078 + _0807EB44 0x0000 + DoPostScriptAction 0x0000 + _0807E5F8 0x00000001 + Call sub_080791BC +SCRIPT_END |
