From febcb77f067c6a69290b216953887489a3259093 Mon Sep 17 00:00:00 2001 From: scnorton Date: Tue, 11 Jul 2017 10:14:35 -0400 Subject: Decompile secret base data --- include/battle.h | 0 include/decoration.h | 0 include/graphics.h | 0 include/menu.h | 0 include/menu_helpers.h | 0 include/pokeblock.h | 0 include/pokemon.h | 0 include/pokenav.h | 0 include/region_map.h | 0 include/secret_base.h | 2 +- include/strings.h | 0 include/use_pokeblock.h | 0 include/vars.h | 0 13 files changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 include/battle.h mode change 100755 => 100644 include/decoration.h mode change 100755 => 100644 include/graphics.h mode change 100755 => 100644 include/menu.h mode change 100755 => 100644 include/menu_helpers.h mode change 100755 => 100644 include/pokeblock.h mode change 100755 => 100644 include/pokemon.h mode change 100755 => 100644 include/pokenav.h mode change 100755 => 100644 include/region_map.h mode change 100755 => 100644 include/strings.h mode change 100755 => 100644 include/use_pokeblock.h mode change 100755 => 100644 include/vars.h (limited to 'include') diff --git a/include/battle.h b/include/battle.h old mode 100755 new mode 100644 diff --git a/include/decoration.h b/include/decoration.h old mode 100755 new mode 100644 diff --git a/include/graphics.h b/include/graphics.h old mode 100755 new mode 100644 diff --git a/include/menu.h b/include/menu.h old mode 100755 new mode 100644 diff --git a/include/menu_helpers.h b/include/menu_helpers.h old mode 100755 new mode 100644 diff --git a/include/pokeblock.h b/include/pokeblock.h old mode 100755 new mode 100644 diff --git a/include/pokemon.h b/include/pokemon.h old mode 100755 new mode 100644 diff --git a/include/pokenav.h b/include/pokenav.h old mode 100755 new mode 100644 diff --git a/include/region_map.h b/include/region_map.h old mode 100755 new mode 100644 diff --git a/include/secret_base.h b/include/secret_base.h index 3ea75ce27..6c9f2a632 100644 --- a/include/secret_base.h +++ b/include/secret_base.h @@ -5,7 +5,7 @@ void ResetSecretBases(void); void sub_80BB970(struct MapEvents *); u8 sub_80BBB24(void); void sub_80BBCCC(u8); -void sub_80BC038(); +void sub_80BC038(s16 *, struct MapEvents *); u8 sub_80BC050(); void sub_80BC300(); const u8 sub_80BCCA4(u8); diff --git a/include/strings.h b/include/strings.h old mode 100755 new mode 100644 diff --git a/include/use_pokeblock.h b/include/use_pokeblock.h old mode 100755 new mode 100644 diff --git a/include/vars.h b/include/vars.h old mode 100755 new mode 100644 -- cgit v1.2.3 From e9e2f4f5cf1ca2801d31453eeb6b7ea646f6d48d Mon Sep 17 00:00:00 2001 From: scnorton Date: Tue, 11 Jul 2017 11:18:31 -0400 Subject: Futile attempt to get sub_80BBDD0 matching --- include/vars.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/vars.h b/include/vars.h index e08f344d4..a144be80a 100644 --- a/include/vars.h +++ b/include/vars.h @@ -1,6 +1,8 @@ #ifndef GUARD_VARS_H #define GUARD_VARS_H +#define VAR_0x3F20 0x3F20 + #define VAR_0x4001 0x4001 #define VAR_0x4002 0x4002 #define VAR_0x4003 0x4003 -- cgit v1.2.3 From 071a1ff58d550078427310f695113d8d44938f31 Mon Sep 17 00:00:00 2001 From: scnorton Date: Thu, 20 Jul 2017 14:34:18 -0400 Subject: Task_SecretBasePC_Registry --- include/decoration.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/decoration.h b/include/decoration.h index 7a6d8ef5a..376eba7d7 100644 --- a/include/decoration.h +++ b/include/decoration.h @@ -301,6 +301,7 @@ extern void DisplayItemMessageOnField(u8, const u8 *, TaskFunc, u16); // src/men extern void BuyMenuFreeMemory(void); // src/menu_helpers extern void sub_8109DAC(u8); // src/trader extern void ReshowPlayerPC(u8); // src/player_pc +void Task_SecretBasePC_Decoration(u8); void sub_80FE2B4(void); void Task_DecorationPCProcessMenuInput(u8); -- cgit v1.2.3 From 82d3ffe0d2bf1a1a4d9f97fccbcd381f85e753aa Mon Sep 17 00:00:00 2001 From: scnorton Date: Thu, 20 Jul 2017 17:07:03 -0400 Subject: sub_80BC980 --- include/menu_helpers.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/menu_helpers.h b/include/menu_helpers.h index 1df5053e7..761932bda 100644 --- a/include/menu_helpers.h +++ b/include/menu_helpers.h @@ -26,5 +26,6 @@ void sub_80F996C(u8); void LoadScrollIndicatorPalette(void); void sub_80F98A4(u8); void StartVerticalScrollIndicators(u8); +void PauseVerticalScrollIndicator(u8); #endif // GUARD_MENU_HELPERS_H -- cgit v1.2.3 From 65efebf2d8cb0e727e7c6e179f5cdb281ec9482b Mon Sep 17 00:00:00 2001 From: scnorton Date: Thu, 20 Jul 2017 17:55:32 -0400 Subject: sub_80BCCA4 --- include/global.h | 2 +- include/secret_base.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/global.h b/include/global.h index 0f5bcde6d..0511bb99d 100644 --- a/include/global.h +++ b/include/global.h @@ -140,7 +140,7 @@ struct SecretBaseRecord /*0x1A09*/ u8 sbr_field_1_5:1; /*0x1A09*/ u8 sbr_field_1_6:2; /*0x1A0A*/ u8 sbr_field_2[7]; // 0xFF bytes? - /*0x1A12*/ u8 trainerId[4]; // byte 0 is used for determining trainer class + /*0x1A11*/ u8 trainerId[4]; // byte 0 is used for determining trainer class /*0x1A16*/ u16 sbr_field_e; /*0x1A18*/ u8 sbr_field_10; /*0x1A19*/ u8 sbr_field_11; diff --git a/include/secret_base.h b/include/secret_base.h index 6c9f2a632..4b02cf0d2 100644 --- a/include/secret_base.h +++ b/include/secret_base.h @@ -8,7 +8,6 @@ void sub_80BBCCC(u8); void sub_80BC038(s16 *, struct MapEvents *); u8 sub_80BC050(); void sub_80BC300(); -const u8 sub_80BCCA4(u8); u8 *sub_80BCCE8(void); void sub_80BCF1C(u8); void sub_80BD674(void *, u32, u8); -- cgit v1.2.3 From 96ebc5d46287e33df7bda74a6fb340281cdaa4c5 Mon Sep 17 00:00:00 2001 From: scnorton Date: Thu, 20 Jul 2017 18:03:49 -0400 Subject: sub_80BCCE8 --- include/secret_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/secret_base.h b/include/secret_base.h index 4b02cf0d2..7dd279c7f 100644 --- a/include/secret_base.h +++ b/include/secret_base.h @@ -8,7 +8,7 @@ void sub_80BBCCC(u8); void sub_80BC038(s16 *, struct MapEvents *); u8 sub_80BC050(); void sub_80BC300(); -u8 *sub_80BCCE8(void); +const u8 *sub_80BCCE8(void); void sub_80BCF1C(u8); void sub_80BD674(void *, u32, u8); -- cgit v1.2.3