diff --git a/games/sb/Makefile b/games/sb/Makefile index 36e5adc5..b1ded929 100644 --- a/games/sb/Makefile +++ b/games/sb/Makefile @@ -42,6 +42,7 @@ fn.o: fn.s zx02_optim.s duet.s hgr_sprite_mask.s hgr_sprite.s hgr_tables.s \ fn_graphics/a2_fortnight_100.hgr.zx02 \ fn_graphics/a2_fortnight_rat1.hgr.zx02 \ fn_graphics/a2_fortnight_rat2.hgr.zx02 \ + fn_graphics/a2_break.hgr.zx02 \ fn_graphics/disk_sprites.inc ca65 -o fn.o fn.s -l fn.lst diff --git a/games/sb/fn.s b/games/sb/fn.s index ec12389a..b92a6ea9 100644 --- a/games/sb/fn.s +++ b/games/sb/fn.s @@ -303,17 +303,19 @@ play_music: jsr play_ed rat_loop: -; bit PAGE1 -; jsr wait_until_keypress + lda #break_image + sta ZX0_src+1 + lda #$20 + jsr full_decomp + + bit PAGE1 -; bit PAGE2 jsr wait_until_keypress - -; jmp rat_loop - jmp fortnight_start @@ -363,6 +365,8 @@ rat1_image: .incbin "fn_graphics/a2_fortnight_rat1.hgr.zx02" rat2_image: .incbin "fn_graphics/a2_fortnight_rat2.hgr.zx02" +break_image: + .incbin "fn_graphics/a2_break.hgr.zx02" .include "fn_graphics/disk_sprites.inc" diff --git a/games/sb/fn_graphics/Makefile b/games/sb/fn_graphics/Makefile index 42ae8ef9..f2d0e6e6 100644 --- a/games/sb/fn_graphics/Makefile +++ b/games/sb/fn_graphics/Makefile @@ -15,6 +15,7 @@ all: a2_fortnight.hgr.zx02 \ a2_fortnight_100.hgr.zx02 \ a2_fortnight_rat1.hgr.zx02 \ a2_fortnight_rat2.hgr.zx02 \ + a2_break.hgr.zx02 \ disk_sprites.inc @@ -40,6 +41,14 @@ disk_sprites.inc: a2_fortnight_sprites.png +#### + +a2_break.hgr.zx02: a2_break.hgr + $(ZX02) a2_break.hgr a2_break.hgr.zx02 + +a2_break.hgr: a2_break.png + $(PNG_TO_HGR) a2_break.png > a2_break.hgr + #### diff --git a/games/sb/fn_graphics/a2_break.png b/games/sb/fn_graphics/a2_break.png new file mode 100644 index 00000000..b2f64539 Binary files /dev/null and b/games/sb/fn_graphics/a2_break.png differ