forked from ISSOtm/Aevilia-GB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtileset.asm
38 lines (28 loc) · 808 Bytes
/
tileset.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
INCLUDE "macros.asm"
INCLUDE "constants.asm"
SECTION "Tileset pointers", ROMX[$4300]
TilesetROMBanks:: ; MAKE SURE THIS IS 256-BYTE ALIGNED!!
db BANK(OverworldTileset)
db BANK(IntroTileset)
db BANK(InteriorTileset)
db BANK(InteriorTilesetDark)
db BANK(RuinsTileset)
db BANK(BeachTileset)
TilesetPointers::
dw OverworldTileset
dw IntroTileset
dw InteriorTileset
dw InteriorTilesetDark
dw RuinsTileset
dw BeachTileset
; ** Tileset structure **
; Byte - Number of tiles
; Tiles - VRAM tile data
; blk_meta - Block metadata
; palette - Pointers to BG Palettes 2-8
INCLUDE "tileset/overworld.asm"
INCLUDE "tileset/intro.asm"
INCLUDE "tileset/interior.asm"
INCLUDE "tileset/interior_dark.asm"
INCLUDE "tileset/ruins.asm"
INCLUDE "tileset/beach.asm"