use "x + -1" not "x +- 1"
(TODO: use "x - 1" once rgbds allows it)
This commit is contained in:
@@ -408,10 +408,10 @@ ValidateBTParty: ; 170394
|
||||
ld a, [hl]
|
||||
and a
|
||||
x = $ff
|
||||
rept ($ff +- NUM_POKEMON)
|
||||
rept ($ff + -NUM_POKEMON)
|
||||
jr z, .invalid
|
||||
cp x
|
||||
x = x +- 1
|
||||
x = x + -1
|
||||
endr
|
||||
jr nz, .valid
|
||||
|
||||
|
Reference in New Issue
Block a user