functional for two-typed pokemon