Use overworld textbox in text printing functions, differentiating between 1bpp and 2bpp text (#10)

This commit is contained in:
xCrystal
2023-08-11 12:28:14 +02:00
parent 1e02f136fd
commit 052d246ee3
85 changed files with 448 additions and 379 deletions

View File

@@ -4,7 +4,7 @@ SelectMenu::
jp UseRegisteredItem
.NotRegistered:
call OpenText
call OpenText2bpp
ld b, BANK(MayRegisterItemText)
ld hl, MayRegisterItemText
call MapTextbox
@@ -125,14 +125,14 @@ UseRegisteredItem:
dw .Overworld
.NoFunction:
call OpenText
call OpenText2bpp
call CantUseItem
call CloseText
and a
ret
.Current:
call OpenText
call OpenText2bpp
call DoItemEffect
call CloseText
and a