mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
Add ifdef for Hidden Abilities from Pokémon Expansion and change gBattlerAbility back to a u8.
This commit is contained in:
parent
63bd0ec836
commit
e15a86caae
@ -815,7 +815,7 @@ extern u16 gMoveToLearn;
|
||||
extern u8 gBattleMonForms[MAX_BATTLERS_COUNT];
|
||||
extern u32 gFieldStatuses;
|
||||
extern struct FieldTimer gFieldTimers;
|
||||
extern u16 gBattlerAbility;
|
||||
extern u8 gBattlerAbility;
|
||||
extern u16 gPartnerSpriteId;
|
||||
|
||||
extern void (*gPreBattleCallback1)(void);
|
||||
|
@ -199,8 +199,11 @@ struct BaseStats
|
||||
/* 0x14 */ u8 eggGroup1;
|
||||
/* 0x15 */ u8 eggGroup2;
|
||||
/* 0x16 */ u16 abilities[2];
|
||||
/* 0x1A */ u8 safariZoneFleeRate;
|
||||
/* 0x1B */ u8 bodyColor : 7;
|
||||
#ifdef POKEMON_EXPANSION
|
||||
u16 abilityHidden;
|
||||
#endif
|
||||
u8 safariZoneFleeRate;
|
||||
u8 bodyColor : 7;
|
||||
u8 noFlip : 1;
|
||||
};
|
||||
|
||||
|
@ -226,7 +226,7 @@ EWRAM_DATA u16 gMoveToLearn = 0;
|
||||
EWRAM_DATA u8 gBattleMonForms[MAX_BATTLERS_COUNT] = {0};
|
||||
EWRAM_DATA u32 gFieldStatuses = 0;
|
||||
EWRAM_DATA struct FieldTimer gFieldTimers = {0};
|
||||
EWRAM_DATA u16 gBattlerAbility = 0;
|
||||
EWRAM_DATA u8 gBattlerAbility = 0;
|
||||
EWRAM_DATA u16 gPartnerSpriteId = 0;
|
||||
|
||||
// IWRAM common vars
|
||||
|
Loading…
Reference in New Issue
Block a user