I don't know what I broke

I was making a Chaser AI. It runs to the player, and on event touch it does some damage, flashes the screen, there's some i-frames. really standard. It was working for HOURS of me testing other events- mostly sfx, getting the timing down, making a cutscene. I turned the event I made for the chaser into a common event so that I could easily put the Chaser elsewhere in the game. Some aspects of the event had to switch from conditionals to self switches, which meant I deleted some things. I thought that I tested it out after I did this, and it worked fine but now I'm having doubts because in the middle of me testing something else the whole thing broke. When the Chaser event plays the player just takes infinite damage until the event is turned off again. I have no Idea what caused this and can not figure out for the life of me what I changed or deleted because it looks like everything is where it it should be.

I'm putting images of both the chaser event and the events that trigger it here hoping that someone will notice whatever I'm missing.

TL;DR this event used to work, now it doesn't. I turned it into a common event and may have accidentally deleted something important in the process, But I can't figure out what's missing.

Screen Shot 2024-09-13 at 6.31.55 PM.png
Screen Shot 2024-09-13 at 6.32.37 PM.png
Screen Shot 2024-09-13 at 6.32.48 PM.png
Screen Shot 2024-09-13 at 6.33.12 PM.png
Screen Shot 2024-09-13 at 6.33.57 PM.png
Screen Shot 2024-09-13 at 6.34.14 PM.png
Screen Shot 2024-09-13 at 6.34.29 PM.png
Screen Shot 2024-09-13 at 6.35.27 PM.png
Screen Shot 2024-09-13 at 6.35.34 PM.png
I'm really unsure what all of those events have to do with each other.

You show us...two doors, I'm assuming, and I don't know what role they play in the problem you describe.

I assume the problem is coming from APT3Events, which you only show the second page of.

How does that self switch get turned on? What is its custom move route?

As far as your Chaser event goes, it would be a little easier to read/follow it if you didn't include empty Else branches. You just don't need to click that check box on Conditional Branch if you're not going to put any commands in it.

But I don't see how it could be dealing infinite damage. The part that deals damage is inside a Conditional Branch for Suit Damage to be 6, and just a few lines above you add 2 to it; so it seems like that conditional could not repeatedly be true.

But perhaps something is happening inside the Beam Location and Chaser Location events that you don't show.
Also that is not how common events should be used either. Move routes are not meant to be in there as common events are for anywhere in the game and the events they reference might not be there when they are called.

Also your chaser event has event touch on the page with self switch A so it will not run until you touch it.

It would be better to start over with this. Set up the move route in the tab for move routes, set the conditions for when it runs ONLY on the event page on the side, and have only what it should do when it touches you be in the event page.
Move routes are not meant to be in there as common events are for anywhere in the game and the events they reference might not be there when they are called.
Just as a note, This Event can't not be there if the common event is called - it has to be getting called by something. 😉
Right but I've seen in the past some fail with that too. Maybe that's changed in this version of the engine? *shrug*.

Still be careful with event references.

But we do really need to see page 1 also to better understand.
1726315541427.png


This is very suspicious. If the condition 'A1Progression' = 5, the other condition where 'A1Progression' = 6 will never be read, as it is nested within the first condition. Perhaps your intention was to make two separate checks? Because right now, that's not the case.

Original thread: https://forums.rpgmakerweb.com/threads/i-dont-know-what-i-broke.171874/