mirror of
https://github.com/zeldaret/tmc
synced 2026-06-16 14:50:22 -04:00
Rename scripts
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
@ TODO UNUSED?
|
||||
SCRIPT_START script_08009E80
|
||||
BeginBlock
|
||||
EndBlock
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -0,0 +1,8 @@
|
||||
@ TODO UNUSED?
|
||||
SCRIPT_START script_0800FB2C
|
||||
_0807EB44 0x0002
|
||||
DoPostScriptAction 0x0000
|
||||
_0807E5F8 0x00000001
|
||||
Call sub_080791BC
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user