-yawns- Time to show AceJP My Godly skills
Okay, Make an even for the seller and a event(s) for the animal(s). Then make an Item(s) called "Cat" or something(Have an Item for each animal. Okay In the event with the man say "Hello, Would you like to buy this nice blah blah blah?" (That was an example)
Then after that hit the "show choices" button. When the dialog box pops up click "Custom Choice"
*Note* I am doing this out of my head so it might not be word for word
Then click okay. In the sentance where it says "If choice is yes" put a continential branch below it where it is : If player's gold => x (x= the amount you want it to equal)
- x amount of gold
"There you go sonny" (Another example)
then add item "Cat" to the player.
Then on the else section put "Sorry, but you dont have enough money"(Example)
Then on the "No" choice, make him say something like "Too bad".
Then click on the animal's event. at the top of the dialog box click the "Add New Page." button. After that click on the First tab.
Make a Contential branch where it say something like this "If hero items = 'Cat'" then turn on Local switch A on. On the next page have your animal's movement set as follow and Make the conditions (Top left hand corner-ish) where local switch A=on. If you want to make it work with the Catapillar script put this in replacement with what is underlined above
"If Hero Items= 'Cat'
>Add Hero "Cat"
Else
>
End
Then that should be it. Just make sure you enter the animal's graphic on both tabs though, Unless you dont want it to be seen until you buy it. Then dont put anything on the first tab