Skip to content

Commit

Permalink
use text constants in poison.asm
Browse files Browse the repository at this point in the history
  • Loading branch information
YamaArashi committed Jan 1, 2017
1 parent bf67f71 commit 3068ab2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/overworld/poison.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3068ab2

Please sign in to comment.