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

@@ -711,7 +711,7 @@ EnemyWithdrewText:
text_far _EnemyWithdrewText
text_end
Function384d5: ; This appears to be unused
EnemyUsedFullHealRed: ; unreferenced
call AIUsedItemSound
call AI_HealStatus
ld a, FULL_HEAL_RED ; X_SPEED
@@ -758,7 +758,7 @@ EnemyUsedDireHit:
ld a, DIRE_HIT
jp PrintText_UsedItemOn_AND_AIUpdateHUD
Function3851e: ; This appears to be unused
Function3851e: ; unreferenced
ldh [hDivisor], a
ld hl, wEnemyMonMaxHP
ld a, [hli]

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.

File diff suppressed because it is too large Load Diff

View File

@@ -6403,7 +6403,7 @@ LoadEnemyMon:
ld hl, wEnemyMonStats
ld de, wEnemyStats
ld bc, wEnemyMonStatsEnd - wEnemyMonStats
ld bc, NUM_EXP_STATS * 2
call CopyBytes
ret