Fix Silph Letter battle bug

well, that was embarassing...
This commit is contained in:
Llinos Evans 2023-09-20 00:13:39 +01:00
parent 508a4e790e
commit 9d935a59a1

View file

@ -128,6 +128,9 @@ ItemUsePtrTable:
dw UnusableItem ; FLOOR_14F dw UnusableItem ; FLOOR_14F
ItemUseLetter: ItemUseLetter:
ld a, [wIsInBattle]
and a
jp nz, ItemUseNotTime
text_asm text_asm
ld hl, ChiefLetterText ld hl, ChiefLetterText
call PrintText call PrintText