add mike character

This commit is contained in:
2022-06-12 22:45:35 +01:00
parent b02543c848
commit 9239a34256
5 changed files with 172 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ void init_gfx()
// Load Background tiles and then map
set_bkg_data(0, 23, tiles);
set_bkg_tiles(0, 0, map.width, map.height, map.data);
set_sprite_data(0, 14, sprites);
set_sprite_data(0, 26, sprites);
// Turn the background map on to make it visible
SHOW_BKG;
@@ -34,7 +34,7 @@ void main(void)
struct Sprites screen_sprites[NO_SCREEN_SPRITES];
memcpy(&(screen_sprites[0]), &(sprites_info[0]), sizeof(Sprite));
memcpy(&(screen_sprites[0]), &(sprites_info[2]), sizeof(Sprite));
memcpy(&(screen_sprites[1]), &(sprites_info[0]), sizeof(Sprite));
screen_sprites[0].has_joypad = 1;
screen_sprites[1].bitmap_index = SI_UP;