Identify unk_020021B0 -> charcode_util

This commit is contained in:
Rachel 2024-10-25 08:44:20 -07:00
parent b4d8ed0924
commit 7f48f7faf3
25 changed files with 27 additions and 27 deletions

View File

@ -1,5 +1,5 @@
#ifndef POKEPLATINUM_UNK_020021B0_H
#define POKEPLATINUM_UNK_020021B0_H
#ifndef POKEPLATINUM_CHARCODE_UTIL_H
#define POKEPLATINUM_CHARCODE_UTIL_H
u16 *GF_strcpy(u16 *param0, const u16 *param1);
u16 *sub_020021D0(u16 *param0, const u16 *param1, u32 param2);
@ -10,4 +10,4 @@ u16 *sub_02002278(u16 *param0, u16 param1, u32 param2);
u16 *sub_02002294(u16 *param0, u32 param1);
u16 *sub_020022A4(u16 *param0, s32 param1, u32 param2, u32 param3);
#endif // POKEPLATINUM_UNK_020021B0_H
#endif // POKEPLATINUM_CHARCODE_UTIL_H

View File

@ -19,7 +19,7 @@ Static main
Object main.nef.p/src_unk_0200112C.c.o
Object main.nef.p/src_game_version.c.o
Object main.nef.p/src_unk_02001AF4.c.o
Object main.nef.p/src_unk_020021B0.c.o
Object main.nef.p/src_charcode_util.c.o
Object main.nef.p/src_render_text.c.o
Object main.nef.p/src_font.c.o
Object main.nef.p/src_palette.c.o

View File

@ -31,6 +31,7 @@
#include "battle/scripts/sub_seq.naix"
#include "battle/struct_ov16_0225BFFC_decl.h"
#include "charcode_util.h"
#include "flags.h"
#include "heap.h"
#include "item.h"
@ -43,7 +44,6 @@
#include "strbuf.h"
#include "trainer_data.h"
#include "trainer_info.h"
#include "unk_020021B0.h"
#include "unk_020366A0.h"
#include "unk_0208C098.h"

View File

@ -1,4 +1,4 @@
#include "unk_020021B0.h"
#include "charcode_util.h"
#include <nitro.h>
#include <string.h>

View File

@ -17,7 +17,7 @@ pokeplatinum_c = files(
'strbuf.c',
'unk_0200112C.c',
'unk_02001AF4.c',
'unk_020021B0.c',
'charcode_util.c',
'render_text.c',
'font.c',
'palette.c',

View File

@ -12,10 +12,10 @@
#include "overlay006/struct_ov6_022465F4_decl.h"
#include "savedata/save_table.h"
#include "charcode_util.h"
#include "heap.h"
#include "save_player.h"
#include "trainer_info.h"
#include "unk_020021B0.h"
#include "unk_0202E2CC.h"
struct UnkStruct_ov6_022465F4_t {

View File

@ -9,12 +9,12 @@
#include "savedata/save_table.h"
#include "charcode_util.h"
#include "communication_information.h"
#include "heap.h"
#include "save_player.h"
#include "savedata.h"
#include "trainer_info.h"
#include "unk_020021B0.h"
__attribute__((aligned(4))) static const u8 Unk_ov59_021D33B0[] = {
0x2,

View File

@ -25,6 +25,7 @@
#include "bag.h"
#include "bg_window.h"
#include "cell_actor.h"
#include "charcode_util.h"
#include "communication_information.h"
#include "communication_system.h"
#include "core_sys.h"
@ -55,7 +56,6 @@
#include "trainer_info.h"
#include "unk_0200112C.h"
#include "unk_02001AF4.h"
#include "unk_020021B0.h"
#include "unk_020041CC.h"
#include "unk_02005474.h"
#include "unk_02006224.h"

View File

@ -25,6 +25,7 @@
#include "overlay094/struct_ov94_02242AAC.h"
#include "bg_window.h"
#include "charcode_util.h"
#include "core_sys.h"
#include "font.h"
#include "game_options.h"
@ -40,7 +41,6 @@
#include "trainer_info.h"
#include "unk_0200112C.h"
#include "unk_02001AF4.h"
#include "unk_020021B0.h"
#include "unk_02005474.h"
#include "unk_0200DA60.h"
#include "unk_0200F174.h"

View File

@ -15,6 +15,7 @@
#include "overlay104/struct_ov104_0223A348_sub2.h"
#include "cell_actor.h"
#include "charcode_util.h"
#include "communication_information.h"
#include "communication_system.h"
#include "flags.h"
@ -29,7 +30,6 @@
#include "strbuf.h"
#include "string_template.h"
#include "trainer_info.h"
#include "unk_020021B0.h"
#include "unk_0201D15C.h"
#include "unk_0202C858.h"
#include "unk_02038F8C.h"

View File

@ -33,6 +33,7 @@
#include "overlay005/struct_ov5_021DE5D0.h"
#include "cell_actor.h"
#include "charcode_util.h"
#include "flags.h"
#include "heap.h"
#include "inlines.h"
@ -48,7 +49,6 @@
#include "strbuf.h"
#include "trainer_data.h"
#include "trainer_info.h"
#include "unk_020021B0.h"
#include "unk_02005474.h"
#include "unk_02006224.h"
#include "unk_0200C6E4.h"

View File

@ -10,6 +10,7 @@
#include "data/trainer_class_genders.h"
#include "overlay006/battle_params.h"
#include "charcode_util.h"
#include "heap.h"
#include "message.h"
#include "narc.h"
@ -19,7 +20,6 @@
#include "savedata_misc.h"
#include "strbuf.h"
#include "trainer_data.h"
#include "unk_020021B0.h"
#include "unk_0201D15C.h"
static void TrainerData_BuildParty(BattleParams *battleParams, int battler, int heapID);

View File

@ -5,9 +5,9 @@
#include "constants/charcode.h"
#include "charcode_util.h"
#include "heap.h"
#include "strbuf.h"
#include "unk_020021B0.h"
#define MONEY_MAX 999999

View File

@ -4,9 +4,9 @@
#include <string.h>
#include "bg_window.h"
#include "charcode_util.h"
#include "graphics.h"
#include "heap.h"
#include "unk_020021B0.h"
typedef struct UnkStruct_0200C440_t {
void *unk_00;

View File

@ -5,9 +5,9 @@
#include "struct_defs/struct_02027F8C.h"
#include "charcode_util.h"
#include "heap.h"
#include "savedata.h"
#include "unk_020021B0.h"
int PalPad_SaveSize(void)
{

View File

@ -9,6 +9,7 @@
#include "struct_defs/struct_02028430.h"
#include "struct_defs/union_02028328.h"
#include "charcode_util.h"
#include "heap.h"
#include "party.h"
#include "pokemon.h"
@ -16,7 +17,6 @@
#include "save_player.h"
#include "savedata.h"
#include "trainer_info.h"
#include "unk_020021B0.h"
#include "unk_02014A84.h"
static int sub_020284E8(UnkStruct_0202818C *param0, int param1);

View File

@ -6,9 +6,9 @@
#include "struct_defs/struct_0202B4A0.h"
#include "struct_defs/struct_0202B510.h"
#include "charcode_util.h"
#include "savedata.h"
#include "strbuf.h"
#include "unk_020021B0.h"
#include "unk_0201D15C.h"
UnkStruct_0202B4A0 *Unk_021C079C;

View File

@ -12,13 +12,13 @@
#include "struct_defs/struct_0202EA80.h"
#include "struct_defs/struct_0202EE10.h"
#include "charcode_util.h"
#include "game_records.h"
#include "heap.h"
#include "save_player.h"
#include "savedata.h"
#include "strbuf.h"
#include "trainer_info.h"
#include "unk_020021B0.h"
#include "unk_0202B37C.h"
#include "unk_0203061C.h"

View File

@ -9,6 +9,7 @@
#include "struct_defs/struct_0202F298_sub1.h"
#include "struct_defs/struct_02030A80.h"
#include "charcode_util.h"
#include "heap.h"
#include "pokemon.h"
#include "save_player.h"
@ -16,7 +17,6 @@
#include "savedata_misc.h"
#include "strbuf.h"
#include "trainer_info.h"
#include "unk_020021B0.h"
#include "unk_02014A84.h"
#include "unk_02014D38.h"
#include "unk_02025CB0.h"

View File

@ -8,10 +8,10 @@
#include "overlay096/struct_ov96_0223B574.h"
#include "charcode_util.h"
#include "save_player.h"
#include "savedata.h"
#include "trainer_info.h"
#include "unk_020021B0.h"
#include "unk_0201D15C.h"
#include "unk_0202C858.h"

View File

@ -22,6 +22,7 @@
#include "savedata/save_table.h"
#include "bag.h"
#include "charcode_util.h"
#include "communication_system.h"
#include "core_sys.h"
#include "field_overworld_state.h"
@ -40,7 +41,6 @@
#include "savedata.h"
#include "strbuf.h"
#include "trainer_info.h"
#include "unk_020021B0.h"
#include "unk_02025CB0.h"
#include "unk_0202602C.h"
#include "unk_0202631C.h"

View File

@ -34,6 +34,7 @@
#include "savedata/save_table.h"
#include "bag.h"
#include "charcode_util.h"
#include "field_system.h"
#include "heap.h"
#include "inlines.h"
@ -48,7 +49,6 @@
#include "strbuf.h"
#include "string_template.h"
#include "trainer_info.h"
#include "unk_020021B0.h"
#include "unk_0201D15C.h"
#include "unk_0202631C.h"
#include "unk_02027B70.h"

View File

@ -14,6 +14,7 @@
#include "field/field_system.h"
#include "charcode_util.h"
#include "field_system.h"
#include "game_records.h"
#include "heap.h"
@ -21,7 +22,6 @@
#include "save_player.h"
#include "savedata.h"
#include "trainer_info.h"
#include "unk_020021B0.h"
#include "unk_0202631C.h"
#include "unk_0202854C.h"
#include "unk_0202C7FC.h"

View File

@ -19,13 +19,13 @@
#include "battle/battle_io.h"
#include "battle/ov16_0223DF00.h"
#include "charcode_util.h"
#include "communication_system.h"
#include "heap.h"
#include "party.h"
#include "sys_task.h"
#include "sys_task_manager.h"
#include "trainer_info.h"
#include "unk_020021B0.h"
#include "unk_02027F84.h"
#include "unk_0202CC64.h"
#include "unk_0202F1D4.h"

View File

@ -12,6 +12,7 @@
#include "bg_window.h"
#include "cell_actor.h"
#include "charcode_util.h"
#include "core_sys.h"
#include "font.h"
#include "game_options.h"
@ -29,7 +30,6 @@
#include "string_template.h"
#include "sys_task_manager.h"
#include "text.h"
#include "unk_020021B0.h"
#include "unk_020041CC.h"
#include "unk_02005474.h"
#include "unk_0200679C.h"