Lee Molyneux continued his remarkable scoring run with a dramatic last-gasp winner to keep Stanley on course for survival.
Good Friday’s game at Wycombe looked destined to be a goalless stalemate, which the Reds would surely have taken before travelling to Buckinghamshire.
But deep into stoppage time, Molyneux pounced from a corner to make it three wins from four for the resurgent Reds and go five points clear of the bottom two, before York’s draw at Bristol Rovers on Saturday.
The former Everton trainee started the season wearing a tag after serving 17 months for violent assault and scored just once in his first 30 games for Stanley, although he did tend to play at left-back.
However, the arrival of Laurence Wilson in January has allowed Molyneux to play in a more advanced role and seen him transform into ‘League Two’s Gareth Bale’.
Friday’s goal was his seventh in eight games – and fifth in four - goals that have proved vital to Stanley’s push for safety.
The 24-year-old could have added to his tally even earlier at Adams Park, firing into the side-netting in the first half.
Stanley had broke forward from a corner after Reds keeper Paul Rachubka had turned behind Stuart Lewis’ attempted lob. Wycombe skipper Gary Doherty also headed wide from a Sam Wood cross.
Molyneux was booked in the 21st minute for a late challenge on Matt Ingram, who was making his professional debut in the home goal.
The left midfielder then fired wide from Rommy Boco’s pass while James Beattie, one of two changes along with Boco, shot too close to Ingram.
Wood’s free-kick tested Rachubka while Leon Johnson sent a close-range header wide from Joel Grant’s cross, and the hosts remained on top early in the second half.
A neat passing move outside the Stanley box worked the space for midfielder Lewis to burst through and shoot against the outside of a post while off balance.
The Reds replied with Molyneux combining with Boco before curling an effort wide, but Rachubka stayed alert to parry a Josh Scowen free-kick to safety in the 58th minute and from Grant’s ball back into the box, Matt McClure had a shot blocked by Beattie.
Tom Aldred then won possession on halfway, with Amine Linganzi and Molyneux combining to find Will Hatfield on the left and his cross was deflected into the path of Linganzi, who sent a first-time volley narrowly wide from 13 yards.
The best chance Wycombe had to claim a late winner was when Dean Winnard’s tackle on Lewis fell to Wood in the left side of the box and the winger dragged his shot a yard wide of the far post from 16 yards.
So it was left to Stanley to have the final say as, in the fourth of five added minutes, the hosts failed to clear a Craig Lindfield corner and Molyneux charged onto the loose ball to fire into the bottom corner from just inside the box, sparking jubilant scenes amongst the Stanley faithful.
“At this time of the season, it’s not about performances, it’s about results,” said Stanley boss Leam Richardson.
“I’ve said that previously when we’ve played really well and not got what we’ve deserved.
“With an hour gone, I said ‘wouldn’t it be a nice change if we didn’t play so well and got a scrappy 1-0 win’, and thankfully it came true because teams have done that to us a couple of times.
“Neither team played well and it was a scrappy game - the pitch dictated that - so to get the result the way we did is fantastic. I’m made up.
“We always felt that as long as we stayed in the game we’d have a chance because we’ve got goals in our team and it happened to be Lee who popped up again to get us a massive three points.”
Stanley: Rachubka 8, Murphy 7, Winnard 8, Aldred 8, Wilson 7, Boco 7 (Lindfield 76), Joyce 8, Linganzi 7, Molyneux 8, Hatfield 7 (Gray 89), Beattie 7 (Amond 85). Not used: Clark, Liddle, Miller, Dunbavin.