summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-12-31 17:36:05 -0800
committerYamaArashi <shadow962@live.com>2016-12-31 17:36:05 -0800
commit3068ab2e19497ace112eb9608975944ebb3ae210 (patch)
treede808cb8b7b134a5bf4c05f73683c9bf69cf00f7
parentbf67f7174d8e3f1348c786618ee5a3a076d1eff8 (diff)
use text constants in poison.asm
-rw-r--r--engine/overworld/poison.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/overworld/poison.asm b/engine/overworld/poison.asm
index 75f68568..5d8eb9fd 100644
--- a/engine/overworld/poison.asm
+++ b/engine/overworld/poison.asm
@@ -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