Welcome to PGMZ! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
PANDA Battle End Effect - PANDA_BattleEndEffect.js
Plugin desc : special processing at the end of battle.
License : MIT License
Author : panda(werepanda.jp)
Website : https://www.werepanda.jp/
Desc page : http://www.werepanda.jp/blog/20201128023506.html
File name : PANDA_BattleEndEffect.js
Help of plugin :
* @target MZ * @plugindesc special processing at the end of battle. * @author panda(werepanda.jp) * @url http://www.werepanda.jp/blog/20201128023506.html * * @help [How to Use] * Add a Plugin Command to do special processing when the battle finished. * * # Battle End Effect * This should be placed in the battle event of the troop. * It would be placed on the 0th turn (at the beginning of the battle). * - Switch Victory : Specify the switch number to turn on when you win the battle. * - Switch Escape : Specify the switch number to turn on when you escape from the battle. * - Switch Abort : Specify the switch number to turn on when you abort the battle. * - Switch Lose : Specify the switch number to turn on when you lose the battle. * - When Victory : Specify whether to do the following effects when you win the battle. * - When Escape : Specify whether to do the following effects when you escape from the battle. * - When Lose : Specify whether to do the following effects when you lose the battle. * - Fade Out : At the end of the battle, fade out the screen before returing to the map. * - Stop BGM : At the end of the battle, stop the previous BGM without continuing. * - Stop BGS : At the end of the battle, stop the previous BGS without continuing. * * [License] * this plugin is released under MIT license. * https://opensource.org/licenses/mit-license.php * * @command BATTLE_END_EFFECT * @text Battle End Effect * @desc Place this in a battle event, and activate the specified effects when this battle is over. * * @arg switchVictory * @text Switch Victory * @desc Specify the switch number to turn on when you win the battle. * @type switch * @default 0 * * @arg switchEscape * @text Switch Escape * @desc Specify the switch number to turn on when you escape from the battle. * @type switch * @default 0 * * @arg switchAbort * @text Switch Abort * @desc Specify the switch number to turn on when you abort the battle. * @type switch * @default 0 * * @arg switchLose * @text Switch Lose * @desc Specify the switch number to turn on when you lose the battle. * @type switch * @default 0 * * @arg whenVictory * @text When Victory * @desc Specify whether to do the following effects when you win the battle. * @type boolean * @default true * * @arg whenEscape * @text When Escape * @desc Specify whether to do the following effects when you escape from the battle. * @type boolean * @default false * * @arg whenLose * @text When Lose * @desc Specify whether to do the following effects when you lose the battle. * @type boolean * @default false * * @arg fadeOut * @text Fade Out * @desc At the end of the battle, fade out the screen before returing to the map. * @type boolean * @default false * * @arg stopBgm * @text Stop BGM * @desc At the end of the battle, stop the previous BGM without continuing. * @type boolean * @default false * * @arg stopBgs * @text Stop BGS * @desc At the end of the battle, stop the previous BGS without continuing. * @type boolean * @default false *