How do i make a system know if a player is on a certain map

Im trying to do a kinda chase scene where if the player doesn't get out of a map in time they die (kinda like that one scene in IB ) but i have no idea how to actually make that work.

for right now i have 8(6sec) tint screen commands in a row and a conditional branch with a timer, but i want to make it to where if the player is in the map then the conditonal branch is turned on rather than a timer.


im not all too familar with the commands as of yet, but if anyone has any advice, it would be greatly appreciated
😅

edit: shortcut B ) accidentally ruined a reference
Each map has it's own Map ID number, so you could just assign that to a variable and put that variable in a conditional as such:

Spoiler: example screenshots
example1.png

example2.png

I'm not altogether sure how your events are set up now or how they need to be set up, so if this doesn't answer the question, would you maybe mind explaining more or including screen shots? Good luck!

Edit: I completely overlooked that we're using different makes of RM...I've got a few, but not this one, so my advice might not be applicable, but I expect it's mostly the same. Sorry for any confusion!
It's pretty much the same.
1647868861714.png

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-a-system-know-if-a-player-is-on-a-certain-map.145971/