MV Edited version of SumRndmDde Walking Sprite Battlers has hit a snag

For first of all - thanks to MechPen for editing this script - it's worked wonderful, but I've run into an issue. I've attached the error screen and the script so you can all take a look. It happens as soon at the battle starts.

The Note box ->
Screenshot 2021-12-26 220613.png


Screenshot 2021-12-26 220529.png


Update: Turning off ActSeqPack2 stops the error (which I suspected would be the case), but I'd prefer not to HAVE to do that.
try fiddling with the order of your plugins. load WalkCharBattlers before YEPs
How was the original script modified? Can you reproduce the error with the original script?
The full line that fails (according to your posted screenshot) is:
JavaScript:
return this.battler()._isBigWalkCharacter ?
                this.battler()._mainSprite.bitmap.height/12 :
                this.battler()._mainSprite.bitmap.height/8;
Which would mean that bitmap is undefined. Either the modifications made it so that it no longer gets set up correctly, or Yanfly's plugin already tries to access this property, when the bitmap is not yet set up correctly.
At least these theories are the most plausible ones that come to mind immediately.
So from eomereolsson's help it looks like Yep_X_ActSeqPack2 tries to set up the state sprite before the walkCharBattler has been initialized. This amended script should fix it (in the form of, if you do this and it crashes, then don't do that)

Original thread: https://forums.rpgmakerweb.com/threads/edited-version-of-sumrndmdde-walking-sprite-battlers-has-hit-a-snag.143330/