Board Thread:Plants vs. Zombies 2: It's About Time/@comment-25005818-20141106133333/@comment-25590111-20141110040809
How could I help you?
For example, More than 255 sun plants, Banana Launcher etc.
I figured it out:
Hex | Sun cost |
80 00 | 0 |
99 00 | 25 |
B2 00 | 50 |
CB 00 | 75 |
E4 00 | 100 |
FD 00 | 125 |
96 01 | 150 |
AF 01 | 175 |
C8 01 | 200 |
E1 01 | 225 |
FA 01 | 250 |
93 02 | 275 |
AC 02 | 300 |
C5 02 | 325 |
DE 02 | 350 |
F7 02 | 375 |
90 03 | 400 |
A9 03 | 425 |
C2 03 | 450 |
DB 03 | 475 |
F4 03 | 500 |
8D 04 | 525 |
A6 04 | 550 |
BF 04 | 575 |
D8 04 | 600 |
Search for {PlantName}Default
Make sur there isn't POPANIM_PLANT_{PLANTNAME} right after it. If there is, press F3/next.
Find there nearest $ sign after {PlantName}Default.
Change the next two bytes to the hex values above.
For example, to make banana launcher cost 150 sun, change "42 61 6E 61 6E 61 44 65 66 61 75 6C 74 FE 91 08 85 91 9A 02 24 F4 03" to " 42 61 6E 61 6E 61 44 65 66 61 75 6C 74 FE 91 08 85 91 9A 02 24 96 01"
Can I change the price to zero just by nullify those numbers?
Yes and no,
Yes: to plants that cost less than 150...
No: to plants that cost more than or equals to 150.....(at least I have not figured out how to do it)
Maybe Ganrash knows how to do it.. I figured out this two bytes method awhile back but cannot change the price to zero by nullifying those numbers