Skip to content

Commit

Permalink
changed red crystal behaviour: replaced resetplayer with explosion
Browse files Browse the repository at this point in the history
  • Loading branch information
fgsfds committed Sep 29, 2019
1 parent 3e0080a commit 5cf628c
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions GAME.CON
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ move WEAMFLY 60

state vz10
ifhitweapon
{
{
ifactor RPGBULLET { shoot RPG }
else
spawn BURNING
Expand Down Expand Up @@ -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 }
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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 }
Expand All @@ -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 }
Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -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
Expand All @@ -2055,7 +2055,7 @@ state skeldyingstate
} }
ifaction EGGOPEN1 { ifactioncount 2 action EGGOPEN2 }
ifaction EGGOPEN2
{
{
ifactioncount 0
{
action EGGOPEN3
Expand Down Expand Up @@ -2671,15 +2671,15 @@ 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
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 } }
Expand Down Expand Up @@ -2786,7 +2786,7 @@ ifspritepal 3
ifai AIWNORMA2
{
ai AIWNORMA2
sizeto 30 30
sizeto 30 30
ifpdistg 20000 ifpdistl 1500 { shoot KNEE }
}
ifnotmoving
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -3406,7 +3406,7 @@ ifspritepal 0
}

ifspritepal 2
{
{
sizeto 11 15 sizeto 11 15 sizeto 11 15
ifcansee ifpdistl 5000 ifaction 0
ifcount 96
Expand Down Expand Up @@ -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 } }
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 5cf628c

Please sign in to comment.