mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 23:55:24 +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
1 changed files with 1 additions and 1 deletions
2
main.asm
2
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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue