mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 03:34:15 +01:00
Merge pull request #1776 from AsparagusEduardo/pret/pr/ShinyValue
Added parenthesis to GET_SHINY_VALUE
This commit is contained in:
commit
91cba0e648
@ -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