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 f96718b2..3c2972af 100644
--- a/home/random.asm
+++ b/home/random.asm
@@ -19,10 +19,10 @@ BattleRandom::
ld a, BANK(BattleRandom_)
rst Bankswitch
call BattleRandom_
- ld [wPredefHLBuffer + 1], a
+ ld [wPredefTemp + 1], a
pop af
rst Bankswitch
- ld a, [wPredefHLBuffer + 1]
+ ld a, [wPredefTemp + 1]
ret
RandomRange::