pokedex sprite pages fixes, removes critical captures, fixes ball swap npc

This commit is contained in:
infinitefusion
2022-06-19 19:26:01 -04:00
parent 22389afbbc
commit 7ef57c7b8a
16 changed files with 9 additions and 4 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -6,7 +6,7 @@
module Settings
# The version of your game. It has to adhere to the MAJOR.MINOR.PATCH format.
GAME_VERSION = '5.0.0'
GAME_VERSION_NUMBER = "5.0.26 - beta"
GAME_VERSION_NUMBER = "5.0.27 - beta"
POKERADAR_LIGHT_ANIMATION_RED_ID = 17
POKERADAR_LIGHT_ANIMATION_GREEN_ID = 18

View File

@@ -64,7 +64,7 @@ module Settings
# based on a total of 600+ species (i.e. that many species need to be caught
# to provide the greatest critical capture chance of 2.5x), and there may be
# fewer species in your game.
ENABLE_CRITICAL_CAPTURES = (MECHANICS_GENERATION >= 5)
ENABLE_CRITICAL_CAPTURES = false#(MECHANICS_GENERATION >= 5)
# Whether Pokémon gain Exp for capturing a Pokémon.
GAIN_EXP_FOR_CAPTURE = (MECHANICS_GENERATION >= 5)
# The Game Switch which, whie ON, prevents the player from losing money if

View File

@@ -221,6 +221,8 @@ class PokemonPokedexInfo_Scene
@sprites["previousSprite"].visible = (@page==3) if @sprites["previousSprite"]
@sprites["selectedSprite"].visible = (@page==3) if @sprites["selectedSprite"]
@sprites["nextSprite"].visible = (@page==3) if @sprites["nextSprite"]
hide_all_selected_windows
# Draw page-specific information
case page
when 1 then drawPageInfo

View File

@@ -5,7 +5,7 @@ class PokemonPokedexInfo_Scene
Y_POSITION_SMALL = 80#40
Y_POSITION_BIG = 50
X_POSITION_PREVIOUS = 20#-20
X_POSITION_SELECTED = 120
X_POSITION_SELECTED = 115
X_POSITION_NEXT = 380#340
Y_POSITION_BG_SMALL = 70
@@ -98,11 +98,14 @@ class PokemonPokedexInfo_Scene
return pbGetAvailableAlts
end
def update_selected
def hide_all_selected_windows
@sprites["bgSelected_previous"].visible = false
@sprites["bgSelected_center"].visible = false
@sprites["bgSelected_next"].visible = false
end
def update_selected
hide_all_selected_windows
previous_index = @selected_index == 0 ? @available.size - 1 : @selected_index - 1
next_index = @selected_index == @available.size - 1 ? 0 : @selected_index + 1

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.