-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathRAMDodger.asm
More file actions
47 lines (47 loc) · 1.88 KB
/
RAMDodger.asm
File metadata and controls
47 lines (47 loc) · 1.88 KB
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
org starobject_list + 3*StarStruct
;
;***************************************************************************
; Variable / RAM SECTION
;***************************************************************************
; insert your variables (RAM usage) in the BSS section
; user RAM starts at $c880
;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; Game vars
;;;;;;;;;;;;;;;;;;;;;;;;;
;
; followed by the storage area for abve defined lists
;
;
MAX_DODGE_OBJECTS = 16 ; must be smaller ENEMY OBJECT
dodgeObject_list ds EnemyStruct*(MAX_DODGE_OBJECTS)
dodgeObject_list_end ds 0
oldString ds 3
bonusCollectSave ds 1
levelCountSave ds 1
dodgerGotKilled ds 1
isDiamondRun ds 1
textIntensity ds 0
dodgerAngle1 ds 1
textFadeDirection ds 0
dodgerAngle2 ds 1
landingbayPos ds 0 ; word 3 byte! x = word
fighterPos ds 0 ; word
textPointer ds 0 ; word
dodgerAngle3 ds 1
dodgerAngle4 ds 1
textDisplayDone ds 0
dodgerAccel ds 2
dodgeResult = dodgerAngle4
dodgerProgress ds 2
dodgerFinishedIndicator ds 1
rotateBuf
landingFighterXSpeed16 ds 0
ROT_MINE1 ; 'DUMB' MINE
ds 7*3+1
ROT_MINE2 ; 'MAGNETIC' MINE
ds 9*3+1
ROT_MINE3 ; 'DUMB FIRE-BALL' MINE
ds 10*3+1
ROT_MINE4 ; 'MAGNETIC FIRE-BALL' MINE
ds 10*3+1