diff options
Diffstat (limited to 'TemplePushing.c4s/System.c4g/Rock.c')
| -rw-r--r-- | TemplePushing.c4s/System.c4g/Rock.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/TemplePushing.c4s/System.c4g/Rock.c b/TemplePushing.c4s/System.c4g/Rock.c new file mode 100644 index 0000000..e094b4c --- /dev/null +++ b/TemplePushing.c4s/System.c4g/Rock.c @@ -0,0 +1,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); +}
\ No newline at end of file |
