diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2019-08-06 12:49:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-06 12:49:03 -0400 |
commit | 1bda9ef2f6eacc521ecdbbcae005dab6a91a67c6 (patch) | |
tree | 486fffbf2cc159111b434bde03fafc2fea658166 /src/pokenav_unk_8.c | |
parent | 195137b001d7e985d18c40b26f160de08dccb5fa (diff) | |
parent | 37d23230facf9f73c5499504083db087333a7f93 (diff) |
Merge pull request #769 from PikalaxALT/pokenav_unk_9
Pokenav unk 9
Diffstat (limited to 'src/pokenav_unk_8.c')
-rw-r--r-- | src/pokenav_unk_8.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pokenav_unk_8.c b/src/pokenav_unk_8.c index a758c59f5..c52932a79 100644 --- a/src/pokenav_unk_8.c +++ b/src/pokenav_unk_8.c @@ -29,7 +29,7 @@ struct PokenavSub8 u32 ltid; u16 winid; bool32 unkC; - u16 buff[0x400]; + u8 buff[BG_SCREEN_SIZE]; }; // size: 0x810 static u32 sub_81CF010(struct PokenavSub7 *structPtr); @@ -117,7 +117,7 @@ static const u8 gUnknown_086235BC[] = _("{COLOR_HIGHLIGHT_SHADOW}{LIGHT_RED}{WHI static const u8 gUnknown_086235C8[] = _("{COLOR_HIGHLIGHT_SHADOW}{LIGHT_GREEN}{WHITE}{BLUE}♀{COLOR_HIGHLIGHT_SHADOW}{DARK_GREY}{WHITE}{LIGHT_GREY}"); static const u8 gUnknown_086235D4[] = _("{UNK_SPACER}"); -bool32 sub_81CEF3C(void) +bool32 PokenavCallback_Init_8(void) { struct PokenavSub7 *structPtr = AllocSubstruct(7, sizeof(struct PokenavSub7)); if (structPtr == NULL) @@ -134,7 +134,7 @@ bool32 sub_81CEF3C(void) return TRUE; } -bool32 sub_81CEF98(void) +bool32 PokenavCallback_Init_10(void) { struct PokenavSub7 *structPtr = AllocSubstruct(7, sizeof(struct PokenavSub7)); if (structPtr == NULL) @@ -197,12 +197,12 @@ static u32 sub_81CF030(struct PokenavSub7 *structPtr) static u32 sub_81CF0B0(struct PokenavSub7 *structPtr) { - return 0x186A3; + return 100003; } static u32 sub_81CF0B8(struct PokenavSub7 *structPtr) { - return 0x186A9; + return 100009; } static u32 sub_81CF0C0(void) @@ -387,7 +387,7 @@ bool32 sub_81CF3D0(void) return unk->callback(); } -static bool32 sub_81CF3E4(void) +bool32 sub_81CF3E4(void) { struct PokenavSub8 * unk = GetSubstructPtr(8); return IsLoopedTaskActive(unk->ltid); |