mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
unfusing to pc fix
This commit is contained in:
@@ -1377,14 +1377,15 @@ def pbDNASplicing(pokemon, scene, supersplicers = false, superSplicer = false)
|
|||||||
poke1.exp = exp_body
|
poke1.exp = exp_body
|
||||||
poke2.exp = exp_head
|
poke2.exp = exp_head
|
||||||
end
|
end
|
||||||
|
body_level=poke1.level
|
||||||
|
head_level=poke2.level
|
||||||
if $Trainer.party.length >= 6
|
if $Trainer.party.length >= 6
|
||||||
if (keepInParty == 0)
|
if (keepInParty == 0)
|
||||||
$PokemonStorage.pbStoreCaught(poke2)
|
$PokemonStorage.pbStoreCaught(poke2)
|
||||||
scene.pbDisplay(_INTL("{1} was sent to the PC.", poke2.name))
|
scene.pbDisplay(_INTL("{1} was sent to the PC.", poke2.name))
|
||||||
else
|
else
|
||||||
poke2 = PokeBattle_Pokemon.new(bodyPoke, lev, $Trainer)
|
poke2 = Pokemon.new(bodyPoke, body_level)
|
||||||
poke1 = PokeBattle_Pokemon.new(headPoke, lev, $Trainer)
|
poke1 = Pokemon.new(headPoke, head_level)
|
||||||
|
|
||||||
$PokemonStorage.pbStoreCaught(poke2)
|
$PokemonStorage.pbStoreCaught(poke2)
|
||||||
scene.pbDisplay(_INTL("{1} was sent to the PC.", poke2.name))
|
scene.pbDisplay(_INTL("{1} was sent to the PC.", poke2.name))
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user