A simple door block which teleports you to the screen exit if the timer is under a specified number, or else it teleports you to a specified secondary exit.
In the GIF, the player is teleported to different places depending on whether the timer is less than 100 or not.
Also please excuse the GIF's quality, I had to massively compress it to make it fit within the file size limit of 1MB, and as a result, lost most of its quality.
Fixed the door to work with secondary exits other than 0, since the format is slightly more complex. I also optimized the code slightly. Do note that this doesn't act exaclty like vanilla doors, for example you can enter a small door as big Mario. Otherwise I didn't find any issues.
Follow Us On