Merge pull request #739 from DizzyEggg/patch-5

Clean up code in HoldContestPainting
This commit is contained in:
Diegoisawesome
2019-07-02 20:05:27 +09:00
committed by GitHub
+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));
} }