Use more *Coord

also town map code relabelling
YamaArashi just did town map relabelling but oh well
I aleady made the changes and don't feel like redoing it
This commit is contained in:
dannye 2015-07-14 00:21:03 -05:00
parent 822bb2bd21
commit b509b48a7f
32 changed files with 182 additions and 179 deletions

View file

@ -1420,10 +1420,10 @@ LoadCurrentMapView:: ; 0caa (0:0caa)
ld bc,$0002
add hl,bc
.copyToVisibleAreaBuffer
ld de,wTileMap ; base address for the tiles that are directly transfered to VRAM during V-blank
ld b,$12
deCoord 0, 0 ; base address for the tiles that are directly transfered to VRAM during V-blank
ld b, SCREEN_HEIGHT
.rowLoop2
ld c,$14
ld c, SCREEN_WIDTH
.rowInnerLoop2
ld a,[hli]
ld [de],a
@ -2323,7 +2323,7 @@ LoadMapData:: ; 1241 (0:1241)
call LoadTilesetTilePatternData
call LoadCurrentMapView
; copy current map view to VRAM
ld hl,wTileMap
hlCoord 0, 0
ld de,vBGMap0
ld b,18
.vramCopyLoop