mirror of
https://github.com/zeldaret/tmc
synced 2026-05-26 15:46:05 -04:00
Add labels for room entity lists referenced in scripts
This commit is contained in:
+44
-11
@@ -386,7 +386,10 @@ gUnk_080D6714:: @ 080D6714
|
||||
.incbin "baserom.gba", 0x0D6714, 0x0000020
|
||||
|
||||
gUnk_080D6734:: @ 080D6734
|
||||
.incbin "baserom.gba", 0x0D6734, 0x0000080
|
||||
.incbin "baserom.gba", 0x0D6734, 0x0000050
|
||||
|
||||
gUnk_080D6784:: @ 080D6784
|
||||
.incbin "baserom.gba", 0x0D6784, 0x0000030
|
||||
|
||||
gUnk_080D67B4:: @ 080D67B4
|
||||
.incbin "baserom.gba", 0x0D67B4, 0x00000F0
|
||||
@@ -1445,7 +1448,10 @@ gUnk_080DA210:: @ 080DA210
|
||||
.incbin "baserom.gba", 0x0DA210, 0x0000020
|
||||
|
||||
gUnk_080DA230:: @ 080DA230
|
||||
.incbin "baserom.gba", 0x0DA230, 0x0000070
|
||||
.incbin "baserom.gba", 0x0DA230, 0x0000030
|
||||
|
||||
gUnk_080DA260:: @ 080DA260
|
||||
.incbin "baserom.gba", 0x0DA260, 0x0000040
|
||||
|
||||
gUnk_080DA2A0:: @ 080DA2A0
|
||||
.incbin "baserom.gba", 0x0DA2A0, 0x0000010
|
||||
@@ -2630,7 +2636,10 @@ gUnk_080DD6CC:: @ 080DD6CC
|
||||
.incbin "baserom.gba", 0x0DD6CC, 0x0000040
|
||||
|
||||
gUnk_080DD70C:: @ 080DD70C
|
||||
.incbin "baserom.gba", 0x0DD70C, 0x0000044
|
||||
.incbin "baserom.gba", 0x0DD70C, 0x0000024
|
||||
|
||||
gUnk_080DD730:: @ 080DD730
|
||||
.incbin "baserom.gba", 0x0DD730, 0x0000020
|
||||
|
||||
gUnk_080DD750:: @ 080DD750
|
||||
.incbin "baserom.gba", 0x0DD750, 0x0000040
|
||||
@@ -4448,7 +4457,10 @@ gUnk_080E3790:: @ 080E3790
|
||||
.incbin "baserom.gba", 0x0E3790, 0x0000020
|
||||
|
||||
gUnk_080E37B0:: @ 080E37B0
|
||||
.incbin "baserom.gba", 0x0E37B0, 0x00000A0
|
||||
.incbin "baserom.gba", 0x0E37B0, 0x0000080
|
||||
|
||||
gUnk_080E3830:: @ 080E3830
|
||||
.incbin "baserom.gba", 0x0E3830, 0x0000020
|
||||
|
||||
gUnk_080E3850:: @ 080E3850
|
||||
.incbin "baserom.gba", 0x0E3850, 0x0000020
|
||||
@@ -7019,7 +7031,10 @@ gUnk_080EE80C:: @ 080EE80C
|
||||
.incbin "baserom.gba", 0x0EE80C, 0x0000080
|
||||
|
||||
gUnk_080EE88C:: @ 080EE88C
|
||||
.incbin "baserom.gba", 0x0EE88C, 0x0000070
|
||||
.incbin "baserom.gba", 0x0EE88C, 0x0000020
|
||||
|
||||
gUnk_080EE8AC:: @ 080EE8AC
|
||||
.incbin "baserom.gba", 0x0EE8AC, 0x0000050
|
||||
|
||||
gUnk_080EE8FC:: @ 080EE8FC
|
||||
.incbin "baserom.gba", 0x0EE8FC, 0x0000020
|
||||
@@ -7592,13 +7607,19 @@ gUnk_080F0630:: @ 080F0630
|
||||
.incbin "baserom.gba", 0x0F0630, 0x0000020
|
||||
|
||||
gUnk_080F0650:: @ 080F0650
|
||||
.incbin "baserom.gba", 0x0F0650, 0x0000090
|
||||
.incbin "baserom.gba", 0x0F0650, 0x0000060
|
||||
|
||||
gUnk_080F06B0:: @ 080F06B0
|
||||
.incbin "baserom.gba", 0x0F06B0, 0x0000030
|
||||
|
||||
gUnk_080F06E0:: @ 080F06E0
|
||||
.incbin "baserom.gba", 0x0F06E0, 0x0000025
|
||||
|
||||
gUnk_080F0705:: @ 080F0705
|
||||
.incbin "baserom.gba", 0x0F0705, 0x00000FB
|
||||
.incbin "baserom.gba", 0x0F0705, 0x000006B
|
||||
|
||||
gUnk_080F0770:: @ 080F0770
|
||||
.incbin "baserom.gba", 0x0F0770, 0x0000090
|
||||
|
||||
gUnk_080F0800:: @ 080F0800
|
||||
.incbin "baserom.gba", 0x0F0800, 0x0000006
|
||||
@@ -8982,7 +9003,10 @@ gEntityList0_MinishWoods_0:: @ 080F4D00
|
||||
entity_list_end
|
||||
|
||||
gUnk_080F4D50:: @ 080F4D50
|
||||
.incbin "baserom.gba", 0x0F4D50, 0x0000060
|
||||
.incbin "baserom.gba", 0x0F4D50, 0x0000020
|
||||
|
||||
gUnk_080F4D70:: @080F4D70
|
||||
.incbin "baserom.gba", 0x0F4D70, 0x0000040
|
||||
|
||||
gUnk_080F4DB0:: @ 080F4DB0
|
||||
.incbin "baserom.gba", 0x0F4DB0, 0x0000020
|
||||
@@ -9066,7 +9090,10 @@ gUnk_080F5194:: @ 080F5194
|
||||
.incbin "baserom.gba", 0x0F5194, 0x000001E
|
||||
|
||||
gUnk_080F51B2:: @ 080F51B2
|
||||
.incbin "baserom.gba", 0x0F51B2, 0x000003E
|
||||
.incbin "baserom.gba", 0x0F51B2, 0x000001E
|
||||
|
||||
gUnk_080F51D0:: @ 080F51D0
|
||||
.incbin "baserom.gba", 0x0F51D0, 0x0000020
|
||||
|
||||
gUnk_080F51F0:: @ 080F51F0
|
||||
.incbin "baserom.gba", 0x0F51F0, 0x0000030
|
||||
@@ -9178,7 +9205,10 @@ gUnk_080F5630:: @ 080F5630
|
||||
.incbin "baserom.gba", 0x0F5630, 0x0000030
|
||||
|
||||
gUnk_080F5660:: @ 080F5660
|
||||
.incbin "baserom.gba", 0x0F5660, 0x0000050
|
||||
.incbin "baserom.gba", 0x0F5660, 0x0000020
|
||||
|
||||
gUnk_080F5680:: @ 080F5680
|
||||
.incbin "baserom.gba", 0x0F5680, 0x0000030
|
||||
|
||||
gUnk_080F56B0:: @ 080F56B0
|
||||
.incbin "baserom.gba", 0x0F56B0, 0x0000050
|
||||
@@ -9835,7 +9865,10 @@ gUnk_080F7C00:: @ 080F7C00
|
||||
.incbin "baserom.gba", 0x0F7C00, 0x0000080
|
||||
|
||||
gUnk_080F7C80:: @ 080F7C80
|
||||
.incbin "baserom.gba", 0x0F7C80, 0x0000050
|
||||
.incbin "baserom.gba", 0x0F7C80, 0x0000030
|
||||
|
||||
gUnk_080F7CB0:: @ 080F7CB0
|
||||
.incbin "baserom.gba", 0x0F7CB0, 0x0000020
|
||||
|
||||
gUnk_080F7CD0:: @ 080F7CD0
|
||||
.incbin "baserom.gba", 0x0F7CD0, 0x0000020
|
||||
|
||||
@@ -60,7 +60,7 @@ Call sub_0806BB7C
|
||||
JumpIfNot 0x0048
|
||||
TextboxNoOverlap 0x490c
|
||||
_0807EA94
|
||||
LoadRoomEntityList 0x080d6784
|
||||
LoadRoomEntityList gUnk_080D6784
|
||||
WaitForSomething 0x00000001
|
||||
WaitForSomething 0x00000004
|
||||
Wait 0x000f
|
||||
|
||||
@@ -26,7 +26,7 @@ JumpIfNot 0xff80
|
||||
Wait 0x001e
|
||||
TextboxNoOverlap 0x1d08
|
||||
_0807EA94
|
||||
LoadRoomEntityList 0x080f9c38
|
||||
LoadRoomEntityList gUnk_080F9C38
|
||||
Wait 0x0078
|
||||
Call sub_0806D6D0
|
||||
Wait 0x00b4
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
SCRIPT_START gUnk_08009464
|
||||
Wait 0x003c
|
||||
_0807F0C8 0x0000, 0x0000
|
||||
LoadRoomEntityList 0x080f9c58
|
||||
LoadRoomEntityList gUnk_080F9C58
|
||||
Wait 0x003c
|
||||
Call sub_0806D70C
|
||||
Wait 0x003c
|
||||
|
||||
@@ -61,7 +61,7 @@ StartPlayerScript gUnk_08009704
|
||||
WaitForSomething2 0x00000001
|
||||
SoundReq 0x0111
|
||||
_0807EF80 0x0008
|
||||
LoadRoomEntityList 0x080d9048
|
||||
LoadRoomEntityList gUnk_080D9048
|
||||
Wait 0x000f
|
||||
SoundReq 0x0111
|
||||
_0807EF80 0x0007
|
||||
|
||||
@@ -9,7 +9,7 @@ ClearLocalFlag 0x0039
|
||||
_0807EF80 0x0000
|
||||
_0807EF80 0x0004
|
||||
Wait 0x002c
|
||||
LoadRoomEntityList 0x080da260
|
||||
LoadRoomEntityList gUnk_080DA260
|
||||
Wait 0x001e
|
||||
_0807E5F8 0x00000001
|
||||
Call sub_0807921C
|
||||
|
||||
@@ -162,6 +162,6 @@ Call sub_0806DAE8
|
||||
Wait 0x0078
|
||||
Call sub_0806DB44
|
||||
JumpIfNot 0x000e
|
||||
LoadRoomEntityList 0x080dd730
|
||||
LoadRoomEntityList gUnk_080DD730
|
||||
_0807EF80 0x0006
|
||||
SCRIPT_END
|
||||
|
||||
@@ -20,7 +20,7 @@ CheckInventory1 0x0017
|
||||
JumpIf 0x0018
|
||||
CheckLocalFlag 0x0045
|
||||
JumpIf 0x0010
|
||||
LoadRoomEntityList 0x080e3830
|
||||
LoadRoomEntityList gUnk_080E3830
|
||||
CheckLocalFlag 0x0045
|
||||
JumpIfNot 0xfffa
|
||||
Call sub_0807DF50
|
||||
|
||||
@@ -81,7 +81,7 @@ JumpIfNot 0xfff6
|
||||
_0807E864
|
||||
Call sub_0807F9A4
|
||||
Call sub_0807DF28
|
||||
LoadRoomEntityList 0x080ee8ac
|
||||
LoadRoomEntityList gUnk_080EE8AC
|
||||
StartPlayerScript gUnk_0800F14C
|
||||
WaitForSomething2 0x00000001
|
||||
_0807E5F8 0x0000001e
|
||||
|
||||
@@ -53,7 +53,7 @@ Call sub_08064180
|
||||
Call sub_08064180
|
||||
Call sub_08064180
|
||||
Call sub_08064180
|
||||
LoadRoomEntityList 0x080f06e0
|
||||
LoadRoomEntityList gUnk_080F06E0
|
||||
_0807E5F8 0x00000004
|
||||
WaitForSomething2 0x00000008
|
||||
StartPlayerScript gUnk_08011098
|
||||
|
||||
@@ -30,7 +30,7 @@ WaitFor_2
|
||||
Wait 0x003c
|
||||
SoundReq 0x00ab
|
||||
SoundReq 0x01c2
|
||||
LoadRoomEntityList 0x080f0770
|
||||
LoadRoomEntityList gUnk_080F0770
|
||||
_0807E5F8 0x00000010
|
||||
WaitForSomething2 0x00000020
|
||||
_0807E778 0x0002
|
||||
|
||||
@@ -5,7 +5,7 @@ _0807EF80 0x0000
|
||||
StopScript
|
||||
CheckPlayerInRegion 0x01f8, 0x0048, 0x1040
|
||||
JumpIfNot 0xfff6
|
||||
LoadRoomEntityList 0x080f06b0
|
||||
LoadRoomEntityList gUnk_080F06B0
|
||||
_0807EF80 0x000b
|
||||
WaitForSomething2 0x00000004
|
||||
SetEntityPositionRelative 0x005801b8
|
||||
|
||||
@@ -513,7 +513,7 @@ Call sub_08061FD8
|
||||
_0807EF80 0x000b
|
||||
Call sub_08061FB0
|
||||
Call sub_08061F94
|
||||
LoadRoomEntityList 0x080f2758
|
||||
LoadRoomEntityList gUnk_080F2758
|
||||
_0807EF80 0x0008
|
||||
Wait 0x003c
|
||||
SoundReq 0x0072
|
||||
|
||||
@@ -45,7 +45,7 @@ WaitFor_2
|
||||
.short 0x0000
|
||||
@ End of parameters
|
||||
Call sub_080791BC
|
||||
LoadRoomEntityList 0x080f4d70
|
||||
LoadRoomEntityList gUnk_080F4D70
|
||||
Call DeleteAllEnemies
|
||||
SetEntityPositionRelative 0x01680388
|
||||
Call sub_0807F844
|
||||
@@ -110,7 +110,7 @@ SoundReq2 0x0033
|
||||
Call sub_0807DF50
|
||||
_0807E878
|
||||
_0807E5F8 0x00000050
|
||||
LoadRoomEntityList 0x080f51d0
|
||||
LoadRoomEntityList gUnk_080F51D0
|
||||
WaitForSomething2 0x00000008
|
||||
_0807E864
|
||||
Call sub_0807FA40
|
||||
|
||||
@@ -19,7 +19,7 @@ WaitForSomething2 0x00000002
|
||||
_0807E778 0x0004
|
||||
DoFade5
|
||||
WaitFor_2
|
||||
LoadRoomEntityList 0x080f5680
|
||||
LoadRoomEntityList gUnk_080F5680
|
||||
StartPlayerScript gUnk_08013330
|
||||
WaitForSomething2 0x00000002
|
||||
MoveEntityToPlayer
|
||||
|
||||
@@ -14,7 +14,7 @@ _0807F0B4 0x0004
|
||||
SetEntityPositionRelative 0x005000e8
|
||||
CameraTargetEntity
|
||||
Wait 0x003c
|
||||
LoadRoomEntityList 0x080f55d8
|
||||
LoadRoomEntityList gUnk_080F55D8
|
||||
Wait 0x0078
|
||||
_0807F0B4 0x0007
|
||||
MoveEntityToPlayer
|
||||
|
||||
@@ -217,7 +217,7 @@ WaitForSomething2 0x00000001
|
||||
SoundReq 0x01b0
|
||||
Call sub_0804F79C
|
||||
Wait 0x000a
|
||||
LoadRoomEntityList 0x080f7fc0
|
||||
LoadRoomEntityList gUnk_080F7FC0
|
||||
SoundReq2 0x002d
|
||||
Call sub_0807DF50
|
||||
_0807E878
|
||||
@@ -278,7 +278,7 @@ _0807E80C 0x00000000
|
||||
StopScript
|
||||
StartPlayerScript gUnk_08015360
|
||||
WaitForSomething2 0x00000001
|
||||
LoadRoomEntityList 0x080f7cb0
|
||||
LoadRoomEntityList gUnk_080F7CB0
|
||||
_0807E778 0x0004
|
||||
_0807E800 0x00000000
|
||||
WaitFor_2
|
||||
|
||||
@@ -41,7 +41,7 @@ _0807E778 0x0004
|
||||
DoFade5
|
||||
WaitFor_2
|
||||
_0807E5F8 0x00000010
|
||||
LoadRoomEntityList 0x080fce30
|
||||
LoadRoomEntityList gUnk_080FCE30
|
||||
SoundReq0x80100000
|
||||
Wait 0x0078
|
||||
_0807E778 0x0004
|
||||
|
||||
@@ -18,7 +18,7 @@ Call 0x08016384
|
||||
.short 0x5678
|
||||
.short 0x1234
|
||||
@ End of parameters
|
||||
LoadRoomEntityList 0x08016384
|
||||
LoadRoomEntityList gUnk_08016384
|
||||
TestBit 0x00000001
|
||||
CheckInventory1 0x0001
|
||||
CheckInventory2 0x0001
|
||||
|
||||
@@ -66,7 +66,7 @@ commands = [
|
||||
{'fun': 'ScriptCommand_0807E0E0', 'params': 'dd'},
|
||||
{'fun': 'ScriptCommand_Call', 'params':'p', 'name': 'Execute function via pointer'},# 'exec': ScriptCommand_Call},
|
||||
{'fun': 'ScriptCommand_CallWithArg', 'params': 'pv'},
|
||||
{'fun': 'ScriptCommand_LoadRoomEntityList', 'params': 'w'}, # TODO return to d and create labels for them
|
||||
{'fun': 'ScriptCommand_LoadRoomEntityList', 'params': 'd'},
|
||||
{'fun': 'ScriptCommand_TestBit', 'params': 'w'},
|
||||
{'fun': 'ScriptCommand_CheckInventory1', 'params': 's'},
|
||||
{'fun': 'ScriptCommand_CheckInventory2', 'params': 's'},
|
||||
|
||||
Reference in New Issue
Block a user