|
|
|
|
@ -71,7 +71,7 @@ mapposy = myposy + global.mapoffsety;
|
|
|
|
|
if (room != rm_a0h14) global.dmap[mapposx, mapposy] = 10;
|
|
|
|
|
else global.dmap[43, 24] = 10;
|
|
|
|
|
with (oControl) event_user(2);
|
|
|
|
|
|
|
|
|
|
dead = false;
|
|
|
|
|
</string>
|
|
|
|
|
</argument>
|
|
|
|
|
</arguments>
|
|
|
|
|
@ -271,8 +271,31 @@ if (state == 5 || dodging) alarm[2] = 3;
|
|
|
|
|
<arguments>
|
|
|
|
|
<argument>
|
|
|
|
|
<kind>1</kind>
|
|
|
|
|
<string>if(global.metdead[myid] == 1){
|
|
|
|
|
instance_destroy();
|
|
|
|
|
<string>if(global.metdead[myid] == 1 && !dead){
|
|
|
|
|
dead = true;
|
|
|
|
|
myhealth = 0;
|
|
|
|
|
if (myhealth <= 0) {
|
|
|
|
|
state = 100;
|
|
|
|
|
statetime = 0;
|
|
|
|
|
alarm[10] = 1;
|
|
|
|
|
alarm[11] = 160;
|
|
|
|
|
flashtime = 180;
|
|
|
|
|
turndelay = 180;
|
|
|
|
|
PlaySoundMono(deathsound);
|
|
|
|
|
global.metdead[myid] = 1;
|
|
|
|
|
global.monstersleft -= 1;
|
|
|
|
|
global.monstersarea -= 1;
|
|
|
|
|
check_areaclear();
|
|
|
|
|
global.monstersalive -= 1;
|
|
|
|
|
if (global.monstersalive == 0) {
|
|
|
|
|
mus_fadeout(musGammaFight);
|
|
|
|
|
oMusicV2.bossbgm = sndJump;
|
|
|
|
|
}
|
|
|
|
|
if (instance_exists(grabber)) with (grabber) instance_destroy();
|
|
|
|
|
if (instance_exists(arms)) with (arms) instance_destroy();
|
|
|
|
|
global.dmap[mapposx, mapposy] = 11;
|
|
|
|
|
with (oControl) event_user(2);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (active == 1) {
|
|
|
|
|
if (state == 1) {
|
|
|
|
|
|