For some reason it's randomly decided that it doesn't want to accept this block of code.
the red line is the one it finds an error with. it says
"Wrong number of arguments (2 for 1)"
anyone help?
thanks in advance.
-Arcor
Code:
@enemy_sprites = []
for enemy in $game_troop.enemies.reverse
[COLOR=Red] @enemy_sprites.push(Sprite_Battler.new(@viewport1, enemy))[/COLOR]
end
the red line is the one it finds an error with. it says
"Wrong number of arguments (2 for 1)"
anyone help?
thanks in advance.
-Arcor