From 4593b45e2ee3610abcea7a9060cd3b17a298b44e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sun, 5 Jul 2020 18:52:48 +0200 Subject: [PATCH] savestate: Include pokemon nickname and OT name in Debug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- savestate/src/species.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/savestate/src/species.rs b/savestate/src/species.rs index 9e7a9f3..8cf6a41 100644 --- a/savestate/src/species.rs +++ b/savestate/src/species.rs @@ -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)