Added begginings of the round end screen
This commit is contained in:
+11
-10
@@ -29,21 +29,22 @@ void init()
|
||||
REG_BG0CNT = BG_PRIO(1) | BG_CBB(0) | BG_SBB(30) | BG_8BPP | BG_REG_64x32;
|
||||
REG_BG1CNT = BG_PRIO(0) | BG_CBB(1) | BG_SBB(31) | BG_4BPP;
|
||||
|
||||
// Load the tiles and palette
|
||||
memcpy16(pal_bg_mem, background_gfxPal, background_gfxPalLen);
|
||||
memcpy32(&tile_mem[0][0], background_gfxTiles, background_gfxTilesLen);
|
||||
|
||||
memcpy(&tile_mem[4][0], deck_gfxTiles, deck_gfxTilesLen);
|
||||
memcpy(pal_obj_mem, deck_gfxPal, deck_gfxPalLen);
|
||||
|
||||
// Initialize text engine
|
||||
tte_init_se(1, BG_CBB(1) | BG_SBB(31), 0, CLR_WHITE, 14, NULL, NULL);
|
||||
tte_erase_screen();
|
||||
tte_init_con();
|
||||
|
||||
pal_bg_bank[1][15] = 0x029F; // Yellow. honestly fuck libtonc because i cannot figure out how you're supposed to select a color from the palette index so i'm doing it like this
|
||||
pal_bg_bank[2][15] = 0x7E40; // Blue
|
||||
pal_bg_bank[3][15] = 0x213F; // Red
|
||||
pal_bg_bank[12][15] = 0x029F; // Yellow. honestly fuck libtonc because i cannot figure out how you're supposed to select a color from the palette index so i'm doing it like this
|
||||
pal_bg_bank[13][15] = 0x7E40; // Blue
|
||||
pal_bg_bank[14][15] = 0x213F; // Red
|
||||
pal_bg_bank[15][15] = CLR_WHITE;
|
||||
|
||||
// Load the tiles and palette
|
||||
memcpy(pal_bg_mem, background_gfxPal, 64); // This '64" isn't a specific number, I'm just using it to prevent the text colors from being overridden
|
||||
memcpy(&tile_mem[0][0], background_gfxTiles, background_gfxTilesLen);
|
||||
|
||||
memcpy(&tile_mem[4][0], deck_gfxTiles, deck_gfxTilesLen);
|
||||
memcpy(pal_obj_mem, deck_gfxPal, deck_gfxPalLen);
|
||||
|
||||
// Initialize subsystems
|
||||
sprite_init();
|
||||
|
||||
Reference in New Issue
Block a user