Hacking guide

This guide will assist you in hacking Plants vs. Zombies.

Disclaimer
cannot be held responsible for a hack or change to one's copy of Plants vs. Zombies in which results in the event of corruption of the game or save files.

Take note hacking on iOS or Android by jailbreaking or rooting the device will make your device void from any support from Apple or Google, and such action cannot usually be undone. Jailbreak or root at your own risk.

cannot and will not support hacks that unlock paid content (such as premium plants, bundles, premium packs, or gems) for free in Plants vs. Zombies 2, its Chinese version, or Plants vs. Zombies Heroes or hacks that attempt to cheat in Multiplayer in Plants vs. Zombies Heroes (like unlimited sun/brains/health or hacking to level up). Any hacks present for these games on Wiki grounds will not be tolerated, punished by an indefinite block of the user who published it, and are to be removed immediately.

cannot be held responsible for one hacking Plants vs. Zombies Adventures and getting banned for following a hack for the game present on Wiki space.

Before you start
Note: It is illegal to hack Plants vs. Zombies Adventures. These hacks will get your Facebook account disabled, along with being blocked in the.
 * Create backup files, in case your hacks go awry and crash Plants vs. Zombies. See how by going to the Backup guide.
 * Download Cheat Engine.
 * Open both Cheat Engine and Plants vs. Zombies.
 * Choose any game mode with Choose Your Seed and start the game.
 * Go to Cheat Engine, click at the blinking computer icon.
 * Choose "popcapgame1.exe" or "PlantsVsZombies.exe", depending on what your file is called.
 * Start your hacking type below.

Please note that some of these hacks will not work on the Steam version of Plants vs. Zombies.

Unlimited Sun
Requirements: Steps: Warning:
 * Cheat Engine
 * Plants vs. Zombies
 * 1) Type the number of sun you have in the value box.
 * 2) Click "First Scan".
 * 3) Go to Plants vs. Zombies and increase or decrease your sun (Example: Get some sun from your Sunflowers).
 * 4) Go back to Cheat Engine, type the number of sun you have left in the value box.
 * 5) Click "Next Scan"
 * 6) Double-click at the address found at the left table.
 * 7) Double-click at the number in the Value row in below table.
 * 8) Type the amount of sun you want.
 * 9) Click at the box in Active row.
 * 10) COMPLETE.

Alternative Way: Your Sun amount says 0 but it's actually unlimited.
 * Please delete the address at the below table after finishing your game or Plants vs. Zombies will not open for certain time. Restart your computer if you forgot to do this.
 * If there's two or more addresses, repeat step 3-5.
 * Click "Memory View".
 * Right-click at the address and choose "Go to Address".
 * Type "00494445". Then click OK.
 * Make the Assembler Code "mov [edi+00005578],0001869F". And click OK.
 * There is a message. Click Yes.
 * DONE.

Growing Sun/Money
Requirements: Open any level and plant a Snow Pea (or any other plant, you just need to know it's number) on land. Open Cheat Engine, click the glowing computer, click popcapgame1 or PlantsVsZombies.exe, type 5 (a different value for other plants) in the value bar then click First Scan. After, dig up the Snow Pea (or the plant you planted) and plant a Wall-nut in the same square you planted the Snow Pea. Then, write 3 in the value bar and click Next Scan. Double click all the results. Finally, change the value of every address with 1 for the sun. Replace with 38 for growing money.
 * Cheat Engine
 * Plants vs. Zombies

Unlimited Coins
This hack is for those players who lack of coins.

Requirement: Steps: Warning:
 * Cheat Engine
 * Plants vs. Zombies
 * Divide your coins amount by ten and enter it in the value box. (Example: if you have 38,960 coins, you should enter 3896 in the value bar.)
 * Click "First Scan".
 * Spend some of your coins on something in the shop. (Example: Buy Fertilizer.)
 * Divide the amount of coins you left by ten and enter it in the value box. (Example: After buying fertilizer, you have 38,210 coins, so you should type 3821 in the value box.)
 * Click "Next Scan".
 * Click on the address shown on the left.
 * Double-click at the number in the value row in the below table.
 * Type how many coins do you want when the dialogue comes up.
 * DONE.
 * Please delete the address at the below table after finishing game or Plants vs. Zombies will not open for certain time. Restart your computer if you forgot to do this.


 * If there is two or more addresses, repeat step one to five.

Zero Recharge
This hack is for the impatient hacker. This hack removes the recharge time for your seed packets, allowing you to plant them as often as you want.

For Old PC Version

Requirement: Steps: Special: This hack will stay even after closing the Cheat Engine
 * Cheat Engine
 * Plants vs. Zombies
 * Click "Memory View".
 * Right-click at the address and choose "Go to Address".
 * Type "0048728C".
 * Double-click at the colored text.
 * Change "01" to "200" behind the comma.
 * Click OK.
 * There is a message says the generated code is 7 byte long and the opcode is 4 bytes long, click yes to remove "nop" from "00487290", and "00487292".
 * COMPLETE.

For Game of the Year Edition

Requirement: Steps:
 * Cheat Engine
 * Plants vs. Zombies
 * Click "Memory View".
 * Right-click at the address and choose "Go to Address".
 * Type "00491E4C". If colored text isn't [edi+24], go to address 004958BC".
 * Double-click at the colored text.
 * Change "24" to "48". (Or change inc to add, add comma and 200 at the end of the code also works.)
 * Click OK.
 * COMPLETE

Another way (GOTY)
 * Click "Memory View".
 * Right click at the address and choose "Go to address".
 * Type "00491E55".
 * Double click on the colored text.
 * Change the address code to "nop". (Original text is "jle 00491E6B")
 * There is a message says the generated code is 1 byte long and the opcode is 2 bytes long, click yes to replace "00491E56" to "nop".
 * COMPLETE

Free Plants
Plants do not cost any sun. Requirements:
 * Cheat Engine
 * Plants vs. Zombies

For GOTY Version Only:
 * Click "Memory View".
 * Right click at the address and choose "Go to address".
 * Type "0041E846".
 * Double click on the colored text.
 * Change the address code to "nop".
 * There is a message says the generated code is one byte long and the opcode is two bytes long, click yes to replace " 0041E846 " to "nop".
 * Done

Automatic One-hit KO's
When a Projectile hits a Zombie, that Zombie dies instantly.

Click Yes if there is a message after changing an Assembly Code.

Requirements: For Old PC Version Steps: ​NOTE: Shields or Headwear will require an extra hit in:
 * Cheat Engine
 * Plants vs. Zombies
 * Click "Memory View".
 * Right-click at the address and choose "Go to Address".
 * Type "0053130F". Then click OK.
 * Double-click the selected Address
 * Change the selected Address' Assembler Code to "sub edi,[esp]".
 * Click OK.
 * Right-click at the address and choose "Go to Address".
 * Type "00531053". Then click OK.
 * Double-click the selected Address.
 * Change the selected Address' Assembler Code to "jmp 0053105e".
 * Click OK.
 * Right-click at the address and choose "Go to Address".
 * Type "0053105E". Then click OK.
 * Double-click the selected Address.
 * Change the selected Address' Assembler Code to "sub ecx,[ebp+000000d0]".
 * Click OK.
 * Right-click at the address and choose "Go to Address".
 * Type "00530CA1". Then click OK.
 * Double-click the selected Address.
 * Change the selected Address' Assembler Code to "mov [esi+000000dc],eax".
 * Click OK.
 * DONE.

Wall-nut Bowling, if a Newspaper Zombie is hit with a Wall-nut, the newspaper will not disappear but if you use an Explode-o-nut or a Giant Wall-nut, it will die.


 * For GOTY Version Steps:


 * Click "Memory View".
 * Right-click at the address and choose "Go to Address".
 * Type "00541CDA". Then click OK.
 * Double-click the selected Address.
 * Change the selected Address' Assembler Code to "sub ebp,ebp".
 * Click OK.
 * Right-click at the address and choose "Go to Address".
 * Type "00542223". Then click OK.
 * Double-click the selected Address.
 * Change the selected Address' Assembler Code to "jmp 0054222d".
 * Click OK.
 * Right-click at the address and choose "Go to Address".
 * Type "00542214". Then click OK.
 * Double-click the selected Address.
 * Change the selected Address' Assembler Code to "nop".
 * Click OK.
 * Right-click at the address and choose "Go to Address".
 * Type "0047169B". Then click OK.
 * Double-click the selected Address.
 * Change the selected Address' Assembler Code to "add [eax+40],edx".
 * Click OK.
 * DONE.

NOTE: This will only work in Whack a Zombie if you use an Ice-shroom.

NOTE: The instant your Snorkel Zombies get hungry in Zombiquarium, they die instead.

NOTE: You can even kill Dr. Zomboss with one Cabbage-pult.

NOTE: This does not work on either version of Wall-nut Bowling.

NOTE: Sometimes, if you kill a Newspaper Zombie, the game crashes.

Free Zombies

 * Click "Memory View".
 * Right-click at the address and choose "Go to Address".
 * Type "0041E844". Then click OK.
 * Double-click the selected Address.
 * Change the selected Address' Assembler Code to "add esi,ebx".
 * Click OK.
 * DONE.

Plants die instantly
This makes the plants so weak, one bite is enough to kill them, making it good for a challenge or as a cheat for all the I, Zombie levels.

Click Yes if there is a message after changing an Assembly Code.

For Old PC Version
 * Right-click at the address and choose "Go to Address".
 * Type "0052FCF0". Then click OK.
 * Double-click the selected Address.
 * Change the selected Address' Assembler Code to "mov [esi+40],00000000".
 * Click OK.
 * DONE.
 * For GOTY Version


 * Right-click at the address and choose "Go to Address".
 * Type "00540680". Then click OK.
 * Double-click the selected Address.
 * Change the selected Address' Assembler Code to "mov [esi+40],00000000".
 * Click OK.
 * DONE.

Invincible zombies
This can make zombies unkillable. However, Chompers can kill them. This is a good cheat for I, Zombie levels. Note:This cheat is not recommended to use for Adventure levels, Survival levels, Vasebreaker levels and some mini-game levels, as this cheat can make the levels unbeatable (unless you have Chompers)
 * Right-click at the address and choose "Go to Address".
 * Type "00541CDA". Then click OK.
 * Double-click the selected Address.
 * Change the selected Address' Assembler Code to "add ebp,[esp+20]".
 * Click OK.
 * Right-click at the address and choose "Go to Address".
 * Go to 00542223
 * Change the Assembler Code to jmp 0054222d
 * Click OK.
 * Right-click at the address and choose "Go to Address".
 * Go to 00542214
 * Change the Assembler Code to nop
 * Click OK.
 * DONE.

Invincible Plants
This hack makes your plants invulnerable to damage.

Requirement:
 * Cheat Engine
 * Plants vs. Zombies
 * For Old PC Version

Steps:
 * Click "Memory View"
 * Right-click at the address and choose "Go to Address".
 * Type: "0052FCF0"
 * Right-click at the address.
 * Change the selected Address' Assembler Code to "nop".
 * Click OK.
 * COMPLETE.


 * For GOTY Edition

Requirement: Steps: Special: This hack will remain even after closing the Cheat Engine.
 * Cheat Engine
 * Plants vs. Zombies
 * Click "Memory View"
 * Right-click at the address and choose "Go to Address".
 * Type: "00540680"
 * Right-click at the address.
 * Change the selected Address' Assembler Code to "nop".
 * Click OK.
 * COMPLETE.

Warning: This only prevents damage from zombies eating plants. It provides no protection against other ways of damaging or destroying plants, such as from Zombonis, Catapult Zombies, Gargantuars and Dr. Zomboss. Also, Plants will still be vulnerable to Peashooter Zombie and Gatling Pea Zombie's peas. To make plants invulnerable to their peas, see below.

Unhittable Plants in ZomBotany
Plants cannot be hit by Peashooter Zombie and Gatling Pea Zombie's peas regardless of the plant's height. This applies to both mini-games ZomBotany 1 and 2.

NOTE: This was done in the GOTY Version.

Requirement: Steps:
 * Cheat Engine
 * Plants vs. Zombies
 * Click "Memory View"
 * Right-click at the address and choose "Go to Address".
 * Type "00471686"
 * Right-click at the address.
 * Change the selected Address' Assembler Code to "jmp 004716fd".
 * Click OK.
 * COMPLETE.

Instant Win in Beghouled
Your first match will make the trophy appear. This applies to both mini-games Beghouled and Twist.

Requirement: Steps:
 * Cheat Engine
 * Plants vs. Zombies
 * 1) Take the value 0.
 * 2) Click first scan.
 * 3) Make a few matches.
 * 4) Take the new value after the matching is complete then click next scan.
 * 5) If there is more than one address, repeat step 4 until there is only 1 address.
 * 6) Extract the address
 * 7) Change the value to 75 then make a match.
 * 8) DONE!
 * Note: If you do not want to repeat the proceeder, fix the value before making a match.

NOTE: This was done in the GOTY Version.

Requirement: Steps:
 * Cheat Engine
 * Plants vs. Zombies
 * Click "Memory View"
 * Right-click at the address and choose "Go to Address".
 * Type "00423E40".
 * Right-click at the address.
 * Change the selected Address' Assembler Code to "nop".
 * Click OK.
 * On the message, click yes.
 * COMPLETE.

Instant Zen Garden Plant Growth
This is a hack for those who don't want to wait for their Zen Garden plants to grow.

Requirement: Plants Vs Zombies only.

Steps: Warning: If you change your computer time too often, your computer's time will not change while it is off.
 * Open Plants vs. Zombies.
 * Double-click at the time on your computer (located at the taskbar, below-right)
 * Choose the next day from current day. (E.g., today is 15 so choose 16)
 * COMPLETE.

Special: If your plants grow in mature levels, if you choose the previous day, its level is still the same.

New Zen Garden Plants
This hack is also popular with people who are bored with their Zen Garden Plants.

Requirement: Steps: Note:
 * Zen Garden Editor (can be found at mediafire.com)
 * Plants vs. Zombies
 * Buy Marigold Sprout or obtain it from games.
 * Close Plants vs. Zombies
 * Go to Plants vs. Zombies file.
 * Go to userdata file.
 * Right click at the user1 or other name. (E.g.: If you're the second user, choose user2.)
 * Go to Open with and go to Browse...
 * Find ZGH.
 * Use ZGH by typing the alphabet based on the option above.
 * Press Enter.
 * Close the ZGH After using it.
 * Open Plants vs. Zombies back.
 * Go to Zen Garden and COMPLETE.


 * The color is not affected to all plants (expect Imitated). Only Tall-nuts, Lily Pads and Peashooters will affect of them.
 * For plants option, There is no Peashooter. If you want to choose Peashooter, type 0

Squirrel

 * Turn off full screen first
 * Open ZomBotany
 * Click the desktop or other windows before the seed choosing screen pops up so it will pause.
 * Go to Cheat Engine.
 * Click Add Address Manually.
 * Type 0028A338.
 * Click OK.
 * And change the value to 49.
 * DONE!

Other canceled mini-games
The game has about 20 official mini-games, but there are 16 more hidden in the game. There are: Some of them are not Mini-games. There are: Requirement: Make sure first that you're in the main menu. Steps: (For PvZ 1.0.0.1051) Steps: (For PvZ Game Of The Year (GOTY) edition) Alternative Method: Special: This hack will remain after closing the Cheat Engine.
 * Cheat Engine
 * Plants vs. Zombies
 * Go to Cheat Engine, click "Add Address Manually".
 * Type "42DF5D" in Address box.
 * Change type "4 Bytes" to "Byte".
 * Click OK.
 * Repeat the same step, but use "42DF5E" and "42DF5F". You don't need to change the type.
 * After three of them are entered into the table at the bottom of the cheat engine window, change all of their values into "144"
 * COMPLETE.
 * Go to Cheat Engine, click "Add Address Manually".
 * Type "430C80" in the Address box.
 * Change "4 Bytes" to "Byte"
 * Repeat the same step, but increase the last digit of "430C80" by one.
 * After three of them are entered into the table at the bottom of the cheat engine window, change all of their values into "144"
 * COMPLETE.
 * Open Cheat Engine, click "Access Memory."
 * Right-click anywhere, then say "Search For Address"
 * Type in the box "430C80 (42SF5D For non-GOTY)" and press Enter.
 * Select the topmost address, and select "replace with Address that does nothing"
 * Press OK.
 * DONE.

After that, click Mini-games, then click Limbo Page.

Note that sometimes with changed data it will crash so be sure you do this right.

Quick Play PC Version
Although in the Program Files, in Plants vs. Zombies folder, inside "images" folder, there is a Quick Play sign right left of the Tree (The tree that you saw in the Main Menu), but it is unknown how to access Quick Play.

If your PvZ:GotY game has black rectangles in the left and right of the game is in full screen, enable the 3D acceleration and put your mouse on the top very left corner of the left black rectangle. Then move your mouse down and you will see that your mouse will suddenly turn into a hand. When it turns into a hand, click. Upon doing so, you can hear a sound of a button being pressed, which is a button from the Quick Play menu. However, since it's the back button, it doesn't do anything.

It is still unknown how to get to the menu, or if it is even possible, and if it would still function.

Speed Hack
This speed hack will help to make games faster.

Requirement: Steps:
 * Plants vs. Zombies
 * Cheat Engine
 * Click "Enable Speedhack"
 * Type 5 in the blank. (You may also move the slider all the way to the right so it says '5.00'.)
 * Click Apply. Note: An easy speed to still be able to operate the game is 1.5-4.
 * DONE.

Alternative Method:
 * Use "Speed Gear" instead of Cheat Engine Speedhack.

Fertilizer, Bug Spray, Chocolate or Tree Food Hack
This will control the amount of Fertilizer, Bug Spray, Chocolate or Tree Food you have.

Requirement: Steps
 * Plants vs. Zombies
 * Cheat Engine
 * Find out how many Fertilizer/Bug Spray/Chocolate/Tree Food.
 * Type the value on the value bar.
 * Click First Scan.
 * Go back to game, use/buy Fertilizer/Bug Spray/Chocolate/Tree Food. Just make sure to change the number.
 * Type the number of Fertilizer/Bug Spray/Chocolate/Tree Food(+1000) you have now on the value bar.
 * Double click on the result (if more than one result, repeat the last two steps).
 * Change the value to the number of Fertilizer/Bug Spray/Chocolate/Tree Food(+1000) you want.
 * Check the X in the Frozen row.
 * Go back to your Zen Garden to check it out.
 * COMPLETE.

Alternate Way (Memory View):

Note: This was done in the GOTY Version.

Requirement:
 * Cheat Engine
 * Plants vs. Zombies

Steps (Fertilizer):
 * Click "Memory View".
 * Right-click at the address and choose "Go to Address".
 * Type "0052992B".
 * Right-click at the address.
 * Change the selected Address' Assembler Code to "nop".
 * Click OK.
 * On the message, click yes.
 * COMPLETE.

Steps (Tree Food):
 * Click "Memory View".
 * Right-click at the address and choose "Go to Address".
 * Type "0043018D".
 * Right-click at the address.
 * Change the selected Address' Assembler Code to "nop".
 * Click OK.
 * On the message, click yes.
 * COMPLETE.

Steps (Bug Spray):
 * Click "Memory View".
 * Right-click at the address and choose "Go to Address".
 * Type "00529A23".
 * Right-click at the address.
 * Change the selected Address' Assembler Code to "nop".
 * Click OK.
 * On the message, click yes.
 * COMPLETE.

Steps (Chocolate):
 * Click "Memory View".
 * Right-click at the address and choose "Go to Address".
 * Type "00529545".
 * Right-click at the address.
 * Change the selected Address' Assembler Code to "nop".
 * Click OK.
 * On the message, click yes.
 * COMPLETE.

Tree of Wisdom Height Hack

 * Buy Tree Food.
 * Go to the Tree of Wisdom.
 * Find the current height and click "First Scan".
 * Give the Tree of Wisdom Food.
 * Enter the new height in the Value Bar and click "Next Scan"
 * Repeat last two steps until there is only one value in the list.
 * Change size to whatever you want.
 * COMPLETE.

I, Zombie hack
Please visit I, Zombie hack or I, Zombie hack/Mac.

How to plant Cattail on the Ground and others
Requirements: Steps:
 * Cheat Engine
 * Plants vs. Zombies
 * Open Plants vs. Zombies and Cheat Engine
 * Put a Wall-nut in the ground
 * Type "3" in Hex Box
 * Click "First Scan"
 * Dig the Wall-nut, put the Cherry Bomb on that place
 * Type "2" in Hex Box
 * Click "Next Scan"
 * Repeat Step 2-7 until you get 1 address
 * Add the address and change the value into "16"
 * Then put the Cattail Seed on it.

Modify Art
Please visit Modify Plants vs. Zombies.

First Way
Requirements: Steps:
 * Plants vs. Zombies
 * Cheat Engine
 * Open both Programs in the Requirements list.
 * Choose your seeds.
 * Go to Plants vs. Zombies Cheats (if you wanted to change seed packets).
 * Double-click on the plant's name in the top right dialog and change it to the plant you want.
 * DONE!

Second Way
Requirements: Steps:
 * Plants vs. Zombies
 * Cheat Engine
 * Open both Programs in the Requirements list.
 * Choose your Seeds
 * Go to Plants vs Zombies Cheats
 * Click on "Random Seeds" and click V2
 * Go back to the game
 * Use arrow Keys to shift the seeds.

Warning: If Plants vs. Zombies Cheats program is open, the arrows keys will not work on any other things. Close the program to allow arrow keys to work for other programs.

Modding Plants using Cheat Engine
Please visit the plant transformations.

Imitater of Upgrade Plants
This will hack all upgrade plants into Imitater of them.

Note: This hack requires Hex Editor.

Requirements:
 * Plants vs. Zombies
 * Hex Editor

Steps:
 * Open the game
 * Choose any level
 * Plant the upgrade plants as many as you want
 * Pause then go to Main Menu
 * Open Hex Editor
 * Choose your save data level (e.g. if your level Survival: Endless, choose "game1_13.dat", but if you user 2, you should choose "game2_13")
 * Find the code that looks like in the green area of this picture:


 * Replace the code FF FF FF FF by 00 00 00 00
 * Then, click Save
 * Open the game again
 * Enjoy your plants!

NOTE: Sometimes this hack make the color of zombies change into Imitater color, but only the first time.

User File file format and edit
Please visit User File Format.

Whack-a-Zombie Pool and Roof
Requirement:
 * Plants vs. Zombies

Steps

 * 1) Play any pool/fog/roof mini-game. If you chose Last Stand, make the build and select "Start onslaught"
 * 2) Save and exit.
 * 3) Choose that file and change the number to "30" AKA: game1_30
 * 4) Choose Whack-a-Zombie
 * 5) DONE!

Zen Garden Survival
1. Open Cheat Engine, and click on ZomBotany.

2. Type 16 in the value bar.

3. Go to Wall-nut Bowling.

4. Type 17 in it.

5. Keep going back to ZomBotany and Wall-nut Bowling, typing in 16 and 17 respectively until you have one value.

6. Go to Zen Garden. It should automatically change to 43.

7. Change the value in the bar to 13.

8. Your Zen Garden plants will act like they are actually in battle. Unfortunately, you can't plant any other plants.

Not very zen-like anymore, eh?

Survival: Endless in different areas by renaming saved file
Survival: Endless can be played in different areas by renaming saved file. No need to use Cheat Engine.

1. Pick plants in a Survival: Hard game and leave after starting it.

2. Go to the userdata folder (C:\ProgramData\PopCap Games\PlantsVsZombies\userdata) and rename the saved file of a Survival: Hard game to Survival: Endless (game#_13).

Survival: Day (Hard) - game#_6 (# is the user number so look for game1_6 if user 1)

Survival: Night (Hard) - game#_7

Survival: Pool (Hard) - game#_8 (not needed because Survival: Endless is in a pool setting)

Survival: Fog (Hard) - game#_9

Survival: Roof (Hard) - game#_10

Survival: Endless - game#_13

3. Go to Survival: Endless and play it.

Survival: Roof Night (Endless)
Survival: Endless on the Roof during nighttime. This can be played by renaming saved file in userdata. No need to use Cheat Engine.

1. Play Dr. Zomboss Revenge until you have enough plants and Dr. Zomboss is about to attack. The conveyor belt should be full and you should have 10 seed slots, or the game will crash.

2. Go to userdata and rename game#_35 to game#_30. (# is the user number so look for game1_35 if user 1)

3. Go to Whack a Zombie and hit Dr. Zomboss when he is about to attack. Earn 350-500 sun by hitting zombies.

4. Rename game#_30 to game#_10.

5. Go to Survival: Roof (Hard) and play it until flag 8.

6. Rename game#_10 to game#_13 and continue it in Survival: Endless.

Last Stand Endless on PC
Last Stand Endless can be played on the PC version by modifying a saved file of Survival: Endless to Last Stand after flag 11 but only the zombies in the Last Stand mini-game will appear and same choice of plants will be used in every round.

1. Play Survival: Endless until flag 11.

2. Go to userdata folder and rename game#_13 to game#_31.

3. Go to Last Stand and the game will be endless.

Alternatively, you can use Cheat Engine. Do what you would do above but change the value 13 to 31. You will be in Last Stand automatically.

You can also use this hack to play Last Stand in different areas (Day, Night, Fog, Roof). Just rename the save files of the respective survival levels to game#_31 (See I, Zombie Hack for the names of the save files).

Zombie Nimble Zombie Quick in normal speed
Play Zombie Nimble Zombie Quick. Open Cheat Engine, enable speed hack, and adjust it to 0.5. Play the game in normal speed.

Win Slot Machine instantly

 * Note: If you are trying for the Lucky Spin achievement, it is not advised to use this hack.

Requirement:
 * Plants vs Zombies
 * Cheat Engine

Steps:
 * 1) Open both requirements.
 * 2) Open Slot Machine.
 * 3) Scan the current amount of sun.
 * 4) Spend or gain some sun.
 * 5) Double-click the address (if there's 2 or more address,Repeat step 3 and 4)
 * 6) Replace value with the goal (2000 sun).
 * 7) DONE

Spawn zombies in the Zen Garden and Tree of Wisdom
To do this, you'll need: Steps: Notes:
 * Original version of Plants vs. Zombies (not the GOTY one)
 * PvZ Tools
 * 1) Open Plants vs. Zombies and PvZ Tools.
 * 2) Go to Zen Garden or Tree of Wisdom.
 * 3) Switch to PvZ Tools. Uncheck "Pool Level", and select lanes 1, 2, 3, 4, and 5.
 * 4) For the zombie selection, pick the second radio button (which says "Zombie") and change the zombie to anything you want, then click "Spawn Zombie".
 * 5) You should see that there's a zombie spawned.
 * 6) Repeat steps 4 and 5 to spawn more zombies. It makes for some bizarre screenshots.
 * The zombies will eat your plants, but they'll be restored if you leave and reenter the Zen Garden.
 * If one of the zombies reaches the leftmost side of the screen, you'll lose, and if you click on "Try again", you'll start at the Zen Garden with all your plants restored or the Tree of Wisdom.

See the almanac entries of "hidden" plants and zombies
This allows you to see the almanac entries of Explode-o-nut, Giant Wall-nut, Sprout, all ZomBotany zombies, and Giga-gargantuar.

You'll need: Steps: Notes:
 * Plants vs. Zombies (any versions)
 * Cheat Engine
 * 1) Open Plants vs. Zombies and Cheat Engine, then select popcapgame1.exe (if present), or PlantsVsZombies.exe (if popcapgame1.exe isn't present).
 * 2) Go to Suburban Almanac, and select "View plants" (if you want to see hidden plants almanac entries) or "View zombies" (if you want to see hidden zombies almanac entries).
 * 3) Select Repeater (for plant), or Buckethead Zombie (for zombie).
 * 4) Go to Cheat Engine, then scan for 7 (for Repeater) or 4 (for Buckethead Zombie).
 * 5) Go back to Plants vs. Zombies and select Chomper (for plant) or Pole Vaulting Zombie (for zombie).
 * 6) Go to Cheat Engine, and this time, scan for 6 (for Chomper) or 3 (for Pole Vaulting Zombie).
 * 7) If you found one address, select it. If you found two, select the second address. If you found more than two, then repeat steps 3-6 until there are only one or two results.
 * 8) Right-click on the added address, then select "Find out what writes to this address."
 * 9) Go back to Plants vs. Zombies, then select any plant or zombie. Cheat Engine should now show an opcode. Click it, then click "Replace," after that, click OK.
 * 10) Go back to Cheat Engine main window, then change the value of the address you added to 49 (Explode-o-nut), 50 (Giant Wall-nut), or 51 (Sprout), if you choose to see hidden plants entries, or change it to 26 (Peashooter Zombie), 27 (Wall-nut Zombie), 28 (Jalapeno Zombie), 29 (Gatling Pea Zombie), 30 (Squash Zombie), 31 (Tall-nut Zombie), or 32 (Giga-gargantuar), if you choose to see hidden zombies entries.
 * 11) Finally, click on any plant or zombie, and you should see the almanac entry of the hidden plant/zombie now.
 * 12) Repeat step 10 and 11 if you want to see another plant/zombie's almanac entry, or repeat steps 2-11 if you want to switch from plant to zombie, or vice versa.
 * Explode-o-nut, Giant Wall-nut, Sprout, and Giga-gargantuar don't have any almanac entry descriptions, but it might be possible to add them by editing the LawnStrings.txt.
 * All ZomBotany zombies use the same entry as the normal zombie, and therefore, it might be the reason why all ZomBotany zombies' names don't show up when you hover over them in ZomBotany or ZomBotany 2.
 * Attempting to go past those plant/zombie IDs will probably crash the game, but some IDs might not cause the game to crash.

Plants vs. Zombies 2
These cheats only for mobile version, but players need to root the device for cheats, here for all cheats on Plants vs. Zombies 2.

More Sun
Requirement:
 * Plants vs. Zombies 2
 * Game Killer

1.Open Plants vs. Zombies 2.

2.Enter a level.

3.Open Game Killer. After that, type in how much sun you have.

4.Select Auto Identify (If the code is not shown, try spending sun and type it in again. Repeat if still not showing).

5. After found, spend or earn sun.

6. Then search any code that have you founded, check how many your suns, it shown depending that even you searched are different. Select three same code and edit it with same numbers (if its not, it will errored)

Example: When you search 125, your sun is 300. If you found 300 on three codes, change the code to 3000 on the three codes and it must be the same to avoid an error with the sun.

7.Enjoy with your sun.

Note: Game Killer always works on Mobile first game and Chinese version.

Alternative Way
Requirement:
 * Plants vs. Zombies 2
 * Xmod

1.Open Xmod. 2.Install the mod of this game. 3.Launch the game, and enjoy your mod.