Tomb of horror fire slide

So I'm recreating the old dnd Tomb of Horrors and I want to make the hallway where you get to the end and it turns out the floor tilts and fire starts coming up the hall toward you. The way to beat it is you have to run back to the entry of the hall before it tilts to far into the fire. How do I make it so the fire chases you and it is an actual struggle to move up the hall(as if it was tilted)?
Still not sure on this, maybe i can do a change move speed?
Could use a change slower move speed when facing one direction (up the slope) and a faster one if u turn round and run down towards the flames. could use a parallel process for this that checks the players direction and changes move speed appropriately. would have to mess with the 'wait' command tho so it works effectively without lag.

you could also set a timer that automatically changes the tiles to flame tiles every certain number of frames, or an event that counts steps and turns the tiles to flames each time the player moves a square (so the flames would approach the player at the same speed as he moves). you could mess with the numbers a bit to tweak it so it works as you want.

Original thread: https://forums.rpgmakerweb.com/threads/tomb-of-horror-fire-slide.87093/