Frickley were made to pay for missed chances as they went down to an injury time goal in their Toolstation NCE Premier Division game.
The Blues trailed to a 21st minute effort by Louis Fialdini, but led 2-1 at the break after Lee Bennett and Szymon Czubik scored goals in the last minute of the opening half
Fialdini’s second goal levelled the game just before the hour mark and with chance after chance missed it looked like the home team would have to settle for a draw.
However, right at the death Alfie Wilkinson’s lob from 25 yards out stole the points for the Ammas who won 3-2.