mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 11:37:40 +01:00
changed all missed ones to #if P_ENABLE_DEBUG == TRUE
@LOuroboros
This commit is contained in:
parent
d113d5efd9
commit
a334f7f5e0
@ -35,7 +35,7 @@ static void CreateBattlerTrace(struct Task *task, u8 taskId);
|
||||
|
||||
EWRAM_DATA static union AffineAnimCmd *sAnimTaskAffineAnim = NULL;
|
||||
|
||||
#if P_ENABLE_DEBUG
|
||||
#if P_ENABLE_DEBUG == TRUE
|
||||
const struct UCoords8 sBattlerCoords[][MAX_BATTLERS_COUNT] =
|
||||
#else
|
||||
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 },
|
||||
};
|
||||
|
||||
#if P_ENABLE_DEBUG
|
||||
#if P_ENABLE_DEBUG == TRUE
|
||||
const u8 sCastformElevations[NUM_CASTFORM_FORMS] =
|
||||
#else
|
||||
static const u8 sCastformElevations[NUM_CASTFORM_FORMS] =
|
||||
|
@ -600,7 +600,7 @@ const struct WindowTemplate * const gBattleWindowTemplates[] =
|
||||
[B_WIN_TYPE_ARENA] = gBattleArenaWindowTemplates,
|
||||
};
|
||||
|
||||
#if P_ENABLE_DEBUG
|
||||
#if P_ENABLE_DEBUG == TRUE
|
||||
const struct BattleBackground sBattleTerrainTable[] =
|
||||
#else
|
||||
static const struct BattleBackground sBattleTerrainTable[] =
|
||||
|
@ -77,7 +77,7 @@ static const struct CompressedSpriteSheet sSpriteSheets_HealthBar[MAX_BATTLERS_C
|
||||
{gBlankGfxCompressed, 0x0120, TAG_HEALTHBAR_OPPONENT2_TILE}
|
||||
};
|
||||
|
||||
#if P_ENABLE_DEBUG
|
||||
#if P_ENABLE_DEBUG == TRUE
|
||||
const struct SpritePalette sSpritePalettes_HealthBoxHealthBar[2] =
|
||||
#else
|
||||
static const struct SpritePalette sSpritePalettes_HealthBoxHealthBar[2] =
|
||||
|
@ -1856,7 +1856,7 @@ const s8 gNatureStatTable[NUM_NATURES][NUM_NATURE_STATS] =
|
||||
#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
|
||||
#if P_ENABLE_DEBUG
|
||||
#if P_ENABLE_DEBUG == TRUE
|
||||
const u8 sMonFrontAnimIdsTable[NUM_SPECIES - 1] =
|
||||
#else
|
||||
static const u8 sMonFrontAnimIdsTable[NUM_SPECIES - 1] =
|
||||
|
@ -38,7 +38,7 @@
|
||||
|
||||
#include "constants/items.h"
|
||||
|
||||
#if P_ENABLE_DEBUG
|
||||
#if P_ENABLE_DEBUG == TRUE
|
||||
extern const struct BattleBackground sBattleTerrainTable[];
|
||||
extern const struct CompressedSpriteSheet gSpriteSheet_EnemyShadow;
|
||||
extern const struct SpriteTemplate gSpriteTemplate_EnemyShadow;
|
||||
|
Loading…
Reference in New Issue
Block a user