Change colors during the game with the G key (a800 only)

This commit is contained in:
Pecusx
2023-01-05 09:58:36 +01:00
parent d66e588203
commit c151940735
4 changed files with 15 additions and 4 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+6 -3
View File
@@ -114,7 +114,11 @@ OptionsNoRight
OptionsNoReturn
cmp #@kbcode._tab ; Tab key
bne OptionsNoTab
NextGradientNr
jsr SelectNextGradient
OptionsNoTab
jmp OptionsMainLoop
.endp
.proc SelectNextGradient
ldy GradientNr
iny
cpy #$03
@@ -126,8 +130,7 @@ NoGradientLoop
sta GradientColors
lda GradientAddrH,y
sta GradientColors+1
OptionsNoTab
jmp OptionsMainLoop
rts
.endp
;--------
; inversing selected option (cursor)
+9 -1
View File
@@ -1196,7 +1196,14 @@ jumpFromStick
jeq pressedM
cmp #@kbcode._S ; $3e ; S
jeq pressedS
jmp notpressed
.IF TARGET = 800
cmp #61 ; G
bne EndKeys
jsr SelectNextGradient
jmp ReleaseAndLoop
.ENDIF
EndKeys
jmp notpressed
checkJoy
;------------JOY-------------
;happy happy joy joy
@@ -1409,6 +1416,7 @@ pressedS
; have you tried turning sfx off and on again?
lda #$ff
eor:sta noSfx
ReleaseAndLoop
jsr WaitForKeyRelease
jmp BeforeFire