Pseudocode decompialtion improvements and docs

This commit is contained in:
MaddoScientisto 2026-03-26 22:10:48 +01:00
commit 589bfc31ef
1898 changed files with 60634 additions and 6597 deletions

View file

@ -0,0 +1,324 @@
function textfil1_slot_20() /* entry=477 class_id=0x0A1F slot=0x20 */
{
if (arg_0C == 60) {
if (!(arg_0A && arg_0E)) {
/* concat */
/* concat */
/* concat */
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Thank you. ";
}
else {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "The laser barriers ^have now been ^deactivated. ";
}
}
else if (arg_0C == 61) {
if (!(arg_0A && arg_0E)) {
/* concat */
/* concat */
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = ".";
}
else {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "61 Generic - ^No Passcode ";
}
}
else if (arg_0C == 62) {
if (!(arg_0A && arg_0E)) {
/* concat */
/* concat */
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = ". ";
}
else {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "62 Generic - ^No Passcode ";
}
}
else if (arg_0C == 63) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Vetron is unable to^comply to control ^request. ";
}
else if (arg_0C == 64) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Vetron Status: Busy";
}
else if (arg_0C == 65) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Taking control of ^Vetron ";
}
else if (arg_0C == 66) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Retaking control of^Vetron ";
}
else if (arg_0C == 67) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Now in phase 1 of ^laser deactivation.";
}
else if (arg_0C == 68) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Phase 2 of laser ^deactivation is now^entered. ";
}
else if (arg_0C == 69) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "The lasers have ^been temporarily ^deactivated. ";
}
else if (arg_0C == 70) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "SECURITY ACCESS NOW^DENIED *.*.*.* ^^Anti-saboteur ^precautions now in ^effect. ";
}
else if (arg_0C == 71) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Alan, ^please remember to ^lock the safe ^tonight. ^^You know as well as^I do that Leach ^will have our heads^if those security ^cards disappear. ^^Chuck";
}
else if (arg_0C == 72) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "LMC SECURITY ^DIVISION: ^^------------ ^^ACCESSING DATABASE:^^Permission to ^activate CAMETRON ^534A *.*.*.* ^^<<APPROVED>> ";
}
else if (arg_0C == 73) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "LMC SECURITY ^DIVISION: ^^------------ ^^ACCESSING DATABASE:^^Permission to ^activate CAMETRON ^534A *.*.*.* ^^<<UNIT OFFLINE>> ";
}
else if (arg_0C == 74) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Alright, Isaac, ^I solved your ^little puzzle. ^^Now I've changed ^the passcode to the^closet. I hope you ^know the exact ^temperature at ^which paper burns.^^Bradbury.";
}
else if (arg_0C == 75) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "LMC SECURITY SYSTEM^NETLINK ACCESS:*.*^^Now resetting the ^anti-saboteur ^precautions. ";
}
else if (arg_0C == 80) {
if (!World.getAlertActive()) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "LMC SECURITY SYSTEM^Unable to access ^PG445 *.*.*.* ^^Red Alert is in ^progress ";
}
else {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "LMC SECURITY SYSTEM^Accessing PG445 ^Please wait *.*.*.*^Electric bridge ^is now extended ";
}
}
else if (arg_0C == 81) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "LMC SECURITY SYSTEM^LMCKP1153 code is ^currently listed at^204. *.*.*.* ^This code expires ^upon use, and will ^no longer be valid ^at this site. ";
}
else if (arg_0C == 82) {
if (!(arg_0A && arg_0E)) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "LMC SECURITY SYSTEM^Due to breaches in ^LMC Security, we ^now enforce keypad ^usage to enable all^security systems. ^^LMCSS151 is set at ^105. ";
}
else {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = ".";
}
}
else if (arg_0C == 83) {
if (!(arg_0A && arg_0E)) {
/* concat */
/* concat */
/* concat */
/* concat */
/* concat */
/* concat */
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "<DEACTIVATED> ";
}
else {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "LMC SECURITY SYSTEM^Accessing SEC0730 ^Please wait .*.*.* ^Access complete. *^Thresher Cannon ^shields 1 and 3 now^<DEACTIVATED> ";
}
}
else if (arg_0C == 84) {
if (!(arg_0A && arg_0E)) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "LMC SECURITY SYSTEM^Barrier wall is now^<DEACTIVATED> ";
}
else {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "LMC SECURITY SYSTEM^Current status: ^TC1217 ";
}
}
else if (arg_0C == 85) {
if (!(arg_0A && arg_0E)) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "LMC SECURITY SYSTEM^Power generator has^been destroyed. ^^Barrier wall is no ^longer operational.";
}
}
else if (arg_0C == 86) {
if (!(arg_0A && arg_0E)) {
/* concat */
/* concat */
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "^Enjoy! Jym ";
}
}
else if (arg_0C == 87) {
if (!(arg_0A && arg_0E)) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "LMC SECURITY SYSTEM^Medichamber now ^open. ^^<ACCESS GRANTED> ";
}
}
else if (arg_0C == 88) {
if (!World.getAlertActive()) {
if (!(arg_0A && arg_0E)) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "LMC SECURITY SYSTEM^Unable to access ^PG295. ^^Red Alert in now ^progress. ";
}
else {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Generic text here ";
}
}
else {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "LMC SECURITY SYSTEM^Accessing PG295 ^Please wait *.*.*. ^Door is now open. ";
}
}
else if (arg_0C == 89) {
if (!(arg_0A && arg_0E)) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Mr. Gump, ^You can now access ^the security panel ^on level 6. The ^code is 153. ^P. Zimber ";
}
else {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "LMC SECURITY SYSTEM^Solartron ID #MAR26^<ONLINE> ";
}
}
else if (arg_0C == 90) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Security door 14J ^has been activated.";
}
else if (arg_0C == 91) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "SECURITY OPERATIONS^__________________^^Attempted interface^with remote droid *^Unit has been: *^<DESTROYED> ";
}
else if (arg_0C == 92) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "SECURITY OPERATIONS^__________________^^Now interfacing ^with remote droid *^BKA1710C. Unit is:*^<ONLINE> ";
}
else if (arg_0C == 93) {
if (!(arg_0A && arg_0E)) {
/* concat */
/* concat */
/* concat */
/* concat */
/* concat */
/* concat */
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "a living... ";
}
else {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "LMC: SECURED AREA ";
}
}
else if (arg_0C == 94) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Denise, ^I put a few things ^in the floor safe ^for good measure. ^Reset the code to ^247 and let's get ^out of here ASAFP! ";
}
else if (arg_0C == 95) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "SECURITY OPERATIONS^__________________^^Attempting to ^interface with ^remote droid *.*.*.^Unit has been ^<DESTROYED> ";
}
else if (arg_0C == 96) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "SECURITY OPERATIONS^__________________^^Lowering power for ^security gun *...* ^Shield is now ^<DEACTIVATED>. ";
}
else if (arg_0C == 97) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Heather, ^don't wait for the ^signal! Get out of ^the base as soon as^you can! ^^Upper management is^going berserk. ^Something's ^definitely wrong. ^Take the supplies ^from the floor safe^and leave now! ^^Kevin ";
}
else if (arg_0C == 98) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Safe is empty... ";
}
else if (arg_0C == 99) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "LMC SECURITY ^OPERATIONS: ^^Terminating power ^to Radix shields.**^Power now has been ^rerouted to field ^containment. ^^Radix units K35 ^through K41 still ^operational. ";
}
else if (arg_0C == 100) {
if (!(arg_0A && arg_0E)) {
/* concat */
/* concat */
/* concat */
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Have a nice day. ";
}
else {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Secured door is now^open. ";
}
}
else if (arg_0C == 101) {
if (!(arg_0A && arg_0E)) {
/* concat */
/* concat */
/* concat */
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Have a nice day. ";
}
else {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "No passcode is ^available. ";
}
}
else if (arg_0C == 102) {
if (!(arg_0A && arg_0E)) {
/* concat */
/* concat */
/* concat */
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Thank you. ";
}
else {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Null message 102. ";
}
}
else if (arg_0C == 103) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "The mining door ^ahead of you has ^the passcode 22. ";
}
else if (arg_0C == 104) {
if (!World.getAlertActive()) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "<<WARNING>> **^An intruder has ^been sighted. All ^alarm systems are ^<ACTIVE> ";
}
else {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Currently, all ^systems are normal.^Alarm systems are ^<OFFLINE> ";
}
}
else if (arg_0C == 105) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Mr. Wantaburger,** ^in memory of you, I^set the combination^to 011, your IQ. **^I also locked a ^computer security ^system with the ^number 022, just ^because I can. ";
}
else if (arg_0C == 106) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Access accepted. ^Now opening the ^doors. ";
}
else if (arg_0C == 107) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Access denied ^-------------- ^^Terminal lockout ^is effective. ^^Further attempts to^access the terminal^without proper ^authorization will ^result in immediate^termination. ";
}
else if (arg_0C == 108) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Access accepted ^--------------- ^^Code Red: Engaged ";
}
else if (arg_0C == 109) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Access Accepted ^--------------- ^^Code Red: Disabled ^Generator shields ^are now INACTIVE ";
}
else {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Bad command or file name...^Message is out of range.";
}
/* strcmp */
if (!("")) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "Bad command or file name...^File is out of range.";
}
/* free_local_string bp_offset=0xFE target=[BP-02h] */
return;
}