summaryrefslogtreecommitdiff
path: root/src/lottery_corner.c
diff options
context:
space:
mode:
authorhuderlem <huderlem@gmail.com>2019-03-02 08:24:46 -0600
committerGitHub <noreply@github.com>2019-03-02 08:24:46 -0600
commitee9694d9ba4b4a16048cd8abf7401075c06c880c (patch)
tree8e02045dea75a5da9a75439797b34938187bc0c4 /src/lottery_corner.c
parent3b04cfa437b093a21cdc5021843b5f52a124861e (diff)
parent25050b99444538535a67ba51b7aaf3d0bf90c50e (diff)
Merge pull request #587 from Phlosioneer/document-all-event-vars
Document all event vars
Diffstat (limited to 'src/lottery_corner.c')
-rw-r--r--src/lottery_corner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lottery_corner.c b/src/lottery_corner.c
index bd7d17ef7..bb3bb7a5c 100644
--- a/src/lottery_corner.c
+++ b/src/lottery_corner.c
@@ -27,7 +27,7 @@ void ResetLotteryCorner(void)
u16 rand = Random();
SetLotteryNumber((Random() << 16) | rand);
- VarSet(VAR_POKELOT_PRIZE, 0);
+ VarSet(VAR_POKELOT_PRIZE_ITEM, 0);
}
void SetRandomLotteryNumber(u16 i)