From bd66a78c0326860ee45a9de8c9f1509284eb206e Mon Sep 17 00:00:00 2001 From: IIMarckus Date: Tue, 21 Feb 2012 23:12:03 -0700 Subject: Restrict an argument to 8 bits. Fixes the build on some architectures. hg-commit-id: e66818b266cf --- main.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- cgit v1.2.3