summaryrefslogtreecommitdiff
path: root/src/mail.c
diff options
context:
space:
mode:
authorcamthesaxman <cameronghall@cox.net>2018-01-21 22:29:35 -0600
committercamthesaxman <cameronghall@cox.net>2018-01-21 22:29:35 -0600
commit663ecd00145da49fda7d2509d629d737ea633cd8 (patch)
treea4cfc7323151501d5603f1cd34e68a73f328434e /src/mail.c
parenta78b0636f50c012c3618d55a9b83f834319de6e0 (diff)
parentf57340b729d741acae17213c9c748738fcc1dcb3 (diff)
Merge branch 'master' of https://github.com/pret/pokeemerald into battle_refactor
Diffstat (limited to 'src/mail.c')
-rw-r--r--src/mail.c26
1 files changed, 1 insertions, 25 deletions
diff --git a/src/mail.c b/src/mail.c
index 68a55e242..c3cbe4a3c 100644
--- a/src/mail.c
+++ b/src/mail.c
@@ -240,30 +240,6 @@ static const struct MailLayout sUnknown_0859F458[] = {
{ 0x05, 0x09, 0x60, 0x05, 0x1e, Unknown_0859F444 }
};
-// What the heck are these meant to be? Call them u16 for now.
-
-static const u16 Unknown_0859F4E8[] = {
- 0x00, 0x4000, 0x00, 0x00
-};
-
-static const u16 Unknown_0859F4F0[] = {
- 0x00, 0x00, -1, 0x00
-};
-
-static const u16 Unknown_0859F4F8[] = {
- 0x04, 0x00, -1, 0x00
-};
-
-static const u16 Unknown_0859F500[] = {
- 0x00, 0x40, -1, 0x00
-};
-
-static const u16 *const sUnknown_0859F508[] = {
- Unknown_0859F4F0,
- Unknown_0859F4F8,
- Unknown_0859F500
-};
-
// .text
void ReadMail(struct MailStruct *mail, void (*callback)(void), bool8 flag)
@@ -329,7 +305,7 @@ static bool8 MailReadBuildGraphics(void)
{
case 0:
SetVBlankCallback(NULL);
- remove_some_task();
+ ScanlineEffect_Stop();
SetGpuReg(REG_OFFSET_DISPCNT, 0x0000);
break;
case 1: