pokémon logic