ref: 3068ab2e19497ace112eb9608975944ebb3ae210
parent: bf67f7174d8e3f1348c786618ee5a3a076d1eff8
author: YamaArashi <shadow962@live.com>
date: Sat Dec 31 12:36:05 EST 2016
use text constants in poison.asm
--- a/engine/overworld/poison.asm
+++ b/engine/overworld/poison.asm
@@ -51,7 +51,7 @@
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 @@
and a
jr nz, .noBlackOut
call EnableAutoTextBoxDrawing
- ld a, $d1
+ ld a, TEXT_BLACKED_OUT
ld [hSpriteIndexOrTextID], a
call DisplayTextID
ld hl, wd72e