Hello, I'm calling upon the RMMZ gods to spot whatever's causing me grief that I just CANNOT find. u_u I tried searching for a solution, but I was unable to find my issue specifically. Please point me in the right direction if somebody already has the solution to my problem!
I have a chase scene that extends between two maps. There are two doors on either side of the map, thus, making it loopable from my enemy. You need to pass through either of the doors a total of 3 times to automatically end the chase.
The chase starts fine, and when I enter the second map, the chase continues as intended. It's when I go back into the first map to keep up the chase that there's a problem. My monster no longer chases. In fact, when I go back up to the second map, he no longer appears, either!
I did try turning off the transparency and putting a random sprite in for the enemy spawning on map 1 after I entered from the door on the right, and that did work for a split second. But?? I'm unsure WHY that worked?? When I changed the sprite back to the monster (and even tried just not putting an image at all), it didn't work at all.
I'm sorry for the onslaught of screenshots, but I'm not quite sure where I'm going wrong, so I figured I'd add it all. I know it's a simple fix, but I'm not proficient with RMMZ so any help is appreciated, thank you~ * g*)9
For context on the pics:
1st: The initial code that spawns my monster for the first time. These switches are switched off immediately, as I wanted him to spawn in a specific location only once. After the chase begins and you move map to map, he spawns from a different location.
2nd: The code to both doors, entering from map 1 to map 2. I have them on their own switches so that my enemy may enter from the correct door when chasing.
3rd: The code of my monster in map 2. It's set on a conditional branch so that if the variable is equal to 3, the chase automatically ends. If not, it'll check which door you entered from and have the enemy spawn from the corresponding door.
4th: The code to both doors, entering from map 2 to map 1. I have them on their own switches so that my enemy may enter from the correct door when chasing.
5th: The code of my monster in map 1. It's set on a conditional branch so that if the variable is equal to 3, the chase automatically ends. If not, it'll check which door you entered from and have the enemy spawn from the corresponding door.
6th: A better view of my maps. A black line separates them.
7th: And just an easier to understand list of my switches, because there's a lot going on here, haha.
8th: OOPS, I forgot to include the 4th tab in the transfer to map 2 pic!! This is after the initial switches are turned off and my full chase switch is turned on!
I have a chase scene that extends between two maps. There are two doors on either side of the map, thus, making it loopable from my enemy. You need to pass through either of the doors a total of 3 times to automatically end the chase.
The chase starts fine, and when I enter the second map, the chase continues as intended. It's when I go back into the first map to keep up the chase that there's a problem. My monster no longer chases. In fact, when I go back up to the second map, he no longer appears, either!
I did try turning off the transparency and putting a random sprite in for the enemy spawning on map 1 after I entered from the door on the right, and that did work for a split second. But?? I'm unsure WHY that worked?? When I changed the sprite back to the monster (and even tried just not putting an image at all), it didn't work at all.
I'm sorry for the onslaught of screenshots, but I'm not quite sure where I'm going wrong, so I figured I'd add it all. I know it's a simple fix, but I'm not proficient with RMMZ so any help is appreciated, thank you~ * g*)9
For context on the pics:
1st: The initial code that spawns my monster for the first time. These switches are switched off immediately, as I wanted him to spawn in a specific location only once. After the chase begins and you move map to map, he spawns from a different location.
2nd: The code to both doors, entering from map 1 to map 2. I have them on their own switches so that my enemy may enter from the correct door when chasing.
3rd: The code of my monster in map 2. It's set on a conditional branch so that if the variable is equal to 3, the chase automatically ends. If not, it'll check which door you entered from and have the enemy spawn from the corresponding door.
4th: The code to both doors, entering from map 2 to map 1. I have them on their own switches so that my enemy may enter from the correct door when chasing.
5th: The code of my monster in map 1. It's set on a conditional branch so that if the variable is equal to 3, the chase automatically ends. If not, it'll check which door you entered from and have the enemy spawn from the corresponding door.
6th: A better view of my maps. A black line separates them.
7th: And just an easier to understand list of my switches, because there's a lot going on here, haha.
8th: OOPS, I forgot to include the 4th tab in the transfer to map 2 pic!! This is after the initial switches are turned off and my full chase switch is turned on!