summaryrefslogtreecommitdiff
path: root/stats
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-08-30 22:59:40 -0400
committeryenatch <yenatch@gmail.com>2013-08-30 22:59:40 -0400
commitc9d3881a2ffa4e3bdb5e5c12d98c20c0bba1e400 (patch)
treee1b80a12542896021ce624926b7fa2b00517bd92 /stats
parent70ecde3f78dc9885a04eb002f68681d03cc2d212 (diff)
rename RNG to Random
also fix 'Far' naming scheme for BattleRandom this was a long time coming
Diffstat (limited to 'stats')
-rw-r--r--stats/battle_tower.asm4
-rw-r--r--stats/odd_eggs.asm2
-rw-r--r--stats/wild/fish.asm4
3 files changed, 5 insertions, 5 deletions
diff --git a/stats/battle_tower.asm b/stats/battle_tower.asm
index cda7195da..044f351f8 100644
--- a/stats/battle_tower.asm
+++ b/stats/battle_tower.asm
@@ -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
diff --git a/stats/odd_eggs.asm b/stats/odd_eggs.asm
index 243f77434..6922a2de7 100644
--- a/stats/odd_eggs.asm
+++ b/stats/odd_eggs.asm
@@ -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
diff --git a/stats/wild/fish.asm b/stats/wild/fish.asm
index 75f49d6c4..44a30a0b2 100644
--- a/stats/wild/fish.asm
+++ b/stats/wild/fish.asm
@@ -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]