From 20b8fa77bcd1875640cb2bb61375bcf0a0bdd45f Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Wed, 18 Aug 2021 08:18:54 -0400 Subject: unk_02015D14 --- include/unk_02015D14.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 include/unk_02015D14.h (limited to 'include') diff --git a/include/unk_02015D14.h b/include/unk_02015D14.h new file mode 100644 index 00000000..c20cd9c9 --- /dev/null +++ b/include/unk_02015D14.h @@ -0,0 +1,6 @@ +#ifndef POKEDIAMOND_UNK_02015D14_H +#define POKEDIAMOND_UNK_02015D14_H + +BOOL FUN_02015D88(const u8 * a, u16 * b, u32 c, u32 d); + +#endif //POKEDIAMOND_UNK_02015D14_H -- cgit v1.2.3 From ed84d6a9a3bfc2c092e22b8e941cac775dc14127 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Wed, 18 Aug 2021 08:44:22 -0400 Subject: Rename unk_0201D514 --> rs_migrate_string; document --- include/rs_migrate_string.h | 26 ++++++++++++++++++++++++++ include/unk_02015D14.h | 6 ------ 2 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 include/rs_migrate_string.h delete mode 100644 include/unk_02015D14.h (limited to 'include') diff --git a/include/rs_migrate_string.h b/include/rs_migrate_string.h new file mode 100644 index 00000000..b83807f5 --- /dev/null +++ b/include/rs_migrate_string.h @@ -0,0 +1,26 @@ +#ifndef POKEDIAMOND_UNK_02015D14_H +#define POKEDIAMOND_UNK_02015D14_H + +// -------------------------------------------- +// ConvertRSStringToDPStringInternational +// ============================================ +// Param rs_str: Pointer to u8 representing +// the name of a Pokemon or +// its OT when migrating from +// Advanced Gameboy. +// Param dp_str: Pointer to u16 representing +// the destination string buffer +// for migration to Diamond +// or Pearl. +// Param length: The length of the string +// to convert, including the +// terminator byte. +// Param language: Game language of origin. +// See include/config.h. +// Return: TRUE if the conversion was completed +// successfully. Otherwise, dp_str will +// be filled with up to 10 question mark +// characters. +BOOL ConvertRSStringToDPStringInternational(const u8 * rs_str, u16 * dp_str, u32 length, u32 language); + +#endif //POKEDIAMOND_UNK_02015D14_H diff --git a/include/unk_02015D14.h b/include/unk_02015D14.h deleted file mode 100644 index c20cd9c9..00000000 --- a/include/unk_02015D14.h +++ /dev/null @@ -1,6 +0,0 @@ -#ifndef POKEDIAMOND_UNK_02015D14_H -#define POKEDIAMOND_UNK_02015D14_H - -BOOL FUN_02015D88(const u8 * a, u16 * b, u32 c, u32 d); - -#endif //POKEDIAMOND_UNK_02015D14_H -- cgit v1.2.3