From d795256142cdb9e4713823231c4a8eb8f68ce28f Mon Sep 17 00:00:00 2001 From: AgustinGDLV Date: Sat, 3 Jun 2023 11:56:01 -0700 Subject: [PATCH] remove debug --- include/config.h | 2 +- test/test_runner_battle.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/include/config.h b/include/config.h index 9412c8f426..2ad84f29cd 100644 --- a/include/config.h +++ b/include/config.h @@ -6,7 +6,7 @@ // still has them in the ROM. This is because the developers forgot // to define NDEBUG before release, however this has been changed as // Ruby's actual debug build does not use the AGBPrint features. -// #define NDEBUG +#define NDEBUG // To enable printf debugging, comment out "#define NDEBUG". This allows // the various AGBPrint functions to be used. (See include/gba/isagbprint.h). diff --git a/test/test_runner_battle.c b/test/test_runner_battle.c index 8358536248..a30c1e960a 100644 --- a/test/test_runner_battle.c +++ b/test/test_runner_battle.c @@ -1090,14 +1090,11 @@ void Ability_(u32 sourceLine, u32 ability) break; } } - // Store forced ability to be set when the battle starts if invalid. if (i == NUM_ABILITY_SLOTS) { DATA.forcedAbilities[DATA.currentSide][DATA.currentPartyIndex] = ability; } - - // INVALID_IF(i == NUM_ABILITY_SLOTS, "%S cannot have %S", gSpeciesNames[species], gAbilityNames[ability]); } void Level_(u32 sourceLine, u32 level)