Skip to content

Commit

Permalink
QoL #3: store footprints normally
Browse files Browse the repository at this point in the history
Co-Authored-By: aaaaaa123456789 <aaaaaa123456789@acidch.at>
  • Loading branch information
aaaaaa123456789 authored and vulcandth committed Oct 2, 2022
1 parent 8e88b25 commit 6c219df
Show file tree
Hide file tree
Showing 2 changed files with 259 additions and 603 deletions.
20 changes: 3 additions & 17 deletions engine/pokedex/pokedex.asm
Original file line number Diff line number Diff line change
Expand Up @@ -2393,32 +2393,18 @@ Pokedex_LoadAnyFootprint:
dec a
and %111
swap a ; * $10
add a, a
ld l, a
ld h, 0
add hl, de
ld de, Footprints
add hl, de

push hl
ld e, l
ld d, h
ld hl, vTiles2 tile $62
lb bc, BANK(Footprints), 2
call Request1bpp
pop hl

; Whoever was editing footprints forgot to fix their
; tile editor. Now each bottom half is 8 tiles off.
ld de, 8 tiles
add hl, de

ld e, l
ld d, h
ld hl, vTiles2 tile $64
lb bc, BANK(Footprints), 2
call Request1bpp

ret
lb bc, BANK(Footprints), 4
jp Request1bpp

Pokedex_LoadGFX:
call DisableLCD
Expand Down
Loading

0 comments on commit 6c219df

Please sign in to comment.