Back to index

freedink-data  1.08.20080920
S3-ST2.c
Go to the documentation of this file.
00001 void main( void )
00002 {
00003 //Create text on wall
00004  int &text = say_xy("The best in bows", 18, 23);
00005 debug("Ok, changing sprite &text");
00006  sp_kill(&text, 0);
00007 
00008  //Create salesperson or something
00009  int &pep;
00010  &pep = create_sprite(300, 130, 0, 0, 0);
00011  sp_brain(&pep, 16);
00012  sp_base_walk(&pep, 370);
00013  sp_speed(&pep, 1);
00014  sp_timing(&pep, 0);
00015  //set starting pic
00016  sp_pseq(&pep, 373);
00017  sp_pframe(&pep, 1);
00018  sp_script(&pep, "s3-st2p");
00019 }
00020