Moved some mirror code out to new function

This commit is contained in:
codemann8
2022-05-21 20:51:54 -05:00
parent 9b48477418
commit 9b846498a2
2 changed files with 7 additions and 2 deletions

View File

@@ -226,6 +226,11 @@ OWMirrorSpriteMove:
{
lda.l OWMode+1 : and.b #!FLAG_OW_CROSSED : beq +
lda.w $1acf : ora.b #$40 : sta.w $1acf
+ rts
}
OWMirrorSpriteBonk:
{
jsr.w OWMirrorSpriteMove
lda.b #$2c : jml SetGameModeLikeMirror ; what we wrote over
}
OWMirrorSpriteRestore: