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 Changes the size of the save window in RPG Maker MZ. | |
* @author YourName | |
* @target MZ | |
* | |
* @param Window Width | |
* @desc The width of the save window. | |
* @type number | |
* @default 816 | |
* |
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 セーブ画面のヘルプウィンドウを非表示にします | |
* @author ChatGPT | |
* @target MZ | |
* | |
* @help | |
* このプラグインをプラグインマネージャで追加するだけで、 | |
* セーブ画面およびロード画面のヘルプウィンドウが非表示になります。 | |
*/ |
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
/*: | |
* @target MZ | |
* @plugindesc Changes the width of the title command window. | |
* @orderBefore NRP_N_TitleMap | |
* | |
* @param width | |
* @text Window Width | |
* @desc The width of the title command window. | |
* @type number | |
* @default 400 |
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(alias) { | |
Game_Picture.prototype.update = function() { | |
if (!$gameSwitches.value(1) || $gameScreen.picture(1) !== this) alias.apply(this, arguments); | |
}; | |
})(Game_Picture.prototype.update); |
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 allItems = $gameParty.allItems(); | |
for (var i = 0; i < allItems.length; i++) { | |
var item = allItems[i]; | |
if (DataManager.isWeapon(item) || DataManager.isArmor(item)) { | |
var num = $gameParty.numItems(item); | |
var price = Math.floor(item.price / 2); | |
$gameParty.gainGold(price * num); | |
$gameParty.loseItem(item, num); | |
} | |
} |
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
SceneManager._scene._spriteset._characterSprites.forEach(function(sprite) { | |
if (sprite._character instanceof Game_Player) { | |
sprite._animationSprites.forEach(function(animation) { | |
if (animation._animation.id === 28) { | |
animation.remove(); | |
} | |
}); | |
} | |
}); |
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
$gameActors.actor(1).stateRate(4) * 100 |
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
◆スクリプト:$gameTemp.session = true; | |
◆セーブ画面を開く | |
◆注釈:セーブ前と同一セッションだった場合はここを通る | |
: :ロードし直した場合は通らない | |
◆条件分岐:スクリプト:$gameTemp.session | |
◆タイトル画面に戻す | |
◆ | |
:それ以外のとき | |
◆場所移動:転移の間 (10,13) | |
◆ |
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 (1, 2, 3, ...) と新しい名前を指定 | |
const actorId = 1; | |
const newName = "新しい名前"; | |
// アクターを取得し、名前を変更 | |
const actor = $gameActors.actor(actorId); | |
if (actor) { | |
actor.setName(newName); | |
} |
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 Show touch UI for number input when triggered by key input | |
* @author YourName | |
* | |
* @help This plugin does not have any plugin commands. | |
* Generated by GPT-4 | |
*/ | |
(function() { | |
var _Window_NumberInput_start = Window_NumberInput.prototype.start; |