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

func Activate(pClonk)
{
 [$Shot$|Image=GNPW]
 Sound("Blast1");
 Exit(this(),-15+30*GetDir(pClonk));
 SetXDir(-100+200*GetDir(pClonk));
 SetYDir(-10);
 return(1);
}

func Hit()
{
 if (Random(5)) return(_inherited());
 SetYDir(-25);
 Sound("BOING");
 return(1);
}