refactor: remove commented-out code and simplify joker initialization
This commit is contained in:
@@ -19,7 +19,6 @@ const static u16 card_sprite_lut[NUM_SUITS][NUM_RANKS] = {
|
||||
|
||||
void card_init()
|
||||
{
|
||||
//GRIT_CPY(&tile_mem[4], deck_gfxTiles);
|
||||
GRIT_CPY(&pal_obj_mem[CARD_PB], deck_gfxPal);
|
||||
}
|
||||
|
||||
|
||||
+1
-2
@@ -36,8 +36,7 @@ static bool used_layers[MAX_JOKER_OBJECTS] = {false}; // Track used layers for j
|
||||
|
||||
void joker_init()
|
||||
{
|
||||
//GRIT_CPY(&tile_mem[4][JOKER_TID], joker_gfxTiles);
|
||||
memcpy16(&pal_obj_mem[PAL_ROW_LEN * JOKER_PB], joker_gfxPal, sizeof(joker_gfxPal) / 2);
|
||||
GRIT_CPY(&pal_obj_mem[PAL_ROW_LEN * JOKER_PB], joker_gfxPal);
|
||||
}
|
||||
|
||||
Joker *joker_new(u8 id)
|
||||
|
||||
Reference in New Issue
Block a user