-
Notifications
You must be signed in to change notification settings - Fork 1
/
gamedefs.asm
55 lines (44 loc) · 857 Bytes
/
gamedefs.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
UP = 0
RIGHT = 1
DOWN = 2
LEFT = 4
PIPE_VERT = $85
PIPE_HORIZ = $03
PIPE_HEAD1 = $34 ; 'O'
PIPE_HEAD2 = $1c ; '0'
FUEL1 = $14
FUEL2 = $16
ZEROZ = $1c ; '0'
ONEZ = $1d ; '1'
DOT = $1b ; '.'
ENEMY = $0c ; '£'
MAP_PIPE = $08 ; grey square
SCORE_OFFS = $2fe
SCORE_TITLE_OFFS = $2f8
HISCORE_OFFS = $307
HISCORE_TITLE_OFFS = $313
LVL_OFFS = $311
MEN_OFFS = $317
INITIAL_OFFS = $b7
WINCH_OFFS = $34
FUELLING_OFFS = $7a
TIMER_OFFS = $98
CLDSTART1 = 0
CLDLEN1 = 18
CLDSTART2 = 23
CLDLEN2 = 10
NENEMIES = 10
ENEMYSIZE = 8
EO_ENA = 0 ; enemy enable 1 = active
EO_ADL = 1 ; screen address lo
EO_ADH = 2 ; screen address hi
EO_MDL = 3 ; move delta lo
EO_MDH = 4 ; move delta hi
EO_ANL = 5 ; animation ptr lo
EO_ANH = 6 ; animation ptr hi
EO_FNO = 7 ; frame num
MINUS = $16
ERLCHAR = $12
ELRCHAR = $13
enemyanimL2R = 0
enemyanimR2L = 1