Save-Point
Transformation Script edit help :X - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Games Development (https://www.save-point.org/forum-4.html)
+--- Forum: Code Support (https://www.save-point.org/forum-20.html)
+--- Thread: Transformation Script edit help :X (/thread-4642.html)



Transformation Script edit help :X - lilcooldude69 - 04-30-2013

okay so, i found this script on a random rm website and for the life of me i can't figure out how to make it transform the character's graphic in battle, its a transformation script that basically changes your class depending on the specified state you have applied to you anyways i was wondering if somone could possibly help me edit it a bit so it will change graphics depending on the the state applied,


Content Hidden

i tried adding a character_name definition and character index definition like so

Code:
def character_name
case transform_class
when 14# the class id
return "$assassin"#name of the file to grab
when 16
return "$final_form"
else
return @character_name
end
end

def character_index
case transform_class
when 14
return 0
when 16
return 0
else
return @character_index
end
end

but idk if this is working right, also i'm using yanfly's battle