ref: 49a7eeb76d70cbd9082219116de590776e1710c6
parent: 70f6bc8c8421df195f8c7625ab9b8c48e515282b
author: YamaArashi <[email protected]>
date: Tue Jan 19 11:51:05 EST 2016
Update pokedex.asm
--- a/engine/pokedex.asm
+++ b/engine/pokedex.asm
@@ -1053,8 +1053,9 @@
scf
ret
-Pokedex_HLDownBRows: ; 40741
-; Moves the tilemap pointer in HL down by B rows.
+Pokedex_FillColumn: ; 40741
+; Fills a column starting at HL, going downwards.
+; B is the height of the column and A is the tile it's filled with.
push de
ld de, SCREEN_WIDTH
.loop
@@ -1107,11 +1108,11 @@
hlcoord 8, 1
ld b, $7
ld a, $5a
- call Pokedex_HLDownBRows
+ call Pokedex_FillColumn
hlcoord 8, 10
ld b, $6
ld a, $5a
- call Pokedex_HLDownBRows
+ call Pokedex_FillColumn
hlcoord 8, 0
ld [hl], $59
hlcoord 8, 8
@@ -1142,7 +1143,7 @@
hlcoord 19, 1
ld a, $7f
ld b, $f
- call Pokedex_HLDownBRows
+ call Pokedex_FillColumn
ld [hl], $39
hlcoord 1, 10
ld bc, $0013
@@ -1265,7 +1266,7 @@
hlcoord 8, 1
ld b, $7
ld a, $5a
- call Pokedex_HLDownBRows
+ call Pokedex_FillColumn
hlcoord 8, 8
ld [hl], $53
hlcoord 8, 9