I'm playing around with Yanfly's blue magic script from his Tips and Tricks page and trying to tweak it for some extra animation effects. I've got it to where it will play an animation on the character who learns the skills, but I'm wondering if there's a way to also force the side view battler sprite into a different stance while that animation plays.
The code from Yanfly's site (Link - Yanfly Tips & Tricks: Blue Magic) is:
<Post-Damage Eval>
if (target.isActor() && target._classId === 20) {
if (!target.isLearnedSkill(item.id)) {
target.learnSkill(item.id);
var text = target.name() + ' has learned '
text = text + item.name + '!';
$gameMessage.add(text);
}
}
</Post-Damage Eval>
All I did was add "target.startAnimation(170);" after "target.learnSkill(item.id);". Is there someway I could have the affected battler sprite enter a casting stance while that animation plays or does this exceed what I can do with this pluggin?
The code from Yanfly's site (Link - Yanfly Tips & Tricks: Blue Magic) is:
<Post-Damage Eval>
if (target.isActor() && target._classId === 20) {
if (!target.isLearnedSkill(item.id)) {
target.learnSkill(item.id);
var text = target.name() + ' has learned '
text = text + item.name + '!';
$gameMessage.add(text);
}
}
</Post-Damage Eval>
All I did was add "target.startAnimation(170);" after "target.learnSkill(item.id);". Is there someway I could have the affected battler sprite enter a casting stance while that animation plays or does this exceed what I can do with this pluggin?