Seen 49 Minutes Ago
Posted 5 Hours Ago
701 posts
5.5 Years
That error message suggests that ditto0 is a boolean (i.e. true or false), not a Pokémon object. Maybe you can work backwards to find out how ditto0 gets assigned, because that presumably involves comparing the Pokémon's species to :DITTO.