Jokers appear in the shop but don't do anything yet

This commit is contained in:
cellos51
2025-07-18 19:29:17 -04:00
parent 4a5644eddb
commit 176910c483
9 changed files with 197 additions and 21 deletions
+6
View File
@@ -79,6 +79,12 @@ void sprite_destroy(Sprite **sprite)
*sprite = NULL;
}
int sprite_get_layer(Sprite *sprite)
{
if (sprite == NULL || sprite->obj == NULL) return -1;
return sprite->obj - obj_buffer;
}
// Sprite functions
void sprite_init()
{