Removed unused debug EWRAM variables (#6468)

Co-authored-by: Hedara <hedara90@gmail.com>
This commit is contained in:
hedara90 2025-03-24 14:58:57 +01:00 committed by GitHub
parent 08f11ca5c1
commit c82959dbe6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -237,9 +237,6 @@ static void PrintMadePokeblockString(struct Pokeblock *, u8 *);
static bool32 TryAddContestLinkTvShow(struct Pokeblock *, struct TvBlenderStruct *);
EWRAM_DATA static struct BerryBlender *sBerryBlender = NULL;
EWRAM_DATA static s32 sDebug_PokeblockFactorFlavors[FLAVOR_COUNT] = {0};
EWRAM_DATA static s32 sDebug_PokeblockFactorFlavorsAfterRPM[FLAVOR_COUNT] = {0};
EWRAM_DATA static u32 sDebug_PokeblockFactorRPM = 0;
static s16 sPokeblockFlavors[FLAVOR_COUNT + 1]; // + 1 for feel
static s16 sPokeblockPresentFlavors[FLAVOR_COUNT + 1];
@ -2434,11 +2431,7 @@ static void CalculatePokeblock(struct BlenderBerry *berries, struct Pokeblock *p
}
}
for (i = 0; i < FLAVOR_COUNT; i++)
sDebug_PokeblockFactorFlavors[i] = sPokeblockFlavors[i];
// Factor in max RPM and round
sDebug_PokeblockFactorRPM = multiuseVar = maxRPM / 333 + 100;
for (i = 0; i < FLAVOR_COUNT; i++)
{
s32 remainder;
@ -2451,9 +2444,6 @@ static void CalculatePokeblock(struct BlenderBerry *berries, struct Pokeblock *p
sPokeblockFlavors[i] = flavor;
}
for (i = 0; i < FLAVOR_COUNT; i++)
sDebug_PokeblockFactorFlavorsAfterRPM[i] = sPokeblockFlavors[i];
// Calculate color and feel of pokeblock
pokeblock->color = CalculatePokeblockColor(berries, &sPokeblockFlavors[0], numPlayers, numNegatives);
sPokeblockFlavors[FLAVOR_COUNT] = (sPokeblockFlavors[FLAVOR_COUNT] / numPlayers) - numPlayers;