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