all flags dumped

This commit is contained in:
theo3 2021-11-02 00:52:42 -07:00
parent 541fd0e9ff
commit 3118ba5b4d
3 changed files with 1544 additions and 6 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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) {

View File

@ -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: