- 41
- Posts
- 4
- Years
- Seen Sep 19, 2023
So, I've run into some difficulty. I want to add a "town building" element to my starting game. A section of the town that has nothing in it but as you slowly donate money a Pokemart, Pokemon Center and two other buildings appear. I tried doing this with events but the rendering distance causes the player to briefly see the building in question before the event graphic activates. I tried doing this with a TON of events covering the area to reveal the building but that lagged my game so hard because there were about 50 events within the same screen. Obviously that's not going to be good for anyone.
So i thought about having multiple instances of that town on the same map grid. One with no buildings, 1 building, 2 buildings, 3, buildings, and all buildings. I figured having gateways surrounding the town so that the map transfer could be dependent on the switch or variable that controls the buildings.
However that brings me to fly. How can I ensure that when you use fly (or in this case I'm using HM items to replace HMs) you arrive at the appropriate instance of the town? Where can i put the conditional branch that if X switch or variable is whatever that i fly to this spot on the map instead of this spot?
Please explain this to me like i'm 5 because I have difficulty with knowing what to do with scripts.
So i thought about having multiple instances of that town on the same map grid. One with no buildings, 1 building, 2 buildings, 3, buildings, and all buildings. I figured having gateways surrounding the town so that the map transfer could be dependent on the switch or variable that controls the buildings.
However that brings me to fly. How can I ensure that when you use fly (or in this case I'm using HM items to replace HMs) you arrive at the appropriate instance of the town? Where can i put the conditional branch that if X switch or variable is whatever that i fly to this spot on the map instead of this spot?
Please explain this to me like i'm 5 because I have difficulty with knowing what to do with scripts.