Tank slide correction

This commit is contained in:
Pecusx
2023-03-02 13:12:46 +01:00
parent 1337c83791
commit 4cf4eb14c7
4 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -215,8 +215,8 @@ SlideLeftTable
.BY %00000101 .BY %00000101
.BY %00000110 .BY %00000110
.BY %00000111 .BY %00000111
.BY %00001100 ; .BY %00001100
SlideLeftTableLen = *-SlideLeftTable
;------------------------------------------------- ;-------------------------------------------------
TanksNamesDefault TanksNamesDefault
dta d"1st.Tank" dta d"1st.Tank"
+1 -1
View File
@@ -1136,7 +1136,7 @@ OneTimeParachute
jmp EndOfFCycle jmp EndOfFCycle
NoFallingDown NoFallingDown
; check direction (left or right) ; check direction (left or right)
ldy #7 ; SlideLeftTable length -1 (from 0 to 7) ldy #SlideLeftTableLen-1 ; SlideLeftTable length -1 (from 0 to 7)
@ lda SlideLeftTable,y @ lda SlideLeftTable,y
cmp UnderTank1 cmp UnderTank1
beq FallingLeft beq FallingLeft
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.