MZ I cant find what i did wrong

making a small little farming game for practice in a much larger game. i followed a tutorial and it maybe because it was an MV that it is not working but as i am new to game development of any kind, i thought i would ask if people could see the problem and may have a fix before i start from scratch again

so plant starts to grow, gets to 25% then the starting hole repones, and wants another seed, no plant grew fully.

screen shots of my functions below

Edit: Deleted the whole thing and started again... thank you for your interest in helping but it just isnt working
so plant starts to grow gets to 25% then the starting hole repones and wants anything seed no plant grew fully.
First, I have no idea what this sentence is trying to say.

Second, it would be very helpful to explain exactly what is happening when you test the events. What specifically isn't working the way you want. Maybe that is what the sentence above was trying to explain, but it isn't clear from the wording.

Lastly, this is a pretty big event sequence. I'd recommend trying to make just one type of planting with one type of seed first. If you can get the sequence with just one seed option, then you can expand after that once your mechanic has been tested.
Your second common event is clobbering the variables... I think?

You are setting the same variable twice in the bottom few conditionals, so they will always return 0 - could that be the problem? (I'm guessing you've done what I do... copy/paste variables and edit after, but forgot that last bit 😀 )

Screenshot 2025-10-03 at 21.39.39.png


I imagine they should be variable #2 and #10, as seen in the second if statement?
i plant the seed in the starting hole... it gets to 25%... starting hole reopens and it stops growing... idk what else i can tell you

Your second common event is clobbering the variables... I think?

You are setting the same variable twice in the bottom few conditionals, so they will always return 0 - could that be the problem? (I'm guessing you've done what I do... copy/paste variables and edit after, but forgot that last bit 😀 )

View attachment 350629

I imagine they should be variable #2 and #10, as seen in the second if statement?

i do copy and paste alot they could be the problem i went through with a fine tooth comb. but the tutorial i am following shows this excalty so i just dont know. maybe they fixed it off camera and forget to correct it in the video. so thank you i will try that

First, I have no idea what this sentence is trying to say.

Second, it would be very helpful to explain exactly what is happening when you test the events. What specifically isn't working the way you want. Maybe that is what the sentence above was trying to explain, but it isn't clear from the wording.

Lastly, this is a pretty big event sequence. I'd recommend trying to make just one type of planting with one type of seed first. If you can get the sequence with just one seed option, then you can expand after that once your mechanic has been tested.
also i am incredibly stupid, if i stary from the tutorial i am using, i will screw it up more. thus why it is so large. honestly i maybe bite off more then i could chew. but i am determined to get it to work. as this is my first game ever. and i have no programming skills at all. i thought i would try, i have nothing to loss at this point and everything to gain to make a function game
Well, looking at the screenshots again, it seems like the events could be shortened quite a bit and made much more efficient.

I might be able to play around with this to make it simpler and easier to follow and understand.

Could you explain exactly what you want the event to do? Meaning how you want the player to interact with the event, what the potential options are, what your want the player to see, the amount of time each step should take, etc.

I don't want to make any assumptions about what you want.
Well, looking at the screenshots again, it seems like the events could be shortened quite a bit and made much more efficient.

I might be able to play around with this to make it simpler and easier to follow and understand.

Could you explain exactly what you want the event to do? Meaning how you want the player to interact with the event, what the potential options are, what your want the player to see, the amount of time each step should take, etc.

I don't want to make any assumptions about what you want.
so first thank you.

second if it is to complex and can be simplified i am just going to start from scratch with this system. i found a tutorial MZ, the one i was following was for MV. i think it is because it is an MV and so they weren't compatible... or because i am stupid.

third so thank you again. so don't trouble yourself. now to figure out how to close this as resolved lol
I'm (fairly) confident it might be those variables.

I think that event page should look like this:
Screenshot 2025-10-06 at 00.25.01.png


The event looks like it is supposed to progress the phase every 5400?

*shrug*

Worth a shot, no? xxx (Edit: I messed up and fixed the screengrab)
I'm (fairly) confident it might be those variables.

I think that event page should look like this:
View attachment 350748

The event looks like it is supposed to progress the phase every 5400?

*shrug*

Worth a shot, no? xxx (Edit: I messed up and fixed the screengrab)
thank you but i did find another way to do it so i deleted this and just moved on. and now looking at it as well it is supposed to be all in the else so it reads that 5400 for each phase which is not which is probally why it didnt work... thank you for finding that. i now know what to look for when i do it agian in the future... and i will do it again lol

Original thread: https://forums.rpgmakerweb.com/threads/i-cant-find-what-i-did-wrong.180384/