ref: 1a888f22004aec967d2b6049ede7e04b1815f956
parent: ee48c7a3ed6f558810acfc2919adfde061669123
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Sun Jun 24 09:00:55 EDT 2018
NUM_GRASSMON * 2
--- a/engine/overworld/wildmons.asm
+++ b/engine/overworld/wildmons.asm
@@ -276,7 +276,7 @@
inc hl
inc hl
ld a, [wTimeOfDay]
- ld bc, $e
+ ld bc, NUM_GRASSMON * 2
call AddNTimes
ld de, GrassMonProbTable
@@ -675,7 +675,7 @@
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 @@
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 @@
call Random
and %11
ld c, a
- ld b, $0
+ ld b, 0
add hl, bc
add hl, bc
inc hl