Identify more unnamed labels

This commit is contained in:
Rangi
2020-06-29 12:25:58 -04:00
parent 022f9e6af1
commit f2efda1f68
9 changed files with 250 additions and 255 deletions

View File

@@ -50,7 +50,7 @@ AIChooseMove:
.CheckMovePP:
inc b
ld a, b
cp wEnemyMonMovesEnd - wEnemyMonMoves + 1
cp NUM_MOVES + 1
jr z, .ApplyLayers
inc hl
ld a, [de]
@@ -119,7 +119,7 @@ AIChooseMove:
.DecrementScores:
ld hl, wBuffer1
ld de, wEnemyMonMoves
ld c, wEnemyMonMovesEnd - wEnemyMonMoves
ld c, NUM_MOVES
.DecrementNextScore:
; If the enemy has no moves, this will infinite.