diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2020-03-05 06:06:51 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-05 06:06:51 -0500 |
commit | 362cddc0f512d86af0d7e9bbf7c8edba2115c175 (patch) | |
tree | 9c24f5cc84e71ea519ae1f8ccb32135556f58244 /src/mail.c | |
parent | 437fe6631adfe04ce89f966c189b7b015d81cf26 (diff) | |
parent | 102744163be40ec7fdab95beafac819d1e118bb5 (diff) |
Merge pull request #285 from GriffinRichards/doc-scriptclean
Clean up script documentation
Diffstat (limited to 'src/mail.c')
-rw-r--r-- | src/mail.c | 6 |
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); |