Diego Mertens
Dartrix Joven
Alola! Quería preguntarles, como dice en el título, cómo hacer para cambiar el tipo del Pokémon al cambiar de forma, ya intenté poniendo algo así
No dejen, ya lo solucioné (con ayuda de un amigo)
MultipleForms.register
BUTTERFREE,{
"getForm"=>proc{|pokemon|
maps=[2]
if $game_map && maps.include?($game_map.map_id)
next 1
else
next 0
end
}
})
También traté así:
"getForm"=>proc{|pokemon|
maps=[2]
if $game_map && maps.include?($game_map.map_id)
next 1
else
next 0
end
}
})
También traté así:
MultipleForms.register
BUTTERFREE,{
"getForm"=>proc{|pokemon|
maps=[2]
if $game_map && maps.include?($game_map.map_id)
next 1
else
next 0
end
},
"type2"=>proc{|pokemon|
next if pokemon.form==0
case pokemon.form
when 1; next getID(PBTypes,
SYCHIC)
Pero al ponerlo así me sale error de syntaxis, en la línea del "}"
¿Qué puede ser?
"getForm"=>proc{|pokemon|
maps=[2]
if $game_map && maps.include?($game_map.map_id)
next 1
else
next 0
end
},
"type2"=>proc{|pokemon|
next if pokemon.form==0
case pokemon.form
when 1; next getID(PBTypes,
Pero al ponerlo así me sale error de syntaxis, en la línea del "}"
¿Qué puede ser?
No dejen, ya lo solucioné (con ayuda de un amigo)
Última edición: