summaryrefslogtreecommitdiff
path: root/src/field_tasks.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/field_tasks.c')
-rwxr-xr-xsrc/field_tasks.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/field_tasks.c b/src/field_tasks.c
index 92b8d3bb8..cc87a201e 100755
--- a/src/field_tasks.c
+++ b/src/field_tasks.c
@@ -598,3 +598,20 @@ bool32 sub_8069D34(s16 x, s16 y)
}
return FALSE;
}
+
+void sub_8069D78(void)
+{
+ s32 x, y;
+ s32 width = gMapHeader.mapData->width;
+ s32 height = gMapHeader.mapData->height;
+ for (x=0; x<width; x++)
+ {
+ for (y=0; y<height; y++)
+ {
+ if (sub_8069D34(x, y) == TRUE)
+ {
+ MapGridSetMetatileIdAt(x + 7, y + 7, 0x20e);
+ }
+ }
+ }
+}