summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/contest_painting.c3
-rw-r--r--src/text.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/contest_painting.c b/src/contest_painting.c
index b43923c7b..257bde445 100644
--- a/src/contest_painting.c
+++ b/src/contest_painting.c
@@ -250,8 +250,7 @@ static void HoldContestPainting(void)
case 1:
if ((gMain.newKeys & A_BUTTON) || (gMain.newKeys & B_BUTTON))
{
- u8 two = 2; //needed to make the asm match
- gContestPaintingState = two;
+ gContestPaintingState++;
BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 16, RGB(0, 0, 0));
}
diff --git a/src/text.c b/src/text.c
index 43834eab4..91a82b19f 100644
--- a/src/text.c
+++ b/src/text.c
@@ -197,7 +197,7 @@ bool16 AddTextPrinter(struct TextPrinterTemplate *printerTemplate, u8 speed, voi
gTempTextPrinter.textSpeed = 0;
for (j = 0; j < 0x400; ++j)
{
- if ((u32)RenderFont(&gTempTextPrinter) == 1)
+ if (RenderFont(&gTempTextPrinter) == 1)
break;
}