Rename scripts

This commit is contained in:
octorock
2021-12-26 23:22:16 +01:00
parent 11bb0e7656
commit 2ccf89a1fb
643 changed files with 8481 additions and 7693 deletions
+5
View File
@@ -0,0 +1,5 @@
thumb_func_start CreateDustFromScript
CreateDustFromScript:
push {lr}
bl CreateDust
pop {pc}
@@ -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
@@ -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
@@ -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
@@ -1,4 +1,5 @@
SCRIPT_START script_0800B308
@ Castor Wilds Statue rock
SCRIPT_START script_CastorWildsStatueRock
BeginBlock
.ifdef JP
CheckLocalFlag 0x001e
@@ -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
@@ -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
@@ -1,4 +1,5 @@
SCRIPT_START script_0800B200
@ Castor Wilds OBJECT_69?
SCRIPT_START script_Object69
BeginBlock
_0807E5F8 0x00000000
.ifdef JP
@@ -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
@@ -1,4 +1,5 @@
SCRIPT_START script_0800B1C0
@ Player at darknut in Castor Wilds
SCRIPT_START script_PlayerAtDarknutFight
BeginBlock
DoPostScriptAction 0x0000
EndBlock
@@ -1,4 +1,5 @@
SCRIPT_START script_0800AFE8
@ Ezlo talk after getting wind element
SCRIPT_START script_EzloTalkPoW
_0807E864
Call sub_0807DF28
_0807EB28 0x1c05
@@ -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
@@ -1,4 +1,5 @@
SCRIPT_START script_08014B34
@ Cloud Tops Gregal sick
SCRIPT_START script_GregalSick
BeginBlock
DoPostScriptAction 0x000a
_0807E930 0x0000
@@ -69,64 +70,3 @@ 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
@@ -1,4 +1,5 @@
SCRIPT_START script_0800D6D0
@ Cloud Tops Whirlwind hidden in clouds
SCRIPT_START script_HiddenWhirlwind1
BeginBlock
.ifdef JP
CheckLocalFlag 0x00f0
@@ -1,4 +1,5 @@
SCRIPT_START script_0800D6F0
@ Cloud Tops Whirlwind hidden in clouds
SCRIPT_START script_HiddenWhirlwind2
BeginBlock
.ifdef JP
CheckLocalFlag 0x00f2
@@ -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
@@ -1,4 +1,5 @@
SCRIPT_START script_0800D698
@ Cloud Tops NPC4E after Kinstone has been fused
SCRIPT_START script_Npc4EKinstoneFused
_0807EEB4
_0807F0B4 0x0004
CameraTargetPlayer
@@ -1,4 +1,5 @@
SCRIPT_START script_0800D710
@ Cloud Tops OBJECT_69 great whirlwind revealed
SCRIPT_START script_Object69GreatWhirlwindRevealed
BeginBlock
Call sub_0807F360
SetEntitySpeed 0x0700
@@ -1,4 +1,5 @@
SCRIPT_START script_0800D6B4
@ Cloud Tops OBJECT_6A Mysterious Cloud
SCRIPT_START script_Object6AMysteriousCloud
BeginBlock
DoPostScriptAction 0x0007
DoPostScriptAction 0x0011
@@ -1,4 +1,5 @@
SCRIPT_START script_08014B10
@ Player at Windtribespeople leader Siroc
SCRIPT_START script_PlayerAtSiroc
BeginBlock
SetEntitySpeed 0x0100
EndBlock
+27
View File
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,4 +1,5 @@
SCRIPT_START script_080126FC
@ First look at Ezlo EzloCap
SCRIPT_START script_EzloCap
BeginBlock
SetEntitySpeed 0x0040
DoPostScriptAction 0x0007
@@ -228,7 +229,7 @@ script_08012A74:
JumpIfNot script_08012A74
_0807E930 0x001f
WaitUntilTextboxCloses
StartPlayerScript script_08012B18
StartPlayerScript script_PlayerGetEzloCap
Call sub_0806D9A4
DoPostScriptAction 0x0008
Wait 0x0078
@@ -1,38 +1,5 @@
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
@ Minish Woods Ezlo Cutscene NPC4E
SCRIPT_START script_Npc4EEzloCutscene
BeginBlock
Call sub_08054564
EndBlock
@@ -43,7 +10,7 @@ script_0801248A:
_0807E864
Call sub_0807F9A4
Call sub_0807DF28
StartPlayerScript script_08012AB0
StartPlayerScript script_PlayerAtFirstLookAtEzlo
MessageFromTargetPos 0x1101, 0x0007
WaitUntilTextboxCloses
CameraTargetPlayer
@@ -92,7 +59,7 @@ script_08012566:
Call sub_0807DF28
Call sub_0806DC7C
StopBgm
StartPlayerScript script_08012AC8
StartPlayerScript script_PlayerEzloBeingBullied
WaitForSomething2 0x00000001
SetEntityPositionRelative 0x0388, 0x0168
_0807F0B4 0x0001
@@ -127,7 +94,7 @@ script_08012566:
StopBgm
_0807E5F8 0x00000004
WaitForSomething2 0x00000008
StartPlayerScript script_08012AF0
StartPlayerScript script_PlayerDefeatedOctoroks
WaitForSomething2 0x00000001
_0807E8E4_0
PlayBgm BGM_EZLO_THEME
@@ -1,4 +1,5 @@
SCRIPT_START script_08012BA8
@ First look at Ezlo OBJECT_6A left octorok
SCRIPT_START script_Object6ALeftBullyingOctorok
BeginBlock
_0807EB44 0x0002
DoPostScriptAction 0x0007
@@ -1,4 +1,5 @@
SCRIPT_START script_08012BF8
@ First look at Ezlo OBJECT_6A right octorok
SCRIPT_START script_Object6ARightBullyingOctorok
BeginBlock
_0807EB44 0x0006
DoPostScriptAction 0x0007
@@ -1,4 +1,5 @@
SCRIPT_START script_08012AB0
@ First look at Ezlo Player
SCRIPT_START script_PlayerAtFirstLookAtEzlo
EndBlock
script_08012AB2:
_0807EB44 0x0002
@@ -1,4 +1,5 @@
SCRIPT_START script_08012AF0
@ Ezlo octoroks defeated Player
SCRIPT_START script_PlayerDefeatedOctoroks
BeginBlock
SetEntitySpeed 0x0100
EndBlock
@@ -1,4 +1,5 @@
SCRIPT_START script_08012AC8
@ Ezlo being bullied Player
SCRIPT_START script_PlayerEzloBeingBullied
BeginBlock
SetEntitySpeed 0x0080
EndBlock
@@ -0,0 +1,5 @@
@ Get Ezlo cap Player
SCRIPT_START script_PlayerGetEzloCap
DoPostScriptAction 0x0015
Call sub_080791BC
SCRIPT_END
@@ -1,16 +1,20 @@
SCRIPT_START script_08009AF8
@ 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
WaitFor_2 @ Wait for end of transition
Call sub_0805367C
SCRIPT_END
.2byte 0x0000
@@ -1,22 +1,17 @@
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
@ 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
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
@@ -1,4 +1,5 @@
SCRIPT_START script_08014DCC
@ NPC4E in front of links house during intro
SCRIPT_START script_Npc4EOutsideLinksHouse
BeginBlock
SetEntityPositionRelative 0x0238, 0x01a8
Call sub_0807F844
@@ -1,4 +1,5 @@
SCRIPT_START script_08009918
@ Intro smith OBJECT_69 ?
SCRIPT_START script_Object69Intro
BeginBlock
Call sub_0807DF28
_0807E864
@@ -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
@@ -1,4 +1,5 @@
SCRIPT_START script_08009B30
@ Intro Player
SCRIPT_START script_PlayerIntro
BeginBlock
Call sub_0807DF28
_0807E864
@@ -6,13 +7,16 @@ SCRIPT_START script_08009B30
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
@@ -1,4 +1,5 @@
SCRIPT_START script_08009CFC
@ Player at Smith during intro
SCRIPT_START script_PlayerMoveToSmith
BeginBlock
_0807E8E4_1
SetEntitySpeed 0x00c0
@@ -1,4 +1,5 @@
SCRIPT_START script_08009950
@ Intro Smith 1
SCRIPT_START script_SmithIntro
BeginBlock
Call sub_0807F348
SetEntitySpeed 0x0040
@@ -1,4 +1,5 @@
SCRIPT_START script_08009B78
@ Intro Smith 2
SCRIPT_START script_SmithIntro2
BeginBlock
_0807EB44 0x0006
SetEntitySpeed 0x0080
@@ -10,7 +11,7 @@ SCRIPT_START script_08009B78
_0807E888
Wait 0x000a
_0807E864
StartPlayerScript script_08009CFC
StartPlayerScript script_PlayerMoveToSmith
Call sub_0807DF28
WaitForSomething2 0x00000008
_0807EDD4 0x0080, 0x005c
@@ -41,6 +42,7 @@ SCRIPT_START script_08009B78
_0807E5F8 0x00000002
WaitForSomething2 0x00000008
Call sub_08053250
@ Give player rusty sword
_0807F034 0x0034
WaitPlayerGetItem
_0807E8E4_1
@@ -50,6 +52,7 @@ SCRIPT_START script_08009B78
DoPostScriptAction 0x0000
_0807E5F8 0x00000004
script_08009C4C:
@ Talk to Smith
DoPostScriptAction 0x000a
script_08009C50:
CheckEntityInteractType
@@ -1,4 +1,5 @@
SCRIPT_START script_080099DC
@ Intro Zelda at Smith
SCRIPT_START script_ZeldaIntro
BeginBlock
Call sub_0807F348
SetEntitySpeed 0x00c0
@@ -1,4 +1,5 @@
SCRIPT_START script_08009D6C
@ Intro Zelda leaving
SCRIPT_START script_ZeldaLeaveLinksHouse
BeginBlock
SetEntitySpeed 0x0100
_0807EB44 0x0006
@@ -1,4 +1,5 @@
SCRIPT_START script_08009A84
@ Intro Zelda moves to links house
SCRIPT_START script_ZeldaMoveToLinksHouse
BeginBlock
SetEntityPositionRelative 0x01e8, 0x0110
SetEntitySpeed 0x00c0
@@ -10,6 +11,7 @@ SCRIPT_START script_08009A84
_0807EDD4 0x01f8, 0x0218
_0807EDD4 0x0220, 0x0228
_0807EDD4 0x0240, 0x0228
@ Now the camera follows Zelda
CameraTargetEntity
_0807EDD4 0x0290, 0x0228
_0807EDD4 0x0290, 0x01f8
@@ -18,7 +20,8 @@ SCRIPT_START script_08009A84
SetEntitySpeed 0x00c0
_0807EDD4 0x0290, 0x0198
Wait 0x001e
_0807E5F8 0x00000010
@ Door is opening
_0807E5F8 0x00000010 @ Send signal to door
_0807EDD4 0x0290, 0x0190
DoPostScriptAction 0x0008
_0807EDD4 0x0290, 0x0188
@@ -1,4 +1,5 @@
SCRIPT_START script_08014CDC
@ Zelda intro in front of links house
SCRIPT_START script_ZeldaOutsideLinksHouse
BeginBlock
SetEntitySpeed 0x0180
DoPostScriptAction 0x000a
@@ -17,6 +18,7 @@ SCRIPT_START script_08014CDC
script_08014D1E:
EndBlock
BeginBlock
@ Left of links house
CheckPlayerInRegion 0x01d8, 0x0160, 0x3050
JumpIfNot script_08014D1E
EndBlock
@@ -32,6 +34,7 @@ script_08014D1E:
Call sub_0807DF50
_0807E878
script_08014D60:
@ Between trees
CallWithArg sub_0807F6B4, 0x000000e8
JumpIf script_08014D60
_0807E864
@@ -45,6 +48,7 @@ script_08014D60:
Call sub_0807DF50
_0807E878
script_08014D96:
@ Before hyrule town entry
CheckPlayerInRegion 0x01f8, 0x0028, 0x2040
JumpIfNot script_08014D96
_0807E864
@@ -1,4 +1,5 @@
SCRIPT_START script_08009C68
@ Intro Zelda at Smith 2
SCRIPT_START script_ZeldaTalkToSmith
BeginBlock
_0807EB44 0x0002
SetEntitySpeed 0x0100
@@ -25,6 +26,7 @@ SCRIPT_START script_08009C68
MessageFromTargetPos 0x100d, 0x0000
WaitUntilTextboxCloses
DoPostScriptAction 0x0000
@ Leave room
_0807EDD4 0x0028, 0x0060
_0807EDD4 0x0000, 0x0060
Call sub_080536A8
@@ -1,4 +1,5 @@
SCRIPT_START script_08008FFC
@ Intro Assembly Guard
SCRIPT_START script_GuardAtAssembly
BeginBlock
_0807EB44 0x0000
_0807E930 0x0000
@@ -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
@@ -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
@@ -1,40 +1,5 @@
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
@ Intro Assembly NPC4E
SCRIPT_START script_Npc4EIntroAssembly
BeginBlock
SetEntityPositionRelative 0x0088, 0x0078
EndBlock
@@ -48,7 +13,7 @@ script_08008E12:
CameraTargetEntity
WaitForPlayerAction0x17
Wait 0x003c
StartPlayerScript script_08008F74
StartPlayerScript script_PlayerEnters
WaitForSomething2 0x00000020
_0807E5F8 0x00000001
WaitForSomething2 0x00000002
@@ -82,7 +47,7 @@ script_08008E12:
WaitForSomething2 0x00000002
_0807F034 0x0035
WaitPlayerGetItem
StartPlayerScript script_08008FC0
StartPlayerScript script_PlayerGetSword
WaitForSomething2 0x00000020
_0807E8E4_0
_0807E5F8 0x00000080
@@ -1,4 +1,5 @@
SCRIPT_START script_08008F74
@ Intro Assembly Player
SCRIPT_START script_PlayerEnters
BeginBlock
SetEntitySpeed 0x0100
EndBlock
@@ -1,4 +1,5 @@
SCRIPT_START script_08008FC0
@ Intro Assembly Player gets Sword
SCRIPT_START script_PlayerGetSword
_0807F078 0x0001, 0x0001
CallWithArg sub_0807F918, 0x00000001
PlaySound SFX_109
@@ -1,4 +1,5 @@
SCRIPT_START script_08009E88
@ Intro Hyrule Castle Player Sleeping
SCRIPT_START script_PlayerWakingUpInHyruleCastle
BeginBlock
Call sub_0807DF28
_0807E864
@@ -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
@@ -1,3 +1,4 @@
@ Intro Outside Castle OBJECT_69 1?
SCRIPT_START script_080157AC
CheckPlayerInRegion 0x01f8, 0x0310, 0x2020
JumpIfNot script_080157AC
@@ -18,7 +19,7 @@ script_080157DA:
Wait 0x003c
_0807E5F8 0x00000001
WaitForSomething2 0x00000002
StartPlayerScript script_080158F8
StartPlayerScript script_PlayerIntroBusinessScrub1
_0807F0B4 0x0001
SetEntityPositionRelative 0x0248, 0x0218
CameraTargetEntity
@@ -28,7 +29,7 @@ script_080157DA:
WaitForSomething2 0x00000020
_0807E5F8 0x00000001
WaitForSomething2 0x00000002
StartPlayerScript script_08015918
StartPlayerScript script_PlayerIntroBusinessScrub2
WaitForSomething2 0x00000010
_0807E5F8 0x00000001
WaitForSomething2 0x00000002
@@ -52,7 +53,7 @@ script_08015888:
_0807F0B4 0x0002
SetEntityPositionRelative 0x0248, 0x0208
CameraTargetEntity
StartPlayerScript script_08015938
StartPlayerScript script_PlayerIntroBusinessScrub3
WaitForSomething2 0x00000010
MessageFromTargetPos 0x106a, 0x000c
WaitUntilTextboxCloses
@@ -1,3 +1,4 @@
@ OBJECT_6A in sub_080954AC ? businessScrubPrologue?
SCRIPT_START script_08015B14
BeginBlock
_0807E930 0x0018
@@ -1,3 +1,4 @@
@ Intro Outside Castle OBJECT_69 2?
SCRIPT_START script_08015B34
EndBlock
BeginBlock
@@ -15,6 +16,7 @@ SCRIPT_START script_08015B34
.endif
.endif
JumpIf script_08015B7E
@ Prevent player from leaving to Hyrule Town
CallWithArg sub_0807F6B4, 0x00000318
JumpIfNot script_08015B34
EndBlock
@@ -23,7 +25,7 @@ SCRIPT_START script_08015B34
Call sub_0807DF28
MessageFromTargetPos 0x2506, 0x0002
WaitUntilTextboxCloses
StartPlayerScript script_08015B84
StartPlayerScript script_PlayerAtIntroBusinessScrub4
WaitForSomething2 0x00000004
Call sub_0807DF50
_0807E878
@@ -1,4 +1,5 @@
SCRIPT_START script_08015AC4
@ Intro Outside Castle Business Scrub
SCRIPT_START script_BusinessScrubIntro
BeginBlock
DoPostScriptAction 0x0007
DoPostScriptAction 0x000a
@@ -1,4 +1,5 @@
SCRIPT_START script_08015B84
@ Player at intro outside castle
SCRIPT_START script_PlayerAtIntroBusinessScrub4
SetEntitySpeed 0x0100
DoPostScriptAction 0x0001
_0807EC64 0x0010
@@ -1,4 +1,5 @@
SCRIPT_START script_080158F8
@ Player at intro outside castle 1?
SCRIPT_START script_PlayerIntroBusinessScrub1
SetEntitySpeed 0x0100
_0807EDD4 0x0218, 0x0238
_0807EB44 0x0002
@@ -1,4 +1,5 @@
SCRIPT_START script_08015918
@ Player at intro outside castle
SCRIPT_START script_PlayerIntroBusinessScrub2
SetEntitySpeed 0x0100
_0807EDD4 0x0238, 0x0228
_0807EB44 0x0002
@@ -1,4 +1,5 @@
SCRIPT_START script_08015938
@ Intro Outside Castle Player
SCRIPT_START script_PlayerIntroBusinessScrub3
SetEntitySpeed 0x0100
_0807EDD4 0x0248, 0x0208
_0807EB44 0x0000
@@ -1,4 +1,5 @@
SCRIPT_START script_08015958
@ Intro Outside Castle Zelda
SCRIPT_START script_ZeldaIntroBusinessScrub
BeginBlock
SetEntitySpeed 0x0180
DoPostScriptAction 0x0008
@@ -1,3 +1,4 @@
@ Something during Intro Ceremony? Called via script_VaatiIntroCeremony
SCRIPT_START script_08011890
BeginBlock
_0807E930 0x0000
@@ -1,4 +1,5 @@
SCRIPT_START script_080113AA
@ Intro Ceremony Guard bottom right
SCRIPT_START script_GuardBottomRight
_0807E610 0x00002000
_0807E5F8 0x00004000
WaitForSomething2 0x00002000
@@ -1,4 +1,6 @@
SCRIPT_START script_080112C4
@ Intro Ceremony Chest carrying Guard
@ and guard bottom left?
SCRIPT_START script_GuardCarryingChest
BeginBlock
DoPostScriptAction 0x0008
SetEntitySpeed 0x0100
@@ -15,7 +17,8 @@ SCRIPT_START script_080112C4
_0807ECC4 0x0010
_0807E930 0x0002
Call sub_08064050
JumpTable script_08011312, script_080113AA, script_08011442, script_08011508
JumpTable script_08011312, script_GuardBottomRight, script_GuardTopLeft, script_GuardTopRight
@ Guard bottom left:
script_08011312:
_0807E610 0x00000800
_0807E5F8 0x00001000
@@ -1,4 +1,5 @@
SCRIPT_START script_080115D0
@ Intro Ceremony Entrance Guard left
SCRIPT_START script_GuardEntryLeft
BeginBlock
SetEntitySpeed 0x0100
_0807EB44 0x0002
@@ -1,4 +1,5 @@
SCRIPT_START script_08011608
@ Intro Ceremony Entrace Guard right
SCRIPT_START script_GuardEntryRight
BeginBlock
SetEntitySpeed 0x0100
_0807EB44 0x0006
@@ -1,4 +1,5 @@
SCRIPT_START script_08011442
@ Intro Ceremony Guard top left
SCRIPT_START script_GuardTopLeft
_0807E610 0x00008000
_0807E5F8 0x00010000
WaitForSomething2 0x00008000
@@ -1,4 +1,5 @@
SCRIPT_START script_08011508
@ Intro Ceremony Guard top right
SCRIPT_START script_GuardTopRight
_0807E610 0x00020000
_0807E5F8 0x00040000
WaitForSomething2 0x00020000
@@ -1,4 +1,5 @@
SCRIPT_START script_08011640
@ Intro Ceremony King Daltus
SCRIPT_START script_KingDaltusIntroCeremony
BeginBlock
DoPostScriptAction 0x0008
_0807EB44 0x0004
@@ -1,4 +1,5 @@
SCRIPT_START script_08011128
@ Intro Hyrule Castle Minister Potho
SCRIPT_START script_MinisterPothoIntroCastle
BeginBlock
_0807EB44 0x0004
DoPostScriptAction 0x0000
@@ -1,4 +1,5 @@
SCRIPT_START script_08010E5A
@ Intro Ceremony NPC4E monsters
SCRIPT_START script_Npc4EMonsters
Wait 0x001e
PlaySound SFX_125
CallWithArg sub_0807FB28, 0x00000003
@@ -1,8 +1,9 @@
SCRIPT_START script_08010F84
@ Intro Ceremony NPC4E Vaati attacking
SCRIPT_START script_Npc4EVaatiAttacking
Wait 0x003c
_0807E5F8 0x00000100
WaitForSomething2 0x00000200
StartPlayerScript script_080110BC
StartPlayerScript script_PlayerProtectingZelda
WaitForSomething2 0x00000400
MessageFromTargetPos 0x1047, 0x0000
WaitUntilTextboxCloses
@@ -0,0 +1,6 @@
@ Intro Ceremony OBJECT_6A Monster from Chest
SCRIPT_START script_Object6AMonsterFromChest
WaitForSomething 0x20000000
Call sub_0809567C
SCRIPT_END
.2byte 0x0000
@@ -1,4 +1,5 @@
SCRIPT_START script_0801183C
@ Intro Ceremony OBJECT_6A Sword in Chest
SCRIPT_START script_Object6ASwordInChest
BeginBlock
Call sub_08095330
EndBlock
@@ -1,4 +1,5 @@
SCRIPT_START script_08011098
@ Intro Ceremony Player
SCRIPT_START script_PlayerAtIntroCeremony
SetEntityPositionRelative 0x01a8, 0x0058
_0807EB44 0x0004
DoPostScriptAction 0x0000
@@ -1,4 +1,5 @@
SCRIPT_START script_080110E8
@ Intro Ceremony Player fainting
SCRIPT_START script_PlayerFainting
PlaySound SFX_PLY_VO6
_0807EB44 0x0004
DoPostScriptAction 0x000d
@@ -1,4 +1,5 @@
SCRIPT_START script_08011074
@ Intro Hyrule Castle Player
SCRIPT_START script_PlayerIntroCastle
BeginBlock
SetEntitySpeed 0x0080
EndBlock
@@ -1,4 +1,5 @@
SCRIPT_START script_080110BC
@ Intro ceremony Player protecting Zelda
SCRIPT_START script_PlayerProtectingZelda
BeginBlock
SetEntitySpeed 0x0040
EndBlock
@@ -1,4 +1,5 @@
SCRIPT_START script_080118D4
@ Intro Ceremony Vaati Dark magic?
SCRIPT_START script_VaatiDarkMagic
BeginBlock
_0807E930 0x0000
SetEntitySpeed 0x0200
@@ -8,7 +9,7 @@ SCRIPT_START script_080118D4
WaitForSomething2 0x08000000
Call sub_08094B6C
_0807EDD4 0x01d8, 0x0078
StartPlayerScript script_080110E8
StartPlayerScript script_PlayerFainting
_0807EDD4 0x01d8, 0x0058
Call sub_08094B80
PlaySound SFX_VO_ZELDA7
@@ -1,4 +1,5 @@
SCRIPT_START script_080116A8
@ Intro Ceremony Vaati
SCRIPT_START script_VaatiIntroCeremony
BeginBlock
_0807EB44 0x0000
SetEntitySpeed 0x0100
@@ -50,7 +51,7 @@ SCRIPT_START script_080116A8
WaitForSomething2 0x00000100
DoPostScriptAction 0x0014
PlaySound SFX_1C4
CallWithArg sub_0809545C, script_080118D4
CallWithArg sub_0809545C, script_VaatiDarkMagic
_0807E5F8 0x00000200
WaitForSomething2 0x00000100
Wait 0x003c
@@ -1,4 +1,5 @@
SCRIPT_START script_080111CC
@ Intro Hyrule Castle Zelda
SCRIPT_START script_ZeldaIntroCastle
BeginBlock
DoPostScriptAction 0x0008
SetEntitySpeed 0x0100
@@ -0,0 +1,5 @@
@ Intro Ceremony OBJECT_6A Zelda shine or something?
SCRIPT_START script_ZeldaMagic
WaitForSomething 0x40000000
DoPostScriptAction 0x0006
SCRIPT_END
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,27 +1,9 @@
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
@ Intro Hyrule Castle NPC4E
SCRIPT_START script_Npc4EIntroCastle
_0807E864
Call sub_0807F9A4
Call sub_0807DF28
StartPlayerScript script_08011074
StartPlayerScript script_PlayerIntroCastle
WaitForSomething2 0x00000400
_0807F078 0x0034, 0x0002
MessageFromTargetPos 0x1036, 0x000c
@@ -49,7 +31,7 @@ SCRIPT_START script_08010BEC
LoadRoomEntityList gUnk_080F06E0
_0807E5F8 0x00000004
WaitForSomething2 0x00000008
StartPlayerScript script_08011098
StartPlayerScript script_PlayerAtIntroCeremony
WaitForSomething2 0x00000400
SetEntityPositionRelative 0x01f8, 0x0050
_0807F0B4 0x0007
@@ -1,27 +1,5 @@
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
@ Intro Hyrule Town NPC4E
SCRIPT_START script_Npc4EIntroTown
.ifdef JP
CheckLocalFlag 0x00ca
.else
@@ -43,21 +21,24 @@ SCRIPT_START script_0800F73C
_0807E778 0x0002
DoFade6
WaitFor_2
StartPlayerScript script_0800FA54
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
@@ -66,7 +47,7 @@ SCRIPT_START script_0800F73C
WaitForSomething2 0x00000004
_0807E864
Call sub_0807DF28
StartPlayerScript script_0800FA78
StartPlayerScript script_PlayerIntro2
WaitForSomething2 0x00000001
_0807E5F8 0x00000002
WaitForSomething2 0x00000004
@@ -79,7 +60,7 @@ SCRIPT_START script_0800F73C
WaitForSomething2 0x00000004
_0807E864
Call sub_0807DF28
StartPlayerScript script_0800FA9C
StartPlayerScript script_PlayerIntro3
WaitForSomething2 0x00000001
_0807E5F8 0x00000002
WaitForSomething2 0x00000004
@@ -92,7 +73,7 @@ SCRIPT_START script_0800F73C
WaitForSomething2 0x00000004
_0807E864
Call sub_0807DF28
StartPlayerScript script_0800FAC0
StartPlayerScript script_PlayerIntro4
WaitForSomething2 0x00000001
_0807E5F8 0x00000002
WaitForSomething2 0x00000004
@@ -102,6 +83,7 @@ SCRIPT_START script_0800F73C
WaitForSomething2 0x00000004
Call sub_0807DF50
_0807E878
@ Wait for Link at Pina
WaitForSomething2 0x00000004
_0807E864
Call sub_0807DF28
@@ -113,7 +95,7 @@ SCRIPT_START script_0800F73C
Wait 0x003c
MessageFromTargetPos 0x1021, 0x000e
WaitUntilTextboxCloses
StartPlayerScript script_0800FAE4
StartPlayerScript script_PlayerIntro5
SetEntityPositionRelative 0x00f0, 0x0258
_0807F0B4 0x0001
CameraTargetEntity
@@ -174,6 +156,7 @@ SCRIPT_START script_0800F73C
Wait 0x003c
MessageFromTargetPos 0x102b, 0x0000
WaitUntilTextboxCloses
@ Give the shield to the player
_0807F034 0x000d
WaitPlayerGetItem
Call sub_0806DC3C
@@ -187,6 +170,7 @@ SCRIPT_START script_0800F73C
Call sub_0807F5B0
MessageFromTargetPos 0x102c, 0x0000
WaitUntilTextboxCloses
@ Give control back to the player
CallWithArg sub_0807F29C, 0x00000000
Call sub_0806DC58
_0807F0B4 0x0004
@@ -1,4 +1,5 @@
SCRIPT_START script_0800FD0C
@ Intro Hyrule Town OBJECT_69 ?
SCRIPT_START script_Object69IntroTown
.ifdef JP
CheckLocalFlag 0x00ca
.else
@@ -15,6 +16,7 @@ SCRIPT_START script_0800FD0C
JumpIf script_0800FD50
WaitForSomething2 0x00000010
script_0800FD1A:
@ Prevent Link from leaving
CheckPlayerInRegion 0x00c8, 0x03c0, 0x1040
JumpIfNot script_0800FD1A
.ifdef JP
@@ -35,7 +37,7 @@ script_0800FD1A:
Call sub_0807F9A4
MessageFromTargetPos 0x2506, 0x0000
WaitUntilTextboxCloses
StartPlayerScript script_0800FD80
StartPlayerScript script_PlayerIntroTown
WaitForSomething2 0x00000008
_0807E878
Jump script_0800FD1A
@@ -47,7 +49,7 @@ script_0800FD5C:
Call sub_0807F9A4
MessageFromTargetPos 0x106c, 0x0000
WaitUntilTextboxCloses
StartPlayerScript script_0800FD80
StartPlayerScript script_PlayerIntroTown
WaitForSomething2 0x00000008
_0807E878
Jump script_0800FD50
@@ -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
@@ -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

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