diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-09-11 18:55:32 -0400 |
---|---|---|
committer | mid-kid <esteve.varela@gmail.com> | 2020-09-12 11:21:09 +0200 |
commit | 56099725726805d1e25e1a3b95d2d6072cc6534c (patch) | |
tree | 507a5704ff1d63a9595cd42be78be3c20631f94f | |
parent | df089c929def157b6f9a9a8beb165a2aaadb3e28 (diff) |
Extract graphics from bank $6E and $6F
-rw-r--r-- | Makefile | 15 | ||||
-rw-r--r-- | gfx/bill_walk.png | bin | 0 -> 612 bytes | |||
-rw-r--r-- | gfx/bulbasaur_walk.png | bin | 0 -> 666 bytes | |||
-rw-r--r-- | gfx/charmander_walk.png | bin | 0 -> 731 bytes | |||
-rw-r--r-- | gfx/clefairy_walk.png | bin | 0 -> 719 bytes | |||
-rw-r--r-- | gfx/jigglypuff_walk.png | bin | 0 -> 627 bytes | |||
-rw-r--r-- | gfx/lv_2_mt_otsukimi.png | bin | 0 -> 1786 bytes | |||
-rw-r--r-- | gfx/lv_2_mt_otsukimi_sgb.png | bin | 0 -> 1605 bytes | |||
-rw-r--r-- | gfx/mew_silhouette_walk.png | bin | 0 -> 402 bytes | |||
-rw-r--r-- | gfx/mew_walk.png | bin | 0 -> 649 bytes | |||
-rw-r--r-- | gfx/misty_walk.png | bin | 0 -> 641 bytes | |||
-rw-r--r-- | gfx/pikachu_walk.png | bin | 0 -> 700 bytes | |||
-rw-r--r-- | gfx/psyduck_walk.png | bin | 0 -> 671 bytes | |||
-rw-r--r-- | gfx/squirtle_walk.png | bin | 0 -> 600 bytes | |||
-rw-r--r-- | gfx/text_chars_2.png | bin | 0 -> 5671 bytes | |||
-rw-r--r-- | source/bank_6e.asm | 49 | ||||
-rw-r--r-- | source/bank_6f.asm | 15 |
17 files changed, 77 insertions, 2 deletions
@@ -44,8 +44,21 @@ $(dir_build)/%.o: $(dir_build)/%.asm | $(gfx) $$(dir $$@) $(dir_build)/%.o: %.asm | $(gfx) $$(dir $$@) $(RGBASM) $(RGBASMFLAGS) -i $(dir_build)/ -i include/ -M $(@:.o=.d) -o $@ $< +$(dir_build)/%.bin: RGBGFXFLAGS = $(dir_build)/%.bin: %.png | $$(dir $$@) - $(RGBGFX) -o $@ $< + $(RGBGFX) $(RGBGFXFLAGS) -o $@ $< + +$(dir_build)/gfx/pikachu_walk.bin: RGBGFXFLAGS = -h +$(dir_build)/gfx/bulbasaur_walk.bin: RGBGFXFLAGS = -h +$(dir_build)/gfx/charmander_walk.bin: RGBGFXFLAGS = -h +$(dir_build)/gfx/squirtle_walk.bin: RGBGFXFLAGS = -h +$(dir_build)/gfx/clefairy_walk.bin: RGBGFXFLAGS = -h +$(dir_build)/gfx/jigglypuff_walk.bin: RGBGFXFLAGS = -h +$(dir_build)/gfx/misty_walk.bin: RGBGFXFLAGS = -h +$(dir_build)/gfx/mew_walk.bin: RGBGFXFLAGS = -h +$(dir_build)/gfx/mew_silhouette_walk.bin: RGBGFXFLAGS = -h +$(dir_build)/gfx/psyduck_walk.bin: RGBGFXFLAGS = -h +$(dir_build)/gfx/bill_walk.bin: RGBGFXFLAGS = -h .PRECIOUS: %/ %/: diff --git a/gfx/bill_walk.png b/gfx/bill_walk.png Binary files differnew file mode 100644 index 0000000..5eeb561 --- /dev/null +++ b/gfx/bill_walk.png diff --git a/gfx/bulbasaur_walk.png b/gfx/bulbasaur_walk.png Binary files differnew file mode 100644 index 0000000..ff4300a --- /dev/null +++ b/gfx/bulbasaur_walk.png diff --git a/gfx/charmander_walk.png b/gfx/charmander_walk.png Binary files differnew file mode 100644 index 0000000..88694f1 --- /dev/null +++ b/gfx/charmander_walk.png diff --git a/gfx/clefairy_walk.png b/gfx/clefairy_walk.png Binary files differnew file mode 100644 index 0000000..22d295f --- /dev/null +++ b/gfx/clefairy_walk.png diff --git a/gfx/jigglypuff_walk.png b/gfx/jigglypuff_walk.png Binary files differnew file mode 100644 index 0000000..75bd331 --- /dev/null +++ b/gfx/jigglypuff_walk.png diff --git a/gfx/lv_2_mt_otsukimi.png b/gfx/lv_2_mt_otsukimi.png Binary files differnew file mode 100644 index 0000000..ed81b54 --- /dev/null +++ b/gfx/lv_2_mt_otsukimi.png diff --git a/gfx/lv_2_mt_otsukimi_sgb.png b/gfx/lv_2_mt_otsukimi_sgb.png Binary files differnew file mode 100644 index 0000000..a83f8e6 --- /dev/null +++ b/gfx/lv_2_mt_otsukimi_sgb.png diff --git a/gfx/mew_silhouette_walk.png b/gfx/mew_silhouette_walk.png Binary files differnew file mode 100644 index 0000000..826c485 --- /dev/null +++ b/gfx/mew_silhouette_walk.png diff --git a/gfx/mew_walk.png b/gfx/mew_walk.png Binary files differnew file mode 100644 index 0000000..8f07294 --- /dev/null +++ b/gfx/mew_walk.png diff --git a/gfx/misty_walk.png b/gfx/misty_walk.png Binary files differnew file mode 100644 index 0000000..080b5da --- /dev/null +++ b/gfx/misty_walk.png diff --git a/gfx/pikachu_walk.png b/gfx/pikachu_walk.png Binary files differnew file mode 100644 index 0000000..2eb6208 --- /dev/null +++ b/gfx/pikachu_walk.png diff --git a/gfx/psyduck_walk.png b/gfx/psyduck_walk.png Binary files differnew file mode 100644 index 0000000..10e9011 --- /dev/null +++ b/gfx/psyduck_walk.png diff --git a/gfx/squirtle_walk.png b/gfx/squirtle_walk.png Binary files differnew file mode 100644 index 0000000..eaacb77 --- /dev/null +++ b/gfx/squirtle_walk.png diff --git a/gfx/text_chars_2.png b/gfx/text_chars_2.png Binary files differnew file mode 100644 index 0000000..2fd9216 --- /dev/null +++ b/gfx/text_chars_2.png diff --git a/source/bank_6e.asm b/source/bank_6e.asm new file mode 100644 index 0000000..765e5b3 --- /dev/null +++ b/source/bank_6e.asm @@ -0,0 +1,49 @@ +SECTION "bank6e", ROMX[$4000], BANK[$6e] + +gfx_text_chars_bw:: +INCBIN "gfx/text_chars_2.bin" +.end:: + +gfx_pikachu_walk:: +INCBIN "gfx/pikachu_walk.bin" +.end:: + +gfx_bulbasaur_walk:: +INCBIN "gfx/bulbasaur_walk.bin" +.end:: + +gfx_charmander_walk:: +INCBIN "gfx/charmander_walk.bin" +.end:: + +gfx_squirtle_walk:: +INCBIN "gfx/squirtle_walk.bin" +.end:: + +gfx_clefairy_walk:: +INCBIN "gfx/clefairy_walk.bin" +.end:: + +gfx_jigglypuff_walk:: +INCBIN "gfx/jigglypuff_walk.bin" +.end:: + +gfx_misty_walk:: +INCBIN "gfx/misty_walk.bin" +.end:: + +gfx_mew_walk:: +INCBIN "gfx/mew_walk.bin" +.end:: + +gfx_mew_silhouette_walk:: +INCBIN "gfx/mew_silhouette_walk.bin" +.end:: + +gfx_psyduck_walk:: +INCBIN "gfx/psyduck_walk.bin" +.end:: + +gfx_bill_walk:: +INCBIN "gfx/bill_walk.bin" +.end:: diff --git a/source/bank_6f.asm b/source/bank_6f.asm index d72f8d7..d4d908b 100644 --- a/source/bank_6f.asm +++ b/source/bank_6f.asm @@ -1,4 +1,17 @@ -SECTION "gfx_text_chars", ROMX[$4000], BANK[$6f] +SECTION "bank6f", ROMX[$4000], BANK[$6f] + gfx_text_chars:: INCBIN "gfx/text_chars.bin" .end:: + +gfx_lv_2_mt_otsukimi:: +INCBIN "gfx/lv_2_mt_otsukimi.bin" +.end:: + +gfx_lv_2_mt_otsukimi_sgb:: +INCBIN "gfx/lv_2_mt_otsukimi_sgb.bin" +.end:: + +gfx_lv_2_mt_otsukimi_duplicate:: +INCBIN "gfx/lv_2_mt_otsukimi.bin" +.end:: |