Finding out whether the type of the moved used matches the attacking Pokémon type. If so then a multiplier of 1.5 is given, otherwise it is 1.
Finding out whether the type of the moved used matches the attacking Pokémon type. If so then a multiplier of 1.5 is given, otherwise it is 1.