class Window_Yours < Window_Base
# initialize code here
def refresh
# code here
self.contents.draw_anim_sprite(x, y, w, h, name, hue, stance = 0)
# code here
end
def update
# code here
if Graphics.frame_count % self.contents.anim_sprite_settings['f'] == 0
self.contents.draw_anim_sprite(x, y, w, h, name, hue, stance = 0)
end
# code here
end
end
$animations.push(Animation.new('event',$attacken_id,[0,0],$game_party.actors[$ident - 1].animation1_id)) #Angriff
if count_new = count_old + animation-frames
Next animation playing
end