summaryrefslogtreecommitdiff
path: root/src/field_tasks.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/field_tasks.c')
-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;
+}