Trying to make a projectile but it only works the first time. Any help?

ice_screenshot_20211218-004810.png

If you're wondering what "special-graphic" is, it's purely there for aesthetic reasons.
Only thing it affects is the page (and graphic) of a couple events.

Now, I was assuming that once it completes the code in the if statement, it will run the if check again to see if it can run the code in the if statement again, and then it would run the if statement.
BUT- that doesn't happen, and I'm not sure why. It just gets stuck at the end of the If statement.

It also transfers the snowball several tiles above the character, not right on-top of it like it's supposed to. I have no idea why.


Here are some screenshots of the other events.

ice_screenshot_20211218-004840.png

As far as I can tell, the snowball itself works just fine.

this next event is just used to constantly update the coordinate variables of certain characters.
ice_screenshot_20211218-004851.png

Goon girl is the character throwing the snowball (and also the character who's appearance is changed based off the special graphic variable.
There is no code on any of her pages, and all her pages are set to Action Button.

That should answer everything I can think of, but if not let me know.
Also, please don't suggest I get some sort of action plugin or something, because I'm not looking to create an entire game system, and I really don't want to bother figuring out a whole set of plugins for this one little thing that should work just fine, but for whatever reason it isn't.

I'm thinking about just remaking the code from scratch to see if it'll work. I'm honestly pretty confused. Is there just something really simple and stupid I'm missing as usual?
Now, I was assuming that once it completes the code in the if statement, it will run the if check again to see if it can run the code in the if statement again, and then it would run the if statement.
BUT- that doesn't happen, and I'm not sure why. It just gets stuck at the end of the If statement.
Two things I notice off the top of my head:
When your Throw detection event moves the snowball, you have what I presume is a mistake, and you set both coordinates for the location to Event Y (I would presume you want to set it to the location of Event X, Event Y).

There's a similar mistake in your Coordinatemaker, where you're setting both Event X and Event Y to Map X of goongirl (not her X and Y).
Two things I notice off the top of my head:
When your Throw detection event moves the snowball, you have what I presume is a mistake, and you set both coordinates for the location to Event Y (I would presume you want to set it to the location of Event X, Event Y).

There's a similar mistake in your Coordinatemaker, where you're setting both Event X and Event Y to Map X of goongirl (not her X and Y).
Thankyou.
That fixed the problem of the snowball not spawning in the right place.

I unchecked "wait" on the repeat moveroute and now it works as intended 😀

Original thread: https://forums.rpgmakerweb.com/threads/trying-to-make-a-projectile-but-it-only-works-the-first-time-any-help.143100/