remove debug

This commit is contained in:
AgustinGDLV 2023-06-03 11:56:01 -07:00
parent 53fa7e524c
commit d795256142
2 changed files with 1 additions and 4 deletions

View File

@ -6,7 +6,7 @@
// still has them in the ROM. This is because the developers forgot // still has them in the ROM. This is because the developers forgot
// to define NDEBUG before release, however this has been changed as // to define NDEBUG before release, however this has been changed as
// Ruby's actual debug build does not use the AGBPrint features. // 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 // To enable printf debugging, comment out "#define NDEBUG". This allows
// the various AGBPrint functions to be used. (See include/gba/isagbprint.h). // the various AGBPrint functions to be used. (See include/gba/isagbprint.h).

View File

@ -1090,14 +1090,11 @@ void Ability_(u32 sourceLine, u32 ability)
break; break;
} }
} }
// Store forced ability to be set when the battle starts if invalid. // Store forced ability to be set when the battle starts if invalid.
if (i == NUM_ABILITY_SLOTS) if (i == NUM_ABILITY_SLOTS)
{ {
DATA.forcedAbilities[DATA.currentSide][DATA.currentPartyIndex] = ability; 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) void Level_(u32 sourceLine, u32 level)