/**
* Created by 夏末渐离 on 2015/12/24.
*/
/*:@author XMJL
* @plugindesc Input Q to change leader .
*
*/
Game_Party.prototype.LeadMember=function()
{
var First_Member =$gameParty._actors.shift();
$gameParty._actors.push(First_Member);
$gamePlayer.refresh();
}
var Scene_Update_20151224=Scene_Map.prototype.update;
Scene_Map.prototype.update=function()
{
Scene_Update_20151224.call(this);
if(Input.isTriggered('pageup'))
{
$gameParty.LeadMember();
}
}
/**
* Created by 夏末渐离 on 2015/12/24.
*/
/*:@author XMJL
* @plugindesc Input Q to change leader .
*
*/
Game_Party.prototype.LeadMember=function()
{
var First_Member =$gameParty._actors.shift();
$gameParty._actors.push(First_Member);
$gamePlayer.refresh();
}
var Scene_Update_20151224=Scene_Map.prototype.update;
Scene_Map.prototype.update=function()
{
Scene_Update_20151224.call(this);
if(Input.isTriggered('pageup'))
{
$gameParty.LeadMember();
}
}