mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-10-17 20:46:24 +13:00
use text constants in poison.asm
This commit is contained in:
parent
bf67f7174d
commit
3068ab2e19
|
@ -51,7 +51,7 @@ ApplyOutOfBattlePoisonDamage:
|
|||
xor a
|
||||
ld [wJoyIgnore], a
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld a, $d0
|
||||
ld a, TEXT_MON_FAINTED
|
||||
ld [hSpriteIndexOrTextID], a
|
||||
call DisplayTextID
|
||||
pop de
|
||||
|
@ -98,7 +98,7 @@ ApplyOutOfBattlePoisonDamage:
|
|||
and a
|
||||
jr nz, .noBlackOut
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld a, $d1
|
||||
ld a, TEXT_BLACKED_OUT
|
||||
ld [hSpriteIndexOrTextID], a
|
||||
call DisplayTextID
|
||||
ld hl, wd72e
|
||||
|
|
Loading…
Reference in a new issue