Don't like ads? PRO users don't see any ads ;-)
Guest

MassEffect

By: a guest on Jun 8th, 2012  |  syntax: C#  |  size: 0.66 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. int mass_effect_storyline(Hero commander_sheppard)
  2. {
  3.         while (reaper_threat)
  4.         {
  5.                 while (!commander_sheppard.hit_by_beam())
  6.                 {
  7.                         commander_sheppard.hold_the_line();
  8.                         if (obstacle)
  9.                                 commander_sheppard.get_the_job_done();
  10.                         if (commander_sheppard.jobs_done() > obstacles)
  11.                                 commander_sheppard.hit_by_beam();
  12.                 }
  13.                 while (commander_sheppard.hit_by_beam())
  14.                 {
  15.                         if (commander_sheppard.allys() == max_allys)
  16.                         {
  17.                                 commander_sheppard.refuse_indoctrination();
  18.                                 commander_sheppard.hit_by_beam(false);
  19.                         else
  20.                         {
  21.                                 commander_sheppard.accept_indoctrination();
  22.                                 return 0;
  23.                         }
  24.                 }
  25.                 commander_sheppard.hold_the_line();
  26.                 return 1;
  27.         }
  28. }