Konami Code "Title Screen Cheats"

So we all love those old cheats in NES games,
I would love to do something similar in my game
were if you put in a combination "That You Customize"
it turns on a switch or calls a common event
when you put in the code and press the select Key.

I only wan't to do this on a title
so don't post a reply telling me to do
this in-game.
So we all love those old cheats in NES games,
I don't play NES Games.

were if you put in a combination "That You Customize"
Something like input QWERTY to get cheat mode?
I don't play NES Games.


Something like input QWERTY to get cheat mode?
Well in most old games "Especially NES ones"
you put in a combination of buttons or keys on the title screen,
then you press the new game button.

When you start the game with the cheat you'll
unlock a new party member or something like that.

A good example would be in most Konami games like
Life Force or Contra were putting in a code on the title gives
you 30 extra lifes.

I wan't to replicate this in RPG maker were if you put in a code
and select "New Game" a switch turns on.

It would be pretty cool if I can have more than one code,
but beggars cant be choosy so I'll settle for anything.
i want to write a plugin like this, so i search if there has the plugin already. now i wrote done. that is why i reply a post one year ago. lol, hope helpful.
@moonyoulove Maybe it would be helpful if you share your plugin at JS Plugin Releases (RMMV)

Original thread was looking for a script in VX Ace. Wording in English RM community for "script" and "plugin" are not the same.
orz, i didn't matter that
va version hastily

Ruby:
module KonaCode
  ARRAY = ["up","up","down","down","left","left","right","right","b","a"]
  SE = "Bell3"
  @active = false
 
  def self.active?
    @active
  end
 
  def self.active
    @active = true
  end
end 

class Scene_Title
  alias :_orig_initialize :initialize
  alias :_orig_update :update
 
  def initialize
    _orig_initialize
    @code_index = 0
  end
 
  def update
    _orig_update
    key = triggered
    if key and @code_index < KonaCode::ARRAY.length
      if key == KonaCode::ARRAY[@code_index]
        @code_index += 1
        if @code_index >= KonaCode::ARRAY.length
          KonaCode.active
          RPG::SE.new(KonaCode::SE).play
        end
      else
        @code_index = 0
      end
    end
  end
 
  def triggered
    case true
    when Input.trigger?(:DOWN)
      return "down"
    when Input.trigger?(:LEFT)
      return "left"
    when Input.trigger?(:RIGHT)
      return "right"
    when Input.trigger?(:UP)
      return "up"
    when Input.trigger?(:A)
      return "a"
    when Input.trigger?(:B)
      return "b"
    when Input.trigger?(:C)
      return "c"
    when Input.trigger?(:X)
      return "x"
    when Input.trigger?(:Y)
      return "y"
    when Input.trigger?(:Z)
      return "z"
    when Input.trigger?(:L)
      return "l"
    when Input.trigger?(:R)
      return "r"
    end
  end
end
Well is there a way to make Konami code system into your game for a minigame
Necro-post notice: @Gogostopm

Original thread: https://forums.rpgmakerweb.com/threads/konami-code-title-screen-cheats.110300/