Visual Debug :) added

This commit is contained in:
Pecusx
2023-01-21 22:48:46 +01:00
parent da4d82cca4
commit e842d455e6
5 changed files with 21 additions and 4 deletions
+16 -3
View File
@@ -1185,6 +1185,13 @@ jumpFromStick
cmp #@kbcode._S ; $3e ; S
jeq pressedS
.IF TARGET = 800
cmp #38 ; /
bne NoVdebugSwitch
lda Vdebug
eor #$ff
sta Vdebug
jmp ReleaseAndLoop
NoVdebugSwitch
cmp #61 ; G
bne EndKeys
jsr SelectNextGradient
@@ -1789,10 +1796,16 @@ SkipCollisionCheck
mwa ytraj+1 ydraw
bit TestFlightFlag
bvs NoUnPlot
lda tracerflag
bvc NoTestFlight
bit Vdebug
bpl NoTestFlight
jsr WaitOneFrame ; visualize AI targeting
jmp YesUnPlot
NoTestFlight
lda tracerflag
bne NoUnPlot
YesUnPlot
jsr UnPlot
NoUnPlot