Brian O'Keefe, Leobaldo Pina and Chase Raffield opened the ninth with singles, with Raffield's single to right plating O'Keefe with the tying run. Jhojan Acevedo's sacrifice bunt moved Pina to third and Raffield to second. With the infield in, both runners held as Danny Diekroeger grounded to second for an out.
Thompson then delivered the game-winner, spanking his double to center field to plate both runners.
Jacob Booden relieved in the ninth and got three straight outs, two on liners to center fielder Acevedo, for his first save.
Batavia took a 1-0 lead in the third inning as a passed ball and throwing error on the same play by O'Keefe allowed a runner to score.
The Spikes tied it in the fourth as De Leon doubled, went to third on a wild pitch and scored on Ronnierd Garcia's groundout.
Batavia took the lead in the bottom of the fourth as Miles Williams belted a two-run homer to center field.
Spikes starter Luis Perdomo, who threw six shutout innings in his season debut, went six innings again. He allowed five hits and two earned runs, while striking out seven and walking one.
Kyle Grana (2-0) pitched two scoreless innings of relief to earn the win. Tyler Kane (0-1) blew his first save of the season and took the loss for the Muckdogs.
Thompson, who is hitting just .189, is second on the team with 10 RBIs. Wick, who has seven home runs, leads the team with 11.
The Muckdogs, who entered the series as the top hitting team in the NY-PL, were outhit 19-10 by the Spikes.
State College returns to Medlar Field at Lubrano Park on Tuesday for a two-game series with Jamestown. Will Anderson (0-1, 1.80 ERA) will start for the Spikes, while Marek Minarik (0-1, 2.25) will start for the Jammers.
The Spikes will alternate home games with Williamsport the remainder of the week. Games 1 and 3 will be at Bowman Field on Thursday and Saturday, while Games 2 and 4 will be at Medlar Field on Friday and Sunday.
Spikes feature local dogs on the diamond
Spikes games are a place for all to have fun
Philipsburg's Emily Whitehead beat cancer. Here's how her foundation helped others fight on Friday
State College Little League All-Stars handed first loss of the season in extras
State College Spikes
How Andrew Warner went from an aspiring policeman to a State College Spikes fan-favorite
By Jim Krueger
After going undrafted his junior year, Columbia College's Andrew Warner thought he would never make it to professional baseball. But after getting drafted by the St. Louis Cardinals in the final round in 2018, Warner has quickly become a fan-favorite for the State College Spikes.
MORE STATE COLLEGE SPIKES
How the State College Spikes' Bark in the Park night extends beyond the ballpark
State College Spikes hope to send a message of inclusion with its first-ever Pride Night
Spikes cruise past Crosscutters, get blanked by Black Bears
Spikes honor Josiah Viera, start season strong despite rain
State College Spikes swing into 2019 season
How the State College Spikes plan to keep the spirit of Josiah Viera alive this season