mirror of https://github.com/zeldaret/tmc.git
all flags dumped
This commit is contained in:
parent
541fd0e9ff
commit
3118ba5b4d
1543
include/flags.h
1543
include/flags.h
File diff suppressed because it is too large
Load Diff
|
@ -44,7 +44,6 @@ void sub_08077E54(ItemBehavior* beh) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void sub_08077E78(ItemBehavior* arg0, u32 bits) {
|
void sub_08077E78(ItemBehavior* arg0, u32 bits) {
|
||||||
u8* pbVar1;
|
|
||||||
u32 not ;
|
u32 not ;
|
||||||
|
|
||||||
if (bits == 0) {
|
if (bits == 0) {
|
||||||
|
|
|
@ -13,13 +13,13 @@ u32 CheckLocalFlag(u32 flag) {
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 CheckFlags(u32 flags) {
|
u32 CheckFlags(u32 flags) {
|
||||||
s32 uVar1;
|
s32 type;
|
||||||
s32 index;
|
s32 index;
|
||||||
s32 length;
|
s32 length;
|
||||||
index = flags & 0x3ff;
|
index = flags & 0x3ff;
|
||||||
length = (((flags & (0xf0) << 0x6) >> 0xa) + 1);
|
length = (((flags & (0xf0) << 0x6) >> 0xa) + 1);
|
||||||
uVar1 = (flags & 0xc000) >> 0xe;
|
type = (flags & 0xc000) >> 0xe;
|
||||||
switch ((u32)uVar1) {
|
switch ((u32)type) {
|
||||||
case 2:
|
case 2:
|
||||||
return CheckRoomFlags(index, length);
|
return CheckRoomFlags(index, length);
|
||||||
case 0:
|
case 0:
|
||||||
|
|
Loading…
Reference in New Issue