You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
NUM_GRASSMON * 2
This commit is contained in:
@@ -276,7 +276,7 @@ ChooseWildEncounter: ; 2a14f
|
||||
inc hl
|
||||
inc hl
|
||||
ld a, [wTimeOfDay]
|
||||
ld bc, $e
|
||||
ld bc, NUM_GRASSMON * 2
|
||||
call AddNTimes
|
||||
ld de, GrassMonProbTable
|
||||
|
||||
@@ -675,7 +675,7 @@ UpdateRoamMons: ; 2a30d
|
||||
jr nc, .update_loop ; invalid index, try again
|
||||
inc hl
|
||||
ld c, a
|
||||
ld b, $0
|
||||
ld b, 0
|
||||
add hl, bc
|
||||
add hl, bc
|
||||
ld a, [wRoamMons_LastMapGroup]
|
||||
@@ -819,7 +819,7 @@ RandomUnseenWildMon: ; 2a4ab
|
||||
jr z, .randloop1
|
||||
dec a
|
||||
ld c, a
|
||||
ld b, $0
|
||||
ld b, 0
|
||||
add hl, bc
|
||||
add hl, bc
|
||||
; We now have the pointer to one of the last (rarest) three wild Pokemon found in that area.
|
||||
@@ -894,7 +894,7 @@ RandomPhoneWildMon: ; 2a51f
|
||||
call Random
|
||||
and %11
|
||||
ld c, a
|
||||
ld b, $0
|
||||
ld b, 0
|
||||
add hl, bc
|
||||
add hl, bc
|
||||
inc hl
|
||||
|
Reference in New Issue
Block a user