From 5cf628ca55bfb7ef697e85f0d3f75d05138efbe0 Mon Sep 17 00:00:00 2001 From: fgsfds <4870330+fgsfds@users.noreply.github.com> Date: Sun, 29 Sep 2019 14:06:47 +0500 Subject: [PATCH] changed red crystal behaviour: replaced resetplayer with explosion --- GAME.CON | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/GAME.CON b/GAME.CON index 9c8155f..2e4f531 100644 --- a/GAME.CON +++ b/GAME.CON @@ -7,7 +7,7 @@ move WEAMFLY 60 state vz10 ifhitweapon - { + { ifactor RPGBULLET { shoot RPG } else spawn BURNING @@ -111,7 +111,7 @@ actor SHARK SHARKSTRENGTH ASHARKCRUZING SHARKVELS randomangle geth enda action BURNING_FLAME 0 12 1 1 2 -move BURNING_VELS +move BURNING_VELS state burningstate ifcount 128 { sizeto 8 8 sizeto 8 8 ifactioncount 36 killit } @@ -174,8 +174,8 @@ state crystal20 ifspritepal 10 { ifactioncount 0 { soundonce MAGICRYSTALL move CRYFACE faceplayer } - ifactioncount 16 { soundonce GLASS_HEAVYBREAK spritepal 2 lotsofglass 30 } - ifactioncount 18 { resetplayer killit } + ifactioncount 16 { soundonce GLASS_HEAVYBREAK spritepal 2 lotsofglass 30 hitradius 4096 1000 1000 1000 1000 } + ifactioncount 18 { killit } } ends @@ -1195,7 +1195,7 @@ enda move NEWSANMY state del10 ifspawnedby SANDMAN - { + { ifmove 0 { cstat 0 } sizeto 15 15 spritepal 3 ifcount 16 ifrnd 1 { move NEWSANMY geth cstat 257 cactor SANDMAN } @@ -1208,7 +1208,7 @@ actor ORGANTIC state del10 enda state del11 ifspawnedby SANDMAN - { + { ifmove 0 { cstat 0 } sizeto 15 15 spritepal 5 ifcount 16 ifrnd 1 { move NEWSANMY geth cstat 257 cactor SANDMAN } @@ -1251,7 +1251,7 @@ state big300 { ifawayfromwall { action ABIGSPIDER10 move BIGSP10 jumptoplayer ifrnd 128 { spritepal 9 } } ifceilingdistl 70 { spritepal 9 ifrnd 128 { action ABIGSPIDER move BIGSP faceplayer } } - iffloordistl 8 + iffloordistl 8 { ifmove BIGSP { @@ -2045,7 +2045,7 @@ state skeldyingstate { ifcount 64 { action EGGWAIT move 0 } { - ifrnd 128 { action EGGWAIT move 0 } + ifrnd 128 { action EGGWAIT move 0 } else { sound SLIM_HATCH @@ -2055,7 +2055,7 @@ state skeldyingstate } } ifaction EGGOPEN1 { ifactioncount 2 action EGGOPEN2 } ifaction EGGOPEN2 - { + { ifactioncount 0 { action EGGOPEN3 @@ -2671,7 +2671,7 @@ state fem79 ifspritepal 0 { cstat 32768 ifrnd 0 { spritepal 3 } } ifspritepal 3 { cstat 257 } ends -state fem80 ifpdistl 2048 ifhitspace ai AIFEMMGO else ifmove FEMMGO soundonce STRAUS1 +state fem80 ifpdistl 2048 ifhitspace ai AIFEMMGO else ifmove FEMMGO soundonce STRAUS1 ifmove FEMMGO ifpdistl 1024 { addphealth -1 soundonce HERO_LONGTERM_PAIN5 palfrom 48 5 resetactioncount } ends state fem81 ifpdistl 3300 ifpdistg 3049 ai AIFEMMSTO ends @@ -2679,7 +2679,7 @@ state fem82 ifpdistl 35000 ifpdistg 3501 ai AIFEMMAN ends state fem83 ifcansee ifpdistg 35000 move FEMMGO1 geth ends state fem84 ifhitweapon - { + { { ifwasweapon SHOTSPARK1 soundonce LADY_SCREAM guts JIBS4 15 guts JIBS1 1 } { ifwasweapon KNEE soundonce LADY_SCREAM guts JIBS4 13 guts JIBS1 1 } { ifwasweapon RPG guts JIBS4 50 guts JIBS1 1 { killit } } @@ -2786,7 +2786,7 @@ ifspritepal 3 ifai AIWNORMA2 { ai AIWNORMA2 - sizeto 30 30 + sizeto 30 30 ifpdistg 20000 ifpdistl 1500 { shoot KNEE } } ifnotmoving @@ -3190,7 +3190,7 @@ ai AISNADAN1 ASNADAN1 SNADAN1 geth ai AISNADAN2 ASNADAN2 SNADAN1 geth ai AISNADAN3 ASNADAN3 SNADAN1 geth ai AISNADAN4 ASNADAN4 SNADAN1 geth - + state ste8 ifpdistl 6500 soundonce OST_D ends state ste9 ifcount SHRUNKCOUNT { action ASNADAN0 } ends state ste10 ifaction ASNADAN0 { ai AISNADAN4 } ends @@ -3406,7 +3406,7 @@ ifspritepal 0 } ifspritepal 2 - { + { sizeto 11 15 sizeto 11 15 sizeto 11 15 ifcansee ifpdistl 5000 ifaction 0 ifcount 96 @@ -3728,7 +3728,7 @@ state bli10 } ifaction ABL20 ifmove BL20 { - ifpdistl 1024 + ifpdistl 1024 { ifspritepal 0 { globalsound COWARD ifrnd 256 { killit } } ifspritepal 1 { globalsound NOSEE ifrnd 256 { killit } } @@ -4379,7 +4379,7 @@ state lift10 ifmove STOPLIFT { stopsound OLDLIFT } ifmove UPLIFT { soundonce OLDLIFT } ifmove DOWNLIFT { soundonce OLDLIFT } -ends +ends actor MAXLIFT 0 ALIFT6 cstat 417 state lift10 sizeto 30 30