mirror of
https://github.com/zeldaret/tmc
synced 2026-08-14 12:34:15 -04:00
bladeBrothers.c OK
This commit is contained in:
+15
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user