mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-01-23 09:16:20 -08:00
NUM_GRASSMON * 2
This commit is contained in:
parent
ee48c7a3ed
commit
1a888f2200
@ -276,7 +276,7 @@ ChooseWildEncounter: ; 2a14f
|
|||||||
inc hl
|
inc hl
|
||||||
inc hl
|
inc hl
|
||||||
ld a, [wTimeOfDay]
|
ld a, [wTimeOfDay]
|
||||||
ld bc, $e
|
ld bc, NUM_GRASSMON * 2
|
||||||
call AddNTimes
|
call AddNTimes
|
||||||
ld de, GrassMonProbTable
|
ld de, GrassMonProbTable
|
||||||
|
|
||||||
@ -675,7 +675,7 @@ UpdateRoamMons: ; 2a30d
|
|||||||
jr nc, .update_loop ; invalid index, try again
|
jr nc, .update_loop ; invalid index, try again
|
||||||
inc hl
|
inc hl
|
||||||
ld c, a
|
ld c, a
|
||||||
ld b, $0
|
ld b, 0
|
||||||
add hl, bc
|
add hl, bc
|
||||||
add hl, bc
|
add hl, bc
|
||||||
ld a, [wRoamMons_LastMapGroup]
|
ld a, [wRoamMons_LastMapGroup]
|
||||||
@ -819,7 +819,7 @@ RandomUnseenWildMon: ; 2a4ab
|
|||||||
jr z, .randloop1
|
jr z, .randloop1
|
||||||
dec a
|
dec a
|
||||||
ld c, a
|
ld c, a
|
||||||
ld b, $0
|
ld b, 0
|
||||||
add hl, bc
|
add hl, bc
|
||||||
add hl, bc
|
add hl, bc
|
||||||
; We now have the pointer to one of the last (rarest) three wild Pokemon found in that area.
|
; 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
|
call Random
|
||||||
and %11
|
and %11
|
||||||
ld c, a
|
ld c, a
|
||||||
ld b, $0
|
ld b, 0
|
||||||
add hl, bc
|
add hl, bc
|
||||||
add hl, bc
|
add hl, bc
|
||||||
inc hl
|
inc hl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user