Back to index

freedink-data  1.08.20080920
S1-OLDD.c
Go to the documentation of this file.
00001 void main( void )
00002 {
00003 }
00004                 
00005 void talk( void )
00006 {
00007 freeze(1);
00008 freeze(&current_sprite);
00009     choice_start();
00010    "Tell the duck to go home"
00011    "Yell at it"
00012     choice_end();
00013    if (&result == 1)
00014    {
00015  wait(500);
00016  say_stop("Hey little duck, you gotta get home to Ethel.", 1);
00017  wait(500);
00018  say_stop("`0QUACK!!", &current_sprite);
00019  wait(500);
00020    }
00021    if (&result == 2)
00022    {
00023  wait(500);
00024  say_stop("You suck little duck guy, not even I run away from home.", 1);
00025  wait(250);
00026  say_stop("You should be ashamed.", 1);
00027  wait(500);
00028  say_stop("`0Bite me", &current_sprite);
00029  wait(250);
00030  say_stop("`0But fine, I'll go home...", &current_sprite);
00031  wait(500);
00032  &old_womans_duck = 2;
00033  sp_speed(&current_sprite, 2);
00034  sp_timing(&current_sprite, 0);
00035 
00036  move_stop(&current_sprite, 8, -12, 1);
00037  sp_active(&current_sprite, 0);
00038 
00039    }
00040 unfreeze(1);
00041 unfreeze(&current_sprite);
00042 }
00043 
00044 void die( void )
00045 {
00046  &old_womans_duck = 3;
00047  say_stop("Haw haw!", 1);
00048 }
00049 
00050