Added the autoend turns function that automatically ends the turn when all allied units have finished their actions, as in FE since GBA.
The specific process is that at the end of each allied unit's action, the autoend turns determination is made only if the second action determination fails.
A determination is made for 48 allies, and if no units remain available for action, an end-turn flag is made. It then determines if that is flagged in the waiting for key input on the map, and if so, the autoend turns process is called.