diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2019-11-12 15:38:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-12 15:38:42 -0500 |
commit | 4a6563b82d0d10169b7f361ee44412d65a99582e (patch) | |
tree | 46c0f4eff4b30b1ec2158888be0a4cd3c66c48da /src/metatile_behavior.c | |
parent | 68ac755bb91041868cde6d558b2af2123ddad0a0 (diff) | |
parent | f04e6737b2073446efa285cfa74a80ee23649afd (diff) |
Merge pull request #154 from PikalaxALT/dism_more_data
Field Door
Diffstat (limited to 'src/metatile_behavior.c')
-rw-r--r-- | src/metatile_behavior.c | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/src/metatile_behavior.c b/src/metatile_behavior.c index bca99d38f..8e07c1c97 100644 --- a/src/metatile_behavior.c +++ b/src/metatile_behavior.c @@ -16,6 +16,41 @@ static const bool8 sTileSurfable[METATILE_COUNT] = { [MB_SOUTHWARD_CURRENT] = TRUE }; +static const u8 sTileBitAttributes[] = { + 0x00, + 0x01, + 0x02, + 0x04, + 0x08, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00 +}; + bool8 MetatileBehavior_UnusedReturnTrue(u8 metatileBehavior) { return TRUE; @@ -736,7 +771,7 @@ bool8 MetatileBehavior_UnusedReturnFalse_13(u8 metatileBehavior) { return FALSE; bool8 sub_805A2BC(u8 arg1, u8 arg2) { - if(gUnknown_8353068[arg1] & arg2) + if(sTileBitAttributes[arg1] & arg2) return TRUE; else return FALSE; |