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 troopId = 1; | |
var enemyIndex = 0; | |
$dataTroops[troopId].members[enemyIndex].x; | |
$dataTroops[troopId].members[enemyIndex].y; |
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
/*: | |
* @plugindesc サンプルコード | |
* @target MZ | |
*/ | |
(()=> { | |
'use strict'; | |
const _Window_Base_createContents = Window_Base.prototype.createContents; | |
Window_Base.prototype.createContents = function() { | |
_Window_Base_createContents.apply(this, arguments); | |
this.contents.outlineWidth = 20; |
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
/*: | |
* @plugindesc サンプルコード | |
* @target MZ | |
*/ | |
(()=> { | |
const _Scene_Message_createNameBoxWindow = Scene_Message.prototype.createNameBoxWindow; | |
Scene_Message.prototype.createNameBoxWindow = function() { | |
_Scene_Message_createNameBoxWindow.apply(this, arguments); | |
this.addChild(this._nameBoxWindow); | |
}; |
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
(()=> { | |
'use strict'; | |
Scene_Status.prototype.statusParamsHeight = function() { | |
return 300; | |
} | |
})(); |
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
(()=> { | |
'use strict'; | |
Sprite_Gauge.prototype.bitmapWidth = function() { | |
return 200; | |
}; | |
})(); |
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
// パーティーの誰かがID[5]の防具を装備しているか | |
$gameParty.members().some(actor => actor.hasArmor($dataArmors[5])); | |
// パーティーの誰かがID[6]の武器を装備しているか | |
$gameParty.members().some(actor => actor.hasWeapon($dataWeapons[6])); | |
// パーティーの誰かがID[7]のスキルを習得しているか | |
$gameParty.members().some(actor => actor.hasSkill(7)); |
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 _Game_Battler_onRestrict = Game_Battler.prototype.onRestrict; | |
Game_Battler.prototype.onRestrict = function() { | |
_Game_Battler_onRestrict.apply(this, arguments); | |
this.makeActions(); | |
}; | |
})(); |
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
!!PluginManager._parameters['dtextpicture']; |
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'; | |
Input.keyMapper[65] = 'A'; | |
})(); |