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 | |
parent | bfd7a6d66af787f5d8e15e0556f3155536a6878e (diff) |
Fix mistakes
Diffstat (limited to 'src')
-rw-r--r-- | src/battle/anim/flying.c | 2 | ||||
-rw-r--r-- | src/pokedex_cry_screen.c | 1 |
2 files changed, 2 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; diff --git a/src/pokedex_cry_screen.c b/src/pokedex_cry_screen.c index 9dab81cec..9abea27a1 100644 --- a/src/pokedex_cry_screen.c +++ b/src/pokedex_cry_screen.c @@ -7,6 +7,7 @@ #include "ewram.h" #include "trig.h" #include "sound.h" + extern struct SoundInfo gSoundInfo; extern struct MusicPlayerInfo gMPlayInfo_BGM; |