Use maskbits NUM_TYPES
This commit is contained in:
@@ -27,7 +27,7 @@ BattleCommand_Conversion2: ; 359e6
|
|||||||
|
|
||||||
.loop
|
.loop
|
||||||
call BattleRandom
|
call BattleRandom
|
||||||
and $1f
|
maskbits NUM_TYPES
|
||||||
cp UNUSED_TYPES
|
cp UNUSED_TYPES
|
||||||
jr c, .okay
|
jr c, .okay
|
||||||
cp UNUSED_TYPES_END
|
cp UNUSED_TYPES_END
|
||||||
|
Reference in New Issue
Block a user