diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2017-06-26 20:42:50 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2017-06-26 20:42:50 -0400 |
commit | 10f782959283e43cea5219033772778dbaf4a745 (patch) | |
tree | 92c874121c1b549ae94df0154f74059e80ce48e5 /src | |
parent | c739404ef0f50f87f580d8454ae9c32325ce83e4 (diff) |
sub_8069CB8
Diffstat (limited to 'src')
-rwxr-xr-x | src/field_tasks.c | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/field_tasks.c b/src/field_tasks.c index 5ccd3fa14..88dd025cc 100755 --- a/src/field_tasks.c +++ b/src/field_tasks.c @@ -535,3 +535,41 @@ void PerStepCallback_8069AA0(u8 taskId) break; } } + +const u16 gUnknown_083763E4[] = { + 0, + 0, + 0, + 0, + 0, + 0, + 0x4001, + 0x4002, + 0x4003, + 0x4004, + 0, + 0, + 0x4005, + 0x4006, + 0x4007, + 0, + 0, + 0x4008, + 0x4009, + 0x400A, + 0, + 0, + 0, + 0, + 0, + 0 +}; + +bool8 sub_8069CB8(s16 x, s16 y) +{ + if ((u16)(x - 3) < 11 && (u16)(y - 6) < 14 && gUnknown_083763E4[y]) + { + return TRUE; + } + return FALSE; +} |