summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/battle/anim/flying.c2
-rw-r--r--src/pokedex_cry_screen.c1
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;