From 43c10efb293c44cbc9cb2f1a487c388ed04e2529 Mon Sep 17 00:00:00 2001 From: yenatch Date: Sat, 22 Feb 2014 06:25:19 -0500 Subject: footprints how did we forget that? --- gfx/misc/footprints.1bpp | 1 + main.asm | 28 +++++++++++++++++++--------- 2 files changed, 20 insertions(+), 9 deletions(-) create mode 100644 gfx/misc/footprints.1bpp diff --git a/gfx/misc/footprints.1bpp b/gfx/misc/footprints.1bpp new file mode 100644 index 000000000..005bfee0f --- /dev/null +++ b/gfx/misc/footprints.1bpp @@ -0,0 +1 @@ +/w'7'o/7'7'_o/????????'#???????????????w7##?o'ogGG????????????_??oO????????oG??χOO?????ϟ???????????????????????????_'7'ތccCÇ???????????/'?ߟ??????????LJ?/o??????OG????ߏ????sCϟ?=q????_O?OG????g???oO??ߏߏ?ߟ???Ϗ?????????????;37???ߟ????????????OOOOϏ??Ϗ????ߏoO733cgG????????LJ??{913#o''''g/''χ????????OO????????'?_??_???????????????????ϟsc?O????????????????????????????????????·??s??????????????????????????7''_O?_wgoO?????????????????_OG????????O?????????c7?O? ??????????? ???????Ç??O?G???g''o????Ǐ????ߟ_?'????????OGoggOO?7# 7# 7#+7##7##?O???????? \ No newline at end of file diff --git a/main.asm b/main.asm index 5b804357b..c5ec8537f 100644 --- a/main.asm +++ b/main.asm @@ -41080,31 +41080,37 @@ Function4147b: ; 4147b srl a srl a srl a - ld e, $0 + ld e, 0 ld d, a ld a, [$d265] dec a - and $7 - swap a + and 7 + swap a ; * $10 ld l, a - ld h, $0 + ld h, 0 add hl, de - ld de, $5434 + ld de, Footprints add hl, de + push hl ld e, l ld d, h ld hl, $9620 - ld bc, $3e02 + lb bc, BANK(Footprints), 2 call Request1bpp pop hl - ld de, $0080 + + ; Whoever was editing footprints forgot to fix their + ; tile editor. Now each bottom half is 8 tiles off. + ld de, $80 add hl, de + ld e, l ld d, h ld hl, $9640 - ld bc, $3e02 + lb bc, BANK(Footprints), 2 call Request1bpp + ret ; 414b7 @@ -81077,8 +81083,12 @@ TownMapGFX: ; f8ba0 INCBIN "gfx/misc/town_map.lz" ; f8ea3 -INCBIN "baserom.gbc", $f8ea3, $fb449 - $f8ea3 +INCBIN "baserom.gbc", $f8ea3, $f9434 - $f8ea3 + +Footprints: +INCBIN "gfx/misc/footprints.1bpp" +INCBIN "baserom.gbc", $fb434, $fb449 - $fb434 Functionfb449:: ; fb449 ld de, $4200 -- cgit v1.2.3