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