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 2ec490cc1..46b3e7571 100644
--- a/home/random.asm
+++ b/home/random.asm
@@ -42,10 +42,10 @@ BattleRandom:: ; 2f9f
call _BattleRandom
- ld [$cfb6], a
+ ld [PredefTemp + 1], a
pop af
rst Bankswitch
- ld a, [$cfb6]
+ ld a, [PredefTemp + 1]
ret
; 2fb1