Skip to content

Commit

Permalink
アニメーション指定がない場合の分岐を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
munokura committed Mar 5, 2021
1 parent 841351e commit c4aa3ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion TMTrunkGauge.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,9 @@ Imported.TMTrunkGauge = true;

Game_BattlerBase.prototype.trunkOver = function () {
this.addState(trunkState);
this.startAnimation(trunkAnimation, false, 0);
if (trunkAnimation > 0) {
this.startAnimation(trunkAnimation, false, 0);
}
};

//-----------------------------------------------------------------------------
Expand Down

0 comments on commit c4aa3ee

Please sign in to comment.