Cleanup switch track

This commit is contained in:
scawful
2025-02-16 10:53:07 -05:00
parent ee09b6dacc
commit 56c098a884
2 changed files with 5 additions and 10 deletions

View File

@@ -202,8 +202,8 @@ Sprite_Minecart_Prep:
.inRoom
; Check if the coordinates match, if not kill the sprite.
; If cart isn't appearring in room, check here for values to match
; against the MiencartTrack table values.
; If cart isn't appearing in room, check here for values to match
; against the MinecartTrack table values.
; print "MinecartPrep_CheckCoords ", pc
LDA.w !MinecartTrackX, Y : CMP.w SprCachedX : 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
; been given a track.
.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

View File

@@ -95,7 +95,6 @@ Sprite_RotatingTrack_Main:
dw TopRightToBottomRight
dw BottomRightToBottomLeft
; -------------------------------------------------------
; 00 = TopLeft -> TopRight
TopLeftToTopRight:
{
@@ -107,7 +106,6 @@ Sprite_RotatingTrack_Main:
RTS
}
; -------------------------------------------------------
; 01 = BottomLeft -> TopLeft
BottomLeftToTopLeft:
{
@@ -119,7 +117,6 @@ Sprite_RotatingTrack_Main:
RTS
}
; -------------------------------------------------------
; 02 = TopRight -> BottomRight
TopRightToBottomRight:
{
@@ -131,7 +128,6 @@ Sprite_RotatingTrack_Main:
RTS
}
; -------------------------------------------------------
; 03 = BottomRight -> BottomLeft
BottomRightToBottomLeft:
{
@@ -217,4 +213,3 @@ Sprite_RotatingTrack_Draw:
db $BD
}
; =========================================================