Board Thread:Plants vs. Zombies 2: It's About Time/@comment-25005818-20141106133333/@comment-24190447-20141110064926

Tuvu wrote: Ganrash wrote: Buzzy Buzz wrote: Ganrash wrote: How could I help you? I've tried editing sun costs, but I can't figure out how to do it with plants which have 2 bytes.

For example, More than 255 sun plants, Banana Launcher etc. 

I figured it out:

 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? No, it makes the game crash.