For some reason, when using Battle Luna script from the Luna Engine, any sort of animation coming from an enemy has Screen Flashes omitted. I have tested and removed many scripts and identified Battle Luna as the problem. I've also tested this on a new project and this is replicable .
It mostly revolves around this line of code in Spriteset_Battle in Battle Luna.
What's important is the "Sprite_Battler.new(@info_viewport)". If that is set to @viewport1, flashes will show but animations will appear behind the HUD, which is something I don't want. If it's set to @info_viewport, it'll show the animation over the HUD, but not play any screen flashes if it's an enemy using the skill. I'm not entirely sure why it does this.
Is there a fix to this? If not, is someone willing to code a fix? Making enemy skills without screen flashes is very hard.
Quick Edit: Editing Z values on a bunch of viewports didn't work either: it resulted in multiple HUD elements disappearing.
It mostly revolves around this line of code in Spriteset_Battle in Battle Luna.
Code:
def create_actors
max_members = $game_party.max_battle_members
@actor_sprites = Array.new(max_members) { Sprite_Battler.new(@info_viewport) }
end
What's important is the "Sprite_Battler.new(@info_viewport)". If that is set to @viewport1, flashes will show but animations will appear behind the HUD, which is something I don't want. If it's set to @info_viewport, it'll show the animation over the HUD, but not play any screen flashes if it's an enemy using the skill. I'm not entirely sure why it does this.
Is there a fix to this? If not, is someone willing to code a fix? Making enemy skills without screen flashes is very hard.
Quick Edit: Editing Z values on a bunch of viewports didn't work either: it resulted in multiple HUD elements disappearing.