Browse Source

Increase intro map to maximum size

master
Forest Belton 3 years ago
parent
commit
82252372d2
3 changed files with 5 additions and 1 deletions
  1. BIN
      png/map/intro.png
  2. BIN
      png/map/intro_coll.png
  3. +5
    -1
      src/bg.s

BIN
png/map/intro.png View File

Before After
Width: 160  |  Height: 144  |  Size: 1.2 KiB Width: 256  |  Height: 256  |  Size: 2.4 KiB

BIN
png/map/intro_coll.png View File

Before After
Width: 160  |  Height: 144  |  Size: 378 B Width: 256  |  Height: 256  |  Size: 718 B

+ 5
- 1
src/bg.s View File

@ -33,7 +33,11 @@ BG_Init::
call memcpy call memcpy
dec e dec e
jr z, .done jr z, .done
ld d, 32 - intro_WIDTH
; nothing to skip if map is max width
ld a, 32 - intro_WIDTH
or a
jr z, .copy_map_row
ld d, a
.skip: .skip:
; skip over trailing part in vram ; skip over trailing part in vram
inc c inc c

Loading…
Cancel
Save