Prev: 7000 Up: Map Next: 7182
7002: Sprite data
Contains data for 32 sprites, or actually entities, since only those entities with entries in the sprite_allocation_table are rendered as sprites. Other entities have entries in the center_enemy_map and are rendered in a bitmap at the center of the screen.
Byte offset Purpose
$00 Sprite type, or $FF if not allocated
$01 Polar y (depth, -11 is closest, 0 is normal ship position, 116 is furthest away)
$02 Polar x (angle, 0 at bottom center, moving clockwise to 16 at the left side, 32 at the top, and 48 at the right side)
$03 Movement counter, velocity. For enemy, upper nybble from path data, lower nybble sprite position in wave
$04 Loaded pattern index within sprite type, $FF means not loaded
$05 Copy of sprite type to check for pattern reload
$06 Replacement sprite type when destroyed, or LSB of path address
$07 Flags, velocity, or MSB of path address
$08 Screen y
$09 Screen x
$0A Pattern
$0B Color
Sprite type Pattern example Description
$00 udg47590_56x4 Ship body
$01 udg47718_56x4 Ship exhaust
$02 udg47846_56x4 Shot
$03 udg47878_56x4 Double shot pickup
$04 udg47886_56x4 Dots (another explosion)
$05 udg47918_56x4 Destroyed enemy
$06 udg47950_56x4 Number 5
$07 udg47958_56x4 Number 10
$08 udg47966_56x4 Number 15
$09 udg47974_56x4 Number 20
$0A udg47982_56x4 Number 25
$0B udg47990_56x4 Number 30
$0C udg47998_56x4 Number 00
$0D udg48614_56x4 Explosion dot
$0E udg48006_56x4 Enemy
$0F udg48134_56x4 Enemy
$10 udg48262_56x4 Enemy
$11 udg48390_56x4 Enemy
$12 udg48518_56x4 Enemy missile 1
$13 udg48550_56x4 Enemy missile 2
$14 udg48582_56x4 Meteor
$15 udg48622_56x4 Laser fence end 1
$16 udg48718_56x4 Laser fence end 2
$17 udg48814_56x4 Laser fence center
$18 udg48910_56x4 Star shaped enemy
$19 udg48942_56x4 Three spheres
$1A udg48974_56x4 Enemy (chance stage) 1
$1B udg49006_56x4 Enemy (chance stage) 2
$1C udg49038_56x4 Enemy (chance stage) 3
sprite_data 7002 DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
700E DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
701A DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
7026 DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
7032 DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
703E DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
704A DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
7056 DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
7062 DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
706E DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
707A DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
7086 DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
7092 DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
709E DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
70AA DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
70B6 DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
70C2 DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
70CE DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
70DA DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
70E6 DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
70F2 DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
70FE DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
710A DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
7116 DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
7122 DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
712E DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
713A DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
7146 DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
7152 DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
715E DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
716A DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
7176 DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
Prev: 7000 Up: Map Next: 7182