label script functions

This commit is contained in:
theo3
2021-12-27 21:26:32 -08:00
parent ebaa6d76fa
commit c4f2efe132
525 changed files with 2621 additions and 2625 deletions
+11 -11
View File
@@ -2,21 +2,21 @@
SCRIPT_START script_0800B828
BeginBlock
_0807E9D4
_0807EB44 0x0000
SetAnimationState 0x0000
DoPostScriptAction 0x000a
EndBlock
script_0800B836:
_0807E944
_0807E864
TriggerInteract
SetPlayerIdle
MessageFromTarget 0x0a01
WaitUntilTextboxCloses
Wait 0x000f
_0807E878
EnablePlayerControl
Jump script_0800B836
.2byte 0x0000
BeginBlock
_0807E9D4
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x0000
DoPostScriptAction 0x000a
EndBlock
@@ -26,8 +26,8 @@ script_0800B85E:
Jump script_0800B85E
BeginBlock
_0807E9D4
_0807EB44 0x0004
_0807E930 0x0000
SetAnimationState 0x0004
SetAnimation 0x0000
DoPostScriptAction 0x000a
EndBlock
script_0800B87E:
@@ -36,17 +36,17 @@ script_0800B87E:
Jump script_0800B87E
BeginBlock
_0807E9D4
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x0000
DoPostScriptAction 0x000a
EndBlock
script_0800B89E:
CheckEntityInteractType
JumpIfNot script_0800B89E
_0807E864
_0807EB74
SetPlayerIdle
FacePlayer
MessageFromTarget 0x0a01
WaitUntilTextboxCloses
Wait 0x000f
_0807E878
EnablePlayerControl
Jump script_0800B89E
+2 -2
View File
@@ -5,11 +5,11 @@ SCRIPT_START script_0800D84C
script_0800D850:
CheckRoomFlag 0x0000
JumpIfNot script_0800D850
_0807E864
SetPlayerIdle
Call sub_0807DF28
Wait 0x003c
Call sub_0807DF50
_0807E878
EnablePlayerControl
DoPostScriptAction 0x0006
SCRIPT_END
.2byte 0x0000
+1 -1
View File
@@ -1,6 +1,6 @@
@ TODO UNUSED?
SCRIPT_START script_0800FB2C
_0807EB44 0x0002
SetAnimationState 0x0002
DoPostScriptAction 0x0000
SetSyncFlag 0x00000001
Call sub_080791BC
+2 -2
View File
@@ -2,10 +2,10 @@
SCRIPT_START script_08012B24
BeginBlock
SetEntitySpeed 0x0100
_0807EB44 0x0004
SetAnimationState 0x0004
EndBlock
DoPostScriptAction 0x0001
_0807ECC4 0x0008
WalkSouth 0x0008
SetSyncFlag 0x00000002
CallWithArg sub_0807FB64, 0xffffffe2
Call sub_080791BC
+2 -2
View File
@@ -2,10 +2,10 @@
SCRIPT_START script_08012B50
BeginBlock
SetEntitySpeed 0x0100
_0807EB44 0x0000
SetAnimationState 0x0000
EndBlock
DoPostScriptAction 0x0001
_0807EC64 0x0008
WalkNorth 0x0008
SetSyncFlag 0x00000002
CallWithArg sub_0807FB64, 0xffffffe2
Call sub_080791BC
+2 -2
View File
@@ -2,10 +2,10 @@
SCRIPT_START script_08012B7C
BeginBlock
SetEntitySpeed 0x0100
_0807EB44 0x0002
SetAnimationState 0x0002
EndBlock
DoPostScriptAction 0x0001
_0807EC94 0x0008
WalkEast 0x0008
SetSyncFlag 0x00000002
CallWithArg sub_0807FB64, 0xffffffe2
Call sub_080791BC
+2 -2
View File
@@ -9,11 +9,11 @@ SCRIPT_START script_08012C68
script_08012C7E:
CheckEntityInteractType
JumpIfNot script_08012C7E
_0807E864
SetPlayerIdle
_0807E8E4_0
MessageFromTarget 0x111d
WaitUntilTextboxCloses
SetGlobalFlag 0x0022
_0807E878
EnablePlayerControl
Jump script_08012C7E
+1 -1
View File
@@ -1,7 +1,7 @@
@ TODO UNUSED?
SCRIPT_START script_080155F4
WaitForSyncFlagAndClear 0x00000020
_0807E930 0x0000
SetAnimation 0x0000
Wait 0x0014
SetSyncFlag 0x00000040
script_08015608:
+2 -2
View File
@@ -2,8 +2,8 @@
SCRIPT_START script_08015A7C
SetEntitySpeed 0x0100
DoPostScriptAction 0x0001
_0807EC64 0x0010
_0807EB44 0x0000
WalkNorth 0x0010
SetAnimationState 0x0000
DoPostScriptAction 0x0000
SetSyncFlag 0x00000004
Call sub_080791BC
+2 -2
View File
@@ -2,8 +2,8 @@
SCRIPT_START script_08015AA0
SetEntitySpeed 0x0100
DoPostScriptAction 0x0001
_0807EC94 0x0010
_0807EB44 0x0002
WalkEast 0x0010
SetAnimationState 0x0002
DoPostScriptAction 0x0000
SetSyncFlag 0x00000004
Call sub_080791BC
+1 -1
View File
@@ -1,7 +1,7 @@
@ TODO UNUSED?
SCRIPT_START script_08015F80
BeginBlock
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x0000
EndBlock
WaitForSyncFlag 0x00000200
+7 -7
View File
@@ -36,17 +36,17 @@ SCRIPT_START script_08016384
CheckPlayerInRegion 0x0000, 0x0000, 0x0000
CheckPlayerInRegion2 0x0000
CheckEntityInteractType
_0807E30C
FacePlayerAndCheckDist
HasRupees 0x00c8
CheckTextboxResult
CheckKinstoneFused 0x0001
BuyItem 0x006c, 0x0000
CheckBottleContaining 0x0020
_0807E4CC 0x00000000
_0807E4EC 0x00000000
_0807E514 0x00000000
VariableBitSet 0x00000000
VariableOnlyBitSet 0x00000000
VariableEqual 0x00000000
CheckPlayerFlags 0x00000080
_0807E564
CheckPlayerMinish
EntityHasHeight
ComparePlayerAction 0x0001
ComparePlayerAnimationState 0x0004
@@ -63,8 +63,8 @@ SCRIPT_START script_08016384
WaitForSyncFlag 0x00000001
WaitForSyncFlagAndClear 0x00000002
WaitPlayerGetItem
WaitForPlayerAction0x17
WaitForPlayerEnterRoom
WaitFor_1
WaitForFadeFinish
_0807E778 0x0004
SetFadeTime 0x0004
SetFadeMask 0x0000ffff
+20 -20
View File
@@ -1,6 +1,6 @@
@ TODO UNUSED?
SCRIPT_START script_08016482
_0807E79C
FadeInvert
Nop2 0x0080
DoFade4
DoFade5
@@ -9,21 +9,21 @@ SCRIPT_START script_08016482
_0807E800 0x00000000
_0807E80C 0x00000000
_0807E858_0
_0807E864
_0807E878
_0807E888
SetPlayerIdle
EnablePlayerControl
DisablePlayerControl
SetPlayerAction 0x00005408
StartPlayerScript script_08016384
_0807E8D4 0x03a0
SetPlayerAnimation 0x03a0
_0807E8E4_0
_0807E8E4_1
_0807E8E4_2
_0807E8E4_3
_0807E908 0x0004
SetAction 0x0004
SetIntVariable 0x00000000
_0807E924
_0807E930 0x0000
_0807E944
SetVariableToFrame
SetAnimation 0x0000
TriggerInteract
_0807E974 0x0600
_0807E9D4
_0807E9DC
@@ -35,24 +35,24 @@ SCRIPT_START script_08016482
MessageFromTargetPos_1 0x0601
MessageFromTargetTable 0x0601, 0x0602, 0x0603
MessageNoOverlapVar
_0807EB28 0x0602
EzloMessage 0x0602
_0807EB38
_0807EB44 0x0000
SetAnimationState 0x0000
_0807EB4C 0x0000, 0x0000
_0807EB74
_0807EB8C
FacePlayer
FaceAwayFromPlayer
SetEntityDirection 0x0000
SetEntityDirectionWithAnimationState 0x0000
SetEntitySpeed 0x0100
SetEntity0x20 0x00018000
SetEntityVelocity 0x00018000
SetEntityPositionRelative 0x0000, 0x0000
MoveEntityToPlayer
Nop3
_0807EC1C 0x0010
_0807EC64 0x0020
_0807EC94 0x0030
_0807ECC4 0x0040
_0807ECF4 0x0050
WalkForward 0x0010
WalkNorth 0x0020
WalkEast 0x0030
WalkSouth 0x0040
WalkWest 0x0050
_0807ED24 0x0000, 0x0000, 0x0000
_0807EDD4 0x0000, 0x0000
_0807EE04 0x0000, 0x0000
@@ -68,7 +68,7 @@ SCRIPT_START script_08016482
ModRupees 0xff38
ModHealth 0x0010
IncreaseMaxHealth
_0807F050 0x0001
GiveKinstone 0x0001
GivePlayerItem 0x0001
GetInventoryValue 0x0001
_0807F078 0x0001, 0x0002
+1 -1
View File
@@ -2,7 +2,7 @@
SCRIPT_START script_080165A4
BeginBlock
DoPostScriptAction 0x000a
_0807EB44 0x0004
SetAnimationState 0x0004
_0807E9D4
EndBlock
script_080165B2: