Shuffle in-room stairs

This commit is contained in:
Catobat
2021-01-30 00:07:50 +01:00
parent a9bddea1b4
commit dab4d58f12
8 changed files with 284 additions and 17 deletions

View File

@@ -203,4 +203,18 @@ ApplyScroll:
.end
sta $00e2, y
sta $00e0, y
stz $ab : sep #$30 : rts
stz $ab : sep #$30 : rts
QuadrantLoadOrderBeforeScroll:
lda $045f : beq .end
lda #$08 : sta $045c ; start with opposite quadrant row
.end
jsl $0091c4 ; what we overwrote
rtl
QuadrantLoadOrderAfterScroll:
lda $045f : beq .end
stz $045c : stz $045f ; draw other row and clear flag
.end
jsl $0091c4 ; what we overwrote
rtl