bladeBrothers.c OK

This commit is contained in:
theo3
2020-06-15 13:57:09 -07:00
parent a99313e537
commit f3f7b518cb
20 changed files with 163 additions and 250 deletions
+15
View File
@@ -0,0 +1,15 @@
#include "global.h"
#include "room.h"
#include "flags.h"
u32 extern CheckLocalFlagByOffset(u32, u32);
extern u32 ReadBit(u32*, u32);
u32 CheckGlobalFlag(u32 index) {
return CheckLocalFlagByOffset(0, index);
}
u32 CheckRoomFlag(u32 index)
{
return ReadBit(&gRoomVars.roomFlags, index);
}