This is the UberASM version of the wall kick patch by MarioE (https://www.smwcentral.net/?p=section&a=details&id=17585), so that you can enable this mechanic only in certain levels.
The base code is essentially the same. All credit for the code goes to MarioE.
Requested by Romano338.
Version 1.1: added two new options:
- Allow a wall kick even when Mario is spin jumping.
- Allow consecutive wall kicks from walls with the same direction (including wall jumping off of the same wall multiple times). With this it doesn't happen that a wall doesn't let you slide and jump, so it removes what could be felt as unintuitive (or "jank") by players.