Compability Issue with Yanfly's Core and Hime's Pre-Skill Effects

Greetings, I hope I'm in the right place for this. If not I apologize 🙁

I ended up in a rather frustrating situation when trying to add a hidden boss to my post-game. I thought it would be cool to have a cutscene in the middle of the battle where a character shows up (using Show Picture), delivers a line and then blasts the boss for some damage, however the game would freeze whenever it tried to run the 'Force Action' part of my event. It would either freeze when showing the picture, or if I took out the 'Show Picture' event, it would instead take away the HUD and freeze there. In both instances, the music continued playing.

With some help on here, I found out that removing Hime's Pre-Skill Effects script fixed the issue entirely, however this script is required for my shapeshifter to change graphics upon skill activation (instead of until they get hit) so this isn't a permanent solution.

I moved Yanfly's Core to the bottom of the Materials list (I know, bad!) just to see what would happen and sure enough, my cutscene played flawlessly, but now the shapeshifter's graphics weren't working properly. I played around with the script order but it didn't make a difference. Neither can live while the other survives, apparently.

I have zero idea how to fix this so I guess I'll try to leave it in your more experienced hands 🙂

Honestly though I'm tempted to throw in the towel... This boss fight was supposed to take me like 20-30 minutes to implement. Instead it's been over a day, and since it's just a post-game hidden secret I'm not sure it's worth all this effort :/ I'll probably just scrap the cutscene attack idea unless anyone can think of a quick fix.

Thanks for reading. I'll keep my fingers crossed, lol.
One thing...can you post links to where one could find those two scripts in question?
Oh of course, sorry!

Pre-Skill Effect: http://himeworks.com/redirect.php?type=script&name=pre_skill_effects

For some reason I can't seem to find the version of Yanfly's Core and Battle Engine that I have (where they are combined into one script) so I pasted it into a .txt and attached it to this message. The only things that I edited in it are HP bar size and the font I think so hopefully it won't make it impossible to use 🙁
Check the reply I made on your other topic. Yanfly's Lunatic scripts could replace Hime's Pre-skill effects as it allows you to add pre-skill effects, during effects, and post effects, and since it's his, it shouldn't have problems working with his battle script
Right, but in ACE someone has to code that effect, as Yanfly didn't code it so that custom conditions work for their lunatic scripts. At least the version I had didn't work due to a missing line.
I don't really get the actual problem and what you're actually doing. But you mentioned that you use event, force action, etc. Now I'm curious if you comment out the last 3rd line, the "process_event" one, by putting # at the beginning of the line, will it solve ur problem? I'm not even sure why Tsuki added that "process_event" line tho. Might break something, but worth to try I guess 😛
@TheoAllen : The bug is if you put Yanflys script first, force action on an actor not in the party crashes the game (it doesn't usually, as I use it for support characters in my game which don't show up in the party). If you switch the order, Hime's Pre Skill effects stop working.

@OP: I'd still try to comment out that line. Let us know how that works.
Ey, scratch that. I looked at the code, that process_event is actually necessary to put there. I will try to look around
Also...do you get an error message at all when you put Hime's Pre Skill Effects script below Yanflys when the crash happens? Posting a screenshot of the exact error message will help. I read through the code and there's only three functions in Hime's script, and one of the (Def Use_item) should not be the issue.

All I can think of is somewhere the @subject is going NULL or invalid in the other functions during the force action if the actor isn't in the party. But I need the error message to have a shot at figuring it out.
Right, but in ACE someone has to code that effect, as Yanfly didn't code it so that custom conditions work for their lunatic scripts. At least the version I had didn't work due to a missing line.
I ran into a similar problem in the Lunatic script. If I make the skill call a common event, it hides the battle menu and it doesn't come back...
I don't get any error messages, the game screen just freezes and the music continues playing and I have to close the game window.

Edit @SweetMeltyLove : Yeah that's pretty much what's happened 🙁

Original thread: https://forums.rpgmakerweb.com/threads/compability-issue-with-yanflys-core-and-himes-pre-skill-effects.88391/