mirror of
https://github.com/zeldaret/tmc
synced 2026-08-17 21:33:45 -04:00
lightableSwitch OK
This commit is contained in:
+5
-5
@@ -3,7 +3,7 @@
|
||||
|
||||
void LoadRoomEntityList();
|
||||
s32 CheckGlobalFlag(u32 flag);
|
||||
extern s32* sub_0804B128(u8 unk);
|
||||
extern s32* GetCurrentRoomProperty(u8 unk);
|
||||
extern void sub_0804B058(s32* unk);
|
||||
extern void sub_0804B1AC();
|
||||
extern void sub_0801AC98();
|
||||
@@ -15,13 +15,13 @@ void LoadRoom(void)
|
||||
s32 iVar1;
|
||||
s32* dat;
|
||||
|
||||
sub_0804B128(1);
|
||||
GetCurrentRoomProperty(1);
|
||||
LoadRoomEntityList();
|
||||
sub_0804B128(0);
|
||||
GetCurrentRoomProperty(0);
|
||||
LoadRoomEntityList();
|
||||
|
||||
if (CheckGlobalFlag(21)) sub_0804B058(sub_0804B128(2));
|
||||
sub_0804B128(3);
|
||||
if (CheckGlobalFlag(21)) sub_0804B058(GetCurrentRoomProperty(2));
|
||||
GetCurrentRoomProperty(3);
|
||||
sub_0804B1AC();
|
||||
sub_0801AC98();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user