Hello everyone, to start I'm going to say what I'm planning on doing in my game. There is going to be a vampire that bites you and you start to get vampiric powers. One of these powers is having the ability to turn into a bat. To start, the bat will only be able to fly over water and certain tiles. Eventually you will be able to become a bat indefinitely. The first stage of the bat will last for 15 seconds and if time runs out, you would normally get stuck but I want it to force you to fly back to the last regularly passable tile that you were on. This tile could be a passable tile that you flew over while you were a bat (this is to make sure that you arent forced to fly like 30 tiles backwards if the timer happens to end while you are over a tree). I don't have the slightest clue how to do this so if somebody could tell me how that would be awesome.
I also need to know how to make certain tiles (as well as events because I have events for enemies instead of random encounters) unpassable even though through is turned on when you are a bat. This is so that you won't be able to get over areas you aren't supposed to go in and more importantly so that events activated with event touch will still activate.
Here is my common event (it is activated by pressing b. i'm using the button common events plugin from yanfly) Everything works just fine but I don't want the player to go back to normal when you enter a new area. I know it can be done by just making an event that checks if the bat variable is turned on but that would mean I have to have this check in an autorun event in every single area and I would rather do it in a common event. Here is my common event:

Finally how do I disable dashing while you are in bat form?
Thank you guys so much!
I also need to know how to make certain tiles (as well as events because I have events for enemies instead of random encounters) unpassable even though through is turned on when you are a bat. This is so that you won't be able to get over areas you aren't supposed to go in and more importantly so that events activated with event touch will still activate.
Here is my common event (it is activated by pressing b. i'm using the button common events plugin from yanfly) Everything works just fine but I don't want the player to go back to normal when you enter a new area. I know it can be done by just making an event that checks if the bat variable is turned on but that would mean I have to have this check in an autorun event in every single area and I would rather do it in a common event. Here is my common event:

Finally how do I disable dashing while you are in bat form?
Thank you guys so much!



