summaryrefslogtreecommitdiff
path: root/engine/hidden_object_functions17.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/hidden_object_functions17.asm')
-rwxr-xr-xengine/hidden_object_functions17.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/hidden_object_functions17.asm b/engine/hidden_object_functions17.asm
index d0c6699e..7cf33faf 100755
--- a/engine/hidden_object_functions17.asm
+++ b/engine/hidden_object_functions17.asm
@@ -362,7 +362,7 @@ GymTrashScript: ; 5ddfc (17:5dfc)
ld [$ffdb], a
push hl
- call GenRandom
+ call Random
swap a
ld b, a
ld a, [$ffdb]
@@ -390,7 +390,7 @@ GymTrashScript: ; 5ddfc (17:5dfc)
; Reset the cans.
ld hl, $d773
res 1, [hl]
- call GenRandom
+ call Random
and $e
ld [$d743], a