mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
gfx/*.asm files have INCBINs
This commit is contained in:
parent
ee4ec65fc1
commit
7de7441e72
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
2
main.asm
2
main.asm
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user