lightableSwitch OK

This commit is contained in:
theo3
2020-07-06 13:56:19 -07:00
parent a4a932deb6
commit c5897e647c
38 changed files with 197 additions and 373 deletions
+5 -5
View File
@@ -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();
}