Clean up contest_painting

This commit is contained in:
GriffinR
2021-04-21 20:04:12 -04:00
parent a2a9f22612
commit dbe24f0baa
27 changed files with 226 additions and 198 deletions
+3 -3
View File
@@ -1466,15 +1466,15 @@ bool8 ScrCmd_hidemonpic(struct ScriptContext *ctx)
return TRUE;
}
bool8 ScrCmd_showcontestwinner(struct ScriptContext *ctx)
bool8 ScrCmd_showcontestpainting(struct ScriptContext *ctx)
{
u8 contestWinnerId = ScriptReadByte(ctx);
// Don't save artist's painting yet
// Artist's painting is temporary and already has its data loaded
if (contestWinnerId != CONTEST_WINNER_ARTIST)
SetContestWinnerForPainting(contestWinnerId);
ShowContestWinnerPainting();
ShowContestPainting();
ScriptContext1_Stop();
return TRUE;
}