Back to index

freedink-data  1.08.20080920
S2-MAN1.c
Go to the documentation of this file.
00001 //script for store manager, actually attached to the bench
00002 
00003 void main( void )
00004 {
00005 
00006 preload_seq(347);
00007 preload_seq(349);
00008 int &myrand;
00009 &temp3hold = &current_sprite;
00010 sp_brain(&current_sprite, 0);
00011 sp_base_walk(&current_sprite, 340);
00012 sp_speed(&current_sprite, 0);
00013 
00014 //set starting pic
00015 
00016 sp_pseq(&current_sprite, 349);
00017 sp_pframe(&current_sprite, 1);
00018 }
00019 
00020 
00021 void hit( void )
00022 {
00023 wait(400);
00024 say_stop("`3Ouch!", &current_sprite);
00025 }
00026 
00027