diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2017-11-05 01:34:52 -0400 |
---|---|---|
committer | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2017-11-05 01:34:52 -0400 |
commit | 4cf701c5871a17f0bc580019e8d294bc1c84ebf3 (patch) | |
tree | e2d7246d97c18b1660156d345ee988212a039d84 /src/battle/battle_interface.c | |
parent | 8832b766facd48c85c1b99ac6dad555f1e2aa1c7 (diff) |
move ewram defines to ewram.h.
Diffstat (limited to 'src/battle/battle_interface.c')
-rw-r--r-- | src/battle/battle_interface.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/battle/battle_interface.c b/src/battle/battle_interface.c index 10962c025..831839d9b 100644 --- a/src/battle/battle_interface.c +++ b/src/battle/battle_interface.c @@ -13,6 +13,7 @@ #include "string_util.h" #include "task.h" #include "text.h" +#include "ewram.h" struct UnknownStruct5 { @@ -28,12 +29,6 @@ struct UnknownStruct7 u8 filler0[0x180]; }; -extern u8 ewram[]; -#define ewram520 ((struct UnknownStruct7 *)(ewram + 0x00520)) -#define ewram16088 (*(u8 *) (ewram + 0x16088)) -#define ewram16089 (*(u8 *) (ewram + 0x16089)) -#define ewram17850 ((struct UnknownStruct5 *)(ewram + 0x17850)) - extern u8 gDisplayedStringBattle[]; extern u8 gNoOfAllBanks; extern u16 gBattlePartyID[]; |