mirror of https://github.com/pret/pokecrystal.git
x is the standard temp variable
This commit is contained in:
parent
94ae404732
commit
7c0553b2d2
|
@ -407,11 +407,11 @@ ValidateBTParty: ; 170394
|
||||||
ld c, l
|
ld c, l
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
and a
|
and a
|
||||||
idx = $ff
|
x = $ff
|
||||||
rept ($ff +- NUM_POKEMON)
|
rept ($ff +- NUM_POKEMON)
|
||||||
jr z, .invalid
|
jr z, .invalid
|
||||||
cp idx
|
cp x
|
||||||
idx = idx +- 1
|
x = x +- 1
|
||||||
endr
|
endr
|
||||||
jr nz, .valid
|
jr nz, .valid
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue