Maruno
Lead Dev of Pokémon Essentials
- 5,286
- Posts
- 17
- Years
- Seen May 3, 2024
The wiki has a page devoted to time. I don't think there's currently a way to make a "turn off at midnight" thing, but it can't be too difficult to create it.So there's no fix to the odd time system bug? Also- is there a way to make a switch that once on, turns off when it's a new day?
Go into Game_Event_ and find the def expired?. Copy and paste it, with a few modifications (i.e. return false if the current time is a different day to the variable's day). I'm not entirely sure how you'd do that (perhaps just check the weekday, and include a mention that returns false if the current time is over 100,000 seconds further on than the variable's time). Perhaps erase the variable while you're at it. I don't know. It's a start. If you figure something out, please mention it on the wiki - it saves someone else having to figure it out and put it up anyway.