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.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/events/bug_contest/judging.asm b/engine/events/bug_contest/judging.asm
index a6ec3baf6..a23535998 100644
--- a/engine/events/bug_contest/judging.asm
+++ b/engine/events/bug_contest/judging.asm
@@ -150,9 +150,9 @@ BugContest_JudgeContestants:
ld [hli], a
ld a, [wContestMon]
ld [hli], a
- ld a, [hProduct]
+ ldh a, [hProduct]
ld [hli], a
- ld a, [hProduct + 1]
+ ldh a, [hProduct + 1]
ld [hl], a
call DetermineContestWinners
ret
@@ -287,8 +287,8 @@ ContestScore:
; Determine the player's score in the Bug Catching Contest.
xor a
- ld [hProduct], a
- ld [hMultiplicand], a
+ ldh [hProduct], a
+ ldh [hMultiplicand], a
ld a, [wContestMonSpecies] ; Species
and a