diff options
author | yenatch <yenatch@gmail.com> | 2018-06-24 19:54:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-24 19:54:03 -0400 |
commit | 0cbe04da44744073c4c164df970b1571b1fda1a6 (patch) | |
tree | 3af0a92f5f7dc10f32eed04d9daae52749fc33c2 /home/random.asm | |
parent | 131875d3e37044ec995287af7c93decd86a0d659 (diff) | |
parent | 1d9a68dbdd0132035f1fc7b7ea8f7fdc24741507 (diff) |
Merge pull request #531 from mid-kid/master
Remove all address comments
Diffstat (limited to 'home/random.asm')
-rw-r--r-- | home/random.asm | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/home/random.asm b/home/random.asm index ceefdce6f..0ee1c50f2 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,9 @@ 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 +79,3 @@ RandomRange:: ; 2fb1 pop bc ret -; 2fcb |