How to change a menu background script from VX Ace to MV

I recently moved my game from VX Ace to MV and I'm still getting used to it. Back then I used this custom script I made to change the map background and I want to know if I can adapt it to MV.

class Scene_MenuBase < Scene_Base
#--------------------------------------------------------------------------
alias background_picture_create_background create_background
def create_background
background_picture_create_background
@background_picture_sprite = Sprite.new
if $game_switches[261]
@background_picture_sprite.bitmap = Cache.picture('MenuBackground')
elsif $game_switches[262]
@background_picture_sprite.bitmap = Cache.picture('MenuBackground2')
elsif $game_switches[263]
@background_picture_sprite.bitmap = Cache.picture('MenuBackground3')
elsif $game_switches[264]
@background_picture_sprite.bitmap = Cache.picture('MenuBackground4')
elsif $game_switches[265]
@background_picture_sprite.bitmap = Cache.picture('MenuBackground5')
end
end

#--------------------------------------------------------------------------
alias background_picture_dispose_background dispose_background
def dispose_background
@background_picture_sprite.dispose
end
end
RGSS/Ruby and Javascript are completely different languages, so no it cannot be adapted.

you could do something similar with the MV engine, but it would have to be written from zero using the commands and functions available in MV.
RGSS/Ruby and Javascript are completely different languages, so no it cannot be adapted.

you could do something similar with the MV engine, but it would have to be written from zero using the commands and functions available in MV.
That's a shame, too bad I know very little about coding in MV.
Maybe I should stick to VX Ace after all..
or request a new plugin according to what you want
or request a new plugin according to what you want
That's possible??
there is an entire section for plugin requests on this forum.

a request does not mean that you'll find someone to do it for free as that depends on interest and work required, but it is always worth a try especially for something simple

Original thread: https://forums.rpgmakerweb.com/threads/how-to-change-a-menu-background-script-from-vx-ace-to-mv.170394/