This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
Window_MenuCommand.prototype.addGameEndCommand = function() {}; | |
})(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
DropManager.makeConditionalDropItems = function() { | |
var length = this._data.length; | |
if (length <= 0) return; | |
for (var i = 0; i < length; ++i) { | |
var data = this._data[i]; | |
var item = data[0]; | |
var conditions = data[1]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var bgm = AudioManager._currentBgm; | |
var pos = AudioManager._bgmBuffer.seek(); | |
// BGMのpitchを変数[1]から取得 | |
bgm.pitch = $gameVariables.value(1); | |
AudioManager.playBgm(bgm); | |
AudioManager._bgmBuffer.play(true, pos); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var event = $gameMap.event(1); | |
event._erased = false; | |
event.refresh(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
var script = document.currentScript; | |
var pluginName = script.src.replace(/^.*\/(.*).js$/, function() { | |
return arguments[1]; | |
}); | |
console.log(pluginName); | |
})(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
var _Window_BattleLog_displayHpDamage = Window_BattleLog.prototype.displayHpDamage; | |
Window_BattleLog.prototype.displayHpDamage = function(target) { | |
if (target.result().hpAffected) { | |
if (target.result().hpDamage === 0) { | |
this.push('performEvasion', target); | |
} | |
} | |
_Window_BattleLog_displayHpDamage.apply(this, arguments); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _Sprite_StateIcon_updateTransform = Sprite_StateIcon.prototype.updateTransform; | |
Sprite_StateIcon.prototype.updateTransform = function updateTransform() { | |
_Sprite_StateIcon_updateTransform.apply(this, arguments); | |
this.worldAlpha = this.alpha; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
var _Scene_Map_startEncounterEffect = Scene_Map.prototype.startEncounterEffect; | |
Scene_Map.prototype.startEncounterEffect = function() { | |
_Scene_Map_startEncounterEffect.apply(this, arguments); | |
$gameScreen.setDTextPicture('aaaaaa', 80); | |
$gameScreen.showPicture(1, '', 0, 300, 300, 100, 100, 255, 0); | |
}; | |
})(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Window_PartyList.prototype.initialize = function(partyWindow) {; | |
var wy = partyWindow.y + partyWindow.height; | |
this._detailedWindow = Yanfly.Param.PartyDetailWin; | |
var ww = this.windowWidth(); | |
var wh = Graphics.boxHeight - wy; | |
Window_Selectable.prototype.initialize.call(this, 0, wy, ww, wh); | |
//--- ここを1から0に変える --- | |
//this.select(1); | |
this.select(0); | |
this.deactivate(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
BattleManager.displayStartMessages = function() { | |
// $gameTroop.enemyNames().forEach(function(name) { | |
// $gameMessage.add(TextManager.emerge.format(name)); | |
// }); | |
if (this._preemptive) { | |
$gameMessage.add(TextManager.preemptive.format($gameParty.name())); | |
} else if (this._surprise) { |