if(usr.level>=36)
if(everstone==0)
if(usr.pkmnis=="charmeleon")
usr.Speeding=1
usr.var_save1=usr.tgym1
usr<<"Something is happening..."
sleep(40)
world<<"[usr] is now evolving!"
sleep(10)
usr<<"your evolution is now taking place..."
sleep(55)
usr.str+=17
usr.def+=18
usr.icon='Pokemon.dmi'
usr.icon_state="charizard"
world<<"[usr] is now a Charizard! Congratulations!"
sleep(10)
usr.Speeding=0
usr.pkmnis="charizard"
usr.wildname="Wild Charizard ~-[usr.key]-~"
usr.tgym1=usr.var_save1
if(usr.pkmnhasowner==null)
usr.name=usr.wildname
usr.Save_Mob()
Problem description:
Ok, well the issue is seen in ALL the Pokemon evo's.
The problem is that when a Pokemon evolves it's supposed to be renamed but for some reason the name won't change. Now this little snippet of coding worked in 3.5 but for some reason it's not working in 4.0 and I can't figure out what's causing the problem.
I even tried adding this to counteract the problem but it won't work either.
Code:
GM
verb
Fix_Name(mob/M in world)
set name="Bugged Name Fix"
set category="GM"
if(M.pkmnhasowner==null)
M.name="[M.wildname]"
return
else
usr<<"That player is caught you cannot fix their name."