From 315813d186733b2cf8784d9270e4300213b00757 Mon Sep 17 00:00:00 2001 From: LOuroboros Date: Wed, 16 Mar 2022 10:38:07 -0300 Subject: [PATCH] Update debug.c --- src/debug.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/debug.c b/src/debug.c index 255ac335fd..9fa7d73213 100644 --- a/src/debug.c +++ b/src/debug.c @@ -276,7 +276,11 @@ extern u8 Debug_ShowFieldMessageStringVar4[]; extern u8 Debug_CheatStart[]; extern u8 PlayersHouse_2F_EventScript_SetWallClock[]; extern u8 PlayersHouse_2F_EventScript_CheckWallClock[]; +#ifdef BATTLE_ENGINE +#define ABILITY_NAME_LENGTH 16 +#else #define ABILITY_NAME_LENGTH 12 +#endif extern const u8 gAbilityNames[][ABILITY_NAME_LENGTH + 1];