You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-12-11 05:02:16 -08:00
Use overworld textbox in text printing functions, differentiating between 1bpp and 2bpp text (#10)
This commit is contained in:
@@ -572,7 +572,7 @@ GiveItem:
|
||||
farcall InitPartyMenuGFX
|
||||
.loop
|
||||
farcall WritePartyMenuTilemap
|
||||
farcall PrintPartyMenuText
|
||||
farcall PlacePartyMenuText
|
||||
call WaitBGMap
|
||||
call SetPalettes
|
||||
call DelayFrame
|
||||
@@ -582,7 +582,7 @@ GiveItem:
|
||||
cp EGG
|
||||
jr nz, .give
|
||||
ld hl, .AnEggCantHoldAnItemText
|
||||
call PrintText
|
||||
call PrintText1bpp
|
||||
jr .loop
|
||||
|
||||
.give
|
||||
@@ -1200,7 +1200,7 @@ Pack_PrintTextNoScroll:
|
||||
push af
|
||||
set NO_TEXT_SCROLL, a
|
||||
ld [wOptions], a
|
||||
call PrintText
|
||||
call PrintText1bpp
|
||||
pop af
|
||||
ld [wOptions], a
|
||||
ret
|
||||
@@ -1357,7 +1357,7 @@ Pack_InitGFX:
|
||||
; Place the textbox for displaying the item description
|
||||
hlcoord 0, SCREEN_HEIGHT - 4 - 2
|
||||
lb bc, 4, SCREEN_WIDTH - 2
|
||||
call Textbox
|
||||
call Textbox1bpp
|
||||
call EnableLCD
|
||||
call DrawPackGFX
|
||||
ret
|
||||
|
||||
Reference in New Issue
Block a user