Back to index

freedink-data  1.08.20080920
MAG-STAR.c
Go to the documentation of this file.
00001 //makes stars around Dink
00002 
00003 void main( void )
00004 
00005 int &myx = sp_x(1,-1);
00006 int &myy = sp_y(1,-1);
00007 &myy -= 60;
00008 int &mcrap = create_sprite(&myx, &myy, 6, 169, 1);
00009 sp_seq(&mcrap, 169);
00010 sp_script(&mcrap, "shrink");
00011 &myy -= 30;
00012 &myx -= 30;
00013 int &dcrap = create_sprite(&myx, &myy, 6, 169, 3);
00014 sp_seq(&dcrap, 169);
00015 sp_frame(&dcrap, 3);
00016 sp_script(&dcrap, "shrink");
00017 
00018 &myy += 10;
00019 &myx += 60;
00020 int &rcrap = create_sprite(&myx, &myy, 6, 169, 6);
00021 sp_script(&rcrap, "shrink");
00022 sp_seq(&rcrap, 169);
00023 sp_frame(&rcrap, 6);
00024 
00025 kill_this_task();
00026 }