summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2017-06-10 12:45:31 -0400
committerProjectRevoTPP <projectrevotpp@hotmail.com>2017-06-10 12:45:31 -0400
commit6f843698941b8b21b372a5fe9cda6c286fd68ee3 (patch)
tree9e4d00a0bf8d04bbe6b144dc91e931c97eb52a03 /src
parent10f798323e88e4cdf8fe881956dd5ad41121e1a3 (diff)
whitespace
Diffstat (limited to 'src')
-rw-r--r--src/player_pc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/player_pc.c b/src/player_pc.c
index 4c321ba46..7a2377bbb 100644
--- a/src/player_pc.c
+++ b/src/player_pc.c
@@ -1015,7 +1015,7 @@ void Mailbox_DrawMailList(u8 taskId) // taskId is unused
u16 i = gMailboxInfo.itemsAbove;
register struct MailboxStruct *tempMailbox asm("r1") = &gMailboxInfo;
register struct MailboxStruct *mailbox asm("r6");
-
+
if(i < i + tempMailbox->pageItems)
{
mailbox = tempMailbox;
@@ -1038,11 +1038,11 @@ void Mailbox_DrawMailList(u8 taskId) // taskId is unused
}
}
}
-
+
beforeLabel:
if(i - gMailboxInfo.itemsAbove != 8)
MenuFillWindowRectWithBlankTile(0x15, yCoord + 4, 0x1C, 0x12);
-
+
switch(gMailboxInfo.itemsAbove)
{
default:
@@ -1055,7 +1055,7 @@ weirdCase:
DestroyVerticalScrollIndicator(0);
break;
}
-
+
if(gMailboxInfo.itemsAbove + gMailboxInfo.pageItems <= gMailboxInfo.count)
CreateVerticalScrollIndicators(1, 0xC8, 0x98);
else
@@ -1243,7 +1243,7 @@ void sub_813B578(u8 taskId)
struct MailStruct *mail = &gSaveBlock1.mail[gMailboxInfo.itemsAbove + 6 + gMailboxInfo.cursorPos];
MenuZeroFillWindowRect(0x14, 8, 0x1A, 0xD);
-
+
if(AddBagItem(mail->itemId, 1) == FALSE)
{
DisplayItemMessageOnField(taskId, gOtherText_BagIsFull, sub_813B758, 0);
@@ -1297,7 +1297,7 @@ void sub_813B6A4(void)
gMailboxInfo.count = GetMailboxMailCount();
Mailbox_UpdateMailList();
-
+
if(oldCount != gMailboxInfo.count && gMailboxInfo.count < gMailboxInfo.pageItems + gMailboxInfo.itemsAbove && gMailboxInfo.itemsAbove != 0) // did the count update?
gMailboxInfo.itemsAbove--;