changed all missed ones to #if P_ENABLE_DEBUG == TRUE @LOuroboros

This commit is contained in:
TheXaman 2021-12-13 18:58:13 +01:00
parent d113d5efd9
commit a334f7f5e0
5 changed files with 6 additions and 6 deletions

View File

@ -35,7 +35,7 @@ static void CreateBattlerTrace(struct Task *task, u8 taskId);
EWRAM_DATA static union AffineAnimCmd *sAnimTaskAffineAnim = NULL; EWRAM_DATA static union AffineAnimCmd *sAnimTaskAffineAnim = NULL;
#if P_ENABLE_DEBUG #if P_ENABLE_DEBUG == TRUE
const struct UCoords8 sBattlerCoords[][MAX_BATTLERS_COUNT] = const struct UCoords8 sBattlerCoords[][MAX_BATTLERS_COUNT] =
#else #else
static const struct UCoords8 sBattlerCoords[][MAX_BATTLERS_COUNT] = static const struct UCoords8 sBattlerCoords[][MAX_BATTLERS_COUNT] =
@ -64,7 +64,7 @@ const struct MonCoords gCastformFrontSpriteCoords[NUM_CASTFORM_FORMS] =
[CASTFORM_ICE] = { .size = MON_COORDS_SIZE(64, 48), .y_offset = 8 }, [CASTFORM_ICE] = { .size = MON_COORDS_SIZE(64, 48), .y_offset = 8 },
}; };
#if P_ENABLE_DEBUG #if P_ENABLE_DEBUG == TRUE
const u8 sCastformElevations[NUM_CASTFORM_FORMS] = const u8 sCastformElevations[NUM_CASTFORM_FORMS] =
#else #else
static const u8 sCastformElevations[NUM_CASTFORM_FORMS] = static const u8 sCastformElevations[NUM_CASTFORM_FORMS] =

View File

@ -600,7 +600,7 @@ const struct WindowTemplate * const gBattleWindowTemplates[] =
[B_WIN_TYPE_ARENA] = gBattleArenaWindowTemplates, [B_WIN_TYPE_ARENA] = gBattleArenaWindowTemplates,
}; };
#if P_ENABLE_DEBUG #if P_ENABLE_DEBUG == TRUE
const struct BattleBackground sBattleTerrainTable[] = const struct BattleBackground sBattleTerrainTable[] =
#else #else
static const struct BattleBackground sBattleTerrainTable[] = static const struct BattleBackground sBattleTerrainTable[] =

View File

@ -77,7 +77,7 @@ static const struct CompressedSpriteSheet sSpriteSheets_HealthBar[MAX_BATTLERS_C
{gBlankGfxCompressed, 0x0120, TAG_HEALTHBAR_OPPONENT2_TILE} {gBlankGfxCompressed, 0x0120, TAG_HEALTHBAR_OPPONENT2_TILE}
}; };
#if P_ENABLE_DEBUG #if P_ENABLE_DEBUG == TRUE
const struct SpritePalette sSpritePalettes_HealthBoxHealthBar[2] = const struct SpritePalette sSpritePalettes_HealthBoxHealthBar[2] =
#else #else
static const struct SpritePalette sSpritePalettes_HealthBoxHealthBar[2] = static const struct SpritePalette sSpritePalettes_HealthBoxHealthBar[2] =

View File

@ -1856,7 +1856,7 @@ const s8 gNatureStatTable[NUM_NATURES][NUM_NATURE_STATS] =
#include "data/pokemon/form_change_table_pointers.h" #include "data/pokemon/form_change_table_pointers.h"
// SPECIES_NONE are ignored in the following two tables, so decrement before accessing these arrays to get the right result // SPECIES_NONE are ignored in the following two tables, so decrement before accessing these arrays to get the right result
#if P_ENABLE_DEBUG #if P_ENABLE_DEBUG == TRUE
const u8 sMonFrontAnimIdsTable[NUM_SPECIES - 1] = const u8 sMonFrontAnimIdsTable[NUM_SPECIES - 1] =
#else #else
static const u8 sMonFrontAnimIdsTable[NUM_SPECIES - 1] = static const u8 sMonFrontAnimIdsTable[NUM_SPECIES - 1] =

View File

@ -38,7 +38,7 @@
#include "constants/items.h" #include "constants/items.h"
#if P_ENABLE_DEBUG #if P_ENABLE_DEBUG == TRUE
extern const struct BattleBackground sBattleTerrainTable[]; extern const struct BattleBackground sBattleTerrainTable[];
extern const struct CompressedSpriteSheet gSpriteSheet_EnemyShadow; extern const struct CompressedSpriteSheet gSpriteSheet_EnemyShadow;
extern const struct SpriteTemplate gSpriteTemplate_EnemyShadow; extern const struct SpriteTemplate gSpriteTemplate_EnemyShadow;