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 a, [hl]
|
||||
and a
|
||||
idx = $ff
|
||||
x = $ff
|
||||
rept ($ff +- NUM_POKEMON)
|
||||
jr z, .invalid
|
||||
cp idx
|
||||
idx = idx +- 1
|
||||
cp x
|
||||
x = x +- 1
|
||||
endr
|
||||
jr nz, .valid
|
||||
|
||||
|
|
Loading…
Reference in New Issue