mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-11-10 23:40:59 +13:00
Restrict an argument to 8 bits. Fixes the build on some architectures.
hg-commit-id: e66818b266cf
This commit is contained in:
parent
81adc69e65
commit
bd66a78c03
2
main.asm
2
main.asm
|
|
@ -17111,7 +17111,7 @@ ItemUsePokeflute: ; 6140
|
||||||
.inBattle\@
|
.inBattle\@
|
||||||
xor a
|
xor a
|
||||||
ld [$cd3d],a ; initialize variable that indicates if any pokemon were woken up to zero
|
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
|
ld hl,W_PARTYMON1_STATUS
|
||||||
call WakeUpEntireParty
|
call WakeUpEntireParty
|
||||||
ld a,[W_ISINBATTLE]
|
ld a,[W_ISINBATTLE]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue