savestate: Include pokemon nickname and OT name in Debug

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2020-07-05 18:52:48 +02:00
parent 0444350885
commit 4593b45e2e
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -524,11 +524,13 @@ impl fmt::Debug for IndividualPk {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("IndividualPk")
.field("species", &self.species)
.field("nickname", &self.nickname)
.field("current_hp", &self.current_hp)
.field("level", &self.level)
.field("status", &self.status)
.field("catch_rate", &self.catch_rate)
.field("original_trainer_id", &self.original_trainer_id)
.field("original_trainer_name", &self.original_trainer_name)
.field("xp", &self.xp)
.field("iv", &self.iv)
.field("ev", &self.ev)