mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Misc clean up and small improvements
This commit is contained in:
parent
e8dd755e18
commit
459b5bd615
25 changed files with 326 additions and 160 deletions
|
|
@ -990,7 +990,7 @@ ItemUseMedicine:
|
|||
jp .cureStatusAilment
|
||||
.notFullHP ; if the pokemon's current HP doesn't equal its max HP
|
||||
xor a
|
||||
ld [wDanger], a ;disable low health alarm
|
||||
ld [wLowHealthAlarm], a ;disable low health alarm
|
||||
ld [wChannelSoundIDs + Ch5], a
|
||||
push hl
|
||||
push de
|
||||
|
|
@ -1731,7 +1731,7 @@ ItemUsePokeflute:
|
|||
; if some pokemon were asleep
|
||||
ld hl, PlayedFluteHadEffectText
|
||||
call PrintText
|
||||
ld a, [wDanger]
|
||||
ld a, [wLowHealthAlarm]
|
||||
and $80
|
||||
jr nz, .skipMusic
|
||||
call WaitForSoundToFinish ; wait for sound to end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue