summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2019-07-02 20:05:27 +0900
committerGitHub <noreply@github.com>2019-07-02 20:05:27 +0900
commitc3e683789c1091111e26edbd82eaca66007ba150 (patch)
tree3ae4f549e38c07a0cd6340a045dfef70b2f4a021 /src
parentb58c4bff3e4def0657cc2aefb04378f3220f247c (diff)
parent548f486398ab95cbdb757334d6b9d460af42c513 (diff)
Merge pull request #739 from DizzyEggg/patch-5
Clean up code in HoldContestPainting
Diffstat (limited to 'src')
-rw-r--r--src/contest_painting.c3
1 files changed, 1 insertions, 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));
}