diff --git a/ootw/Makefile b/ootw/Makefile index 59bac6f1..3f506b02 100644 --- a/ootw/Makefile +++ b/ootw/Makefile @@ -17,7 +17,7 @@ OOTW: ootw.o ootw.o: ootw.s \ gr_copy.s gr_fast_clear.s gr_pageflip.s gr_unrle.s gr_putsprite.s \ - ootw_backgrounds.inc ootw_sprites.inc + ootw_pool.inc ootw_cavern.inc ootw_sprites.inc ca65 -o ootw.o ootw.s -l ootw.lst #### @@ -27,8 +27,11 @@ HELLO: hello.bas ##### -ootw_backgrounds.inc: $(PNG2RLE) another.png - $(PNG2RLE) asm another.png planet_rle > ootw_backgrounds.inc +ootw_pool.inc: $(PNG2RLE) another.png + $(PNG2RLE) asm another.png pool_rle > ootw_pool.inc + +ootw_cavern.inc: $(PNG2RLE) another_cave.png + $(PNG2RLE) asm another_cave.png cavern_rle > ootw_cavern.inc ##### diff --git a/ootw/another_cave.png b/ootw/another_cave.png new file mode 100644 index 00000000..d858ee5a Binary files /dev/null and b/ootw/another_cave.png differ diff --git a/ootw/ootw.s b/ootw/ootw.s index 2352691b..0745afc0 100644 --- a/ootw/ootw.s +++ b/ootw/ootw.s @@ -1,4 +1,4 @@ - ; Ootw +; Ootw .include "zp.inc" .include "hardware.inc" @@ -40,9 +40,9 @@ ootw: lda #$00 sta BASL ; load image off-screen $c00 - lda #>(planet_rle) + lda #>(pool_rle) sta GBASH - lda #<(planet_rle) + lda #<(pool_rle) sta GBASL jsr load_rle_gr @@ -494,5 +494,6 @@ end_message: .include "gr_copy.s" .include "gr_putsprite.s" .include "gr_offsets.s" -.include "ootw_backgrounds.inc" +.include "ootw_pool.inc" +.include "ootw_cavern.inc" .include "ootw_sprites.inc" diff --git a/ootw/ootw_cavern.inc b/ootw/ootw_cavern.inc new file mode 100644 index 00000000..bbd073ec --- /dev/null +++ b/ootw/ootw_cavern.inc @@ -0,0 +1,44 @@ +cavern_rle: .byte $28 ; ysize=48 + .byte $A0,$39,$22, $A7,$62, $65, $A3,$55, $F5, $25, $A9,$22 + .byte $62, $22,$22, $62, $A6,$22, $62,$62, $A3,$22, $62 + .byte $AB,$66, $55, $6F, $FF, $F6, $66,$66, $62,$62 + .byte $A4,$22, $66,$66, $62, $66,$66, $62, $A3,$22, $62 + .byte $66, $6F,$6F, $F2, $22,$22, $AC,$66, $55, $66,$66 + .byte $6F, $FF, $F6, $A3,$66, $62, $66, $22 + .byte $A6,$66, $22,$22, $A6,$66, $22,$22, $6F, $F6,$F6, $AE,$66 + .byte $6F, $F6, $A4,$66, $22, $66,$66, $6F,$6F, $F6,$F6 + .byte $22,$22, $66, $26, $A4,$66, $22,$22, $A3,$66, $6F,$6F + .byte $F6,$F6, $AC,$66, $6F, $F6, $66,$66, $22, $A6,$66 + .byte $22,$22, $6F, $2F, $7A, $A3,$F6, $22,$22, $A7,$66 + .byte $6F,$6F, $F6,$F6, $AA,$66, $6F, $F6, $A3,$66, $26 + .byte $56, $76, $66, $22,$22, $26, $52, $57 + .byte $76,$76, $66, $22,$22, $A3,$6F, $A3,$F6, $A5,$66, $6F,$6F + .byte $F6,$F6, $A7,$66, $6F, $F6, $66,$66, $22, $A3,$55 + .byte $22,$22, $A4,$55, $27, $76, $22,$22, $66,$66, $26 + .byte $A3,$66, $A3,$6F, $A3,$F6, $A3,$66, $6F,$6F, $F6,$F6, $A5,$66 + .byte $6F, $F6, $22, $25, $55,$55, $22,$22, $A3,$55 + .byte $22, $55,$55, $22,$22, $56, $22, $77, $A0,$17,$66 + .byte $22,$22, $52, $55, $22,$22, $55,$55, $52, $A3,$55 + .byte $22,$22, $A4,$55, $76, $A0,$15,$66, $22, $25, $55,$55 + .byte $22,$22, $A6,$55, $22,$22, $55, $52, $22, $55 + .byte $77, $7F, $6F,$6F, $7F, $6F,$6F, $88, $A3,$6F + .byte $7F,$7F, $76, $77, $76, $A6,$66, $22, $55 + .byte $25, $55, $22,$22, $25, $A5,$55, $22,$22, $A5,$55 + .byte $77, $A5,$87, $88, $87, $88, $A3,$87, $A3,$77 + .byte $A6,$87, $22, $25, $22, $55, $A3,$22, $A5,$55 + .byte $22,$22, $55,$55, $25, $52, $A3,$57, $58,$58, $78 + .byte $58, $AA,$88, $58, $78, $A3,$88, $A4,$72, $A3,$22 + .byte $A5,$55, $22,$22, $55, $25, $22, $A8,$55, $58,$58 + .byte $88,$88, $22, $88,$88, $58,$58, $A4,$55, $58, $22 + .byte $55,$55, $75,$75, $A3,$22, $27, $55, $25, $55,$55 + .byte $A3,$22, $55, $57, $AC,$55, $22, $A4,$55, $25 + .byte $A4,$55, $22, $27, $57, $55, $A5,$22, $55 + .byte $22, $55, $25, $A4,$22, $25, $AC,$55, $22 + .byte $A3,$55, $25, $22, $A3,$55, $A3,$22, $25, $85 + .byte $A5,$22, $55, $A9,$22, $A7,$82, $A3,$85, $25, $22,$22 + .byte $25, $85, $22,$22, $85,$85, $A3,$82, $A5,$88, $82 + .byte $88,$88, $28, $88,$88, $28, $88,$88, $28, $88 + .byte $28, $A3,$88, $82, $A5,$88, $82,$82, $AC,$88, $A8,$28 + .byte $A0,$1B,$88, $28,$28, $A6,$88, $28, $22, $28, $88 + .byte $A3,$82, $A0,$1E,$88, $A0,$78,$00 + .byte $A1 diff --git a/ootw/ootw_backgrounds.inc b/ootw/ootw_pool.inc similarity index 98% rename from ootw/ootw_backgrounds.inc rename to ootw/ootw_pool.inc index ee82b1bf..025fbf1c 100644 --- a/ootw/ootw_backgrounds.inc +++ b/ootw/ootw_pool.inc @@ -1,4 +1,4 @@ -planet_rle: .byte $28 ; ysize=48 +pool_rle: .byte $28 ; ysize=48 .byte $22,$22, $99, $A9,$66, $76, $77, $76, $AD,$66 .byte $67, $AB,$66, $88, $22, $29, $86, $A6,$66 .byte $76, $A3,$66, $7F, $76, $AE,$66, $67, $66