Skip to content

Commit

Permalink
Remove "skip" prefix from AI move score labels (#1163)
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanmoore753 authored Dec 29, 2024
1 parent 0124a1e commit 86a87a3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions engine/battle/ai/scoring.asm
Original file line number Diff line number Diff line change
Expand Up @@ -1094,10 +1094,10 @@ AI_Smart_Confuse:
ret c
call Random
cp 10 percent
jr c, .skipdiscourage
jr c, .discourage
inc [hl]

.skipdiscourage
.discourage
; Discourage again if player's HP is below 25%.
call AICheckPlayerQuarterHP
ret c
Expand Down Expand Up @@ -1248,12 +1248,12 @@ AI_Smart_Rage:

; If enemy's Rage is building, 50% chance to encourage this move.
call AI_50_50
jr c, .skipencourage
jr c, .encourage

dec [hl]

; Encourage this move based on Rage's counter.
.skipencourage
.encourage
ld a, [wEnemyRageCounter]
cp 2
ret c
Expand Down Expand Up @@ -1300,14 +1300,14 @@ AI_Smart_Mimic:
cp EFFECTIVE
pop hl
jr c, .discourage
jr z, .skip_encourage
jr z, .encourage

call AI_50_50
jr c, .skip_encourage
jr c, .encourage

dec [hl]

.skip_encourage
.encourage
ld a, [wLastPlayerCounterMove]
push hl
ld hl, UsefulMoves
Expand Down

0 comments on commit 86a87a3

Please sign in to comment.