mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 05:34:58 +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
|
||||
|
||||
Reference in New Issue
Block a user