Ejemplo n.º 1
0
int main ()
{
	freeze (1);
	update_status = 0;
	sp_nodraw (1, 1);
	fill_screen (0);
	sp_noclip (create_sprite (76, 40, "none", "button-start", 1), 1);
	sp_noclip (create_sprite (524, 40, "none", "button-continue", 2), 1);
	sp_noclip (create_sprite (104, 440, "none", "button-ordering", 1), 1);
	sp_noclip (create_sprite (560, 440, "none", "button-quit", 1), 1);
	make_start.build ();
	say_stop ("I thought you won already?", g_daniel);
	say_stop ("I did!", g_dink);
	say_stop ("Am I dead already?", g_eggeric);
	say_stop ("I'm afraid so...", g_adelbrecht);
	say_stop ("That's not a bad thing at all!", g_machteld);
	say_stop ("Anyway, no point to continue, the story is over.", g_daniel);
	restart_game ();
}
Ejemplo n.º 2
0
void main( void )
{
 preload_seq(221);
 preload_seq(223);
 preload_seq(225);
 preload_seq(227);
 preload_seq(229);
 sp_base_walk(&current_sprite,220);
 sp_brain(&current_sprite, 16);
 sp_speed(&current_sprite,1);
 sp_timing(&current_sprite,33);
 sp_nohit(&current_sprite, 1);
 sp_nodraw(&current_sprite, 1);
 int &wait;

loop:

&wait = random(3000,1000);
wait(&wait);

&wait = random(5, 1);

if (&wait == 1)
  {
    say_stop("`#Woe are us!",&current_sprite);

  }

if (&wait == 2)
  {

    say_stop("`#You cannot hurt us Dink.",&current_sprite);

  }

if (&wait == 3)
  {
    sp_nodraw(&current_sprite, 1);
    say_stop("`#You cannot see us Dink.",&current_sprite);

  }

if (&wait == 4)
  {
    sp_nodraw(&current_sprite, 0);
    say_stop("`#LOOK UPON MY DEFORMED FACE!",&current_sprite);
    wait(500);
    say_stop("Spirit, leave me alone!",1);
  }

if (&wait == 5)
  {
    say_stop("`#Some of us like to eat humans.  I would leave if I were you.",&current_sprite);
    wait(500);
    say_stop("I am not afraid, ghost.",1);
  }



goto loop;

}