REVERSED MODE

This commit is contained in:
infinitefusion
2021-12-26 15:36:25 -05:00
parent 98d365a2b7
commit 56c13d0907
14 changed files with 16 additions and 0 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.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -140,6 +140,9 @@ module GameData
if placeholder_species.include?(species)
species = replace_species_with_placeholder(species)
end
if $game_switches[REVERSED_MODE]
species = reverseFusionSpecies(species)
end
level =pkmn_data[:level]
if $game_switches[Settings::OVERRIDE_BATTLE_LEVEL_SWITCH]
override_level = $game_variables[Settings::OVERRIDE_BATTLE_LEVEL_VALUE_VAR]

View File

@@ -1,6 +1,9 @@
#Switches
NEW_GAME_PLUS = 972
BEAT_MT_SILVER = 918
REVERSED_MODE = 47
GAME_DIFFICULTY_EASY = 665
GAME_DIFFICULTY_HARD = 666
GOT_BADGE_1 = 4
GOT_BADGE_2 = 5

View File

@@ -356,5 +356,15 @@ def getArceusPlateType(heldItem)
end
end
def reverseFusionSpecies(species)
dexId = getDexNumberForSpecies(species)
return species if dexId <= NB_POKEMON
return species if dexId > (NB_POKEMON * NB_POKEMON) + NB_POKEMON
body = getBasePokemonID(dexId, true)
head = getBasePokemonID(dexId, false)
newspecies = (head) * NB_POKEMON + body
return getPokemon(newspecies)
end

Binary file not shown.