Marking OW screens as visited
This commit is contained in:
13
owrando.asm
13
owrando.asm
@@ -29,6 +29,9 @@ BCS OWDetectTransitionReturn
|
|||||||
org $02a999
|
org $02a999
|
||||||
jsl OWEdgeTransition : nop #4 ;LDA $02A4E3,X : ORA $7EF3CA
|
jsl OWEdgeTransition : nop #4 ;LDA $02A4E3,X : ORA $7EF3CA
|
||||||
|
|
||||||
|
org $02aa07
|
||||||
|
JSL OWMarkVisited : NOP
|
||||||
|
|
||||||
org $04e8ae
|
org $04e8ae
|
||||||
JSL OWDetectSpecialTransition
|
JSL OWDetectSpecialTransition
|
||||||
RTL : NOP
|
RTL : NOP
|
||||||
@@ -340,6 +343,16 @@ OWOldManSpeed:
|
|||||||
lda #$0c : sta $5e ; what we wrote over
|
lda #$0c : sta $5e ; what we wrote over
|
||||||
rtl
|
rtl
|
||||||
}
|
}
|
||||||
|
OWMarkVisited:
|
||||||
|
{
|
||||||
|
LDX.b $8A : STZ.w $0412 ; what we wrote over
|
||||||
|
LDA.b $10 : CMP.b #$14 : BCS .return
|
||||||
|
LDA.l OverworldEventDataWRAM,X
|
||||||
|
ORA.b #$80 : STA.l OverworldEventDataWRAM,X
|
||||||
|
|
||||||
|
.return
|
||||||
|
RTL
|
||||||
|
}
|
||||||
|
|
||||||
LoadMapDarkOrMixed:
|
LoadMapDarkOrMixed:
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user