Konami Code "Title Screen Cheats"

Neo_Kum0rius_6000

Not Your Ordinary Guy!
Veteran
Joined
Nov 8, 2017
Messages
196
Reaction score
349
First Language
english
Primarily Uses
RMVXA
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.
 

Neo_Kum0rius_6000

Not Your Ordinary Guy!
Veteran
Joined
Nov 8, 2017
Messages
196
Reaction score
349
First Language
english
Primarily Uses
RMVXA
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.
 

moonyoulove

Warper
Member
Joined
Apr 10, 2019
Messages
4
Reaction score
3
First Language
Chinese
Primarily Uses
RMMV
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.
 

Attachments

tale

Volunteer
Veteran
Joined
Dec 16, 2016
Messages
688
Reaction score
1,159
First Language
English
Primarily Uses
N/A
@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.
 

moonyoulove

Warper
Member
Joined
Apr 10, 2019
Messages
4
Reaction score
3
First Language
Chinese
Primarily Uses
RMMV
orz, i didn't matter that
 

moonyoulove

Warper
Member
Joined
Apr 10, 2019
Messages
4
Reaction score
3
First Language
Chinese
Primarily Uses
RMMV
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
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

currently listening to Driftwood Gaming streaming some MZ dev time and it's delightful! had no idea they were this entertaining, love it
In quarantine, will be tested soon. This year is really something... special.
I was at another orientation yesterday and I realized I'll be working with an old friend! We met at the local water park a few years back and it was so nice to see her again! We had a chat, and next week when I officially start, I'll see if maybe we can trade our Zoom IDs so we can talk!
I made some sideview closets for MV!
You can find them in my MV resource thread.

Forum statistics

Threads
105,509
Messages
1,014,320
Members
137,194
Latest member
purboy
Top