mirror of
https://github.com/jeremysrand/BuGS.git
synced 2025-04-06 16:37:31 +00:00
More spider sprites.
This commit is contained in:
parent
5371b4e19e
commit
e7ca4d4624
@ -255,6 +255,15 @@ game start
|
||||
ldx #$520b
|
||||
jsl spider1
|
||||
|
||||
ldx #$521b
|
||||
jsl spider1s
|
||||
|
||||
ldx #$522b
|
||||
jsl spider2
|
||||
|
||||
ldx #$523b
|
||||
jsl spider2s
|
||||
|
||||
jsl waitForKey
|
||||
rtl
|
||||
|
||||
|
451
BuGS/sprites.s
451
BuGS/sprites.s
@ -6669,7 +6669,7 @@ spider1 entry
|
||||
; $8 - Off-white
|
||||
;
|
||||
; ..O.|....|....|O...
|
||||
; .O.O|....|...O|.O.
|
||||
; .O.O|....|...O|.O..
|
||||
; O...|O..G|..O.|..O.
|
||||
; ....|.ORG|RO..|....
|
||||
; ..O.|.RRG|RR..|O...
|
||||
@ -6816,6 +6816,455 @@ spider1 entry
|
||||
rtl
|
||||
|
||||
|
||||
spider1s entry
|
||||
dex
|
||||
dex
|
||||
dex
|
||||
dex
|
||||
dex
|
||||
dex
|
||||
dex
|
||||
dex
|
||||
_spriteHeader
|
||||
|
||||
; $c - Green
|
||||
; $4 - Red
|
||||
; $8 - Off-white
|
||||
;
|
||||
; ...O|....|....|.O..
|
||||
; ..O.|O...|....|O.O.
|
||||
; .O..|.O..|G..O|...O
|
||||
; ....|..OR|GRO.|....
|
||||
; ...O|..RR|GRR.|.O..
|
||||
; ..O.|O.GG|GGG.|O.O.
|
||||
; .O..|.OGR|RRGO|...O
|
||||
; ....|...G|RG..|....
|
||||
|
||||
lda $1,s
|
||||
and #$0f0ff
|
||||
ora #$0800
|
||||
sta $1,s
|
||||
|
||||
lda $7,s
|
||||
and #$fff0
|
||||
ora #$0008
|
||||
sta $7,s
|
||||
|
||||
lda $a1,s
|
||||
and #$0fff
|
||||
ora #$8000
|
||||
sta $a1,s
|
||||
|
||||
lda $a3,s
|
||||
and #$ff0f
|
||||
ora #$0080
|
||||
sta $a3,s
|
||||
|
||||
lda $a7,s
|
||||
and #$0f0f
|
||||
ora #$8080
|
||||
sta $a7,s
|
||||
|
||||
tsc
|
||||
adc #$140
|
||||
tcs
|
||||
|
||||
lda $1,s
|
||||
and #$fff0
|
||||
ora #$0008
|
||||
sta $1,s
|
||||
|
||||
lda $3,s
|
||||
and #$fff0
|
||||
ora #$0008
|
||||
sta $3,s
|
||||
|
||||
lda $5,s
|
||||
and #$f00f
|
||||
ora #$08c0
|
||||
sta $5,s
|
||||
|
||||
lda $7,s
|
||||
and #$f0ff
|
||||
ora #$0800
|
||||
sta $7,s
|
||||
|
||||
lda $a3,s
|
||||
and #$00ff
|
||||
ora #$8400
|
||||
sta $a3,s
|
||||
|
||||
lda $a5,s
|
||||
and #$0f00
|
||||
ora #$80c4
|
||||
sta $a5,s
|
||||
|
||||
tsc
|
||||
adc #$140
|
||||
tcs
|
||||
|
||||
lda $1,s
|
||||
and #$f0ff
|
||||
ora #$0800
|
||||
sta $1,s
|
||||
|
||||
lda $3,s
|
||||
and #$00ff
|
||||
ora #$4400
|
||||
sta $3,s
|
||||
|
||||
lda $5,s
|
||||
and #$0f00
|
||||
ora #$40c4
|
||||
sta $5,s
|
||||
|
||||
lda $7,s
|
||||
and #$fff0
|
||||
ora #$0008
|
||||
sta $7,s
|
||||
|
||||
lda $a1,s
|
||||
and #$0fff
|
||||
ora #$8000
|
||||
sta $a1,s
|
||||
|
||||
lda $a3,s
|
||||
and #$000f
|
||||
ora #$cc80
|
||||
sta $a3,s
|
||||
|
||||
lda $a5,s
|
||||
and #$0f00
|
||||
ora #$c0cc
|
||||
sta $a5,s
|
||||
|
||||
lda $a7,s
|
||||
and #$0f0f
|
||||
ora #$8080
|
||||
sta $a7,s
|
||||
|
||||
tsc
|
||||
adc #$140
|
||||
tcs
|
||||
|
||||
lda $1,s
|
||||
and #$fff0
|
||||
ora #$0008
|
||||
sta $1,s
|
||||
|
||||
lda $3,s
|
||||
and #$00f0
|
||||
ora #$c408
|
||||
sta $3,s
|
||||
|
||||
lda #$c844
|
||||
sta $5,s
|
||||
|
||||
lda $7,s
|
||||
and #$f0ff
|
||||
ora #$0800
|
||||
sta $7,s
|
||||
|
||||
lda $a3,s
|
||||
and #$f0ff
|
||||
ora #$0c00
|
||||
sta $a3,s
|
||||
|
||||
lda $a5,s
|
||||
and #$ff00
|
||||
ora #$004c
|
||||
sta $a5,s
|
||||
|
||||
_spriteFooter
|
||||
rtl
|
||||
|
||||
|
||||
spider2 entry
|
||||
dex
|
||||
dex
|
||||
dex
|
||||
dex
|
||||
dex
|
||||
dex
|
||||
dex
|
||||
dex
|
||||
_spriteHeader
|
||||
|
||||
; $c - Green
|
||||
; $4 - Red
|
||||
; $8 - Off-white
|
||||
;
|
||||
; ....|....|....|....
|
||||
; .OOO|....|...O|OO..
|
||||
; O...|O..G|..O.|..O.
|
||||
; ....|.ORG|RO..|....
|
||||
; ....|.RRG|RR..|....
|
||||
; .OOO|.GGG|GG.O|OO..
|
||||
; O...|OGRR|GGO.|..O.
|
||||
; ....|..GR|G...|....
|
||||
|
||||
lda $a1,s
|
||||
and #$00f0
|
||||
ora #$8808
|
||||
sta $a1,s
|
||||
|
||||
lda $a5,s
|
||||
and #$f0ff
|
||||
ora #$0800
|
||||
sta $a5,s
|
||||
|
||||
lda $a7,s
|
||||
and #$ff00
|
||||
ora #$0088
|
||||
sta $a7,s
|
||||
|
||||
tsc
|
||||
adc #$140
|
||||
tcs
|
||||
|
||||
lda $1,s
|
||||
and #$ff0f
|
||||
ora #$0080
|
||||
sta $1,s
|
||||
|
||||
lda $3,s
|
||||
and #$f00f
|
||||
ora #$0c80
|
||||
sta $3,s
|
||||
|
||||
lda $5,s
|
||||
and #$0fff
|
||||
ora #$8000
|
||||
sta $5,s
|
||||
|
||||
lda $7,s
|
||||
and #$0fff
|
||||
ora #$8000
|
||||
sta $7,s
|
||||
|
||||
lda $a3,s
|
||||
and #$00f0
|
||||
ora #$4c08
|
||||
sta $a3,s
|
||||
|
||||
lda $a5,s
|
||||
and #$ff00
|
||||
ora #$0048
|
||||
sta $a5,s
|
||||
|
||||
tsc
|
||||
adc #$140
|
||||
tcs
|
||||
|
||||
lda $3,s
|
||||
and #$ff0f
|
||||
ora #$4c04
|
||||
sta $3,s
|
||||
|
||||
lda $5,s
|
||||
and #$ff00
|
||||
ora #$0044
|
||||
sta $5,s
|
||||
|
||||
lda $a1,s
|
||||
and #$00f0
|
||||
ora #$8808
|
||||
sta $a1,s
|
||||
|
||||
lda $a3,s
|
||||
and #$00f0
|
||||
ora #$cc0c
|
||||
sta $a3,s
|
||||
|
||||
lda $a5,s
|
||||
and #$f000
|
||||
ora #$08cc
|
||||
sta $a5,s
|
||||
|
||||
lda $a7,s
|
||||
and #$ff00
|
||||
ora #$0088
|
||||
sta $a7,s
|
||||
|
||||
tsc
|
||||
adc #$140
|
||||
tcs
|
||||
|
||||
lda $1,s
|
||||
and #$ff0f
|
||||
ora #$0080
|
||||
sta $1,s
|
||||
|
||||
lda #$448c
|
||||
sta $3,s
|
||||
|
||||
lda $5,s
|
||||
and #$0f00
|
||||
ora #$80cc
|
||||
sta $5,s
|
||||
|
||||
lda $7,s
|
||||
and #$0fff
|
||||
ora #$8000
|
||||
sta $7,s
|
||||
|
||||
lda $a3,s
|
||||
and #$00ff
|
||||
ora #$c400
|
||||
sta $a3,s
|
||||
|
||||
lda $a5,s
|
||||
and #$ff0f
|
||||
ora #$00c0
|
||||
sta $a5,s
|
||||
|
||||
_spriteFooter
|
||||
rtl
|
||||
|
||||
|
||||
spider2s entry
|
||||
dex
|
||||
dex
|
||||
dex
|
||||
dex
|
||||
dex
|
||||
dex
|
||||
dex
|
||||
dex
|
||||
_spriteHeader
|
||||
|
||||
; $c - Green
|
||||
; $4 - Red
|
||||
; $8 - Off-white
|
||||
;
|
||||
; ....|....|....|....
|
||||
; ..OO|O...|....|OOO.
|
||||
; .O..|.O..|G..O|...O
|
||||
; ....|..OR|GRO.|....
|
||||
; ....|..RR|GRR.|....
|
||||
; ..OO|O.GG|GGG.|OOO.
|
||||
; .O..|.OGR|RGGO|...O
|
||||
; ....|...G|RG..|....
|
||||
|
||||
lda $a1,s
|
||||
and #$00ff
|
||||
ora #$8800
|
||||
sta $a1,s
|
||||
|
||||
lda $a3,s
|
||||
and #$ff0f
|
||||
ora #$0080
|
||||
sta $a3,s
|
||||
|
||||
lda $a7,s
|
||||
and #$0f00
|
||||
ora #$8088
|
||||
sta $a7,s
|
||||
|
||||
tsc
|
||||
adc #$140
|
||||
tcs
|
||||
|
||||
lda $1,s
|
||||
and #$fff0
|
||||
ora #$0008
|
||||
sta $1,s
|
||||
|
||||
lda $3,s
|
||||
and #$fff0
|
||||
ora #$0008
|
||||
sta $3,s
|
||||
|
||||
lda $5,s
|
||||
and #$f00f
|
||||
ora #$08c0
|
||||
sta $5,s
|
||||
|
||||
lda $7,s
|
||||
and #$f0ff
|
||||
ora #$0800
|
||||
sta $7,s
|
||||
|
||||
lda $a3,s
|
||||
and #$00ff
|
||||
ora #$8400
|
||||
sta $a3,s
|
||||
|
||||
lda $a5,s
|
||||
and #$0f00
|
||||
ora #$80c4
|
||||
sta $a5,s
|
||||
|
||||
tsc
|
||||
adc #$140
|
||||
tcs
|
||||
|
||||
lda $3,s
|
||||
and #$00ff
|
||||
ora #$4400
|
||||
sta $3,s
|
||||
|
||||
lda $5,s
|
||||
and #$0f00
|
||||
ora #$40c4
|
||||
sta $5,s
|
||||
|
||||
lda $a1,s
|
||||
and #$00ff
|
||||
ora #$8800
|
||||
sta $a1,s
|
||||
|
||||
lda $a3,s
|
||||
and #$000f
|
||||
ora #$cc80
|
||||
sta $a3,s
|
||||
|
||||
lda $a5,s
|
||||
and #$0f00
|
||||
ora #$c0cc
|
||||
sta $a5,s
|
||||
|
||||
lda $a7,s
|
||||
and #$0f00
|
||||
ora #$8088
|
||||
sta $a7,s
|
||||
|
||||
tsc
|
||||
adc #$140
|
||||
tcs
|
||||
|
||||
lda $1,s
|
||||
and #$fff0
|
||||
ora #$0008
|
||||
sta $1,s
|
||||
|
||||
lda $3,s
|
||||
and #$00f0
|
||||
ora #$c408
|
||||
sta $3,s
|
||||
|
||||
lda #$c84c
|
||||
sta $5,s
|
||||
|
||||
lda $7,s
|
||||
and #$f0ff
|
||||
ora #$0800
|
||||
sta $7,s
|
||||
|
||||
lda $a3,s
|
||||
and #$f0ff
|
||||
ora #$0c00
|
||||
sta $a3,s
|
||||
|
||||
lda $a5,s
|
||||
and #$ff00
|
||||
ora #$004c
|
||||
sta $a5,s
|
||||
|
||||
_spriteFooter
|
||||
rtl
|
||||
|
||||
|
||||
backupStack dc i2'0'
|
||||
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user