Fix incorrect dungeon reminder appearing briefly out of map
This commit is contained in:
@@ -59,10 +59,18 @@ DRHUD_EnemyDropIndicator:
|
|||||||
SEP #$10 : TAX : REP #$10
|
SEP #$10 : TAX : REP #$10
|
||||||
|
|
||||||
DRHUD_DrawCurrentDungeonIndicator: ; mX
|
DRHUD_DrawCurrentDungeonIndicator: ; mX
|
||||||
LDA.l DRMode : BIT.b #$02 : BEQ DRHUD_Finished
|
LDA.l DRMode : BIT.b #$02 : BNE + : JMP DRHUD_Finished : +
|
||||||
LDY.w #!BlankTile
|
LDY.w #!BlankTile
|
||||||
LDA.w CurrentHealth : BEQ .draw_indicator
|
LDA.w CurrentHealth : BEQ .draw_indicator
|
||||||
|
|
||||||
|
LDA.b GameMode
|
||||||
|
CMP.b #$0E : BNE .get_indicator
|
||||||
|
LDA.b GameSubMode
|
||||||
|
CMP.b #$03 : BNE .get_indicator
|
||||||
|
LDA.w SubModuleInterface
|
||||||
|
CMP.b #$06 : BEQ .draw_indicator
|
||||||
|
|
||||||
|
.get_indicator
|
||||||
REP #$20 : LDA.l DungeonReminderTable,X : TAY
|
REP #$20 : LDA.l DungeonReminderTable,X : TAY
|
||||||
SEP #$20
|
SEP #$20
|
||||||
.draw_indicator
|
.draw_indicator
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ CheckSwitchMap:
|
|||||||
STA.w DungeonID
|
STA.w DungeonID
|
||||||
|
|
||||||
LDA.b #$04
|
LDA.b #$04
|
||||||
STA.w $0200
|
STA.w SubModuleInterface
|
||||||
REP #$20
|
REP #$20
|
||||||
LDA.w #$0000
|
LDA.w #$0000
|
||||||
RTL
|
RTL
|
||||||
@@ -37,7 +37,7 @@ DungeonMapSwitch_Submodule:
|
|||||||
STA.w $0710
|
STA.w $0710
|
||||||
|
|
||||||
LDA.b #$01
|
LDA.b #$01
|
||||||
STA.w $0200
|
STA.w SubModuleInterface
|
||||||
STA.w $020D
|
STA.w $020D
|
||||||
STZ.w $0213
|
STZ.w $0213
|
||||||
STZ.w $021B
|
STZ.w $021B
|
||||||
@@ -78,7 +78,7 @@ SkipMapSprites:
|
|||||||
|
|
||||||
LDA.l DRMode
|
LDA.l DRMode
|
||||||
BNE +
|
BNE +
|
||||||
LDA.w $0200
|
LDA.w SubModuleInterface
|
||||||
CMP.b #$04
|
CMP.b #$04
|
||||||
BEQ +
|
BEQ +
|
||||||
JSL DrawEntrances
|
JSL DrawEntrances
|
||||||
@@ -91,7 +91,7 @@ SkipMapSprites:
|
|||||||
STZ.b $0E
|
STZ.b $0E
|
||||||
STZ.b $0F
|
STZ.b $0F
|
||||||
|
|
||||||
LDA.w $0200
|
LDA.w SubModuleInterface
|
||||||
CMP.b #$04
|
CMP.b #$04
|
||||||
BNE +
|
BNE +
|
||||||
JML $8AEAFC
|
JML $8AEAFC
|
||||||
|
|||||||
Reference in New Issue
Block a user