public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

MVkotonoha* - Counter Animation (Battle)

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: kotonoha* - Counter Animation (Battle)
  • Original author: ovate
  • Original date: May 16, 2020
  • Source thread: https://forums.rpgmakerweb.com/threads/kotonoha-counter-animation-battle.121632/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMV)

Summary

CounterAnimation - 2016/05/18 ver1.1 Creator name: kotonoha* Overview Plays an animation when a counterattack was about to happen.

Archived First Post

CounterAnimation - 2016/05/18 ver1.1

Creator name: kotonoha*

Overview
Plays an animation when a counterattack was about to happen.
If you have an animation of reflect barrier for physical attack would fit.

Feature
- You can set Animation ID through parameter
- AnimationWait param for animation delay

Note: Animation ID is 0 by default, be sure to change it

Preview
FgwvvAL.jpg


Credit and Thanks: kotonoha*

Terms of Use- Free for commercial and non-commercial use.

License - MIT License: http://opensource.org/licenses/mit-license.php

JavaScript:
// --------------------------------------------------------------------------
//
// CounterAnimation
//
// Copyright (c) kotonoha*
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
// 2016/05/18 ver1.1 Implemented AnimationWait param
// 2016/04/06 ver1.0 First release
//
// --------------------------------------------------------------------------
/*:
* @plugindesc Plays an animation for counterattack in battle
* @author kotonoha (http://ktnh5108.pw/)
*
* @help
* Animation for battle when counterattacking.
*
* @param AnimationID
* @desc Animation ID set for counterattack.
* @default 0
*
* @param AnimationWait
* @desc Delay time after animation was used.
* @default 60
*
*/

(function() {

    var parameters = PluginManager.parameters('CounterAnimation');
    var AnimationID = Number(parameters['AnimationID']);
    var AnimationWait = Number(parameters['AnimationWait']);

    BattleManager.invokeCounterAttack = function(subject, target) {
        var action = new Game_Action(target);
        if (AnimationID !== 0) {
            target.startAnimation(AnimationID, false, 0);
            this._logWindow.push('wait');
            if (AnimationWait !== 0) {
                this._logWindow._waitCount = AnimationWait;
            }
            action.setAttack();
            action.apply(subject);
            this._logWindow.displayCounter(target);
            this._logWindow.displayActionResults(subject, subject);
        }
    };
   
})();

You can download js file from the thread attachment or Dropbox link: https://www.dropbox.com/s/lhgq4xjdhym93is/CounterAnimation.js?dl=1

Features Mentioned

  • You can set Animation ID through parameter
  • AnimationWait param for animation delay
  • Note: Animation ID is 0 by default, be sure to change it
  • Preview
  • "lightbox_close": "Close",
  • "lightbox_next": "Next",
  • "lightbox_previous": "Previous",
  • "lightbox_error": "The requested content cannot be loaded. Please try again later.",
  • "lightbox_start_slideshow": "Start slideshow",
  • "lightbox_stop_slideshow": "Stop slideshow",
  • "lightbox_full_screen": "Full screen",
  • "lightbox_thumbnails": "Thumbnails",
  • "lightbox_download": "Download",
  • "lightbox_share": "Share",
  • "lightbox_zoom": "Zoom",
  • "lightbox_new_window": "New window",
  • "lightbox_toggle_sidebar": "Toggle sidebar"
  • Credit and Thanks: kotonoha

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

License / Terms Note

Credit and Thanks: kotonoha* Terms of Use- Free for commercial and non-commercial use. License - MIT License: http://opensource.org/licenses/mit-license.php JavaScript:

Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#rmmv#plugin-archive

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar