I've been trying to find this out, but can't find it in the script. How is a preemtive/surprise determined? What causes it? If I understand correctly, surprise makes it so actors aren't acting the first turn and preemtive makes it so enemies aren't acting on the first turn. But where exactly does it determine if these flags go up?
EDIT:
Nevermind, I was looking in Scene_Battle, but its in Scene_Map.
EDIT:
Nevermind, I was looking in Scene_Battle, but its in Scene_Map.