print something slightly more human readable

This commit is contained in:
Vivian Lim 2019-12-23 20:33:13 -08:00
parent 26429ac09b
commit 33d5fb29f3
1 changed files with 1 additions and 1 deletions

View File

@ -34,6 +34,6 @@ impl Default for SyncedPokemonRedBlue {
impl Display for SyncedPokemonRedBlue {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "active: {:?}", &self.active_pokemon_raw[0..32])
write!(f, "active: pk#{} HP {:?}", &self.active_pokemon_raw[0xB], &self.active_pokemon_raw[0xC..0xE])
}
}