Restrict an argument to 8 bits. Fixes the build on some architectures.

hg-commit-id: e66818b266cf
This commit is contained in:
IIMarckus 2012-02-21 23:12:03 -07:00
parent 81adc69e65
commit bd66a78c03

View file

@ -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]