summaryrefslogtreecommitdiff
path: root/src/mail.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-03-05 06:06:51 -0500
committerGitHub <noreply@github.com>2020-03-05 06:06:51 -0500
commit362cddc0f512d86af0d7e9bbf7c8edba2115c175 (patch)
tree9c24f5cc84e71ea519ae1f8ccb32135556f58244 /src/mail.c
parent437fe6631adfe04ce89f966c189b7b015d81cf26 (diff)
parent102744163be40ec7fdab95beafac819d1e118bb5 (diff)
Merge pull request #285 from GriffinRichards/doc-scriptclean
Clean up script documentation
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);