Skip to content

Instantly share code, notes, and snippets.

@triacontane
Created June 14, 2023 14:02
Show Gist options
  • Select an option

  • Save triacontane/f079c3e9ed39bd822e9fe925e4e1dd6e to your computer and use it in GitHub Desktop.

Select an option

Save triacontane/f079c3e9ed39bd822e9fe925e4e1dd6e to your computer and use it in GitHub Desktop.
指定されたスイッチがONのとき指定された番号のピクチャの動きを止める
(function(alias) {
Game_Picture.prototype.update = function() {
if (!$gameSwitches.value(1) || $gameScreen.picture(1) !== this) alias.apply(this, arguments);
};
})(Game_Picture.prototype.update);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment