mirror of https://github.com/pret/pokecrystal.git
Prevent OaksPKMNTalk from looping forever if NUM_GRASSMON is changed
That should cause no real problems because of a range check right after it.
This commit is contained in:
parent
aae59de91e
commit
248763b238
|
@ -246,7 +246,7 @@ endr
|
|||
.loop3
|
||||
; Choose one of the middle three Pokemon.
|
||||
call Random
|
||||
and NUM_GRASSMON
|
||||
maskbits NUM_GRASSMON
|
||||
cp 2
|
||||
jr c, .loop3
|
||||
cp 5
|
||||
|
|
Loading…
Reference in New Issue