mirror of
https://github.com/lscharen/iigs-game-engine.git
synced 2024-12-28 03:29:22 +00:00
Shorter size-agnostic implemention of SetDataBank
This commit is contained in:
parent
2cc839b2c6
commit
29838abb40
13
src/Tool.s
13
src/Tool.s
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user