use text constants in poison.asm

This commit is contained in:
YamaArashi 2016-12-31 17:36:05 -08:00
parent bf67f7174d
commit 3068ab2e19

View file

@ -51,7 +51,7 @@ ApplyOutOfBattlePoisonDamage:
xor a xor a
ld [wJoyIgnore], a ld [wJoyIgnore], a
call EnableAutoTextBoxDrawing call EnableAutoTextBoxDrawing
ld a, $d0 ld a, TEXT_MON_FAINTED
ld [hSpriteIndexOrTextID], a ld [hSpriteIndexOrTextID], a
call DisplayTextID call DisplayTextID
pop de pop de
@ -98,7 +98,7 @@ ApplyOutOfBattlePoisonDamage:
and a and a
jr nz, .noBlackOut jr nz, .noBlackOut
call EnableAutoTextBoxDrawing call EnableAutoTextBoxDrawing
ld a, $d1 ld a, TEXT_BLACKED_OUT
ld [hSpriteIndexOrTextID], a ld [hSpriteIndexOrTextID], a
call DisplayTextID call DisplayTextID
ld hl, wd72e ld hl, wd72e