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

40 card deck size, the plugin seems more sluggish.
Village theme I composed for a commission!
Stream will be live shortly with some Haunting Ground! Feel free to drop by!
welp, the stock market went down by 7% because of corona today. Time to buy stocks?
Man, being able to edit my game WHILE testplaying it is like the most convenient thing EVER. Thank you, MV...it even makes up for the OGG thing. Well, almost.

Forum statistics

Threads
94,559
Messages
921,880
Members
124,424
Latest member
Detulovnoc
Top