Modular Pause Menu

Resource Modular Pause Menu 1.0

Fontbane

Not a Russian Troll
Member
Posts
85
#3
Looks great, Luka! Seems like something every fangame should have. Customizable graphics are a plus!
 
Posts
5
#5
how do i fix this
---------------------------
Pokemon Chosen Ones
---------------------------
Exception: NoMethodError
Message: undefined method `pbBitmap' for #<PokemonMenu_Scene:0x7b30898>
Pause Menu( New ):183:in `pbStartScene'
Pause Menu( New ):343:in `pbStartPokemonMenu'
Scene_Map:193:in `call_menu'
Scene_Map:163:in `update'
Scene_Map:68:in `main'
Scene_Map:65:in `loop'
Scene_Map:72:in `main'
Main:74:in `mainFunctionDebug'
Main:52:in `mainFunction'
Main:52:in `pbCriticalCode'

This exception was logged in
C:\Users\Mike\Saved Games/Pokemon Chosen Ones/errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
 

Marin

( ͡° ͜ʖ ͡°)
Member
Posts
243
#6
how do i fix this
---------------------------
Pokemon Chosen Ones
---------------------------
Exception: NoMethodError
Message: undefined method `pbBitmap' for #<PokemonMenu_Scene:0x7b30898>
Pause Menu( New ):183:in `pbStartScene'
Pause Menu( New ):343:in `pbStartPokemonMenu'
Scene_Map:193:in `call_menu'
Scene_Map:163:in `update'
Scene_Map:68:in `main'
Scene_Map:65:in `loop'
Scene_Map:72:in `main'
Main:74:in `mainFunctionDebug'
Main:52:in `mainFunction'
Main:52:in `pbCriticalCode'

This exception was logged in
C:\Users\Mike\Saved Games/Pokemon Chosen Ones/errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
This is something Luka added new. This is what the function looks like:
Code:
def pbBitmap(name)
  if !pbResolveBitmap(name).nil?
	bmp = BitmapCache.load_bitmap(name)
  else
	p "Image located at '#{name}' was not found!" if $DEBUG
	bmp = Bitmap.new(1,1)
  end
  return bmp
end
It's something that came with the UPI I think
 

Luka S.J.

Wastage of Time
Member
Posts
71
#7
Ahh
how do i fix this
---------------------------
Pokemon Chosen Ones
---------------------------
Exception: NoMethodError
Message: undefined method `pbBitmap' for #<PokemonMenu_Scene:0x7b30898>
Pause Menu( New ):183:in `pbStartScene'
Pause Menu( New ):343:in `pbStartPokemonMenu'
Scene_Map:193:in `call_menu'
Scene_Map:163:in `update'
Scene_Map:68:in `main'
Scene_Map:65:in `loop'
Scene_Map:72:in `main'
Main:74:in `mainFunctionDebug'
Main:52:in `mainFunction'
Main:52:in `pbCriticalCode'

This exception was logged in
C:\Users\Mike\Saved Games/Pokemon Chosen Ones/errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
Ahh, that is definitely my bad. I overlooked it. I've updated the script to fix this issue.
 

lilbluedemon

Lord of Shadows
Member
Posts
14
#10
No, doesn't seem to show up at all.

It does, if I use the default start menu.


I've managed to get it to appear, but, no Pokédex shows up.
I get this screen:

I have a set Pokédex, and own 1, and have seen 2 Pokémon of that Pokedex.
 
Last edited:

Luka S.J.

Wastage of Time
Member
Posts
71
#11
No, doesn't seem to show up at all.

It does, if I use the default start menu.


I've managed to get it to appear, but, no Pokédex shows up.
I get this screen:

I have a set Pokédex, and own 1, and have seen 2 Pokémon of that Pokedex.
Ok, so I was half right and half wrong. Right: you do need to have seen/owned at least one species of Pokemon before you can actually get access to the Pokedex. Wrong: there is one line of code that I seem to have missed from the original menu, causing the list of viable Pokedexes not to update.

TL;DR: I updated the script.
 

Luka S.J.

Wastage of Time
Member
Posts
71
#15
So I've made a quick update to the script. There's most notably 2 changes there:
1.) Added the _INTL way of declaring the names, so that those of you who use Essentials' translation method can do so easily.
2.) Changed up the way the Save option works. The menu now fades out first, and if you don't save again, fades back in again.
 

Diverscope

Rookie
Member
Posts
8
#17
It seems that the menu doesn't consider if the player is currently in the safari zone or in the bug contest. Normally the "Save"-Option gets replaced by the "Quit"-option which lets you quit the safari game/bug contest. Furthermore both games show additional info on the Vanilla pause menu (e.g the remaining safari balls in the safari game).

Also if the save acces is disabled by the event command ("Change Save Access: Disable"), you can still save your game.
 

Luka S.J.

Wastage of Time
Member
Posts
71
#18
It seems that the menu doesn't consider if the player is currently in the safari zone or in the bug contest. Normally the "Save"-Option gets replaced by the "Quit"-option which lets you quit the safari game/bug contest. Furthermore both games show additional info on the Vanilla pause menu (e.g the remaining safari balls in the safari game).

Also if the save acces is disabled by the event command ("Change Save Access: Disable"), you can still save your game.
Thanks for letting me know, I completely forgot about the Safari Zone aspects of the Pause Menu. Once my time frees up a bit further I'll take a look at it. I have another "feature" planned for the menu in any case, so I have to rework a few things.
 
Top