You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Rename SLP
to SLP_MASK
(#918)
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
This commit is contained in:
@@ -341,7 +341,7 @@ PokeBallEffect:
|
||||
; Uncomment the line below to fix this.
|
||||
ld b, a
|
||||
ld a, [wEnemyMonStatus]
|
||||
and 1 << FRZ | SLP
|
||||
and 1 << FRZ | SLP_MASK
|
||||
ld c, 10
|
||||
jr nz, .addstatus
|
||||
; ld a, [wEnemyMonStatus]
|
||||
@@ -2189,7 +2189,7 @@ PokeFluteEffect:
|
||||
xor a
|
||||
ld [wPokeFluteCuredSleep], a
|
||||
|
||||
ld b, ~SLP
|
||||
ld b, ~SLP_MASK
|
||||
|
||||
ld hl, wPartyMon1Status
|
||||
call .CureSleep
|
||||
@@ -2231,7 +2231,7 @@ PokeFluteEffect:
|
||||
.loop
|
||||
ld a, [hl]
|
||||
push af
|
||||
and SLP
|
||||
and SLP_MASK
|
||||
jr z, .not_asleep
|
||||
ld a, TRUE
|
||||
ld [wPokeFluteCuredSleep], a
|
||||
|
Reference in New Issue
Block a user