I'm looking to change a monster's battler graphic. I'm not transforming it, just change it, i tried using@data_enemies[1].battler_name, but it didn't work. any ideas or did i mess up somewhere?
Make a copy of the enemy with a different graphic and transform it into that one.
i know THAT :haha:. i wanted to change the graphic because i have a boss that's a clam and every so often it goes into it's shell and is impervious to attack then comes out of the shell. i don't want to do the whole transform thing because that would make it a WHOLE other monster and i would have to more steps(making variables that set the two monsters hp, sp, etc when they change) than i'd want to make that work. that's why i was looking for a simple graphice change code to change the battler and give the boss a status change.
The stats stay the same when you transform a monster. If the only difference between two monsters is the graphic, then you virtually only change the graphic when you transform from one to another.
Does the current HP stay the same as well?
Yes. *points to Game_Enemy#transform*
def transform(enemy_id)
@enemy_id = enemy_id
@battler_name = $data_enemies[@enemy_id].battler_name
@battler_hue = $data_enemies[@enemy_id].battler_hue
make_action
end
In fact, Game_Enemy#transform does exactly the thing jayle was trying to do.