Name some script commands

This commit is contained in:
octorock
2021-12-26 23:44:43 +01:00
parent 2ccf89a1fb
commit 57f00c0eae
365 changed files with 1579 additions and 1576 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
SCRIPT_START script_0800FB2C
_0807EB44 0x0002
DoPostScriptAction 0x0000
_0807E5F8 0x00000001
SetSyncFlag 0x00000001
Call sub_080791BC
SCRIPT_END
.2byte 0x0000
+1 -1
View File
@@ -6,7 +6,7 @@ SCRIPT_START script_08012B24
EndBlock
DoPostScriptAction 0x0001
_0807ECC4 0x0008
_0807E5F8 0x00000002
SetSyncFlag 0x00000002
CallWithArg sub_0807FB64, 0xffffffe2
Call sub_080791BC
SCRIPT_END
+1 -1
View File
@@ -6,7 +6,7 @@ SCRIPT_START script_08012B50
EndBlock
DoPostScriptAction 0x0001
_0807EC64 0x0008
_0807E5F8 0x00000002
SetSyncFlag 0x00000002
CallWithArg sub_0807FB64, 0xffffffe2
Call sub_080791BC
SCRIPT_END
+1 -1
View File
@@ -6,7 +6,7 @@ SCRIPT_START script_08012B7C
EndBlock
DoPostScriptAction 0x0001
_0807EC94 0x0008
_0807E5F8 0x00000002
SetSyncFlag 0x00000002
CallWithArg sub_0807FB64, 0xffffffe2
Call sub_080791BC
SCRIPT_END
+1 -1
View File
@@ -10,7 +10,7 @@ script_08013D1C:
JumpIfNot script_08013D1C
CallWithArg sub_08095D54, 0x00000000
PlaySound SFX_ELEMENT_PLACE
_0807E5F8 0x08000000
SetSyncFlag 0x08000000
Call sub_080791BC
DoPostScriptAction 0x0006
SCRIPT_END
+1 -1
View File
@@ -10,7 +10,7 @@ script_08013D5C:
JumpIfNot script_08013D5C
CallWithArg sub_08095D54, 0x00000001
PlaySound SFX_ELEMENT_PLACE
_0807E5F8 0x10000000
SetSyncFlag 0x10000000
Call sub_080791BC
DoPostScriptAction 0x0006
SCRIPT_END
+1 -1
View File
@@ -10,7 +10,7 @@ script_08013D9C:
JumpIfNot script_08013D9C
CallWithArg sub_08095D54, 0x00000002
PlaySound SFX_ELEMENT_PLACE
_0807E5F8 0x20000000
SetSyncFlag 0x20000000
Call sub_080791BC
DoPostScriptAction 0x0006
SCRIPT_END
+1 -1
View File
@@ -10,7 +10,7 @@ script_08013DDC:
JumpIfNot script_08013DDC
CallWithArg sub_08095D54, 0x00000003
PlaySound SFX_ELEMENT_PLACE
_0807E5F8 0x40000000
SetSyncFlag 0x40000000
Call sub_080791BC
DoPostScriptAction 0x0006
SCRIPT_END
+2 -2
View File
@@ -1,9 +1,9 @@
@ TODO UNUSED?
SCRIPT_START script_080155F4
WaitForSomething2 0x00000020
WaitForSyncFlagAndClear 0x00000020
_0807E930 0x0000
Wait 0x0014
_0807E5F8 0x00000040
SetSyncFlag 0x00000040
script_08015608:
CheckRoomFlag 0x0001
JumpIfNot script_08015608
+1 -1
View File
@@ -5,7 +5,7 @@ SCRIPT_START script_08015A7C
_0807EC64 0x0010
_0807EB44 0x0000
DoPostScriptAction 0x0000
_0807E5F8 0x00000004
SetSyncFlag 0x00000004
Call sub_080791BC
SCRIPT_END
.2byte 0x0000
+1 -1
View File
@@ -5,7 +5,7 @@ SCRIPT_START script_08015AA0
_0807EC94 0x0010
_0807EB44 0x0002
DoPostScriptAction 0x0000
_0807E5F8 0x00000004
SetSyncFlag 0x00000004
Call sub_080791BC
SCRIPT_END
.2byte 0x0000
+2 -2
View File
@@ -4,9 +4,9 @@ SCRIPT_START script_08015F80
_0807EB44 0x0004
DoPostScriptAction 0x0000
EndBlock
WaitForSomething 0x00000200
WaitForSyncFlag 0x00000200
DoPostScriptAction 0x0005
WaitForSomething 0x00000400
WaitForSyncFlag 0x00000400
DoPostScriptAction 0x0006
SCRIPT_END
.2byte 0x0000
+8 -8
View File
@@ -13,7 +13,7 @@ SCRIPT_START script_08016384
Call script_08016384
CallWithArg script_08016384, 0x12345678
LoadRoomEntityList script_08016384
TestBit 0x00000001
CheckSyncFlagAndClear 0x00000001
CheckInventory1 0x0001
CheckInventory2 0x0001
HasRoomItemForSale
@@ -38,10 +38,10 @@ SCRIPT_START script_08016384
CheckEntityInteractType
_0807E30C
HasRupees 0x00c8
_0807E3E8
CheckTextboxResult
CheckKinstoneFused 0x0001
BuyItem 0x006c, 0x0000
_0807E48C 0x0020
CheckBottleContaining 0x0020
_0807E4CC 0x00000000
_0807E4EC 0x00000000
_0807E514 0x00000000
@@ -50,8 +50,8 @@ SCRIPT_START script_08016384
EntityHasHeight
ComparePlayerAction 0x0001
ComparePlayerAnimationState 0x0004
_0807E5F8 0x00000001
_0807E610 0x00000002
SetSyncFlag 0x00000001
ClearSyncFlag 0x00000002
SetLocalFlag 0x0067
SetLocalFlagByBank 0x0100, 0x0001
ClearLocalFlag 0x0067
@@ -60,11 +60,11 @@ SCRIPT_START script_08016384
SetRoomFlag 0x0000
ClearRoomFlag 0x0000
Wait 0x001e
WaitForSomething 0x00000001
WaitForSomething2 0x00000002
WaitForSyncFlag 0x00000001
WaitForSyncFlagAndClear 0x00000002
WaitPlayerGetItem
WaitForPlayerAction0x17
WaitFor_1
WaitFor_2
WaitForFadeFinish
_0807E778 0x0004
SetFadeMask 0x0000ffff
+1 -1
View File
@@ -69,7 +69,7 @@ SCRIPT_START script_08016482
ModHealth 0x0010
IncreaseMaxHealth
_0807F050 0x0001
_0807F034 0x0001
GivePlayerItem 0x0001
GetInventoryValue 0x0001
_0807F078 0x0001, 0x0002
_0807F088 0x0001