small bugfixes

This commit is contained in:
infinitefusion
2023-04-26 21:16:28 -04:00
parent 09a50f8979
commit 5025532625
14 changed files with 9 additions and 2 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 module Settings
# The version of your game. It has to adhere to the MAJOR.MINOR.PATCH format. # The version of your game. It has to adhere to the MAJOR.MINOR.PATCH format.
GAME_VERSION = '5.0.0' GAME_VERSION = '5.0.0'
GAME_VERSION_NUMBER = "5.1.3.5" GAME_VERSION_NUMBER = "5.1.3.6"
POKERADAR_LIGHT_ANIMATION_RED_ID = 17 POKERADAR_LIGHT_ANIMATION_RED_ID = 17
POKERADAR_LIGHT_ANIMATION_GREEN_ID = 18 POKERADAR_LIGHT_ANIMATION_GREEN_ID = 18

View File

@@ -211,7 +211,14 @@ end
def getFusionSpeciesSymbol(body, head) def getFusionSpeciesSymbol(body, head)
body_num = dexNum(body) body_num = dexNum(body)
head_num = dexNum(head) head_num = dexNum(head)
id = body_num * Settings::NB_POKEMON + head_num nb_pokemon = Settings::NB_POKEMON
id = body_num * nb_pokemon + head_num
if id > (nb_pokemon*nb_pokemon)+nb_pokemon
Kernel.pbMessage(_INTL("The game has encountered an error. You should try to re-randomize your game as soon as possible."))
Kernel.pbMessage(_INTL("You can do this on the top floor of Pokémon Centers."))
return body
end
return GameData::Species.get(id).species return GameData::Species.get(id).species
end end

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.