mirror of https://github.com/pret/pokecrystal.git
Use maskbits NUM_TYPES
This commit is contained in:
parent
612fd7cb96
commit
ff3a43d4b0
|
@ -27,7 +27,7 @@ BattleCommand_Conversion2: ; 359e6
|
|||
|
||||
.loop
|
||||
call BattleRandom
|
||||
and $1f
|
||||
maskbits NUM_TYPES
|
||||
cp UNUSED_TYPES
|
||||
jr c, .okay
|
||||
cp UNUSED_TYPES_END
|
||||
|
|
Loading…
Reference in New Issue