Cleaned trailing whitespace
This commit is contained in:
@@ -2058,7 +2058,7 @@ static void SecretBaseVisit_CalculatePartyData(TVShow *show)
|
||||
{
|
||||
sTV_SecretBaseVisitMonsTemp[numPokemon].level = GetMonData(&gPlayerParty[i], MON_DATA_LEVEL);
|
||||
sTV_SecretBaseVisitMonsTemp[numPokemon].species = GetMonData(&gPlayerParty[i], MON_DATA_SPECIES);
|
||||
|
||||
|
||||
// Check all the Pokémon's moves, then randomly select one to save
|
||||
numMoves = 0;
|
||||
move = GetMonData(&gPlayerParty[i], MON_DATA_MOVE1);
|
||||
@@ -2093,7 +2093,7 @@ static void SecretBaseVisit_CalculatePartyData(TVShow *show)
|
||||
for (i = 0, sum = 0; i < numPokemon; i++)
|
||||
sum += sTV_SecretBaseVisitMonsTemp[i].level;
|
||||
|
||||
// Using the data calculated above, save the data to talk about on the show
|
||||
// Using the data calculated above, save the data to talk about on the show
|
||||
// (average level, and one randomly selected species / move)
|
||||
show->secretBaseVisit.avgLevel = sum / numPokemon;
|
||||
j = Random() % numPokemon;
|
||||
@@ -2643,7 +2643,7 @@ void DoPokeNews(void)
|
||||
// News event is upcoming, make comment about countdown to event
|
||||
u16 dayCountdown = gSaveBlock1Ptr->pokeNews[i].dayCountdown;
|
||||
ConvertIntToDecimalStringN(gStringVar1, dayCountdown, STR_CONV_MODE_LEFT_ALIGN, 1);
|
||||
|
||||
|
||||
// Mark as inactive so the countdown TV airing doesn't repeat
|
||||
// Will be flagged as "upcoming" again by UpdatePokeNewsCountdown
|
||||
gSaveBlock1Ptr->pokeNews[i].state = POKENEWS_STATE_INACTIVE;
|
||||
@@ -2848,7 +2848,7 @@ static bool8 IsRecordMixShowAlreadySpawned(u8 kind, bool8 delete)
|
||||
static void SortPurchasesByQuantity(void)
|
||||
{
|
||||
u8 i, j;
|
||||
|
||||
|
||||
for (i = 0; i < SMARTSHOPPER_NUM_ITEMS - 1; i++)
|
||||
{
|
||||
for (j = i + 1; j < SMARTSHOPPER_NUM_ITEMS; j++)
|
||||
|
||||
Reference in New Issue
Block a user