-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspr_params.asm
More file actions
29 lines (20 loc) · 916 Bytes
/
spr_params.asm
File metadata and controls
29 lines (20 loc) · 916 Bytes
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
SPR_PARAMS_LEN: equ 4
SPR_PARAMS_BASE: equ 0xe0cd
; Sprite parameter tables: (Y, X) position, sprite pattern number, and color
; Indices
SPR_PARAMS_IDX_Y: equ 0
SPR_PARAMS_IDX_X: equ 1
SPR_PARAMS_IDX_PATTERN_NUM: equ 2
SPR_PARAMS_IDX_COLOR: equ 3
; Falling capsules
FALLING_CAPSULE_SPR_PARAMS: equ SPR_PARAMS_BASE - 1*SPR_PARAMS_LEN ; Weird, it uses one position before the start
; Laser sprites
LASER1_SPR_PARAMS: equ SPR_PARAMS_BASE + 7*SPR_PARAMS_LEN
LASER2_SPR_PARAMS: equ SPR_PARAMS_BASE + 8*SPR_PARAMS_LEN
LASER3_SPR_PARAMS: equ SPR_PARAMS_BASE + 9*SPR_PARAMS_LEN
ALIEN_SPR_PARAMS: equ SPR_PARAMS_BASE + 13*SPR_PARAMS_LEN ; 0xe101
DOH_BULLET_SPR_PARAMS: equ SPR_PARAMS_BASE + 16*SPR_PARAMS_LEN
; Ball sprite parameters
BALL1_SPR_PARAMS: equ SPR_PARAMS_BASE + 10*SPR_PARAMS_LEN; 0xe0f5
BALL2_SPR_PARAMS: equ SPR_PARAMS_BASE + 11*SPR_PARAMS_LEN
BALL3_SPR_PARAMS: equ SPR_PARAMS_BASE + 12*SPR_PARAMS_LEN