summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-06-26 21:53:54 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2017-06-26 21:53:54 -0400
commite8acc9564ef11ca8f7d20b1ed1fbd34e6850e2a3 (patch)
tree0323d7359371ce8e5d041ba4b4aeda5292769fa2 /src
parent9cc199f064aa2f5a8e188dfe805a511c2c92c4fa (diff)
sub_8069D78
Diffstat (limited to 'src')
-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);
+ }
+ }
+ }
+}