You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Rename SLP to SLP_MASK (#918)
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
This commit is contained in:
@@ -1472,7 +1472,7 @@ AI_Smart_SleepTalk:
|
||||
; Greatly discourage this move otherwise.
|
||||
|
||||
ld a, [wEnemyMonStatus]
|
||||
and SLP
|
||||
and SLP_MASK
|
||||
cp 1
|
||||
jr z, .discourage
|
||||
|
||||
@@ -1610,7 +1610,7 @@ AI_Smart_HealBell:
|
||||
jr z, .ok
|
||||
dec [hl]
|
||||
.ok
|
||||
and 1 << FRZ | SLP
|
||||
and 1 << FRZ | SLP_MASK
|
||||
ret z
|
||||
call AI_50_50
|
||||
ret c
|
||||
|
||||
Reference in New Issue
Block a user