Shorter size-agnostic implemention of SetDataBank

This commit is contained in:
Lucas Scharenbroich 2023-06-27 21:30:30 -05:00
parent 2cc839b2c6
commit 29838abb40

View File

@ -119,11 +119,16 @@ _GTERemoveSprite MAC
UserTool $1300+GTEToolNum
<<<
; Helper function to set the data back to the toolset default
_SetDataBank sep #$20
lda #^TileStore
pha
;_SetDataBank sep #$20
; lda #^TileStore
; pha
; plb
; rep #$20
; rts
_SetDataBank pea #>TileStore
plb
plb
rep #$20
rts
; Do nothing when the tool set is installed