summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-06-27 21:37:54 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2017-06-27 21:37:54 -0400
commit7fe3e5af79fba97a5077ffd0590cf36cc6de4ee2 (patch)
tree636c026db0e5ff166902d826d58d2639b3f7e64c /src
parent5f3b6f124ff35593eeecc028234ae7d48589c768 (diff)
sub_810BD64
Diffstat (limited to 'src')
-rwxr-xr-xsrc/pokeblock.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/pokeblock.c b/src/pokeblock.c
index 111bf2160..ee2e5417b 100755
--- a/src/pokeblock.c
+++ b/src/pokeblock.c
@@ -474,3 +474,14 @@ void sub_810BD08(void)
gUnknown_02039248[1]--;
}
}
+
+void sub_810BD64(u16 a0)
+{
+ u8 i;
+ int y;
+ for (i=0; i<14; i++)
+ {
+ (gBGTilemapBuffers)[2][(2 * gUnknown_02039248[0] + 1) * 32 + (y = i + 15)] = a0;
+ (gBGTilemapBuffers)[2][(2 * gUnknown_02039248[0] + 2) * 32 + y] = a0;
+ }
+}