Keep dungeon tileset after opening the map

This commit is contained in:
Catobat
2021-10-31 21:16:09 +01:00
parent 415e2cae41
commit a1fafb72cd
3 changed files with 15 additions and 0 deletions

10
gfx.asm
View File

@@ -45,6 +45,16 @@ FixAnimatedTiles:
+ LDA $02802E, X ; what we wrote over
RTL
FixCloseDungeonMap:
LDA.l DRMode : CMP #$02 : BNE .vanilla
LDA $040C : BMI .vanilla
LSR : TAX
LDA.l DungeonTilesets,x
RTL
.vanilla
LDA $7EC20E
RTL
FixWallmasterLamp:
ORA $0458
STY $1C : STA $1D : RTL ; what we wrote over