RGBDS syntax updates (#905)

New MACRO and DEF syntax
This commit is contained in:
vulcandth
2022-06-06 16:25:42 -05:00
committed by GitHub
parent a4d346cc8c
commit 3648afda16
179 changed files with 2546 additions and 2545 deletions

View File

@@ -36,13 +36,13 @@
const TILESET_KABUTO_WORD_ROOM ; 22
const TILESET_OMANYTE_WORD_ROOM ; 23
const TILESET_AERODACTYL_WORD_ROOM ; 24
NUM_TILESETS EQU const_value - 1
DEF NUM_TILESETS EQU const_value - 1
; wTileset struct size
TILESET_LENGTH EQU 15
DEF TILESET_LENGTH EQU 15
; roof length (see gfx/tilesets/roofs)
ROOF_LENGTH EQU 9
DEF ROOF_LENGTH EQU 9
; bg palette values (see gfx/tilesets/*_palette_map.asm)
; TilesetBGPalette indexes (see gfx/tilesets/bg_tiles.pal)