Back to index

freedink-data  1.08.20080920
Functions
SAVEBOT.c File Reference

Go to the source code of this file.

Functions

void main (void)
void hit (void)
void talk (void)

Function Documentation

void hit ( void  )

Definition at line 9 of file SAVEBOT.c.

{
 say("Die, strange machine that doesn't belong here!", 1);
}
void main ( void  )

Definition at line 1 of file SAVEBOT.c.

{
sp_seq(&current_sprite, 449);
sp_sound(&current_sprite, 34);
sp_brain(&current_sprite, 6);
sp_hitpoints(&current_sprite, 0);
}

Here is the call graph for this function:

void talk ( void  )

Definition at line 14 of file SAVEBOT.c.

{
Playsound(18,22050,0,0,0);

       freeze(1);
        choice_start();
        "Save your game"
        "Leave the strange machine"
        choice_end();
         unfreeze(1);

        if (&result == 2)
        {
         unfreeze(1);
         return;
        }
        choice_start();
        "&savegameinfo"
        "&savegameinfo"
        "&savegameinfo"
        "&savegameinfo" 
        "&savegameinfo" 
        "&savegameinfo" 
        "&savegameinfo" 
        "&savegameinfo" 
        "&savegameinfo" 
        "&savegameinfo" 
         "Nevermind"
        choice_end();

  unfreeze(1);

  if (&result < 11)
 {
  save_game(&result);
  say_xy("`%Game saved", 1, 30);
  }

}

Here is the call graph for this function: