function textfile_slot_23() /* entry=393 class_id=0x0A17 slot=0x23 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    linkNum, /* [BP+0Ah] type=0x69 */
    msgNum, /* [BP+0Ch] type=0x69 */
    passcode, /* [BP+0Eh] type=0x69 */
    textFile, /* [BP-02h] type=0x73 */
    rnge; /* [BP-04h] type=0x69 */

  entry:
    if (msgNum >= 110) goto block_02EB;

  block_02D1:
    class_0A1F_slot_20(passcode, msgNum, linkNum, arg_06);
    goto block_24DD;

  block_02E8:
    goto block_0313;

  block_02EB:
    if (msgNum >= 60) goto block_0313;

  block_02F9:
    class_0A1D_slot_20(passcode, msgNum, linkNum, arg_06);
    goto block_24DD;

  block_0310:
    goto block_0313;

  block_0313:
    if (msgNum != 0) goto block_0967;

  block_031B:
    rnge = Intrinsic00DA(11, 1);
    if (rnge != 1) goto block_03C9;

  block_0333:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Due to recent rebel activity, the T-300 lines have failed. *^Do NOT attempt to access the WEC network at this time.^END OF MESSAGE...";
    goto block_0964;

  block_03C9:
    if (rnge != 2) goto block_0462;

  block_03D1:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "The use of WEC equipment for playing computerized entertainment software is strictly prohibited!* Return to work IMMEDIATELY!***";
    goto block_0964;

  block_0462:
    if (rnge != 3) goto block_04E9;

  block_046A:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "All workers must display their badges at ALL TIMES!* Failure to comply will result in immediate termination!*^";
    goto block_0964;

  block_04E9:
    if (rnge != 4) goto block_0591;

  block_04F1:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Report all unauthorized use of WEC equipment immediately! Remember, your co-workers could be rebel sympathizers! Collect big cash rewards too!*";
    goto block_0964;

  block_0591:
    if (rnge != 5) goto block_0667;

  block_0599:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Unauthorized access of this terminal constitutes a violation of WEC security code 1701-D. Please report yourself to the nearest WEC security officer for correctional measures IMMEDIATELY.*^";
    goto block_0964;

  block_0667:
    if (rnge != 6) goto block_06D8;

  block_066F:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "The WEC network is exp*erien^*cing*^ slight dif^*ficulties.^Please st$#@**%^#@!*)(*^%$#^";
    goto block_0964;

  block_06D8:
    if (rnge != 7) goto block_07A0;

  block_06E0:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "The carrying of unregistered radiation detection devices is strictly prohibited by the WEC. Register yours today. Remember, the WEC is just like family, and we care about you!";
    goto block_0964;

  block_07A0:
    if (rnge != 8) goto block_07D6;

  block_07A8:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "WEC T-300/SYS out of disk space^";
    goto block_0964;

  block_07D6:
    if (rnge != 9) goto block_0865;

  block_07DE:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Consortium-wide meeting tomorrow at 1330. WedgeRoom 1501. This is a mandatory meeting! All Branch Leaders must attend!";
    goto block_0964;

  block_0865:
    if (rnge != 10) goto block_090B;

  block_086D:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "The WEC Regulatory Commission requires reports of your daily activities. Failure to submit these reports may result in immediate termination.";
    goto block_0964;

  block_090B:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "The WEC network is experiencing slight difficulties.^Please stand by*.*.*.^";

  block_0964:
    goto block_24D4;

  block_0967:
    if (msgNum != 1) goto block_0995;

  block_096F:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Doors have been opened.^";
    goto block_24D4;

  block_0995:
    if (msgNum != 2) goto block_09C4;

  block_099D:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Force field deactivated.^";
    goto block_24D4;

  block_09C4:
    if (msgNum != 3) goto block_09F6;

  block_09CC:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Electronic bridge extended.^";
    goto block_24D4;

  block_09F6:
    if (msgNum != 4) goto block_0A28;

  block_09FE:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Security systems activated.^";
    goto block_24D4;

  block_0A28:
    if (msgNum != 5) goto block_0A5D;

  block_0A30:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Security systems de-activated.^";
    goto block_24D4;

  block_0A5D:
    if ((((msgNum != 6) || (msgNum != 7)) || (msgNum != 8)) || (msgNum != 9)) goto block_0AAF;

  block_0A77:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "All alarm systems have been de-activated.^";
    goto block_24D4;

  block_0AAF:
    if (msgNum != 10) goto block_0B7C;

  block_0AB7:
    /* concat  */
    /* concat  */
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "^Remember, delete this message! Spies are everywhere!";
    goto block_24D4;

  block_0B7C:
    if (msgNum != 11) goto block_0BF1;

  block_0B84:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Security Cartel HQD^___________________^*^Accessing system:*.*.*.*^^Thresher Cannon: *ACTIVE";
    goto block_24D4;

  block_0BF1:
    if (msgNum != 12) goto block_0CB1;

  block_0BF9:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "To all Refinery Ops^2nd Class Tech Stokes has once again started a fire in the thermalcoupler area.^We ask again that all employees smoke only in the authorized areas.";
    goto block_24D4;

  block_0CB1:
    if (msgNum != 13) goto block_0D59;

  block_0CB9:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "To all Refinery Ops^3rd Class Tech Brandt has contaminated the fifth level with dangerous^plutonium isotopes again. Be careful where you step.^";
    goto block_24D4;

  block_0D59:
    if (msgNum != 14) goto block_0DEA;

  block_0D61:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Security Cartel:^________________^Remote viewing facility.^*Thermal Coupler power system.^^Watch Station: ^*<NOW ACTIVE>";
    goto block_24D4;

  block_0DEA:
    if (msgNum != 15) goto block_0E85;

  block_0DF2:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Refinery Operations:^____________________^Now interfacing with remote service droid...*^Thermatron ZC90201^^Unit is now *-ONLINE-.";
    goto block_24D4;

  block_0E85:
    if (msgNum != 16) goto block_0F00;

  block_0E8D:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Security Cartel: ^^Remote alarm panel^User ID <TZ81664>^*^Area is secured:*^Stand down from alert.";
    goto block_24D4;

  block_0F00:
    if (msgNum != 17) goto block_0F6C;

  block_0F08:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Security Cartel:^__________________^Remote Operations^Watch Station: ^*<NOW ACTIVE>";
    goto block_24D4;

  block_0F6C:
    if (msgNum != 18) goto block_10A9;

  block_0F74:
    /* concat  */
    /* concat  */
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = " is this week's passcode.";
    goto block_24D4;

  block_10A9:
    if (msgNum != 19) goto block_118F;

  block_10B1:
    /* concat  */
    /* concat  */
    /* concat  */
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "^This is the last time, Philbert!^";
    goto block_24D4;

  block_118F:
    if (msgNum != 20) goto block_1200;

  block_1197:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "NOTICE:^^To: All Personnel^Please remember to keep your keycards with you at all times.^";
    goto block_24D4;

  block_1200:
    if (msgNum != 21) goto block_1278;

  block_1208:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Security Cartel: ^Operations Center.^User ID T*Z*1*6*^^Area is secured:*^Stand down from Alert.";
    goto block_24D4;

  block_1278:
    if (msgNum != 22) goto block_1342;

  block_1280:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Security Cartel: ^Operations Center.*^User ID T*Z*1*6*^^Due to malfunctions within the security grid, the telepad is inoperative. Please use the backup telepad in the west wing.";
    goto block_24D4;

  block_1342:
    if (msgNum != 25) goto block_1396;

  block_134A:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Phase one of the impassable laser field has been de-activated.";
    goto block_24D4;

  block_1396:
    if (msgNum != 27) goto block_1425;

  block_139E:
    /* concat  */
    /* concat  */
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = ".^*End of Message <";
    goto block_24D4;

  block_1425:
    if (((((msgNum != 23) || (msgNum != 24)) || (msgNum != 26)) || (msgNum != 28)) || (msgNum != 29)) goto block_1471;

  block_1445:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Mission 2 Generic Message 0-9^";
    goto block_24D4;

  block_1471:
    if (msgNum != 30) goto block_1528;

  block_1479:
    /* concat  */
    /* concat  */
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = ".^*End of Message <";
    goto block_24D4;

  block_1528:
    if (msgNum != 31) goto block_15BD;

  block_1530:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Thermatron Assembly Line:^_____________^Now interfacing with remote droid *.*.*.^<Thermatron> VTK944^^Unit is now *-ONLINE-.";
    goto block_24D4;

  block_15BD:
    if (msgNum != 32) goto block_1600;

  block_15C5:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Thermatron Manufacturing Plant:^_____________";
    goto block_24D4;

  block_1600:
    if (msgNum != 33) goto block_166F;

  block_1608:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Refinery Operations:^____________^Remote viewing facility.^*Restricted Access*^Granted";
    goto block_24D4;

  block_166F:
    if (msgNum != 34) goto block_16E2;

  block_1677:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Security Cartel:^________________^Remote viewing facility.^*Production Line^*<DEACTIVATED>";
    goto block_24D4;

  block_16E2:
    if (msgNum != 35) goto block_176C;

  block_16EA:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Security Cartel:^________________^*Auxiliary Production Line^*<ACTIVE>^Shut down requires Security Card Clearance";
    goto block_24D4;

  block_176C:
    if (msgNum != 36) goto block_17B0;

  block_1774:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Thermatron Auxiliary Production Line:^________";
    goto block_24D4;

  block_17B0:
    if (msgNum != 37) goto block_1806;

  block_17B8:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Security Cartel:^________________^*Laser Field^*<DEACTIVATED>";
    goto block_24D4;

  block_1806:
    if (msgNum != 38) goto block_18A0;

  block_180E:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Security Cartel:^________________^Remote viewing facility.^*Laser Field^*<ACTIVE>^Security card clearance required to de-activate";
    goto block_24D4;

  block_18A0:
    if (msgNum != 39) goto block_196F;

  block_18A8:
    /* concat  */
    /* concat  */
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "^Memorize the code and delete this message immediately! <";
    goto block_24D4;

  block_196F:
    if (msgNum != 40) goto block_19C5;

  block_1977:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Security Cartel:^________________^*Laser Field^*<DEACTIVATED>";
    goto block_24D4;

  block_19C5:
    if (msgNum != 41) goto block_1A54;

  block_19CD:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Remote Security Op:^_____________^Now interfacing with remote droid *.*.*.^<Thermatron> ATK656^^Unit is now *-ONLINE-.";
    goto block_24D4;

  block_1A54:
    if (msgNum != 42) goto block_1AAA;

  block_1A5C:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "^Security Control:^_______________^^*Laser Field^*<ACTIVATED>";
    goto block_24D4;

  block_1AAA:
    if (msgNum != 43) goto block_1B1F;

  block_1AB2:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Security Cartel HQD^___________________^*^Accessing system:*.*.*.*^^Thresher Cannon: *ACTIVE";
    goto block_24D4;

  block_1B1F:
    if (msgNum != 44) goto block_1BB3;

  block_1B27:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Security Cartel HQD^___________________^*^Accessing system:*.*.*.*^^SORC Monitoring station security field:^^*<DEACTIVATED>";
    goto block_24D4;

  block_1BB3:
    if (msgNum != 45) goto block_1C6F;

  block_1BBB:
    /* concat  */
    /* concat  */
    /* concat  */
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "^^Spies are everywhere so be alert!";
    goto block_24D4;

  block_1C6F:
    if (msgNum != 46) goto block_1DFD;

  block_1C77:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "^* WEC Email^^To: Prof. Coulson^^From: Sev Dorren,^Security Chief^^Professor, I have installed a force-field at the entrance to the SORC station as you instructed. If there is anything further required please let me know. ^PS: The only way to access the force-field is through the central computer, so I am sure it will be quite safe from any saboteurs. .^*End of Message <";
    goto block_24D4;

  block_1DFD:
    if (msgNum != 47) goto block_1EBF;

  block_1E05:
    /* concat  */
    /* concat  */
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "^*End of Message <";
    goto block_24D4;

  block_1EBF:
    if (msgNum != 48) goto block_1F13;

  block_1EC7:
    /* concat  */
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = Item.hurl(passcode);
    goto block_24D4;

  block_1F13:
    if (msgNum != 49) goto block_1F62;

  block_1F1B:
    /* concat  */
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = Item.hurl(passcode);
    goto block_24D4;

  block_1F62:
    if (msgNum != 50) goto block_2069;

  block_1F6A:
    if (linkNum && passcode) goto block_202C;

  block_1F7B:
    /* concat  */
    /* concat  */
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = ". J.J.";
    goto block_2066;

  block_202C:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "WEC SECURITY SYSTEM:^^Remote Camera: ACTIVE*";

  block_2066:
    goto block_24D4;

  block_2069:
    if (msgNum != 52) goto block_217A;

  block_2071:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Dr. Watson:^Since we no longer produce the 37x18 Chip at the Snell Memorial Science Center, you can expect to receive the remaining chips for meltdown this afternoon. See that no chips find their way out of your facility.^L. Probst^End of Message <";
    goto block_24D4;

  block_217A:
    if (msgNum != 53) goto block_225D;

  block_2182:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Ms. Ashcraft - *It has come to my attention that you have had problems with your platform elevator. Just put an Out of Order sign on it, and I'll send a maintenance worker out to fix it A.S.A.P. Larson ";
    goto block_24D4;

  block_225D:
    if (msgNum != 54) goto block_22B3;

  block_2265:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "WEC SECURITY SYSTEM:^^Remote Camera: ACTIVE*^M.E.L.F. Station";
    goto block_24D4;

  block_22B3:
    if (msgNum != 56) goto block_2313;

  block_22BB:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "WEC SECURITY SYSTEM:^^Remote Camera: *ACTIVE^Teleporter Room^Level Four";
    goto block_24D4;

  block_2313:
    if (msgNum != 57) goto block_2370;

  block_231B:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "WEC SECURITY SYSTEM:^^Remote Camera: ACTIVE*^Security System^*ACTIVE";
    goto block_24D4;

  block_2370:
    if (msgNum != 58) goto block_24D4;

  block_2378:
    if (linkNum && passcode) goto block_2469;

  block_2389:
    /* concat  */
    /* concat  */
    /* concat  */
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "Now you can store your very own load!";
    goto block_24D1;

  block_2469:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    textFile = "WEC SECURITY SYSTEM:^Remote Camera: ACTIVE*^Security System^*ACTIVE^Forcefield Deactivated";

  block_24D1:
    goto block_24D4;

  block_24D4:
    goto block_24DD;

  block_24DD:
    /* free_local_string bp_offset=0xFE target=[BP-02h] */
    return;

}
