diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2021-03-14 16:29:33 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2021-03-14 16:29:33 -0400 |
commit | 99ec579debc63991f16e08ef906111ad556edad5 (patch) | |
tree | 7ef44e3452d21432ad640270d7b6a9c6a15fe97c /include/global.h | |
parent | 75b9fbc92fbe5edbf8dbdd647585d3d94adb33d1 (diff) |
Name symbols in battle_anim_special.c
Diffstat (limited to 'include/global.h')
-rw-r--r-- | include/global.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/global.h b/include/global.h index fba89427c..04adc82cb 100644 --- a/include/global.h +++ b/include/global.h @@ -31,9 +31,7 @@ #define __(x) (x) #endif // __APPLE__ -#define ARRAY_COUNT(array) (sizeof(array) / sizeof((array)[0])) -// GF's lingo -#define NELEMS ARRAY_COUNT +#define NELEMS(array) (sizeof(array) / sizeof((array)[0])) #define SWAP(a, b, temp) \ { \ @@ -293,7 +291,7 @@ struct SaveBlock2 /*0xB10*/ struct BerryPickingResults berryPick; /*0xB20*/ u8 filler_B20[0x400]; /*0xF20*/ u32 encryptionKey; -}; +}; // size: 0xF24 extern struct SaveBlock2 *gSaveBlock2Ptr; @@ -826,7 +824,7 @@ struct SaveBlock1 /*0x3D24*/ u8 filler3D24[0x10]; /*0x3D34*/ u32 towerChallengeId; /*0x3D38*/ struct TrainerTower trainerTower[NUM_TOWER_CHALLENGE_TYPES]; -}; +}; // size: 0x3D68 struct MapPosition { |