mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-21 06:39:40 +02:00
Change colors during the game with the G key (a800 only)
This commit is contained in:
BIN
Binary file not shown.
BIN
Binary file not shown.
+6
-3
@@ -114,7 +114,11 @@ OptionsNoRight
|
|||||||
OptionsNoReturn
|
OptionsNoReturn
|
||||||
cmp #@kbcode._tab ; Tab key
|
cmp #@kbcode._tab ; Tab key
|
||||||
bne OptionsNoTab
|
bne OptionsNoTab
|
||||||
NextGradientNr
|
jsr SelectNextGradient
|
||||||
|
OptionsNoTab
|
||||||
|
jmp OptionsMainLoop
|
||||||
|
.endp
|
||||||
|
.proc SelectNextGradient
|
||||||
ldy GradientNr
|
ldy GradientNr
|
||||||
iny
|
iny
|
||||||
cpy #$03
|
cpy #$03
|
||||||
@@ -126,8 +130,7 @@ NoGradientLoop
|
|||||||
sta GradientColors
|
sta GradientColors
|
||||||
lda GradientAddrH,y
|
lda GradientAddrH,y
|
||||||
sta GradientColors+1
|
sta GradientColors+1
|
||||||
OptionsNoTab
|
rts
|
||||||
jmp OptionsMainLoop
|
|
||||||
.endp
|
.endp
|
||||||
;--------
|
;--------
|
||||||
; inversing selected option (cursor)
|
; inversing selected option (cursor)
|
||||||
|
|||||||
+9
-1
@@ -1196,7 +1196,14 @@ jumpFromStick
|
|||||||
jeq pressedM
|
jeq pressedM
|
||||||
cmp #@kbcode._S ; $3e ; S
|
cmp #@kbcode._S ; $3e ; S
|
||||||
jeq pressedS
|
jeq pressedS
|
||||||
jmp notpressed
|
.IF TARGET = 800
|
||||||
|
cmp #61 ; G
|
||||||
|
bne EndKeys
|
||||||
|
jsr SelectNextGradient
|
||||||
|
jmp ReleaseAndLoop
|
||||||
|
.ENDIF
|
||||||
|
EndKeys
|
||||||
|
jmp notpressed
|
||||||
checkJoy
|
checkJoy
|
||||||
;------------JOY-------------
|
;------------JOY-------------
|
||||||
;happy happy joy joy
|
;happy happy joy joy
|
||||||
@@ -1409,6 +1416,7 @@ pressedS
|
|||||||
; have you tried turning sfx off and on again?
|
; have you tried turning sfx off and on again?
|
||||||
lda #$ff
|
lda #$ff
|
||||||
eor:sta noSfx
|
eor:sta noSfx
|
||||||
|
ReleaseAndLoop
|
||||||
jsr WaitForKeyRelease
|
jsr WaitForKeyRelease
|
||||||
jmp BeforeFire
|
jmp BeforeFire
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user