Use rgbds 0.5.0
This commit is contained in:
@@ -386,11 +386,9 @@ ValidateBTParty: ; unreferenced
|
||||
ld c, l
|
||||
ld a, [hl]
|
||||
and a
|
||||
x = $ff
|
||||
rept $ff - NUM_POKEMON
|
||||
for x, $ff, NUM_POKEMON, -1
|
||||
jr z, .invalid
|
||||
cp x
|
||||
x = x - 1
|
||||
endr
|
||||
jr nz, .valid
|
||||
|
||||
|
Reference in New Issue
Block a user