My game is going to have a Day/Night system. I've evented a very simple one, and it relies on mainly variables, but also one switch. I have it to set a switch to true when it is night, but I can also check if a variable is a certain number to check if it is night or not.
I want to make it to where when it is night, you can encounter different enemies than when it was day, and also increase the encounter rate.
I've solved increasing the encounter rate with Yanfly's Repel and Lure script, but I cannot figure out anyway to either mass change regions ids on the world map when it turns night and then change them back to normal when it is day, or otherwise just change what encounters happen when it is night.
For the region id idea, I am reserving the next number down the list to the night version of the previous number. So, if its region id 1, region id 2 would be reserved for the night encounters for 1. 3 would be a new region id with 4 reserved for the night encounters for 3, and so on. Basically, odd numbers are day encounters and even numbers are night encounters.
Any help on this topic would be greatly appreciated.
I want to make it to where when it is night, you can encounter different enemies than when it was day, and also increase the encounter rate.
I've solved increasing the encounter rate with Yanfly's Repel and Lure script, but I cannot figure out anyway to either mass change regions ids on the world map when it turns night and then change them back to normal when it is day, or otherwise just change what encounters happen when it is night.
For the region id idea, I am reserving the next number down the list to the night version of the previous number. So, if its region id 1, region id 2 would be reserved for the night encounters for 1. 3 would be a new region id with 4 reserved for the night encounters for 3, and so on. Basically, odd numbers are day encounters and even numbers are night encounters.
Any help on this topic would be greatly appreciated.