Save GameMode with DCharacter.

* Fix an error relating to battles.