Screen remains red after hit with status effect in battle

● ARCHIVED · READ-ONLY
Started by omega1227 10 posts View original ↗
  1. When in a battle, I'll get hit with Bleeding. Once I've taken bleeding damage and win the battle (Bleeding is set to end when the battle is over), I go back to the map and the screen is red. I can't figure out for the life of me what would be causing this.

    I'm using a fair number of scripts, but their pretty familiar ones (all Yanfly). 

    Ace Core Engine

    Ace Battle Engine

    Buff & State Manager

    There are others, but these are the only ones I think could be relevant. 

    I know that's not much to go on. I haven't changed these scripts much other than some terms and making a few "false" states into "true", but no code or anything. Can anyone point me in a direction of where I could start looking for a solution? Or let me know what further information I could provide?

    Thanks!
  2. Can you post a picture of the issue, and is bleeding a state? That could be causing your issue if not cured.
  3. The screen is tinted red after the battle. Yes, bleeding is a state and as I mentioned it's marked "Remove at Battle End", so it should be cured. I'm thinking something is tinting the screen when the damage from Bleeding happens, but then it isn't returning it to normal after the battle ends, so the screen is stuck tinted.
  4. That sounds like it might be in a script. As you said it sounds like something is tinting and not un-tinting. Is the red screen a condition of bleeding because if so it would just stop the condition not remove the tint.
  5. Does the screen turn red at all when you're in battle? After battle, does it STAY red, or does it flash from time to time (like it does if you have the poison state)?


    Is it the bleeding state that causes it? If you battle and don't get hit with that state, is the screen also red when the battle ends?
  6. The screen does not turn red in battle. And once battle is over, the screen stays tinted red. And it's any state that causes damage. If the state is applied, but I win the battle before taking damage, nothing happens to the screen. Its when a state causes damage in battle, that afterwards, the screen is stuck as red. And finally, if no states are applied, the screen is fine.
  7. I'm thinking you might have an event - either on the map or a common event - that's activated by a switch that's turned on when taking a state.


    Do you have anything in your states/skills/scripts that turns on a switch when a state is applied?


    Or maybe something in script that happens when a state is applied.
  8. So, I dropped an NPC in the very first room of the game and set a battle process for some enemies that cause bleeding... and the screen still turns red. So, it can't be an event from sometime in the game and it can't be a common event because I went through them and nothing changes tint or has anything to do with states. I double checked all my states and I don't see anything that might cause the problem.

    Therefore, it MUST be a script. I did a "Find" for "screen" in all my scripts and I couldn't see anything that might change the tint. I also tried doing a search for "state", but it's an extremely common word in the scripts and I'm not a RGSS3 expert by any means.

    If upload a demo with all the scripts I've been using, would there be anyone willing to have a look at it for me? My other option is to take out scripts one at a time. I'll be doing that while I await an offer of help.

    Thanks!
  9. I FOUND IT!

    I had a script that was supposed to help keep the framerate up. I really have no idea why it was doing what I've described, but once I delete it and tried a battle, there was no more red screen... I said "supposed to" because I've never really noticed it make a difference. I guess I'll leave it out then and if I do need something to help with FPS, I'll find something else.

    Thanks for assistance!
  10. omega1227, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


    This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.