diff options
author | PokeCodec <67983839+PokeCodec@users.noreply.github.com> | 2020-09-01 13:37:22 -0400 |
---|---|---|
committer | PokeCodec <67983839+PokeCodec@users.noreply.github.com> | 2020-09-01 13:37:22 -0400 |
commit | ae4e56b93b24494c2ce1773498bbaf61d8d602dd (patch) | |
tree | 1d65f9430aa13b2a6160bfaef3c144c9ffa4bc3f /src/battle/anim/flying.c | |
parent | bfd7a6d66af787f5d8e15e0556f3155536a6878e (diff) |
Fix mistakes
Diffstat (limited to 'src/battle/anim/flying.c')
-rw-r--r-- | src/battle/anim/flying.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle/anim/flying.c b/src/battle/anim/flying.c index 422d748ee..588729ab5 100644 --- a/src/battle/anim/flying.c +++ b/src/battle/anim/flying.c @@ -555,7 +555,7 @@ static void sub_80DA410(struct Sprite *sprite) sprite->data[3] &= 0xFF; } - //The below if statement relies on overflow when cast to unsigned whenver pos1.x and pos2.x add up to less than 32. + //The below if statement relies on overflow when cast to unsigned whenever pos1.x and pos2.x add up to less than 32. if ((u32) (sprite->pos1.x + sprite->pos2.x + 32) > 304 || sprite->pos1.y + sprite->pos2.y > 160) { gSprites[GetAnimBattlerSpriteId(0)].invisible = FALSE; |