Use rgbds 0.5.0

This commit is contained in:
Rangi
2021-04-19 16:31:37 -04:00
parent 3521923096
commit 316fa4b695
28 changed files with 148 additions and 280 deletions

View File

@@ -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