From bafa4fc939e9e49e0575059593a8706bb8d0de7b Mon Sep 17 00:00:00 2001 From: Xzonn Date: Sat, 12 Oct 2024 10:37:18 +0800 Subject: [PATCH] Fix code --- .../overlay_0074/{22365B4/22365B4.c => 22365B0/22365B0.c} | 4 ++++ asm/HGSS/overlay_0074/22365B0/22365B0.s | 7 ------- 2 files changed, 4 insertions(+), 7 deletions(-) rename asm/HGSS/overlay_0074/{22365B4/22365B4.c => 22365B0/22365B0.c} (96%) delete mode 100644 asm/HGSS/overlay_0074/22365B0/22365B0.s diff --git a/asm/HGSS/overlay_0074/22365B4/22365B4.c b/asm/HGSS/overlay_0074/22365B0/22365B0.c similarity index 96% rename from asm/HGSS/overlay_0074/22365B4/22365B4.c rename to asm/HGSS/overlay_0074/22365B0/22365B0.c index 5b4ebdbe..3c3df170 100644 --- a/asm/HGSS/overlay_0074/22365B4/22365B4.c +++ b/asm/HGSS/overlay_0074/22365B0/22365B0.c @@ -14,6 +14,10 @@ extern u16 conversion_table[][2]; extern u16 conversion_table_chinese[0x1E5E]; extern u16 conversion_table_quote[][8]; +#ifdef SOULSILVER +__asm(".word 0x1B5"); +#endif + bool ConvertRSStringToDPStringInternational(const u8 *rs_str, u16 *dp_str, u32 length, u32 language) { bool notFullWidth; diff --git a/asm/HGSS/overlay_0074/22365B0/22365B0.s b/asm/HGSS/overlay_0074/22365B0/22365B0.s deleted file mode 100644 index 515c17d0..00000000 --- a/asm/HGSS/overlay_0074/22365B0/22365B0.s +++ /dev/null @@ -1,7 +0,0 @@ -.thumb - -arepl_22365B0: - #ifdef HEARTGOLD - NOP - NOP - #endif