made all palettes have their length set in grit

This commit is contained in:
cellos51
2025-08-28 19:03:48 -04:00
parent bc32707126
commit 4b7a22baff
7 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -1 +1 @@
-gt -gB8 -mLa -mRa
-gt -gB8 -mLa -mRa -pe 16
@@ -1 +1 @@
-gt -gB8 -mLa -mRa
-gt -gB8 -mLa -mRa -pe 16
+1 -1
View File
@@ -1 +1 @@
-gB8 -mR8 -mLs -mRtf
-gB8 -mR8 -mLs -mRtf -pe 160
+1 -1
View File
@@ -1 +1 @@
-gB8 -mR8 -mLs -mRtf
-gB8 -mR8 -mLs -mRtf -pe 160
+1 -1
View File
@@ -1 +1 @@
-gB8 -mR8 -mLs -mRtf
-gB8 -mR8 -mLs -mRtf -pe 160
+1 -1
View File
@@ -1 +1 @@
-gB8 -mR8 -mLs -mRtf
-gB8 -mR8 -mLs -mRtf -pe 160
+5 -5
View File
@@ -445,8 +445,8 @@ void change_background(int id)
// Load the tiles and palette
// Background
memcpy16(pal_bg_mem, background_gfxPal, PAL_BG_MAX_SIZE); // This '64" isn't a specific number, I'm just using it to prevent the text colors from being overridden
GRIT_CPY(&tile8_mem[MAIN_BG_CBB], background_gfxTiles); // Deadass i have no clue how any of these memory things work but I just messed with them until stuff worked
GRIT_CPY(pal_bg_mem, background_gfxPal);
GRIT_CPY(&tile8_mem[MAIN_BG_CBB], background_gfxTiles);
GRIT_CPY(&se_mem[MAIN_BG_SBB], background_gfxMap);
if (current_blind == BIG_BLIND) // Change text and palette depending on blind type
@@ -507,7 +507,7 @@ void change_background(int id)
{
toggle_windows(false, true);
memcpy16(pal_bg_mem, background_shop_gfxPal, PAL_BG_MAX_SIZE);
GRIT_CPY(pal_bg_mem, background_shop_gfxPal);
GRIT_CPY(&tile_mem[MAIN_BG_CBB], background_shop_gfxTiles);
GRIT_CPY(&se_mem[MAIN_BG_SBB], background_shop_gfxMap);
@@ -536,7 +536,7 @@ void change_background(int id)
toggle_windows(false, true);
memcpy16(pal_bg_mem, background_blind_select_gfxPal, PAL_BG_MAX_SIZE);
GRIT_CPY(pal_bg_mem, background_blind_select_gfxPal);
GRIT_CPY(&tile_mem[MAIN_BG_CBB], background_blind_select_gfxTiles);
GRIT_CPY(&se_mem[MAIN_BG_SBB], background_blind_select_gfxMap);
@@ -638,7 +638,7 @@ void change_background(int id)
toggle_windows(false, false);
tte_erase_screen();
memcpy16(pal_bg_mem, background_main_menu_gfxPal, PAL_BG_MAX_SIZE);
GRIT_CPY(pal_bg_mem, background_main_menu_gfxPal);
GRIT_CPY(&tile_mem[MAIN_BG_CBB], background_main_menu_gfxTiles);
GRIT_CPY(&se_mem[MAIN_BG_SBB], background_main_menu_gfxMap);