diagnose and add todo for lost woods scroll bug
This commit is contained in:
@@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
; ==========================================================
|
; ==========================================================
|
||||||
|
|
||||||
|
; OverworldHandleTransitions
|
||||||
org $02AA7D
|
org $02AA7D
|
||||||
JSL LOST_WOOD_HOOK
|
JSL LOST_WOOD_HOOK
|
||||||
|
|
||||||
@@ -31,6 +32,8 @@ LOST_WOOD_HOOK:
|
|||||||
|
|
||||||
normalfinish:
|
normalfinish:
|
||||||
{
|
{
|
||||||
|
; Overworld_ActualScreenID
|
||||||
|
; Gets the small/large map true ID of the current screen
|
||||||
LDA $02A5EC, x ; not right area so return.
|
LDA $02A5EC, x ; not right area so return.
|
||||||
STZ !ComboCounter
|
STZ !ComboCounter
|
||||||
RTL
|
RTL
|
||||||
@@ -158,4 +161,38 @@ LOST_WOOD_HOOK:
|
|||||||
LDA #$29 ; load the same area.
|
LDA #$29 ; load the same area.
|
||||||
RTL
|
RTL
|
||||||
}
|
}
|
||||||
|
|
||||||
|
; TODO: Restore camera values on invalid combinations.
|
||||||
|
RestoreCameraNorth:
|
||||||
|
{
|
||||||
|
LDA $700
|
||||||
|
SEC
|
||||||
|
SBC #$10
|
||||||
|
STA $700
|
||||||
|
RTS
|
||||||
|
}
|
||||||
|
|
||||||
|
RestoreCameraSouth:
|
||||||
|
{
|
||||||
|
LDA $700
|
||||||
|
CLC
|
||||||
|
ADC #$10
|
||||||
|
STA $700
|
||||||
|
RTS
|
||||||
|
}
|
||||||
|
|
||||||
|
RestoreCameraWest:
|
||||||
|
{
|
||||||
|
DEC $700
|
||||||
|
DEC $700
|
||||||
|
RTS
|
||||||
|
}
|
||||||
|
|
||||||
|
RestoreCameraEast:
|
||||||
|
{
|
||||||
|
INC $700
|
||||||
|
INC $700
|
||||||
|
RTS
|
||||||
|
}
|
||||||
|
|
||||||
} ; label LOST_WOOD_HOOK
|
} ; label LOST_WOOD_HOOK
|
||||||
Reference in New Issue
Block a user