03-08-2009, 03:21 PM
Well, here's the whole method
Thanks for your interest in this strange case. :)
Code:
def switch()
# Remove the sprite
party_position=$game_party.remove_switched_actor(@active_battler.id)
@spriteset.remove_sprite_in_pos(party_position)
# Add the actor
$game_party.add_switched(@switch_id, party_position)
sprite=@spriteset.add_sprite_in_pos(party_position)
sprite.animation($data_animations[SWITCHED_ACTOR_ANIMATION_ID],true) unless SWITCHED_ACTOR_ANIMATION_ID==nil
@status_window.refresh
return
end
Thanks for your interest in this strange case. :)