Last Stand (Puzzle Mode)

You may be looking for the Mini-game of the same name.

Last Stand is A Puzzle relased for the iOS versions. It is logically the same as the Mini-game, but with 5 levels and an Endless variation.

Overview
As for your sun, you get 3,000 for Day and Night, 4,000 for Pool and Fog and 5,000 for Roof and Endless (which takes place in Pool level), and after each wave you get 10% of your starting sun; in Endless they may drop sun too.

As for your Plants, you get: Day: Snow Pea, Repeater, Wall-nut, Chomper, Torchwood, Spikeweed, Potato Mine, and Cherry Bomb

Night: Fume-shroom, Gloom-shroom, Scaredy-shroom, Grave Buster, Pumpkin, Ice-shroom, Doom-shroom, Hypno-shroom

Pool: Lily Pad, Repeater, Threepeater, Gatling Pea, Torchwood, Garlic, Tall-nut, Squash

Fog: Lily Pad, Starfruit, Cactus, Snow Pea, Magnet-shroom, Pumpkin, Plantern, Cherry Bomb

Roof: Flower Pot, Kernel-pult, Melon-pult, Winter Melon, Chomper, Umbrella Leaf, Tall-nut, Jalapeno

Endless: Free choice (except the Sunflower, Sun-shroom, Twin Sunflower, Sea-shroom, Puff-shroom)

Selling Plants

 * Between each wave, you can dig up plants and claim back their cost in Sun, but there are some limitations:
 * If the plant is a Mushroom, and the level is the endless one, you don't get back the cost of the Coffee Bean.IMG_2908.png
 * If the plant is an upgrade (except a Pumpkined Cattail), you only get back the sun from the upgrade (i.e. A Winter Melon that is dug up between waves only returns 200 sun, not 500.
 * If the plant is damaged (and by damaged it means that it is a degradable plant that has degraded; a Tall-nut that has taken 47 normal damage bites is not considered damaged, but one with 48 normal damage bites is considered damaged), you cannot claim the cost of the sun back from it.

Mallets
Mallets can be bought after finishing one flag in Last Stand Endless. You are given five to start with and you can buy 3 more for 3,000 coins, 6 for 5,000 coins or 9 for 7,000 coins.

Trivia

 * Interestingly enough, the Pool level gives 400 less sun than the minigame counterpart.
 * If you don't plant a Plantern during the Fog Last Stand, the zombie selection after the first wave will also be covered in fog; if you plant a Plantern only in the top or bottom half, the respective parts out of the Plantern's wave is also covered in fog