summaryrefslogtreecommitdiff
path: root/src/mail.c
diff options
context:
space:
mode:
authorultima-soul <akshayjhanji@hotmail.com>2020-03-13 00:32:04 -0700
committerultima-soul <akshayjhanji@hotmail.com>2020-03-13 00:32:04 -0700
commit99e4de062ae43aa978ad4f1a8cd70bc739c64c9d (patch)
tree1164d31577e6ebddc1cb313d40bb69ce0d426170 /src/mail.c
parent339c2914affc3c62ac9a5725aa1a0c7ccc3161ca (diff)
parent6af8c04d8fa6aaeaeb6c8b919e7770a65b9a883d (diff)
Merge branch 'master' into event_object_movement
Diffstat (limited to 'src/mail.c')
-rw-r--r--src/mail.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mail.c b/src/mail.c
index dbdf48ac7..b5c0343b3 100644
--- a/src/mail.c
+++ b/src/mail.c
@@ -506,10 +506,10 @@ static bool8 DoInitMailView(void)
SetVBlankCallback(NULL);
ScanlineEffect_Stop();
SetGpuReg(REG_OFFSET_DISPCNT, 0);
- if (gPlayerPcMenuManager.unk_9 == 0)
- HelpSystem_SetSomeVariable2(34);
+ if (gPlayerPcMenuManager.notInRoom == FALSE)
+ SetHelpContext(HELPCONTEXT_BEDROOM_PC_MAILBOX);
else
- HelpSystem_SetSomeVariable2(30);
+ SetHelpContext(HELPCONTEXT_PLAYERS_PC_MAILBOX);
break;
case 1:
CpuFill16(0, (void *)OAM, OAM_SIZE);