mirror of
https://github.com/pret/pmd-red.git
synced 2026-04-25 07:28:17 -05:00
Update pokemon.h
This commit is contained in:
parent
e8ae8d8b73
commit
d7fbd95975
|
|
@ -102,12 +102,12 @@ extern s32 sub_808D580(s32 *);
|
|||
|
||||
static inline bool8 PokemonFlag1(PokemonStruct1 *mon)
|
||||
{
|
||||
return (mon->unk0 & FLAG_UNK_1);
|
||||
return (mon->unk0 >> (FLAG_UNK_1 - 1)) & 1;
|
||||
}
|
||||
|
||||
static inline bool8 PokemonFlag2(PokemonStruct1 *mon)
|
||||
{
|
||||
return ((mon->unk0 >> (FLAG_ON_TEAM - 1)) & 1);
|
||||
return (mon->unk0 >> (FLAG_ON_TEAM - 1)) & 1;
|
||||
}
|
||||
|
||||
static inline void SetPokemonFlag2(PokemonStruct1 *mon)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user