Hello! I am having a problem with the yanfly battle engine plugin, whenever my character does a melee attack (runs to the enemy to use their weapon) depending on the target the spritesheet gets flipped horizontally, flips back, and than flips again, what am i doing wrong? Ive turned off all plugins besides yanfly core, battle engine and the action sequence plugins. Sorry if this is a stupid question or if its been asked before. ive tried my best to figure out the cause but came up empty.
<setup action>
common event: 17
display action
immortal: targets, true
</setup action>
<target action>
common event: 17
if user.attackMotion() !== 'missle'
COMMON EVENT: 16
move user: targets, center, 20, offset y +110
else
perform start
end
wait for movement
COMMON EVENT: 17
motion attack: user
wait: 10
attack animation: target
wait for animation
action effect
Common event: 18
wait: 10
move user: home, 30
wait: 10
COMMON EVENT: 17
</target action>
common event: 17
display action
immortal: targets, true
</setup action>
<target action>
common event: 17
if user.attackMotion() !== 'missle'
COMMON EVENT: 16
move user: targets, center, 20, offset y +110
else
perform start
end
wait for movement
COMMON EVENT: 17
motion attack: user
wait: 10
attack animation: target
wait for animation
action effect
Common event: 18
wait: 10
move user: home, 30
wait: 10
COMMON EVENT: 17
</target action>