mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
adds fused species abilities & fixes pokedex issue
This commit is contained in:
@@ -216,13 +216,16 @@ class PokemonFusionScene
|
||||
|
||||
def pbChooseAbility(poke, hidden1 = false, hidden2 = false)
|
||||
abilityList = poke.getAbilityList
|
||||
|
||||
if $game_switches[SWITCH_DOUBLE_ABILITIES]
|
||||
abID1 = @pokemon1.ability
|
||||
abID2 = @pokemon2.ability
|
||||
else
|
||||
abID1 = hidden1 ? abilityList[4][0] : abilityList[0][0]
|
||||
abID2 = hidden2 ? abilityList[5][0] : abilityList[1][0]
|
||||
abID1 = hidden1 ? abilityList[-2][0] : abilityList[0][0]
|
||||
|
||||
p abilityList
|
||||
p abilityList[5]
|
||||
p abilityList[1]
|
||||
abID2 = hidden2 ? abilityList[-1][0] : abilityList[1][0]
|
||||
end
|
||||
availableNatures = []
|
||||
availableNatures << @pokemon1.nature
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
# PokemonFusion
|
||||
#
|
||||
|
||||
NB_POKEMON = 809#420 #351 #aussi CONST_NB_POKE
|
||||
NB_POKEMON = Settings::NB_POKEMON#809#420 #351 #aussi CONST_NB_POKE
|
||||
CONST_NB_POKE = NB_POKEMON
|
||||
def pbPokemonBitmapFile(species)
|
||||
# Used by the Pokédex
|
||||
|
||||
Reference in New Issue
Block a user