Moghunter's Theatrhythm Addon

So Moghunter released a really cool plugin the other day for RMMV and I have some really cool evented ideas for
this Theatrhythm Plugin, however it's missing one of the most important part for my idea.

Well, it might not be missing, but it wasn't explained on the site.
PLUGIN LINK: https://atelierrgss.wordpress.com/rmv-theatrhythm/

- - -What I'm wanting added/help with- - -

Since I don't know how/where to contact Moghunter, I'm curious to know

if anyone can take a look at the plugin's script and see if there is a way to
event an "If Win" or "If Defeat" event after the Minigame is over.


For example;
1. An NPC would like to Bet you 1,000 Gold that you can't beat
this minigame on Hard mode.

2. You accept the bet.

(Mini Game Starts)
-If you win, a contitional branch for winning will trigger after the Minigame ends.
-If you lose, a contitional branch for losing will trigger after the Minigame ends.
In otherwords, if you Win: Get 1,000 Gold.
If you lose, you lose 1,000 Gold.


OR, something like adding a Game Over, or Return to Town type of event.
(Maybe something like using Theatrhythm as a Special Boss event)



Not sure how to make an event to tell if you Won, or Lost the Minigame.
Hmmm... It seems to say somethig along the lines of that it assigns the outcome to a variable? Maybe something in the Plugin Parameters?

EDIT: The points variable id parameter, set that to what you want it to be and test I guess?
Hmmm... It seems to say somethig along the lines of that it assigns the outcome to a variable? Maybe something in the Plugin Parameters?

EDIT: The points variable id parameter, set that to what you want it to be and test I guess?
I'm still kind of confused.

-Edit-

Actually, I'm very confused.
I'm still kind of confused.

-Edit-

Actually, I'm very confused.
Me too really, I mean I got it working I just cant get the variable to work... Even in the demo, there isn't anything...
Me too really, I mean I got it working I just cant get the variable to work... Even in the demo, there isn't anything...
Down near the bottom of the script I see the lines for "Defeat"

but not sure how to use those as a script/plugin call for checking if you lost or not.

-Edit-

Okay, so after looking through the entire script several times.

I noticed that the Paramater for the "Base Score" is "10".

and if you CTRL+F and search this line:

switch ($gameSystem._theatrhythm_phase)You can see this;

//==============================// * Update Phase//==============================Scene_Theatrhythm.prototype.update_phase = function() {    switch ($gameSystem._theatrhythm_phase) {        case 0:            this.update_start_phase();            break;        case 10:            this.update_victory_phase();            break;        case 11:            this.update_defeat_phase();            break;       };      this._phase_sprite.scale.y = this._phase_sprite.scale.x;So 10 is the victory.

So how would I go about using a script call as an "else if" in the events

to check "case 11" for defeat?

This might not even have anything to do with the Paramater but I thought I'd point out what I found.
I think I figured it out. I made a conditional branch where if switch 10 (the switch that represents victory) is off, it would show a gameover screen. You can replace the gameover with anything you want. I tested it out and it works fine for me. Hope this helps!
I think I figured it out. I made a conditional branch where if switch 10 (the switch that represents victory) is off, it would show a gameover screen. You can replace the gameover with anything you want. I tested it out and it works fine for me. Hope this helps!
No need for this now.

I should have posted here a few days ago and said that Moghunter took my request and added the feature for me in v1.1

https://atelierrgss.wordpress.com/rmv-theatrhythm/

This can be closed.
Can this be used in RMXP
@Freemkky By definition. no. XP (like VX and VX Ace) uses variants of Ruby for scripting and MV uses Javascript, the language in which this particular plugin is written.

Original thread: https://forums.rpgmakerweb.com/threads/moghunters-theatrhythm-addon.52866/