- 21
- Posts
- 9
- Years
- Seen May 13, 2016
Hi everyone! Was hoping someone could figure out why my Mon's ability doesn't change?
In the pbs, the mon has no hidden ability, and only 1 normal ability which is competitive.
MultipleForms.register(:GALLIAN,{
"ability"=>proc{|pokemon|
next if pokemon.gender==0 # Male Gallian
if pokemon.abilityflag && pokemon.abilityflag=0
next getID(PBAbilities,:DEFIANT) # Female Gallian
end
},
"getBaseStats"=>proc{|pokemon|
next [90,90,80,70,70,70] if pokemon.gender==1 # Female Gallian
},
"getMoveList"=>proc{|pokemon|
next if pokemon.gender==0 # Male Gallian
movelist=[]
case pokemon.gender
when 1 ; movelist=[[1,:HONECLAWS],[1,:SING],[1,:PECK],[1,:TAILWHIP],
[7,:PECK],[10,:SING],[13,:DISARMINGVOICE],[15,:FURYATTACK],
[19,:PERISHSONG],[26,:DRILLPECK],[30,:TAILWIND],[33,:PLAYROUGH],
[37,:SWORDSDANCE],[40,:THRASH],[44,:STEELWING],
[47,:ACROBATICS],[53,:SKYATTACK]] # Female Gallian
end
for i in movelist
i[1]=getConst(PBMoves,i[1])
end
next movelist
}
})
In the pbs, the mon has no hidden ability, and only 1 normal ability which is competitive.
MultipleForms.register(:GALLIAN,{
"ability"=>proc{|pokemon|
next if pokemon.gender==0 # Male Gallian
if pokemon.abilityflag && pokemon.abilityflag=0
next getID(PBAbilities,:DEFIANT) # Female Gallian
end
},
"getBaseStats"=>proc{|pokemon|
next [90,90,80,70,70,70] if pokemon.gender==1 # Female Gallian
},
"getMoveList"=>proc{|pokemon|
next if pokemon.gender==0 # Male Gallian
movelist=[]
case pokemon.gender
when 1 ; movelist=[[1,:HONECLAWS],[1,:SING],[1,:PECK],[1,:TAILWHIP],
[7,:PECK],[10,:SING],[13,:DISARMINGVOICE],[15,:FURYATTACK],
[19,:PERISHSONG],[26,:DRILLPECK],[30,:TAILWIND],[33,:PLAYROUGH],
[37,:SWORDSDANCE],[40,:THRASH],[44,:STEELWING],
[47,:ACROBATICS],[53,:SKYATTACK]] # Female Gallian
end
for i in movelist
i[1]=getConst(PBMoves,i[1])
end
next movelist
}
})