I'm trying to get your plugin to work with a YEP action sequence but I keep getting "object too deep" stack overflow errors after using the ability and trying to save the game.
Here is what the action sequence looks like:
<target action>
animation 4: user
wait for animation
jump user: 100%, 15
se: Leap, 90, 100, 0
move user: target, front, 15
wait for movement
se: JumpLand, 90, 100, 0
common event: 23
if $gameVariables.value(55) == 1
camera focus: user
zoom: 120%, 30
wait for zoom
move user: forward, 25
ani wait: 5
motion missile: user
ani wait: 5
add state 59: user
action animation
wait for animation
action effect
shake screen: 3, 9, 15
ani wait: 5
remove state 59: user
jump user: 100%, 15
se: Leap, 90, 100, 0
move user: point, 600, 225, 15
motion guard: user
wait for movement
se: JumpLand, 90, 100, 0
preform finish
wait for movement
common event: 29
else
camera focus: user
zoom: 120%, 30
wait for zoom
move user: forward, 25
ani wait: 5
motion missile: user
ani wait: 5
action animation
wait for animation
action effect
ani wait: 5
jump user: 100%, 15
se: Leap, 90, 100, 0
move user: point, 600, 225, 15
motion guard: user
wait for movement
se: JumpLand, 90, 100, 0
preform finish
wait for movement
common event: 29
end
</target action>
And here is the event that is called (#23). The other one (#29) only has two lines, set variable 55 to 0 and event proccessing.
Any help would be greatly appreciated. I need to figure out how to stop this from causing a stack overflow. Is there any way the plugin would reference itself twice?