Sup guys!
So, when Necrozma is fused, it tries to learn a new move in the same way that other Pokémon may learn new moves upon evolving. If Necrozma changes to its normal form, it immediately forgets the special move of the form it was in (if it still knows it); if the only move that Necrozma knows is the form's special move, then that move will be replaced with Confusion.
How can i put this like script?
When we fuse necrozma with Lunala, it will learn Moongeist Beam and when separate them, Necrozma will forget Moongeist Beam and learn Confusion;
When we fuse necrozma with Solgaleo, it will learn Sun Steel Strike and when separate them, Necrozma will forget Sun Steel Strike and learn Confusion.
Ty ty!
I have the n-solarizer and n-lunarizer script (maybe add here):
NEW SCRIPT (Now when you have to separate Necrozma, you can use only N-Solarizer, to Solgaleo, and only N-Lunarizer to Lunala)
Thanks mybusiness to see that.
OLD SCRIPT
So, when Necrozma is fused, it tries to learn a new move in the same way that other Pokémon may learn new moves upon evolving. If Necrozma changes to its normal form, it immediately forgets the special move of the form it was in (if it still knows it); if the only move that Necrozma knows is the form's special move, then that move will be replaced with Confusion.
How can i put this like script?
When we fuse necrozma with Lunala, it will learn Moongeist Beam and when separate them, Necrozma will forget Moongeist Beam and learn Confusion;
When we fuse necrozma with Solgaleo, it will learn Sun Steel Strike and when separate them, Necrozma will forget Sun Steel Strike and learn Confusion.
Ty ty!
I have the n-solarizer and n-lunarizer script (maybe add here):
NEW SCRIPT (Now when you have to separate Necrozma, you can use only N-Solarizer, to Solgaleo, and only N-Lunarizer to Lunala)
Thanks mybusiness to see that.
Spoiler:
Code:
ItemHandlers::UseOnPokemon.add(:NSOLARIZER,proc{|item,pokemon,scene|
if isConst?(pokemon.species,PBSpecies,:NECROZMA)
if pokemon.hp>0
if pokemon.fused!=nil
if $Trainer.party.length>=6
scene.pbDisplay(_INTL("You have no room to separate the Pokémon."))
next false
else
#scene.pbAnimForme(pokemon.species,chose,pokemon.form)#
$Trainer.party[$Trainer.party.length]=pokemon.fused
if pokemon.fused!=2#
scene.pbDisplay(_INTL("It had no effect."))#
next false#
else#
pokemon.fused=nil
pokemon.form=0
scene.pbHardRefresh
scene.pbDisplay(_INTL("{1} changed Forme!",pokemon.name))
next true
end#
end
else
chosen=scene.pbChoosePokemon(_INTL("Fuse with which Pokémon?"))
if chosen>=0
poke2=$Trainer.party[chosen]
if isConst?(poke2.species,PBSpecies,:SOLGALEO) && poke2.hp>0 && !poke2.egg? && poke2.form>=0
#scene.pbAnimFormeFusion(pokemon.species,chose,poke2.species,chosen,newform)#
pokemon.form=1 if isConst?(poke2.species,PBSpecies,:SOLGALEO)
pokemon.fused=poke2
pbRemovePokemonAt(chosen)
scene.pbHardRefresh
scene.pbDisplay(_INTL("{1} changed Forme!",pokemon.name))
next true
elsif poke2.egg?
scene.pbDisplay(_INTL("It cannot be fused with an Egg."))
elsif poke2.hp<=0
scene.pbDisplay(_INTL("It cannot be fused with that fainted Pokémon."))
elsif pokemon==poke2
scene.pbDisplay(_INTL("It cannot be fused with itself."))
else
scene.pbDisplay(_INTL("It cannot be fused with that Pokémon."))
end
else
next false
end
end
else
scene.pbDisplay(_INTL("This can't be used on the fainted Pokémon."))
end
else
scene.pbDisplay(_INTL("It had no effect."))
next false
end
})
ItemHandlers::UseOnPokemon.add(:NLUNARIZER,proc{|item,pokemon,scene|
if isConst?(pokemon.species,PBSpecies,:NECROZMA)
if pokemon.hp>0
if pokemon.fused!=nil
if $Trainer.party.length>=6
scene.pbDisplay(_INTL("You have no room to separate the Pokémon."))
next false
else
#scene.pbAnimForme(pokemon.species,chose,pokemon.form)#
$Trainer.party[$Trainer.party.length]=pokemon.fused
if pokemon.fused!=1#
scene.pbDisplay(_INTL("It had no effect."))#
next false#
else#
pokemon.fused=nil
pokemon.form=0
scene.pbHardRefresh
scene.pbDisplay(_INTL("{1} changed Forme!",pokemon.name))
next true
end#
end
else
chosen=scene.pbChoosePokemon(_INTL("Fuse with which Pokémon?"))
if chosen>=0
poke2=$Trainer.party[chosen]
if isConst?(poke2.species,PBSpecies,:LUNALA) && poke2.hp>0 && !poke2.egg? && poke2.form>=0
#scene.pbAnimFormeFusion(pokemon.species,chose,poke2.species,chosen,newform)#
pokemon.form=2 if isConst?(poke2.species,PBSpecies,:LUNALA)
pokemon.fused=poke2
pbRemovePokemonAt(chosen)
scene.pbHardRefresh
scene.pbDisplay(_INTL("{1} changed Forme!",pokemon.name))
next true
elsif poke2.egg?
scene.pbDisplay(_INTL("It cannot be fused with an Egg."))
elsif poke2.hp<=0
scene.pbDisplay(_INTL("It cannot be fused with that fainted Pokémon."))
elsif pokemon==poke2
scene.pbDisplay(_INTL("It cannot be fused with itself."))
else
scene.pbDisplay(_INTL("It cannot be fused with that Pokémon."))
end
else
next false
end
end
else
scene.pbDisplay(_INTL("This can't be used on the fainted Pokémon."))
end
else
scene.pbDisplay(_INTL("It had no effect."))
next false
end
})
OLD SCRIPT
Spoiler:
Code:
ItemHandlers::UseOnPokemon.add(:NSOLARIZER,proc{|item,pokemon,scene|
if isConst?(pokemon.species,PBSpecies,:NECROZMA)
if pokemon.hp>0
if pokemon.fused!=nil
if $Trainer.party.length>=6
scene.pbDisplay(_INTL("You have no room to separate the Pokémon."))
next false
else
#scene.pbAnimForme(pokemon.species,chose,pokemon.form)#
$Trainer.party[$Trainer.party.length]=pokemon.fused
pokemon.fused=nil
pokemon.form=0
scene.pbHardRefresh
scene.pbDisplay(_INTL("{1} changed Forme!",pokemon.name))
next true
end
else
chosen=scene.pbChoosePokemon(_INTL("Fuse with which Pokémon?"))
if chosen>=0
poke2=$Trainer.party[chosen]
if isConst?(poke2.species,PBSpecies,:SOLGALEO) && poke2.hp>0 && !poke2.egg?
#scene.pbAnimFormeFusion(pokemon.species,chose,poke2.species,chosen,newform)#
pokemon.form=1 if isConst?(poke2.species,PBSpecies,:SOLGALEO)
pokemon.fused=poke2
pbRemovePokemonAt(chosen)
scene.pbHardRefresh
scene.pbDisplay(_INTL("{1} changed Forme!",pokemon.name))
next true
elsif poke2.egg?
scene.pbDisplay(_INTL("It cannot be fused with an Egg."))
elsif poke2.hp<=0
scene.pbDisplay(_INTL("It cannot be fused with that fainted Pokémon."))
elsif pokemon==poke2
scene.pbDisplay(_INTL("It cannot be fused with itself."))
else
scene.pbDisplay(_INTL("It cannot be fused with that Pokémon."))
end
else
next false
end
end
else
scene.pbDisplay(_INTL("This can't be used on the fainted Pokémon."))
end
else
scene.pbDisplay(_INTL("It had no effect."))
next false
end
})
ItemHandlers::UseOnPokemon.add(:NLUNARIZER,proc{|item,pokemon,scene|
if isConst?(pokemon.species,PBSpecies,:NECROZMA)
if pokemon.hp>0
if pokemon.fused!=nil
if $Trainer.party.length>=6
scene.pbDisplay(_INTL("You have no room to separate the Pokémon."))
next false
else
#scene.pbAnimForme(pokemon.species,chose,pokemon.form)#
$Trainer.party[$Trainer.party.length]=pokemon.fused
pokemon.fused=nil
pokemon.form=0
scene.pbHardRefresh
scene.pbDisplay(_INTL("{1} changed Forme!",pokemon.name))
next true
end
else
chosen=scene.pbChoosePokemon(_INTL("Fuse with which Pokémon?"))
if chosen>=0
poke2=$Trainer.party[chosen]
if isConst?(poke2.species,PBSpecies,:LUNALA) && poke2.hp>0 && !poke2.egg?
#scene.pbAnimFormeFusion(pokemon.species,chose,poke2.species,chosen,newform)#
pokemon.form=2 if isConst?(poke2.species,PBSpecies,:LUNALA)
pokemon.fused=poke2
pbRemovePokemonAt(chosen)
scene.pbHardRefresh
scene.pbDisplay(_INTL("{1} changed Forme!",pokemon.name))
next true
elsif poke2.egg?
scene.pbDisplay(_INTL("It cannot be fused with an Egg."))
elsif poke2.hp<=0
scene.pbDisplay(_INTL("It cannot be fused with that fainted Pokémon."))
elsif pokemon==poke2
scene.pbDisplay(_INTL("It cannot be fused with itself."))
else
scene.pbDisplay(_INTL("It cannot be fused with that Pokémon."))
end
else
next false
end
end
else
scene.pbDisplay(_INTL("This can't be used on the fainted Pokémon."))
end
else
scene.pbDisplay(_INTL("It had no effect."))
next false
end
})
Last edited: