mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 11:37:40 +01:00
Parentheses for GET_UNOWN_LETTER
This commit is contained in:
parent
cf9f8d01c5
commit
305ebdbc4a
@ -240,11 +240,11 @@ struct Evolution
|
||||
|
||||
#define NUM_UNOWN_FORMS 28
|
||||
|
||||
#define GET_UNOWN_LETTER(personality) (( \
|
||||
((personality & 0x03000000) >> 18) \
|
||||
| ((personality & 0x00030000) >> 12) \
|
||||
| ((personality & 0x00000300) >> 6) \
|
||||
| ((personality & 0x00000003) >> 0) \
|
||||
#define GET_UNOWN_LETTER(personality) (( \
|
||||
(((personality) & 0x03000000) >> 18) \
|
||||
| (((personality) & 0x00030000) >> 12) \
|
||||
| (((personality) & 0x00000300) >> 6) \
|
||||
| (((personality) & 0x00000003) >> 0) \
|
||||
) % NUM_UNOWN_FORMS)
|
||||
|
||||
extern u8 gPlayerPartyCount;
|
||||
|
Loading…
Reference in New Issue
Block a user