Pokémon Gold Version, Silver Version, and Crystal Version - Attacker uses the attack
"[Name] used [Attack]!"
Then if, as commands were chosen, there is no PP remaining for all moves ("There’s no PP left for this move!"), the move Struggle is used instead. Otherwise, the move’s PP is reduced by 1. If the PP can’t be reduced this way, the Pokémon doesn’t use that move instead. Fly, Dig, Petal Dance, Thrash, Rollout, and the like use up 1 PP only when selected. If a different attack is used because of disobedience, 1 PP is spent for the attack actually used.
The exception to PP reduction is Struggle when it’s chosen for use automatically because the Pokémon has no moves it could choose.