Added the game over event when Leif is petrified and there is no cure

Added the game over event when Leif is petrified and there is no cure for him in Chapter 24, 25, and Final. It will be detected at the end of each unit's action and at the end of Chapter 25.

Specifically, the game will be over in the following cases.

  • There is no Kia in the storage or anywhere on the map.
  • You (or your enemy) have Kia, but neither Sara nor Julia are there.

In this romhack, a magic that petrifies units will appear in Chapter 24 and 25. You can't beat a conquered map if you can't move Leif, so it's impossible to save while stuck. However, since Chapter 25 is an escape map, if you carried a petrified Leif when there was no way to cure for him and beat the map, you could save as is.

With this change, you will know that you should never petrify Leif in such a situation.

In addition, as a temporary measure for deadlocked data, I have added a process to restore Leif's state to normal at the beginning of the final chapter.