Cleanup overworld overlays jump table organization
This commit is contained in:
@@ -78,12 +78,33 @@ RTS
|
|||||||
|
|
||||||
pullpc
|
pullpc
|
||||||
|
|
||||||
;===============================================
|
; Zarby Notes
|
||||||
; Entrance Animation
|
|
||||||
;===============================================
|
|
||||||
; don't forget to set $C8 to zero (STZ.b $C8)
|
; don't forget to set $C8 to zero (STZ.b $C8)
|
||||||
; don't forget to set $B0 to zero (STZ.b $B0)
|
; don't forget to set $B0 to zero (STZ.b $B0)
|
||||||
|
|
||||||
|
ShakeScreen:
|
||||||
|
{
|
||||||
|
REP #$20
|
||||||
|
LDA.b $1A
|
||||||
|
AND.w #$0001
|
||||||
|
ASL A
|
||||||
|
TAX
|
||||||
|
|
||||||
|
LDA.l $01C961, X
|
||||||
|
STA.w $011A
|
||||||
|
|
||||||
|
LDA.l $01C965, X
|
||||||
|
STA.w $011C
|
||||||
|
|
||||||
|
.exit
|
||||||
|
SEP #$20
|
||||||
|
RTS
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
; =========================================================
|
||||||
|
; Zora Temple Hidden Waterfall
|
||||||
|
|
||||||
ZoraTemple_EntranceAnimation:
|
ZoraTemple_EntranceAnimation:
|
||||||
{
|
{
|
||||||
; If $B0 is 8, then we move the camera back to the origin
|
; If $B0 is 8, then we move the camera back to the origin
|
||||||
@@ -122,30 +143,6 @@ ZoraTemple_EntranceAnimation:
|
|||||||
dw Frame6
|
dw Frame6
|
||||||
dw Frame7
|
dw Frame7
|
||||||
dw Frame8
|
dw Frame8
|
||||||
}
|
|
||||||
|
|
||||||
; =========================================================
|
|
||||||
; Shake screen
|
|
||||||
; =========================================================
|
|
||||||
|
|
||||||
ShakeScreen:
|
|
||||||
{
|
|
||||||
REP #$20
|
|
||||||
LDA.b $1A
|
|
||||||
AND.w #$0001
|
|
||||||
ASL A
|
|
||||||
TAX
|
|
||||||
|
|
||||||
LDA.l $01C961, X
|
|
||||||
STA.w $011A
|
|
||||||
|
|
||||||
LDA.l $01C965, X
|
|
||||||
STA.w $011C
|
|
||||||
|
|
||||||
.exit
|
|
||||||
SEP #$20
|
|
||||||
RTS
|
|
||||||
}
|
|
||||||
|
|
||||||
Frame0:
|
Frame0:
|
||||||
{
|
{
|
||||||
@@ -645,6 +642,8 @@ Frame8:
|
|||||||
RTS
|
RTS
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
; =========================================================
|
; =========================================================
|
||||||
; Castle Drawbridge
|
; Castle Drawbridge
|
||||||
|
|
||||||
@@ -928,7 +927,7 @@ Castle_Frame3:
|
|||||||
RTS
|
RTS
|
||||||
}
|
}
|
||||||
|
|
||||||
;===============================================
|
; =========================================================
|
||||||
|
|
||||||
TailPalace_EntranceAnimation:
|
TailPalace_EntranceAnimation:
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user