summaryrefslogtreecommitdiff
path: root/engine/events/bug_contest/judging.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/events/bug_contest/judging.asm')
-rw-r--r--engine/events/bug_contest/judging.asm3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/events/bug_contest/judging.asm b/engine/events/bug_contest/judging.asm
index 361aef81a..abb9d60da 100644
--- a/engine/events/bug_contest/judging.asm
+++ b/engine/events/bug_contest/judging.asm
@@ -68,7 +68,8 @@ ContestJudging_ThirdPlaceScoreText:
LoadContestantName:
; If a = 1, get your name.
- dec a ; BUG_CONTEST_PLAYER
+ assert BUG_CONTEST_PLAYER == 1
+ dec a
jr z, .player
; Find the pointer for the trainer class of the Bug Catching Contestant whose ID is in a.
ld c, a