Restriction: "Cannot Move" not beiing removed by Condition

Hi. Sorry if this is in wrong place not quite sure where this fits.


As the title states. a Skill that gives the state with restriction, "Cannot move", will not remove itself by condition.


This is a simple Stun setup. It stays there indefinitely. All the other restrictions work. It's just the Cannot Move one. I don't know what could be causing this. It's weird because it is only the "Cannot Move" restriction that can't be removed. Any help or advice would be much appreciated.
I've moved this thread to Ace Support. Please be sure to post your threads in the correct forum next time. Thank you.


Tech-Support is for getting the editors to run, not for game development support.


Please give screenshots of your states and skills - there are a lot of different ways to handle that and we need to see what exactly you're trying to do before we can help.
I do apologize. And again for not editing my post, it's not allowing me to. I did add a snippit of my state though I don't know why it's not showing. It did when I posted. But I will try again. Attached is my plugins, skill for stun ability and the state that goes with it. If there is anything else I must add please tell me and I will try to add more information.

Plugins.PNG

Plugins2.PNG

Skill.PNG

State.PNG
I don't see any cause for this behaviour directly, but a few ideas spring to mind.


1) Check the configuration for the autopassivestates


2) your cropping of the pictures removed important informations about both the state and the skill - please do not crop your screenshots that way. In this case, is it possible that either has the ID 1 or 2? because those IDs are hardcoded for special functions and do not behave entirely like regular skills/states.


3) Check the same states/skills in a new project without any plugin - do they behave correctly there?
The autopassivestates I turned off and it is still not working. I've added new screenshots. I am using 2 screens. so I cropped out just the second screen. The ID's are not 1 or 2. I made a new project with same skill and state without any plugins. It works as intended. I checked


Yep.BattleEngineCore, but I am using default battle system and most of those settings apply for the active battle system, I think. I did play around with the settings but still same problem. I don't know what other plugin might cause it.State.pngSkill.png
 so I cropped out just the second screen.


I made a new project with same skill and state without any plugins. It works as intended

1) use [alt]-[prtscrn] instead of only [prtscrn] for your screenshots, that will automatically limit them to the active window.


2) then your only choice is to disable one plugin after another until you identified the plugins that cause the problem.
Some weird things that I cannot explain. On the new project I copied all my games plugins over. And then I placed them all in order. Since I use mostly Yanfly plugins I went to his website and followed his way of plugin order. I then tried a play test and it still didn't work. So I started at the


bottom and turned off all miscellaneous plugins and tried again. It worked. So then I went to original game and did the same and it did not work. I checked the states setup and tried some different things. It was on action end so I put it on Turn End and tried again. This time it worked. So I tried same thing on original game and it still didn't work. I then realized the only thing that I'm doing different is on new project I'm selecting new game. So I tried a new game on original game and it worked. I tried seeing if Action End would work but it doesn't work. Only Turn End. Not sure what fixed the problem. Maybe putting everything in order did the trick, not sure. Or maybe just starting a new game did the trick, not sure. I remember though that stun or "Cannot Move" states worked even if on Action End. Maybe one of the plugins disabled that. I'll just have to put all my "Cannot Move" states on Turn End for it to work. And I'll have to start a new game.
One thing I've noticed is every time someone posts an issue with states not working, they have both Yanfly States and Buff Core and ellyestatesdamage plug-in in their project. I think there's a very good chance those two plug-ins are not compatible. Try disabling one or the other.
I don't have any other state plugins from yanfly accept autopassivestates. I use ellyestatesdamage so that I can make better poisons and


regens. So it's not that. And I did put off all misc plugins. (that is all plugins after the last plugin Separator("--------------").)Plugins1.PNGPlugins2.PNG
@Ryan111: I suggest you follow both the links to the "How to use a script" and the "bughunting" tutorials in my signature. Both tutorials give a lot of information on how to bughunt systematically, and where in the configuration of your scripts you might have made a mistake.
I don't have any other state plugins from yanfly accept autopassivestates. I use ellyestatesdamage so that I can make better poisons and


regens. So it's not that. And I did put off all misc plugins. (that is all plugins after the last plugin Separator("--------------")

Except, both Yanfly Buff/States Core and ellyestatesdamage plug-ins affect states, and therefore one of them is redundant (you can make better poisons/regens with Yanfly's too, under lunatic code), especially as both are affecting how end of turn behavior is happening. See, Yanfly's changes end of turn behavior, and if you're using ellyestatesdamage for poisons and regens, you're also affecting end of turn behavior.


Two scripts affecting end of turn behavior = very high chance for a script incompatibility, Plus, based on all the posts I've seen on here, it seems all issues with states not working right involve projects with both Yanfly Buff and States Core and ellyestatesdamage included at the same time.


You're going to probably have to choose between the two plug-ins in the end.
Ok. I get that. But I don't have Yanfly Buff/States Core. "YEP_AutoPassiveStates" only effect state conditions and lets you make more kind of conditions for your states. And


Ellyestatesdamage is a small script that only effects the damage a state does. Her script does not target turn count or actions taken or anything, the default system or other scripts that effect those handle that. The script only triggers the damage when a turn or action takes place. And I did put her plugin off and only used YEP_AutoPassiveStates and still got same problem. I don't really see those two relate. Again, those are the only two plugins that effect states that I have. But anyway, I understand that some scripts that behave similar might cause a clash between them. I highly doubt that those two are effecting each other, cus I tried separating them. Sorry if I might be misunderstanding something.
Probably aren't. I thought passive states required Buff and States Core, but looks like I'm off on that one. My bad. 


So looks like then all you can do is either use the fix you found, or disable the plug-ins one at a time and see if the problem goes away. If it does, then that plug-in is the culprit.
Yeah there might be another plugin that's effecting it. But whenever a state with restriction "Cannot Move" is applied and the condition is "Action End" then the state will be there


forever. But if you think about it, one cannot take an action if you're restricted to movement. So it does make cense that Action End won't work and Turn End will for those "Cannot Move" states. I can live with Turn End. I saw your BugHunting, and I will be going through the rest of it again sometime. a Bit much to read for now. XD. But anyway, thanks for all the advice. I think this thread can be closed now if that's all. Thanks again. Cheers. ^^

Original thread: https://forums.rpgmakerweb.com/threads/restriction-cannot-move-not-beiing-removed-by-condition.64757/