summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.asm b/main.asm
index b15e04bd..230bd1f1 100644
--- a/main.asm
+++ b/main.asm
@@ -17111,7 +17111,7 @@ ItemUsePokeflute: ; 6140
.inBattle\@
xor a
ld [$cd3d],a ; initialize variable that indicates if any pokemon were woken up to zero
- ld b,~SLP
+ ld b,~SLP & $FF
ld hl,W_PARTYMON1_STATUS
call WakeUpEntireParty
ld a,[W_ISINBATTLE]