fix: some bytes designations on moved variables
This commit is contained in:
8
msu.asm
8
msu.asm
@@ -497,8 +497,8 @@ PHA : XBA : PHA
|
|||||||
; dont save if we already saved recently
|
; dont save if we already saved recently
|
||||||
REP #$20
|
REP #$20
|
||||||
LDA.l MSUResumeTrack : AND.w #$00FF : BEQ ++
|
LDA.l MSUResumeTrack : AND.w #$00FF : BEQ ++
|
||||||
LDA.l NMIFrames : !SUB.w MSUResumeTime : PHA
|
LDA.l NMIFrames : !SUB.l MSUResumeTime : PHA
|
||||||
LDA.l NMIFrames+2 : SBC.w MSUResumeTime+2 : BNE +++
|
LDA.l NMIFrames+2 : SBC.l MSUResumeTime+2 : BNE +++
|
||||||
PLA : CMP.l MSUResumeTimer : !BLT .too_early
|
PLA : CMP.l MSUResumeTimer : !BLT .too_early
|
||||||
BRA ++
|
BRA ++
|
||||||
+++
|
+++
|
||||||
@@ -663,8 +663,8 @@ MSUMain:
|
|||||||
PLX
|
PLX
|
||||||
TXA : CMP.l MSUResumeTrack : BNE + ; dont resume if too late
|
TXA : CMP.l MSUResumeTrack : BNE + ; dont resume if too late
|
||||||
REP #$20
|
REP #$20
|
||||||
LDA.l NMIFrames : !SUB.w MSUResumeTime : PHA
|
LDA.l NMIFrames : !SUB.l MSUResumeTime : PHA
|
||||||
LDA.l NMIFrames+2 : SBC.w MSUResumeTime+2 : BNE ++
|
LDA.l NMIFrames+2 : SBC.l MSUResumeTime+2 : BNE ++
|
||||||
PLA : CMP.l MSUResumeTimer : !BGE +++
|
PLA : CMP.l MSUResumeTimer : !BGE +++
|
||||||
SEP #$20
|
SEP #$20
|
||||||
LDA.b #!FLAG_RESUME_FADEIN : BRA .done_resume
|
LDA.b #!FLAG_RESUME_FADEIN : BRA .done_resume
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ LoadModifiedArmorLevel:
|
|||||||
CMP.b #$03 : !BLT + : LDA.b #$02 : +
|
CMP.b #$03 : !BLT + : LDA.b #$02 : +
|
||||||
STA.l ScratchBufferV
|
STA.l ScratchBufferV
|
||||||
PLA
|
PLA
|
||||||
!ADD.w ScratchBufferV
|
!ADD.l ScratchBufferV
|
||||||
RTL
|
RTL
|
||||||
;================================================================================
|
;================================================================================
|
||||||
; MagicConsumption - Magic Inventory
|
; MagicConsumption - Magic Inventory
|
||||||
|
|||||||
Reference in New Issue
Block a user