Identify some unnamed labels

This commit is contained in:
Rangi
2020-10-06 13:50:02 -04:00
parent 42d0a2567a
commit fc08ff2c38
6 changed files with 343 additions and 300 deletions

View File

@@ -397,7 +397,10 @@ AI_Items:
call EnemyUsedPotion
jp .Use
.asm_382ae ; This appears to be unused
; Everything up to "End unused" is unused
.UnusedHealItem: ; unreferenced
; This has similar conditions to .HealItem
callfar AICheckEnemyMaxHP
jr c, .dont_use
push bc
@@ -440,6 +443,8 @@ AI_Items:
jp c, .Use
jp .DontUse
; End unused
.XAccuracy:
call .XItem
jp c, .DontUse

View File

@@ -483,7 +483,7 @@ AI_Smart_LockOn:
call AIGetEnemyMove
ld a, [wEnemyMoveStruct + MOVE_ACC]
cp 180
cp 71 percent - 1
jr nc, .asm_3884f
ld a, $1
@@ -535,7 +535,7 @@ AI_Smart_LockOn:
call AIGetEnemyMove
ld a, [wEnemyMoveStruct + MOVE_ACC]
cp 180
cp 71 percent - 1
jr nc, .asm_3888b
dec [hl]