diff options
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:: |