CARLSBAD — Twenty-four hours earlier, on Tuesday, Carlsbad High School’s softball team played Westview with a chance to earn a spot in the CIF San Diego Section Division 2 championship game.

Instead, the Lancers got beat, got walloped actually, 7-0, on their own field.

Wednesday, with Carlsbad about to face Westview again in an elimination game, coach Jared Miller met with a couple of players to gauge their mood.

“Don’t worry, coach,” the players told him. “We’ve got this.”

Then the Lancers went out and backed it up.

Catcher Chloe Hernandez smoked a three-run homer in the bottom of the first inning, the Lancers kept on hitting, Sofia Tillis pitched a gem and Carlsbad exacted revenge, beating Westview 7-1.

As its reward, Carlsbad (20-6) will face Scripps Ranch at 7 p.m. Friday for the Division 2 title.

“We had a talk about it,” said University of Arizona-bound center fielder Gabby Nevarez, who clubbed a two-run homer. “We wanted to come out for blood this game. Give to them what they gave to us.”

Maybe the game’s most impressive performance was turned in by Tillis. On Tuesday, the Lancers’ ace struck out 11 in five innings. Tillis also allowed seven runs, six of them coming on three home runs.

So what happened in the top of the first inning on Wednesday?

K.T. Rodriguez, the second batter of the game, took Tillis deep for a homer and a 1-0 lead.

“I was just thinking, ‘Don’t dwell on it,’” said Tillis. “I made a mistake, but knew the team had my back.”

She finished with a seven-inning complete game, striking out 10 and allowing only three hits.

“I think her off-speed stuff was killing it,” said Hernandez. “A lot of times, good hitters can jump on pitches that are the same speed, even with movement. She shoved today.”

The Lancers played the game relaxed, dancing to Michael Jackson songs and Bobby Brown’s “My Prerogative” a couple times between innings, and yet with intensity. Tillis punctuated every strikeout with an ear-piercing scream and fist pump. Fittingly, she struck out the game’s final batter, then took off her protective facemask, slamming it and her glove to the ground.

“It was a gritty performance on her part,” said Miller. “She came in focused.”

Westview coach Bob Howe didn’t want to wear out his ace, sophomore Kaya Rodriguez, who pitched a three-hit shutout Tuesday. He gave the ball to senior Sierra Wallace. But after three batters and Hernandez’s bomb, he turned to Rodriguez.

The Lancers reached Rodriguez for two runs in the third and two more on Nevarez’s blast.

“Hats off to Carlsbad,” said Howe, whose team finished 20-7-2. “They’re a great hitting team.”

The best of the bunch are Hernandez and Nevarez. Hernandez went 3 for 3, lifting her batting average to .512 and her RBIs total to a team-best 35. Nevarez went 1 for 3. The home run was her 14th. Hernandez’s home run was her ninth.

Nevarez, who has celebrated some home runs with bat flips, this time was so certain her homer was gone that she didn’t even watch it, instead turning toward her dugout and releasing a primal scream.

As for Hernandez’s bomb, it’s probably still rattling around the bungalows far beyond the fence.

“I’m scared to do a Gabby bat flip,” said Hernandez, who has committed to the University of Nevada. “Sometimes the wind blows it in. I’m a scaredy cat. But that one, I knew it was gone off the bat.”