diff options
author | mid-kid <esteve.varela@gmail.com> | 2020-09-14 17:05:33 +0200 |
---|---|---|
committer | mid-kid <esteve.varela@gmail.com> | 2020-09-14 17:05:33 +0200 |
commit | f4f0504c9fd506f21d9864fbfe0c1e49e8197c49 (patch) | |
tree | fe3a3452e5a1f005483ee9037d3b9c3482641bb1 /source | |
parent | 498db1d1aec816d3e45fc86c9a4c6d02f6b008d1 (diff) | |
parent | 83ea6fc2fba1f04fd2266f0a15e873cd94f6ed5b (diff) |
Merge branch 'master' of github.com:mid-kid/pokepicross
Diffstat (limited to 'source')
-rw-r--r-- | source/bank_00.asm | 5 | ||||
-rw-r--r-- | source/bank_02.asm | 10 | ||||
-rw-r--r-- | source/bank_76.asm | 5 | ||||
-rw-r--r-- | source/bank_79.asm | 4 | ||||
-rw-r--r-- | source/bank_7a.asm | 5 |
5 files changed, 17 insertions, 12 deletions
diff --git a/source/bank_00.asm b/source/bank_00.asm index 9cbddd7..1e7cc35 100644 --- a/source/bank_00.asm +++ b/source/bank_00.asm @@ -1424,10 +1424,7 @@ text_draw_char: ld d, [hl] ld hl, gfx_text_chars_bw add hl, de - ld a, l - ld [w_vwf_char_addr + 0], a - ld a, h - ld [w_vwf_char_addr + 1], a + ld16 w_vwf_char_addr, hl ld a, BANK(gfx_text_chars_bw) ld [w_vwf_char_bank], a diff --git a/source/bank_02.asm b/source/bank_02.asm index a15b070..7b25e93 100644 --- a/source/bank_02.asm +++ b/source/bank_02.asm @@ -72,10 +72,7 @@ textbox_print_char:: .done ; Back up string pointer pop hl - ld a, l - ld [w_textbox_cur_string + 0], a - ld a, h - ld [w_textbox_cur_string + 1], a + ld16 w_textbox_cur_string, hl ; Check if the next character is a terminator ld a, [hl+] @@ -102,10 +99,7 @@ textbox_draw_char:: ld d, [hl] ld hl, gfx_text_chars_dark add hl, de - ld a, l - ld [w_vwf_char_addr + 0], a - ld a, h - ld [w_vwf_char_addr + 1], a + ld16 w_vwf_char_addr, hl ld a, BANK(gfx_text_chars_dark) ld [w_vwf_char_bank], a diff --git a/source/bank_76.asm b/source/bank_76.asm index e4dbb0f..8775628 100644 --- a/source/bank_76.asm +++ b/source/bank_76.asm @@ -25,3 +25,8 @@ INCBIN "gfx/levels/lv_7_cycling_road_sgb.bin" gfx_lv_7_cycling_road_duplicate:: INCBIN "gfx/levels/lv_7_cycling_road_unused.bin" .end:: + +SECTION "compressed_tilemap_attrmap_safari_picross", ROMX[$7c35], BANK[$76] +compressed_tilemap_attrmap_safari_picross:: +INCBIN "gfx/game_select/safari_picross.tilemap_attrmap.xor" +.end:: diff --git a/source/bank_79.asm b/source/bank_79.asm new file mode 100644 index 0000000..457da66 --- /dev/null +++ b/source/bank_79.asm @@ -0,0 +1,4 @@ +SECTION "compressed_gfx_game_select", ROMX[$6ba1], BANK[$79] +compressed_gfx_game_select:: +INCBIN "gfx/game_select/game_select.bin.xor" +.end:: diff --git a/source/bank_7a.asm b/source/bank_7a.asm index c743f69..09e13b8 100644 --- a/source/bank_7a.asm +++ b/source/bank_7a.asm @@ -7,3 +7,8 @@ INCBIN "gfx/title/title.tilemap" attrmap_title:: INCBIN "gfx/title/title.attrmap" .end:: + +SECTION "compressed_tilemap_attrmap_pokemon_picross", ROMX[$7d18], BANK[$7a] +compressed_tilemap_attrmap_pokemon_picross:: +INCBIN "gfx/game_select/pokemon_picross.tilemap_attrmap.xor" +.end:: |