Snowboarding game. Restricting player movement to just the X axis without map dependant locks (can't use region ID's or unpassable tiles)

I'm trying to make a snowboarding mini-game, I've tried various failed solutions.

Imagine the player is sliding down hill. He can move left or right, but has no control over up or down movement. If he hits an obstacle it should knock him backwards/upwards 1 tile.

The illusion of the player's movement is achieved with a scrolling parallax (put simply).

Currently the player's up and down movements are restricted by region ID blocks (I've also tried restricting him using passability tiles). Both of those methods override his ability to be knocked backwards.

Essentially I need a way of momentarily unlocking the player's movement restrictrictions, knocking him back a tile or two, then relocking the restriction again. Either that or just nullifying the ability to walk up or down for that specific level.

I've tried all the tricks and work arounds I can think of.

Thanks as always!

p.s. I'm using RMMZ
A thing I'm wondering about is how the knockback happens. If it's an event or player touch trigger, with a one tile knock back moveroute, what's stopping you from just putting "Through on" at the start of that and "Through off" at the end of the knockback?
A thing I'm wondering about is how the knockback happens. If it's an event or player touch trigger, with a one tile knock back moveroute, what's stopping you from just putting "Through on" at the start of that and "Through off" at the end of the knockback?
Ohhhhhh my god!!! I'm such an idiot!! HOW DID THAT ESCAPE ME??? THAT'S SO BASIC!! I'm going to ask the mods to ban me! I'm literally fuming at myself now. Thanks, but that easy as hell answer has eluded me for two days.
Ohhhhhh my god!!! I'm such an idiot!! HOW DID THAT ESCAPE ME??? THAT'S SO BASIC!! I'm going to ask the mods to ban me! I'm literally fuming at myself now. Thanks, but that easy as hell answer has eluded me for two days.
Happens to the best of us.
Hmmm, but if you've restricted the player with regions and then you knock the player outside of that "box", then the player is no longer restricted?

edit: though I guess you could knock back 2 tiles and make alternating rows of region/no region, or something else I'm too tired to think about
Hmmm, but if you've restricted the player with regions and then you knock the player outside of that "box", then the player is no longer restricted?

edit: though I guess you could knock back 2 tiles and make alternating rows of region/no region, or something else I'm too tired to think about
Yeah, I did exactly that.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.


I'm going to ask the mods to ban me! I'm literally fuming at myself now.
If we banned everyone who overthought something or got confused we'd have to ban everybody, ourselves included. 😛

Original thread: https://forums.rpgmakerweb.com/threads/snowboarding-game-restricting-player-movement-to-just-the-x-axis-without-map-dependant-locks-cant-use-region-ids-or-unpassable-tiles.176126/