summaryrefslogtreecommitdiff
path: root/home/random.asm
diff options
context:
space:
mode:
authorIIMarckus <iimarckus@gmail.com>2020-02-09 02:20:05 -0700
committerIIMarckus <iimarckus@gmail.com>2020-02-09 02:20:05 -0700
commita7e3a999ff21ecac0bfbe7f091f9ff901075a323 (patch)
tree8032e91c6a426b355b6d1d3505bbc1fdc9c40fa6 /home/random.asm
parentd561a6d2db176240549fa605dc3e7e1f59e86607 (diff)
parent0543e933915a65127a8b803789d049478c7889d5 (diff)
Merge https://github.com/libjet/pokegold
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::