summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-10-31 22:37:28 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2017-10-31 22:37:28 -0400
commit01c4b3bd35b914aa2da547d1c92cafb7849a75cb (patch)
tree31507d60bcf94ddb51580cfaa55931f234e9aee2 /src
parentf61822535bb2e1cf060d9c3e0a472f5a01b23681 (diff)
through sub_81248F4
Diffstat (limited to 'src')
-rw-r--r--src/region_map.c24
1 files changed, 23 insertions, 1 deletions
diff --git a/src/region_map.c b/src/region_map.c
index 14bf9a6b0..15de369b9 100644
--- a/src/region_map.c
+++ b/src/region_map.c
@@ -41,7 +41,8 @@ struct RegionMapLocation
EWRAM_DATA struct RegionMap *gRegionMap = NULL;
EWRAM_DATA struct {
- /*0x000*/ u8 filler_000[0x6];
+ /*0x000*/ void (*unk_000)(void);
+ /*0x004*/ u16 unk_004;
/*0x006*/ u16 mapSecId;
/*0x008*/ struct RegionMap regionMap;
/*0x88c*/ u8 filler_88c[0x1c0];
@@ -1373,3 +1374,24 @@ void MCB2_FlyMap(void)
break;
}
}
+
+void sub_81248C0(void)
+{
+ LoadOam();
+ ProcessSpriteCopyRequests();
+ TransferPlttBuffer();
+}
+
+void sub_81248D4(void)
+{
+ gUnknown_0203A148->unk_000();
+ AnimateSprites();
+ BuildOamBuffer();
+ do_scheduled_bg_tilemap_copies_to_vram();
+}
+
+void sub_81248F4(void callback(void))
+{
+ gUnknown_0203A148->unk_000 = callback;
+ gUnknown_0203A148->unk_004 = 0;
+}