summaryrefslogtreecommitdiff
path: root/include/ewram.h
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2021-06-25 13:16:36 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2021-06-25 13:16:36 -0400
commitf029db52f59614e22a7a2d70eb3da46094bf47f1 (patch)
treea726761fbf6f6d22a2c8332e89bddae15833b5b4 /include/ewram.h
parenta6ae701c1d244d418975d9019b6a1af217674ae5 (diff)
Document pokedex_cry_screen.c
Diffstat (limited to 'include/ewram.h')
-rw-r--r--include/ewram.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ewram.h b/include/ewram.h
index 066aa5529..f19a882fe 100644
--- a/include/ewram.h
+++ b/include/ewram.h
@@ -47,6 +47,11 @@ extern u8 gSharedMem[];
#define ePokedexView3 (struct PokedexView *)(gSharedMem + 0x19000)
#define ePokedexView4 (struct PokedexView *)(gSharedMem + 0x19800)
+// pokedex_cry_screen.c
+#define sCryWaveformWindowTiledata (&gSharedMem[0])
+#define ePokedexCryScreen (*(struct PokedexCryScreen *)(gSharedMem + 0x1C000))
+#define ePokedexCryScreen2 (*(struct PokedexCryMeterNeedle *)(gSharedMem + 0x1C800))
+
#define ewram8000 (&gSharedMem[0x8000])
#define ewram8800 (&gSharedMem[0x8800])
#define ewram9000 (&gSharedMem[0x9000])