Battle Freezes when I display a message

TheFe91

Villager
Member
Joined
Oct 5, 2017
Messages
8
Reaction score
0
First Language
Italian
Primarily Uses
RMMV
Hi everybody!

I have a scripted battle in my game with a Troop of 5 enemies, 4 "side enemies" and a Boss Enemy.

What I wanted to do was to make the Boss invulnerable if the user doesn't kill the other enemies BEFORE the boss itself.
So I create the boss with the "immortality" state on and then i do those scripts:

upload_2017-10-12_18-1-27.png
upload_2017-10-12_18-1-49.png

My RMMV is in Italian language: "Fine del Turno" is "End of Turn", FYI.

With this script at every turn I check if there is only 1 enemy alive: if it is then it must be the Boss, and so I remove the invulnerability; otherwise I recharge my boss HP and display a message of the boss itself: and here comes the problem: if I display a message, the game after the message has been displayed correctly freezes and I can't do anything. But the script is correct, because in console I see all my debug messages, so the script is working fine...

Any suggestion?

Thanks in advice!
 

TheFe91

Villager
Member
Joined
Oct 5, 2017
Messages
8
Reaction score
0
First Language
Italian
Primarily Uses
RMMV
OK, I know this doesn't make sense, but I tried to put the screen 3 script in a "else" bracket in screen 2...AND IT WORKS!!!
Really don't know why, but if someone could explain I'll be very happy!

Thank you
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

This forum is a great source of procrastination for me.
Today I read "The mouth speaks what the heart is full of." Simple, and reminds me I have a ton of work to do.
Why are cats so darn cute when their tongues are sticking out? If I did that, it wouldn't have the same effect.
The joy when you see a notification, the down when it's just a unnecessary quote of one of your posts again.

Forum statistics

Threads
94,399
Messages
920,619
Members
124,179
Latest member
mybriguy
Top