Groundwork

Letter is there, post-game warp is done, new post-game event where you receive the letter isn't working properly
This commit is contained in:
Llinos Evans 2023-07-12 17:44:25 +01:00
parent 0852d5f725
commit c4afafb9ac
17 changed files with 206 additions and 12 deletions

View file

@ -111,6 +111,7 @@ ItemUsePtrTable:
dw ItemUseEvoStone ; METAL_COAT
dw ItemUseMysteryBox ; MYSTERY_BOX
dw UnusableItem ; TEA
dw ItemUseLetter ; SILPHLETTER
dw UnusableItem ; FLOOR_B2F
dw UnusableItem ; FLOOR_B1F
dw UnusableItem ; FLOOR_1F
@ -126,6 +127,16 @@ ItemUsePtrTable:
dw UnusableItem ; FLOOR_11F
dw UnusableItem ; FLOOR_14F
ItemUseLetter:
text_asm
ld hl, ChiefLetterText
call PrintText
jp TextScriptEnd
ChiefLetterText:
text_far _ChiefLetterText
text_end
ItemUseMysteryBox:
; Mystery Box can't be used in battle.
ld a, [wIsInBattle]