mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
fixes some misnamed outfits
This commit is contained in:
@@ -842,17 +842,23 @@ def apply_concert_lighting(light, duration = 1)
|
|||||||
end
|
end
|
||||||
|
|
||||||
def replaceFusionSpecies(pokemon, speciesToChange, newSpecies)
|
def replaceFusionSpecies(pokemon, speciesToChange, newSpecies)
|
||||||
currentBody = pokemon.species_data.get_body_species()
|
currentBody = pokemon.species_data.get_body_species_symbol()
|
||||||
currentHead = pokemon.species_data.get_head_species()
|
currentHead = pokemon.species_data.get_head_species_symbol()
|
||||||
should_update_body = currentBody == speciesToChange
|
should_update_body = currentBody == speciesToChange
|
||||||
should_update_head = currentHead == speciesToChange
|
should_update_head = currentHead == speciesToChange
|
||||||
|
|
||||||
|
echoln speciesToChange
|
||||||
|
echoln currentBody
|
||||||
|
echoln currentHead
|
||||||
|
|
||||||
|
|
||||||
return if !should_update_body && !should_update_head
|
return if !should_update_body && !should_update_head
|
||||||
|
|
||||||
newSpeciesBody = should_update_body ? newSpecies : currentBody
|
newSpeciesBody = should_update_body ? newSpecies : currentBody
|
||||||
newSpeciesHead = should_update_head ? newSpecies : currentHead
|
newSpeciesHead = should_update_head ? newSpecies : currentHead
|
||||||
|
|
||||||
newSpecies = getFusionSpecies(newSpeciesBody, newSpeciesHead)
|
newSpecies = getFusionSpecies(newSpeciesBody, newSpeciesHead)
|
||||||
|
echoln newSpecies.id_number
|
||||||
pokemon.species = newSpecies
|
pokemon.species = newSpecies
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 3.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.5 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.5 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.5 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.4 KiB |
Reference in New Issue
Block a user