mirror of
https://github.com/zeldaret/tmc
synced 2026-09-06 19:10:56 -04:00
label script functions
This commit is contained in:
@@ -4,15 +4,15 @@ SCRIPT_START script_CastorWildsStatueLeft
|
||||
CheckKinstoneFused 0x0006
|
||||
JumpIf script_0800B302
|
||||
_0807EA88 0x0006
|
||||
_0807EB44 0x0002
|
||||
SetAnimationState 0x0002
|
||||
EndBlock
|
||||
script_0800B268:
|
||||
_0807EA4C
|
||||
_0807E9F0
|
||||
_0807E864
|
||||
SetPlayerIdle
|
||||
CheckKinstoneFused 0x0006
|
||||
JumpIf script_0800B2E2
|
||||
Call sub_0807DF50
|
||||
_0807E878
|
||||
EnablePlayerControl
|
||||
Jump script_0800B268
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -4,15 +4,15 @@ SCRIPT_START script_CastorWildsStatueMiddle
|
||||
CheckKinstoneFused 0x0007
|
||||
JumpIf script_0800B302
|
||||
_0807EA88 0x0007
|
||||
_0807EB44 0x0002
|
||||
SetAnimationState 0x0002
|
||||
EndBlock
|
||||
script_0800B298:
|
||||
_0807EA4C
|
||||
_0807E9F0
|
||||
_0807E864
|
||||
SetPlayerIdle
|
||||
CheckKinstoneFused 0x0007
|
||||
JumpIf script_0800B2E2
|
||||
Call sub_0807DF50
|
||||
_0807E878
|
||||
EnablePlayerControl
|
||||
Jump script_0800B298
|
||||
.2byte 0x0000
|
||||
|
||||
@@ -4,20 +4,20 @@ SCRIPT_START script_CastorWildsStatueRight
|
||||
CheckKinstoneFused 0x0008
|
||||
JumpIf script_0800B302
|
||||
_0807EA88 0x0008
|
||||
_0807EB44 0x0002
|
||||
SetAnimationState 0x0002
|
||||
EndBlock
|
||||
script_0800B2C8:
|
||||
_0807EA4C
|
||||
_0807E9F0
|
||||
_0807E864
|
||||
SetPlayerIdle
|
||||
CheckKinstoneFused 0x0008
|
||||
JumpIf script_0800B2E2
|
||||
Call sub_0807DF50
|
||||
_0807E878
|
||||
EnablePlayerControl
|
||||
Jump script_0800B2C8
|
||||
script_0800B2E2:
|
||||
DoPostScriptAction 0x0013
|
||||
_0807EB44 0x0004
|
||||
SetAnimationState 0x0004
|
||||
_0807E9DC
|
||||
Call sub_080676E0
|
||||
Call sub_08067534
|
||||
|
||||
@@ -9,8 +9,8 @@ script_0800B6D4:
|
||||
CheckPlayerInRegion 0x0078, 0x00b8, 0x1060
|
||||
JumpIfNot script_0800B6D4
|
||||
Call sub_08079184
|
||||
_0807E864
|
||||
Call sub_0807F9A4
|
||||
SetPlayerIdle
|
||||
Call WaitForPlayerNormal
|
||||
StartPlayerScript script_PlayerAtGreatFairy
|
||||
WaitForSyncFlagAndClear 0x00000004
|
||||
SetRoomFlag 0x0000
|
||||
@@ -19,7 +19,7 @@ script_0800B6D4:
|
||||
JumpIf script_0800B7A2
|
||||
MessageNoOverlap 0x057b
|
||||
WaitUntilTextboxCloses
|
||||
CallWithArg sub_0807F970, 0x0000057d
|
||||
CallWithArg CheckMessageEqual, 0x0000057d
|
||||
JumpIf script_0800B6A6
|
||||
WaitUntilTextboxCloses
|
||||
SetLocalFlag 0x009f
|
||||
|
||||
@@ -8,10 +8,10 @@ SCRIPT_START script_MalonAtRanch
|
||||
script_0800B5FA:
|
||||
CheckEntityInteractType
|
||||
JumpIfNot script_0800B5FA
|
||||
_0807E864
|
||||
_0807EB74
|
||||
SetPlayerIdle
|
||||
FacePlayer
|
||||
MessageNoOverlap 0x2009
|
||||
WaitUntilTextboxCloses
|
||||
_0807E878
|
||||
_0807EB44 0x0004
|
||||
EnablePlayerControl
|
||||
SetAnimationState 0x0004
|
||||
Jump script_0800B5FA
|
||||
|
||||
@@ -30,7 +30,7 @@ script_0800B216:
|
||||
Wait 0x000c
|
||||
CameraTargetPlayer
|
||||
Wait 0x0008
|
||||
_0807E878
|
||||
EnablePlayerControl
|
||||
.ifdef JP
|
||||
CheckLocalFlag 0x001e
|
||||
.else
|
||||
|
||||
@@ -3,9 +3,9 @@ SCRIPT_START script_Object69DarknutFight
|
||||
BeginBlock
|
||||
Call sub_0807DF28
|
||||
SetLocalFlag 0x0039
|
||||
_0807E864
|
||||
SetPlayerIdle
|
||||
EndBlock
|
||||
WaitForPlayerAction0x17
|
||||
WaitForPlayerEnterRoom
|
||||
StartPlayerScript script_PlayerAtDarknutFight
|
||||
Wait 0x0018
|
||||
SetSyncFlag 0x00000002
|
||||
@@ -13,8 +13,8 @@ SCRIPT_START script_Object69DarknutFight
|
||||
SetRoomFlag 0x0000
|
||||
Wait 0x0010
|
||||
PlayBgm BGM_FIGHT_THEME
|
||||
_0807EB28 0x2701
|
||||
_0807E878
|
||||
EzloMessage 0x2701
|
||||
EnablePlayerControl
|
||||
Call sub_0807DF50
|
||||
SCRIPT_END
|
||||
.2byte 0x0000
|
||||
|
||||
Reference in New Issue
Block a user