Opty. Return of one of the texts. Now we have 3bytes :)

This commit is contained in:
Pecusx
2023-10-08 19:30:01 +02:00
parent a44905a2b5
commit e5e3424a7e
5 changed files with 8 additions and 5 deletions
+2 -2
View File
@@ -116,10 +116,10 @@
dta d"I'LL BE BACK..."^
dta d"I'VE GOT LAWYERS!"^
dta d"CALL 1-900-SUE-TANK."^
; dta d"YOU BIG DUMMY!"^ ;(sanford and son)
dta d"YOU BIG DUMMY!"^ ;(sanford and son)
LEND
NumberOfOffensiveTexts=53
NumberOfDeffensiveTexts=61
NumberOfDeffensiveTexts=62
.endp
hoverFull dta d"MY HOVERCRAFT IS FULL OF EELS!"^
hoverFullEnd
+6 -3
View File
@@ -46,7 +46,6 @@
lda ybyte+1
bpl DrawOnTheScreen
DrawOutOfTheScreen
;jsr DrawJumpPad
rts
DrawOnTheScreen
; constant parameters
@@ -118,9 +117,13 @@ SwapXY
; DY=DX
; DX=XK - because DY is there so DY and DX are swapped
; YK ... not used
mwa DY XK
mvy DY XK
mvx DY+1 XK+1
; now we have XK in Y and X for optimization
mwa DX DY
mwa XK DX
; DX=XK optimized (4 bytes saved!)
sty DX
stx DX+1
; and let's set bit 7 of DrawDirFactor
dec DrawDirFactor
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.