Doesn't work every single time. Sometimes the skyfall screws you out of 400 of those 900 coins. Thankfully I got the sparkly red present and the 2k coins it contained to cover what the skyfall screwed me out of.
But It's very rare that the skyfall combo will be large enough to KO the Pokemon. If it happens to someone frequently, then they're probably making a mistake somewhere.