blob: 4ab84d2cfed94c421e67c6d335ac357962100a5a (
plain)
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
39
40
41
42
43
44
45
46
|
; screen size
SCREEN_WIDTH EQU 20 ; tiles
SCREEN_HEIGHT EQU 18 ; tiles
; background map size
BG_MAP_WIDTH EQU 32 ; tiles
BG_MAP_HEIGHT EQU 32 ; tiles
; cgb palette size
CGB_PAL_SIZE EQU 8 ; bytes
palettes EQUS "* CGB_PAL_SIZE"
; tile size
TILE_SIZE EQU 16 ; bytes
tiles EQUS "* TILE_SIZE"
TILE_SIZE_1BPP EQU 8 ; bytes
tiles_1bpp EQUS "* TILE_SIZE_1BPP"
; wFlushPaletteFlags constants
FLUSH_ONE EQU %10000000
FLUSH_ALL EQU %11000000
FLUSH_ALL_F EQU 6
; wSpriteAnimBuffer
SPRITE_ANIM_BUFFER_CAPACITY EQU 16 ; sprites
; sprite_anim_struct constants
const_def
const SPRITE_ANIM_FIELD_00
const SPRITE_ANIM_FIELD_01
const SPRITE_ANIM_COORD_X
const SPRITE_ANIM_COORD_Y
const SPRITE_ANIM_TILE_ID
const SPRITE_ANIM_FIELD_05
const SPRITE_ANIM_FIELD_06
const SPRITE_ANIM_FIELD_07
const SPRITE_ANIM_FIELD_08
const SPRITE_ANIM_FIELD_09
const SPRITE_ANIM_FIELD_0A
const SPRITE_ANIM_FIELD_0B
const SPRITE_ANIM_FIELD_0C
const SPRITE_ANIM_FIELD_0D
const SPRITE_ANIM_MOVEMENT_COUNTER
const SPRITE_ANIM_FIELD_0F
SPRITE_ANIM_LENGTH EQU const_value
|