From 548f486398ab95cbdb757334d6b9d460af42c513 Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Mon, 1 Jul 2019 17:47:47 +0200 Subject: [PATCH] Clean up code in HoldContestPainting --- src/contest_painting.c | 3 +-- 1 file changed, 1 insertion(+), 2 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)); }