mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
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
|
.loop3
|
||||||
; Choose one of the middle three Pokemon.
|
; Choose one of the middle three Pokemon.
|
||||||
call Random
|
call Random
|
||||||
and NUM_GRASSMON
|
maskbits NUM_GRASSMON
|
||||||
cp 2
|
cp 2
|
||||||
jr c, .loop3
|
jr c, .loop3
|
||||||
cp 5
|
cp 5
|
||||||
|
Loading…
Reference in New Issue
Block a user