mirror of
https://github.com/lscharen/iigs-game-engine.git
synced 2024-12-28 18:29:19 +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
|
UserTool $1300+GTEToolNum
|
||||||
<<<
|
<<<
|
||||||
; Helper function to set the data back to the toolset default
|
; Helper function to set the data back to the toolset default
|
||||||
_SetDataBank sep #$20
|
;_SetDataBank sep #$20
|
||||||
lda #^TileStore
|
; lda #^TileStore
|
||||||
pha
|
; pha
|
||||||
|
; plb
|
||||||
|
; rep #$20
|
||||||
|
; rts
|
||||||
|
|
||||||
|
_SetDataBank pea #>TileStore
|
||||||
|
plb
|
||||||
plb
|
plb
|
||||||
rep #$20
|
|
||||||
rts
|
rts
|
||||||
|
|
||||||
; Do nothing when the tool set is installed
|
; Do nothing when the tool set is installed
|
||||||
|
Loading…
Reference in New Issue
Block a user