summaryrefslogtreecommitdiff
path: root/home/random.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/random.asm')
-rw-r--r--home/random.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/random.asm b/home/random.asm
index 9d62b9b65..06f554b37 100644
--- a/home/random.asm
+++ b/home/random.asm
@@ -41,10 +41,10 @@ BattleRandom::
call _BattleRandom
- ld [wPredefTemp + 1], a
+ ld [wPredefHL + 1], a
pop af
rst Bankswitch
- ld a, [wPredefTemp + 1]
+ ld a, [wPredefHL + 1]
ret
RandomRange::