So I changed a battler's image to include some blur for a scene, but when I go into battle that enemy in a regular battle, the blur is still on him.
My code:
enemy_image = Sprite_Base.new enemy_image.visible = false enemy_image.bitmap = Cache.battler(enemy.battler_name, 0) if $game_system.enemykillcount[enemy.id][0] == false enemy_image.bitmap.blur <----- This line is still applied when I go into battle with this enemy. rect = Rect.new(1, 0, enemy_image.bitmap.width, enemy_image.bitmap.height) target = Rect.new(122, (line_height * 2) + 2, 218, 143 - 2) contents.stretch_blt(target, enemy_image.bitmap, rect, 160)Don't know what I'm doing wrong though. How am I changing every instance of this image?
My code:
enemy_image = Sprite_Base.new enemy_image.visible = false enemy_image.bitmap = Cache.battler(enemy.battler_name, 0) if $game_system.enemykillcount[enemy.id][0] == false enemy_image.bitmap.blur <----- This line is still applied when I go into battle with this enemy. rect = Rect.new(1, 0, enemy_image.bitmap.width, enemy_image.bitmap.height) target = Rect.new(122, (line_height * 2) + 2, 218, 143 - 2) contents.stretch_blt(target, enemy_image.bitmap, rect, 160)Don't know what I'm doing wrong though. How am I changing every instance of this image?