summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/battle.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/battle.h b/include/battle.h
index 8dad6bc25..a58f69cda 100644
--- a/include/battle.h
+++ b/include/battle.h
@@ -12,6 +12,8 @@
#include "battle_util2.h"
#include "battle_bg.h"
+#include "pokeball.h" // i'm not sure about this one
+
#define GET_BATTLER_POSITION(battler) (gBattlerPositions[battler])
#define GET_BATTLER_SIDE(battler) (GetBattlerPosition(battler) & BIT_SIDE)
#define GET_BATTLER_SIDE2(battler) (GET_BATTLER_POSITION(battler) & BIT_SIDE)
@@ -255,7 +257,7 @@ struct BattleResults
u16 caughtMonSpecies; // 0x28
u8 caughtMonNick[POKEMON_NAME_LENGTH + 1]; // 0x2A
u8 filler35; // 0x35
- u8 catchAttempts[11]; // 0x36
+ u8 catchAttempts[POKEBALL_COUNT-1]; // 0x36 Doesn't include Master ball
};
struct BattleTv_Side