summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-02-22 06:25:19 -0500
committeryenatch <yenatch@gmail.com>2014-02-22 06:25:19 -0500
commit43c10efb293c44cbc9cb2f1a487c388ed04e2529 (patch)
treeb9783c0ae3235e52f729261a4642d8b03a02f60e
parent11f8168995f8cb6c60c999ead92a9776493344fa (diff)
footprints
how did we forget that?
-rw-r--r--gfx/misc/footprints.1bpp1
-rw-r--r--main.asm28
2 files changed, 20 insertions, 9 deletions
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