summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMCboy <atasro2@gmail.com>2020-11-06 23:29:52 +0330
committerMCboy <atasro2@gmail.com>2020-11-06 23:29:52 +0330
commite31158d017c71110d421864beee166d1facbebd9 (patch)
tree5e4d5a35135d38622fb69dfb07c576cbfaf19d96 /src
parent3b91735e63409f4c5fd88d9984b036a6304952f9 (diff)
add spaces around - and remove comment from include in battle.h
Diffstat (limited to 'src')
-rw-r--r--src/tv.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tv.c b/src/tv.c
index b401de06f..748915c7a 100644
--- a/src/tv.c
+++ b/src/tv.c
@@ -964,7 +964,7 @@ void GabbyAndTyBeforeInterview(void)
}
if (!gBattleResults.usedMasterBall)
{
- for (i = 0; i < POKEBALL_COUNT-1; i ++)
+ for (i = 0; i < POKEBALL_COUNT - 1; i ++)
{
if (gBattleResults.catchAttempts[i])
{
@@ -1136,7 +1136,7 @@ void PutPokemonTodayCaughtOnAir(void)
sCurTVShowSlot = FindEmptyTVSlotBeyondFirstFiveShowsOfArray(gSaveBlock1Ptr->tvShows);
if (sCurTVShowSlot != -1 && HasMixableShowAlreadyBeenSpawnedWithPlayerID(TVSHOW_POKEMON_TODAY_CAUGHT, FALSE) != TRUE)
{
- for (i = 0; i < POKEBALL_COUNT-1; i ++)
+ for (i = 0; i < POKEBALL_COUNT - 1; i ++)
{
ct += gBattleResults.catchAttempts[i];
}
@@ -1153,7 +1153,7 @@ void PutPokemonTodayCaughtOnAir(void)
}
else
{
- for (i = 0; i < POKEBALL_COUNT-1; i ++)
+ for (i = 0; i < POKEBALL_COUNT - 1; i ++)
{
ct += gBattleResults.catchAttempts[i];
}
@@ -1204,7 +1204,7 @@ void PutPokemonTodayFailedOnTheAir(void)
if (!rbernoulli(1, 1))
{
- for (i = 0, ct = 0; i < POKEBALL_COUNT-1; i ++)
+ for (i = 0, ct = 0; i < POKEBALL_COUNT - 1; i ++)
{
ct += gBattleResults.catchAttempts[i];
}
@@ -2229,7 +2229,7 @@ void sub_80EE184(void)
show->breakingNews.kind = TVSHOW_BREAKING_NEWS;
show->breakingNews.active = FALSE;
balls = 0;
- for (i = 0; i < POKEBALL_COUNT-1; i ++)
+ for (i = 0; i < POKEBALL_COUNT - 1; i ++)
{
balls += gBattleResults.catchAttempts[i];
}