diff options
author | Marcus Huderle <huderlem@gmail.com> | 2019-11-10 12:46:39 -0600 |
---|---|---|
committer | huderlem <huderlem@gmail.com> | 2019-11-10 16:37:26 -0600 |
commit | 1ed3af66eb7a3f868e62d6409061a8d83a9cceae (patch) | |
tree | da663407fdaf1315d83a87066ca68ea429ada876 /src/scrcmd.c | |
parent | 6c863f6724ad2fefef4ec032538ed9e96b446b5e (diff) |
Document contest painting image processing effects
Diffstat (limited to 'src/scrcmd.c')
-rw-r--r-- | src/scrcmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scrcmd.c b/src/scrcmd.c index 610547dd8..02bc026d9 100644 --- a/src/scrcmd.c +++ b/src/scrcmd.c @@ -1467,10 +1467,10 @@ bool8 ScrCmd_hidemonpic(struct ScriptContext *ctx) bool8 ScrCmd_showcontestwinner(struct ScriptContext *ctx) { - u8 v1 = ScriptReadByte(ctx); + u8 contestWinnerId = ScriptReadByte(ctx); + if (contestWinnerId) + SetContestWinnerForPainting(contestWinnerId); - if (v1) - sub_812FDA8(v1); ShowContestWinner(); ScriptContext1_Stop(); return TRUE; |