• 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.

DPPt Pause Menu

971
Posts
7
Years
  • Age 21
  • Seen Nov 28, 2022
Generation 4 had a pretty simplistic Pause menu. It resembles Generation 3's, but it has icons. This resource will turn your boring Pause menu into something with a little more spice.

If you have Luka S.J.'s Easy Mouse System installed, this menu will also work with mouse. If not, it won't (duh).


uc




Features:
  • Supports all screensizes
  • Modular and easy to edit
  • Remembers last selected index
  • You can hold down/up as well
  • Supports the Easy Mouse System (if installed, it'll work with mouse too)

Does NOT: Support Safari Zone and such games.




Installation
First, download this script and put it in a new section above Main (UNLESS YOU ALREADY HAVE IT!)
Marin's Scripting Utilities

Download this script and put it above Main:
DP_PauseMenu

Next, put this whole folder in Graphics\Pictures.
Graphics\Pictures



Adding your own options

To make/add your own options, find @options = []. Underneath, all options are initialized and added. They follow a very simple format:
[displayname, unselected, selected, code, (condition)]
displayname
: This is what's actually displayed on screen.
unselected : This is the icon that will be displayed when the option is NOT selected. For it to be gender dependent, make it an array.
selected : This is the icon that will be displayed when the option IS selected. For it to be gender dependent, make it an array.
code : This is what's executed when you click the button.
condition : If you only want the option to be visible at certain times, this is where you can add a condition (e.g. $Trainer.pokedex).
 
2
Posts
7
Years
  • Age 21
  • Seen Sep 8, 2018
---------------------------
Error
---------------------------
Script 'DP_Pause Menu' line 34: NoMethodError occurred.

undefined method `in_menu=' for #<Game_Temp:0xc40c578>

from 'DP_Pause Menu' line 34 in `call_menu'
from 'Scene_Map' line 163 in `update'
from 'Scene_Map' line 68 in `main'
from 'Scene_Map' line 65 in `loop'
from 'Scene_Map' line 72 in `main'
from 'Marin_Utilities' line 1203 in `call'
from 'Marin_Utilities' line 1203 in `main'
from 'Main' line 49 in `mainFunctionDebug'
from 'Main' line 27 in `mainFunction'
from 'Main' line 27 in `pbCriticalCode'
from 'Main' line 27 in `mainFunction'
from 'Main' line 59
---------------------------
OK
---------------------------

It makes this error on me...
 
971
Posts
7
Years
  • Age 21
  • Seen Nov 28, 2022
---------------------------
Error
---------------------------
Script 'DP_Pause Menu' line 34: NoMethodError occurred.

undefined method `in_menu=' for #<Game_Temp:0xc40c578>

from 'DP_Pause Menu' line 34 in `call_menu'
from 'Scene_Map' line 163 in `update'
from 'Scene_Map' line 68 in `main'
from 'Scene_Map' line 65 in `loop'
from 'Scene_Map' line 72 in `main'
from 'Marin_Utilities' line 1203 in `call'
from 'Marin_Utilities' line 1203 in `main'
from 'Main' line 49 in `mainFunctionDebug'
from 'Main' line 27 in `mainFunction'
from 'Main' line 27 in `pbCriticalCode'
from 'Main' line 27 in `mainFunction'
from 'Main' line 59
---------------------------
OK
---------------------------

It makes this error on me...

I can only assume you're using an outdated version of Essentials, because the line that's missing that causes the error exists in newer versions.
 
971
Posts
7
Years
  • Age 21
  • Seen Nov 28, 2022
I've updated the script. It now includes sound effects.
 
971
Posts
7
Years
  • Age 21
  • Seen Nov 28, 2022
Updated the script to fix an issue with no dexes showing up upon opening the Pokédex.
 
220
Posts
9
Years
This works great. Thx for sharing this. Credits will be given in-game final credits. But, there is one thing, when i playtest, there is no debug option, so can you add support for that option when the players playtest only?
 
17
Posts
4
Years
This script works very well! Though i had to add debug support myself.

I was also able to add safari game & bug catching contest support.
 
971
Posts
7
Years
  • Age 21
  • Seen Nov 28, 2022
Debug can be accessed through a more convenient F9 button already, so I omitted it to keep the menu shorter and cleaner, in favor of the F9 shortcut.
 
220
Posts
9
Years
Another thing, how can i add the option quit game from essentials? I want to add this for the prupose of those who use the full screen option and instead of closing the game's window.
 
1,680
Posts
8
Years
  • Age 24
  • Seen today
Another thing, how can i add the option quit game from essentials? I want to add this for the prupose of those who use the full screen option and instead of closing the game's window.

Alrighty! Here you go, all tested! Though you may want to change the icon/name because the meaning of the option from DPPt.
Code:
    @options << ["EXIT", "exitA", "exitB", proc {
      @sprites.visible = false
      if Kernel.pbConfirmMessage(_INTL("Are you sure you want to quit the game?"))
        scene = PokemonSave_Scene.new
        screen = PokemonSaveScreen.new(scene)
        if screen.pbSaveScreen
          @done = true
          $scene = nil
        else
          @sprites.visible = true
        end
      else
        @sprites.visible = true
      end
    }]
 
220
Posts
9
Years
Anyone knows how to add the Pokegear option after we receive the pokegear? I only manage to add this option right in the beginning and i'm getting a hard time to figure it out lol. Vendily thx for your help, it works like a charm. ^.^
 
658
Posts
7
Years
Hey can you share how you did for those options you said?

Sure.
Adding your own options

To make/add your own options, find @options = []. Underneath, all options are initialized and added. They follow a very simple format:
[displayname, unselected, selected, code, (condition)]
displayname
: This is what's actually displayed on screen.
unselected : This is the icon that will be displayed when the option is NOT selected. For it to be gender dependent, make it an array.
selected : This is the icon that will be displayed when the option IS selected. For it to be gender dependent, make it an array.
code : This is what's executed when you click the button.
condition : If you only want the option to be visible at certain times, this is where you can add a condition (e.g. $Trainer.pokedex).
 
17
Posts
4
Years
Hey can you share how you did for those options you said?

You can reach the debug menu with f9, i find it easier now that i know that.

Here's the stuff, but i never got around to testing it in my fangame yet since... it has no safari zone/bug contest yet
Spoiler:
 
220
Posts
9
Years
You can reach the debug menu with f9, i find it easier now that i know that.

Here's the stuff, but i never got around to testing it in my fangame yet since... it has no safari zone/bug contest yet
Spoiler:

I've tested the codes, but nothing happens when i go to safari zones or bug contest. Maybe something is missing. :/
 

DarrylBD99

Content Creator and Game Developer
321
Posts
3
Years
For those who are using this script in Essentials V18 and received an error when opening the Pokedex, it is a simple fix. Just replace this:
Code:
if DEXDEPENDSONLOCATION
with this:
Code:
if USE_CURRENT_REGION_DEX
 
Back
Top