I want to know if there is a way to change the image of the game over screen based on the current party leader or depending if a certain switch is on.
Any way to do this?
Any way to do this?
Scene_Gameover.prototype.createBackground = function() { this._backSprite = new Sprite(); let image = ""; switch($gameParty.leader().actorId()) { case 1: image = "GameOver1" break; case 2: image = "GameOver2"; break; case 3: image = "GameOver3"; break; case 4: image = "GameOver4"; break; default: image = "GameOver" } this._backSprite.bitmap = ImageManager.loadSystem(image); this.addChild(this._backSprite);};Is there any way so certain actor's game over images change when a switch is turned on?
case 1:if ($gameSwitches.value(X)) {image = "GameOver1A"} else {image = "GameOver1B"}break;Original thread: https://forums.rpgmakerweb.com/threads/any-way-to-change-the-game-over-image-based-on-leader-and-or-switch.182217/