pizzapartytime / Vortex

Build with Bug Fixes of Unreleased Mega Drive game Out of the Vortex
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

Yes route train movement bug #3

Closed pizzapartytime closed 2 months ago

pizzapartytime commented 2 months ago

I have heard from Macaw45's discord that completing the train level bugs out movement, sprites get a y-velocity after level load

pizzapartytime commented 2 months ago

I figured the shaking animation was the source, so I watched the variable that holds the Y position of the sprites. It was oscillating each frame with the value in a table in memory (MTrTbl = Monorail Tremble Table?). When the next level loads after the train, the value that holds the latest Monorail offset is stuck on 1 or -1, so the sprites go up/down 1 pixel each frame

I set this variable (Tremble_Mono) to clear on level load for the fix.