Hola, quiero hacer que Forfrou tenga una forma que solo aparezca en una ciudad nevada pero cuando inicio el juego me sale.
Error:
Aquí esta el script.
MultipleForms.registerFURFROU,{
"type1"=>proc{|pokemon|
next if pokemon.form==0 # Forma Normal
case pokemon.form
when 1; next getID(PBTypes,:NORMAL) # Forma Hielo
end
},
"type2"=>proc{|pokemon|
next if pokemon.form==0 # Forma Normal
case pokemon.form
when 1; next getID(PBTypes,:ICE) # Forma Hielo
end
},
"getMoveList"=>proc{|pokemon|
next if pokemon.form==0
movelist=[]
case pokemon.form
when 1; movelist=[[1,:TACKLE],[1,:GROWL],[1,:ICYWIND],[9,:BABYDOLLEYES],
[12,:HEADBUTT],[15,:ICEFANG],[22,:BITE],[27,:AURORABEAM],
[33,:RETALIATE],[35,:TAKEDOWN],[38,:CHARM],
[42,:SUCKERPUNCH],[44,:ICEBEAM],[48,:COTTONGUARD]]
end
},
"getFormOnCreation"=>proc{|pokemon|
maps=[2] # Map IDs for second form
if $game_map && maps.include?($game_map.map_id)
next 1
else
next 0
end
}
})
Que alguien me oriente por favor.
Error:
Aquí esta el script.
MultipleForms.registerFURFROU,{
"type1"=>proc{|pokemon|
next if pokemon.form==0 # Forma Normal
case pokemon.form
when 1; next getID(PBTypes,:NORMAL) # Forma Hielo
end
},
"type2"=>proc{|pokemon|
next if pokemon.form==0 # Forma Normal
case pokemon.form
when 1; next getID(PBTypes,:ICE) # Forma Hielo
end
},
"getMoveList"=>proc{|pokemon|
next if pokemon.form==0
movelist=[]
case pokemon.form
when 1; movelist=[[1,:TACKLE],[1,:GROWL],[1,:ICYWIND],[9,:BABYDOLLEYES],
[12,:HEADBUTT],[15,:ICEFANG],[22,:BITE],[27,:AURORABEAM],
[33,:RETALIATE],[35,:TAKEDOWN],[38,:CHARM],
[42,:SUCKERPUNCH],[44,:ICEBEAM],[48,:COTTONGUARD]]
end
},
"getFormOnCreation"=>proc{|pokemon|
maps=[2] # Map IDs for second form
if $game_map && maps.include?($game_map.map_id)
next 1
else
next 0
end
}
})
Que alguien me oriente por favor.