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 (); }
void main( void ) { preload_seq(221); preload_seq(223); preload_seq(225); preload_seq(227); preload_seq(229); sp_base_walk(¤t_sprite,220); sp_brain(¤t_sprite, 16); sp_speed(¤t_sprite,1); sp_timing(¤t_sprite,33); sp_nohit(¤t_sprite, 1); sp_nodraw(¤t_sprite, 1); int &wait; loop: &wait = random(3000,1000); wait(&wait); &wait = random(5, 1); if (&wait == 1) { say_stop("`#Woe are us!",¤t_sprite); } if (&wait == 2) { say_stop("`#You cannot hurt us Dink.",¤t_sprite); } if (&wait == 3) { sp_nodraw(¤t_sprite, 1); say_stop("`#You cannot see us Dink.",¤t_sprite); } if (&wait == 4) { sp_nodraw(¤t_sprite, 0); say_stop("`#LOOK UPON MY DEFORMED FACE!",¤t_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.",¤t_sprite); wait(500); say_stop("I am not afraid, ghost.",1); } goto loop; }