print something slightly more human readable
This commit is contained in:
parent
26429ac09b
commit
33d5fb29f3
|
@ -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])
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue