Fixed item duping issue on OW
This commit is contained in:
14
owrando.asm
14
owrando.asm
@@ -238,6 +238,19 @@ OWWhirlpoolEnd:
|
|||||||
RTL
|
RTL
|
||||||
}
|
}
|
||||||
|
|
||||||
|
OWDestroyItemSprites:
|
||||||
|
{
|
||||||
|
PHX : LDX.b #$0F
|
||||||
|
.nextSprite
|
||||||
|
LDA.w $0E20,X
|
||||||
|
CMP.b #$D8 : BCC .continue
|
||||||
|
CMP.b #$EC : BCS .continue
|
||||||
|
.killSprite ; need to kill sprites from D8 to EB on screen transition
|
||||||
|
STZ.w $0DD0,X
|
||||||
|
.continue
|
||||||
|
DEX : BPL .nextSprite
|
||||||
|
PLX : RTL
|
||||||
|
}
|
||||||
OWMirrorSpriteOnMap:
|
OWMirrorSpriteOnMap:
|
||||||
{
|
{
|
||||||
lda.w $1ac0,x : bit.b #$f0 : beq .continue
|
lda.w $1ac0,x : bit.b #$f0 : beq .continue
|
||||||
@@ -648,6 +661,7 @@ OWBonkSpritePrep:
|
|||||||
org $aa9000
|
org $aa9000
|
||||||
OWDetectEdgeTransition:
|
OWDetectEdgeTransition:
|
||||||
{
|
{
|
||||||
|
JSL OWDestroyItemSprites
|
||||||
STZ.w $06FC
|
STZ.w $06FC
|
||||||
LDA.l OWMode : ORA.l OWMode+1 : BEQ .vanilla
|
LDA.l OWMode : ORA.l OWMode+1 : BEQ .vanilla
|
||||||
JSR OWShuffle
|
JSR OWShuffle
|
||||||
|
|||||||
Reference in New Issue
Block a user