gfx/*.asm files have INCBINs

This commit is contained in:
Remy Oukaour 2018-01-10 02:38:45 -05:00
parent ee4ec65fc1
commit 7de7441e72
5 changed files with 6 additions and 5 deletions

View File

@ -6,7 +6,7 @@ tileset: MACRO
ENDM ENDM
; Associated data: ; Associated data:
; - The *GFX, *Meta, and *Coll are defined in data/tileset_data.asm ; - The *GFX, *Meta, and *Coll are defined in gfx/tilesets.asm
; - The *Anim are defined in engine/tileset_anims.asm ; - The *Anim are defined in engine/tileset_anims.asm
; - The *PalMap are defined in gfx/tilesets/palette_maps.asm ; - The *PalMap are defined in gfx/tilesets/palette_maps.asm

View File

@ -5,13 +5,13 @@ LoadMapGroupRoof:: ; 1c000
ld hl, MapGroupRoofs ld hl, MapGroupRoofs
add hl, de add hl, de
ld a, [hl] ld a, [hl]
cp $ff cp -1
ret z ret z
ld hl, Roofs ld hl, Roofs
ld bc, $90 ld bc, 9 tiles
call AddNTimes call AddNTimes
ld de, vTiles2 tile $0a ld de, vTiles2 tile $0a
ld bc, $90 ld bc, 9 tiles
call CopyBytes call CopyBytes
ret ret
; 1c021 ; 1c021

View File

@ -1,4 +1,5 @@
tilepal: MACRO tilepal: MACRO
; used in gfx/tilesets/*_palette_map.asm
; vram bank, pals ; vram bank, pals
x = \1 << OAM_TILE_BANK x = \1 << OAM_TILE_BANK
rept (_NARG +- 1) / 2 rept (_NARG +- 1) / 2

View File

@ -85,7 +85,7 @@ INCLUDE "engine/events/daycare.asm"
INCLUDE "engine/events/print_unown.asm" INCLUDE "engine/events/print_unown.asm"
INCLUDE "engine/events/print_photo.asm" INCLUDE "engine/events/print_photo.asm"
INCLUDE "engine/breeding.asm" INCLUDE "engine/breeding.asm"
INCLUDE "data/tileset_data.asm" INCLUDE "gfx/tilesets.asm"
SECTION "Roofs", ROMX SECTION "Roofs", ROMX