Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- This technique relies on a glitch called the squish cancel (https://www.youtube.com/watch?v=SQhH8lnoH4k) which uses weird geometry of the pendulum to let mario cancel his action to freefall in midair. Since a groundpound raises mario up slightly at first, by repeatedly groundpounding and squish cancelling we can gain lots of height! Unfortunately if we go too high the pendulum becomes intangible and this stops working. We can't go high enough to ledgegrab normally, but fortunately two parts of the wall have very slightly different normal vectors due to floating point rounding, allowing for a glg to get just enough height (https://www.youtube.com/watch?v=C9Nn441JFhg)
- This is much harder than it looks. The probability decreases exponentially with the number of squishes required. And the available sc spots are different for each angle. So I wrote a bruteforcer to check for possible pendulum movements that would work
- There's lots to consider for this:
- After every sc the number of frames until the next sc changes the height gained. And how many frames you wait before groundpounding affects the height, and how far you can strain to. On top of that, the total height across the chain must be within a very specific range. Too low and you can't glg. Too high and you leave the pendulum tangibility radius
- The sc spots are also constrained by distance, as the maximum distance mario can fall before losing more height than a gp would gain isn't long enough to strain from any sc spot to any other. So a sc spot is only valid if it's close enough to a previous valid sc spot. As well, falling for a fixed number of frames would constrain the solutions too much, so it has to be dynamic. sc spots that are closer together can be strained to in less frames, gaining more height. Again, all of this height must also add to a specific range
- Also, mario can't enter a sc spot willingly, the pendulum must move it under him, which means mario has to be in the right position before the squish. Which means if that pendulum has an exposed ceiling at that position on that frame, the sc spot is inaccesible
- Also also the starting height of mario is below the max height of the pendulum, so for the first few groundpounds some sc spots are inaccessible because mario would just bump into the pendulum.
- Also also also as mario goes higher up, further away sc spots leave the tangibility radius and become inaccessible
- This means the available sc spots aren't just a function of the pendulum's angle, but also the pendulum's speed, acceleration, all previous angles, mario's position and height, and position and height at all previous steps
- The sc spots themselves are very precise. While floors and ceilings take up unit squares, the effect of the de-facto speed on the squish push meant the actual sc spots were sometimes as small as 0.01 units (tenth of a milimetre). The final ledge grab is float perfect - ~0.0001 units (1 micrometre), smaller than a human cell.
- That would be far too tedious to deal with manually, so on top of writing the simulator for the pendulum's movement, and the collision simulator and the pendulum vertex calculator to get the sc spots, I wrote a sim for mario's movement (and the camera movement) and automatically generated the entire sequence of inputs for the chain. Since the final grab is floating point precise, the simulator had to be float-perfect, including taking into account the squish push at every step.
- We have to start the scgp from the lower walkway, to stay far enough away from the bobombs, but unfortunately the difficulty of the chain scales exponentionally with distance, and the walkway is very far. Not to mention how there's so many less sc spots low down, as mario is below the pendulum. It's likely no solutions exist for a chain that long.
- And you can't just ride the pendulum up as, unlike other objects, it doesn't translate mario. So if the pendulum moves too fast for even the max floor snap, he will simply fall through it
- And the minimum speed for the scgp is greater than the maximum speed possible to ride it, as far as I'm aware
- After many attempts, I decided to use a midair walk
- There's a glitch where if mario is inside a ceiling, but his floor moves away, he will continue to stay in the air for as long as he's walking. So mario can ride the pendulum up, squish through the ceiling and midair walk, all while rng maniping the pendulum
- But of course, it's not that easy
- The pendulum is still really difficult to ride, the arm is thinner than the wall hitboxes, so if it moves up 30 units in a frame, mario will fall off. Plus, with X/Z wall projection stuff, it can be much lower than that
- And unfortunately, any swings that make it high enough for the midair walk, are moving too fast to ride up
- So, I used a second midair walk
- Unfortunately, when the pendulum passes on the next swing, its walls push mario out. And since he's in a ceiling, he can't strain back on until he falls out. When doing this from high up, mario is just falling too fast to land on it
- But, mario is considered in a ceiling when 160 units below, but only gets squished when 150 units below. So in this narrow 10 unit space, mario can midair walk below the ceiling.
- This is just barely low enough to land on the pendulum, though it's very precise, only certain positions work for certain swings.
- So, I made yet another bruteforcer
- It had to take into account:
- Ability to strain onto the pendulum
- And into the very specific positions that are ridable
- Can only be squished through with a certain spacing to not take damage
- Must be outside the 4000-unit radius at all times
- Since he can't willing move into a ceiling, he has to be snapped by the floor. So, it must be an amplitude that has those very precise positions also within the 150-160 unit margin, while also being accessible from the walkway
- ledgehang, so he instead has to midair-punch until the pendulum is low enough. But the pendulum quickly becomes too steep to stand on, so I had to premanip the rng so the pendulum wait timer was at a specific value so the punch would end in time.
- Also, once it become too steep, mario has to midair-framewalk. The direction of the slope can quickly change, so mario has to be nearly parallel to the slope to turn quickly. Sometimes the angle flips on consecutive frames, requiring camera manipulation to use the perpendicular slope glitch
- Also also, since mario's position is right at the edge, there are frequently exposed ceilings that would squish downwarp him that I had to filter out.
- Once through the ceiling, mario now has to get onto the pendulum head. I use a boost from a fire clone for this.
- Unfortunately, the angle needed is too far into the 4000 unit radius at its peak.
- But I found a way:
- The game considers floors 2 units below a ceiling to be above them, so there's effectively a tiny 1 unit thick sliver of exposed floor that pokes through into the pendulum. By standing in the right place, mario can get squished through the pendulum into this tiny hollow strip inside it. This is just far enough away from the bobomb to fire boost up through the floor and onto the hand.
- This requires a very precise starting location, and since at this point the floor is too slippery, mario has to crawl into position (crawling prevents sliding on some slopes, and it's too precise to framewalk)
- From there mario can midair walk, occasionally stopping to floor snap up to the max height and get into the right position, to the scgp amplitude, and pop out of the ceiling to start the chain
- Also also also, fire clones have a larger hitbox than hurtbox, but being in the hitbox of a used up fire clone, prevents activating another. Since we need two trips up and so two fire clones, they had to be put at different heights, so could be activated separately by starting from different unit squares. This required them to be placed at subunit precise heights. A 3rd fire clone was also needed so its hitbox could prevent activating the other two early. The fire gets put out by the squish instantly, so mario doesn't actually take any damage from it
- Also also also also, since the scgp chain has to be done twice, these 3 pendulum amplitudes have to be reversibly accessible from each other. i.e. on the same branch. So the results from my midair walk bruteforcer had to feed into my scgp bruteforcer.
- This solution was the fastest I found and took 61 minutes of initial rng manip, and 5 more per scgp chain. Faster solutions almost certainly exist.
Advertisement
Add Comment
Please, Sign In to add comment