Hey, its not bugged - the AI was changed after the release of this quest which makes it switch out the Stunky.
The quest can still be done with some simple adjustments to the strategy you found on a guide. Just keep using Growl on the Frillish as well until it struggles, then finish it off with Peck. Then use Growl on the Stunky again until you can finish it off with one Ember.