Cleanup switch track
This commit is contained in:
@@ -202,8 +202,8 @@ Sprite_Minecart_Prep:
|
|||||||
.inRoom
|
.inRoom
|
||||||
|
|
||||||
; Check if the coordinates match, if not kill the sprite.
|
; Check if the coordinates match, if not kill the sprite.
|
||||||
; If cart isn't appearring in room, check here for values to match
|
; If cart isn't appearing in room, check here for values to match
|
||||||
; against the MiencartTrack table values.
|
; against the MinecartTrack table values.
|
||||||
; print "MinecartPrep_CheckCoords ", pc
|
; print "MinecartPrep_CheckCoords ", pc
|
||||||
LDA.w !MinecartTrackX, Y : CMP.w SprCachedX : BNE .killMinecart
|
LDA.w !MinecartTrackX, Y : CMP.w SprCachedX : BNE .killMinecart
|
||||||
LDA.w !MinecartTrackY, Y : CMP.w SprCachedY : BNE .killMinecart
|
LDA.w !MinecartTrackY, Y : CMP.w SprCachedY : BNE .killMinecart
|
||||||
@@ -308,7 +308,7 @@ Sprite_Minecart_Prep:
|
|||||||
; This is which room each track should start in if it hasn't already
|
; This is which room each track should start in if it hasn't already
|
||||||
; been given a track.
|
; been given a track.
|
||||||
.TrackStartingRooms
|
.TrackStartingRooms
|
||||||
dw $0098, $0088, $0089, $0088, $0089, $0089, $0089, $0089
|
dw $0098, $0088, $0087, $0088, $0089, $0089, $0089, $0089
|
||||||
dw $0089, $0089, $0089, $0089, $0089, $0089, $0089, $0089
|
dw $0089, $0089, $0089, $0089, $0089, $0089, $0089, $0089
|
||||||
dw $0089, $0089, $0089, $0089, $0089, $0089, $0089, $0089
|
dw $0089, $0089, $0089, $0089, $0089, $0089, $0089, $0089
|
||||||
dw $0089, $0089, $0089, $0089, $0089, $0089, $0089, $0089
|
dw $0089, $0089, $0089, $0089, $0089, $0089, $0089, $0089
|
||||||
|
|||||||
@@ -95,7 +95,6 @@ Sprite_RotatingTrack_Main:
|
|||||||
dw TopRightToBottomRight
|
dw TopRightToBottomRight
|
||||||
dw BottomRightToBottomLeft
|
dw BottomRightToBottomLeft
|
||||||
|
|
||||||
; -------------------------------------------------------
|
|
||||||
; 00 = TopLeft -> TopRight
|
; 00 = TopLeft -> TopRight
|
||||||
TopLeftToTopRight:
|
TopLeftToTopRight:
|
||||||
{
|
{
|
||||||
@@ -107,7 +106,6 @@ Sprite_RotatingTrack_Main:
|
|||||||
RTS
|
RTS
|
||||||
}
|
}
|
||||||
|
|
||||||
; -------------------------------------------------------
|
|
||||||
; 01 = BottomLeft -> TopLeft
|
; 01 = BottomLeft -> TopLeft
|
||||||
BottomLeftToTopLeft:
|
BottomLeftToTopLeft:
|
||||||
{
|
{
|
||||||
@@ -119,7 +117,6 @@ Sprite_RotatingTrack_Main:
|
|||||||
RTS
|
RTS
|
||||||
}
|
}
|
||||||
|
|
||||||
; -------------------------------------------------------
|
|
||||||
; 02 = TopRight -> BottomRight
|
; 02 = TopRight -> BottomRight
|
||||||
TopRightToBottomRight:
|
TopRightToBottomRight:
|
||||||
{
|
{
|
||||||
@@ -131,7 +128,6 @@ Sprite_RotatingTrack_Main:
|
|||||||
RTS
|
RTS
|
||||||
}
|
}
|
||||||
|
|
||||||
; -------------------------------------------------------
|
|
||||||
; 03 = BottomRight -> BottomLeft
|
; 03 = BottomRight -> BottomLeft
|
||||||
BottomRightToBottomLeft:
|
BottomRightToBottomLeft:
|
||||||
{
|
{
|
||||||
@@ -217,4 +213,3 @@ Sprite_RotatingTrack_Draw:
|
|||||||
db $BD
|
db $BD
|
||||||
}
|
}
|
||||||
|
|
||||||
; =========================================================
|
|
||||||
|
|||||||
Reference in New Issue
Block a user