Game Issues and idk what to do

Hello Joey and Peli, and all of you out here.
i have a few questions about my game, i was hoping for some help
Although I do have so more issues, so…

  1. I have the same code for all of my “opponents”
    the issue is that the fire dude is staying in his dead image, but the other two are not.
    i am pretty sure it is a dumb mistake but…

  2. I am trying to get your character to evolve. I initially tried to just swap the character with the evolved form in the array, the issue is that
    a) it does not work
    b) it breaks the health bar, and by break I mean it just disappears
    I am still working on it, but it seems to be a wall, so I have started to work just on the “stats” for the main
    mon and the opponent mon.

  3. Do any of you know if there is a way to made vars, like, I want a Attack, Defense, Health, Speed, and Mana value for each of my Monsters, do i just write those out. Because I can see how this would be a pain for when this project gets big, “catching” mons would make this a BIG pain because i would have t make like 40 gazillion vars. and its hard because i can’t just type it in, i have to mindlessly scroll.

  4. Lastly, i was wondering, i know how in java and other things, you can call whole scripts, like, the waking and moving part is one script, and then the battling is a script. Is this what i am thinking, and is there a way to do it in blocks?

link to game:
PocketPets

thanks so much btw.
-Blobiy

In the advanced section of the block menu, you can define and call functions.

So one idea for the character stats is to create a function that sets all of the properties on a sprite. For example, try this sample code:

This uses peli’s sprite data extension

yeah, i already complaind about how fast he put that up…thanks

also, thanks but I was wondering if i could get whole things, so i did not have to have 400000000000 blocks on one page, because enow i am already using functions, but i was wondering if I could have a folder almost, and it had my code for battling and then a whole other page for the moving, and another for the intro. - Thanks

thanks the both of you!!