Better jump

This commit is contained in:
Pecusx
2024-08-11 20:39:45 +02:00
parent 0357272bf6
commit 3de12dacc6
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -151,5 +151,5 @@ diff_object_gap ; min distance between obstacles by difficulty level
;----------vars---------- ;----------vars----------
diff_level .ds 1 diff_level .ds 1
DinoJumpTr .by 1,2,3,4,4,3,2,1 DinoJumpTr .by 1,2,3,4,4,3,2,1
JumpLen = 8 JumpLen = 7
.endif ; .IF *>0 .endif ; .IF *>0
+1 -1
View File
@@ -688,4 +688,4 @@ FFFD 0000 @KBCODE
00 3D83 DIFF_OBJECT_GAP 00 3D83 DIFF_OBJECT_GAP
00 3D93 DIFF_LEVEL 00 3D93 DIFF_LEVEL
00 3D94 DINOJUMPTR 00 3D94 DINOJUMPTR
00 0008 JUMPLEN 00 0007 JUMPLEN
+2 -2
View File
@@ -1246,7 +1246,7 @@ Source: dino.asm
260 39D9 C9 04 cmp #4 ; jump state 260 39D9 C9 04 cmp #4 ; jump state
261 39DB D0 0F bne NoJump 261 39DB D0 0F bne NoJump
262 39DD A5 85 lda JumpPhase 262 39DD A5 85 lda JumpPhase
263 39DF C9 08 cmp #JumpLen ; max jump phase 263 39DF C9 07 cmp #JumpLen ; max jump phase
264 39E1 F0 03 beq EndJump 264 39E1 F0 03 beq EndJump
265 39E3 E6 85 inc JumpPhase 265 39E3 E6 85 inc JumpPhase
266 39E5 60 rts 266 39E5 60 rts
@@ -1661,7 +1661,7 @@ Source: shapes.asm
151 ;----------vars---------- 151 ;----------vars----------
152 = 3D93 diff_level .ds 1 152 = 3D93 diff_level .ds 1
153 3D94-3D9B> 01 02 03 04 + DinoJumpTr .by 1,2,3,4,4,3,2,1 153 3D94-3D9B> 01 02 03 04 + DinoJumpTr .by 1,2,3,4,4,3,2,1
154 = 0008 JumpLen = 8 154 = 0007 JumpLen = 7
155 .endif ; .IF *>0 155 .endif ; .IF *>0
519 ;-------------------------------------------------- 519 ;--------------------------------------------------
520 520
BIN
View File
Binary file not shown.