Clean up code in HoldContestPainting

This commit is contained in:
DizzyEggg
2019-07-01 17:47:47 +02:00
committed by GitHub
parent 7500534676
commit 548f486398
+1 -2
View File
@@ -250,8 +250,7 @@ static void HoldContestPainting(void)
case 1: case 1:
if ((gMain.newKeys & A_BUTTON) || (gMain.newKeys & B_BUTTON)) if ((gMain.newKeys & A_BUTTON) || (gMain.newKeys & B_BUTTON))
{ {
u8 two = 2; //needed to make the asm match gContestPaintingState++;
gContestPaintingState = two;
BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 16, RGB(0, 0, 0)); BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 16, RGB(0, 0, 0));
} }