summaryrefslogtreecommitdiff
path: root/include/data.h
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-10-02 23:47:59 -0400
committerGriffinR <griffin.g.richards@gmail.com>2021-10-02 23:47:59 -0400
commit739e7d3c31f02ef4ea91b402c176f17a9bc27911 (patch)
tree8fbd61eb4cc90827abec9291e14166cb4b1b1332 /include/data.h
parent001a25e49cd6acdac89a62f4230aef80422e78f2 (diff)
Document summary screen sprite manager
Diffstat (limited to 'include/data.h')
-rw-r--r--include/data.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/data.h b/include/data.h
index f94f55a8f..374435cba 100644
--- a/include/data.h
+++ b/include/data.h
@@ -5,6 +5,8 @@
#define SPECIES_SHINY_TAG 500
+#define MAX_TRAINER_ITEMS 4
+
enum {
BATTLER_AFFINE_NORMAL,
BATTLER_AFFINE_EMERGE,
@@ -66,7 +68,7 @@ struct Trainer
/*0x02*/ u8 encounterMusic_gender; // last bit is gender
/*0x03*/ u8 trainerPic;
/*0x04*/ u8 trainerName[12];
- /*0x10*/ u16 items[4];
+ /*0x10*/ u16 items[MAX_TRAINER_ITEMS];
/*0x18*/ bool8 doubleBattle;
/*0x1C*/ u32 aiFlags;
/*0x20*/ u8 partySize;