Working with cards and vblanking
This commit is contained in:
@@ -83,10 +83,10 @@ inline void textboxFillBlank() {
|
||||
uint8_t tiles[TEXTBOX_WIDTH_IN_TILES * TEXTBOX_HEIGHT_IN_TILES];
|
||||
|
||||
spriteBorderBufferEdges(
|
||||
tiles, TEXTBOX_WIDTH_IN_TILES, TEXTBOX_HEIGHT_IN_TILES, SPRITE_TILESET_WHITE
|
||||
tiles, TEXTBOX_WIDTH_IN_TILES, TEXTBOX_HEIGHT_IN_TILES, SPRITE_TILESET_WHITE_HIGH
|
||||
);
|
||||
|
||||
set_bkg_tiles(
|
||||
spriteBufferBackgroundHigh(
|
||||
0x00, TEXTBOX_WIN_Y,
|
||||
TEXTBOX_WIDTH_IN_TILES, TEXTBOX_HEIGHT_IN_TILES,
|
||||
tiles
|
||||
@@ -129,7 +129,7 @@ inline void conversationTextboxUpdate() {
|
||||
} else {
|
||||
tile = spriteFontTileFromChar(c);
|
||||
|
||||
set_bkg_tiles(
|
||||
spriteBufferBackgroundHigh(
|
||||
0x01 + (TEXTBOX_SCROLL % TEXTBOX_CHARS_PER_ROW),
|
||||
TEXTBOX_WIN_Y + 0x01 + (TEXTBOX_SCROLL / TEXTBOX_CHARS_PER_ROW),
|
||||
1, 1,
|
||||
|
Reference in New Issue
Block a user