mirror of
https://github.com/zeldaret/tmc
synced 2026-08-07 02:06:40 -04:00
Rename scripts
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user