You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
rgbds supports 'X - 1' instead of 'X + -1'
This commit is contained in:
@@ -117,7 +117,7 @@ GeneratePartyMonStats:
|
||||
and a
|
||||
jr nz, .randomlygeneratemoves
|
||||
ld de, wEnemyMonMoves
|
||||
rept NUM_MOVES + -1
|
||||
rept NUM_MOVES - 1
|
||||
ld a, [de]
|
||||
inc de
|
||||
ld [hli], a
|
||||
@@ -128,7 +128,7 @@ endr
|
||||
|
||||
.randomlygeneratemoves
|
||||
xor a
|
||||
rept NUM_MOVES + -1
|
||||
rept NUM_MOVES - 1
|
||||
ld [hli], a
|
||||
endr
|
||||
ld [hl], a
|
||||
|
||||
Reference in New Issue
Block a user