Manual PVZ
Manual PVZ
Day Nigh Pool Fog Roof Upgrad Zombie Minigame Only Others
t e
(A side note; your hex code is dependent on the program you use. Hxd Code starts at
“0”, whereas Cheat engine code Starts at “400000” Respectively. So if you were using
a CE Address, you would have to subtract 4 from the first (last?) digit from the number.
So 400400 Would become 400, so on and so forth.)
To get help and join other modders, come join this Discord server! This server is
aimed all around teaching you how to mod, and uniting all PVZ 1 Modders in order
to enrich the community. (must be 13 years or older to join)
https://discord.com/invite/d98Fnn2v4a
Subscribe to our PvZ1 Modder Association YouTube channel! This channel will bring a ton of
modding tutorials related to this doc, and much more such as event announcements, sneak peeks
from the members of the Discord server above and even mod showcases and trailers.
https://www.youtube.com/@PvZMAOfficial
NEXT UP PLANS;
Creation of a new Master Document
Shoutouts to binhgm for having the old copy of the modding document so we
could bring it back!
Modding Tools
Required
Music/Sound
Gameplay Wise Texture Wise
Wise
YouTube
PvZ Tools (pw: pvztools) Most of the songs and
Test temporary changes that you did to sound effects can be
make sure they work correctly found here, especially
for PvZ’s
Recommended
Music/Sound
Gameplay Wise Texture Wise
Wise
pvzclass/MemoryAdressList Music composing
More tons of useful addresses and pointers tools, for example
about advanced stuffs Adobe Animate
Edit animation of characters in
game
- FL Studio
- Soundtrap
- Bandlab
PvZ Studio 2022 (Thanks
CFF Explorer Audacity
Expand your mod with adding new code cave for Edit / Adjust sound effects
Aniq) and .mp3 music in game
you to save additional scripts
or probably…?
PopStudio (Link provided by
Bandit)
Mostly used for decompile
reanims & particles, unpack
console versions of PvZ1 and
PvZ2, etc.
Resource Hacker
Mixed
Seed Packet Shenanigans
Credits to Keif
Adventure Sea Shroom Sun Cost (0) - 29F620
Sea Shroom Recharge (3000) - 29F624
Peashooter Sun Cost (100) - 29F2C0
Plantern Sun Cost (25) - 29F644
Peashooter Recharge (750) - 29F2C4
Plantern Recharge (3000) - 29F648
Sunflower Sun Cost (50) - 29F2E4
Cactus Sun Cost (125) - 29F668
Sunflower Recharge (750) - 29F2E8
Cactus Recharge (750) - 29F66C
Cherry Bomb Sun Cost (150) - 29F308
Blover Sun Cost (100) - 29F68C
Cherry Bomb Recharge (5000) - 29F30C
Blover Recharge (750) - 29F690
Wall Nut Sun Cost (50) - 29F32C
Split Pea Sun Cost (125) - 29F6B0
Wall Nut Recharge (3000) - 29F330
Split Pea Recharge (750) - 29F6B4
Potato Mine Sun Cost (25) - 29F350
Starfruit Sun Cost (125) - 29F6D4
Potato Mine Recharge (3000) - 29F354
Starfruit Recharge (750) - 29F6D8
Snow Pea Sun Cost (175) - 29F374
Pumpkin Sun Cost (125) - 29F6F8
Snow Pea Recharge (750) - 29F378
Pumpkin Recharge (3000) - 29F6FC
Chomper Sun Cost (150) - 29F398
Magnet Shroom Sun Cost (100) - 29F71C
Chomper Recharge (750) - 29F39C
Magnet Shroom Recharge (750) - 29F720
Repeater Sun Cost (200) - 29F3BC
Cabbage Pult Sun Cost (100) - 29F740
Repeater Recharge (750) - 29F3C0
Cabbage Pult Recharge (750) - 29F744
Puff Shroom Sun Cost (0) - 29F3E0
Flower Pot Sun Cost (25) - 29F764
Puff Shroom Recharge (750) - 29F3E4
Flower Pot Recharge (750) - 29F768
Sun Shroom Sun Cost (25) - 29F404
Kernel Pult Sun Cost (100) - 29F788
Sun Shroom Recharge (750) - 29F408
Kernel Pult Recharge (750) - 29F78C
Fume Shroom Sun Cost (75) - 29F428
Coffee Bean Sun Cost (75) - 29F7AC
Fume Shroom Recharge (750) - 29F42C
Coffee Bean Recharge (750) - 29F7B0
Grave Buster Sun Cost (75) - 29F44C
Garlic Sun Cost (50) - 29F7D0
Grave Buster Recharge (750) - 29F450 Garlic Recharge (750) - 29F7D4
Hypno Shroom Sun Cost (75) - 29F470 Umbrella Leaf Sun Cost (100) - 29F7F4
Hypno Shroom Recharge (3000) - 29F474 Umbrella Leaf Recharge (750) - 29F7F8
Scaredy Shroom Sun Cost (25) - 29F494 Marigold Sun Cost (50) - 29F818
Scaredy Shroom Recharge (750) - Marigold Recharge (3000) - 29F81C
29F498 Melon Pult Sun Cost (300) - 29F83C
Ice Shroom Sun Cost (75) - 29F4B8 Melon Pult Recharge (750) - 29F840
Ice Shroom Recharge (5000) - 29F4BC Gatling Pea Sun Cost (250) - 29F860
Doom Shroom Sun Cost (125) - 29F4DC Gatling Pea Recharge (5000) - 29F864
Doom Shroom Recharge (5000) - 29F4E0 Twin Sunflower Sun Cost (150) - 29F884
Lily Pad Sun Cost (25) - 29F500 Twin Sunflower Recharge (5000) - 29F888
Lily Pad Recharge (750) - 29F504 Gloom Shroom Sun Cost (150) - 29F8A8
Squash Sun Cost (50) - 29F524 Gloom Shroom Recharge (5000) - 29F8AC
Squash Recharge (3000) - 29F528 Cattail Sun Cost (225) - 29F8CC
Threepeater Sun Cost (325) - 29F548 Cattail Recharge (5000) - 29F8D0
Threepeater Recharge (750) - 29F54C Winter Melon Sun Cost (200) - 29F8F0
Tangle Kelp Sun Cost (25) - 29F56C Winter Melon Recharge (5000) - 29F8F4
Tangle Kelp Recharge (3000) - 29F570 Gold Magnet Sun Cost (50) - 29F914
Jalapeno Sun Cost (125) - 29F590 Gold Magnet Recharge (5000) - 29F918
Jalapeno Recharge (5000) - 29F594 Spikerock Sun Cost (125) - 29F938
Spikeweed Sun Cost (100) - 29F5B4 Spikerock Recharge (5000) - 29F93C
Spikeweed Recharge (750) - 29F5B8 Cob Cannon Sun Cost (500) - 29F95C
Torchwood Sun Cost (175) - 29F5D8 Cob Cannon Recharge (5000) - 29F960
Torchwood Recharge (750) - 29F5DC Imitater Sun Cost (0) - 29F980
Tall Nut Sun Cost (125) - 29F5FC Imitater Recharge (750) - 29F984
Tall Nut Recharge (3000) - 29F600
I, Zombie
Zombie/Imp Cost (50) - 067B60 Balloon/Ladder Cost (150) - 067B78
Buckethead/Bungee/Digger Cost (125) - Gargantuar Cost (300) - 067B84
067B72 Dancing Cost (350) - 067B6C
Football/Zomboni Cost (175) - 067B7E Conehead/Pole Vaulter Cost (75) -
Pogo Sun Cost (200)** - 067B48 067B66
Screen Door Cost* (100) - 067B3D
Explode-o-Nut Sun Cost (0) - 29F9A4
Minigames
Explode-o-Nut Recharge (3000) -
Beghouled Repeater/Zombiquarium 29F9A8
Trophy Cost (1000) - 067B1C Giant Wall-Nut Sun Cost (0) - 29F9C8
Beghouled Fume Shroom Cost (500) - Giant Nut Recharge (3000) - 29F9CC
067B27 Sprout Sun Cost (0) - 29F9EC
Beghouled Tall Nut (250) - 067B32 Sprout Recharge (3000) - 29F9F0
Beghouled Shuffle Plants/Zombiquarium Reverse Repeater Sun Cost (200) -
Snorkel Zombie* (100) - 067B3D 29FA10
Beghouled Fill Crater Cost (200)** - 067B48 Reverse Repeater Recharge (750) -
29FA14
Others
Basic Zombie Plant Packet Sun Cost (0) - 29FB30
Basic Zombie Plant Packet Recharge (0) - 29FB34
Conehead Plant Packet Sun Cost (0) - 29FB54
Conehead Plant Packet Recharge (0) - 29FB58
Pole Vaulter Plant Packet Sun Cost (6977228) - 29FB78
Pole Vaulter Plant Packet Recharge (6977228) - 29FB7C
Buckethead Plant Packet Sun Cost (0) - 29FB9C
Buckethead Plant Packet Recharge (0) - 29FBA0
Ladder Plant Packet Sun Cost (0) - 29FBC0
Ladder Plant Packet Recharge (0) - 29FBC4
Digger Plant Packet Sun Cost (0) - 29FBE4
Digger Plant Packet Recharge (0) - 29FBE8
Bungee Plant Packet Sun Cost (6) - 29FC08
Bungee Plant Packet Sun Cost (0) - 29FC0C
Football Plant Packet Sun Cost (0) - 29FC2C
Football Plant Packet Recharge (0) - 29FC30
Balloon Plant Packet Sun Cost (0) - 29FC50
Balloon Plant Packet Recharge (0) - 29FC54
Screen Door Plant Packet Sun Cost (0) - 29FC74
Screen Door Plant Packet Recharge (6977728) - 29FC78
Zomboni Plant Packet Sun Cost (0) - 29FC98
Zomboni Plant Packet Recharge (0) - 29FC9C
Pogo Plant Packet Sun Cost (0) - 29FCBC
Pogo Plant Packet Recharge (0) - 29FCC0
Dancing Plant Packet Sun Cost (6977344) - 29FCE0
Dancing Plant Packet Recharge (0) - 29FCE4
Gargantuar Plant Packet Sun Cost (0) - 29FD04
Gargantuar Plant Packet Recharge (0) - 29FD08
Imp Plant Packet Sun Cost (6977992) - 29FD28
Imp Plant Packer Recharge (0) - 29FD2C
<missing> Sun Cost (6977196) - 29FD4C
<missing> Recharge (6977196) - 29FD50 (found by jornker)
<missing> Text offset - 26E3D4 (also found by jornker)
Download: https://file.garden/XD6TBfFsnngxM3HA/packet_plants.png
Download the above and replace packet_plants.png in the images folder with this
instead.
<Image id="PACKET_PLANTS" path="packet_plants" cols="13" />
Open the resources.xml in the properties folder and search for this. Change the cols to
76.
Download: https://file.garden/XD6TBfFsnngxM3HA/luck%20thing/packet_plants.png
Action Rates
Peashooter Fire Rate (150) - 29F2CC
Sunflower Production Rate (2500) - 29F2F0
Cherry Bomb/Jalapeno Explosion Delay (100) - 05E300
Potato Mine Surfacing (1500) - 05E34E
Snow Pea Fire Rate (150) - 29F380
Chomper Chew Time (4000) - 061551
Chomper Bite Speed (90) - 0613BC
Repeater Fire Rate (150) - 29F3C8
Puff-shroom Fire Rate (150) - 29F3EC
Sun-shroom Production Rate (2500) - 29F410
Sun-shroom Grow Time (12000) - 05E3F1
Fume-shroom Fire Rate (150) - 29F434
Grave Buster’s Timer (400) - 05FCE3
Scaredy-shroom Fire Rate (150) - 29F4A0
Ice-shroom Explosion Delay (100) - 0632B0
Doom-shroom Explosion Delay (100) - 060DFE
Doom-shroom’s Crater Leaving Time (18000) - 066887
Threepeater Fire Rate (150) - 29F554
Spikeweed Attack Rate (100, fastest before being unable to attack is 76) - 060361
Sea-shroom Fire Rate (150) - 29F62C
Cactus Fire Rate (150) - 29F674
Blover Blow Time (200) - 05DC5F
Fog Leave Time (4000) - 066644
Split Pea Fire Rate (150) - 29F6BC
Starfruit Fire Rate (150) - 29F6E0
Magnet-shroom Cooldown (1500) - 06163A
Cabbage-pult Fire Rate (300) - 29F74C
Kernel-pult Fire Rate (300) - 29F794
Kernel-pult’s Chance of Throwing Butter (4) - 05F1E1
Coffee Bean Delay (100) - 05E521
Marigold Production Rate (2500) - 29F824
Melon-pult Fire Rate (300) - 29F848
Gatling Pea Fire Rate (150) - 29F86C
Twin Sunflower Production Rate (2500) - 29F890
Gloom-shroom Fire Rate (200) - 29F8B4
Cattail Firing Rate (150) - 29F8D8
Winter Melon Fire Rate (300) - 29F8FC
Gold Magnet Cooldown (200) - 062985
Cob Cannon First Ammo Cooldown (500) - 05E560
Cob Cannon Cooldown (3000) - 064D4D
Imitater Delay (200) - 05E2D9
Reverse Repeater Fire Rate (150) - 29FA1C
Pole Vaulter Jump Speed (idk use cheat engine) - 125E7B
Dancing Zombie Call (150) - 128885
Zombie Yeti Flee (1500) - 122978
Bungee Zombie Steal Delay (300) - 125127
Catapult Zombie First Shot (300) - 125A28
Catapult Zombie Throwing Rate (300) - 125B28
Peashooter Zombie Firing Rate (150) - 1275B2
Gatling Pea Zombie Firing Rate (150) - 127831
Projectiles
Peashooting Plants (0) - 066ECB
Snow Pea (1) - 066ED5
Spore Mushrooms (4) - 066EFD
Fire Peas [Pea becomes through torchwood] (6) - 06ECC8
Pea [Snow pea becomes through torchwood] (0) - 06EE12
Cactus/Cattail (8) - 066EB3
Starfruit (7) - 05F7FD
Cabbage-pult (2) - 066EDF
Kernel-pult (A/C) - 066EE9/066F29
Melon-pult (3) - 066EF3
Winter Melon (5) - 066F0D
Cob Cannon (B) - 066F17 (does not work properly)
Basketballs (9) - 29F234 (Note: This is the damage address. Please wait for the actual projectile address to be
put here, ayban accidentally put the wrong one) (sorrry) (its ok)
Zombotany Peas (D) - 127988
Zombie Offsets
8 - The zombies x value (not float)
C - The zombies y value (not float)
20 - The layer that the zombie is on
24 - Zombie type
28 - Zombie State (refer to Zombie States)
2C - The zombies x value
30 - The zombies y value
34 - Zombie speed (aka how fast the zombie travels)
51- determines if the zombie is eating 1, is yes, 0 is no (byte)
AC - Decelerate
B0 - Butter
B4 - Freeze
B8 - Hypno (byte)
B9 - Blow Away
BF - Garlic Effect
C0 - nothing
EC - Destroys zombie
11C - Zombie size
Damage
Pea (20) - 29F1C8
Cherry Bomb/Doom-shroom/Jalapeno/Cob Cannon (1800) - 132FDC
Potato Mine (1800) - 01D931
Snow Pea (20) - 29F1D4
Chomper Bite (40) - 614DD
Spore (20) - 29F1F8
Fume-shroom/Spikeweed/Gloom-shroom/Spikerock (20) - 5EDEF
Ice-shroom (20) - 132493 (limit is 128)
Squash (1800) - 0607A9
Fire Pea (40) - 29F210
Spike (20) - 29F228
Star (20) - 29F21C
Cabbage (40) - 29F1E0
Kernel (20) - 29F240
Butter (40) - 29F258
Melon (80) - 29F1EC
Winter Melon (80) - 29F204
Zombie Bite - (36, toward plants) 12FCF3; (04, toward zombies) 12FE14
Basketball (75) - 29F234
Gargantuar Smash - 45EC63
Zombotany Pea (20) - 29F264
Rake (1800) - 04E7D6
Health/Armor
Basic Plant Health (300) - 05DC55 Dolphin Rider Health (500) - 122D64
Wall-Nut Health (4000) - 05E1A7 Jack-In-The-Box Health (500) - 122FC7
Tall-Nut Health (8000) - 05E215 Balloon Zombie Balloon (20) - 1234BF
Pumpkin Health (4000) - 05E445 Digger Armor (100) - 122BEF
Garlic Health (400) - 05E242 Pogo Health (500) - 123300
Spikerock Health (450) - 05E5C3 Zombie Yeti Health (1350) - 12296E
Explode-o-Nut Health (4000) - Bungee Health (450) - 122A1B
05E1BA Ladder Armor and Health (500) - 12299C
Giant Wall-Nut Health (4000) - Catapult Health (850) - 122E8D
05E207 Gargantuar Health (3000) - 123D26
Basic Zombies Health (270) - Imp (I, Zombie) (70) - 1235AC
1227BB Dr. Zomboss (40000) - 123624
Conehead Armor (370) - 122892 Dr. Zomboss (Extra Health for Minigames, 20000) -
Pole Vaulting Health (500) - 12361E
122CBF Wall-Nut Zombie Health (1100) - 12382B
Buckethead Armor (1100) - Jalapeno Zombie Health (500) - 123A87
12292B Tall-Nut Zombie Health (2200) - 12395D
Newspaper Armor (150) - 12337D Giga Gargantuar Health (6000) - 123E4A
Screen Door Armor (1100) - I, Zombie Brain Health (Not Accurate, 70) - 2A8DF
122949
Football Armor (1400) - 122BB0
Dancing Health (500) - 123530
Zomboni Health (1350) - 122DE1
Bobsled Sled Health (300) -
123139
Owners of Health
Wall-Nut (03) - 05E1A1
Tall-Nut (17) - 05E20F
Pumpkin (1E) - 05E43D
Garlic (24) - 05E23C
Animations
Peashooter (4) - 29F2B8 Snorkel Zombie Seed (0) - 29FAE0 All basic Zombie: 21
Sunflower (7) - 29F2DC Digger Zombie Seed (29912) - Pole Vaulter: 54
Cherry Bomb (10) - 29F300 29FBDC Newspaper Zombie: 30
Wall-Nut (5) - 29F324 Balloon Zombie Seed (30912) - Football Zombie: 29
Potato Mine (23) - 29F348 29FC48 Dancing Zombie: 51
Snow Pea (13) - 29F36C Pogo Zombie Seed () - 29FCB4 Backup Dancer: 62
Chomper (20) - 29F390 <missing> (0) - 29FD44 Snorkel Zombie: 65
Repeater (14) - 29F3B4 Seed Packet ID 4F (0) - 29FDD4 Zomboni: 31
Puff-Shroom (18) - 29F3D8 Basic Zombie (21) - 29DA84 Bobsled Zombie: 63
Sun-shroom (15) - 29F3FC Flag Zombie (21) - 29DAA0 Dolphin Rider: 60
Fume-shroom (17) - 29F420 Conehead Zombie (21) - 29DABC Jackbox Zombie: 64
Grave Buster (70) - 29F444 Pole Vaulter Zombie (54) - 29DAD8 Balloon Zombie: 55
Hypno-shroom (19) - 29F468 BucketHead Zombie (21) - 29DAF4 Digger Zombie: 58
Scaredy-shroom (42) - Newspaper Zombie (30) - 29DB10 Pogo Zombie: 61
29F48C ScreenDoor Zombie (21) - 29DB2C Yeti: 94
Ice-shroom (28) - 29F4B0 Football Zombie (29) - 29DB48 Bungee Zombie: 66
Doom-shroom (12) - 29F4D4 Dancing Zombie (51) - 29DB64 Ladder Zombie: 68
Lily Pad (6) - 29F4F8 Backup Dancer (62) - 29DB80 Catapult Zombie: 67
Squash (11) - 29F51C Ducky Tube (21) - 29DB9C Gargantuar: 56
Threepeater (26) - 29F540 Snorkel Zombie (65) - 29DBB8 Imp: 57
Tangle kelp (52) - 29F564 Zomboni (31) - 29DBD4
Jalapeno (33) - 29F588 Bobsled (63) - 29DBF0 Other things that could work
Spikeweed (24) - 29F5AC Dolphin Rider (60) - 29DC0C Lawn Mower: 8
Torchwood (45) - 29F5D0 Jackbox Zombie (64): 29DC28 Burnt Digger Zombie: 38
Tallnut (16) - 29F5F4 Balloon Zombie (55): 29DC44 Hammer: 99
Sea-shroom (47) - 29F618 Digger Zombie (58): 29DC60 Circle Portal: 104
Plantern (44) - 29F63C Pogo Zombie (61): 29DC7C Rectangle Portal: 105
Cactus (50) - 29F660 Yeti (94): 29DC98 Tree of Wisdom: 119
Blover (48) - 29F684 Bungee Zombie (66): 29DCB4 Dancing Basic Zombie from credits:
Split-pea (46) - 29F6A8 Ladder Zombie (68): 29DCD0
Starfruit (53) - 29F6CC Catapult Zombie (67): 29DCEC 125
Pumpkin (43) - 29F6F0 Gargantuar (56): 29DD08 Conehead Zombie from credits: 134
Magnet-shroom (73) - 29F714 Imp (57): 29DD24 ScreenDoor Zombie from credits:
Cabbage-pult (75) - 29F738 Peashooter Zombie (21): 29DD5C 133
Flower Pot (49) - 29F75C Wall-nut Zombie (21): 29DD78
Kernel-pult (76) - 29F780 Jalapeno Zombie (21): 29DD94
Coffee Bean (78) - 29F7A4 Gatling Pea Zombie (21): 29DDB0
Garlic (86) - 29F7C8 Squash Zombie (21): 29DDCC
Umbrella Leaf (79) - 29F7EC Tall-nut Zombie (21): 29DDE8
Marigold (80) - 29F810 Giga-Gargantuar (56): 29DE04
Melon-Pult (77) - 29F834 Zombie ID 21 - 29DE20
Gatling Pea (89) - 29F858 Zombie ID 22 - 29DE3C
Twin Sunflower (82) - 29F87C Zombie ID 23 - 29DE58
Twin Sunflower (82) - 29F8A0 Ladderless Zombie (68): 29DE74
Cattail (81) - 29F8C4 Zombie ID 26 - 29DEAC
Winter Melon (88) - 29F8E8 Zombie ID 27 - 29DEC8
Gold Magnet (87) - 29F90C Zombie ID 28 - 29DEE4
Spikerock (25) - 29F930 Zombie ID 29 - 29DFA8
Cob Cannon (85) - 29F954 Zombie ID 31 - 29DFE0
Imitater (93) - 29F978 Zombie ID 32 - 29DFFC
Explode-o-Nut (5) - 29F99C Zombie ID 35 - 29E050
Giant Wall-Nut (5) - 29F9C0 Zombie ID 36 - 29E06C
Sprout (106) - 29F9E4
Reverse Repeater (14) -
29FA08
0X 1X 2X 3X 4X 5X 6X 7X 8X
0 Sprout Tall-Nut Water Blover Jack- Gatling Nothing. Adventure Mode Credits_Flower_petals
0 Splash In- Pea Hand
The-
Box
0 Zombie Fume- Jalapen Flower Snork Cattail Crazy Stinky the Snail Credits_Infantry.reanim
1 Head shroom o Pot el Dave
0 Sod roll Puff- Fire Cactus Bunge Gloom- Nothing. Rake Credits_Throat.reanim
2 shroom (particle e shroom
)
0 Lily Pad Sun Digger Pole Sleepi Garlic Jack-in- Gold Coin Conehead
6 Vaulter ng “Z” the-Box
0 Sunflow Potato Zombon Balloon Grave Gold Selectio Tree of Wisdom reanim\
7 er Mine i Buster Magnet n Credits_ZombieArmy1.rea
Screen nim
0 PLAN Spikeroc Gargant Imp Magn Twin Rectangl Fertilizer (Tree of Credits_Tombstones.reani
9 T! k uar et- Sunflo e Portal Wisdom) m
shroo wer
m
0 Snow Football Torchw Pogo Melon Imitater Bug Basic Zombie Credits_DiscoLights.reani
D Pea ood Spray m
0 Sun- Zomboni Sea- Bobsled Umbr Zombo Diamon Credits_BigBrain. Game Crash
F shroom shroom ella ss d reanim
Leaf Himself
Particles
(Thanks to Kyao for testing)
Dirt
x 0x 1x 2x 3x 4x 5x 6x
00 Melon Pogo Stick Dirt from Digger Spudow Zomboni Zomboss Candy fly
but back
01 Winter Melon Newspaper Dirt when dirt Catapult Yellow Flash Impact puff
Head spawning
Backups
02 Fume Balloon Pool Sparkle Fume Mower Sparkles from Football dirt
Zombie Head Constant smoke Sunflower Trophy puff
03 Popcorn Sod Roll Dirt Nuts Biting Nothing. Snow Portal Particles Daisies
Particle constant
04 Cherry Bomb Grave spawn Potato Mine dirt Seed Packet Cob blast Portal Particles Flashbang
Powie dirt Cooldown
05 Jackbox Dirt when Pea Splat dirt Down Flower Pot Glow Level Finish
planting arrow
06 Zombie Head Planting in Butter Splat Ladder Present Water Pot Glow Zombie Head
water stars Credits
07 Basic Zombie Zombie rise Cabbage Splat Basketball Imitator puff Slow Particles Gift Particle
Arm from grave
08 Cone Dirt digging Spore Splat Up Arrow Zombie Hypno Particle Fog Machine
head
09 Bucket dirt Star Splat Unfreeze Zombie Normal Vase Down Arrow
Particles arm Particle
0C Screendoor Down arrow Snow pea Gloom Fumes Fire Circle Glow+Arrow
particle
0D Newspaper Vaulter hit Snow Pea Trail Pogo Head Ice thing Seaweed
Tallnut star
0E Digger Head Doom! Plantern Glow Smoke Puff Iceball trail Mustache Fly
0F Pow! (whack-a- dirt Level Finish Zomboni Fireball trail Future Glasses Fly
zombie)
Sounds
0x 1x 2x 3x 4x 5x 6x 7
x
03 Pea shot Pool splash Vase break Dolphin Newspap Digger Phonograp
Arrive er Break Rise/Coffe h
e Bean
04 Pea shot 2 Bowling Impact (1 and Pool Cleaner Water Bungee Spraying Disco
2) splash Steal Zombie
Music
07 Plant on explosion.ogg Fire Pea Hit Plant Present Coin Pop Crazy
ground Explosio Open Dave
n Speak
0 Another Zombie body fall 2 Bungee fall Balloon Cob Pot Place
C brains (1 or 2 or 3) Arrive Shoot
thing
I don't know what happened here and this doesn't seem to be accurate but this was
here before
Music
45B8C9 (01) - Grasswalk (Day)
45B893 (02) - Moongrains (Night & Night Roof)
45B86B (03) - Watery Graves (Pool) [required script to change or it’ll just play Fog
scene music]
45B878 (04) - Rigor Mormist (Fog)
45B8BB (05) - Graze the Roof (Roof)
06 - Choose Your Seeds
07 - Crazy Dave (Main Menu)
45B913 (08) - Zen Garden
45B8D7 (09) - Cerebrawl (Puzzle)
45B8F5 (0A) - Loonboon (Minigames)
45B82F (0B) - Ultimate Battle
45B7C1 (0C) - Brainiac Maniac (Zomboss)
Conveyor Speeds
00422D17 - The delay between each conveyor belt seed packet
add dword ptr [ebx+5C],-01 (Choose a speed value between -01 and -08)
00489C70 - The visual speed of conveyor belt
add dword ptr [esi+0000034C],01 [Recommend to change the value into 02 (current
pvz2’s conveyor speed) or 04 (TAT’s conveyor speed), the others are just visual speed
changes]
Game Paused State (which shows a Newspaper Zombie idle in the middle)
267578 - Resume Game 267584 - Click to resume game 26759C - GAME
PAUSED
Options/Menu Texts
268378 - Music 268380 - Sound FX 26838C - 3D Acceleration 26839C - Full
Screen
Shop Stuffs
26D9E4 - Not enough money 26DA20 - Buy this item? 26DA68 - More
slots!
26D9A0 - You can't afford this item yet. Earn more coins by killing zombies!
26D9F8 - Are you sure you want to buy this item?
26DA30 - Now you can choose to take %d seeds with you per level!
Mini-Games
257504 - Tree of Wisdom 257514 - Squirrel
Other Button Stuffs
267EA4 - Yes 267EA8 - No 267EAC - Ok 267EB0 - Cancel
257B7C - OK
Errors
2586F4 - missing resource '%s'
Tips:
00 - Blank 0A - Enter space 20 - Space
25 64 - %d (number variable) 25 73 - %s (text variable)
Plant Specific
Ranges
Basic Plant Range & Gold Magnet (800) - 68185
Chomper (40) - 6805E
Puff-shroom & Sea-shroom (230, only for detection) - 681A6
Fume-shroom (340) - 680F2
Squash - 46803F
Spikeweed & Spikerock - 681C0 (20), 681C3 (50) (need a lot of messing around there, better use
CE)
Magnet-shroom (column) - 620F9 (270, actual range); 62100 (320, range while metallic armor zombie’s eating a
plant)
Magnet-shroom (row) - 6209E (02, the starting row); 620A1 (04, the amount of row used from the starting
row)
Plant Abilities
Which plant does double shoot anim (Repeater), changing this will cause repeater to
only shoot 1 pea (07) - 45F940
Same case but for Cattail (2B) - 45F922
Scaredy-shroom (0D) - 4633D3
Squash (11) - 463269
00464A9C - Makes threepeater only shoot one pea and crashes the game when
another plant has this
0045F05B - Who can shoot four peas at once
0052B967 - Hypno-shroom
06336C - Which plant collects coins
0040D37B/0040E2E3 - pumpkin ability
633AE - potato mine grow up action
632B9 - chomper ability
63394 - grave buster eat action
Doom-shroom ability: 63279
Ice-shroom ability: 6328A
tangle kelp ability: 633C6
spikeweed ability: 633BC
spikerock ability: 633C1
Cob Cannon ability: 6333C
blover animation thing: 632CA
41D3F4 - umbrella leaf ability
Plants States ID
00 - Default
01 - Chomper, Scaredy-shroom, Magnet-shroom & Gold Magnet’s recover idle
02 - Ice-shroom, Doom-shroom & Coffee Bean’s effect
03 - Squash staring
04 - Squash transition
05 - Squash jump up
06 - Squash squash down
07 - Squash squashed
08 - Grave Buster planted
09 - Grave Buster devouring
0A - Chomper about to eat
0B - Chomper can devour
0C - Chomper can’t devour
0D - Chomper devouring
0E - Chomper digesting
0F - Potato Mine rising up
10 - Potato Mine ready
12 - Spikeweed & Spikerock attacking
14 - Scaredy-shroom about to hide
15 - Scaredy-shroom hiding
16 - Scaredy-shroom rising up
17 - Sun-shroom in small state
18 - Sun-shroom growing up
19 - Sun-shroom in normal state
1A - Magnet-shroom attracting
1B - Magnet-shroom attracted
1C - Wall-nut roll to the top
1D - Wall-nut roll to the bottom
1E - Cactus normal state
1F - Cactus rising up
20 - Cactus tall
21 - Cactus getting down
Planting Conditions
(Credits to KeijiX in MA server)
0040E21E - Water only (Sea-shroom, Lily pad and Tangle Kelp) planting conditions
(has to be a water tile)
0040E230 - Ground only (Spikeweed and Spikerock) planting conditions (has to be a
grass tile)
5FA 21 220 221 222 22 224 226 233 234 235 236
FC 9 3
5FA
99 98 97 96 95 94 92 85 84 83 82
FF
5FB0B - The second item that Marigold will produces (2: Gold coin)
5FB5C - The second item that Marigold will produces at the same time in Big Time (1:
Silver coin)
Please refer to Currency Types for the ID of the items
5FB10 - What animation the item uses when it’s popping out in normal form
5FB5A - What animation the item uses when it’s popping out for the second item in Big
Time
0 1
Sun dropping from the Seed card
top dropping in It’s
Raining Seeds
2 3
Sun producing from Item dropping
Sunflower while zombies are
in death
4 5
Auto collect Auto collect but
delayed about 1
second
6 ≥7
Prize pathway after the Stay on the top
Zombot has been
destroyed
Special Almanac Backgrounds
Puff-shroom (8) - 067E62
Sun-shroom (9) - 067E6C
Fume-shroom (A) - 067E71
Grave Buster (B) - 002354
Hypno-shroom (C) - 067E76
Scaredy-shroom (D) - 067E8A
Ice-shroom (E) - 067E80
Doom-shroom (F) - 067E7B
Lily Pad (10) - 0022BB
Tangle Kelp (13) - 0022C4
Sea-shroom (18) - 067E67 (night), 0022D6 (pool)
Plantern (19) - 002359
Magnet-shroom (1F) - 067E85
Flower Pot (21) - 00235E
Gloom-shroom (2A) - 067E8F
Cattail (2B) - 0022CD
Other Stuff
5FACB - (4) What Sunflower produces
5FABE - (5) What Small Sun-shroom produces
5FADF/5FAF0 - (4) What Twin Sunflower produces
0045EB2B - 0045EB58 Controls what plant can attack the snorkel zombie in his
underwater-state.
0045EB13 (1A) - Controls which plant can attack balloon zombie
46CAF9 - controls which plants cant be attacked by peashooter/gatling pea zombotany
(from Kim Reno)
0041A6FD - Determines what plant can light up the fog.
00462D49 - What horizontal pixels bowling Wall-nuts disappear at (800)
004630D4, 235 - 00462D30, 112 - If the 2 Addresses are changed this will make
bowling wall-nut go super fast and not bounce vertically off zombies
0045DE8B/0045DE9F - Between those two values are the pieces of codes that contain
what scenes allows the mushrooms to be awake.
0045DE4C/0045DE79 - Between those two values are the pieces of codes that
contained all the plants that would sleep during the day.
00483F1A - Change that to a jmp and dave will never pre-select seeds
0045F1DB - Seems to be related in determining what plant ends up having the kernel
pult rng thing although it doesn't work with it only making it so the kernel pult doesn't
shoot the butter even if it's locked in to do it.
00466601 - Changing this to jmp makes blover blow all the zombies away.
0045FD12 - Changing this value will make it so grave buster does nothing to the
graves.
0041C6DE - Changing this makes plants ignore the roof slope.
00461447/0046144C/00461451 - Determine what zombies can't be eaten by Chomper.
(doesn’t work if you have chomper bite every zombie)
0052BA59 - Garlic's effect offset.
0045DF32 - Seems to mess with the Blover's animations when he's blowing.
00679690 - Cactus's visual shoot speed.
0045F113 - Cattail's visual shoot speed.
0045FAFC - Determines What Marigold will give.
0045FB0A (2) - other thing marigold can give
0046035E and 004603B3 - Spikeweed attack speed
004672CD/004672D6/004672DF/004672E8-determines which plants have the lobbing
effect
00460663/004606BE-determines which projectile will turn into pea on contact with
torchwood (snowpea)
0053184F- replace this with nop and fumes will damage the screen door instead.
00472198 (GOTY) -Related to starfruit.
00540674 (GOTY)-The item that is produced when a zombie eats a sunflower in I,
Zombie.
004623CD/004623D2/004623D7-determines which item gold magnet can pick
00462544/00462552/00462560-gold magnet item pick up visual
004648B3 -fume particles position
004648F7 -gloom particles position
0046ECC8-determines which projectile normal pea turned into after passing torchwood
0046ED5D-fire pea animation
004121E1 - makes the plant with this not usable
004124FF - makes plants glow when a plant is above them
004389A2 - changing this to 1 causes plants to appear as wheelbarrows when their
seed packets are clicked
0045FB05 - marigold rng which makes it spawn gold coins
0046138F - Chomper Attack Animation Speed
004614E5 - Chomper state after biting
004639E5-determines which plants are visually bigger
00491763-determines which plants are banned in last stand
462FBC-wallnut bowling wallnut damage to body
462FAC-wallnut bowling wallnut damage to helmets
462F74-wallnut bowling wallnut damage to hand armor (screendoor, ladder, etc)
463A14 - which plant is smaller than normal (coffee bean)
52D337 - chill color
52E569 - what plant can be eaten by digger zombie when he’s underground
Zombie Specific
Zombie Adventure Spawns Stuffs
PvZ Zombie Adventure Mode Spawns
Zombie Tiers, First Level & Lowest Wave They Appear, and Weights
Adventure Mode Spawns Chart for personal use (Make a copy of it)
https://docs.google.com/spreadsheets/d/1x7Oc12__q5mcZk85unDPARe89gxOLh-IYtVZvtkBQQg/edit?
usp=sharing
Put EB at 00D6A3 PvZ Adventure Spawns to have zombies spawn before they
normally appear in vanilla PvZ.
How to add Zombies to spawning (Click HERE for tutorial, made by Tirix)
Scripts are necessary to add zombies to the already existing list of zombies. You have to follow
the pattern of edx, eax, ecx.
formula is the value representing value between 0 and 1. the tier can be determined by
(wavenum((value)/100000000))rounded down + 1, or in other words up 1 every
100000000/(value) waves, starting at 1. For example:
10000000: up 1 every 16 waves
11111112: up 1 every 15 waves
22222223: up 1 every 7.5 waves
33333334: up 1 every 5 waves
40000000: up 1 every 4 waves
55555556: up 1 every 3 waves (used for most levels)
66666667: up 1 every 2.5 waves (used for last stand, survivals, and adventure replays)
77777778: up 1 every 2.14285714... waves
80000000: up 1 every 2 waves
9999999A for up 1 every 1.666666 waves
AAAAAAAB: up 1 every 1.5 waves
BBBBBBBC: up 1 every 1.363636 waves
CCCCCCCD: up 1 every 1.25 waves
DDDDDDDE: up 1 every 1.15384615 waves
EEEEEEEF: up 1 every 1.07142857 waves
note: anything over 77777778 requires changing command below from imul to mul or
else it will break spawning (no zombies spawn except first 3 and flags)
For up 1 every 1 wave, replace the mov eax,(value) and imul ebx/ecx with mov
edx,ebx/ecx and 5 nops
Zombie IDs
Zombies Drops
(Original info by Aniq, and rearranged by PvZ1 Gaming)
1CF10: Change it to 235 to make the WAZ sun drops apply in every level
1CFE6 (4): The first item for the drops
1CFF6 (4): The second item
1D006 (4): The third item
Zombie Abilities
Pole Vaulter Zombie (03) - 12B174, changing this causes pole vaulter to never leap
Newspaper Zombie (05) - 12B1B4, changing this causes newspaper zombie to stand
still when the newspaper is destroyed
Dancing Zombie (08) - 12B21E, changing this causes dancing zombie to phase
through all plants except for brains and he walks away from the house after eating
brains
Backup Dancer (09) - 12B22B, changing this causes the backup dancers to not spawn,
but changing it to 08 causes dancing zombie to never spawn zombies, also changing
528820 can spawn the zombie you want
Snorkel Zombie (0B) - 12B19A, changing this causes snorkel zombie to never enter the
pool
Zomboni (0C) - 12B1F9, changing this gives the zombie the ice trail
Bobsled Zombies (0D) - 12B1EC, changing this prevents the bobsled team from
stopping and slows down the zombie with this ability
Dolphin Rider Zombie (0E) - 12B18D, changing this causes dolphin rider to never enter
the pool
Jack-In-The-Box Zombie (0F) - 12B1CD, changing this prevents jack from exploding
Balloon Zombie (10) - 12B1A7, changing this prevents the balloon zombie from moving
or being seen when the balloon is popped
Digger Zombie (11) - 12B1C0, changing this causes digger zombie to never rise
Zombie Yeti (13) - 12B211, changing this causes the yeti zombie to never run away
Ladder Zombie (15) - 12B204, changing this causes ladder zombie to phase through
plants he would place ladders on
Catapult Zombie (16) - 12B180, changing this causes catapult to never shoot
Imp (18) - 12B238, changing this causes imp to never land, but the zombie that
gargantuar throws (127005) does land
Peashooter Zombie (1A) - 12B245, gives the zombie the ability to shoot
Jalapeno Zombie (1C) - 12B252, gives the zombie the ability to explode in a lane
Gatling Pea Zombie (1D) - 12B25F, gives the zombie the ability to shoot four peas
Squash Zombie (1E) - 12B26C, gives the zombie the ability to squash plants
Zombie Armors
change “jmp 523E4E” to any address below to give armor
523E4E - normal
522810 - cone
5228A9 - bucket
52333D - newspaper
522939 - screendoor
522B6E - football
52299B - ladder
52369B - peashooter head
523719 - wall nut head
523977 - jalapeno head
523ABA - gatling head
523be7 - squash head
523842 - tall nut head
Zombie States
0052B476 - Pole Vaulter’s jump state.
00525D1E - Newspaper's state after the paper is destroyed.
00526481 - Dolphin Rider’s jump state.
00525B70 - Balloon Zombie State when born
00525B9C - Balloon Zombie State after balloon is popped
00528345 - Digger Zombie’s State after Rising
52A9B2 - The state of the Ladder Zombie when he starts to put down the ladder.
526ECF - Gargantuar’s state after smashing a plant.
5270EB - Zombie State after being thrown by gargantuar.
Any number not listed causes the zombie to act like a basic and makes garg walk fast
and die
01 - Death
02 - Becomes black
03 - Instant Death
04 - Bungee’s target drop
05 - Bungee dropping down
06 - Bungee stays
07 - Bungee grabbing
08 - Bungee going away
0B - Pole Vaulter Running State
0C - Pole Vaulter Jumping State
0D - Pole Vaulter Walking State after losing pole
0E - Rising from ground
0F - Jack-in-the-Box walking (with jack-in-the-box)
10 - Jack-in-the-Box about to explode
11 - Bobsled Team about to ride
12 - Bobsled Team riding their bobsled
13 - Bobsled Team’s bobsled disappearing
14 - Pogo Jumping State
15 - Pogo jumping over a plant
1F - Newspaper Rage State
21 - Turn Around
22 - Digger Underground (when losing pickaxe) with a ‘?’ State
23 - Digger Rising Up (after losing pickaxe) State
24 - Digger Dizzying State
33 - Dolphin Rider Riding & Running State
36 - Dolphin Rider Jumping State
47 - Thrown by Garg
49 - Flying
4A - Balloon Popped
4D - Put Down Ladder State
Zombie Speeds
Memory View
Float Addresses (Add Address Manually > Fill in the address > Type > Float > OK)
(Original text from pvzclass/MemoryAddressList by Lazuplis-Mei, translated by
seemslegithuh, and rearranged by Bayant)
- The addresses in this section are floating-point constant addresses. They are
REALLY not recommended to modify, since other things will be affected like seed
packet icons.
- To split them, you should do PvZ2-styled seed packets, like what lazypeaster do, then
you can edit the image to be PvZ1-styled if you’re not gonna do PvZ2 style
(The addresses in tihs section are Imp Zombie and Gargantuar mechanic. Most of
them are in Double Float. Still, it is REALLY not recommended to modify, since it will
affect other stuffs such as seed packets.)
679498\\[floating point] basic value error (error is base value + [bunches of] random
value so that it can make rng-ish data) of Imp Zombie's longitudinal velocity when is
thrown by Gargantuar, or in other words, the error distance of Imp Zombie being
thrown. Example, set it to 1000, and Imp will fall down very close to his "dad".
679380\\[double-floating point] basic value (the base this time) of Imp Zombie's
longitudinal velocity when is thrown by Gargantuar, or in other words, the base
distance of Imp Zombie being thrown. Example, set it to 1000, and Imp will fall down
very close to his "dad".
679330\\[double-floating point] basic value of the Imp Zombie's height velocity when is
thrown by Gargantuar. Set it to 1 for surprising jump :jerma_sus: :trollgod:
679300\\[double-floating point] basic value of the Imp Zombie's correction longitudinal
velocity when is thrown by Gargantuar, but is REALLY, REALLY NOT recommended to
modify, since it will glitch your pvz exe file to death.
6796D8\\[double-floating point] combination of 679380 and 679498 i believe
6798AC\\[double-floating point] same as 679498 eh? but any number you input will
result in epic flying fail.
67A2B0\\[floating point] same as 679380 eh? but it's in float instead
67A2B8\\[double-floating point] the length of the Imp throwing, i believe. set it to 1000
for epic flying win.
Other Stuff
00536D0D/00524101-change this to 0 and zombie will always have a mustache
00536D9D/00536DA6/00536DAF/00536DB8/00536DC1/00536DCA-determines which
zombies can't have future head
00536CAA/00536CB3/00536CBC/00536CC5/00536CCE/00536CD7-determines which
zombies can't have mustache
0052AE4B- changing this to 75 03 makes all zombies ignore the roof’s slope
Currency Specific
Currency Types
* Change 42FFB6 to get your wanted seed plants.
Currency Prices
Starting Sun 1-1 (150) - 00B08F
Starting Sun Not 1-1 (50) - 00B09B
Sun (25)* - 0309F0, 01B9B8
Normal Coin (1)* - 030A46, 01BA28
Gold Coin (3)* - 030A53 (50 ingame, divide by 10 and subtract by 2 to get wanted cost),
01BA34
Diamond (100)* - 030A63 (1000 ingame, divide by 10 to get wanted cost), 01BA47
Small Sun (10)* - 0309FD (15 ingame, add 5 to get wanted cost), 01B9C4
I, Zombie Starting Sun (150) - 00B06F
Big Sun (50)* - 030A0D, 01B9D7
Last Stand Starting Sun (5000) - 00B058
* included the value that will be added into the currency bank and the true value of the currency
Prize Bags
Rewards of money bag in Rewards of money bag in normal Rewards of trophy
Vasebreaker levels levels / trophy while winning a while winning a
Vasebreaker level mini-game
0322ED (2) - Amount of 0323CF (5) - Amount of Prize 0323B0 (1) - Amount
Prize 0323D1 (2) - Prize Type of Prize
0322EF (2) - Prize Type 0323B3 (3) - Prize
Type
Autocollect thingy
0043158F - Change the value in int8 to -21 and sun and money will automatically
be collected.
Edit the When the amount of sun is When the amount of coins is bigger
Limitation bigger than 30A1F, the than 30A74, the number will
number will automatically automatically change into 30A7D.
change into 30A2B. Both of Both of the default values are 99999
the default values are 9990. (with an added 0 automatically).
Disable the 30A25 - C7 80 60 55 00 00 06 30A7A - C7 40 28 9F 86 01 00 > 90
Limitation 27 00 00 > 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90
Puzzle Specific
Vasebreaker
40B7E1 - Plants given from the seed bank
lea edi,[edx+03] (edit the 03 to any plants ID+1 that you want, 00 is no plant given
entirely)
41BF07 - Slot count in the seed bank
0042AD1A = Me Smash!
0042AD23 - L2 Garlic Position
0042AD25 - L2 Garlic Type
0042AD32 - L4 Garlic Position
0042AD34 - L4 Garlic Type
0042AD36 - L4 Garlic Lane
0042AD41 - L3 Sunflowers Type
0042AD44 - L3 Sunflowers Lane
0042AD4D - L5 Sunflowers Type
0042AD57 - Remaining Torchwoods Amount
0042AD59 - Remaining Torchwoods Type
0042AD64 - Remaining Sunflowers Amount
0042AD66 - Remaining Sunflowers Type
0042AD72 - Remaining Spikeweeds Type
0042AD7D - Remaining Snow Peas Amount
0042AD7F - Remaining Snow Peas Type
0042AD8A - Remaining Peashooters Amount
0042AD8C - Remaining Peashooters Type
0042AD97 - Remaining Squashes Amount
0042AD99 - Remaining Squashes Type
0042ADAD = ZomBoogie
0042ADB2 - L3 Sunflower Position
0042ADB4 - L3 Sunflower Type
0042ADB6 - L3 Sunflower Lane
0042ADC1 - L5 Sunflower Position
0042ADC3 - L5 Sunflower Type
0042ADC5 - L5 Sunflower Lane
0042ADCF - Remaining Sunflowers Amount
0042ADD1 - Remaining Sunflowers Type
0042ADDC - Remaining Potato Mines Amount
0042ADDE - Remaining Potato Mines Type
0042ADE9 - Remaining Chompers Amount
0042ADEB - Remaining Chompers Type
Level Specific
Lanes
Ground - 40A69E (ebp/AE means land, ecx/8E means water, edx/96 means bare)
Lane 1 (AE) - 00A69F
Lane 2 (AE) - 00A6A5
Lane 3 (AE) - 00A6AB
Lane 4 (AE) - 00A6B1
Lane 5 (AE) - 00A6B7
Lane 6 (96) - 00A6BD
Pool - 40A679
Lane 1 (AE) - 00A668
Lane 2 (AE) - 00A66E
Lane 3 (8E) - 00A674
Lane 4 (8E) - 00A67A
Lane 5 (AE) - 00A680
Lane 6 (AE) - 00A686
Unsodded (I believe this is for the first 3 levels only) -49A711
Lane 1 (96) - 40A711
Lane 2 (96) - 40A717
Lane 3 (96) - 40A72E
Lane 4 (96) - 40A734
40A71F/40A724/40A729-Determine which minigame/level has three lanes
Scene IDs
Level IDs
(thanks to Kim Reno)
Adventure Mode - 0
Values higher than 48 crash the game
Minigame Flags
009499 (10) - Amount of waves in 1-Flagged Minigames/Survivals
0092FD (20) - Amount of waves in 2-Flagged Minigames/Hard Survivals
009472 (30) - Amount of waves in 3-Flagged Minigames
009466 (40) - Amount of waves in 4-Flagged Minigames
Download: https://file.garden/ZCenABQZY2RSmYew/Survival_Thumbnails.png
<Image id="SURVIVAL_THUMBNAILS" path="Survival_Thumbnails" cols="11" />
Change the cols to 15.
Download: https://file.garden/ZCenABQZY2RSmYew/Challenge_Blank.png
https://file.garden/ZCenABQZY2RSmYew/Challenge_Window.png
https://file.garden/ZCenABQZY2RSmYew/Challenge_Window_Highlight.png
Move these images into the images folder after downloaded and delete the current
ones.
Open the HxD and apply these changes (Note: Takes up script space!):
go from 4F8 to A07 and replace write:
BB C0 9E 6A 00 8B 1B 8B 9B F8 07 00 00 53 E8 15 00 00 00 5B 85 DB 0F 84 05 00 00 00 E9
0A 5E 01 00 FF 24 85 64 66 41 00 60 8B EC 83 C5 24 B8 C0 9E 6A 00 8B 00 E8 9E 32 05 00
84 C0 0F 85 10 01 00 00 B9 C0 9E 6A 00 8B 09 E8 AA 33 05 00 84 C0 0F 85 F2 00 00 00 8B
45 00 83 F8 10 0F 84 78 00 00 00 83 F8 11 0F 84 79 00 00 00 83 F8 12 0F 84 7A 00 00 00 83
F8 14 0F 84 C1 00 00 00 83 F8 16 0F 84 7C 00 00 00 83 F8 18 0F 84 AF 00 00 00 83 F8 1A 0F
84 74 00 00 00 83 F8 1C 0F 84 75 00 00 00 83 F8 1E 0F 84 4E 00 00 00 83 F8 20 0F 84 6D 00
00 00 83 F8 21 0F 84 28 00 00 00 83 F8 22 0F 84 65 00 00 00 83 F8 23 0F 84 66 00 00 00 C7
45 00 00 00 00 00 E9 8C 00 00 00 B9 01 00 00 00 E9 78 00 00 00 B9 02 00 00 00 E9 6E 00 00
00 B9 03 00 00 00 E9 64 00 00 00 B9 04 00 00 00 E9 5A 00 00 00 B9 05 00 00 00 E9 50 00 00
00 B9 06 00 00 00 E9 46 00 00 00 B9 07 00 00 00 E9 3C 00 00 00 B9 08 00 00 00 E9 32 00 00
00 B9 09 00 00 00 E9 28 00 00 00 B9 0A 00 00 00 E9 1E 00 00 00 B9 0B 00 00 00 E9 14 00 00
00 B9 0C 00 00 00 E9 0A 00 00 00 B9 0D 00 00 00 E9 00 00 00 00 8B 1C 8D FC FF 6F 00 89
5D 00 61 C3 CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC
CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC 74 09 83 F8 40 0F 85
2B 51 06 00 DD D8 D9 05 C0 93 67 00 E9 15 51 06 00 60 B9 C0 9E 6A 00 8B 09 8B 91 F8 07
00 00 83 FA 12 74 28 0F 1F 40 00 83 FA 1E 74 35 0F 1F 40 00 50 E8 2A 32 05 00 84 C0 58 75
3C 0F 1F 40 00 61 8B 89 4C 55 00 00 E9 AB 75 01 00 53 8B 1D 34 00 70 00 68 E0 00 00 00
6A 81 E8 62 6A 18 00 5B 61 C3 53 8B 1D 3C 00 70 00 68 C1 00 00 00 6A 82 E8 4C 6A 18 00
5B 61 C3 53 8B 1D 44 00 70 00 68 E0 00 00 00 6A 81 E8 36 6A 18 00 5B 61 C3 CC CC CC 60
B9 C0 9E 6A 00 8B 09 8B 91 F8 07 00 00 83 FA 12 74 28 0F 1F 40 00 83 FA 1E 74 38 0F 1F
40 00 50 E8 AA 31 05 00 84 C0 58 75 3F 0F 1F 40 00 61 8B 89 4C 55 00 00 E9 9B 75 01 00
53 8B 1D 38 00 70 00 68 CC 00 00 00 68 7D FF FF FF E8 DF 69 18 00 5B 61 C3 53 8B 1D 40
00 70 00 68 CF 00 00 00 6A 80 E8 C9 69 18 00 5B 61 C3 53 8B 1D 48 00 70 00 68 D0 00 00
00 6A 81 E8 B3 69 18 00 5B 61 C3 83 FA 31 75 10 0F 1F 40 00 C7 45 28 AC 0D 00 00 E9 5F
A7 03 00 83 FA 3D 0F 85 D1 A6 03 00 E9 C0 A6 03 00 CC 68 36 09 40 00 68 00 00 70 00 E8
1B 01 00 00 68 40 09 40 00 68 04 00 70 00 E8 0C 01 00 00 68 4A 09 40 00 68 08 00 70 00 E8
FD 00 00 00 68 54 09 40 00 68 0C 00 70 00 E8 EE 00 00 00 68 5E 09 40 00 68 10 00 70 00 E8
DF 00 00 00 68 68 09 40 00 68 14 00 70 00 E8 D0 00 00 00 68 72 09 40 00 68 18 00 70 00 E8
C1 00 00 00 68 7C 09 40 00 68 1C 00 70 00 E8 B2 00 00 00 68 86 09 40 00 68 20 00 70 00 E8
A3 00 00 00 68 90 09 40 00 68 24 00 70 00 E8 94 00 00 00 68 9B 09 40 00 68 28 00 70 00 E8
85 00 00 00 68 A6 09 40 00 68 2C 00 70 00 E8 76 00 00 00 68 B1 09 40 00 68 30 00 70 00 E8
67 00 00 00 68 C8 09 40 00 68 34 00 70 00 E8 58 00 00 00 68 BC 09 40 00 68 38 00 70 00 E8
49 00 00 00 68 E0 09 40 00 68 3C 00 70 00 E8 3A 00 00 00 68 D4 09 40 00 68 40 00 70 00 E8
2B 00 00 00 68 F9 09 40 00 68 44 00 70 00 E8 1C 00 00 00 68 EC 09 40 00 68 48 00 70 00 E8
0D 00 00 00 8D 4D A0 89 5D FC E9 36 D0 07 00 CC CC 8D 4D A0 89 5D FC E8 27 3B 00 00
8B 4C 24 08 51 8D 4D 84 E8 4A 3B 00 00 8D 45 84 C7 45 FC 50 01 00 00 8B 17 8B 52 40 50
8D 4D D8 51 8B CF FF D2 8B C8 E8 5B A0 19 00 8B 74 24 04 89 06 8D 75 D8 E8 8D 9F 19 00
C2 08 00 49 4D 41 47 45 5F 42 47 31 00 49 4D 41 47 45 5F 42 47 32 00 49 4D 41 47 45 5F 42
47 33 00 49 4D 41 47 45 5F 42 47 34 00 49 4D 41 47 45 5F 42 47 35 00 49 4D 41 47 45 5F 42
47 36 00 49 4D 41 47 45 5F 42 47 37 00 49 4D 41 47 45 5F 42 47 38 00 49 4D 41 47 45 5F 42
47 39 00 49 4D 41 47 45 5F 42 47 31 30 00 49 4D 41 47 45 5F 42 47 31 31 00 49 4D 41 47 45
5F 42 47 31 32 00 49 4D 41 47 45 5F 42 47 31 33 00 49 4D 41 47 45 5F 42 47 33 5F 4D 00 49
4D 41 47 45 5F 42 47 33 5F 49 00 49 4D 41 47 45 5F 42 47 34 5F 4D 00 49 4D 41 47 45 5F 42
47 34 5F 49 00 49 4D 41 47 45 5F 42 47 31 32 5F 4D 00 49 4D 41 47 45 5F 42 47 31 32 5F 49
00 00 CC
fun fact: one of these is crazy dave dialogue for squirrel lol
go to 162D4 and replace FF 24 85 64 66 41 00 and write: E9 1F A2 FE FF 90
90
go to 17C80 and replace 8B 89 4C 55 00 00 and write: E9 1B 8A FE FF 90
go to 17CF0 and replace 8B 89 4C 55 00 00 write: E9 2B 8A FE FF 90
verify 2DF5D is: 90 90 90
verify 2EF3F is 4C
verify 2F03B to 2F051 is: 10 83 C2 1C 89 54 24 20 6A 02 BA FF 00 00 00 8B
CA 89 44 24 28 51 90
go to 657AB and replace 75 11 DD D8 D9 05 C0 93 67 00 and write: E9 D8 AE
F9 FF 90 90 90 90 90
go to 7D91C and replace 8D 4D A0 89 5D FC write: E9 A3 2E F8 FF 90
go to 25108C to 2510A8 and replace 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 and write: 57 68 65 6E 20 54
68 65 20 49 6D 70 6F 73 74 65 72 20 49 73 20 53 75 73 21 20 3E 3A 29
Plant on Roof
Flower Pot (21) - 43B72F
43B74F-The scenes in which the normal flower pots amount are used (3 lanes) note
changing the scenes will not remove the pots from 5-3 to 5-10 as they used code
nearby to make it so those pots appear no matter what.
41C0B6-determine which scenes need pots to for stuff to be planted on land tiles
Beghouled Stuff
417AA4 - The visual stuff in the score counter regarding the required matches
4211F4 - The text relating to beghouled on how many matches are needed
421284 - When the “5 matches to go!” text will appear
42131C - The amount of matches needed to beat the level
421620 - Beghouled plants for the levels
422A23 - The visual stuff for the progress bar status (lea ecx,[ebx+4B])
424532 - Timer of No Possible Moves!
427AE7 - This and some push addresses below it relate to beghouled’s upgrade plants
Zombiquarium Stuff
Changing 4117CA will make the value of the progress bar (number) become 4177D0
when the sun value at the first one is bigger than what you've set at the second one
417801 - The value of requirement text at the progress bar
42813F - The value of {SCORE} in "Get {SCORE} sun to pass the level" lawnstring text
4281E5 - The value that trigger the win system of the game, such as the progress bar,
the complete level text and the arrow that pointing the trophy (the actual value I
supposed)
4281EA - The status of progress bar when it reached the actual value of requirement
4281FE - The value of progress bar in visually
42820D - The value that trigger "Almost there!" text appear
428295 - The amount of sun when there’s a reminder that tells you to buy a snorkel
428395 - Same as 4281E5, but the progress bar won't change this time (nope, guess
this is the real one)
42806C - The maximum amount of Brains that allowed to appear at the same time
428074 - The cost that will be deducted while tapping a brain out
Lawn Backgrounds
0040A58F -1-X Scene (0)
0040A56B -2-X Scene (1)
0040A5B3 -3-X Scene (2)
0040A5D5 -4-X Scene (3)
0040A5E6 -5-X Scene (4)
0040A5FC -6-X (and 5-10) Scene (5)
Other Stuff
004538B1 - Whack-a-Zombie effect in Adventure Mode. Changing this causes only
three seeds to be able to be selected at the start of the level. Hammer also doesn’t
work when changed.
00424735 - Level with Dark Stormy Night Ground Raindrops
004246D5 - Level with Dark Stormy Night Water Raindrops
00426B41 - Level with Unidentified Dark Stormy Night Effect
00426B77 - Level with Unidentified Dark Stormy Night Effect One of them causes
thunder sound effect don't know which one though
41C780 - Has all plants on the same physical level, does not stop the roof angle from
stopping projectiles
00A5FE - Determine what scene is 5-10
0041C0A2 - Determines what World Graves spawn in (also makes grave buster card
grayed out)
00523E5D - Determine what minigame level gets the zombiquarium effect.
00410ADF/00439035 - Seems to determine what extra level has Column Like You See
‘Em effect.
0052BE5/0046DC21/0046D53F - Seems to determine what level has the high gravity
effect.
004268F1 - Seems to determine what level the grave danger effect appears on,
although it might be for the minigames and what not only.
00426925 - Determines what wave grave danger starts appearing in.
1C084 - What level graves do not appear in
004248AA - Zombie Nimble Zombie Quick for every level.
00413BD1 - Determine what minigame has the sunny day effect.
00523EE5 - This determines what level the big trouble little zombie effect appears on.
0040F531-40F6F1 - Seems to be for the name of the I, Zombies seedpackets, plus
scrolling down some more has the names for the seedpackets in Beghouled and some
other stuff.
004539F1 - Changes what level the 5-10 crazy dave text appears at although no music
will play.
00453999 - What level the 1-10 conveyor belt appears on, Be careful when changing
this.
004539AC - Same thing for 2-10
004538E1 - Same thing for 3-5
004539B8 - Same thing for 3-10
0045390D - Same thing for 4-5 (gives you the hammer, but 4-5 itself will still have the
vase objects and have you select a plant)
00453941 - Same thing for 4-10
00453971 - Same thing for 5-5
0045377D - Changing it to a different level makes it so the level lasts forever with no
true end, this was probably directly used for the zomboss fight.
00453866 - Determine what level has wall-nut bowling, similar to the whack a zombie
one, a bit unstable.
0040B03E - Modify what level has the 4-5 sun amount.
00412F26 - Modifying this can change what level the bungee blitz from 5-5 appears on.
004268F1 - Determines what minigame has the grave danger effect
00426FAD - Calls zomboss on 5-10 and zomboss's revenge
00424D05 - Seems related to the Art Challenge stuff, changing the value to a different
level seems to make it so only one of the required fill in spots are needed to get a
trophy.
00424E5D - Makes the Art Challenge levels visually gone when changed.
00425087 - Changing this seems to make the whole circle effect from twist be switched
to a different level sort of.
00424A21 - Seems to determine which minigame has the Art Challenge thing
00413BDF- For the sunny day affect, determines what replaces normal sun, 6 is
default and is big sun. 7 crashes along with 0 (not sure if anything above 7 would crash
as well), 4 is normal sun, 5 is small, 1 is silver coin, 2 is gold coin and 3 is diamond.
00413BD8 - Change this and the non sunny day levels won't have the normal sun, the
whole 1-6 things from 413BDF applied here.
00413A25 - Determine how many onslaughts there are in Last Stand.
00413B17 - This and many others near it, seems to disable sun falling from the sky in
worlds/bgs classified as having sun fall from the sky, not fully sure what with 413AD8
since that would be for it's raining seeds, also not sure what's with 413A76-413A9C
maybe relating to what bg/worlds auto to no sun falling for minigames.....or all levels?
Not sure.
0041F795-Determines the lanes type the ice trail spawn in bobsled minigame, 02 is
just land, 01 is just water, any other number value just makes it all lanes type has an
ice trail next to it is also what level the trail appears in.
For the roof the address is 0040A69E
It's also the front yard night lanes as well
40A6CA-front yard day lanes
40A711 -Determine the lane type for the tutorial
40A72E -Same deal as 40A711
40A71F -Seems to be if a level would have the tutorial lane type
40A61F-Zen garden bg (does hall of mirrors effect due to only being 800 x 600)
00413B17-This and many others near it, seems to disable sun falling from the sky in
worlds/bgs classified as having sun fall from the sky, not fully sure what with 413AD8
since that would be for it's raining seeds, also not sure what's with 413A76-413A9C
maybe relating to what bg/worlds auto to no sun falling for minigames.....or all levels?
Not sure.
426FAD-Calls zomboss on 5-10 and zomboss’s revenge, changing the type (push 19)
may be unstable
013B17 - Stops sun from falling in the last stand level
4265D9, 41C120 - which levels don't spawn zombies (may need to change both)
(credits to discord user for the following addresses)
43B0CE - which level doesn't display level name (48/intro)
40BCA3 - which levels don't have mowers
40BD3D - which levels skip choose your seeds screen
45C686 - which levels cannot be restarted
408DAC - which levels cannot save
408C85 - which levels can read save
4265D9, 41C120 - which levels don't spawn zombies
40B283 - ice level preset seeds
40BEDA - ice level music silence
43A748 - which levels start over the lawn and silence music at start
413AE1 - which levels have no sun
41BF60 - which levels don't have 10 slots
466147, 487D1D - big time effect on packets
45E378, 45FB24, 46398F - big time effect on plants
424917 - game over sound in ice level
425651 - which level has unuseable tiles wall nut art challenge
417411 - show progress bar at the very beginning of level (used in squirrel and i
zombie)
43BAE5, 40BD70, 43D5DD - which level has no slots (squirrel)
41C075 - which levels don't start with graves
40A94B - number of graves in each level(to 40AA53 - 7 graves. 40AA37 - 8 graves.
40A9E7 - 9 graves. default - 13 graves)
41C1C0 - how much of the screen is covered in fog in each level: the smaller the
number, the more of the screen the fog covers
41C1D2 - fog cover up to column 6
41C1DC - fog cover up to column 5, default value for minigames
41C201 - fog cover up to column 4, default value for adventure
41C1CE - minigame id that has fog stop at column 6 (29/air raid)
adv mode levels:
41C1E9 - which level has fog stop at column 6 (1F/4-1)
41C1EE - levels below this but do not meet the above do not have any fog at all (20/4-
2)
41C1F3 - levels below or equal to this have fog stop at column 5 (24/4-6)
41C1F8 - levels below this but do not meet any of the above do not have any fog at all
(25/4-7)
41C1FD - levels greater than this do not have any fog at all (28/4-10)
41F852 - which levels start with screen filled with wall nuts (can you dig it, squirrel)
43A794; which levels don't pan camera to right and show zombies at start
43A7EE - which levels start with camera over the lawn instead of the house
4268F1 - which level has grave danger (2d / grave danger)
Miscellaneous
the plant that appears on the almanac index (default is sunflower):401C3E
Widescreen has permanently been removed from the modding doc, nor will it be supported any
longer by any of the editors going forward. This was due to it solely being used to grossly
clickbait several mods and oftentimes being put into mods that DIDN’T support it.
An Anti-Widescreen Patch has also been developed by me (ayban!) in order to effectively stop
the use and spread of clickbait. At the moment, it will be injected PRIVATELY, as if the code
were to be released now, it is likely people in servers whom we will not name would reverse
engineer it.
We’re sorry that this had to happen. The original intention of Widescreen was meant to be
SOLELY for upping the QOL of PVZ 1, but after even Tod Semple (programmer of pvz1)
himself said he didn’t like widescreen, and recent events with a certain mod, it was time to
finally act on making this patch.
This is directly from Tod Semple himself, the ORIGINAL PROGRAMMER OF Plants
Vs. Zombies 1. So no, Widescreen will NEVER be supported ever again.
Finally, justice for that time that keif added widescreen even though not everyone agreed
If you have widescreen in your mod and no longer want it, you will have to start over; the reverse
directions can be used to re-enable widescreen, which is a big no no.
However .
Times have changed and most of the issues stated are no longer present, therefore
widescreen will be reinstated for the time being.
To add widescreen, you can:
You can use the base exe that EvilDogBot100 has made to have a very
well made and fully functional widescreen for your mod. However, you
must credit him in some way, shape or form as to respect his wishes.
https://github.com/HenryJk/PvZWidescreen/releases/tag/v1.1.2
OR you can use this manual version. Keep in mind it is not fully functional
and may be buggy.
Anti-Widescreen Patch
A patch to prevent your mod being made into wide screen has been made. This will be
distributed alongside pak encryption in MA for any major mod released in order to
prevent the code from being reverse-engineered.
PAK Encryption
Main.pak encryption (to prevent texture theft) has been found and will be distributed
around in MA
Functions
(these require values to be pushed onto the stack before the function is called)
(it is also recommended to use pushad before defining the values and popad
after calling the function since a register may be already used in the injection
point)
(base) refers to 6A9EC0+768, so if we wanted for eax to have the base offset, you
would have to do:
mov eax,[6a9ec0]
mov eax,[eax+768]
mov ebx,[6a9ec0]
mov ebx,[ebx+557C]
mov edx,[6a9ec0]
mov edx,[edx+768]
mov edx,[edx+160]
call 0041BAB0 - “__()CanTakeSun” (If it can take [amount] sun, it will, and will
modify [al] accordingly
(push)amount
mov edx,(base)
Return: al = 0 (not enough sun to take), 1 (can (and has) took the sun)
Limitation Breaking
14EBA8 - 74 2E > EB 00 | Let the game run in the background.
Main Menu
Tombstone Selector Screen Buttons that has Violet Glow when selected (by Luck)
Scripts
Scripts are going to be the last section of this document.
They are often needed when changing something advanced about the game.
A Script is an injected set of lines of code typically used for a far more advanced thing,
like a Gargantuar smashing plants in a 3 by 3 area or an entirely custom zombotany.
While many scripts are public use, some of the more advanced ones are private.
How to use:
Scripts are .ct files that need to be opened in Cheat Engine, after opening it in
cheat engine, hook your pvz .exe to cheat engine and proceed to press on the
box, if an x appears on the box, the script should work, if not then you have
done something wrong.
Ghidra
If you wanna take it to the next level and make your own scripts, the Ghidra decompiler
can help finding and identifying interesting code (interoperability purposes only) .
Install Ghidra here.
-Corax