//=====================================================================
//Title_Modifier.js
//=====================================================================
/*:
*
* @plugindesc This is my first plugin.
*
* @author Alias72
*
* @param Outline_Width
* @disc Width of title outline
* @default 8
*
* @param Outline_Color
* @disc Color of title outline
* @default black
*
* @param Title_Font_Size
* @disc Size of title font
* @default 72
*
* @param Exclusion_Maps
* @disc Maps where player may not enter menu
* @default 0,1
*
* @ Help
*
* This is the help file
*
*/
(function() {
var parameters = PluginManager.parameters('Title_Modifier');
var MyColor = String(parameters['Outline_Color']);
var MyWidth = Number(parameters['Outline_Width']);
var MyFontSize = Number(parameters['Title_Font_Size']);
Scene_Title.prototype.drawGameTitle = function() {
var x = 20;
var y = Graphics.height / 4;
var maxWidth = Graphics.width - x * 2;
var text = $dataSystem.gameTitle;
this._gameTitleSprite.bitmap.outlineColor = MyColor;
this._gameTitleSprite.bitmap.outlineWidth = MyWidth;
this._gameTitleSprite.bitmap.fontSize = MyFontSize;
this._gameTitleSprite.bitmap.drawText(text, x, y, maxWidth, 48, 'center');
};
var maps = String(parameters['Exclusion_Maps']).split(',');
//var _Game_System_isMenuEnabled = Game_System.prototype.isMenuEnabled;
//Game_System.prototype.isMenuEnabled = function() {
// return this._menuEnabled && maps.contains(String($gameMap.mapID()))==false;
//};
Game_Player.prototype.executeMove = function(direction) {
this.moveStraight(direction);
$gameMessage.add(String($gameMap.mapID()));
};
})();