mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 03:34:15 +01:00
Added parenthesis to GET_SHINY_VALUE
This commit is contained in:
parent
c3623bc928
commit
61752a4977
@ -363,7 +363,7 @@ struct Evolution
|
|||||||
| (((personality) & 0x00000003) >> 0) \
|
| (((personality) & 0x00000003) >> 0) \
|
||||||
) % NUM_UNOWN_FORMS)
|
) % NUM_UNOWN_FORMS)
|
||||||
|
|
||||||
#define GET_SHINY_VALUE(otId, personality)HIHALF(otId) ^ LOHALF(otId) ^ HIHALF(personality) ^ LOHALF(personality)
|
#define GET_SHINY_VALUE(otId, personality) (HIHALF(otId) ^ LOHALF(otId) ^ HIHALF(personality) ^ LOHALF(personality))
|
||||||
|
|
||||||
extern u8 gPlayerPartyCount;
|
extern u8 gPlayerPartyCount;
|
||||||
extern struct Pokemon gPlayerParty[PARTY_SIZE];
|
extern struct Pokemon gPlayerParty[PARTY_SIZE];
|
||||||
|
Loading…
Reference in New Issue
Block a user