• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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)

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
 
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:
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:
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
  }
 
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)
 
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.
 
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.
 
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
 
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?
 
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