You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
rename RNG to Random
also fix 'Far' naming scheme for BattleRandom this was a long time coming
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user