mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
NUM_GRASSMON * 2
This commit is contained in:
parent
ee48c7a3ed
commit
1a888f2200
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user