Mattie Miller's layup off the glass with 0:28 left put the Pe Ell up by three and Sami Robertson's offensive rebound and free throw with 3.3 seconds remaining sealed the victory for the Trojans over the Onalaska Loggers.
Robertson scored a game-high 19 points, pulled down seven rebounds and recorded four steals.
Onalaska's Autumn Druand was the lone Logger to make it into double figures, scoring 12 points and also leading the team with five rebounds.
In a chippy game with whistles blowing throughout the fourth quarter, Pe Ell overcame 18 personal fouls and will take on Northwest Christian at 9 p.m. in the second round of the WIAA 2B Girls State Basketball tournament.
Smalley 5, Ulery 0, Paxton 3, Neilson 9, Durand 2, Hutchinson 8, Vint 0, Disney 0, Kinsman 0, Dalsted 0.
Robinson 19, Alden 0, Ratkie 0, Skeen 0, Joner 0, Brooks-Johnson 0, Alden 0, Compton 0, Capps 6, Miller 4.