RPG Maker MV

RPG Maker MV

Fay May 29, 2021 @ 7:56am
Trying to make a boss transform into phase 2 on death and failing
Hi! I wasn't sure whether to put this in general discussions or tech support so I put it here.

Anyway, my problem is what's described in the title. So far all I've managed to accomplish is either:

1. Battle freezes on start (Not ideal)
2. Battle freezes when the enemy transforms (also not ideal)
3. Battle flows normally but the enemy keeps transforming into phase 2 instead of dying when phase 2 is killed.

I'll try to figure out a way to show the specific events (worst case scenario I can write them out as text)
Originally posted by Dusk_Army:
Try the opposite: give page 2 two conditions, 0 HP and the Switch, then turn the switch off instead of on when page 2 runs. I'd also switch it from moment to turn, personally.

Essentially, what's happening is that your boss is transforming at 0 HP, then turning the switch on. But battle pages, unlike regular event pages, all run as long as their conditions are met, so turning the switch on only makes page 3 possible, without disabling page 2. So consequently, any time the boss hits 0, it transforms into stage 2 and recovers all (again).
< >
Showing 1-7 of 7 comments
Fay May 29, 2021 @ 8:35am 
Okay so my current setup kinda follows something I found online.

I have three event pages.
One page gives the enemy immortal (can't die) on turn 0. (span: turn)
One page triggers at 0 hp, transforms, restores hp (technically recover all but its abilities don't use mana), removes immortal and flips a switch. (span: moment)
Last page requires that switch and does nothing. (span: moment...I think. Or maybe battle. Or maybe changing between moment and battle is what determines if I get error 2 or error 3.)

It seems I can't turn off the transforming page for whatever reason. Halp.
Last edited by Fay; May 29, 2021 @ 9:07am
The author of this thread has indicated that this post answers the original topic.
Dusk_Army May 29, 2021 @ 9:51am 
Try the opposite: give page 2 two conditions, 0 HP and the Switch, then turn the switch off instead of on when page 2 runs. I'd also switch it from moment to turn, personally.

Essentially, what's happening is that your boss is transforming at 0 HP, then turning the switch on. But battle pages, unlike regular event pages, all run as long as their conditions are met, so turning the switch on only makes page 3 possible, without disabling page 2. So consequently, any time the boss hits 0, it transforms into stage 2 and recovers all (again).
Fay May 29, 2021 @ 9:52am 
Do I need to turn the switch on at the starting page then? (the one that gives it immortal on turn 0)

Or does a switch not exist one way or the other until it is turned either off or on?
Last edited by Fay; May 29, 2021 @ 9:53am
Fay May 29, 2021 @ 10:03am 
WOO! IT WORKED! THANKS!!
Dusk_Army May 29, 2021 @ 12:07pm 
Originally posted by Fay:
Do I need to turn the switch on at the starting page then? (the one that gives it immortal on turn 0)

Or does a switch not exist one way or the other until it is turned either off or on?
I believe switches default to false or off, but I'm not 100% sure on that one. It's always best to set it to whatever value you want it to start with manually, though.

In any case, congrats on getting it working!
Fay May 29, 2021 @ 12:15pm 
Yeah, in case someone else finds this post via google or something because they're having the same problem: I did need to turn the switch on.
JohnDoeNews May 29, 2021 @ 8:19pm 
Originally posted by Dusk_Army:
I believe switches default to false or off, but I'm not 100% sure...
Well, you are 100% right. :p

And indeed always set it to the wanted value... Switches do not automatically reset, so they are still ON the next battle, if they were not turned off again.
You, as dev, you need to turn the switch off BEFORE the battle even starts. (Or after each battle ends, as long as it is off before the next battle starts.)
Last edited by JohnDoeNews; May 29, 2021 @ 8:19pm
< >
Showing 1-7 of 7 comments
Per page: 1530 50

Date Posted: May 29, 2021 @ 7:56am
Posts: 7