[RMMV] Toggling Floor Damage Question

I actually have a way you can replace the individual tiles with the damaging ones with code without needing events, but it has the same issue as you'd run into with the standard damaging floor; it won't detect the change if the player is already standing on it.
I actually have a way you can replace the individual tiles with the damaging ones with code without needing events, but it has the same issue as you'd run into with the standard damaging floor; it won't detect the change if the player is already standing on it.

Ah, gotcha. Well, hopefully this setup with the parallel event and location variables and region IDs and conditionals accounts for that issue, so that the change will be detected - and the player damaged / screen flashed - even if the player is already standing on the tile when it becomes dangerous!
I think things are working well for me right now! I've attached a picture of the master event that loops through toggling switches on/off, and is in charge of dealing immediate damage if a player is already standing on the tile as it becomes dangerous, as well as two pictures of the regular region tile that flips between the normal Light Red tileset space and then the Dark Red image (the latter of which takes care of dealing damage when the player runs onto that already-dangerous tile). Together, it seems that both opportunities for taking damage (when standing on a tile that switches to being dangerous + when walking onto a tile that's already dangerous) are accounted for, without any overlap. The 4th picture I've added, Region Tile Numbers for Video, adds more context for when looking at the short video clip of things playing out in the actual game (the screen flashes and the damage is taken every time I want them to happen). Video is here:

Is there anything here that seems odd or potentially problematic? I've constructed the current situation to alternate between two different regions (ID#4 and ID#5) just for testing, and the way I've planned it is working as expected:
1st second: both regions are safe (Light Red).
2nd second: region #4 flips to dangerous (Dark Red), while #5 remains safe.
3rd second: region #5 flips to dangerous, making both regions dangerous.
4th second: region #4 flips to safe, while #5 remains dangerous.
5th second: region #5 flips to safe, so both regions are safe again (same as 1st second).
6th second: same as the 2nd second, because it's looping every 4 seconds (i.e., mod 4).
etc.

Original thread: https://forums.rpgmakerweb.com/threads/rmmv-toggling-floor-damage-question.137005/