summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/System.c4g/Flint.c
blob: 82309e0fa0ddf971094409cc19fe1cc77956eec7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#strict
#appendto FLNT

func Activate(pClonk)
{
 [$Shot$|Image=GNPW]
 Sound("Blast2");
 Exit(this(),-10+20*GetDir(pClonk));
 SetXDir(-80+160*GetDir(pClonk));
 SetYDir(-10);
 return(1);
}

func Hit()
{
 if (Random(2)) return(_inherited());
 else
 SetYDir(-20);
 Sound("BOING");
 return(1);
}