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