Back to index

freedink-data  1.08.20080920
Functions
S4-ST3.c File Reference

Go to the source code of this file.

Functions

void main (void)

Function Documentation

void main ( void  )

Definition at line 1 of file S4-ST3.c.

{
 preload_seq(341);
 preload_seq(343);
 preload_seq(347);
 preload_seq(349);
 int &what;
 int &pep;
 &what = random(2, 1);
 if (&what == 1)
 {
  &pep = create_sprite(234, 168, 0, 0, 0);
 }
 if (&what == 2)
 {
  &pep = create_sprite(401, 215, 0, 0, 0);
 }
 sp_brain(&pep, 16);
 sp_base_walk(&pep, 340);
 sp_speed(&pep, 1);
 sp_timing(&pep, 0);
 //set starting pic
 sp_pseq(&pep, 341);
 sp_pframe(&pep, 1);
 sp_script(&pep, "s4-st3p");
}

Here is the call graph for this function: