summaryrefslogtreecommitdiff
path: root/home/random.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/random.asm')
-rw-r--r--home/random.asm10
1 files changed, 3 insertions, 7 deletions
diff --git a/home/random.asm b/home/random.asm
index ceefdce6f..e436e4ff6 100644
--- a/home/random.asm
+++ b/home/random.asm
@@ -1,4 +1,4 @@
-Random:: ; 2f8c
+Random::
; A simple hardware-based random number generator (RNG).
; Two random numbers are generated by adding and subtracting
@@ -27,9 +27,8 @@ Random:: ; 2f8c
pop bc
ret
-; 2f9f
-BattleRandom:: ; 2f9f
+BattleRandom::
; _BattleRandom lives in another bank.
; It handles all RNG calls in the battle engine, allowing
@@ -47,10 +46,8 @@ BattleRandom:: ; 2f9f
rst Bankswitch
ld a, [wPredefTemp + 1]
ret
-; 2fb1
-
-RandomRange:: ; 2fb1
+RandomRange::
; Return a random number between 0 and a (non-inclusive).
push bc
@@ -81,4 +78,3 @@ RandomRange:: ; 2fb1
pop bc
ret
-; 2fcb