summaryrefslogtreecommitdiff
path: root/src/battle_main.c
diff options
context:
space:
mode:
authoreasyaspi314 (Devin) <easyaspi314@users.noreply.github.com>2019-08-24 16:35:52 -0400
committereasyaspi314 (Devin) <easyaspi314@users.noreply.github.com>2019-08-24 16:35:52 -0400
commit265fd20253e34adfc7ca1e9ff3c08a70224d98f6 (patch)
treecdef172bcc1e809bda616010b9ab685a00778b61 /src/battle_main.c
parent2c42658d8713bf75a01e39bcc72ae76295033e24 (diff)
Rename old_charmap and move from graphics-de/unused to graphics/debug.
The debug battle text is in English on German ROMs and Japanese on English ROMs. Additionally, old_charmap.bin held the actual text. Weird. I also choose the English when DEBUG_TRANSLATE is on.
Diffstat (limited to 'src/battle_main.c')
-rw-r--r--src/battle_main.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/battle_main.c b/src/battle_main.c
index 9a9f954aa..c0147d11d 100644
--- a/src/battle_main.c
+++ b/src/battle_main.c
@@ -1402,9 +1402,9 @@ extern const u16 gUnknown_Debug_821F424[][5];
extern const u16 gUnknown_Debug_821F56C[][5];
extern const u32 gUnknown_Debug_821F798[][4];
-extern const u8 gUnusedOldCharmap_Gfx_lz[];
-extern const u8 gUnusedOldCharmap_Tilemap_lz[];
-extern const u8 gUnusedOldCharmap_Pal_lz[];
+extern const u8 gDebugBattleCharmap_Gfx_lz[];
+extern const u8 gDebugBattleCharmap_Tilemap_lz[];
+extern const u8 gDebugBattleCharmap_Pal_lz[];
void debug_sub_8010800(void)
{
@@ -1457,10 +1457,10 @@ void debug_sub_80108B8(void)
REG_BG1CNT = 0x4801;
REG_BLDCNT = 0;
REG_BLDY = 0;
- LZDecompressVram(gUnusedOldCharmap_Gfx_lz, (void *)VRAM);
- LZDecompressWram(gUnusedOldCharmap_Tilemap_lz, gSharedMem);
- LZDecompressVram(gUnusedOldCharmap_Pal_lz, (void *)PLTT);
- LZDecompressVram(gUnusedOldCharmap_Pal_lz, (void *)(PLTT + 0x1E0));
+ LZDecompressVram(gDebugBattleCharmap_Gfx_lz, (void *)VRAM);
+ LZDecompressWram(gDebugBattleCharmap_Tilemap_lz, gSharedMem);
+ LZDecompressVram(gDebugBattleCharmap_Pal_lz, (void *)PLTT);
+ LZDecompressVram(gDebugBattleCharmap_Pal_lz, (void *)(PLTT + 0x1E0));
m4aSoundVSyncOn();
SetVBlankCallback(debug_sub_8011D40);
SetMainCallback2(debug_sub_8010CAC);