mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
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
Block a user