"Change Tileset..." option doesn't change if tiles can be walked on ?

Hello !
I have been trying to use the Change tileset feature and faced a problem in the process.

Here's the context :
  • I have a "time-travel" themed dungeon.
  • The player has to interact with an event to switch between past and present. (Similarly to the puzzles found in Lanayru's mining facility, for Zelda connoiseurs)
  • This event actually toggles the current tileset to either the past or present tileset.
  • Some tiles in the present tileset cannot be walked on but must be in the past tileset, which is why the tileset needs to be toggled.
As you can see in the pictures below, the present tileset (grayish pic) features holes while the past tileset (colourful pic) doesn't, etc.


However, whenever the tileset changes, the tiles' "passable status" remain the same as in the original tileset.
It is visually changed, but not functionally.
Tiles that should be walkable based on the past tileset's configuration are still treated as impassable, and this despite the fact the past tileset has a walkable floor instead of a hole.

And, by the way, yes, the tileset's passages are correctly configured. The said tilesets both work perfectly well when used individually on a map, I only face this situation whenever I toggle one tileset for the other.

I was wondering if anyone had already encountered such problem, and possibly found a solution.

Thanks for your time !
First of all, I love this idea! by far my favorite Zelda level

Can you attach screenshots of the passability settings and flags of the problematic tiles (in both tilesets) from the editor? could be a small oversight.
Keep in mind that transparent tiles from layers 1-3 could still be impassable, and you may not see them on the map but they might be there - It's worth checking.
can you also give a screenshot of the event used to toggle?
Sure, here are the tilesets :
Spoiler: Screenshots



As you can see on row 3, column 5, the hole on the floor in the present tileset is replaced by a normal, non-holed floor in the past tileset.

And here are the events triggering the tileset change :
Spoiler: Screenshots


EDIT: Forgot to add the bottom half of the parallel event :



So, whenever a specific event is triggered, it calls the Time Sphere common event which triggers the activatedPast switch.
Then there's a parallel event on the map changing the tileset to either present or past depending on the activatedPast switch status.

All of this leads to the following situation :
Your screenshot of the parallel event is incomplete, what is the bottom half of the commands?

However with what I can see I have a good guess: you're changing the tileset sixty times per second, and most likely the engine does not have the time to complete loading of the tileset before the next change tileset command is given

And why did you do it that way anyway? It would be much better if the change happens ONLY when the time sphere is used, and not in parallel.
Hmm yeah I also don't really understand why you're using a parallel event here?
Unless there's a really good reason why it's necessary, try it with a normal action trigger and see if the issue is solved.
Your screenshot of the parallel event is incomplete, what is the bottom half of the commands?
Woops, my bad. I didn't think it'd be an important part of the event, but just edited the post for clarity.

Hmm yeah I also don't really understand why you're using a parallel event here?
Unless there's a really good reason why it's necessary, try it with a normal action trigger and see if the issue is solved.
I did it that way because it is possible to leave the dungeon after the time sphere has been activated at least once, and tileset changes reset when the map is left, then rejoined.
So I needed the tileset to be constantly set to the correct one depending on whether the activatedPast switch is on or not. 🙂

However with what I can see I have a good guess: you're changing the tileset sixty times per second, and most likely the engine does not have the time to complete loading of the tileset before the next change tileset command is given
I just changed the whole thing and now use an automatic event that sets the correct tileset whenever the map is entered. And this depending on the switch's status. Then it simply deletes itself.
That fixed my issue.
Spoiler: Screenshot


Thanks a bunch for your help! ^^

Original thread: https://forums.rpgmakerweb.com/threads/change-tileset-option-doesnt-change-if-tiles-can-be-walked-on.165276/