Change game over screen depending on map ID

Hey everyone I was wondering if anyone could make a simple little plug in. I had this feature over in VX ace but would love to have it for MV as well. Basically want I want it the ability to change the game over screen by selecting which Map ID's will have the alternative game over picture. 

Thank you!  🙂
While it isn't quite what you wanted, you can do this with a common event!

You won't be using the actual game over screen, but rather pictures.

This way may be more customizable than a plugin as well... you can define what the conditions are for death (such as not having a certain item in your inventory, all players reaching 0 health, one player reaching 0 health, etc.)

You can also give the players an option at the end to load their game or go back to the title screen 🙂 You could just do a wait command and force them to go back to the title screen, too.

Here's how you do it, if you are pretty competent with events it should be easy enough to customize. You can just use this until someone comes along with the exact plugin you need. It's definitely a workaround, but could also be a solution.

1.png

2.png

If you have any questions, let me know!

Note, I'm not sure if this will work during a battle or not. You may have to set up some conditions in each troop to make it look like this common event page. Like I said, workaround, for now.
Hey everyone I was wondering if anyone could make a simple little plug in. I had this feature over in VX ace but would love to have it for MV as well. Basically want I want it the ability to change the game over screen by selecting which Map ID's will have the alternative game over picture. 

Thank you!  🙂
Here the code! You will need to create GameOverN.png in the img/system folder where N is the Id of the map! Remember if the id of the map is 002 you just need to name it GameOver2.png

Code:
//=============================================================================// GameOverMapID.js//=============================================================================/*: * @plugindesc Different GameOver image for every mapID * @author Bodka  * @help v 1.0 Different GameOver image for every mapID*/Scene_Gameover.prototype.createBackground = function() {	var mapId = $gameMap.mapId();    this._backSprite = new Sprite();    this._backSprite.bitmap = ImageManager.loadBitmap('img/system/', 'GameOver'+mapId);	this.addChild(this._backSprite);};
Thank you everyone! I really appreciate it!  🙂

Works like a charm!

Original thread: https://forums.rpgmakerweb.com/threads/change-game-over-screen-depending-on-map-id.47868/