use "x + -1" not "x +- 1"

(TODO: use "x - 1" once rgbds allows it)
This commit is contained in:
Rangi
2018-02-02 22:55:38 -05:00
parent 45373ec601
commit e32e5212af
27 changed files with 36 additions and 37 deletions

View File

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