I'm doing a tower defense game and I'm creating all my events from scripts (just adding them to $game_map.events). everything works great, except that I can't make the map show any newly created mobs without doing a scene transition. They exist, and they walk around the map, but they're invisible until i go to the menu and back out, or do a SceneManager.call(Scene_Map). All the solutions I've found freeze the screen for a second, which doesn't work very well when mobs are pouring in nonstop. The framerate gets extremely choppy if I try to just use events normally, and I've already coded the whole enemy waves system, so I'd really like to find a way to handle it with the system I have.
I've had this problem in another game and in that case I was using an event and a fadeout already, so I was able to get the map to update from the event page by switching tilesets, waiting 1 frame, and switching back. I can't do that this time, and it doesn't work when I mimic the same commands from a script.
I've been up and down the code and can't figure out how the scene transition updates the graphics for the new events. I'm out of ideas. Anyone got any?