• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

Simple GUI Menu v2 (Customizable/Extendable)

6
Posts
4
Years
    • Seen Feb 14, 2023
    I need some help too. I did as in the Instructions but every i try to start the game it says: " Script´SGM_V" Documentation`line 2: SyntaxError occured."
    Line 2 says "@@menuItems:"

    Im using 17.2
     

    Ego13

    hollow_ego
    311
    Posts
    6
    Years
  • By what you are describing it sounds like you are missing the "=begin" code at the very top of the documentation. This ensures that the documentation is treated as a comment and not as code
     
    Last edited:
    6
    Posts
    4
    Years
  • This is a great script and I really want to use it, but right now it crashed any time I save the game.
    This is the error message I'm getting:
    ---------------------------
    Pokemon Essentials
    ---------------------------
    [Pokémon Essentials version 17.2]

    Exception: LocalJumpError

    Message: break from proc-closure

    SGM_V2:47:in `call'

    SGM_V2:416:in `mainLoop'

    SGM_V2:347:in `loop'

    SGM_V2:441:in `mainLoop'

    SGM_V2:335:in `initialize'

    SGM_V2:536:in `new'

    SGM_V2:536:in `startMenu'

    Scene_Map:125:in `call_menu'

    Scene_Map:211:in `update'

    Scene_Map:232:in `main'



    This exception was logged in

    C:\Users\[username]\Saved Games\Pokemon Essentials\errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------
     
    Last edited:
    68
    Posts
    11
    Years
    • Seen Nov 12, 2023
    I know, it is not the best solution, but I did this and I don't get the error anymore

    Code:
     # Save
      @@saveGame = Proc.new{ |sgm|
        if !$game_system || !$game_system.save_disabled
          
          sgm.pbHideMenu2
          scene = PokemonSave_Scene.new
          screen = PokemonSaveScreen.new(scene)
          if screen.pbSaveScreen
    #        break
            sgm.pbShowMenu2
          else
            sgm.pbShowMenu2
          end
        else
          Kernel.pbMessage("You can't save right now")
        end
      }
     

    Ego13

    hollow_ego
    311
    Posts
    6
    Years
  • Hey,

    I didn't notice that issue beforehand so I posted an update. For all Procs you can also just remove the "break" and "return" statements (BUT ONLY IN THE PROCS)
     
    1
    Posts
    4
    Years
    • Seen Apr 26, 2024
    Every time I open the menu, I get an error.
    ICCP: CRC error
    CNxFile Object:
    Graphics / Pictures / Menu / Dual / TrainerCard.png
    and so with each dual file but then the menu opens and it works perfectly but I have to be accepting the error all the time.
    I don't know how to solve it.
     

    CTF Studios

    NekoBomber
    11
    Posts
    7
    Years
  • Hi, i'm using this script and it is in its default state. but for some reason the Pokedex is not showing up even though i have at least one Pokemon. I use the normal event to state that i have the pokedex using the default essentials event.
     

    Ego13

    hollow_ego
    311
    Posts
    6
    Years
  • Hi, i'm using this script and it is in its default state. but for some reason the Pokedex is not showing up even though i have at least one Pokemon. I use the normal event to state that i have the pokedex using the default essentials event.

    The part where it is checked wether to display the menu or not is the following

    Code:
    # Pokedex
      @@openPokedex = Proc.new{
        if DEXDEPENDSONLOCATION
          pbFadeOutIn(99999){
            scene = PokemonPokedex_Scene.new
            screen = PokemonPokedexScreen.new(scene)
            screen.pbStartScreen
          }
        else
          if $PokemonGlobal.pokedexViable.length==1
            $PokemonGlobal.pokedexDex = $PokemonGlobal.pokedexViable[0]
            $PokemonGlobal.pokedexDex = -1 if $PokemonGlobal.pokedexDex==$PokemonGlobal.pokedexUnlocked.length-1
            pbFadeOutIn(99999){
              scene = PokemonPokedex_Scene.new
              screen = PokemonPokedexScreen.new(scene)
              screen.pbStartScreen
            }
          else
            pbFadeOutIn(99999){
              scene = PokemonPokedexMenu_Scene.new
              screen = PokemonPokedexMenuScreen.new(scene)
              screen.pbStartScreen
            }
          end
        end
      }

    Without any more information about errors or anything, it is hard to tell why it is not behaving the way it should
     
    1
    Posts
    4
    Years
    • Seen yesterday
    Hey! I'm having an issue with the Pokedex currently - even when I receive it in game, it won't appear on the menu. There are no errors or anything, and I didn't modify the script any. Any idea on what the problem may be?
     

    Ego13

    hollow_ego
    311
    Posts
    6
    Years
  • Hey! I'm having an issue with the Pokedex currently - even when I receive it in game, it won't appear on the menu. There are no errors or anything, and I didn't modify the script any. Any idea on what the problem may be?

    What version of Essentials are you using?

    I just created a Discord server for easy communication https://discord.gg/7msDPaN
     
    Last edited:
    Back
    Top