Takes players to a new scene after retrying a battle – SRD_RetryUpgrade.js

タイトル
Takes players to a new scene after retrying a battle
作者名
ヘルプ

Retry Upgrade
Version 1.00
SumRndmDde


This plugin requires the Game Over Core plugin:
http://sumrndm.site/game-over-core/

This plugin takes players to a new scene after retrying a battle.
It allows users to manage skills, equips, options, etc.


==============================================================================
How to Set up Commands
==============================================================================

Using this plugin, the Retry Scene can have commands set up the same as they
could with plugins such as Yanfly's Main Menu Manager.

There are four properties for each command:


Text

This is the name of the command and how it will appear in the command window.


Set Actor

If set to 'true', then the game will prompt the user to set up a menu actor
before preforming the command's evaluation.


Eval

This is the JavaScript evaluation that occurs when the command is pressed.
This should primarily be used to call other scenes.
For example - SceneManager.push(Scene_Item);


Condition

This is the JavaScript condition that determines whether the command appears.
Using this, commands can be shown or hidden based on different conditions.

To make a condition based off a Switch, use the following code:

$gameSwitches.value(X)

If Switch ID X is turned on, then the command will be shown.



==============================================================================
End of Help File
==============================================================================

Welcome to the bottom of the Help file.


Thanks for reading!
If you have questions, or if you enjoyed this Plugin, please check
out my YouTube channel!

https://www.youtube.com/c/SumRndmDde


Until next time,
~ SumRndmDde
パラメータ
param Retry BGM
desc The Retry Scene's BGM. Leave blank to disallow.
Use the format: file, volume, pitch, pan
default

param Retry Background
desc The background image used for the Retry Scene. Leave blank to disallow.
default

param Background Scroll
desc The scrolling speed of the background image.
Use the format: x-speed, y-speed
default 0, 0

param == Start Command ==
default

param Start Battle Text
desc The text used for the Start Battle command.
default Start Battle!

param Start Battle Position
desc The position of the Start Battle command relative to the custom commands. The choices are "top" or "bottom".
default bottom

param Play Battle Start
desc if 'true', the Battle Start Sound Effect will be played when a battle is retried.
default true

param Pre-Play Battle BGM
desc if 'true', the Battle BGM will be pre-played before the Battle Scene. This helps preload it and get it running when the battle starts.
default true

param == Command 1 ==
default

param Command 1 Text
desc The text that appears for Custom Command 1.
default Manage Equipment

param Command 1 Set Actor
desc If 'true', then selecting this command will require the player to select an Actor before continuing.
default true

param Command 1 Eval
desc The JavaScript evaluation used when this command is called. For calling a specific scene, use the format: SceneManager.push(Scene)
default SceneManager.push(Scene_Equip)

param Command 1 Condition
desc The JavaScript condition that must be true for this command to appear.
default true

param == Command 2 ==
default

param Command 2 Text
desc The text that appears for Custom Command 2.
default Open Options

param Command 2 Set Actor
desc If 'true', then selecting this command will require the player to select an Actor before continuing.
default false

param Command 2 Eval
desc The JavaScript evaluation used when this command is called. For calling a specific scene, use the format: SceneManager.push(Scene)
default SceneManager.push(Scene_Options)

param Command 2 Condition
desc The JavaScript condition that must be true for this command to appear.
default true

param == Command 3 ==
default

param Command 3 Text
desc The text that appears for Custom Command 3.
default Manage Skills

param Command 3 Set Actor
desc If 'true', then selecting this command will require the player to select an Actor before continuing.
default true

param Command 3 Eval
desc The JavaScript evaluation used when this command is called. For calling a specific scene, use the format: SceneManager.push(Scene)
default SceneManager.push(Scene_Skill)

param Command 3 Condition
desc The JavaScript condition that must be true for this command to appear.
default false

param == Command 4 ==
default

param Command 4 Text
desc The text that appears for Custom Command 4.
default

param Command 4 Set Actor
desc If 'true', then selecting this command will require the player to select an Actor before continuing.
default

param Command 4 Eval
desc The JavaScript evaluation used when this command is called. For calling a specific scene, use the format: SceneManager.push(Scene)
default

param Command 4 Condition
desc The JavaScript condition that must be true for this command to appear.
default true

param == Command 5 ==
default

param Command 5 Text
desc The text that appears for Custom Command 5.
default

param Command 5 Set Actor
desc If 'true', then selecting this command will require the player to select an Actor before continuing.
default

param Command 5 Eval
desc The JavaScript evaluation used when this command is called. For calling a specific scene, use the format: SceneManager.push(Scene)
default

param Command 5 Condition
desc The JavaScript condition that must be true for this command to appear.
default true

param == Command 6 ==
default

param Command 6 Text
desc The text that appears for Custom Command 6.
default

param Command 6 Set Actor
desc If 'true', then selecting this command will require the player to select an Actor before continuing.
default

param Command 6 Eval
desc The JavaScript evaluation used when this command is called. For calling a specific scene, use the format: SceneManager.push(Scene)
default

param Command 6 Condition
desc The JavaScript condition that must be true for this command to appear.
default true

param == Command 7 ==
default

param Command 7 Text
desc The text that appears for Custom Command 7.
default

param Command 7 Set Actor
desc If 'true', then selecting this command will require the player to select an Actor before continuing.
default

param Command 7 Eval
desc The JavaScript evaluation used when this command is called. For calling a specific scene, use the format: SceneManager.push(Scene)
default

param Command 7 Condition
desc The JavaScript condition that must be true for this command to appear.
default true

param == Command 8 ==
default

param Command 8 Text
desc The text that appears for Custom Command 8.
default

param Command 8 Set Actor
desc If 'true', then selecting this command will require the player to select an Actor before continuing.
default

param Command 8 Eval
desc The JavaScript evaluation used when this command is called. For calling a specific scene, use the format: SceneManager.push(Scene)
default

param Command 8 Condition
desc The JavaScript condition that must be true for this command to appear.
default true

param == Command 9 ==
default

param Command 9 Text
desc The text that appears for Custom Command 9.
default

param Command 9 Set Actor
desc If 'true', then selecting this command will require the player to select an Actor before continuing.
default

param Command 9 Eval
desc The JavaScript evaluation used when this command is called. For calling a specific scene, use the format: SceneManager.push(Scene)
default

param Command 9 Condition
desc The JavaScript condition that must be true for this command to appear.
default true

param == Command 10 ==
default

param Command 10 Text
desc The text that appears for Custom Command 10.
default

param Command 10 Set Actor
desc If 'true', then selecting this command will require the player to select an Actor before continuing.
default

param Command 10 Eval
desc The JavaScript evaluation used when this command is called. For calling a specific scene, use the format: SceneManager.push(Scene)
default

param Command 10 Condition
desc The JavaScript condition that must be true for this command to appear.
default true

param == Command 11 ==
default

param Command 11 Text
desc The text that appears for Custom Command 11.
default

param Command 11 Set Actor
desc If 'true', then selecting this command will require the player to select an Actor before continuing.
default

param Command 11 Eval
desc The JavaScript evaluation used when this command is called. For calling a specific scene, use the format: SceneManager.push(Scene)
default

param Command 11 Condition
desc The JavaScript condition that must be true for this command to appear.
default true

param == Command 12 ==
default

param Command 12 Text
desc The text that appears for Custom Command 12.
default

param Command 12 Set Actor
desc If 'true', then selecting this command will require the player to select an Actor before continuing.
default

param Command 12 Eval
desc The JavaScript evaluation used when this command is called. For calling a specific scene, use the format: SceneManager.push(Scene)
default

param Command 12 Condition
desc The JavaScript condition that must be true for this command to appear.
default true

param == Command 13 ==
default

param Command 13 Text
desc The text that appears for Custom Command 13.
default

param Command 13 Set Actor
desc If 'true', then selecting this command will require the player to select an Actor before continuing.
default

param Command 13 Eval
desc The JavaScript evaluation used when this command is called. For calling a specific scene, use the format: SceneManager.push(Scene)
default

param Command 13 Condition
desc The JavaScript condition that must be true for this command to appear.
default true

param == Command 14 ==
default

param Command 14 Text
desc The text that appears for Custom Command 14.
default

param Command 14 Set Actor
desc If 'true', then selecting this command will require the player to select an Actor before continuing.
default

param Command 14 Eval
desc The JavaScript evaluation used when this command is called. For calling a specific scene, use the format: SceneManager.push(Scene)
default

param Command 14 Condition
desc The JavaScript condition that must be true for this command to appear.
default true

param == Command 15 ==
default

param Command 15 Text
desc The text that appears for Custom Command 15.
default

param Command 15 Set Actor
desc If 'true', then selecting this command will require the player to select an Actor before continuing.
default

param Command 15 Eval
desc The JavaScript evaluation used when this command is called. For calling a specific scene, use the format: SceneManager.push(Scene)
default

param Command 15 Condition
desc The JavaScript condition that must be true for this command to appear.
default true

param == Command 16 ==
default

param Command 16 Text
desc The text that appears for Custom Command 16.
default

param Command 16 Set Actor
desc If 'true', then selecting this command will require the player to select an Actor before continuing.
default

param Command 16 Eval
desc The JavaScript evaluation used when this command is called. For calling a specific scene, use the format: SceneManager.push(Scene)
default

param Command 16 Condition
desc The JavaScript condition that must be true for this command to appear.
default true

param == Command 17 ==
default

param Command 17 Text
desc The text that appears for Custom Command 17.
default

param Command 17 Set Actor
desc If 'true', then selecting this command will require the player to select an Actor before continuing.
default

param Command 17 Eval
desc The JavaScript evaluation used when this command is called. For calling a specific scene, use the format: SceneManager.push(Scene)
default

param Command 17 Condition
desc The JavaScript condition that must be true for this command to appear.
default true

param == Command 18 ==
default

param Command 18 Text
desc The text that appears for Custom Command 18.
default

param Command 18 Set Actor
desc If 'true', then selecting this command will require the player to select an Actor before continuing.
default

param Command 18 Eval
desc The JavaScript evaluation used when this command is called. For calling a specific scene, use the format: SceneManager.push(Scene)
default

param Command 18 Condition
desc The JavaScript condition that must be true for this command to appear.
default true

param == Command 19 ==
default

param Command 19 Text
desc The text that appears for Custom Command 19.
default

param Command 19 Set Actor
desc If 'true', then selecting this command will require the player to select an Actor before continuing.
default

param Command 19 Eval
desc The JavaScript evaluation used when this command is called. For calling a specific scene, use the format: SceneManager.push(Scene)
default

param Command 19 Condition
desc The JavaScript condition that must be true for this command to appear.
default true

param == Command 20 ==
default

param Command 20 Text
desc The text that appears for Custom Command 20.
default

param Command 20 Set Actor
desc If 'true', then selecting this command will require the player to select an Actor before continuing.
default

param Command 20 Eval
desc The JavaScript evaluation used when this command is called. For calling a specific scene, use the format: SceneManager.push(Scene)
default

param Command 20 Condition
desc The JavaScript condition that must be true for this command to appear.
default true

ライセンス表記

紹介ページ https://github.com/SumRndmDde/RPG-Maker-MV-Plugins/blob/master/SRD_RetryUpgrade.js