You can get free plants by playing mini-games or adventures in the original version, but in the mod version, you need to download and get unlimited free plants. They are dropped by zombies the same way coins or diamonds are.