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/field/shop.c | |
parent | 8832b766facd48c85c1b99ac6dad555f1e2aa1c7 (diff) |
move ewram defines to ewram.h.
Diffstat (limited to 'src/field/shop.c')
-rw-r--r-- | src/field/shop.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/field/shop.c b/src/field/shop.c index 375205935..67e9b006e 100644 --- a/src/field/shop.c +++ b/src/field/shop.c @@ -26,13 +26,10 @@ #include "overworld.h" #include "decoration_inventory.h" #include "field_camera.h" - -#define ewram18000 ((u16 *)(ewram + 0x18000)) -#define ewram18300 ((u16 *)(ewram + 0x18300)) +#include "ewram.h" extern bool8 sub_80A52C4(u8, u8); -extern u8 ewram[]; extern u8 gBuyMenuFrame_Gfx[]; extern u16 gBuyMenuFrame_Tilemap[]; extern u16 gMenuMoneyPal[16]; @@ -54,7 +51,7 @@ static struct MartInfo gMartInfo; // ewram EWRAM_DATA u32 gMartTotalCost = 0; -EWRAM_DATA s16 gUnknown_020386A4[16][4] = {0}; // game freak barely uses 2d arrays wtf? +EWRAM_DATA s16 gUnknown_020386A4[16][4] = {0}; EWRAM_DATA struct ItemSlot gUnknown_02038724[3] = {0}; // tv.c uses this, so it cant be static EWRAM_DATA u8 gUnknown_02038730 = 0; EWRAM_DATA u8 gUnknown_02038731 = 0; |