Hey

I have problem with the Blizz-ABS (2.85) idle animation(enemy,Actor) i get this error:
" undefined method `-' for nil:NilClass "
and the marked error code:
#----------------------------------------------------------------------------
# sprite_animation_setup
# Processes the sprite-animation timing.
#----------------------------------------------------------------------------
def sprite_animation_setup
# if not Scene_Map, spriteset doesn't exist, not valid or no action sprites
if !$
scene.is_a?(Scene_Map) || $scene.spriteset == nil || !valid? ||
!action_sprites?
# stop
return
end
# if defending
if @ai.act.defend?
# set spriteset name add-ons
@current_sprite, @weapon_sprite = BlizzABS::SPRDefend, ''
# set spriteset name
@character_name = @character_name_org + @current_sprite
# spriteset name add-on exists
elsif @current_sprite != '' && @character_name_org != ''
# decrease frame timer
@sframes[@sindex] -= 1 <----------------- HERE IS THE ERROR

# increase frame index if this frame is over
@sindex += 1 if @sframes[@sindex] <= 0
# if animation expired
if @sindex >= @sframes.size
# reset sprites
reset_sprites
# set the index back
@sindex = 0
else
# set spriteset name
@character_name = @character_name_org + @current_sprite
end
else
# reset sprites
reset_sprites
end
# if sprite extension doesn't exist already
if @current_sprite == '' && @character_name_org != ''
# set up movement sprite handling
sprite_movement_animation_setup
end
end
The code can be found in the Blizz-ABS part 3 at line 1222 hope someone can help me

Thanks ahead.
PS: Sorry for my bad english and greetings from Germany

(Using RPGXP 102E)