summaryrefslogtreecommitdiff
path: root/src/battle_anim_throw.c
diff options
context:
space:
mode:
authorLOuroboros <lunosouroboros@gmail.com>2021-08-24 19:59:32 -0300
committerLOuroboros <lunosouroboros@gmail.com>2021-08-24 19:59:32 -0300
commit554210c5e315e786ddc6eef888e9ff6065ad73f8 (patch)
tree66bb5065902fb10a4ad007e53cb61f90fd68e624 /src/battle_anim_throw.c
parent63e6b914e4d9b9bdb0a8d621b2ed233990f2ef66 (diff)
Removed trailing spaces in the most relevant files
Command used for the job: egrep -rl ' $' --include *.c --include *.h --include *.s --include *.inc --include *.txt * | xargs sed -i 's/\s\+$//g' Credits to Grant Murphy from Stack Overflow.
Diffstat (limited to 'src/battle_anim_throw.c')
-rwxr-xr-xsrc/battle_anim_throw.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/battle_anim_throw.c b/src/battle_anim_throw.c
index 23e031b64..0a81a6eca 100755
--- a/src/battle_anim_throw.c
+++ b/src/battle_anim_throw.c
@@ -1139,8 +1139,8 @@ static void SpriteCB_Ball_Wobble_Step(struct Sprite *sprite)
switch (STATE(sprite->sState))
{
- case BALL_ROLL_1:
- // Rolling effect: every frame in the rotation, the sprite shifts 176/256 of a pixel.
+ case BALL_ROLL_1:
+ // Rolling effect: every frame in the rotation, the sprite shifts 176/256 of a pixel.
if (gBattleSpritesDataPtr->animationData->ballSubpx > 255)
{
sprite->x2 += sprite->sDirection;
@@ -2268,7 +2268,7 @@ static void Task_ShinyStars(u8 taskId)
}
// Wait until the ball particles have despawned
- if (gBattleSpritesDataPtr->animationData->numBallParticles)
+ if (gBattleSpritesDataPtr->animationData->numBallParticles)
return;
timer = gTasks[taskId].tStarTimer++;
@@ -2440,7 +2440,7 @@ static void SpriteCB_PokeBlock_Arc(struct Sprite *sprite)
}
// Destroy after end of player animation
-static void SpriteCB_ThrowPokeBlock_Free(struct Sprite *sprite)
+static void SpriteCB_ThrowPokeBlock_Free(struct Sprite *sprite)
{
if (gSprites[gBattlerSpriteIds[gBattleAnimAttacker]].animEnded)
{