mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-21 06:39:40 +02:00
Boxy walls problem fix
Sometimes the bullet "bounced" off the ceiling indefinitely (above the screen).
This commit is contained in:
BIN
Binary file not shown.
@@ -2357,12 +2357,15 @@ MIRValreadyAll
|
||||
; top bounce
|
||||
bit ytraj+2
|
||||
bpl NoOnTop
|
||||
bit vy+3
|
||||
bmi FlyingDown
|
||||
sec
|
||||
.rept 4
|
||||
lda #$00
|
||||
sbc vy+#
|
||||
sta vy+#
|
||||
.endr
|
||||
FlyingDown
|
||||
NoOnTop
|
||||
MakeBump
|
||||
cpw xtraj+1 #screenwidth
|
||||
|
||||
Reference in New Issue
Block a user