summaryrefslogtreecommitdiff
path: root/src/field/tv.c
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2017-11-05 01:34:52 -0400
committerProjectRevoTPP <projectrevotpp@hotmail.com>2017-11-05 01:34:52 -0400
commit4cf701c5871a17f0bc580019e8d294bc1c84ebf3 (patch)
treee2d7246d97c18b1660156d345ee988212a039d84 /src/field/tv.c
parent8832b766facd48c85c1b99ac6dad555f1e2aa1c7 (diff)
move ewram defines to ewram.h.
Diffstat (limited to 'src/field/tv.c')
-rw-r--r--src/field/tv.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/field/tv.c b/src/field/tv.c
index 87fc03065..a0287e7df 100644
--- a/src/field/tv.c
+++ b/src/field/tv.c
@@ -38,6 +38,7 @@
#include "string_util.h"
#include "strings.h"
#include "text.h"
+#include "ewram.h"
struct UnkTvStruct
{
@@ -95,9 +96,6 @@ extern u8 gBattleOutcome;
extern u16 gLastUsedItem;
-extern u8 ewram[];
-#define gUnknown_02007000 (*(ewramStruct_02007000 *)(ewram + 0x7000))
-
static EWRAM_DATA u16 gUnknown_020387E0 = 0;
static EWRAM_DATA u16 gUnknown_020387E2 = 0;
static EWRAM_DATA u8 gUnknown_020387E4 = 0;