rename RNG to Random

also fix 'Far' naming scheme for BattleRandom

this was a long time coming
This commit is contained in:
yenatch
2013-08-30 22:59:40 -04:00
parent 70ecde3f78
commit c9d3881a2f
8 changed files with 184 additions and 183 deletions

View File

@@ -15,7 +15,7 @@ Function1f8000: ; 1f8000
ld a, [hRandomAdd]
ld b, a
.asm_1f8022
call RNG
call Random
ld a, [hRandomAdd]
add b
ld b, a
@@ -83,7 +83,7 @@ Function1f8081: ; 1f8081
ld a, [hRandomAdd]
ld b, a
.asm_1f8099
call RNG
call Random
ld a, [hRandomAdd]
add b
ld b, a

View File

@@ -1,7 +1,7 @@
GiveOddEgg: ; 1fb4b6
; Figure out which egg to give.
call RNG
call Random
ld hl, .Probabilities
ld c, 0
ld b, c

View File

@@ -39,7 +39,7 @@ Fish: ; 9241a
; Fish for monsters with rod b from encounter data in FishGroup at hl.
; Return monster e at level d.
call RNG
call Random
; Got a bite?
cp [hl]
@@ -59,7 +59,7 @@ Fish: ; 9241a
ld l, a
; Encounter chance for this monster:
call RNG
call Random
.CheckEncounter
cp [hl]