• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

HGSS Option Menu

  • 295
    Posts
    6
    Years
    • Seen Aug 15, 2022
    This script hepls you to create a Option menu like HGSS.

    How to use
    Post this code above main
    If you want to change "number", increase or decrease, like Music volume, find
    Code:
    def choose_screen
    then find
    Code:
    if @option[pos][2] == 0
    and change this line
    Code:
    bgm_play if Input.trigger?(Input::RIGHT)
    bgm_play(true) if Input.trigger?(Input::LEFT)
    into
    Code:
    bgm_play(false,5) if Input.trigger?(Input::RIGHT)
    bgm_play(true,5) if Input.trigger?(Input::LEFT)
    Here, when you press right it will increase 5 and decrease 5 when you press left.
    You can change SE volume value just like, below Music volume there is
    Code:
    elsif @option[pos][2] == 1
    and you need to change
    Code:
    se_play if Input.trigger?(Input::RIGHT)
    se_play(true) if Input.trigger?(Input::LEFT)
    into
    Code:
    se_play(false,5) if Input.trigger?(Input::RIGHT)
    se_play(true,5) if Input.trigger?(Input::LEFT)
    If you want to delete some features, find
    Code:
    def set_option
    and delete. Example: If you don't want screen border, delete this line
    Code:
    ["Screen Border",1,11,["Off","On"]]
    You need to delete a comma in this line
    Code:
    ["Screen Size",1,10,["S","M","L","Full"]],
    But if you need to delete
    Code:
    ["Screen Size",1,10,["S","M","L","Full"]],
    You don't need to delete a comma of above line.

    Download
    Link

    Code
    Spoiler:

    Credit
    bo4p5687
    Graphics by Richard PT
     
    Last edited:
    Back
    Top