mirror of https://github.com/pret/pokecrystal.git
parent
0abd8a7b38
commit
961fad9e15
|
@ -1831,17 +1831,17 @@ AI_Smart_Curse:
|
||||||
jr z, .ghost_curse
|
jr z, .ghost_curse
|
||||||
|
|
||||||
call AICheckEnemyHalfHP
|
call AICheckEnemyHalfHP
|
||||||
jr nc, .encourage
|
jr nc, .discourage
|
||||||
|
|
||||||
ld a, [wEnemyAtkLevel]
|
ld a, [wEnemyAtkLevel]
|
||||||
cp BASE_STAT_LEVEL + 4
|
cp BASE_STAT_LEVEL + 4
|
||||||
jr nc, .encourage
|
jr nc, .discourage
|
||||||
cp BASE_STAT_LEVEL + 2
|
cp BASE_STAT_LEVEL + 2
|
||||||
ret nc
|
ret nc
|
||||||
|
|
||||||
ld a, [wBattleMonType1]
|
ld a, [wBattleMonType1]
|
||||||
cp GHOST
|
cp GHOST
|
||||||
jr z, .greatly_encourage
|
jr z, .greatly_discourage
|
||||||
cp SPECIAL
|
cp SPECIAL
|
||||||
ret nc
|
ret nc
|
||||||
ld a, [wBattleMonType2]
|
ld a, [wBattleMonType2]
|
||||||
|
@ -1853,12 +1853,12 @@ AI_Smart_Curse:
|
||||||
dec [hl]
|
dec [hl]
|
||||||
ret
|
ret
|
||||||
|
|
||||||
.approve
|
.highly_discourage
|
||||||
inc [hl]
|
inc [hl]
|
||||||
inc [hl]
|
inc [hl]
|
||||||
.greatly_encourage
|
.greatly_discourage
|
||||||
inc [hl]
|
inc [hl]
|
||||||
.encourage
|
.discourage
|
||||||
inc [hl]
|
inc [hl]
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
@ -1875,7 +1875,7 @@ AI_Smart_Curse:
|
||||||
push hl
|
push hl
|
||||||
call AICheckLastPlayerMon
|
call AICheckLastPlayerMon
|
||||||
pop hl
|
pop hl
|
||||||
jr nz, .approve
|
jr nz, .highly_discourage
|
||||||
|
|
||||||
jr .ghost_continue
|
jr .ghost_continue
|
||||||
|
|
||||||
|
@ -1887,10 +1887,10 @@ AI_Smart_Curse:
|
||||||
|
|
||||||
.ghost_continue
|
.ghost_continue
|
||||||
call AICheckEnemyQuarterHP
|
call AICheckEnemyQuarterHP
|
||||||
jp nc, .approve
|
jp nc, .highly_discourage
|
||||||
|
|
||||||
call AICheckEnemyHalfHP
|
call AICheckEnemyHalfHP
|
||||||
jr nc, .greatly_encourage
|
jr nc, .greatly_discourage
|
||||||
|
|
||||||
call AICheckEnemyMaxHP
|
call AICheckEnemyMaxHP
|
||||||
ret nc
|
ret nc
|
||||||
|
|
Loading…
Reference in New Issue