Every time Anthony Scarallo closed his eyes, he saw his good friend Daniel Fernandez smiling, that extra-wide grin of his that would light up a room.

Fernandez, the 16-year-old junior who was tragically killed when his head hit an overpass while hanging out of a hatch on a New Jersey-bound party bus’s roof near the George Washington Bridge last Friday night, wasn’t literally at Kissena Park on Friday afternoon. But he was there in spirit, Scarallo said, along with hundreds of others to honor his memory as St. Francis Prep edged rival Archbishop Molloy, 2-1, in CHSAA boys soccer.

“I was there on the bus, just the images keep replaying [themselves] over and over again in my mind,” Scarallo recalled. “I had to do it for Dan. He’s looking down on us.”

A prayer and moment of silence was held before the match. Senior striker Tyler Lasak made sure the Terriers celebrated Fernandez’s memory with a win, scoring once in each half. Christos Mouzakitis tallied Molloy’s lone goal on a penalty kick.

“Heavy hearts this week, it’s been tough on a bunch of them, they were there, they were friends with him,” St. Francis coach Franco Purificato said. “I know a lot of them were really hurt by it.”

It was, indeed, an emotional week at the Queens Catholic school, students mourning the shocking loss of Fernandez, described by Scarallo as “the happiest kid you could ever meet” who was always positive and enjoying life.

“This game wasn’t about us, it was about the Prep community, it was about our fellow classmate, friend,” Scarallo said. “It was a big lift for the school.”

St. Francis, the defending CHSAA Class AA city champion, got off to a rough start, losing to upstart Christ the King on Wednesday in the league opener. The Terriers not only wanted to avoid an 0-2 start against their rivals, but play well in Fernandez’s honor.

Both goals were accomplished.

“Prep is in a depressed mode, we decided to commemorate him, get everybody here,” Lasak said. “It’s really important we won.”