Merge branch 'main' into overworld_kara
This commit is contained in:
@@ -127,10 +127,9 @@ RTL
|
|||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
|
|
||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
;Fix for PoD causing accidental Exploration Glitch
|
;Fix for SQ jumping causing accidental Exploration Glitch
|
||||||
PodEGFix:
|
SQEGFix:
|
||||||
LDA Bugfix_PodEG : BNE .done
|
LDA Bugfix_PodEG : BNE .done
|
||||||
LDA $040C : CMP.b #$0C : BNE .done ;check if we are in PoD
|
|
||||||
STZ $047A ;disarm exploration glitch
|
STZ $047A ;disarm exploration glitch
|
||||||
.done
|
.done
|
||||||
RTL
|
RTL
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ RTL
|
|||||||
OnDungeonExit:
|
OnDungeonExit:
|
||||||
PHA : PHP
|
PHA : PHP
|
||||||
SEP #$20 ; set 8-bit accumulator
|
SEP #$20 ; set 8-bit accumulator
|
||||||
JSL.l PodEGFix
|
JSL.l SQEGFix
|
||||||
PLP : PLA
|
PLP : PLA
|
||||||
|
|
||||||
STA $040C : STZ $04AC ; thing we wrote over
|
STA $040C : STZ $04AC ; thing we wrote over
|
||||||
@@ -50,8 +50,8 @@ OnDungeonExit:
|
|||||||
RTL
|
RTL
|
||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
OnQuit:
|
OnQuit:
|
||||||
JSL.l PodEGFix
|
JSL.l SQEGFix
|
||||||
|
LDA.b #$00 : STA $7F5035 ; bandaid patch bug with mirroring away from text
|
||||||
LDA.b #$10 : STA $1C ; thing we wrote over
|
LDA.b #$10 : STA $1C ; thing we wrote over
|
||||||
RTL
|
RTL
|
||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -460,6 +460,7 @@ JMP StatTransitionCounter
|
|||||||
!UW_MIRROR_COUNTER = "$7EF43B"
|
!UW_MIRROR_COUNTER = "$7EF43B"
|
||||||
IncrementUWMirror:
|
IncrementUWMirror:
|
||||||
PHA
|
PHA
|
||||||
|
LDA.b #$00 : STA $7F5035 ; bandaid patch bug with mirroring away from text
|
||||||
LDA !LOCK_STATS : BNE +
|
LDA !LOCK_STATS : BNE +
|
||||||
LDA $040C : CMP #$FF : BEQ + ; skip if we're in a cave or house
|
LDA $040C : CMP #$FF : BEQ + ; skip if we're in a cave or house
|
||||||
LDA !UW_MIRROR_COUNTER : INC : STA !UW_MIRROR_COUNTER
|
LDA !UW_MIRROR_COUNTER : INC : STA !UW_MIRROR_COUNTER
|
||||||
|
|||||||
Reference in New Issue
Block a user