That is why I asked if it was global or specific, and when you said global I assume that that was what you meant.
First you need a snippet like this (credit Shaz)
class Scene_Gameover < Scene_Base
def create_background
@sprite = Sprite.new
if <insert condition here>
@sprite.bitmap = Cache.system("GameOver")
else
@sprite.bitmap = Cache.system("AlternateGameOver")
end
end
end
The <insert condition here> is the line where a variety of possibilities can go.
If you want it to change for the map, then put either of these as the condition:
if it's only one map:
$game_map.map_id == x
where x is the map number (no leading zeros)
or if it's several maps that you want to show that image:
[1,2,3,4,5].include?($game_map.map_id)
where that image will be shown for maps 1, 2, 3, 4 and 5
However, if it's going to be for the rest of the game, then a switch would probably be much easier than listing all the (many) maps remaining.
Turn it on when you reach the areas where you want the 'alternate' image to be shown, and use this condition:
!$game_switches[id]
That will show the default gameover when the switch is off, and the alternate one when it's on. As far as I am aware, it is either map or switch, it can't be both.
I haven't seen a method for changing the music. You will need to start a fresh thread in Script requests, specifying that it is to change the music partway through the game, as that cannot be done by pure eventing.