diff --git a/BuGS.xcodeproj/project.pbxproj b/BuGS.xcodeproj/project.pbxproj index 9bda208..7609933 100644 --- a/BuGS.xcodeproj/project.pbxproj +++ b/BuGS.xcodeproj/project.pbxproj @@ -81,6 +81,8 @@ 9D62AF402499CD3A00348F45 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 9D8FFC602491CA28005C9327 /* game.s */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.asm; path = game.s; sourceTree = ""; }; 9D8FFC612491CAF0005C9327 /* game.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = game.h; sourceTree = ""; }; + 9DC4D7BD24B7652100BACF4B /* ship.s */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.asm; path = ship.s; sourceTree = ""; }; + 9DC4D7BE24B80C9600BACF4B /* shot.s */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.asm; path = shot.s; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -171,6 +173,8 @@ 9D3396FC24AECFBB003222B3 /* letters.s */, 9D3396FD24AECFF5003222B3 /* mushrooms.s */, 9D33970024AEFBF2003222B3 /* segments.s */, + 9DC4D7BD24B7652100BACF4B /* ship.s */, + 9DC4D7BE24B80C9600BACF4B /* shot.s */, ); path = sprites; sourceTree = ""; diff --git a/BuGS/game.s b/BuGS/game.s index 75be80e..aa24d59 100644 --- a/BuGS/game.s +++ b/BuGS/game.s @@ -183,321 +183,339 @@ game start ldx #$345b jsl number9 - ldx #$3463 + ldx #$345f jsl flea1 - ldx #$346b + ldx #$3467 jsl flea2 - ldx #$3473 + ldx #$346f jsl flea3 - ldx #$347b + ldx #$3477 jsl flea4 - ldx #$3483 + ldx #$347e jsl score300 - ldx #$348b + ldx #$3486 jsl score600 - ldx #$3493 + ldx #$348e jsl score900 - ldx #$3e0b + ldx #$3e04 jsl leftScorpion1 - ldx #$3e1b + ldx #$3e14 jsl leftScorpion1s - ldx #$3e2b + ldx #$3e24 jsl leftScorpion2 - ldx #$3e3b + ldx #$3e34 jsl leftScorpion2s - ldx #$3e4b + ldx #$3e44 jsl leftScorpion3 - ldx #$3e5b + ldx #$3e54 jsl leftScorpion3s - ldx #$3e6b + ldx #$3e64 jsl leftScorpion4 - ldx #$3e7b + ldx #$3e74 jsl leftScorpion4s - ldx #$480b + ldx #$4804 jsl rightScorpion1 - ldx #$481b + ldx #$4814 jsl rightScorpion1s - ldx #$482b + ldx #$4824 jsl rightScorpion2 - ldx #$483b + ldx #$4834 jsl rightScorpion2s - ldx #$484b + ldx #$4844 jsl rightScorpion3 - ldx #$485b + ldx #$4854 jsl rightScorpion3s - ldx #$486b + ldx #$4864 jsl rightScorpion4 - ldx #$487b + ldx #$4874 jsl rightScorpion4s - ldx #$520b + ldx #$5204 jsl spider1 - ldx #$521b + ldx #$5214 jsl spider1s - ldx #$522b + ldx #$5224 jsl spider2 - ldx #$523b + ldx #$5234 jsl spider2s - ldx #$524b + ldx #$5244 jsl spider3 - ldx #$525b + ldx #$5254 jsl spider3s - ldx #$526b + ldx #$5264 jsl spider4 - ldx #$527b + ldx #$5274 jsl spider4s - ldx #$528b + ldx #$5284 jsl spider5 - ldx #$529b + ldx #$5294 jsl spider5s - ldx #$5c0b + ldx #$5c04 jsl spider6 - ldx #$5c1b + ldx #$5c14 jsl spider6s - ldx #$5c2b + ldx #$5c24 jsl spider7 - ldx #$5c3b + ldx #$5c34 jsl spider7s - ldx #$5c43 + ldx #$5c40 jsl explosion1 - ldx #$5c4b + ldx #$5c48 jsl explosion2 - ldx #$5c53 + ldx #$5c50 jsl explosion3 - ldx #$5c5b + ldx #$5c58 jsl explosion4 - ldx #$5c63 + ldx #$5c60 jsl explosion5 - ldx #$5c6b + ldx #$5c68 jsl explosion6 - ldx #$5c73 + ldx #$5c70 jsl leftHead1 - ldx #$5c7b + ldx #$5c78 jsl leftHead1s - ldx #$5c83 + ldx #$5c80 jsl leftHead2 - ldx #$5c8b + ldx #$5c88 jsl leftHead2s - ldx #$5c93 + ldx #$5c90 jsl leftHead3 - ldx #$5c9b + ldx #$5c98 jsl leftHead3s - ldx #$6603 + ldx #$6600 jsl leftHead4 - ldx #$660b + ldx #$6608 jsl leftHead4s - ldx #$6613 + ldx #$6610 jsl leftHead5 - ldx #$661b + ldx #$6618 jsl leftHead5s - ldx #$6623 + ldx #$6620 jsl leftBody1 - ldx #$662b + ldx #$6628 jsl leftBody1s - ldx #$6633 + ldx #$6630 jsl leftBody2 - ldx #$663b + ldx #$6638 jsl leftBody2s - ldx #$6643 + ldx #$6640 jsl leftBody3 - ldx #$664b + ldx #$6648 jsl leftBody3s - ldx #$6653 + ldx #$6650 jsl leftBody4 - ldx #$665b + ldx #$6658 jsl leftBody4s - ldx #$6663 + ldx #$6660 jsl leftBody5 - ldx #$666b + ldx #$6668 jsl leftBody5s - ldx #$6673 + ldx #$6670 jsl rightHead1 - ldx #$667b + ldx #$6678 jsl rightHead1s - ldx #$6683 + ldx #$6680 jsl rightHead2 - ldx #$668b + ldx #$6688 jsl rightHead2s - ldx #$6693 + ldx #$6690 jsl rightHead3 - ldx #$669b + ldx #$6698 jsl rightHead3s - ldx #$7003 + ldx #$7000 jsl rightHead4 - ldx #$700b + ldx #$7008 jsl rightHead4s - ldx #$7013 + ldx #$7010 jsl rightHead5 - ldx #$701b + ldx #$7018 jsl rightHead5s - ldx #$7023 + ldx #$7020 jsl rightBody1 - ldx #$702b + ldx #$7028 jsl rightBody1s - ldx #$7033 + ldx #$7030 jsl rightBody2 - ldx #$703b + ldx #$7038 jsl rightBody2s - ldx #$7043 + ldx #$7040 jsl rightBody3 - ldx #$704b + ldx #$7048 jsl rightBody3s - ldx #$7053 + ldx #$7050 jsl rightBody4 - ldx #$705b + ldx #$7058 jsl rightBody4s - ldx #$7063 + ldx #$7060 jsl rightBody5 - ldx #$706b + ldx #$7068 jsl rightBody5s - ldx #$7073 + ldx #$7070 jsl leftDownHead1 - ldx #$707b + ldx #$7078 jsl leftDownHead1s - ldx #$7083 + ldx #$7080 jsl leftDownHead2 - ldx #$708b + ldx #$7088 jsl leftDownHead2s - ldx #$7093 + ldx #$7090 jsl leftDownBody1 - ldx #$709b + ldx #$7098 jsl leftDownBody1s - ldx #$7a03 + ldx #$7a00 jsl leftDownBody2 - ldx #$7a0b + ldx #$7a08 jsl leftDownBody2s - ldx #$7a13 + ldx #$7a10 jsl rightDownHead1 - ldx #$7a1b + ldx #$7a18 jsl rightDownHead1s - ldx #$7a23 + ldx #$7a20 jsl rightDownHead2 - ldx #$7a2b + ldx #$7a28 jsl rightDownHead2s - ldx #$7a33 + ldx #$7a30 jsl rightDownBody1 - ldx #$7a3b + ldx #$7a38 jsl rightDownBody1s - ldx #$7a43 + ldx #$7a40 jsl rightDownBody2 - ldx #$7a4b + ldx #$7a48 jsl rightDownBody2s - ldx #$7a53 + ldx #$7a50 jsl downHead1 - ldx #$7a5b + ldx #$7a58 jsl downHead2 - ldx #$7a63 + ldx #$7a60 jsl downHead3 - ldx #$7a6b + ldx #$7a68 jsl downBody1 - ldx #$7a73 + ldx #$7a70 jsl downBody2 - ldx #$7a7b + ldx #$7a78 jsl downBody3 + ldx #$7a80 + jsl drawShip + + ldx #$7a88 + jsl drawShipShift + + ldx #$7a90 + jsl drawHalfShot + + ldx #$7a98 + jsl drawHalfShotShift + + ldx #$8400 + jsl drawShot + + ldx #$8408 + jsl drawShotShift + jsl waitForKey rtl diff --git a/BuGS/sprites/explosions.s b/BuGS/sprites/explosions.s index 7fb1b58..057cf64 100644 --- a/BuGS/sprites/explosions.s +++ b/BuGS/sprites/explosions.s @@ -13,10 +13,6 @@ explosions start explosion1 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -33,102 +29,98 @@ explosion1 entry ; .ROR|.R.G ; - lda $1,s + lda $0,s and #$00ff ora #$4400 - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$fff0 ora #$0004 - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$00f0 ora #$c408 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff0f not necessary with pure green ora #$00c0 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$ff0f not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$0f00 ora #$40cc - sta $3,s + sta $2,s lda #$cc4c - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$0f00 ora #$80cc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s and #$0f00 ora #$c04c - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$fff0 not necessary with pure green ora #$c0cc - sta $3,s + sta $2,s lda #$cc8c - sta $a1,s + sta $a0,s lda #$8ccc - sta $a3,s + sta $a0,s tsc adc #$140 tcs - lda $1,s + lda $0,s and #$00f0 ora #$cc08 - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$0f00 ora #$804c - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$00f0 ora #$8404 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$f0f0 ora #$0c04 - sta $a3,s + sta $a2,s _spriteFooter rtl explosion2 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -145,26 +137,26 @@ explosion2 entry ; .G.R|.G.. ; - lda $1,s + lda $0,s and #$00ff ora #$c400 - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$0f0f ora #$40c0 - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s lda #$4ccc - sta $a3,s + sta $a2,s tsc - adc #$144 + adc #$143 tcs pea $c8cc @@ -209,10 +201,6 @@ explosion2 entry explosion3 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -228,98 +216,94 @@ explosion3 entry ; RGGG|GGG. ; .OG.|.G.O - lda $1,s + lda $0,s and #$00f0 ora #$8c0c - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$ff00 ora #$004c - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$000f not necessary with pure green ora #$ccc0 - sta $a1,s + sta $a0,s lda #$c4cc - sta $a3,s + sta $a2,s tsc adc #$140 tcs lda #$c8cc - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$0f00 ora #$c0c8 - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$0f00 ora #$804c - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$fff0 not necessary with pure green ora #$000c - sta $3,s + sta $2,s lda #$4cc4 - sta $a1,s + sta $a0,s lda #$cc4c - sta $a3,s + sta $a2,s tsc adc #$140 tcs lda #$cc4c - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$0ff0 ora #$c008 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$f0f0 ora #$080c - sta $a3,s + sta $a2,s _spriteFooter rtl explosion4 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -336,109 +320,103 @@ explosion4 entry ; RG.G|GGO. ; - - lda $1,s + lda $0,s and #$000f ora #$c8c0 - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$f0f0 ora #$0c04 - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$f0f0 ora #$0c08 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0f0f not necessary with pure green ora #$c0c0 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s and #$f000 ora #$044c - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$f0f0 ora #$0408 - sta $3,s + sta $2,s - - lda $a1,s + lda $a0,s and #$0f0f ora #$40c0 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0fff not necessary with pure green ora #$c000 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$f0ff ora #$0800 - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$f0f0 ora #$0404 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$00f0 ora #$c804 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s and #$0f0f ora #$4080 - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$000f ora #$c440 - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$f000 ora #$0c4c - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$0f00 ora #$80cc - sta $a3,s + sta $a2,s _spriteFooter rtl explosion5 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -455,108 +433,103 @@ explosion5 entry ; .G.G|OR.. ; - lda $1,s + lda $0,s ; and #$000f not necessary with pure green ora #$000c - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$f0f0 not necessary with pure green ora #$c0c0 - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$00f0 ora #$8c04 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$0ff0 ora #$c004 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s and #$ff00 ora #$00c8 - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$f00f ora #$08c0 - sta $3,s + sta $2,s - - lda $a1,s + lda $a0,s and #$fff0 ora #$0004 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$0fff ora #$4000 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s and #$0f0f ora #$40c0 - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$f0f0 ora #$0404 - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$f0f0 ora #$0c08 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$0ff0 ora #$800c - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s and #$0f00 ora #$404c - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0fff not necessary with pure green ora #$c000 - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$f0f0 not necessary with pure green ora #$0c0c - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$ff00 ora #$0084 - sta $a3,s + sta $a2,s _spriteFooter rtl explosion6 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -573,87 +546,87 @@ explosion6 entry ; .O.O|R.R. ; - lda $1,s + lda $0,s and #$f0f0 ora #$0c08 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0fff not necessary with pure green ora #$c000 - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$0f0f ora #$c040 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$f000 ora #$0484 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $a1,s + lda $a0,s ; and #$ff0f not necessary with pure green ora #$00c0 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0fff not necessary with pure green ora #$c000 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s and #$fff0 ora #$0008 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$fff0 ora #$0008 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$0fff ora #$8000 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s and #$0f0f ora #$c040 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$f0f0 ora #$0808 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$0f0f ora #$4040 - sta $a3,s + sta $a2,s _spriteFooter rtl diff --git a/BuGS/sprites/fleas.s b/BuGS/sprites/fleas.s index af7c4a7..a3e449e 100644 --- a/BuGS/sprites/fleas.s +++ b/BuGS/sprites/fleas.s @@ -14,10 +14,6 @@ fleas start flea1 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -34,28 +30,28 @@ flea1 entry ; ....|.G.G|...G ; - lda $1,s + lda $0,s and #$00ff ora #$8800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$ff0f ora #$0080 - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$00f0 ora #$8804 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$ff00 ora #$0088 - sta $a3,s + sta $a2,s tsc - adc #$0142 + adc #$0141 tcs pea $8844 @@ -124,10 +120,6 @@ flea1 entry flea2 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -144,28 +136,28 @@ flea2 entry ; ....|.G.G|..G. ; - lda $1,s + lda $0,s and #$00ff ora #$8800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$ff0f ora #$0080 - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$00f0 ora #$8804 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$ff00 ora #$0088 - sta $a3,s + sta $a2,s tsc - adc #$0142 + adc #$0141 tcs pea $8844 @@ -238,10 +230,6 @@ flea2 entry flea3 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -258,28 +246,28 @@ flea3 entry ; ....|...G|..G. ; - lda $1,s + lda $0,s and #$00ff ora #$8800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$ff0f ora #$0080 - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$00f0 ora #$8804 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$ff00 ora #$0088 - sta $a3,s + sta $a2,s tsc - adc #$0142 + adc #$0141 tcs pea $8844 @@ -352,10 +340,6 @@ flea3 entry flea4 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -371,28 +355,28 @@ flea4 entry ; ....|..G.|.G.G ; ....|...G|.G.G ; - lda $1,s + lda $0,s and #$00ff ora #$8800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$ff0f ora #$0080 - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$00f0 ora #$8804 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$ff00 ora #$0088 - sta $a3,s + sta $a2,s tsc - adc #$0142 + adc #$0141 tcs pea $8844 diff --git a/BuGS/sprites/scores.s b/BuGS/sprites/scores.s index 5e610d6..e011205 100644 --- a/BuGS/sprites/scores.s +++ b/BuGS/sprites/scores.s @@ -29,91 +29,91 @@ score300 entry ; ....|....|.... ; tsc - adc #$013a + adc #$0140 tcs - lda $1,s + lda $0,s ; and #$00f0 ora #$8808 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$00f0 ora #$8808 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$00f0 ora #$8808 - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$f0f0 ora #$0808 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$f0f0 ora #$0808 - sta $a5,s + sta $a4,s tsc adc #$0140 tcs - lda $1,s + lda $0,s ; and #$00f0 ora #$8808 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$f0f0 ora #$0808 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$f0f0 ora #$0808 - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$f0f0 ora #$0808 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$f0f0 ora #$0808 - sta $a5,s + sta $a4,s tsc adc #$0140 tcs - lda $1,s + lda $0,s ; and #$00f0 ora #$8808 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$00f0 ora #$8808 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$00f0 ora #$8808 - sta $5,s + sta $4,s _spriteFooter rtl @@ -137,91 +137,91 @@ score600 entry ; tsc - adc #$013a + adc #$0140 tcs - lda $1,s + lda $0,s ; and #$00f0 ora #$8808 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$00f0 ora #$8808 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$00f0 ora #$8808 - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$fff0 ora #$0008 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$f0f0 ora #$0808 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$f0f0 ora #$0808 - sta $a5,s + sta $a4,s tsc adc #$0140 tcs - lda $1,s + lda $0,s ; and #$00f0 ora #$8808 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$f0f0 ora #$0808 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$f0f0 ora #$0808 - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$f0f0 ora #$0808 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$f0f0 ora #$0808 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$f0f0 ora #$0808 - sta $a5,s + sta $a4,s tsc adc #$0140 tcs - lda $1,s + lda $0,s ; and #$00f0 ora #$8808 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$00f0 ora #$8808 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$00f0 ora #$8808 - sta $5,s + sta $4,s _spriteFooter rtl @@ -245,91 +245,91 @@ score900 entry ; tsc - adc #$013a + adc #$0140 tcs - lda $1,s + lda $0,s ; and #$00f0 ora #$8808 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$00f0 ora #$8808 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$00f0 ora #$8808 - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$f0f0 ora #$0808 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$f0f0 ora #$0808 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$f0f0 ora #$0808 - sta $a5,s + sta $a4,s tsc adc #$0140 tcs - lda $1,s + lda $0,s ; and #$00f0 ora #$8808 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$f0f0 ora #$0808 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$f0f0 ora #$0808 - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$f0f0 ora #$0808 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$f0f0 ora #$0808 - sta $a5,s + sta $a4,s tsc adc #$0140 tcs - lda $1,s + lda $0,s ; and #$00f0 ora #$8808 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$00f0 ora #$8808 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$00f0 ora #$8808 - sta $5,s + sta $4,s _spriteFooter rtl diff --git a/BuGS/sprites/scorpions.s b/BuGS/sprites/scorpions.s index 8bc0deb..4f5258d 100644 --- a/BuGS/sprites/scorpions.s +++ b/BuGS/sprites/scorpions.s @@ -13,14 +13,6 @@ scorpions start leftScorpion1 entry - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -38,152 +30,144 @@ leftScorpion1 entry ; ldy #$8888 ; Off-white, Off-white, Off-white, Off-white - lda $1,s + lda $0,s ; and #$0f0f ora #$8080 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$00f0 ora #$8404 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0fff ora #$8000 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$ff0f ora #$0080 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$fff0 ora #$0008 - sta $a1,s + sta $a0,s lda #$8444 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$f00f ora #$0840 - sta $a5,s + sta $a4,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$0ff0 ora #$8008 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$00f0 ora #$8808 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$00ff ora #$8800 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$00f0 ora #$8808 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$00ff ora #$8800 - sta $a1,s + sta $a0,s tya - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$0f00 ora #$8088 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$f0f0 ora #$0808 - sta $a7,s + sta $a6,s tsc adc #$142 tcs - lda $1,s + lda $0,s ; and #$00f0 ora #$8808 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff0f ora #$0080 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$f0ff ora #$0800 - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$00f0 ora #$8808 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff0f ora #$0080 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$00ff ora #$8800 - sta $a5,s + sta $a4,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 ora #$8808 - sta $1,s + sta $0,s - lda $a1,s + lda $a0,s ; and #$00ff ora #$8800 - sta $a1,s + sta $a0,s - lda $a5,s + lda $a4,s ; and #$0f00 ora #$8088 - sta $a5,s + sta $a4,s tya - sta $3,s - sta $5,s - sta $a3,s + sta $2,s + sta $4,s + sta $a2,s _spriteFooter rtl leftScorpion1s entry - dex - dex - dex - dex - dex - dex - dex - dex dex dex _spriteHeader @@ -204,136 +188,128 @@ leftScorpion1s entry ldy #$8888 ; Off-white, Off-white, Off-white, Off-white - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$fff0 ora #$0008 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0f00 ora #$4048 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$f0f0 ora #$0808 - sta $7,s + sta $6,s - lda $a3,s + lda $a2,s ; and #$f00f ora #$0480 - sta $a3,s + sta $a2,s lda #$4448 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$0fff ora #$8000 - sta $a7,s + sta $a6,s tsc adc #$142 tcs - lda $1,s + lda $0,s ; and #$ff00 ora #$0088 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 ora #$8088 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0ff0 ora #$8008 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$0f00 ora #$8088 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$00f0 ora #$8808 - sta $a1,s + sta $a0,s tya - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$ff00 ora #$0088 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$0f0f ora #$8080 - sta $a7,s + sta $a6,s tsc adc #$142 tcs tya - sta $1,s - sta $a1,s + sta $0,s + sta $a0,s - lda $5,s + lda $4,s ; and #$0fff ora #$8000 - sta $5,s + sta $4,s - lda $a5,s + lda $a4,s ; and #$0ff0 ora #$8008 - sta $a5,s + sta $a4,s tsc adc #$140 tcs - lda $5,s + lda $4,s ; and #$0f00 ora #$8088 - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$00f0 ora #$8808 - sta $a1,s + sta $a0,s - lda $a5,s + lda $a4,s ; and #$ff00 ora #$0088 - sta $a5,s + sta $a4,s tya - sta $1,s - sta $3,s - sta $a3,s + sta $0,s + sta $2,s + sta $a2,s _spriteFooter rtl leftScorpion2 entry - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -352,142 +328,142 @@ leftScorpion2 entry ldy #$8888 ; Off-white, Off-white, Off-white, Off-white - lda $1,s + lda $0,s ; and #$0f0f ora #$8080 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$00f0 ora #$8404 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0fff ora #$8000 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$ff0f ora #$0080 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$fff0 ora #$0008 - sta $a1,s + sta $a0,s lda #$8444 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$f00f ora #$0840 - sta $a5,s + sta $a4,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$0ff0 ora #$8008 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$00f0 ora #$8808 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$00ff ora #$8800 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$00f0 ora #$8808 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$00ff ora #$8800 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00f0 ora #$8808 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$0ff0 ora #$8008 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$f0f0 ora #$0808 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s tya - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$ff00 ora #$0088 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$fff0 ora #$0008 - sta $7,s + sta $6,s - lda $a3,s + lda $a2,s ; and #$00f0 ora #$8808 - sta $a3,s + sta $a2,s - lda $a7,s + lda $a6,s ; and #$ff00 ora #$0088 - sta $a7,s + sta $a6,s tsc adc #$142 tcs - lda $1,s + lda $0,s ; and #$00f0 ora #$8808 - sta $1,s + sta $0,s - lda $5,s + lda $4,s ; and #$ff00 ora #$0088 - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$00ff ora #$8800 - sta $a1,s + sta $a0,s - lda $a5,s + lda $a4,s ; and #$ff0f ora #$0080 - sta $a5,s + sta $a4,s tya - sta $3,s - sta $a3,s + sta $2,s + sta $a2,s _spriteFooter rtl @@ -496,14 +472,6 @@ leftScorpion2 entry leftScorpion2s entry dex dex - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -521,152 +489,144 @@ leftScorpion2s entry ; ldy #$8888 ; Off-white, Off-white, Off-white, Off-white - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$fff0 ora #$0008 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0f00 ora #$4048 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$f0f0 ora #$0808 - sta $7,s + sta $6,s - lda $a3,s + lda $a2,s ; and #$f00f ora #$0480 - sta $a3,s + sta $a2,s lda #$4448 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$0fff ora #$8000 - sta $a7,s + sta $a6,s tsc adc #$142 tcs - lda $1,s + lda $0,s ; and #$ff00 ora #$0088 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 ora #$8088 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0ff0 ora #$8008 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$0f00 ora #$8088 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$0ff0 ora #$8008 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0f00 ora #$8088 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$ff00 ora #$0088 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$0f0f ora #$8080 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00ff ora #$8800 - sta $1,s + sta $0,s tya - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$ff0f ora #$0080 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$ff0f ora #$0080 - sta $7,s + sta $6,s - lda $a3,s + lda $a2,s ; and #$0f00 ora #$8088 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$f0ff ora #$0800 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$ff0f ora #$0080 - sta $a7,s + sta $a6,s tsc adc #$142 tcs - lda $5,s + lda $4,s ; and #$ff0f ora #$0080 - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$00f0 ora #$8808 - sta $a1,s + sta $a0,s tya - sta $1,s - sta $3,s - sta $a3,s + sta $0,s + sta $2,s + sta $a2,s _spriteFooter rtl leftScorpion3 entry - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -684,127 +644,127 @@ leftScorpion3 entry ; ldy #$8888 ; Off-white, Off-white, Off-white, Off-white - lda $1,s + lda $0,s ; and #$0f0f ora #$8080 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 ora #$4048 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0f0f ora #$8080 - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$f0f0 ora #$0408 - sta $a1,s + sta $a0,s lda #$4448 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$fff0 ora #$0008 - sta $a5,s + sta $a4,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$0ff0 ora #$8008 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 ora #$8088 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$ff00 ora #$0088 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$00ff ora #$8800 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$00ff ora #$8800 - sta $a1,s + sta $a0,s tya - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$ff0f ora #$0080 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$f0f0 ora #$0808 - sta $a7,s + sta $a6,s tsc adc #$142 tcs - lda $1,s + lda $0,s ; and #$0f00 ora #$8088 - sta $1,s + sta $0,s - lda $5,s + lda $4,s ; and #$f000 ora #$0888 - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$0f00 ora #$8088 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00ff ora #$8800 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$f00f ora #$0880 - sta $a5,s + sta $a4,s tsc adc #$140 tcs - lda $5,s + lda $4,s ; and #$0fff ora #$8000 - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$00f0 ora #$8808 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0f00 ora #$8088 - sta $a3,s + sta $a2,s tya - sta $1,s - sta $3,s + sta $0,s + sta $2,s _spriteFooter rtl @@ -813,14 +773,6 @@ leftScorpion3 entry leftScorpion3s entry dex dex - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -838,163 +790,155 @@ leftScorpion3s entry ; ldy #$8888 ; Off-white, Off-white, Off-white, Off-white - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$f0f0 ora #$0408 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$f000 ora #$0884 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$fff0 ora #$0008 - sta $7,s + sta $6,s - lda $a3,s + lda $a2,s ; and #$000f ora #$4480 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$0f0 ora #$4084 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$ff0f ora #$0080 - sta $a7,s + sta $a6,s tsc adc #$142 tcs - lda $1,s + lda $0,s ; and #$f000 ora #$0888 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$f000 ora #$0888 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$ff0f ora #$0080 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$0ff0 ora #$8008 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$00f0 ora #$8808 - sta $a1,s + sta $a0,s tya - sta $a3,s + sta $a2,s - lda $a7,s + lda $a6,s ; and #$0f0f ora #$8080 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff00 ora #$0088 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$f0ff ora #$0800 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$0f0f ora #$8080 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff00 ora #$088 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$00f0 ora #$8808 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$0fff ora #$8000 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $5,s + lda $4,s ; and #$0f00 ora #$8088 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$fff0 ora #$0008 - sta $7,s + sta $6,s - lda $a5,s + lda $a4,s ; and #$ff00 ora #$0088 - sta $a5,s + sta $a4,s tya - sta $3,s - sta $a3,s + sta $2,s + sta $a2,s _spriteFooter rtl leftScorpion4 entry - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1013,107 +957,107 @@ leftScorpion4 entry ldy #$8888 ; Off-white, Off-white, Off-white, Off-white - lda $1,s + lda $0,s ; and #$0f0f ora #$8080 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 ora #$4048 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0f0f ora #$8080 - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$f0f0 ora #$0408 - sta $a1,s + sta $a0,s lda #$4448 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$fff0 ora #$0008 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$ff0f ora #$0080 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$0ff0 ora #$8008 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 ora #$8088 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$f000 ora #$0888 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$0ff0 ora #$8008 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$00ff ora #$8800 - sta $a1,s + sta $a0,s tya - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$f00f ora #$0880 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$00ff ora #$8800 - sta $a7,s + sta $a6,s tsc adc #$142 tcs - lda $1,s + lda $0,s ; and #$0f00 ora #$8088 - sta $1,s + sta $0,s - lda $5,s + lda $4,s ; and #$f00f ora #$0880 - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$0f00 ora #$8088 - sta $a1,s + sta $a0,s - lda $a5,s + lda $a4,s ; and #$f0ff ora #$0800 - sta $a5,s + sta $a4,s tsc - adc #$146 + adc #$145 tcs phy @@ -1140,14 +1084,6 @@ leftScorpion4 entry leftScorpion4s entry dex dex - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1166,160 +1102,152 @@ leftScorpion4s entry ldy #$8888 ; Off-white, Off-white, Off-white, Off-white - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$f0f0 ora #$0408 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$f000 ora #$0884 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$fff0 ora #$0008 - sta $7,s + sta $6,s - lda $a3,s + lda $a2,s ; and #$000f ora #$4480 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$0f0 ora #$4084 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$f00f ora #$0880 - sta $a7,s + sta $a6,s tsc adc #$142 tcs - lda $1,s + lda $0,s ; and #$f000 ora #$0888 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$f000 ora #$0888 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0f0f ora #$8080 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$ff00 ora #$0088 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$00f0 ora #$8808 - sta $a1,s + sta $a0,s tya - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$0fff ora #$8000 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$0ff0 ora #$8008 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff00 ora #$0088 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$f0ff ora #$0800 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$0fff ora #$8000 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff00 ora #$0088 - sta $a3,s + sta $a2,s - lda $a7,s + lda $a6,s ; and #$0fff ora #$8000 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $7,s + lda $6,s ; and #$0f00 ora #$8088 - sta $7,s + sta $6,s - lda $a7,s + lda $a6,s ; and #$ff00 ora #$0088 - sta $a7,s + sta $a6,s tya - sta $3,s - sta $5,s - sta $a3,s - sta $a5,s + sta $2,s + sta $4,s + sta $a2,s + sta $a4,s _spriteFooter rtl rightScorpion1 entry - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1338,117 +1266,117 @@ rightScorpion1 entry ldy #$8888 ; Off-white, Off-white, Off-white, Off-white - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$fff0 ora #$0008 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0f00 ora #$4048 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$f0f0 ora #$0808 - sta $7,s + sta $6,s - lda $a3,s + lda $a2,s ; and #$f00f ora #$0480 - sta $a3,s + sta $a2,s lda #$4448 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$0fff ora #$8000 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$0f00 ora #$8088 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff00 ora #$0088 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0f00 ora #$8088 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$0ff0 ora #$8008 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$0f0f ora #$8080 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00f0 ora #$8808 - sta $a3,s + sta $a2,s tya - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$ff00 ora #$0088 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$ff0f ora #$0080 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$f0ff ora #$0800 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0f00 ora #$8088 - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$ff00 ora #$0088 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$f0ff ora #$0800 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$0f00 ora #$8088 - sta $a5,s + sta $a4,s tsc - adc #$144 + adc #$143 tcs phy @@ -1477,14 +1405,6 @@ rightScorpion1 entry rightScorpion1s entry - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1503,171 +1423,163 @@ rightScorpion1s entry ldy #$8888 ; Off-white, Off-white, Off-white, Off-white - lda $1,s + lda $0,s ; and #$0fff ora #$8000 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$f00f ora #$0480 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$ff00 ora #$0084 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$0f0f ora #$8080 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00ff ora #$4400 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$0f00 ora #$4084 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$fff0 ora #$0008 - sta $a7,s + sta $a6,s tsc adc #$13e tcs - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$f000 ora #$0888 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$f00f ora #$0880 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$ff00 ora #$0088 - sta $7,s + sta $6,s - lda $9,s + lda $8,s ; and #$ff00 ora #$0088 - sta $9,s + sta $8,s - lda $a1,s + lda $a0,s ; and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$fff0 ora #$0008 - sta $a3,s + sta $a2,s tya - sta $a5,s - sta $a7,s + sta $a4,s + sta $a6,s - lda $a9,s + lda $a8,s ; and #$ff0f ora #$0080 - sta $a9,s + sta $a8,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $5,s + lda $4,s ; and #$00ff ora #$8800 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$ff00 ora #$0088 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff0f ora #$0080 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$00ff ora #$8800 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$ff00 ora #$0088 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $7,s + lda $6,s ; and #$ff00 ora #$0088 - sta $7,s + sta $6,s - lda $a7,s + lda $a6,s ; and #$ff0f ora #$0080 - sta $a7,s + sta $a6,s tya - sta $3,s - sta $5,s - sta $a3,s - sta $a5,s + sta $2,s + sta $4,s + sta $a2,s + sta $a4,s _spriteFooter rtl rightScorpion2 entry - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1686,156 +1598,148 @@ rightScorpion2 entry ldy #$8888 ; Off-white, Off-white, Off-white, Off-white - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$fff0 ora #$0008 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0f00 ora #$4048 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$f0f0 ora #$0808 - sta $7,s + sta $6,s - lda $a3,s + lda $a2,s ; and #$f00f ora #$0480 - sta $a3,s + sta $a2,s lda #$4448 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$0fff ora #$8000 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$0f00 ora #$8088 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff00 ora #$0088 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0f00 ora #$8088 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$0ff0 ora #$8008 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$0f0f ora #$8080 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0ff0 ora #$8008 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$0f00 ora #$8088 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$ff00 ora #$0088 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$0fff ora #$8000 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$00ff ora #$8800 - sta $3,s + sta $2,s tya - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$ff0f ora #$0080 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$00ff ora #$8800 - sta $a1,s + sta $a0,s - lda $a5,s + lda $a4,s ; and #$0f00 ora #$8088 - sta $a5,s + sta $a4,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00ff ora #$8800 - sta $1,s + sta $0,s - lda $5,s + lda $4,s ; and #$0f00 ora #$8088 - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s - lda $a5,s + lda $a4,s ; and #$ff00 ora #$0088 - sta $a5,s + sta $a4,s tya - sta $3,s - sta $a3,s + sta $2,s + sta $a2,s _spriteFooter rtl rightScorpion2s entry - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1854,171 +1758,165 @@ rightScorpion2s entry ldy #$8888 ; Off-white, Off-white, Off-white, Off-white - lda $1,s + lda $0,s ; and #$0fff ora #$8000 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$f00f ora #$0480 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$ff00 ora #$0084 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$0f0f ora #$8080 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00ff ora #$4400 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$0f00 ora #$4084 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$fff0 ora #$0008 - sta $a7,s + sta $a6,s tsc adc #$13e tcs - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$f000 ora #$0888 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$f00f ora #$0880 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$ff00 ora #$0088 - sta $7,s + sta $6,s - lda $9,s + lda $8,s ; and #$ff00 ora #$0088 - sta $9,s + sta $8,s - lda $a1,s + lda $a0,s ; and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$fff0 ora #$0008 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$f000 ora #$0888 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$f000 ora #$0888 - sta $a7,s + sta $a6,s - lda $a9,s + lda $a8,s ; and #$ff0f ora #$0080 - sta $a9,s + sta $a8,s tsc adc #$142 tcs - lda $1,s + lda $0,s ; and #$fff0 ora #$0008 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$00f0 ora #$8808 - sta $3,s + sta $2,s tya - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$0ff0 ora #$8008 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$f0ff ora #$0800 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$ff00 ora #$0088 - sta $a5,s + sta $a4,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 ora #$8808 - sta $1,s + sta $0,s - lda $5,s + lda $4,s ; and #$ff00 ora #$0088 - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$00ff ora #$8800 - sta $a1,s + sta $a0,s - lda $a5,s + lda $a4,s ; and #$ff0f ora #$0080 - sta $a5,s + sta $a4,s tya - sta $3,s - sta $a3,s + sta $2,s + sta $a2,s _spriteFooter rtl rightScorpion3 entry - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -2037,139 +1935,133 @@ rightScorpion3 entry ldy #$8888 ; Off-white, Off-white, Off-white, Off-white - lda $1,s + lda $2,s ; and #$f0f0 ora #$0808 - sta $1,s + sta $2,s - lda $3,s + lda $4,s ; and #$00f0 ora #$8404 - sta $3,s + sta $4,s - lda $5,s + lda $6,s ; and #$f0f0 ora #$0808 - sta $5,s + sta $6,s - lda $a1,s + lda $a2,s ; and #$0fff ora #$8000 - sta $a1,s + sta $a2,s lda #$8444 - sta $a3,s + sta $a4,s - lda $a5,s + lda $a6,s ; and #$0f0f ora #$8040 - sta $a5,s + sta $a6,s tsc - adc #$13e + adc #$140 tcs - lda $1,s + lda $0,s ; and #$0f00 ora #$8088 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$00ff ora #$8800 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$00f0 ora #$8808 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$0ff0 ora #$8008 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$0f0f ora #$8080 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$f0ff ora #$0800 - sta $a3,s + sta $a2,s tya - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$ff00 ora #$0088 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$000f ora #$8880 - sta $1,s + sta $0,s - lda $5,s + lda $4,s ; and #$00f0 ora #$8808 - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$f00f ora #$0880 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff00 ora #$0088 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$00f0 ora #$8808 - sta $a5,s + sta $a4,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$fff0 ora #$0008 - sta $1,s + sta $0,s - lda $a3,s + lda $a2,s ; and #$00f0 ora #$8808 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$0f00 ora #$8088 - sta $a5,s + sta $a4,s tya - sta $3,s - sta $5,s + sta $2,s + sta $4,s _spriteFooter rtl rightScorpion3s entry - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -2188,161 +2080,153 @@ rightScorpion3s entry ldy #$8888 ; Off-white, Off-white, Off-white, Off-white - lda $1,s + lda $2,s ; and #$0f0f ora #$8080 - sta $1,s + sta $2,s - lda $3,s + lda $4,s ; and #$0f00 ora #$4048 - sta $3,s + sta $4,s - lda $5,s + lda $6,s ; and #$0f0f ora #$8080 - sta $5,s + sta $6,s - lda $a1,s + lda $a2,s ; and #$f0f0 ora #$0408 - sta $a1,s + sta $a2,s lda #$4448 - sta $a3,s + sta $a4,s - lda $a5,s + lda $a6,s ; and #$fff0 ora #$0008 - sta $a5,s + sta $a6,s tsc - adc #$13c + adc #$13e tcs - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff00 ora #$0088 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0ff0 ora #$8008 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$0f00 ora #$8088 - sta $7,s + sta $6,s - lda $9,s + lda $8,s ; and #$ff00 ora #$0088 - sta $9,s + sta $8,s - lda $a1,s + lda $a0,s ; and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$fff0 ora #$0008 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$00ff ora #$8800 - sta $a5,s + sta $a4,s tya - sta $a7,s + sta $a6,s - lda $a9,s + lda $a8,s ; and #$ff0f ora #$0080 - sta $a9,s + sta $a8,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0ff0 ora #$8008 - sta $3,s + sta $2,s - lda $7,s + lda $6,s ; and #$0f00 ora #$8088 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00ff ora #$8800 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$ff0f ora #$0080 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$0f00 ora #$8088 - sta $a7,s + sta $a6,s tsc adc #$142 tcs - lda $1,s + lda $0,s ; and #$f00f ora #$0880 - sta $1,s + sta $0,s - lda $5,s + lda $4,s ; and #$0f00 ora #$8088 - sta $5,s + sta $4,s - lda $a5,s + lda $a4,s ; and #$ff00 ora #$0088 - sta $a5,s + sta $a4,s tya - sta $3,s - sta $a3,s + sta $2,s + sta $a2,s _spriteFooter rtl rightScorpion4 entry - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -2361,107 +2245,107 @@ rightScorpion4 entry ldy #$8888 ; Off-white, Off-white, Off-white, Off-white - lda $3,s + lda $2,s ; and #$f0f0 ora #$0808 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$00f0 ora #$8404 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$f0f0 ora #$0808 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0fff ora #$8000 - sta $a3,s + sta $a2,s lda #$8444 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$0f0f ora #$8040 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$0ff0 ora #$8008 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$000f ora #$8880 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$00f0 ora #$8808 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$0ff0 ora #$8008 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$ff00 ora #$0088 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$f00f ora #$0880 - sta $a3,s + sta $a2,s tya - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$ff00 ora #$0088 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$f00f ora #$0880 - sta $1,s + sta $0,s - lda $5,s + lda $4,s ; and #$00f0 ora #$8808 - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$ff0f ora #$0080 - sta $a1,s + sta $a0,s - lda $a5,s + lda $a4,s ; and #$00f0 ora #$8808 - sta $a5,s + sta $a4,s tsc - adc #$146 + adc #$145 tcs phy @@ -2486,14 +2370,6 @@ rightScorpion4 entry rightScorpion4s entry - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -2512,139 +2388,139 @@ rightScorpion4s entry ldy #$8888 ; Off-white, Off-white, Off-white, Off-white - lda $3,s + lda $2,s ; and #$0f0f ora #$8080 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0f00 ora #$4048 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$0f0f ora #$8080 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$0fff ora #$8000 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$f0f0 ora #$0408 - sta $a3,s + sta $a2,s lda #$4448 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$fff0 ora #$0008 - sta $a7,s + sta $a6,s tsc adc #$13e tcs - lda $3,s + lda $2,s ; and #$f000 ora #$0888 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0ff0 ora #$8008 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$0f00 ora #$8088 - sta $7,s + sta $6,s - lda $9,s + lda $8,s ; and #$ff00 ora #$0088 - sta $9,s + sta $8,s - lda $a1,s + lda $a0,s ; and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$f00f ora #$0880 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$00ff ora #$8800 - sta $a5,s + sta $a4,s tya - sta $a7,s + sta $a6,s - lda $a9,s + lda $a8,s ; and #$ff0f ora #$0080 - sta $a9,s + sta $a8,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0fff ora #$8000 - sta $3,s + sta $2,s - lda $7,s + lda $6,s ; and #$0f00 ora #$8088 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s - lda $a7,s + lda $a6,s ; and #$0f00 ora #$8088 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $7,s + lda $6,s ; and #$0f00 ora #$8088 - sta $7,s + sta $6,s - lda $a7,s + lda $a6,s ; and #$ff00 ora #$0088 - sta $a7,s + sta $a6,s tya - sta $3,s - sta $a3,s - sta $5,s - sta $a5,s + sta $2,s + sta $a2,s + sta $4,s + sta $a4,s _spriteFooter rtl diff --git a/BuGS/sprites/segments.s b/BuGS/sprites/segments.s index f975275..acacd3f 100644 --- a/BuGS/sprites/segments.s +++ b/BuGS/sprites/segments.s @@ -13,10 +13,6 @@ segments start leftHead1 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -32,27 +28,23 @@ leftHead1 entry ; .RRG|G... ; ...O|.... - lda $1,s + lda $0,s and #$f0ff ora #$0800 - sta $1,s + sta $0,s _leftHead - lda $a1,s + lda $a0,s and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s _spriteFooter rtl leftHead1s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -68,27 +60,23 @@ leftHead1s entry ; ..RR|GG.. ; ....|O... - lda $3,s + lda $2,s and #$ff0f ora #$0080 - sta $3,s + sta $2,s _leftHeadShift - lda $a3,s + lda $a2,s and #$ff0f ora #$0080 - sta $a3,s + sta $a2,s _spriteFooter rtl leftHead2 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -104,27 +92,23 @@ leftHead2 entry ; .RRG|G... ; ....|O... - lda $3,s + lda $2,s and #$ff0f ora #$0080 - sta $3,s + sta $2,s _leftHead - lda $a3,s + lda $a2,s and #$ff0f ora #$0080 - sta $a3,s + sta $a2,s _spriteFooter rtl leftHead2s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -140,27 +124,23 @@ leftHead2s entry ; ..RR|GG.. ; ....|.O.. - lda $3,s + lda $2,s and #$fff0 ora #$0008 - sta $3,s + sta $2,s _leftHeadShift - lda $a3,s + lda $a2,s and #$fff0 ora #$0008 - sta $a3,s + sta $a2,s _spriteFooter rtl leftHead3 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -176,27 +156,23 @@ leftHead3 entry ; .RRG|G... ; ....|.O.. - lda $3,s + lda $2,s and #$fff0 ora #$0008 - sta $3,s + sta $2,s _leftHead - lda $a3,s + lda $a2,s and #$fff0 ora #$0008 - sta $a3,s + sta $a2,s _spriteFooter rtl leftHead3s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -212,27 +188,23 @@ leftHead3s entry ; ..RR|GG.. ; ....|..O. - lda $3,s + lda $2,s and #$0fff ora #$8000 - sta $3,s + sta $2,s _leftHeadShift - lda $a3,s + lda $a2,s and #$0fff ora #$8000 - sta $a3,s + sta $a2,s _spriteFooter rtl leftHead4 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -248,27 +220,23 @@ leftHead4 entry ; .RRG|G... ; ..O.|.... - lda $1,s + lda $0,s and #$0fff ora #$8000 - sta $1,s + sta $0,s _leftHead - lda $a1,s + lda $a0,s and #$0fff ora #$8000 - sta $a1,s + sta $a0,s _spriteFooter rtl leftHead4s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -284,27 +252,23 @@ leftHead4s entry ; ..RR|GG.. ; ...O|.... - lda $1,s + lda $0,s and #$f0ff ora #$0800 - sta $1,s + sta $0,s _leftHeadShift - lda $a1,s + lda $a0,s and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s _spriteFooter rtl leftHead5 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -320,27 +284,23 @@ leftHead5 entry ; .RRG|G... ; .O..|.... - lda $1,s + lda $0,s and #$fff0 ora #$0008 - sta $1,s + sta $0,s _leftHead - lda $a1,s + lda $a0,s and #$fff0 ora #$0008 - sta $a1,s + sta $a0,s _spriteFooter rtl leftHead5s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -356,27 +316,23 @@ leftHead5s entry ; ..RR|GG.. ; ..O.|.... - lda $1,s + lda $0,s and #$0fff ora #$8000 - sta $1,s + sta $0,s _leftHeadShift - lda $a1,s + lda $a0,s and #$0fff ora #$8000 - sta $a1,s + sta $a0,s _spriteFooter rtl leftBody1 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -392,27 +348,23 @@ leftBody1 entry ; .GGG|G... ; ...O|.... - lda $1,s + lda $0,s and #$f0ff ora #$0800 - sta $1,s + sta $0,s _leftBody - lda $a1,s + lda $a0,s and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s _spriteFooter rtl leftBody1s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -428,27 +380,23 @@ leftBody1s entry ; ..GG|GG.. ; ....|O... - lda $3,s + lda $2,s and #$ff0f ora #$0080 - sta $3,s + sta $2,s _leftBodyShift - lda $a3,s + lda $a2,s and #$ff0f ora #$0080 - sta $a3,s + sta $a2,s _spriteFooter rtl leftBody2 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -464,27 +412,23 @@ leftBody2 entry ; .GGG|G... ; ....|O... - lda $3,s + lda $2,s and #$ff0f ora #$0080 - sta $3,s + sta $2,s _leftBody - lda $a3,s + lda $a2,s and #$ff0f ora #$0080 - sta $a3,s + sta $a2,s _spriteFooter rtl leftBody2s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -500,27 +444,23 @@ leftBody2s entry ; ..GG|GG.. ; ....|.O.. - lda $3,s + lda $2,s and #$fff0 ora #$0008 - sta $3,s + sta $2,s _leftBodyShift - lda $a3,s + lda $a2,s and #$fff0 ora #$0008 - sta $a3,s + sta $a2,s _spriteFooter rtl leftBody3 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -536,27 +476,23 @@ leftBody3 entry ; .GGG|G... ; ....|.O.. - lda $3,s + lda $2,s and #$fff0 ora #$0008 - sta $3,s + sta $2,s _leftBody - lda $a3,s + lda $a2,s and #$fff0 ora #$0008 - sta $a3,s + sta $a2,s _spriteFooter rtl leftBody3s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -572,27 +508,23 @@ leftBody3s entry ; ..GG|GG.. ; ....|..O. - lda $3,s + lda $2,s and #$0fff ora #$8000 - sta $3,s + sta $2,s _leftBodyShift - lda $a3,s + lda $a2,s and #$0fff ora #$8000 - sta $a3,s + sta $a2,s _spriteFooter rtl leftBody4 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -608,27 +540,23 @@ leftBody4 entry ; .GGG|G... ; ..O.|.... - lda $1,s + lda $0,s and #$0fff ora #$8000 - sta $1,s + sta $0,s _leftBody - lda $a1,s + lda $a0,s and #$0fff ora #$8000 - sta $a1,s + sta $a0,s _spriteFooter rtl leftBody4s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -644,27 +572,23 @@ leftBody4s entry ; ..GG|GG.. ; ...O|.... - lda $1,s + lda $0,s and #$f0ff ora #$0800 - sta $1,s + sta $0,s _leftBodyShift - lda $a1,s + lda $a0,s and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s _spriteFooter rtl leftBody5 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -680,27 +604,23 @@ leftBody5 entry ; .GGG|G... ; .O..|.... - lda $1,s + lda $0,s and #$fff0 ora #$0008 - sta $1,s + sta $0,s _leftBody - lda $a1,s + lda $a0,s and #$fff0 ora #$0008 - sta $a1,s + sta $a0,s _spriteFooter rtl leftBody5s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -716,27 +636,23 @@ leftBody5s entry ; ..GG|GG.. ; ..O.|.... - lda $1,s + lda $0,s and #$0fff ora #$8000 - sta $1,s + sta $0,s _leftBodyShift - lda $a1,s + lda $a0,s and #$0fff ora #$8000 - sta $a1,s + sta $a0,s _spriteFooter rtl rightHead1 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -752,27 +668,23 @@ rightHead1 entry ; ...G|GRR. ; ....|O... - lda $3,s + lda $2,s and #$ff0f ora #$0080 - sta $3,s + sta $2,s _rightHead - lda $a3,s + lda $a2,s and #$ff0f ora #$0080 - sta $a3,s + sta $a2,s _spriteFooter rtl rightHead1s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -788,27 +700,23 @@ rightHead1s entry ; ..GG|RR.. ; ...O|.... - lda $1,s + lda $0,s and #$f0ff ora #$0800 - sta $1,s + sta $0,s _rightHeadShift - lda $a1,s + lda $a0,s and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s _spriteFooter rtl rightHead2 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -824,27 +732,23 @@ rightHead2 entry ; ...G|GRR. ; ...O|.... - lda $1,s + lda $0,s and #$f0ff ora #$0800 - sta $1,s + sta $0,s _rightHead - lda $a1,s + lda $a0,s and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s _spriteFooter rtl rightHead2s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -860,27 +764,23 @@ rightHead2s entry ; ..GG|RR.. ; ..O.|.... - lda $1,s + lda $0,s and #$0fff ora #$8000 - sta $1,s + sta $0,s _rightHeadShift - lda $a1,s + lda $a0,s and #$0fff ora #$8000 - sta $a1,s + sta $a0,s _spriteFooter rtl rightHead3 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -896,27 +796,23 @@ rightHead3 entry ; ...G|GRR. ; ..O.|.... - lda $1,s + lda $0,s and #$0fff ora #$8000 - sta $1,s + sta $0,s _rightHead - lda $a1,s + lda $a0,s and #$0fff ora #$8000 - sta $a1,s + sta $a0,s _spriteFooter rtl rightHead3s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -932,27 +828,23 @@ rightHead3s entry ; ..GG|RR.. ; .O..|.... - lda $1,s + lda $0,s and #$fff0 ora #$0008 - sta $1,s + sta $0,s _rightHeadShift - lda $a1,s + lda $a0,s and #$fff0 ora #$0008 - sta $a1,s + sta $a0,s _spriteFooter rtl rightHead4 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -968,27 +860,23 @@ rightHead4 entry ; ...G|GRR. ; ....|.O.. - lda $3,s + lda $2,s and #$fff0 ora #$0008 - sta $3,s + sta $2,s _rightHead - lda $a3,s + lda $a2,s and #$fff0 ora #$0008 - sta $a3,s + sta $a2,s _spriteFooter rtl rightHead4s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1004,27 +892,23 @@ rightHead4s entry ; ..GG|RR.. ; ....|O... - lda $3,s + lda $2,s and #$ff0f ora #$0080 - sta $3,s + sta $2,s _rightHeadShift - lda $a3,s + lda $a2,s and #$ff0f ora #$0080 - sta $a3,s + sta $a2,s _spriteFooter rtl rightHead5 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1040,27 +924,23 @@ rightHead5 entry ; ...G|GRR. ; ....|..O. - lda $3,s + lda $2,s and #$0fff ora #$8000 - sta $3,s + sta $2,s _rightHead - lda $a3,s + lda $a2,s and #$0fff ora #$8000 - sta $a3,s + sta $a2,s _spriteFooter rtl rightHead5s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1076,27 +956,23 @@ rightHead5s entry ; ..GG|RR.. ; ....|.O.. - lda $3,s + lda $2,s and #$fff0 ora #$0008 - sta $3,s + sta $2,s _rightHeadShift - lda $a3,s + lda $a2,s and #$fff0 ora #$0008 - sta $a3,s + sta $a2,s _spriteFooter rtl rightBody1 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1112,27 +988,23 @@ rightBody1 entry ; ...G|GGG. ; ....|O... - lda $3,s + lda $2,s and #$ff0f ora #$0080 - sta $3,s + sta $2,s _rightBody - lda $a3,s + lda $a2,s and #$ff0f ora #$0080 - sta $a3,s + sta $a2,s _spriteFooter rtl rightBody1s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1148,27 +1020,23 @@ rightBody1s entry ; ..GG|GG.. ; ...O|.... - lda $1,s + lda $0,s and #$f0ff ora #$0800 - sta $1,s + sta $0,s _rightBodyShift - lda $a1,s + lda $a0,s and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s _spriteFooter rtl rightBody2 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1184,27 +1052,23 @@ rightBody2 entry ; ...G|GGG. ; ...O|.... - lda $1,s + lda $0,s and #$f0ff ora #$0800 - sta $1,s + sta $0,s _rightBody - lda $a1,s + lda $a0,s and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s _spriteFooter rtl rightBody2s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1220,27 +1084,23 @@ rightBody2s entry ; ..GG|GG.. ; ..O.|.... - lda $1,s + lda $0,s and #$0fff ora #$8000 - sta $1,s + sta $0,s _rightBodyShift - lda $a1,s + lda $a0,s and #$0fff ora #$8000 - sta $a1,s + sta $a0,s _spriteFooter rtl rightBody3 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1256,27 +1116,23 @@ rightBody3 entry ; ...G|GGG. ; ..O.|.... - lda $1,s + lda $0,s and #$0fff ora #$8000 - sta $1,s + sta $0,s _rightBody - lda $a1,s + lda $a0,s and #$0fff ora #$8000 - sta $a1,s + sta $a0,s _spriteFooter rtl rightBody3s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1292,27 +1148,23 @@ rightBody3s entry ; ..GG|GG.. ; .O..|.... - lda $1,s + lda $0,s and #$fff0 ora #$0008 - sta $1,s + sta $0,s _rightBodyShift - lda $a1,s + lda $a0,s and #$fff0 ora #$0008 - sta $a1,s + sta $a0,s _spriteFooter rtl rightBody4 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1328,27 +1180,23 @@ rightBody4 entry ; ...G|GGG. ; ....|.O.. - lda $3,s + lda $2,s and #$fff0 ora #$0008 - sta $3,s + sta $2,s _rightBody - lda $a3,s + lda $a2,s and #$fff0 ora #$0008 - sta $a3,s + sta $a2,s _spriteFooter rtl rightBody4s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1364,27 +1212,23 @@ rightBody4s entry ; ..GG|GG.. ; ....|O... - lda $3,s + lda $2,s and #$ff0f ora #$0080 - sta $3,s + sta $2,s _rightBodyShift - lda $a3,s + lda $a2,s and #$ff0f ora #$0080 - sta $a3,s + sta $a2,s _spriteFooter rtl rightBody5 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1400,27 +1244,23 @@ rightBody5 entry ; ...G|GGG. ; ....|..O. - lda $3,s + lda $2,s and #$0fff ora #$8000 - sta $3,s + sta $2,s _rightBody - lda $a3,s + lda $a2,s and #$0fff ora #$8000 - sta $a3,s + sta $a2,s _spriteFooter rtl rightBody5s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1436,27 +1276,23 @@ rightBody5s entry ; ..GG|GG.. ; ....|.O.. - lda $3,s + lda $2,s and #$fff0 ora #$0008 - sta $3,s + sta $2,s _rightBodyShift - lda $a3,s + lda $a2,s and #$fff0 ora #$0008 - sta $a3,s + sta $a2,s _spriteFooter rtl leftDownHead1 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1472,40 +1308,40 @@ leftDownHead1 entry ; .GRR|GG.. ; ..RR|G.O. - lda $a1,s + lda $a0,s and #$000f ora #$cc80 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff0f not necessary with pure green ora #$00c0 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $3,s + sta $2,s lda #$cccc - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a3,s + sta $a2,s tsc - adc #$142 + adc #$141 tcs pea $cc44 @@ -1524,38 +1360,34 @@ leftDownHead1 entry sta $a3,s tsc - adc #$140 + adc #$141 tcs - lda $1,s + lda $0,s and #$00f0 ora #$440c - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$00ff ora #$4400 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$0f0f ora #$80c0 - sta $a3,s + sta $a2,s _spriteFooter rtl leftDownHead1s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1571,91 +1403,87 @@ leftDownHead1s entry ; ..GR|RGG. ; ...R|RG.O - lda $a1,s + lda $a0,s and #$f0f0 ora #$0c08 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s lda #$cccc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s and #$00f0 ora #$4c04 - sta $1,s + sta $0,s lda #$cccc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$00f0 ora #$4c04 - sta $a1,s + sta $a0,s lda #$cccc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s and #$00ff ora #$c400 - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$0f00 ora #$c04c - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$f0ff ora #$0400 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$f000 ora #$084c - sta $a3,s + sta $a2,s _spriteFooter rtl leftDownHead2 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1671,45 +1499,45 @@ leftDownHead2 entry ; .GRR|GG.O ; ..RR|G... - lda $1,s + lda $0,s and #$fff0 ora #$0008 - sta $1,s + sta $0,s - lda $a1,s + lda $a0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff0f not necessary with pure green ora #$00c0 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $3,s + sta $2,s lda #$cccc - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a3,s + sta $a2,s tsc - adc #$142 + adc #$141 tcs pea $cc44 @@ -1728,38 +1556,34 @@ leftDownHead2 entry sta $a3,s tsc - adc #$140 + adc #$141 tcs - lda $1,s + lda $0,s and #$00f0 ora #$440c - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$f000 ora #$08cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$00ff ora #$4400 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff0f not necessary with pure green ora #$00c0 - sta $a3,s + sta $a2,s _spriteFooter rtl leftDownHead2s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1775,101 +1599,97 @@ leftDownHead2s entry ; ..GR|RGG.|O... ; ...R|RG.. - lda $1,s + lda $0,s and #$0fff ora #$8000 - sta $1,s + sta $0,s - lda $a1,s + lda $a0,s and #$f0ff ora #$0c00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s lda #$cccc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s and #$00f0 ora #$4c04 - sta $1,s + sta $0,s lda #$cccc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$00f0 ora #$4c04 - sta $a1,s + sta $a0,s lda #$cccc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s and #$00ff ora #$c400 - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$0f00 ora #$c04c - sta $3,s + sta $2,s - lda $5,s + lda $4,s and #$ff0f ora #$0080 - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s and #$f0ff ora #$0400 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$ff00 ora #$004c - sta $a3,s + sta $a2,s _spriteFooter rtl leftDownBody1 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1885,40 +1705,40 @@ leftDownBody1 entry ; .GGG|GG.. ; ..GG|G.O. - lda $a1,s + lda $a0,s and #$000f ora #$cc80 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff0f not necessary with pure green ora #$00c0 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $3,s + sta $2,s lda #$cccc - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a3,s + sta $a2,s tsc - adc #$142 + adc #$141 tcs pea $cccc @@ -1937,38 +1757,34 @@ leftDownBody1 entry sta $a3,s tsc - adc #$140 + adc #$141 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$0f0f ora #$80c0 - sta $a3,s + sta $a2,s _spriteFooter rtl leftDownBody1s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1984,91 +1800,87 @@ leftDownBody1s entry ; ..GG|GGG. ; ...G|GG.O - lda $a1,s + lda $a0,s and #$f0f0 ora #$0c08 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s lda #$cccc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s lda #$cccc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s lda #$cccc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$f000 ora #$08cc - sta $a3,s + sta $a2,s _spriteFooter rtl leftDownBody2 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -2084,45 +1896,45 @@ leftDownBody2 entry ; .GGG|GG.O ; ..GG|G... - lda $1,s + lda $0,s and #$fff0 ora #$0008 - sta $1,s + sta $0,s - lda $a1,s + lda $a0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff0f not necessary with pure green ora #$00c0 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $3,s + sta $2,s lda #$cccc - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a3,s + sta $a2,s tsc - adc #$142 + adc #$141 tcs pea $cccc @@ -2141,38 +1953,34 @@ leftDownBody2 entry sta $a3,s tsc - adc #$140 + adc #$141 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$f000 ora #$08cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff0f not necessary with pure green ora #$00c0 - sta $a3,s + sta $a2,s _spriteFooter rtl leftDownBody2s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -2188,101 +1996,97 @@ leftDownBody2s entry ; ..GG|GGG.|O... ; ...G|GG.. - lda $1,s + lda $0,s and #$0fff ora #$8000 - sta $1,s + sta $0,s - lda $a1,s + lda $a0,s and #$f0ff ora #$0c00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s lda #$cccc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s lda #$cccc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s lda #$cccc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $3,s + sta $2,s - lda $5,s + lda $4,s and #$ff0f ora #$0080 - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $a3,s + sta $a2,s _spriteFooter rtl rightDownHead1 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -2298,40 +2102,40 @@ rightDownHead1 entry ; .GGR|RG.. ; O.GR|R... - lda $a1,s + lda $a0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$0f0f ora #$80c0 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $3,s + sta $2,s lda #$cccc - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a3,s + sta $a2,s tsc - adc #$142 + adc #$141 tcs pea $cccc @@ -2350,38 +2154,34 @@ rightDownHead1 entry sta $a3,s tsc - adc #$140 + adc #$141 tcs - lda $1,s + lda $0,s and #$00f0 ora #$c40c - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$ff00 ora #$004c - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$000f ora #$c480 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$ff0f ora #$0040 - sta $a3,s + sta $a2,s _spriteFooter rtl rightDownHead1s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -2397,91 +2197,87 @@ rightDownHead1s entry ; ..GG|RRG. ; .O.G|RR.. - lda $a1,s + lda $a0,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$f000 ora #$08cc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s lda #$cccc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s lda #$44cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s lda #$44cc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$0f00 ora #$c044 - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$f0f0 ora #$0c08 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$ff00 ora #$0044 - sta $a3,s + sta $a2,s _spriteFooter rtl rightDownHead2 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -2497,45 +2293,45 @@ rightDownHead2 entry ; ...O|.GGR|RG.. ; ....|..GR|R... - lda $3,s + lda $2,s and #$fff0 ora #$0008 - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff0f not necessary with pure green ora #$00c0 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $3,s + sta $2,s lda #$cccc - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a3,s + sta $a2,s tsc - adc #$142 + adc #$141 tcs pea $cccc @@ -2554,43 +2350,39 @@ rightDownHead2 entry sta $a3,s tsc - adc #$13e + adc #$13f tcs - lda $1,s + lda $0,s and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$00f0 ora #$c40c - sta $3,s + sta $2,s - lda $5,s + lda $4,s and #$ff00 ora #$004c - sta $5,s + sta $4,s - lda $a3,s + lda $a2,s and #$00ff ora #$c400 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s and #$ff0f ora #$0040 - sta $a5,s + sta $a4,s _spriteFooter rtl rightDownHead2s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -2606,96 +2398,92 @@ rightDownHead2s entry ; O.GG|RRG. ; ...G|RR.. - lda $3,s + lda $2,s and #$0fff ora #$8000 - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s lda #$cccc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s lda #$44cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s lda #$44cc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s and #$000f ora #$cc80 - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$0f00 ora #$c044 - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$ff00 ora #$0044 - sta $a3,s + sta $a2,s _spriteFooter rtl rightDownBody1 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -2711,40 +2499,40 @@ rightDownBody1 entry ; .GGG|GG.. ; O.GG|G... - lda $a1,s + lda $a0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$0f0f ora #$80c0 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $3,s + sta $2,s lda #$cccc - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a3,s + sta $a2,s tsc - adc #$142 + adc #$141 tcs pea $cccc @@ -2763,38 +2551,34 @@ rightDownBody1 entry sta $a3,s tsc - adc #$140 + adc #$141 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$000f ora #$cc80 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff0f not necessary with pure green ora #$00c0 - sta $a3,s + sta $a2,s _spriteFooter rtl rightDownBody1s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -2810,91 +2594,87 @@ rightDownBody1s entry ; ..GG|GGG. ; .O.G|GG.. - lda $a1,s + lda $a0,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$f000 ora #$08cc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s lda #$cccc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s lda #$cccc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s lda #$cccc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$f0f0 ora #$0c08 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $a3,s + sta $a2,s _spriteFooter rtl rightDownBody2 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -2910,45 +2690,45 @@ rightDownBody2 entry ; ...O|.GGG|GG.. ; ....|..GG|G... - lda $3,s + lda $2,s and #$fff0 ora #$0008 - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff0f not necessary with pure green ora #$00c0 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $3,s + sta $2,s lda #$cccc - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a3,s + sta $a2,s tsc - adc #$142 + adc #$141 tcs pea $cccc @@ -2967,43 +2747,39 @@ rightDownBody2 entry sta $a3,s tsc - adc #$13e + adc #$13f tcs - lda $1,s + lda $0,s and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $5,s + sta $4,s - lda $a3,s + lda $a2,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$ff0f not necessary with pure green ora #$00c0 - sta $a5,s + sta $a4,s _spriteFooter rtl rightDownBody2s entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -3019,96 +2795,92 @@ rightDownBody2s entry ; O.GG|GGG. ; ...G|GG.. - lda $3,s + lda $2,s and #$0fff ora #$8000 - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s lda #$cccc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s lda #$cccc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s lda #$cccc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s and #$000f ora #$cc80 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $a3,s + sta $a2,s _spriteFooter rtl downHead1 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -3124,42 +2896,42 @@ downHead1 entry ; .RRG|GRR. ; ..GG|GG.. - lda $a1,s + lda $a0,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff0f not necessary with pure green ora #$00c0 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a3,s + sta $a2,s tsc - adc #$144 + adc #$143 tcs pea $c8cc @@ -3176,38 +2948,34 @@ downHead1 entry sta $a3,s tsc - adc #$140 + adc #$141 tcs - lda $1,s + lda $0,s and #$00f0 ora #$4c04 - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$0f00 ora #$40c4 - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $a3,s + sta $a2,s _spriteFooter rtl downHead2 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -3223,97 +2991,93 @@ downHead2 entry ; .RRG|GRR. ; ..GG|GG.. - lda $a1,s + lda $a0,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff0f not necessary with pure green ora #$00c0 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s and #$000f ora #$cc80 - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$f000 ora #$08cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$00f0 ora #$4c04 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$0f00 ora #$40c4 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s and #$00f0 ora #$4c04 - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$0f00 ora #$40c4 - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $a3,s + sta $a2,s _spriteFooter rtl downHead3 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -3329,66 +3093,66 @@ downHead3 entry ; ORRG|GRRO ; ..GG|GG.. - lda $a1,s + lda $a0,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff0f not necessary with pure green ora #$00c0 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$00f0 ora #$4c04 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$0f00 ora #$40c4 - sta $a3,s + sta $a2,s tsc - adc #$144 + adc #$143 tcs pea $48c4 @@ -3409,10 +3173,6 @@ downHead3 entry downBody1 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -3428,42 +3188,42 @@ downBody1 entry ; .GGG|GGG. ; ..GG|GG.. - lda $a1,s + lda $a0,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff0f not necessary with pure green ora #$00c0 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a3,s + sta $a2,s tsc - adc #$144 + adc #$143 tcs pea $c8cc @@ -3480,38 +3240,34 @@ downBody1 entry sta $a3,s tsc - adc #$140 + adc #$141 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $a3,s + sta $a2,s _spriteFooter rtl downBody2 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -3527,97 +3283,93 @@ downBody2 entry ; .GGG|GGG. ; ..GG|GG.. - lda $a1,s + lda $a0,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff0f not necessary with pure green ora #$00c0 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s and #$000f ora #$cc80 - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$f000 ora #$08cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $a3,s + sta $a2,s _spriteFooter rtl downBody3 entry - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -3633,66 +3385,66 @@ downBody3 entry ; OGGG|GGGO ; ..GG|GG.. - lda $a1,s + lda $a0,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff0f not necessary with pure green ora #$00c0 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a3,s + sta $a2,s tsc - adc #$144 + adc #$143 tcs pea $c8cc diff --git a/BuGS/sprites/ship.s b/BuGS/sprites/ship.s new file mode 100644 index 0000000..fc24b3d --- /dev/null +++ b/BuGS/sprites/ship.s @@ -0,0 +1,268 @@ +; +; ship.s +; BuGS +; +; Created by Jeremy Rand on 2020-07-09. +;Copyright © 2020 Jeremy Rand. All rights reserved. +; + + case on + mcopy ship.macros + keep ship + +ship start + +drawShip entry + _spriteHeader + +; $c - Green +; $4 - Red +; $8 - Off-white +; +; ...O|.... +; ..OO|O... +; .RRO|RR.. +; ORRO|RRO. +; OOOO|OOO. +; .OOO|OO.. +; ..OO|O... +; ..OO|O... + + lda $0,s + _collision #$0c00 + and #$f0ff + ora #$0800 + sta $0,s + + lda $a0,s + _collision #$cc00 + and #$00ff + ora #$8800 + sta $a0,s + + lda $a2,s + _collision #$00c0 + and #$ff0f + ora #$0080 + sta $a2,s + + tsc + adc #$140 + tcs + + lda $0,s + _collision #$cc0c + and #$00f0 + ora #$4804 + sta $0,s + + lda $2,s + _collision #$00cc + and #$ff00 + ora #$0044 + sta $2,s + + lda $a0,s + _collision #$cccc + lda #$4884 + sta $a0,s + + lda $a2,s + _collision #$c0cc + and #$0f00 + ora #$8044 + sta $a2,s + + tsc + adc #$140 + tcs + + lda $a0,s + _collision #$cccc + lda #$8888 + sta $0,s + + lda $2,s + _collision #$c0cc + and #$0f00 + ora #$8088 + sta $2,s + + lda $a0,s + _collision #$cc0c + and #$00f0 + ora #$8808 + sta $a0,s + + lda $a2,s + _collision #$00cc + and #$ff00 + ora #$0088 + sta $a2,s + + tsc + adc #$140 + tcs + + lda $0,s + _collision #$cc00 + and #$00ff + ora #$8800 + sta $0,s + + lda $2,s + _collision #$00c0 + and #$ff0f + ora #$0080 + sta $2,s + + lda $a0,s + _collision #$cc00 + and #$00ff + ora #$8800 + sta $a0,s + + lda $a2,s + _collision #$00c0 + and #$ff0f + ora #$0080 + sta $a2,s + + _spriteFooter + + lda collision + rtl + + +drawShipShift entry + _spriteHeader + +; $c - Green +; $4 - Red +; $8 - Off-white +; +; ....|O... +; ...O|OO.. +; ..RR|ORR. +; .ORR|ORRO +; .OOO|OOOO +; ..OO|OOO. +; ...O|OO.. +; ...O|OO.. + + lda $2,s + _collision #$00c0 + and #$ff0f + ora #$0080 + sta $2,s + + lda $a0,s + _collision #$0c00 + and #$f0ff + ora #$0800 + sta $a0,s + + lda $a2,s + _collision #$00cc + and #$ff00 + ora #$0088 + sta $a2,s + + tsc + adc #$140 + tcs + + lda $0,s + _collision #$cc00 + and #$00ff + ora #$4400 + sta $0,s + + lda $2,s + _collision #$c0cc + and #$0f00 + ora #$4084 + sta $2,s + + lda $a0,s + _collision #$cc0c + and #$00f0 + lda #$4408 + sta $a0,s + + lda $a2,s + _collision #$cccc + lda #$4884 + sta $a2,s + + tsc + adc #$140 + tcs + + lda $a0,s + _collision #$cc0c + and #$00f0 + lda #$8808 + sta $0,s + + lda $2,s + _collision #$cccc + lda #$8888 + sta $2,s + + lda $a0,s + _collision #$cc00 + and #$00ff + ora #$8800 + sta $a0,s + + lda $a2,s + _collision #$c0cc + and #$0f00 + ora #$8088 + sta $a2,s + + tsc + adc #$140 + tcs + + lda $0,s + _collision #$0c00 + and #$f0ff + ora #$0800 + sta $0,s + + lda $2,s + _collision #$00cc + and #$ff00 + ora #$0088 + sta $2,s + + lda $a0,s + _collision #$0c00 + and #$f0ff + ora #$0800 + sta $a0,s + + lda $a2,s + _collision #$00cc + and #$ff00 + ora #$0088 + sta $a2,s + + _spriteFooter + + lda collision + rtl + + +clearShipCollision entry + lda #$0000 + sta collision + rtl + + +backupStack dc i2'0' +collision dc i2'0' + + end diff --git a/BuGS/sprites/shot.s b/BuGS/sprites/shot.s new file mode 100644 index 0000000..2fcd3fc --- /dev/null +++ b/BuGS/sprites/shot.s @@ -0,0 +1,254 @@ +; +; shot.s +; BuGS +; +; Created by Jeremy Rand on 2020-07-09. +;Copyright © 2020 Jeremy Rand. All rights reserved. +; + + case on + mcopy shot.macros + keep shot + +shot start + +drawHalfShot entry + _spriteHeader + +; $c - Green +; $4 - Red +; $8 - Off-white +; +; ....|.... +; ....|.... +; ....|.... +; ....|.... +; ....|.... +; ...R|.... +; ...R|.... +; ...R|.... + + tsc + adc #$280 + tcs + + lda $a0,s + _collision #$0f00 + and #$f0ff + ora #$0400 + sta $a0,s + + tsc + adc #$140 + tcs + + lda $0,s + _collision #$0f00 + and #$f0ff + ora #$0400 + sta $0,s + + lda $a0,s + _collision #$0f00 + and #$f0ff + ora #$0400 + sta $a0,s + + _spriteFooter + + lda collision + rtl + + +drawHalfShotShift entry + _spriteHeader + +; $c - Green +; $4 - Red +; $8 - Off-white +; +; ....|.... +; ....|.... +; ....|.... +; ....|.... +; ....|.... +; ....|R... +; ....|R... +; ....|R... + + tsc + adc #$280 + tcs + + lda $a2,s + _collision #$00f0 + and #$ff0f + ora #$0040 + sta $a2,s + + tsc + adc #$140 + tcs + + lda $2,s + _collision #$00f0 + and #$ff0f + ora #$0040 + sta $2,s + + lda $a2,s + _collision #$00f0 + and #$ff0f + ora #$0040 + sta $a2,s + + _spriteFooter + + lda collision + rtl + + +drawShot entry + _spriteHeader + +; $c - Green +; $4 - Red +; $8 - Off-white +; +; ....|.... +; ....|.... +; ...R|.... +; ...R|.... +; ...R|.... +; ...R|.... +; ...R|.... +; ...R|.... + + tsc + adc #$140 + tcs + + lda $0,s + _collision #$0f00 + and #$f0ff + ora #$0400 + sta $0,s + + lda $a0,s + _collision #$0f00 + and #$f0ff + ora #$0400 + sta $a0,s + + tsc + adc #$140 + tcs + + lda $0,s + _collision #$0f00 + and #$f0ff + ora #$0400 + sta $0,s + + lda $a0,s + _collision #$0f00 + and #$f0ff + ora #$0400 + sta $a0,s + + tsc + adc #$140 + tcs + + lda $0,s + _collision #$0f00 + and #$f0ff + ora #$0400 + sta $0,s + + lda $a0,s + _collision #$0f00 + and #$f0ff + ora #$0400 + sta $a0,s + + _spriteFooter + + lda collision + rtl + + +drawShotShift entry + _spriteHeader + +; $c - Green +; $4 - Red +; $8 - Off-white +; +; ....|.... +; ....|.... +; ....|R... +; ....|R... +; ....|R... +; ....|R... +; ....|R... +; ....|R... + + tsc + adc #$140 + tcs + + lda $2,s + _collision #$00f0 + and #$ff0f + ora #$0040 + sta $2,s + + lda $a2,s + _collision #$00f0 + and #$ff0f + ora #$0040 + sta $a2,s + + tsc + adc #$140 + tcs + + lda $2,s + _collision #$00f0 + and #$ff0f + ora #$0040 + sta $2,s + + lda $a2,s + _collision #$00f0 + and #$ff0f + ora #$0040 + sta $a2,s + + tsc + adc #$140 + tcs + + lda $2,s + _collision #$00f0 + and #$ff0f + ora #$0040 + sta $2,s + + lda $a2,s + _collision #$00f0 + and #$ff0f + ora #$0040 + sta $a2,s + + _spriteFooter + + lda collision + rtl + + +backupStack dc i2'0' +collision dc i2'0' + + end diff --git a/BuGS/sprites/spiders.s b/BuGS/sprites/spiders.s index e100e7e..6608087 100644 --- a/BuGS/sprites/spiders.s +++ b/BuGS/sprites/spiders.s @@ -13,14 +13,6 @@ spiders start spider1 entry - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -36,154 +28,146 @@ spider1 entry ; O...|OGRR|RGO.|..O. ; ....|..GR|G...|.... - lda $1,s + lda $0,s ; and #$0fff ora #$8000 - sta $1,s + sta $0,s - lda $7,s + lda $6,s ; and #$ff0f ora #$0080 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$f0f0 ora #$0808 - sta $a1,s + sta $a0,s - lda $a5,s + lda $a4,s ; and #$f0ff ora #$0800 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$fff0 ora #$0008 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$ff0f ora #$0080 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$f00f ora #$0c80 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0fff ora #$8000 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$0fff ora #$8000 - sta $7,s + sta $6,s - lda $a3,s + lda $a2,s ; and #$00f0 ora #$4c08 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$ff00 ora #$0048 - sta $a5,s + sta $a4,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$0fff ora #$8000 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff0f ora #$4c04 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$ff00 ora #$0044 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$ff0f ora #$0080 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$f0f0 ora #$0808 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00f0 Not necessary with green ora #$cc0c - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$f000 ora #$08cc - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$fff0 ora #$0008 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$ff0f ora #$0080 - sta $1,s + sta $0,s lda #$448c - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0f00 ora #$804c - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$0fff ora #$8000 - sta $7,s + sta $6,s - lda $a3,s + lda $a2,s ; and #$00ff ora #$c400 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$ff0f not necessary with green ora #$00c0 - sta $a5,s + sta $a4,s _spriteFooter rtl spider1s entry - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -199,154 +183,146 @@ spider1s entry ; .O..|.OGR|RRGO|...O ; ....|...G|RG..|.... - lda $1,s + lda $0,s ; and #$0f0ff ora #$0800 - sta $1,s + sta $0,s - lda $7,s + lda $6,s ; and #$fff0 ora #$0008 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$0fff ora #$8000 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff0f ora #$0080 - sta $a3,s + sta $a2,s - lda $a7,s + lda $a6,s ; and #$0f0f ora #$8080 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$fff0 ora #$0008 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$fff0 ora #$0008 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$f00f ora #$08c0 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$f0ff ora #$0800 - sta $7,s + sta $6,s - lda $a3,s + lda $a2,s ; and #$00ff ora #$8400 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$0f00 ora #$80c4 - sta $a5,s + sta $a4,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$00ff ora #$4400 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0f00 ora #$40c4 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$fff0 ora #$0008 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$0fff ora #$8000 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$000f ora #$cc80 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$0f0f ora #$8080 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$fff0 ora #$0008 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$00f0 ora #$c408 - sta $3,s + sta $2,s lda #$c844 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$f0ff ora #$0800 - sta $7,s + sta $6,s - lda $a3,s + lda $a2,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$ff00 ora #$004c - sta $a5,s + sta $a4,s _spriteFooter rtl spider2 entry - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -362,134 +338,126 @@ spider2 entry ; O...|OGRR|GGO.|..O. ; ....|..GR|G...|.... - lda $a1,s + lda $a0,s ; and #$00f0 ora #$8808 - sta $a1,s + sta $a0,s - lda $a5,s + lda $a4,s ; and #$f0ff ora #$0800 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$ff00 ora #$0088 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$ff0f ora #$0080 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$f00f ora #$0c80 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0fff ora #$8000 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$0fff ora #$8000 - sta $7,s + sta $6,s - lda $a3,s + lda $a2,s ; and #$00f0 ora #$4c08 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$ff00 ora #$0048 - sta $a5,s + sta $a4,s tsc adc #$140 tcs - lda $3,s + lda $2,s ; and #$ff0f ora #$4c04 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$ff00 ora #$0044 - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$00f0 ora #$8808 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$f000 ora #$08cc - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$ff00 ora #$0088 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$ff0f ora #$0080 - sta $1,s + sta $0,s lda #$448c - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0f00 ora #$80cc - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$0fff ora #$8000 - sta $7,s + sta $6,s - lda $a3,s + lda $a2,s ; and #$00ff ora #$c400 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$ff0f not necessary with pure green ora #$00c0 - sta $a5,s + sta $a4,s _spriteFooter rtl spider2s entry - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -505,134 +473,126 @@ spider2s entry ; .O..|.OGR|RGGO|...O ; ....|...G|RG..|.... - lda $a1,s + lda $a0,s ; and #$00ff ora #$8800 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff0f ora #$0080 - sta $a3,s + sta $a2,s - lda $a7,s + lda $a6,s ; and #$0f00 ora #$8088 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$fff0 ora #$0008 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$fff0 ora #$0008 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$f00f ora #$08c0 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$f0ff ora #$0800 - sta $7,s + sta $6,s - lda $a3,s + lda $a2,s ; and #$00ff ora #$8400 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$0f00 ora #$80c4 - sta $a5,s + sta $a4,s tsc adc #$140 tcs - lda $3,s + lda $2,s ; and #$00ff ora #$4400 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0f00 ora #$40c4 - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$00ff ora #$8800 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$000f ora #$cc80 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$0f00 ora #$8088 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$fff0 ora #$0008 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$00f0 ora #$c408 - sta $3,s + sta $2,s lda #$c84c - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$f0ff ora #$0800 - sta $7,s + sta $6,s - lda $a3,s + lda $a2,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$ff00 ora #$004c - sta $a5,s + sta $a4,s _spriteFooter rtl spider3 entry - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -652,145 +612,137 @@ spider3 entry adc #$140 tcs - lda $1,s + lda $0,s ; and #$00ff ora #$8800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$f00f ora #$0c80 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$00ff ora #$8800 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$ff0f ora #$0080 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$fff0 ora #$0008 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00f0 ora #$4c08 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$ff00 ora #$0048 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$fff0 ora #$0008 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$ff0f ora #$0080 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff0f ora #$4c04 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$ff00 ora #$0044 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$0fff ora #$8000 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$00ff ora #$8800 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$f000 ora #$08cc - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$ff0f ora #$0080 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$fff0 ora #$0008 - sta $1,s + sta $0,s lda #$c48c - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0f00 ora #$804c - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$fff0 ora #$0008 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$ff0f ora #$0080 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00ff ora #$c400 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$ff0f not necessary with pure green ora #$00c0 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$0fff ora #$8000 - sta $a7,s + sta $a6,s _spriteFooter rtl spider3s entry - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -810,145 +762,137 @@ spider3s entry adc #$140 tcs - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff00 ora #$0088 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$f00f ora #$08c0 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$ff00 ora #$0088 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$0fff ora #$8000 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00ff ora #$8400 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$0f00 ora #$80c4 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$0fff ora #$8000 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$fff0 ora #$0008 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$00ff ora #$4400 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0f00 ora #$40c4 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$f0ff ora #$0800 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$000f ora #$cc80 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$ff00 ora #$0088 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$0fff ora #$8000 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$00f0 ora #$cc08 - sta $3,s + sta $2,s lda #$c844 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$0fff ora #$8000 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$fff0 ora #$0008 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$ff00 ora #$004c - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$f0ff ora #$0800 - sta $a7,s + sta $a6,s _spriteFooter rtl spider4 entry - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -968,119 +912,111 @@ spider4 entry adc #$140 tcs - lda $3,s + lda $2,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s lda #$4c88 - sta $a3,s + sta $a2,s lda #$8848 - sta $a5,s + sta $a4,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$0fff ora #$8000 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff0f ora #$4c04 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$ff00 ora #$0044 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$ff0f ora #$0080 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$fff0 ora #$0008 - sta $a1,s + sta $a0,s lda #$cc8c - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$0f00 ora #$80cc - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$fff0 ora #$0008 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$ff0f ora #$0080 - sta $1,s + sta $0,s lda #$c48c - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0f00 ora #$80cc - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$0fff ora #$8000 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$00ff ora #$8800 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00ff ora #$c400 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$f00f ora #$08c0 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$ff0f ora #$0080 - sta $a7,s + sta $a6,s _spriteFooter rtl spider4s entry - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1100,119 +1036,111 @@ spider4s entry adc #$140 tcs - lda $5,s + lda $4,s ; and #$ff0f not necessary with pure green ora #$00c0 - sta $5,s + sta $4,s lda #$8488 - sta $a3,s + sta $a2,s lda #$88c4 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$ff0f ora #$0080 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$00ff ora #$4400 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0f00 ora #$40c4 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$fff0 ora #$0008 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$0fff ora #$8000 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00f0 ora #$cc08 - sta $a3,s + sta $a2,s lda #$c8cc - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$0fff ora #$8000 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$fff0 ora #$0008 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$00f0 ora #$cc08 - sta $3,s + sta $2,s lda #$c84c - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$f0ff ora #$0800 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$f00f ora #$0c80 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$ff00 ora #$004c - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$ff00 ora #$0088 - sta $a7,s + sta $a6,s _spriteFooter rtl spider5 entry - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1232,145 +1160,137 @@ spider5 entry adc #$140 tcs - lda $1,s + lda $0,s ; and #$00ff ora #$8800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$f00f ora #$0c80 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$00ff ora #$8800 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$ff0f ora #$0080 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$fff0 ora #$0008 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00f0 ora #$4c08 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$ff00 ora #$0048 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$fff0 ora #$0008 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$ff0f ora #$0080 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff0f ora #$4c04 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$ff00 ora #$0044 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$0fff ora #$8000 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$00ff ora #$8800 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$f000 ora #$08cc - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$ff0f ora #$0080 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$fff0 ora #$0008 - sta $1,s + sta $0,s lda #$448c - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0f00 ora #$804c - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$fff0 ora #$0008 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$ff0f ora #$0080 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00ff ora #$c400 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$ff0f not necessary with pure green ora #$00c0 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$0fff ora #$8000 - sta $a7,s + sta $a6,s _spriteFooter rtl spider5s entry - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1390,145 +1310,137 @@ spider5s entry adc #$140 tcs - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff00 ora #$0088 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$f00f ora #$08c0 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$ff00 ora #$0088 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$0fff ora #$8000 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00ff ora #$8400 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$0f00 ora #$80c4 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$0fff ora #$8000 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$fff0 ora #$0008 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$00ff ora #$4400 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0f00 ora #$40c4 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$f0ff ora #$0800 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$000f ora #$cc80 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$ff00 ora #$0088 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$0fff ora #$8000 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$00f0 ora #$c408 - sta $3,s + sta $2,s lda #$c844 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$0fff ora #$8000 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$fff0 ora #$0008 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$ff00 ora #$004c - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$f0ff ora #$0800 - sta $a7,s + sta $a6,s _spriteFooter rtl spider6 entry - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1544,164 +1456,156 @@ spider6 entry ; ..O.|OGGR|RGO.|O... ; .O..|..GR|G...|.O.. - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $5,s + lda $4,s ; and #$f0ff ora #$0800 - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s - lda $a5,s + lda $a4,s ; and #$f0ff ora #$0800 - sta $a5,s + sta $a4,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$0fff ora #$8000 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$f00f ora #$0c80 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0fff ora #$8000 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$ff0f ora #$0080 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$fff0 ora #$0008 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00f0 ora #$4c08 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$ff00 ora #$0048 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$fff0 ora #$0008 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$f00f ora #$0880 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff0f ora #$4c04 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$f000 ora #$0844 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$0fff ora #$8000 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00f0 Not necessary with green ora #$cc0c - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$f000 ora #$08cc - sta $a5,s + sta $a4,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$0fff ora #$8000 - sta $1,s + sta $0,s lda #$c48c - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0f00 ora #$804c - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$ff0f ora #$0080 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$fff0 ora #$0008 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00ff ora #$c400 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$ff0f not necessary with green ora #$00c0 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$fff0 ora #$0008 - sta $a7,s + sta $a6,s _spriteFooter rtl spider6s entry - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1717,165 +1621,157 @@ spider6s entry ; ...O|.OGG|RRGO|.O.. ; ..O.|...G|RG..|..O. - lda $3,s + lda $2,s ; and #$ff0f ora #$0080 - sta $3,s + sta $2,s - lda $7,s + lda $6,s ; and #$ff0f ora #$0080 - sta $7,s + sta $6,s - lda $a3,s + lda $a2,s ; and #$ff0f ora #$0080 - sta $a3,s + sta $a2,s - lda $a7,s + lda $a6,s ; and #$ff0f ora #$0080 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$fff0 ora #$0008 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$f00f ora #$08c0 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$fff0 ora #$0008 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$0fff ora #$8000 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00ff ora #$8400 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$0f00 ora #$80c4 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$0fff ora #$8000 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$fff0 ora #$0008 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$000f ora #$4480 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0f00 ora #$40c4 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$f00f ora #$0880 - sta $7,s + sta $6,s - lda $a3,s + lda $a2,s ; and #$000f ora #$cc80 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$ff0f ora #$0080 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$00f0 ora #$cc08 - sta $3,s + sta $2,s lda #$c844 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$fff0 ora #$0008 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$0fff ora #$8000 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$ff00 ora #$004c - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$0fff ora #$8000 - sta $a7,s + sta $a6,s _spriteFooter rtl spider7 entry - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -1891,157 +1787,149 @@ spider7 entry ; ...O|OGGR|GGOO|.... ; ..O.|..GR|G...|O... - lda $3,s + lda $2,s ; and #$ff0f ora #$0080 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0fff ora #$8000 - sta $5,s + sta $4,s - lda $a3,s + lda $a2,s ; and #$ff0f ora #$0080 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$0fff ora #$8000 - sta $a5,s + sta $a4,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$f00f ora #$0c80 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$00ff ora #$8800 - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$0fff ora #$8000 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00f0 ora #$4c08 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$ff00 ora #$0048 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$ff0f ora #$0080 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$fff0 ora #$0008 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff0f ora #$4c04 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$ff00 ora #$0044 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$fff0 ora #$0008 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$f00f ora #$0880 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00f0 Not necessary with green ora #$cc0c - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$f000 ora #$08cc - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$0fff ora #$8000 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$f0ff ora #$0800 - sta $1,s + sta $0,s lda #$c48c - sta $3,s + sta $2,s lda #$88cc - sta $5,s + sta $4,s - lda $a1,s + lda $a0,s ; and #$0fff ora #$8000 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00ff ora #$c400 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$ff0f not necessary with green ora #$00c0 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$ff0f ora #$0080 - sta $a7,s + sta $a6,s _spriteFooter rtl spider7s entry - dex - dex - dex - dex - dex - dex - dex - dex _spriteHeader ; $c - Green @@ -2057,144 +1945,144 @@ spider7s entry ; ....|OOGG|RGGO|O... ; ...O|...G|RG..|.O.. - lda $3,s + lda $2,s ; and #$fff0 ora #$0008 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$f0ff ora #$0800 - sta $5,s + sta $4,s - lda $a3,s + lda $a2,s ; and #$fff0 ora #$0008 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$f0ff ora #$0800 - sta $a5,s + sta $a4,s tsc adc #$140 tcs - lda $3,s + lda $2,s ; and #$ff00 ora #$0088 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$f00f ora #$08c0 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$ff0f ora #$0080 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$00ff ora #$8400 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$0f00 ora #$80c4 - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$fff0 ora #$0008 - sta $a7,s + sta $a6,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$0fff ora #$8000 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$00ff ora #$4400 - sta $3,s + sta $2,s - lda $5,s + lda $4,s ; and #$0f00 ora #$40c4 - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$0fff ora #$8000 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$fff0 ora #$0008 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$000f ora #$cc80 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$f00f ora #$0880 - sta $a7,s + sta $a6,s tsc adc #$140 tcs lda #$cc88 - sta $3,s + sta $2,s lda #$c84c - sta $5,s + sta $4,s - lda $7,s + lda $6,s ; and #$ff0f ora #$0080 - sta $7,s + sta $6,s - lda $a1,s + lda $a0,s ; and #$f0ff ora #$0800 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $a3,s + sta $a2,s - lda $a5,s + lda $a4,s ; and #$ff00 ora #$004c - sta $a5,s + sta $a4,s - lda $a7,s + lda $a6,s ; and #$fff0 ora #$0008 - sta $a7,s + sta $a6,s _spriteFooter rtl diff --git a/BuGS/sprites/sprites.macros b/BuGS/sprites/sprites.macros index 9cbddb2..433e580 100644 --- a/BuGS/sprites/sprites.macros +++ b/BuGS/sprites/sprites.macros @@ -47,18 +47,18 @@ ; .RRG|G... ; ....|.... - lda $a1,s + lda $a0,s and #$00f0 ora #$4c04 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff0f not necessary with pure green ora #$00c0 - sta $a3,s + sta $a2,s tsc - adc #$142 + adc #$141 tcs pea $4cc4 @@ -96,18 +96,18 @@ sta $a3,s tsc - adc #$140 + adc #$141 tcs - lda $1,s + lda $0,s and #$00f0 ora #$4c04 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff0f not necessary with pure green ora #$00c0 - sta $3,s + sta $2,s mend @@ -127,73 +127,73 @@ ; ..RR|GG.. ; ....|.... - lda $a1,s + lda $a0,s and #$00ff ora #$4400 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s and #$00f0 ora #$440c - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s lda #$cccc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s lda #$cccc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s and #$00f0 ora #$440c - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s and #$00ff ora #$4400 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $3,s + sta $2,s mend @@ -214,18 +214,18 @@ ; .GGG|G... ; ....|.... - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff0f not necessary with pure green ora #$00c0 - sta $a3,s + sta $a2,s tsc - adc #$142 + adc #$141 tcs pea $cccc @@ -263,18 +263,18 @@ sta $a3,s tsc - adc #$140 + adc #$141 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff0f not necessary with pure green ora #$00c0 - sta $3,s + sta $2,s mend @@ -295,73 +295,73 @@ ; ..GG|GG.. ; ....|.... - lda $a1,s + lda $a0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s lda #$cccc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s lda #$cccc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $3,s + sta $2,s mend @@ -382,69 +382,69 @@ ; ...G|GRR. ; ....|.... - lda $a1,s + lda $a0,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$0f00 ora #$40c4 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $1,s + sta $0,s lda #$4cc4 - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s lda #$cccc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s lda #$cccc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $a1,s + sta $a0,s lda #$4cc4 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$0f00 ora #$40c4 - sta $3,s + sta $2,s mend @@ -465,40 +465,40 @@ ; ..GG|RR.. ; ....|.... - lda $a1,s + lda $a0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s and #$ff00 ora #$0044 - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$0f00 ora #$c044 - sta $3,s + sta $2,s lda #$cccc - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a3,s + sta $a2,s tsc - adc #$142 + adc #$141 tcs pea $cccc @@ -519,18 +519,18 @@ sta $a3,s tsc - adc #$140 + adc #$141 tcs - lda $1,s + lda $0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $1,s + sta $0,s - lda $3,s + lda $2,s and #$ff00 ora #$0044 - sta $3,s + sta $2,s mend @@ -551,69 +551,69 @@ ; ...G|GGG. ; ....|.... - lda $a1,s + lda $a0,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $1,s + sta $0,s lda #$cccc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $a1,s + sta $a0,s lda #$cccc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s lda #$cccc - sta $3,s + sta $2,s - lda $a1,s + lda $a0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $a1,s + sta $a0,s lda #$cccc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$f0ff not necessary with pure green ora #$0c00 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $3,s + sta $2,s mend @@ -634,40 +634,40 @@ ; ..GG|GG.. ; ....|.... - lda $a1,s + lda $a0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $a3,s + sta $a2,s tsc adc #$140 tcs - lda $1,s + lda $0,s ; and #$00f0 not necessary with pure green ora #$cc0c - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $3,s + sta $2,s lda #$cccc - sta $a1,s + sta $a0,s - lda $a3,s + lda $a2,s ; and #$0f00 not necessary with pure green ora #$c0cc - sta $a3,s + sta $a2,s tsc - adc #$142 + adc #$141 tcs pea $cccc @@ -688,17 +688,30 @@ sta $a3,s tsc - adc #$140 + adc #$141 tcs - lda $1,s + lda $0,s ; and #$00ff not necessary with pure green ora #$cc00 - sta $1,s + sta $0,s - lda $3,s + lda $2,s ; and #$ff00 not necessary with pure green ora #$00cc - sta $3,s + sta $2,s + + mend + + macro + _collision &mask + + tax + and #$0c00 + beq ~&SYSCNT + sta collision + +~&SYSCNT anop + txa mend