Talk:Making a Re-Patch/@comment-24859478-20140512192730

I've got quite a problem again...

Originally, when I lose all my hp, I just go to badend. My script looks like this near the end of every enemy's move:

if %mylife=0 return *oldwizard_h

And it works fine because at the end of *oldwizard_h it takes me to *badend

But I want to make it so when Alice loses all her hp for the first time, she recovers all her hp and some dialogue, and the second time she loses all her hp, thats when she's truly defeated. This is how I've tried to do it. I've highlighted key codes to this problem in a red box;

Part A to my script: http://prntscr.com/3imd2j

Part B to my script: http://prntscr.com/3imeim

The blue box is where I just copy and pasted from the final Illias fight, where Alma restored Luka's hp, hopefully it works in my mod, where Alice's hp will be restored. I haven't tested out if it will work yet because everytime I reach 0 hp, it goes straight to *''oldwizard_h. Why does it skip *oldwizard_d''? Or act as though it's not even there? I want it to go to *oldwizard_ha first.

Thanks!