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:
@@ -416,7 +416,7 @@ PlaceNonFaintStatus:
|
||||
bit PAR, a
|
||||
jr nz, .place
|
||||
ld de, SlpString
|
||||
and SLP
|
||||
and SLP_MASK
|
||||
jr z, .no_status
|
||||
|
||||
.place
|
||||
|
||||
@@ -1183,7 +1183,7 @@ CheckFaintedFrzSlp:
|
||||
ld hl, MON_STATUS
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
and 1 << FRZ | SLP
|
||||
and 1 << FRZ | SLP_MASK
|
||||
jr nz, .fainted_frz_slp
|
||||
and a
|
||||
ret
|
||||
|
||||
Reference in New Issue
Block a user