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

Luminous9 wrote: 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? 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 Dang it, I want to tryout the Banana Launcher at a low price, oh well. You guys know how to change the seed packet image of the firepeashooter? Saw the cucumber thing around a few weeks ago....