summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-06-26 20:42:50 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2017-06-26 20:42:50 -0400
commit10f782959283e43cea5219033772778dbaf4a745 (patch)
tree92c874121c1b549ae94df0154f74059e80ce48e5 /src
parentc739404ef0f50f87f580d8454ae9c32325ce83e4 (diff)
sub_8069CB8
Diffstat (limited to 'src')
-rwxr-xr-xsrc/field_tasks.c38
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;
+}