Glitchy Ledge Grab
A glitchy ledge grab or GLG is a kind of ledge grab that goes higher than a normal ledge grab.
A GLG can ascend slightly more than 238 units up, compared to only 150 units from a regular ledge grab. The game does two ledge grab checks, one at Mario's lower body and one at his upper body. When Mario's lower body touches a wall and not his upper body, the game looks for a floor to grab onto. This happens when it is within 50 units from his feet, but more than 50 units from his head. Alternatively, 30 units up there is a wall but 150 units up there is not one, this time measuring from Mario's feet. A glitchy ledge grab is when those two things don't line up quite right, so Mario is able to grab a ledge he normally wouldn't be able to. A GLG can be triggered because:
- The wall is slightly tilted, so Mario's lower body touches it but not his upper body, which triggers a ledge grab check when there isn't supposed to be one (used in the A Button Challenge to enter The Secret Aquarium 0xA)
- Mario's lower body touches a wall, but it detects the wrong floor because of the direction it searches in (used in the A Button Challenge to go to Bowser in the Sky 0xA)
- Mario's lower body touches a wall, but it detects the wrong floor because the floor search starts 238 units above Mario, which is too high