diff --git a/.github/instructions/ghidra-mcp-server-updates.instructions.md b/.github/instructions/ghidra-mcp-server-updates.instructions.md
index 3e6f499..9a26f37 100644
--- a/.github/instructions/ghidra-mcp-server-updates.instructions.md
+++ b/.github/instructions/ghidra-mcp-server-updates.instructions.md
@@ -22,6 +22,8 @@ Use these instructions when making changes in the local Ghidra MCP source at K:/
- Keep backward compatibility for endpoint naming when practical by adding aliases instead of removing old routes.
- Keep xref and analysis outputs machine-friendly and evidence-rich (addresses, ref type, classification, function context).
+- **Terminal execution rule:** When running multi-line Python for testing or server-side scripts, do not paste multi-line code into interactive terminals. Always write the code to a temporary `.py` file and execute it with the Python interpreter. This prevents paste-related failures and preserves the intended execution environment.
+
## Verification Rules
- After server edits, run a Maven validation from K:/mcp/GhidraMCP.
diff --git a/.github/instructions/ghidra.instructions.md b/.github/instructions/ghidra.instructions.md
index cf20caa..850d835 100644
--- a/.github/instructions/ghidra.instructions.md
+++ b/.github/instructions/ghidra.instructions.md
@@ -37,7 +37,8 @@ applyTo: "**"
- **Always use `rename_function_by_address`** — `rename_function` (by name) fails with "must have required property 'old_name'" and is broken. Use `"function_address": "000c:XXXX"` format.
- For substantive RE batches, end with at least 6 concrete future steps unless the task is fully closed and there are genuinely fewer defensible next actions.
- When a batch analyzes currently unnamed Ghidra functions and the behavior is clear enough, rename them in Ghidra instead of leaving them as positional `FUN_xxxx_xxxx` placeholders.
-
+-
+- **Terminal execution rule:** Always write multi-line Python scripts to a temporary `.py` file and execute that file with the Python interpreter instead of pasting multi-line Python directly into an interactive terminal. This avoids paste/encoding/line-ending issues and ensures the script runs in the expected environment.
# Executable Write Safety
- Normal Ghidra database work on `CRUSADER.EXE` remains in scope: renames, comments, prototypes, local-variable/type cleanup, function creation/deletion, and boundary repair are allowed unless the user says otherwise.
diff --git a/.gitignore b/.gitignore
index 19f0d8f..c0d2ba4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,5 @@
# Ghidra caches and temporary files
-ghidra_*
+ghidra_*/**
*.bak
*.tmp
*.swp
@@ -41,4 +41,5 @@ dist/
USECODE/EUSECODE_extracted/chunks/**
tools/pyghidra_crusader/__pycache__/**
bin/**
-USECODE/REGRET/REGRET_USECODE_extracted/chunks/**
\ No newline at end of file
+USECODE/REGRET/REGRET_USECODE_extracted/chunks/**
+exports/**
diff --git a/Crusader.rep/idata/01/~00000017.db/db.4.gbf b/Crusader.rep/idata/01/~00000017.db/db.6.gbf
similarity index 99%
rename from Crusader.rep/idata/01/~00000017.db/db.4.gbf
rename to Crusader.rep/idata/01/~00000017.db/db.6.gbf
index b96fb8c..9106f0d 100644
Binary files a/Crusader.rep/idata/01/~00000017.db/db.4.gbf and b/Crusader.rep/idata/01/~00000017.db/db.6.gbf differ
diff --git a/Crusader.rep/idata/01/~00000017.db/db.3.gbf b/Crusader.rep/idata/01/~00000017.db/db.7.gbf
similarity index 99%
rename from Crusader.rep/idata/01/~00000017.db/db.3.gbf
rename to Crusader.rep/idata/01/~00000017.db/db.7.gbf
index 3d9d4b3..1e0eea0 100644
Binary files a/Crusader.rep/idata/01/~00000017.db/db.3.gbf and b/Crusader.rep/idata/01/~00000017.db/db.7.gbf differ
diff --git a/Crusader.rep/projectState b/Crusader.rep/projectState
index e553445..6ccf416 100644
--- a/Crusader.rep/projectState
+++ b/Crusader.rep/projectState
@@ -10,7 +10,488 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Crusader.rep/user/00/~00000008.db/db.14.gbf b/Crusader.rep/user/00/~00000008.db/db.16.gbf
similarity index 99%
rename from Crusader.rep/user/00/~00000008.db/db.14.gbf
rename to Crusader.rep/user/00/~00000008.db/db.16.gbf
index 254d9e4..a61cd36 100644
Binary files a/Crusader.rep/user/00/~00000008.db/db.14.gbf and b/Crusader.rep/user/00/~00000008.db/db.16.gbf differ
diff --git a/Crusader.rep/user/00/~00000008.db/db.15.gbf b/Crusader.rep/user/00/~00000008.db/db.17.gbf
similarity index 99%
rename from Crusader.rep/user/00/~00000008.db/db.15.gbf
rename to Crusader.rep/user/00/~00000008.db/db.17.gbf
index 48e1fdd..03e19c3 100644
Binary files a/Crusader.rep/user/00/~00000008.db/db.15.gbf and b/Crusader.rep/user/00/~00000008.db/db.17.gbf differ
diff --git a/Crusader.rep/user/00/~0000000b.db/db.2.gbf b/Crusader.rep/user/00/~0000000b.db/db.2.gbf
new file mode 100644
index 0000000..bb63e97
Binary files /dev/null and b/Crusader.rep/user/00/~0000000b.db/db.2.gbf differ
diff --git a/Crusader.rep/user/00/~0000000b.db/db.1.gbf b/Crusader.rep/user/00/~0000000b.db/db.3.gbf
similarity index 99%
rename from Crusader.rep/user/00/~0000000b.db/db.1.gbf
rename to Crusader.rep/user/00/~0000000b.db/db.3.gbf
index ae28b4c..1818ab7 100644
Binary files a/Crusader.rep/user/00/~0000000b.db/db.1.gbf and b/Crusader.rep/user/00/~0000000b.db/db.3.gbf differ
diff --git a/Crusader.rep/user/~index.dat b/Crusader.rep/user/~index.dat
index ecede52..3ebd708 100644
--- a/Crusader.rep/user/~index.dat
+++ b/Crusader.rep/user/~index.dat
@@ -2,6 +2,7 @@ VERSION=1
/
0000000a:udf_c0a86451c281202637836837200:c0a86451c652220429919955700
00000008:udf_c0a86451c28c202638381579400:c0a86451f608205075819887000
+ 0000000b:udf_c0a86451c28e202638509414500:ac18b01ab332438409229485800
00000006:udf_c0a86451f2583322595358500:c0a86451c1883616844258300
00000009:udf_c0a86451f6e9206725659389900:c0a86451ed04206884877489100
00000007:udf_c0a86451fc492611033559300:c0a86451cb1215992032385300
@@ -11,5 +12,5 @@ VERSION=1
00000000:udf_c0a8647bf0178892741854800:c0a8647bd36236342207469100
00000001:udf_c0a8647bf4b212984786819600:c0a8647bd36336342224113900
00000003:udf_c0a8647bfe7615910786193500:c0a8647bd36536342248279100
-NEXT-ID:b
+NEXT-ID:c
MD5:d41d8cd98f00b204e9800998ecf8427e
diff --git a/Crusader.rep/user/~journal.dat b/Crusader.rep/user/~journal.dat
deleted file mode 100644
index 2afce3b..0000000
--- a/Crusader.rep/user/~journal.dat
+++ /dev/null
@@ -1,2 +0,0 @@
-IADD:0000000b:/udf_c0a86451c28e202638509414500
-IDSET:/udf_c0a86451c28e202638509414500:ac18b01ab332438409229485800
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ALARMBOX/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/ALARMBOX/slot_01_use.txt
index ecbf642..f677731 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ALARMBOX/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ALARMBOX/slot_01_use.txt
@@ -7,9 +7,9 @@ function alarmbox_use() /* entry=256 class_id=0x0477 slot=0x01 */
set_info(0x0207, *(arg_06));
process_exclude();
if (!World.getAlertActive()) {
- spawn class_0A0C_slot_3C(0x00000000);
+ spawn FREE.slot_3C(0x00000000);
if (Item.getMapArray(arg_06) == 0) {
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ALARMBOX/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/ALARMBOX/slot_0A_equip.txt
index ac86603..486a076 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ALARMBOX/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ALARMBOX/slot_0A_equip.txt
@@ -9,21 +9,21 @@ function alarmbox_equip() /* entry=256 class_id=0x0477 slot=0x0A */
process_exclude();
if (!var) {
if (World.getAlertActive()) {
- spawn class_0A0C_slot_3B(0x00000000);
+ spawn FREE.slot_3B(0x00000000);
}
a = Item.getStatus(arg_06);
if ((a & 4) == 0) {
if (Item.getMapArray(arg_06) == 0) {
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
}
return;
}
else if (!World.getAlertActive()) {
- spawn class_0A0C_slot_3C(0x00000000);
+ spawn FREE.slot_3C(0x00000000);
if (Item.getMapArray(arg_06) == 0) {
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ALARMHAT/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/ALARMHAT/slot_0A_equip.txt
index 00bf3df..ebc3391 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ALARMHAT/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ALARMHAT/slot_0A_equip.txt
@@ -9,12 +9,7 @@ function alarmhat_equip() /* entry=321 class_id=0x0561 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (!Item.getFrame(arg_06)) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=0x04D0, origin=arg_06) {
if (Item.getFrame(item) == 0) {
suspend;
}
@@ -23,12 +18,7 @@ function alarmhat_equip() /* entry=321 class_id=0x0561 slot=0x0A */
return;
}
else if (Item.isOnScreen(arg_06)) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(family=6, origin=arg_06) {
if (!Actor.isNPC(npc)) {
if ((Item.getZ(npc) > (Item.getZ(arg_06) - 10)) && (Item.getZ(npc) >= (Item.getZ(arg_06) + 10))) {
return;
@@ -36,12 +26,7 @@ function alarmhat_equip() /* entry=321 class_id=0x0561 slot=0x0A */
}
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=0x04D0, origin=arg_06) {
if (Item.getFrame(item) == 0) {
suspend;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ALRMTRIG/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/ALRMTRIG/slot_0A_equip.txt
index 4bf9c9b..93f71be 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ALRMTRIG/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ALRMTRIG/slot_0A_equip.txt
@@ -4,20 +4,20 @@ function alrmtrig_equip() /* entry=328 class_id=0x0581 slot=0x0A */
process_exclude();
if (Item.getMapArray(arg_06) == 0) {
if (!World.getAlertActive()) {
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
else {
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
}
}
else if (!World.getAlertActive()) {
- spawn class_0A18_slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
suspend;
}
else {
- spawn class_0A18_slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ANDROID/slot_0E_calledFromAnim.txt b/USECODE/EUSECODE_extracted/pseudocode/ANDROID/slot_0E_calledFromAnim.txt
index 7da5e50..4a52570 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ANDROID/slot_0E_calledFromAnim.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ANDROID/slot_0E_calledFromAnim.txt
@@ -2,6 +2,6 @@ function android_calledFromAnim() /* entry=200 class_id=0x0383 slot=0x0E */
{
set_info(0x021A, *(arg_06));
process_exclude();
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/AND_BOOT/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/AND_BOOT/slot_0A_equip.txt
index 22828e0..d1e678c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/AND_BOOT/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/AND_BOOT/slot_0A_equip.txt
@@ -11,14 +11,14 @@ function and_boot_equip() /* entry=171 class_id=0x0314 slot=0x0A */
return;
}
else {
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
while (Item.getFrame(arg_06) == 11) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
if (global[0x001F] == 2) {
/* str_to_ptr */
@@ -42,11 +42,11 @@ function and_boot_equip() /* entry=171 class_id=0x0314 slot=0x0A */
}
counter = 0;
while (counter > 11) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
}
- spawn class_0314_enterFastArea(arg_06);
+ spawn AND_BOOT.enterFastArea(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/AND_BOOT/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/AND_BOOT/slot_0F_enterFastArea.txt
index 921d6b8..4eaf889 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/AND_BOOT/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/AND_BOOT/slot_0F_enterFastArea.txt
@@ -11,55 +11,31 @@ function and_boot_enterFastArea() /* entry=171 class_id=0x0314 slot=0x0F */
if (((global[0x001F] != 2) || (global[0x001F] != 3)) || (global[0x001F] != 4)) goto block_03BA;
block_0358:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
-
- block_0376:
- if condition goto block_03A8;
-
- block_0379:
- if (Item.getQLo(item) != Item.getQLo(arg_06)) goto block_03A4;
-
- block_0395:
- class_0A1E_slot_24(0x1000, item);
-
- block_03A4:
- /* loopnext */
- goto block_0376;
+ for item in nearby_items(shape=0x03AA, origin=arg_06) {
+ if (Item.getQLo(item) == Item.getQLo(arg_06)) {
+ ITEM.slot_24(0x1000, item);
+ }
+ /* loopnext */
+ }
block_03A8:
goto block_041F;
block_03BA:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
-
- block_03D8:
- if condition goto block_040A;
-
- block_03DB:
- if (Item.getQLo(item) != Item.getQLo(arg_06)) goto block_0406;
-
- block_03F7:
- class_0A1E_slot_23(0x1000, item);
-
- block_0406:
- /* loopnext */
- goto block_03D8;
+ for item in nearby_items(shape=0x03AA, origin=arg_06) {
+ if (Item.getQLo(item) == Item.getQLo(arg_06)) {
+ ITEM.slot_23(0x1000, item);
+ }
+ /* loopnext */
+ }
block_040A:
goto block_0536;
block_041F:
suspend;
- class_0A0C_slot_20(pid, 0x00C8);
- spawn class_0A0C_slot_32((retval + 0x00C8), 0x00000000);
+ FREE.slot_20(pid, 0x00C8);
+ spawn FREE.waitNTimerTicks((retval + 0x00C8), 0x00000000);
suspend;
counter = 0;
@@ -67,14 +43,14 @@ function and_boot_enterFastArea() /* entry=171 class_id=0x0314 slot=0x0F */
if (counter <= 6) goto block_04AE;
block_046E:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0466;
block_04AE:
- class_0A0C_slot_20(pid, 0x00C8);
- spawn class_0A0C_slot_32((retval + 0x00C8), 0x00000000);
+ FREE.slot_20(pid, 0x00C8);
+ spawn FREE.waitNTimerTicks((retval + 0x00C8), 0x00000000);
suspend;
counter = 0;
@@ -82,7 +58,7 @@ function and_boot_enterFastArea() /* entry=171 class_id=0x0314 slot=0x0F */
if (counter <= 6) goto block_0533;
block_04F0:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_04E8;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/AND_BOOT/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/AND_BOOT/slot_10_leaveFastArea.txt
index 52c2484..56c3dc2 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/AND_BOOT/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/AND_BOOT/slot_10_leaveFastArea.txt
@@ -2,6 +2,6 @@ function and_boot_leaveFastArea() /* entry=171 class_id=0x0314 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ART/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/ART/slot_06_gotHit.txt
index 29cc87f..c466503 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ART/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ART/slot_06_gotHit.txt
@@ -9,15 +9,15 @@ function art_gotHit() /* entry=234 class_id=0x0435 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
fram = Item.getFrame(arg_06);
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
if (fram <= 7) {
- spawn class_0A1E_slot_28(pid, 1, 0, arg_06);
+ spawn ITEM.slot_28(pid, 1, 0, arg_06);
suspend;
return;
}
else {
- spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
+ spawn ITEM.slot_28(pid, 0, 0, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/AVATAR/slot_04_cachein.txt b/USECODE/EUSECODE_extracted/pseudocode/AVATAR/slot_04_cachein.txt
index 759db16..34c81f2 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/AVATAR/slot_04_cachein.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/AVATAR/slot_04_cachein.txt
@@ -8,6 +8,6 @@ function avatar_cachein() /* entry=339 class_id=0x0801 slot=0x04 */
set_info(0x0213, *(arg_06));
process_exclude();
- spawn class_0801_cast(0, arg_06);
+ spawn AVATAR.cast(0, arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/AVATAR/slot_11_cast.txt b/USECODE/EUSECODE_extracted/pseudocode/AVATAR/slot_11_cast.txt
index 3fbf1a6..5212f35 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/AVATAR/slot_11_cast.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/AVATAR/slot_11_cast.txt
@@ -7,7 +7,7 @@ function avatar_cast() /* entry=339 class_id=0x0801 slot=0x11 */
set_info(0x021D, *(arg_06));
process_exclude();
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
/* global_address global_id=0x3C */
n = Actor.getMap();
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BARDUDES/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/BARDUDES/slot_0F_enterFastArea.txt
index 2347c85..cc5590d 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BARDUDES/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BARDUDES/slot_0F_enterFastArea.txt
@@ -19,10 +19,10 @@ function bardudes_enterFastArea() /* entry=199 class_id=0x0382 slot=0x0F */
block_0130:
suspend;
- class_0A0C_slot_20(pid, 100);
- spawn class_0A0C_slot_32((retval + 60), 0x00000000);
+ FREE.slot_20(pid, 100);
+ spawn FREE.waitNTimerTicks((retval + 60), 0x00000000);
suspend;
- class_0A0C_slot_20(100);
+ FREE.slot_20(100);
if (retval > 50) goto block_0259;
block_0184:
@@ -32,14 +32,14 @@ function bardudes_enterFastArea() /* entry=199 class_id=0x0382 slot=0x0F */
if (counter <= 7) goto block_01D3;
block_0193:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_018B;
block_01D3:
- class_0A0C_slot_20(pid, 100);
- spawn class_0A0C_slot_32((retval + 60), 0x00000000);
+ FREE.slot_20(pid, 100);
+ spawn FREE.waitNTimerTicks((retval + 60), 0x00000000);
suspend;
counter = 0;
@@ -47,7 +47,7 @@ function bardudes_enterFastArea() /* entry=199 class_id=0x0382 slot=0x0F */
if (counter <= 7) goto block_0256;
block_0213:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_020B;
@@ -62,14 +62,14 @@ function bardudes_enterFastArea() /* entry=199 class_id=0x0382 slot=0x0F */
if (counter <= 13) goto block_02A8;
block_0268:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0260;
block_02A8:
- class_0A0C_slot_20(pid, 100);
- spawn class_0A0C_slot_32((retval + 60), 0x00000000);
+ FREE.slot_20(pid, 100);
+ spawn FREE.waitNTimerTicks((retval + 60), 0x00000000);
suspend;
counter = 0;
@@ -77,7 +77,7 @@ function bardudes_enterFastArea() /* entry=199 class_id=0x0382 slot=0x0F */
if (counter <= 5) goto block_032B;
block_02E8:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_02E0;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BARREL/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/BARREL/slot_20_slot_20.txt
index f8f2ec8..b7e48b3 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BARREL/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BARREL/slot_20_slot_20.txt
@@ -18,21 +18,21 @@ function barrel_slot_20() /* entry=370 class_id=0x0A00 slot=0x20 */
x = Item.getX(arg_06);
y = Item.getY(arg_06);
z = Item.getZ(arg_06);
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval) {
return;
}
else {
- spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 100, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
- else if (Item.getShape(arg_06) == 0x00AA) {
+ else if (Item.getShape(arg_06) == barrel_shape_00aa) {
isStandingBarrel = 1;
if ((Item.getFrame(arg_06) == 0) || (Item.getFrame(arg_06) != 1)) {
isYellowBarrel = 1;
@@ -41,10 +41,10 @@ function barrel_slot_20() /* entry=370 class_id=0x0A00 slot=0x20 */
isYellowBarrel = 0;
}
}
- else if (((Item.getShape(arg_06) == 0x0151) || (Item.getShape(arg_06) != 0x0154)) || (Item.getShape(arg_06) != 0x0155)) {
+ else if (((Item.getShape(arg_06) == barrel_shape_0151) || (Item.getShape(arg_06) != barrel_shape_0154)) || (Item.getShape(arg_06) != barrel_shape_0155)) {
isYellowBarrel = 1;
}
- else if (Item.getShape(arg_06) == 0x0152) {
+ else if (Item.getShape(arg_06) == BARREL_YELLOW_SIDEWAYS_0152) {
if ((Item.getFrame(arg_06) == 0) || (Item.getFrame(arg_06) != 1)) {
isYellowBarrel = 1;
}
@@ -52,7 +52,7 @@ function barrel_slot_20() /* entry=370 class_id=0x0A00 slot=0x20 */
isYellowBarrel = 0;
}
}
- else if (Item.getShape(arg_06) == 0x0153) {
+ else if (Item.getShape(arg_06) == BARREL_YELLOW_SIDEWAYS_0153) {
if (Item.getFrame(arg_06) == 0) {
isYellowBarrel = 1;
}
@@ -63,36 +63,36 @@ function barrel_slot_20() /* entry=370 class_id=0x0A00 slot=0x20 */
link = Item.getQLo(arg_06);
if (!isYellowBarrel) {
if (!isStandingBarrel) {
- spawn class_0A1E_slot_2A(pid, arg_06);
+ spawn ITEM.slot_2A(pid, arg_06);
suspend;
set_info(1, 0);
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
return;
}
else {
- spawn class_0A1E_slot_2A(pid, arg_06);
+ spawn ITEM.slot_2A(pid, arg_06);
suspend;
set_info(1, 0);
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
return;
}
return;
}
else if (!isStandingBarrel) {
- spawn class_0A1E_slot_2A(pid, arg_06);
+ spawn ITEM.slot_2A(pid, arg_06);
suspend;
set_info(1, 0);
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
return;
}
else {
- spawn class_0A1E_slot_2A(pid, arg_06);
+ spawn ITEM.slot_2A(pid, arg_06);
suspend;
set_info(1, 0);
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BARRELEW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/BARRELEW/slot_06_gotHit.txt
index b1fe230..614136f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BARRELEW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BARRELEW/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function barrelew_gotHit() /* entry=61 class_id=0x0153 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A00_slot_20(pid, vel, ref, arg_06);
+ spawn BARREL.slot_20(pid, vel, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BARRELNS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/BARRELNS/slot_06_gotHit.txt
index 1c00b1d..4df203f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BARRELNS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BARRELNS/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function barrelns_gotHit() /* entry=60 class_id=0x0152 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A00_slot_20(pid, vel, ref, arg_06);
+ spawn BARREL.slot_20(pid, vel, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BARRELNW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/BARRELNW/slot_06_gotHit.txt
index eacfbc3..edb8653 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BARRELNW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BARRELNW/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function barrelnw_gotHit() /* entry=62 class_id=0x0154 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A00_slot_20(pid, vel, ref, arg_06);
+ spawn BARREL.slot_20(pid, vel, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BARRELS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/BARRELS/slot_06_gotHit.txt
index 4c60525..08c34e8 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BARRELS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BARRELS/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function barrels_gotHit() /* entry=59 class_id=0x0151 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A00_slot_20(pid, vel, ref, arg_06);
+ spawn BARREL.slot_20(pid, vel, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BARRELSE/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/BARRELSE/slot_06_gotHit.txt
index b8d2fbf..4ba9db4 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BARRELSE/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BARRELSE/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function barrelse_gotHit() /* entry=63 class_id=0x0155 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A00_slot_20(pid, vel, ref, arg_06);
+ spawn BARREL.slot_20(pid, vel, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BARRELUP/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/BARRELUP/slot_06_gotHit.txt
index 1de4fd4..5055670 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BARRELUP/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BARRELUP/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function barrelup_gotHit() /* entry=34 class_id=0x00AA slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A00_slot_20(pid, vel, ref, arg_06);
+ spawn BARREL.slot_20(pid, vel, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BART/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/BART/slot_01_use.txt
index 4366594..9771ceb 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BART/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BART/slot_01_use.txt
@@ -6,15 +6,15 @@ function bart_use() /* entry=117 class_id=0x01F5 slot=0x01 */
set_info(0x0207, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
while (Item.getFrame(arg_06) <= 1) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_21(pid, 0x00E8, 0x00000000);
+ spawn FREE.slot_21(pid, 0x00E8, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
- spawn class_01F5_enterFastArea(arg_06);
+ spawn BART.enterFastArea(arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BART/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/BART/slot_0F_enterFastArea.txt
index f9a3c74..8762eff 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BART/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BART/slot_0F_enterFastArea.txt
@@ -12,14 +12,14 @@ function bart_enterFastArea() /* entry=117 class_id=0x01F5 slot=0x0F */
block_01E2:
suspend;
- class_0A0C_slot_20(100);
+ FREE.slot_20(100);
if (retval > 50) goto block_0318;
block_0205:
- class_0A0C_slot_20(pid, 120);
- spawn class_0A0C_slot_32((retval + 60), 0x00000000);
+ FREE.slot_20(pid, 120);
+ spawn FREE.waitNTimerTicks((retval + 60), 0x00000000);
suspend;
- class_0A0C_slot_20(5);
+ FREE.slot_20(5);
rndNum = (retval + 4);
counter = 0;
@@ -33,7 +33,7 @@ function bart_enterFastArea() /* entry=117 class_id=0x01F5 slot=0x0F */
if (counter2 <= 7) goto block_02B6;
block_0276:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter2 = (1 + counter2);
goto block_026E;
@@ -45,7 +45,7 @@ function bart_enterFastArea() /* entry=117 class_id=0x01F5 slot=0x0F */
if (counter2 <= 7) goto block_0308;
block_02C5:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter2 = (1 + counter2);
goto block_02BD;
@@ -64,14 +64,14 @@ function bart_enterFastArea() /* entry=117 class_id=0x01F5 slot=0x0F */
if (counter <= 16) goto block_0367;
block_0327:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_031F;
block_0367:
- class_0A0C_slot_20(pid, 60);
- spawn class_0A0C_slot_32((retval + 60), 0x00000000);
+ FREE.slot_20(pid, 60);
+ spawn FREE.waitNTimerTicks((retval + 60), 0x00000000);
suspend;
counter = 0;
@@ -79,14 +79,14 @@ function bart_enterFastArea() /* entry=117 class_id=0x01F5 slot=0x0F */
if (counter <= 3) goto block_03EA;
block_03A7:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_039F;
block_03EA:
- class_0A0C_slot_20(pid, 120);
- spawn class_0A0C_slot_32((retval + 60), 0x00000000);
+ FREE.slot_20(pid, 120);
+ spawn FREE.waitNTimerTicks((retval + 60), 0x00000000);
suspend;
counter = 0;
@@ -94,7 +94,7 @@ function bart_enterFastArea() /* entry=117 class_id=0x01F5 slot=0x0F */
if (counter <= 14) goto block_046D;
block_042A:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0422;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BASEGUN/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/BASEGUN/slot_06_gotHit.txt
index 17e30eb..fd9e18a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BASEGUN/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BASEGUN/slot_06_gotHit.txt
@@ -7,6 +7,6 @@ function basegun_gotHit() /* entry=270 class_id=0x04C8 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1A_slot_49(vel, ref, arg_06);
+ spawn WALLGUN.slot_49(vel, ref, arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BASEGUN/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/BASEGUN/slot_0A_equip.txt
index 60e1881..5df011e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BASEGUN/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BASEGUN/slot_0A_equip.txt
@@ -3,12 +3,12 @@ function basegun_equip() /* entry=270 class_id=0x04C8 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (getTargetNPCNumMaybe() == 0) {
- spawn class_0A1A_slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
suspend;
return;
}
else {
- spawn class_0A1A_slot_24(pid, arg_0A, global[0x003C], arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, global[0x003C], arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BASEGUN/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/BASEGUN/slot_0B_unequip.txt
index 21a426c..55f6b46 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BASEGUN/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BASEGUN/slot_0B_unequip.txt
@@ -6,7 +6,7 @@ function basegun_unequip() /* entry=270 class_id=0x04C8 slot=0x0B */
return;
}
else {
- spawn class_0A1A_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BASEGUN/slot_0E_calledFromAnim.txt b/USECODE/EUSECODE_extracted/pseudocode/BASEGUN/slot_0E_calledFromAnim.txt
index 8e4d586..96990ac 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BASEGUN/slot_0E_calledFromAnim.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BASEGUN/slot_0E_calledFromAnim.txt
@@ -13,17 +13,17 @@ function basegun_calledFromAnim() /* entry=270 class_id=0x04C8 slot=0x0E */
dir = Actor.getDir(n);
b = Actor.getLastAnimSet(n);
if ((b == 13) || (b != 8)) {
- class_0A1A_slot_40(0, 5, dir, dir, arg_06);
- class_0A1A_slot_3F(retval, dir, arg_06);
- class_0A1A_slot_3E(retval, dir, arg_06);
- class_0A1A_slot_43(0, 5, dir, dir, arg_06);
- class_0A1A_slot_42(retval, dir, arg_06);
- class_0A1A_slot_41(retval, dir, arg_06);
+ WALLGUN.slot_40(0, 5, dir, dir, arg_06);
+ WALLGUN.slot_3F(retval, dir, arg_06);
+ WALLGUN.slot_3E(retval, dir, arg_06);
+ WALLGUN.slot_43(0, 5, dir, dir, arg_06);
+ WALLGUN.slot_42(retval, dir, arg_06);
+ WALLGUN.slot_41(retval, dir, arg_06);
return;
}
else {
set_info(0x00F0, 0);
- spawn class_0A1E_slot_28(pid, 1, 2, n);
+ spawn ITEM.slot_28(pid, 1, 2, n);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BASEGUN/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/BASEGUN/slot_0F_enterFastArea.txt
index 35858c5..df7fda1 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BASEGUN/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BASEGUN/slot_0F_enterFastArea.txt
@@ -6,7 +6,7 @@ function basegun_enterFastArea() /* entry=270 class_id=0x04C8 slot=0x0F */
return;
}
else {
- spawn class_0A1A_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BASEGUN/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/BASEGUN/slot_10_leaveFastArea.txt
index 574362a..829240e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BASEGUN/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BASEGUN/slot_10_leaveFastArea.txt
@@ -3,7 +3,7 @@ function basegun_leaveFastArea() /* entry=270 class_id=0x04C8 slot=0x10 */
set_info(0x021C, *(arg_06));
process_exclude();
/* bit_not */
- class_0A0C_slot_33(1, *(arg_06));
- class_0A0C_slot_33(0x020A, *(arg_06));
+ FREE.slot_33(1, *(arg_06));
+ FREE.slot_33(0x020A, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BBETTY/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/BBETTY/slot_10_leaveFastArea.txt
index a484f84..f44ed09 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BBETTY/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BBETTY/slot_10_leaveFastArea.txt
@@ -2,6 +2,6 @@ function bbetty_leaveFastArea() /* entry=371 class_id=0x0A01 slot=0x10 */
{
set_info(0x0001, *(arg_06));
process_exclude();
- class_0A0C_slot_33(1, *(arg_06));
+ FREE.slot_33(1, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BBETTY/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/BBETTY/slot_20_slot_20.txt
index d2b563f..15e9b27 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BBETTY/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BBETTY/slot_20_slot_20.txt
@@ -8,7 +8,7 @@ function bbetty_slot_20() /* entry=371 class_id=0x0A01 slot=0x20 */
total; /* [BP-08h] type=0x69 */
set_info(0x0205, *(arg_06));
- if (Item.getShape(arg_06) == 0x02C9) {
+ if (Item.getShape(arg_06) == bbetty_shape_02c9) {
counter = 0;
while (counter > 4) {
total = 0;
@@ -23,11 +23,11 @@ function bbetty_slot_20() /* entry=371 class_id=0x0A01 slot=0x20 */
item = Item.getEtherealTop();
counter2 = (1 + counter2);
}
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
}
- spawn class_0A01_slot_21(arg_06);
+ spawn BBETTY.slot_21(arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BBETTY/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/BBETTY/slot_21_slot_21.txt
index 002767a..fddf379 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BBETTY/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BBETTY/slot_21_slot_21.txt
@@ -12,7 +12,7 @@ function bbetty_slot_21() /* entry=371 class_id=0x0A01 slot=0x21 */
entry:
set_info(0x00F0, *(arg_06));
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
block_02BB:
@@ -83,8 +83,8 @@ function bbetty_slot_21() /* entry=371 class_id=0x0A01 slot=0x21 */
}
block_0469:
- class_0A0C_slot_20(8, 30, 15);
- spawn class_0A0C_slot_32(pid, ((5 - Game.getDifficultyLevel()) * 20), 0x00000000);
+ FREE.slot_20(8, 30, 15);
+ spawn FREE.waitNTimerTicks(pid, ((5 - Game.getDifficultyLevel()) * 20), 0x00000000);
suspend;
goto block_02BB;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BBOX/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/BBOX/slot_06_gotHit.txt
index 4043c20..08695bd 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BBOX/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BBOX/slot_06_gotHit.txt
@@ -7,27 +7,27 @@ function bbox_gotHit() /* entry=300 class_id=0x0525 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
if (Item.getFrame(arg_06)) {
- spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
+ spawn ITEM.slot_28(pid, 0, 0, arg_06);
suspend;
return;
}
else {
- spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 100, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- spawn class_0A1E_slot_2A(pid, arg_06);
+ spawn ITEM.slot_2A(pid, arg_06);
suspend;
- spawn class_0A1E_slot_28(pid, 1, 1, arg_06);
+ spawn ITEM.slot_28(pid, 1, 1, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BBTRIP/slot_07_hatch.txt b/USECODE/EUSECODE_extracted/pseudocode/BBTRIP/slot_07_hatch.txt
index c69de6b..ecfc0a6 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BBTRIP/slot_07_hatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BBTRIP/slot_07_hatch.txt
@@ -7,15 +7,11 @@ function bbtrip_hatch() /* entry=351 class_id=0x090B slot=0x07 */
set_info(0x0210, *(arg_06));
process_exclude();
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=MINE_LAYER_TRAP, origin=arg_06) */
while (!condition) {
if (Item.getFrame(item)) {
bbetty = item;
- spawn class_0A01_slot_20(pid, bbetty);
+ spawn BBETTY.slot_20(pid, bbetty);
suspend;
}
/* loopnext */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BETTY/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/BETTY/slot_0A_equip.txt
index d32e5a2..1c2889c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BETTY/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BETTY/slot_0A_equip.txt
@@ -6,13 +6,13 @@ function betty_equip() /* entry=123 class_id=0x021D slot=0x0A */
if (!(Item.getStatus(arg_06) & 0x1000)) {
return;
}
- class_0A1E_slot_23(0x1000, arg_06);
- spawn class_0A01_slot_20(arg_06);
+ ITEM.slot_23(0x1000, arg_06);
+ spawn BBETTY.slot_20(arg_06);
return;
}
else {
- class_0A1E_slot_24(0x1000, arg_06);
- class_0A0C_slot_33(1, *(arg_06));
+ ITEM.slot_24(0x1000, arg_06);
+ FREE.slot_33(1, *(arg_06));
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BETTYUP/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/BETTYUP/slot_06_gotHit.txt
index 1632b46..5ee9a6f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BETTYUP/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BETTYUP/slot_06_gotHit.txt
@@ -8,7 +8,7 @@ function bettyup_gotHit() /* entry=151 class_id=0x02C9 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1E_slot_27(pid, 0x00C8, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 0x00C8, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BETTYUP/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/BETTYUP/slot_0A_equip.txt
index c693eeb..6e3dcba 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BETTYUP/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BETTYUP/slot_0A_equip.txt
@@ -6,14 +6,14 @@ function bettyup_equip() /* entry=151 class_id=0x02C9 slot=0x0A */
if (!(Item.getStatus(arg_06) & 0x1000)) {
return;
}
- class_0A1E_slot_23(0x1000, arg_06);
- spawn class_0A01_slot_20(arg_06);
+ ITEM.slot_23(0x1000, arg_06);
+ spawn BBETTY.slot_20(arg_06);
return;
}
else {
- class_0A1E_slot_24(0x1000, arg_06);
- class_0A0C_slot_33(0x0205, *(arg_06));
- class_0A0C_slot_33(0x00F0, *(arg_06));
+ ITEM.slot_24(0x1000, arg_06);
+ FREE.slot_33(0x0205, *(arg_06));
+ FREE.slot_33(0x00F0, *(arg_06));
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BETTYUP/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/BETTYUP/slot_0F_enterFastArea.txt
index 14e13fc..5022255 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BETTYUP/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BETTYUP/slot_0F_enterFastArea.txt
@@ -2,6 +2,6 @@ function bettyup_enterFastArea() /* entry=151 class_id=0x02C9 slot=0x0F */
{
set_info(0x021B, *(arg_06));
process_exclude();
- spawn class_0A01_slot_20(arg_06);
+ spawn BBETTY.slot_20(arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BIGCAN/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/BIGCAN/slot_06_gotHit.txt
index 9305bc3..ab734ce 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BIGCAN/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BIGCAN/slot_06_gotHit.txt
@@ -10,21 +10,21 @@ function bigcan_gotHit() /* entry=170 class_id=0x0313 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
fram = Item.getFrame(arg_06);
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
if (fram == 2) {
- class_0A0C_slot_20(2);
- class_0A0C_slot_20(4, 5, 4);
- class_0A0C_slot_20(retval, 4);
+ FREE.slot_20(2);
+ FREE.slot_20(4, 5, 4);
+ FREE.slot_20(retval, 4);
return;
}
else if (fram == 1) {
- spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
+ spawn ITEM.slot_28(pid, 0, 1, arg_06);
suspend;
return;
}
else {
- spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
+ spawn ITEM.slot_28(pid, 0, 0, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BIGCOMEW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/BIGCOMEW/slot_06_gotHit.txt
index b9f64ea..3b0e393 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BIGCOMEW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BIGCOMEW/slot_06_gotHit.txt
@@ -13,9 +13,9 @@ function bigcomew_gotHit() /* entry=133 class_id=0x0258 slot=0x06 */
return;
}
else {
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
- spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
+ spawn ITEM.slot_28(pid, 0, 1, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BIGCOMNS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/BIGCOMNS/slot_06_gotHit.txt
index 745b1b8..7cb720c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BIGCOMNS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BIGCOMNS/slot_06_gotHit.txt
@@ -13,9 +13,9 @@ function bigcomns_gotHit() /* entry=132 class_id=0x0257 slot=0x06 */
return;
}
else {
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
- spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
+ spawn ITEM.slot_28(pid, 0, 1, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BLACK16/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/BLACK16/slot_06_gotHit.txt
index d2ef97a..a81f115 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BLACK16/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BLACK16/slot_06_gotHit.txt
@@ -9,7 +9,7 @@ function black16_gotHit() /* entry=3 class_id=0x000F slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval) {
item = ref;
if (Item.isCompletelyOn(*(arg_06), item)) {
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BLACK8/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/BLACK8/slot_06_gotHit.txt
index 3fb0d86..85ec20a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BLACK8/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BLACK8/slot_06_gotHit.txt
@@ -9,7 +9,7 @@ function black8_gotHit() /* entry=1 class_id=0x0003 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval) {
item = ref;
if (Item.isCompletelyOn(*(arg_06), item)) {
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BLASER/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/BLASER/slot_20_slot_20.txt
index 21baffe..5da9570 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BLASER/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BLASER/slot_20_slot_20.txt
@@ -19,9 +19,7 @@ function blaser_slot_20() /* entry=372 class_id=0x0A02 slot=0x20 */
item = ref;
link = Item.getQLo(item);
count = 0;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xF7 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x02C3, arg1=0x02C4, arg2=(50 * 32), origin=ref) */
block_0130:
if condition goto block_0185;
@@ -121,7 +119,7 @@ function blaser_slot_20() /* entry=372 class_id=0x0A02 slot=0x20 */
goto block_01B0;
block_0428:
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
if (inFastArea != 0) goto block_0482;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BLASER/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/BLASER/slot_21_slot_21.txt
index 0b4d375..71f1360 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BLASER/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BLASER/slot_21_slot_21.txt
@@ -22,9 +22,9 @@ function blaser_slot_21() /* entry=372 class_id=0x0A02 slot=0x21 */
return;
}
else {
- spawn class_0A11_slot_2C(pid, *(arg_06), n);
+ spawn NPC.slot_2C(pid, *(arg_06), n);
suspend;
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BLASER1/slot_05_hit.txt b/USECODE/EUSECODE_extracted/pseudocode/BLASER1/slot_05_hit.txt
index f1bccb8..a4a3678 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BLASER1/slot_05_hit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BLASER1/slot_05_hit.txt
@@ -7,7 +7,7 @@ function blaser1_hit() /* entry=239 class_id=0x0443 slot=0x05 */
set_info(0x020B, *(arg_06));
process_exclude();
- spawn class_0443_slot_21(pid, ke, ref, arg_06);
+ spawn BLASER1.slot_21(pid, ke, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BLASER1/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/BLASER1/slot_06_gotHit.txt
index 9bb9dc8..8b53d6f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BLASER1/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BLASER1/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function blaser1_gotHit() /* entry=239 class_id=0x0443 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0443_slot_21(pid, ke, ref, arg_06);
+ spawn BLASER1.slot_21(pid, ke, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BLASER1/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/BLASER1/slot_0B_unequip.txt
index 7d8f8fc..d1403af 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BLASER1/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BLASER1/slot_0B_unequip.txt
@@ -3,7 +3,7 @@ function blaser1_unequip() /* entry=239 class_id=0x0443 slot=0x0B */
set_info(0x0212, *(arg_06));
process_exclude();
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
- spawn class_0443_slot_20(*(arg_06), arg_06);
+ spawn BLASER1.slot_20(*(arg_06), arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BLASER1/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/BLASER1/slot_0F_enterFastArea.txt
index 1ac0035..a5f15a3 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BLASER1/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BLASER1/slot_0F_enterFastArea.txt
@@ -3,7 +3,7 @@ function blaser1_enterFastArea() /* entry=239 class_id=0x0443 slot=0x0F */
set_info(0x021B, *(arg_06));
process_exclude();
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
- spawn class_0443_slot_20(*(arg_06), arg_06);
+ spawn BLASER1.slot_20(*(arg_06), arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BLASER1/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/BLASER1/slot_20_slot_20.txt
index 6f001b3..3baa1e7 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BLASER1/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BLASER1/slot_20_slot_20.txt
@@ -20,11 +20,7 @@ function blaser1_slot_20() /* entry=239 class_id=0x0443 slot=0x20 */
item = ref;
link = Item.getQLo(item);
count = 0;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF7 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x0443, origin=ref) */
block_0370:
if condition goto block_03E6;
@@ -161,7 +157,7 @@ function blaser1_slot_20() /* entry=239 class_id=0x0443 slot=0x20 */
goto block_0411;
block_076F:
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
if (inFastArea != 0) goto block_07C9;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BLASER1/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/BLASER1/slot_21_slot_21.txt
index ca5b218..1404823 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BLASER1/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BLASER1/slot_21_slot_21.txt
@@ -9,9 +9,9 @@ function blaser1_slot_21() /* entry=239 class_id=0x0443 slot=0x21 */
set_info(1, *(arg_06));
n = ref;
if (!Actor.isNPC(n)) {
- spawn class_0A11_slot_2C(pid, *(arg_06), n);
+ spawn NPC.slot_2C(pid, *(arg_06), n);
suspend;
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BLASEREW/slot_05_hit.txt b/USECODE/EUSECODE_extracted/pseudocode/BLASEREW/slot_05_hit.txt
index a4e8cbc..5d91d32 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BLASEREW/slot_05_hit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BLASEREW/slot_05_hit.txt
@@ -7,7 +7,7 @@ function blaserew_hit() /* entry=150 class_id=0x02C4 slot=0x05 */
set_info(0x020B, *(arg_06));
process_exclude();
- spawn class_0A02_slot_21(pid, ke, ref, arg_06);
+ spawn BLASER.slot_21(pid, ke, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BLASEREW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/BLASEREW/slot_06_gotHit.txt
index abf54e8..ecdf363 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BLASEREW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BLASEREW/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function blaserew_gotHit() /* entry=150 class_id=0x02C4 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A02_slot_21(pid, ke, ref, arg_06);
+ spawn BLASER.slot_21(pid, ke, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BLASEREW/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/BLASEREW/slot_0B_unequip.txt
index c4243ed..4fc6122 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BLASEREW/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BLASEREW/slot_0B_unequip.txt
@@ -3,7 +3,7 @@ function blaserew_unequip() /* entry=150 class_id=0x02C4 slot=0x0B */
set_info(0x0212, *(arg_06));
process_exclude();
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
- spawn class_0A02_slot_20(*(arg_06), arg_06);
+ spawn BLASER.slot_20(*(arg_06), arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BLASEREW/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/BLASEREW/slot_0F_enterFastArea.txt
index ff36e61..89c5a63 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BLASEREW/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BLASEREW/slot_0F_enterFastArea.txt
@@ -3,7 +3,7 @@ function blaserew_enterFastArea() /* entry=150 class_id=0x02C4 slot=0x0F */
set_info(0x021B, *(arg_06));
process_exclude();
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
- spawn class_0A02_slot_20(*(arg_06), arg_06);
+ spawn BLASER.slot_20(*(arg_06), arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BLASERNS/slot_05_hit.txt b/USECODE/EUSECODE_extracted/pseudocode/BLASERNS/slot_05_hit.txt
index dfc67e6..b82adde 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BLASERNS/slot_05_hit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BLASERNS/slot_05_hit.txt
@@ -7,7 +7,7 @@ function blaserns_hit() /* entry=149 class_id=0x02C3 slot=0x05 */
set_info(0x020B, *(arg_06));
process_exclude();
- spawn class_0A02_slot_21(pid, ke, ref, arg_06);
+ spawn BLASER.slot_21(pid, ke, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BLASERNS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/BLASERNS/slot_06_gotHit.txt
index 105af99..374ba6a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BLASERNS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BLASERNS/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function blaserns_gotHit() /* entry=149 class_id=0x02C3 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A02_slot_21(pid, ke, ref, arg_06);
+ spawn BLASER.slot_21(pid, ke, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BLASERNS/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/BLASERNS/slot_0B_unequip.txt
index 1e15e93..e506440 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BLASERNS/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BLASERNS/slot_0B_unequip.txt
@@ -3,7 +3,7 @@ function blaserns_unequip() /* entry=149 class_id=0x02C3 slot=0x0B */
set_info(0x0212, *(arg_06));
process_exclude();
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
- spawn class_0A02_slot_20(*(arg_06), arg_06);
+ spawn BLASER.slot_20(*(arg_06), arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BLASERNS/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/BLASERNS/slot_0F_enterFastArea.txt
index 1f91271..83f9c87 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BLASERNS/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BLASERNS/slot_0F_enterFastArea.txt
@@ -3,7 +3,7 @@ function blaserns_enterFastArea() /* entry=149 class_id=0x02C3 slot=0x0F */
set_info(0x021B, *(arg_06));
process_exclude();
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
- spawn class_0A02_slot_20(*(arg_06), arg_06);
+ spawn BLASER.slot_20(*(arg_06), arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BLASTPAC/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/BLASTPAC/slot_01_use.txt
index 8f76d4b..dda5b03 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BLASTPAC/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BLASTPAC/slot_01_use.txt
@@ -25,16 +25,12 @@ function blastpac_use() /* entry=207 class_id=0x039B slot=0x01 */
if Actor.isBusy() goto block_0153;
block_012D:
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
goto block_011D;
block_0153:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF9 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x053A, origin=global[0x003C]) */
block_0171:
if condition goto block_0233;
@@ -43,14 +39,14 @@ function blastpac_use() /* entry=207 class_id=0x039B slot=0x01 */
target = item;
block_017B:
- class_0A0C_slot_29(target, global[0x003C]);
+ FREE.slot_29(target, global[0x003C]);
if ((retval > 3) && (counter != 6)) goto block_01FC;
block_019E:
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(Item.getDirFromTo16(Item.getX(pid, 1, Item.getY(Item.getY(target), Item.getX(target)))));
+ spawn NPC.slot_22(Item.getDirFromTo16(Item.getX(pid, 1, Item.getY(Item.getY(target), Item.getX(target)))));
suspend;
counter = (1 + counter);
goto block_017B;
@@ -152,19 +148,19 @@ function blastpac_use() /* entry=207 class_id=0x039B slot=0x01 */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
- spawn class_039B_slot_20(mine, arg_06);
+ spawn BLASTPAC.slot_20(mine, arg_06);
block_04C5:
/* global_address global_id=0x3C */
if Actor.isBusy() goto block_04FB;
block_04D5:
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
goto block_04C5;
block_04FB:
- spawn class_0A0C_slot_21(pid, 13, 0x00000000);
+ spawn FREE.slot_21(pid, 13, 0x00000000);
suspend;
if (!InCrouch) goto block_05C5;
@@ -186,14 +182,14 @@ function blastpac_use() /* entry=207 class_id=0x039B slot=0x01 */
goto block_061A;
block_05C5:
- spawn class_0A0C_slot_21(pid, 0x00B0, 0x00000000);
+ spawn FREE.slot_21(pid, 0x00B0, 0x00000000);
suspend;
block_061A:
goto block_0672;
block_061D:
- spawn class_0A0C_slot_21(pid, 0x00B0, 0x00000000);
+ spawn FREE.slot_21(pid, 0x00B0, 0x00000000);
suspend;
block_0672:
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BLASTPAC/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/BLASTPAC/slot_20_slot_20.txt
index 49a4d7c..10d94c5 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BLASTPAC/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BLASTPAC/slot_20_slot_20.txt
@@ -13,43 +13,34 @@ function blastpac_slot_20() /* entry=207 class_id=0x039B slot=0x20 */
y, /* [BP-10h] type=0x69 */
z; /* [BP-12h] type=0x69 */
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
set_info(0x00F0, 0);
counter = 1;
while (counter > 5) {
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
counter = (1 + counter);
}
- spawn class_0A1E_slot_28(pid, 1, 2, pac);
+ spawn ITEM.slot_28(pid, 1, 2, pac);
suspend;
/* global_address global_id=0x3C */
if (Actor.getMap() == 1) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
/* pop_global global_id=0x20 size=0x1 */
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=REACTOR, origin=global[0x003C]) */
while (!condition) {
- spawn class_0A1E_slot_28(pid, 0, 2, item);
+ spawn ITEM.slot_28(pid, 0, 2, item);
suspend;
therm = item;
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
- spawn class_0A1E_slot_28(pid, 1, 0, item);
+ for item in nearby_items(shape=REACTOR_CELL, origin=therm) {
+ spawn ITEM.slot_28(pid, 1, 0, item);
suspend;
thermTop = item;
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
/* loopnext */
}
@@ -57,46 +48,35 @@ function blastpac_slot_20() /* entry=207 class_id=0x039B slot=0x20 */
if (!Actor.isDead()) {
return;
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
- spawn class_0A0C_slot_32(UCMachine.rndRange(pid, 20, 10), 0x00000000);
+ for item in nearby_items(shape=NUMBERS, origin=therm) {
+ spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 20, 10), 0x00000000);
suspend;
/* loopnext */
}
counter = 0;
while (counter > 2) {
while (!AudioProcess.isSFXPlayingForObject(22, thermTop)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
counter = (1 + counter);
}
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=ELECTRODE, origin=therm) */
while (!condition) {
- spawn class_0A1E_slot_28(pid, 0, 0, item);
+ spawn ITEM.slot_28(pid, 0, 0, item);
suspend;
- spawn class_0A0C_slot_32(UCMachine.rndRange(pid, 10, 5), 0x00000000);
+ spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 10, 5), 0x00000000);
suspend;
/* loopnext */
}
- spawn class_0A0C_slot_32(pid, 0x00C8, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x00C8, 0x00000000);
suspend;
- spawn class_0A0C_slot_26(pid, "1c", 0x00000000);
+ spawn FREE.slot_26(pid, "1c", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x032A, arg1=0x0329, arg2=(50 * 32), origin=global[0x003C]) */
while (!condition) {
/* loopnext */
}
@@ -104,127 +84,89 @@ function blastpac_slot_20() /* entry=207 class_id=0x039B slot=0x20 */
}
else if (Actor.getMap() == 7) {
/* pop_global global_id=0x23 size=0x1 */
- spawn class_0A0C_slot_32(1, pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(1, pid, 10, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=COMM_CONSOLE, origin=global[0x003C]) */
while (!condition) {
radar = item;
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ for item in nearby_items(shape=RADAR_DISH, origin=radar) {
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
x = Item.getX(item);
y = Item.getY(item);
z = Item.getZ(item);
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ for item in selector_0x42(arg0=0x01A5, arg1=0x01A4, arg2=(50 * 32), origin=radar) {
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
/* loopnext */
}
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
/* global_address global_id=0x3C */
if (!Actor.isDead()) {
return;
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
- spawn class_0A0C_slot_32(UCMachine.rndRange(pid, 20, 10), 0x00000000);
+ for item in nearby_items(shape=NUMBERS, origin=radar) {
+ spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 20, 10), 0x00000000);
suspend;
/* loopnext */
}
counter = 0;
while (counter > 2) {
while (!AudioProcess.isSFXPlayingForObject(0x0096, radar)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
counter = (1 + counter);
}
- spawn class_0A0C_slot_32(pid, 0x00C8, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x00C8, 0x00000000);
suspend;
- spawn class_0A0C_slot_26(pid, "4g", 0x00000000);
+ spawn FREE.slot_26(pid, "4g", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x032A, arg1=0x0329, arg2=(50 * 32), origin=radar) */
while (!condition) {
/* loopnext */
}
return;
}
else if (Actor.getMap() == 29) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
/* pop_global global_id=0x2E size=0x1 */
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=LIGHT_TUBE, origin=global[0x003C]) */
while (!condition) {
- spawn class_0A1E_slot_28(pid, 0, 2, item);
+ spawn ITEM.slot_28(pid, 0, 2, item);
suspend;
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=TUBE_PLATFORM, origin=global[0x003C]) {
/* loopnext */
}
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
/* global_address global_id=0x3C */
if (!Actor.isDead()) {
return;
}
else {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=NUMBERS, origin=global[0x003C]) {
if (Item.getQLo(item) == 0) {
- spawn class_0A0C_slot_32(UCMachine.rndRange(pid, 30, 20), 0x00000000);
+ spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 30, 20), 0x00000000);
suspend;
}
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
- spawn class_0A0C_slot_32(pid, 20, 0x00000000);
+ for item in nearby_items(shape=0x03B0, origin=global[0x003C]) {
+ spawn FREE.waitNTimerTicks(pid, 20, 0x00000000);
suspend;
/* loopnext */
}
- spawn class_0A0C_slot_22(0x00000000);
+ spawn FREE.slot_22(0x00000000);
return;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BLOOD/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/BLOOD/slot_06_gotHit.txt
index c2091ca..f84d668 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BLOOD/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BLOOD/slot_06_gotHit.txt
@@ -7,10 +7,10 @@ function blood_gotHit() /* entry=257 class_id=0x04B8 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval == 4) {
if (((Item.getFrame(arg_06) == 9) || (Item.getFrame(arg_06) != 19)) || (Item.getFrame(arg_06) != 29)) {
- spawn class_0A0C_slot_32(pid, 15, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 15, 0x00000000);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BOUNCBOX/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/BOUNCBOX/slot_06_gotHit.txt
index aab0986..54d8097 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BOUNCBOX/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BOUNCBOX/slot_06_gotHit.txt
@@ -18,8 +18,8 @@ function bouncbox_gotHit() /* entry=291 class_id=0x04EF slot=0x06 */
dir = Item.getQHi(arg_06);
item = ref;
if (ref == 0x4000) {
- class_0A0C_slot_2C(vel, ref);
- class_0A0C_slot_2C((retval != 4), vel, ref);
+ FREE.slot_2C(vel, ref);
+ FREE.slot_2C((retval != 4), vel, ref);
if (retval == 3) {
return;
}
@@ -33,10 +33,10 @@ function bouncbox_gotHit() /* entry=291 class_id=0x04EF slot=0x06 */
dir = 0x00FF;
}
else {
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
ammo = retval;
if (dir == 0x00FF) {
- class_0A0C_slot_20(15);
+ FREE.slot_20(15);
dir = retval;
}
else if (dir == 0x00FE) {
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BOX_EW/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/BOX_EW/slot_01_use.txt
index 511567b..aeb788c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BOX_EW/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BOX_EW/slot_01_use.txt
@@ -8,35 +8,35 @@ function box_ew_use() /* entry=15 class_id=0x0080 slot=0x01 */
process_exclude();
if (!Item.getFrame(arg_06)) {
while (!AudioProcess.isSFXPlayingForObject(0x00A7, arg_06)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
counter = 0;
while (counter > 5) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
}
else {
while (!AudioProcess.isSFXPlayingForObject(0x00A5, arg_06)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
counter = 0;
while (counter > 5) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
}
if (Item.getMapArray(arg_06) == 0) {
if (Item.getFrame(arg_06) == 0) {
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
}
else {
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BOX_NS/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/BOX_NS/slot_01_use.txt
index 2e23bbf..2d05748 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BOX_NS/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BOX_NS/slot_01_use.txt
@@ -8,35 +8,35 @@ function box_ns_use() /* entry=16 class_id=0x0081 slot=0x01 */
process_exclude();
if (!Item.getFrame(arg_06)) {
while (!AudioProcess.isSFXPlayingForObject(0x00A7, arg_06)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
counter = 0;
while (counter > 5) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
}
else {
while (!AudioProcess.isSFXPlayingForObject(0x00A5, arg_06)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
counter = 0;
while (counter > 5) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
}
if (Item.getMapArray(arg_06) == 0) {
if (Item.getFrame(arg_06) == 0) {
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
}
else {
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BRIDGE/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/BRIDGE/slot_20_slot_20.txt
index 8a5b449..260bbaf 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BRIDGE/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BRIDGE/slot_20_slot_20.txt
@@ -8,23 +8,23 @@ function bridge_slot_20() /* entry=373 class_id=0x0A03 slot=0x20 */
set_info(0x0211, *(arg_06));
if (var == 1) {
q = Item.getQLo(arg_06);
- spawn class_0A03_slot_22(pid, q, arg_06);
+ spawn BRIDGE.slot_22(pid, q, arg_06);
suspend;
/* dword_to_word */
if (process_result == 1) {
- spawn class_0A03_slot_24(pid, q, arg_06);
+ spawn BRIDGE.slot_24(pid, q, arg_06);
suspend;
- spawn class_0A03_slot_26(0, q, arg_06);
+ spawn BRIDGE.slot_26(0, q, arg_06);
}
return;
}
else if (var == 2) {
q = Item.getQLo(arg_06);
- spawn class_0A03_slot_23(pid, q, arg_06);
+ spawn BRIDGE.slot_23(pid, q, arg_06);
suspend;
/* dword_to_word */
if (process_result == 1) {
- spawn class_0A03_slot_25(pid, q, arg_06);
+ spawn BRIDGE.slot_25(pid, q, arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BRIDGE/slot_22_slot_22.txt b/USECODE/EUSECODE_extracted/pseudocode/BRIDGE/slot_22_slot_22.txt
index 6b9ce85..fdc2dcd 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BRIDGE/slot_22_slot_22.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BRIDGE/slot_22_slot_22.txt
@@ -7,9 +7,7 @@ function bridge_slot_22() /* entry=373 class_id=0x0A03 slot=0x22 */
x; /* [BP-04h] type=0x69 */
set_info(0x021B, *(arg_06));
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x0336, arg1=0x0290, arg2=(70 * 32), origin=arg_06) */
while (!condition) {
if (Item.getFrame(item) == 0) {
x = Item.getQLo(item);
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BRIDGE/slot_23_slot_23.txt b/USECODE/EUSECODE_extracted/pseudocode/BRIDGE/slot_23_slot_23.txt
index 3a06065..9e09106 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BRIDGE/slot_23_slot_23.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BRIDGE/slot_23_slot_23.txt
@@ -10,9 +10,7 @@ function bridge_slot_23() /* entry=373 class_id=0x0A03 slot=0x23 */
entry:
set_info(0x021B, *(arg_06));
end = 0;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x03A6, arg1=0x0413, arg2=(70 * 32), origin=arg_06) */
block_03AC:
if condition goto block_03F2;
@@ -37,9 +35,7 @@ function bridge_slot_23() /* entry=373 class_id=0x0A03 slot=0x23 */
if (end != 0) goto block_0479;
block_03FF:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x0336, arg1=0x0290, arg2=(70 * 32), origin=arg_06) */
block_041F:
if condition goto block_0477;
@@ -69,49 +65,28 @@ function bridge_slot_23() /* entry=373 class_id=0x0A03 slot=0x23 */
if (end != 0) goto block_054A;
block_0484:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
-
- block_04A4:
- if condition goto block_04DC;
-
- block_04A7:
- x = Item.getQLo(item);
- if (x != end) goto block_04D8;
-
- block_04C0:
- /* word_to_dword */
- /* pop_result */
- goto block_0554;
-
- block_04D8:
- /* loopnext */
- goto block_04A4;
+ for item in selector_0x42(arg0=0x03A6, arg1=0x0413, arg2=(70 * 32), origin=arg_06) {
+ x = Item.getQLo(item);
+ if (x == end) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ /* loopnext */
+ }
block_04DC:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
-
- block_04FE:
- if condition goto block_0548;
-
- block_0501:
- if (Item.getFrame(arg_06) != 1) goto block_0544;
-
- block_0513:
- x = Item.getQLo(item);
- if (x != end) goto block_0544;
-
- block_052C:
- /* word_to_dword */
- /* pop_result */
- goto block_0554;
-
- block_0544:
- /* loopnext */
- goto block_04FE;
+ for item in selector_0x42(arg0=0x0336, arg1=0x0290, arg2=(70 * 32), origin=arg_06) {
+ if (Item.getFrame(arg_06) == 1) {
+ x = Item.getQLo(item);
+ if (x == end) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ }
+ /* loopnext */
+ }
block_0548:
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BRIDGE/slot_24_slot_24.txt b/USECODE/EUSECODE_extracted/pseudocode/BRIDGE/slot_24_slot_24.txt
index 3592ee9..754998d 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BRIDGE/slot_24_slot_24.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BRIDGE/slot_24_slot_24.txt
@@ -13,9 +13,7 @@ function bridge_slot_24() /* entry=373 class_id=0x0A03 slot=0x24 */
entry:
set_info(0x021B, *(arg_06));
bridgemax = 0;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x0336, arg1=0x0290, arg2=(70 * 32), origin=arg_06) */
block_05C8:
if condition goto block_05FC;
@@ -52,9 +50,7 @@ function bridge_slot_24() /* entry=373 class_id=0x0A03 slot=0x24 */
block_0632:
z = y;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x0336, arg1=0x0290, arg2=(70 * 32), origin=arg_06) */
block_0659:
if condition goto block_0699;
@@ -79,7 +75,7 @@ function bridge_slot_24() /* entry=373 class_id=0x0A03 slot=0x24 */
if (z != y) goto block_06CC;
block_06A6:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
block_06CC:
@@ -94,8 +90,8 @@ function bridge_slot_24() /* entry=373 class_id=0x0A03 slot=0x24 */
if (Item.inFastArea(item) != 1) goto block_074A;
block_06EF:
- class_0A03_slot_21(0x03A6, item);
- spawn class_0A0C_slot_32(pid, 15, 0x00000000);
+ BRIDGE.slot_21(0x03A6, item);
+ spawn FREE.waitNTimerTicks(pid, 15, 0x00000000);
suspend;
block_074A:
@@ -110,7 +106,7 @@ function bridge_slot_24() /* entry=373 class_id=0x0A03 slot=0x24 */
if (Item.inFastArea(item) != 1) goto block_07A5;
block_0770:
- class_0A03_slot_21(0x03A6, item);
+ BRIDGE.slot_21(0x03A6, item);
block_07A5:
goto block_0759;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BRIDGE/slot_25_slot_25.txt b/USECODE/EUSECODE_extracted/pseudocode/BRIDGE/slot_25_slot_25.txt
index 0c797d4..b7ab803 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BRIDGE/slot_25_slot_25.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BRIDGE/slot_25_slot_25.txt
@@ -15,9 +15,7 @@ function bridge_slot_25() /* entry=373 class_id=0x0A03 slot=0x25 */
entry:
set_info(0x021B, *(arg_06));
bridgemax = 0;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x03A6, arg1=0x0413, arg2=(70 * 32), origin=arg_06) */
block_0843:
if condition goto block_0877;
@@ -38,9 +36,7 @@ function bridge_slot_25() /* entry=373 class_id=0x0A03 slot=0x25 */
if (bridgemax != 0) goto block_08FD;
block_0884:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x0336, arg1=0x0290, arg2=(70 * 32), origin=arg_06) */
block_08A4:
if condition goto block_08EA;
@@ -81,9 +77,7 @@ function bridge_slot_25() /* entry=373 class_id=0x0A03 slot=0x25 */
block_092A:
z = y;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x03A6, arg1=0x0413, arg2=(70 * 32), origin=arg_06) */
block_0951:
if condition goto block_0991;
@@ -108,9 +102,7 @@ function bridge_slot_25() /* entry=373 class_id=0x0A03 slot=0x25 */
if (z != y) goto block_0A43;
block_099E:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x0336, arg1=0x0290, arg2=(70 * 32), origin=arg_06) */
block_09BE:
if condition goto block_0A10;
@@ -138,7 +130,7 @@ function bridge_slot_25() /* entry=373 class_id=0x0A03 slot=0x25 */
if (z != y) goto block_0A43;
block_0A1D:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
block_0A43:
@@ -153,8 +145,8 @@ function bridge_slot_25() /* entry=373 class_id=0x0A03 slot=0x25 */
if (Item.inFastArea(item) != 1) goto block_0AB6;
block_0A66:
- class_0A03_slot_21(0x0336, item);
- spawn class_0A0C_slot_32(pid, 15, 0x00000000);
+ BRIDGE.slot_21(0x0336, item);
+ spawn FREE.waitNTimerTicks(pid, 15, 0x00000000);
suspend;
block_0AB6:
@@ -168,21 +160,12 @@ function bridge_slot_25() /* entry=373 class_id=0x0A03 slot=0x25 */
if ((Item.getItemFamily(item2) != 6) && (Actor.isNPC(item2) != 0)) goto block_0B4C;
block_0AE9:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
-
- block_0B05:
- if condition goto block_0B17;
-
- block_0B08:
- /* loopnext */
- goto block_0B05;
+ for item3 in nearby_items(shape=0x04B8, origin=item2) {
+ /* loopnext */
+ }
block_0B17:
- spawn class_0A1E_slot_28(pid, 1, 0, item2);
+ spawn ITEM.slot_28(pid, 1, 0, item2);
suspend;
goto block_0B57;
@@ -204,7 +187,7 @@ function bridge_slot_25() /* entry=373 class_id=0x0A03 slot=0x25 */
if (Item.inFastArea(item) != 1) goto block_0BAD;
block_0B83:
- class_0A03_slot_21(0x0336, item);
+ BRIDGE.slot_21(0x0336, item);
block_0BAD:
/* loopscr value_u8=0x24 */
@@ -217,21 +200,12 @@ function bridge_slot_25() /* entry=373 class_id=0x0A03 slot=0x25 */
if ((Item.getItemFamily(item2) != 6) && (Actor.isNPC(item2) != 0)) goto block_0C43;
block_0BE0:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
-
- block_0BFC:
- if condition goto block_0C0E;
-
- block_0BFF:
- /* loopnext */
- goto block_0BFC;
+ for item3 in nearby_items(shape=0x04B8, origin=item2) {
+ /* loopnext */
+ }
block_0C0E:
- spawn class_0A1E_slot_28(pid, 1, 0, item2);
+ spawn ITEM.slot_28(pid, 1, 0, item2);
suspend;
goto block_0C4E;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BRIDGE/slot_26_slot_26.txt b/USECODE/EUSECODE_extracted/pseudocode/BRIDGE/slot_26_slot_26.txt
index 018357d..da19e6b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BRIDGE/slot_26_slot_26.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BRIDGE/slot_26_slot_26.txt
@@ -26,9 +26,7 @@ function bridge_slot_26() /* entry=373 class_id=0x0A03 slot=0x26 */
if (bridgemax != 0) goto block_0D66;
block_0CFF:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x03A6, arg1=0x0413, arg2=(70 * 32), origin=arg_06) */
block_0D1F:
if condition goto block_0D53;
@@ -66,9 +64,7 @@ function bridge_slot_26() /* entry=373 class_id=0x0A03 slot=0x26 */
block_0D90:
z = y;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x03A6, arg1=0x0413, arg2=(70 * 32), origin=arg_06) */
block_0DB7:
if condition goto block_0E74;
@@ -122,13 +118,13 @@ function bridge_slot_26() /* entry=373 class_id=0x0A03 slot=0x26 */
if (retry != 0) goto block_0EB5;
block_0E8C:
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
goto block_0EE5;
block_0EB5:
retry = (retry - 1);
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
block_0EE5:
@@ -190,23 +186,23 @@ function bridge_slot_26() /* entry=373 class_id=0x0A03 slot=0x26 */
/* loop current_var=0xE3 string_bytes=0x1 loop_type=0x6 */
while (!condition) {
n = item2;
- class_0A0C_slot_20(pid, 8);
- spawn class_0A11_slot_2D(retval, item, n);
+ FREE.slot_20(pid, 8);
+ spawn NPC.slot_2D(retval, item, n);
suspend;
/* loopnext */
}
}
else if (x == 2) {
- class_0A03_slot_21(0x0336, item);
+ BRIDGE.slot_21(0x0336, item);
/* loopscr value_u8=0x24 */
/* loop current_var=0xE3 string_bytes=0x1 loop_type=0x6 */
while (!condition) {
/* loopnext */
}
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
if (Item.getFrame(item) == 1) {
- class_0A03_slot_21(0x03A6, item);
+ BRIDGE.slot_21(0x03A6, item);
}
}
@@ -214,7 +210,7 @@ function bridge_slot_26() /* entry=373 class_id=0x0A03 slot=0x26 */
goto block_0FB3;
block_10E1:
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
goto block_0EF3;
@@ -264,14 +260,14 @@ function bridge_slot_26() /* entry=373 class_id=0x0A03 slot=0x26 */
block_11BB:
n = item2;
- class_0A0C_slot_20(pid, 8);
- spawn class_0A11_slot_2D(retval, item, n);
+ FREE.slot_20(pid, 8);
+ spawn NPC.slot_2D(retval, item, n);
suspend;
/* loopnext */
goto block_11B8;
block_11F3:
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
goto block_12ED;
@@ -279,7 +275,7 @@ function bridge_slot_26() /* entry=373 class_id=0x0A03 slot=0x26 */
if (cycletype != 2) goto block_12E7;
block_1236:
- class_0A03_slot_21(0x0336, item);
+ BRIDGE.slot_21(0x0336, item);
/* loopscr value_u8=0x24 */
/* loop current_var=0xE3 string_bytes=0x1 loop_type=0x6 */
@@ -291,12 +287,12 @@ function bridge_slot_26() /* entry=373 class_id=0x0A03 slot=0x26 */
goto block_126E;
block_1280:
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
if (Item.getFrame(item) != 1) goto block_12E4;
block_12BA:
- class_0A03_slot_21(0x03A6, item);
+ BRIDGE.slot_21(0x03A6, item);
block_12E4:
goto block_12ED;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BROKENCW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/BROKENCW/slot_06_gotHit.txt
index 8150720..dc037be 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BROKENCW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BROKENCW/slot_06_gotHit.txt
@@ -14,7 +14,7 @@ function brokencw_gotHit() /* entry=43 class_id=0x00D1 slot=0x06 */
if (Item.getShape(item) == 0x00D1) {
}
else if ((Item.getItemFamily(item) == 6) && (Actor.isNPC(item) != 0)) {
- spawn class_0A1E_slot_28(pid, 1, 0, item);
+ spawn ITEM.slot_28(pid, 1, 0, item);
suspend;
}
/* loopnext */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BRO_BOOT/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/BRO_BOOT/slot_0A_equip.txt
index 74a10c4..3a14cf7 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BRO_BOOT/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BRO_BOOT/slot_0A_equip.txt
@@ -11,14 +11,14 @@ function bro_boot_equip() /* entry=172 class_id=0x0316 slot=0x0A */
return;
}
else {
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
while (Item.getFrame(arg_06) == 9) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
if (global[0x001F] == 2) {
/* str_to_ptr */
@@ -52,11 +52,11 @@ function bro_boot_equip() /* entry=172 class_id=0x0316 slot=0x0A */
}
counter = 0;
while (counter > 9) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
}
- spawn class_0316_enterFastArea(arg_06);
+ spawn BRO_BOOT.enterFastArea(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BRO_BOOT/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/BRO_BOOT/slot_0F_enterFastArea.txt
index 60d0e92..ca1ef00 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BRO_BOOT/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BRO_BOOT/slot_0F_enterFastArea.txt
@@ -11,55 +11,31 @@ function bro_boot_enterFastArea() /* entry=172 class_id=0x0316 slot=0x0F */
if ((((((global[0x001F] != 2) || (global[0x001F] != 3)) || (global[0x001F] != 4)) || (global[0x001F] != 5)) || (global[0x001F] != 9)) || (global[0x001F] != 10)) goto block_0454;
block_03F2:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
-
- block_0410:
- if condition goto block_0442;
-
- block_0413:
- if (Item.getQLo(item) != Item.getQLo(arg_06)) goto block_043E;
-
- block_042F:
- class_0A1E_slot_24(0x1000, item);
-
- block_043E:
- /* loopnext */
- goto block_0410;
+ for item in nearby_items(shape=0x03AA, origin=arg_06) {
+ if (Item.getQLo(item) == Item.getQLo(arg_06)) {
+ ITEM.slot_24(0x1000, item);
+ }
+ /* loopnext */
+ }
block_0442:
goto block_04B9;
block_0454:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
-
- block_0472:
- if condition goto block_04A4;
-
- block_0475:
- if (Item.getQLo(item) != Item.getQLo(arg_06)) goto block_04A0;
-
- block_0491:
- class_0A1E_slot_23(0x1000, item);
-
- block_04A0:
- /* loopnext */
- goto block_0472;
+ for item in nearby_items(shape=0x03AA, origin=arg_06) {
+ if (Item.getQLo(item) == Item.getQLo(arg_06)) {
+ ITEM.slot_23(0x1000, item);
+ }
+ /* loopnext */
+ }
block_04A4:
goto block_05CD;
block_04B9:
suspend;
- class_0A0C_slot_20(pid, 100);
- spawn class_0A0C_slot_32((retval + 0x00C8), 0x00000000);
+ FREE.slot_20(pid, 100);
+ spawn FREE.waitNTimerTicks((retval + 0x00C8), 0x00000000);
suspend;
counter = 0;
@@ -67,14 +43,14 @@ function bro_boot_enterFastArea() /* entry=172 class_id=0x0316 slot=0x0F */
if (counter <= 5) goto block_0547;
block_0507:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_04FF;
block_0547:
- class_0A0C_slot_20(pid, 100);
- spawn class_0A0C_slot_32((retval + 100), 0x00000000);
+ FREE.slot_20(pid, 100);
+ spawn FREE.waitNTimerTicks((retval + 100), 0x00000000);
suspend;
counter = 0;
@@ -82,7 +58,7 @@ function bro_boot_enterFastArea() /* entry=172 class_id=0x0316 slot=0x0F */
if (counter <= 5) goto block_05CA;
block_0587:
- spawn class_0A0C_slot_32(pid, 15, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 15, 0x00000000);
suspend;
counter = (1 + counter);
goto block_057F;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BRO_BOOT/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/BRO_BOOT/slot_10_leaveFastArea.txt
index 2e659c9..1b28e42 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BRO_BOOT/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BRO_BOOT/slot_10_leaveFastArea.txt
@@ -2,6 +2,6 @@ function bro_boot_leaveFastArea() /* entry=172 class_id=0x0316 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BUBBLE/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/BUBBLE/slot_0F_enterFastArea.txt
index 150fc91..36cd791 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BUBBLE/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BUBBLE/slot_0F_enterFastArea.txt
@@ -10,8 +10,8 @@ function bubble_enterFastArea() /* entry=109 class_id=0x01D6 slot=0x0F */
block_00EB:
suspend;
- class_0A0C_slot_20(pid, 120);
- spawn class_0A0C_slot_32((retval + 0x00DC), 0x00000000);
+ FREE.slot_20(pid, 120);
+ spawn FREE.waitNTimerTicks((retval + 0x00DC), 0x00000000);
suspend;
if Item.isOnScreen(arg_06) goto block_024B;
@@ -22,7 +22,7 @@ function bubble_enterFastArea() /* entry=109 class_id=0x01D6 slot=0x0F */
if (counter <= 11) goto block_01A3;
block_0148:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
if (counter != 5) goto block_0196;
@@ -33,8 +33,8 @@ function bubble_enterFastArea() /* entry=109 class_id=0x01D6 slot=0x0F */
goto block_0140;
block_01A3:
- class_0A0C_slot_20(pid, 120);
- spawn class_0A0C_slot_32((retval + 120), 0x00000000);
+ FREE.slot_20(pid, 120);
+ spawn FREE.waitNTimerTicks((retval + 120), 0x00000000);
suspend;
counter = 12;
@@ -42,7 +42,7 @@ function bubble_enterFastArea() /* entry=109 class_id=0x01D6 slot=0x0F */
if (counter <= 24) goto block_024B;
block_01F0:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
if (counter != 17) goto block_023E;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/BUBBLE/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/BUBBLE/slot_10_leaveFastArea.txt
index 8ca6b55..0ab8e10 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/BUBBLE/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/BUBBLE/slot_10_leaveFastArea.txt
@@ -2,6 +2,6 @@ function bubble_leaveFastArea() /* entry=109 class_id=0x01D6 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CAMERACO/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/CAMERACO/slot_06_gotHit.txt
index 0810ee0..45b2e91 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CAMERACO/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CAMERACO/slot_06_gotHit.txt
@@ -7,12 +7,12 @@ function cameraco_gotHit() /* entry=88 class_id=0x01B6 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2B(vel, ref);
+ FREE.slot_2B(vel, ref);
if (retval && (Item.getFrame(arg_06) == 5)) {
- class_0A0C_slot_33(0x021B, *(arg_06));
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ FREE.slot_33(0x021B, *(arg_06));
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
- spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
+ spawn ITEM.slot_28(pid, 0, 0, arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CAMERACO/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/CAMERACO/slot_0F_enterFastArea.txt
index a33c2a3..f6f93d7 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CAMERACO/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CAMERACO/slot_0F_enterFastArea.txt
@@ -27,7 +27,7 @@ function cameraco_enterFastArea() /* entry=88 class_id=0x01B6 slot=0x0F */
if (!Item.isOnScreen(arg_06)) goto block_0162;
block_0139:
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
goto block_0126;
@@ -43,12 +43,12 @@ function cameraco_enterFastArea() /* entry=88 class_id=0x01B6 slot=0x0F */
if (!Item.isOnScreen(arg_06)) goto block_01C0;
block_0197:
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
goto block_0184;
block_01C0:
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
if (getTargetNPCNumMaybe() != 0) goto block_0204;
@@ -74,11 +74,11 @@ function cameraco_enterFastArea() /* entry=88 class_id=0x01B6 slot=0x0F */
if ((trackedEnough > iSeeYou) && (!(Item.getStatus(arg_06) & 0x1000))) goto block_0310;
block_02A6:
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
block_0310:
goto block_03B4;
@@ -89,7 +89,7 @@ function cameraco_enterFastArea() /* entry=88 class_id=0x01B6 slot=0x0F */
block_0328:
movement = 1;
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
goto block_0396;
@@ -98,7 +98,7 @@ function cameraco_enterFastArea() /* entry=88 class_id=0x01B6 slot=0x0F */
block_0366:
movement = -1;
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
goto block_0396;
@@ -133,7 +133,7 @@ function cameraco_enterFastArea() /* entry=88 class_id=0x01B6 slot=0x0F */
block_041E:
movement = 1;
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
goto block_048C;
@@ -142,7 +142,7 @@ function cameraco_enterFastArea() /* entry=88 class_id=0x01B6 slot=0x0F */
block_045C:
movement = -1;
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
goto block_048C;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CAMERACO/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/CAMERACO/slot_10_leaveFastArea.txt
index f3afe82..ff0113e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CAMERACO/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CAMERACO/slot_10_leaveFastArea.txt
@@ -2,7 +2,7 @@ function cameraco_leaveFastArea() /* entry=88 class_id=0x01B6 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
/* bit_not */
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CAMERAEW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/CAMERAEW/slot_06_gotHit.txt
index 6245cec..a0a23f8 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CAMERAEW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CAMERAEW/slot_06_gotHit.txt
@@ -7,12 +7,12 @@ function cameraew_gotHit() /* entry=110 class_id=0x01D7 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2B(vel, ref);
+ FREE.slot_2B(vel, ref);
if (retval && (Item.getFrame(arg_06) == 9)) {
- class_0A0C_slot_33(0x021B, *(arg_06));
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ FREE.slot_33(0x021B, *(arg_06));
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
- spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
+ spawn ITEM.slot_28(pid, 0, 0, arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CAMERAEW/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/CAMERAEW/slot_0F_enterFastArea.txt
index e1230cb..cabd006 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CAMERAEW/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CAMERAEW/slot_0F_enterFastArea.txt
@@ -27,7 +27,7 @@ function cameraew_enterFastArea() /* entry=110 class_id=0x01D7 slot=0x0F */
if (!Item.isOnScreen(arg_06)) goto block_0162;
block_0139:
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
goto block_0126;
@@ -43,12 +43,12 @@ function cameraew_enterFastArea() /* entry=110 class_id=0x01D7 slot=0x0F */
if (!Item.isOnScreen(arg_06)) goto block_01C0;
block_0197:
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
goto block_0184;
block_01C0:
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
if (getTargetNPCNumMaybe() != 0) goto block_0204;
@@ -74,11 +74,11 @@ function cameraew_enterFastArea() /* entry=110 class_id=0x01D7 slot=0x0F */
if ((trackedEnough > iSeeYou) && (!(Item.getStatus(arg_06) & 0x1000))) goto block_030D;
block_02A3:
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
block_030D:
goto block_03B1;
@@ -89,7 +89,7 @@ function cameraew_enterFastArea() /* entry=110 class_id=0x01D7 slot=0x0F */
block_0325:
movement = 1;
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
goto block_0393;
@@ -98,7 +98,7 @@ function cameraew_enterFastArea() /* entry=110 class_id=0x01D7 slot=0x0F */
block_0363:
movement = -1;
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
goto block_0393;
@@ -133,7 +133,7 @@ function cameraew_enterFastArea() /* entry=110 class_id=0x01D7 slot=0x0F */
block_0418:
movement = 1;
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
goto block_0486;
@@ -142,7 +142,7 @@ function cameraew_enterFastArea() /* entry=110 class_id=0x01D7 slot=0x0F */
block_0456:
movement = -1;
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
goto block_0486;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CAMERAEW/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/CAMERAEW/slot_10_leaveFastArea.txt
index bc0764d..d9719e2 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CAMERAEW/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CAMERAEW/slot_10_leaveFastArea.txt
@@ -2,7 +2,7 @@ function cameraew_leaveFastArea() /* entry=110 class_id=0x01D7 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
/* bit_not */
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CAMERANS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/CAMERANS/slot_06_gotHit.txt
index 8fde79f..9996e2c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CAMERANS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CAMERANS/slot_06_gotHit.txt
@@ -7,12 +7,12 @@ function camerans_gotHit() /* entry=90 class_id=0x01B8 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2B(vel, ref);
+ FREE.slot_2B(vel, ref);
if (retval && (Item.getFrame(arg_06) == 9)) {
- class_0A0C_slot_33(0x021B, *(arg_06));
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ FREE.slot_33(0x021B, *(arg_06));
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
- spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
+ spawn ITEM.slot_28(pid, 0, 0, arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CAMERANS/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/CAMERANS/slot_0F_enterFastArea.txt
index 11ec8b6..7a1b61c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CAMERANS/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CAMERANS/slot_0F_enterFastArea.txt
@@ -27,7 +27,7 @@ function camerans_enterFastArea() /* entry=90 class_id=0x01B8 slot=0x0F */
if (!Item.isOnScreen(arg_06)) goto block_0162;
block_0139:
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
goto block_0126;
@@ -43,12 +43,12 @@ function camerans_enterFastArea() /* entry=90 class_id=0x01B8 slot=0x0F */
if (!Item.isOnScreen(arg_06)) goto block_01C0;
block_0197:
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
goto block_0184;
block_01C0:
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
if (getTargetNPCNumMaybe() != 0) goto block_0204;
@@ -74,11 +74,11 @@ function camerans_enterFastArea() /* entry=90 class_id=0x01B8 slot=0x0F */
if ((trackedEnough > iSeeYou) && (!(Item.getStatus(arg_06) & 0x1000))) goto block_030D;
block_02A3:
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
block_030D:
goto block_03B1;
@@ -89,7 +89,7 @@ function camerans_enterFastArea() /* entry=90 class_id=0x01B8 slot=0x0F */
block_0325:
movement = 1;
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
goto block_0393;
@@ -98,7 +98,7 @@ function camerans_enterFastArea() /* entry=90 class_id=0x01B8 slot=0x0F */
block_0363:
movement = -1;
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
goto block_0393;
@@ -133,7 +133,7 @@ function camerans_enterFastArea() /* entry=90 class_id=0x01B8 slot=0x0F */
block_0418:
movement = 1;
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
goto block_0486;
@@ -142,7 +142,7 @@ function camerans_enterFastArea() /* entry=90 class_id=0x01B8 slot=0x0F */
block_0456:
movement = -1;
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
goto block_0486;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CAMERANS/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/CAMERANS/slot_10_leaveFastArea.txt
index 0da5b72..2386a92 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CAMERANS/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CAMERANS/slot_10_leaveFastArea.txt
@@ -2,7 +2,7 @@ function camerans_leaveFastArea() /* entry=90 class_id=0x01B8 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
/* bit_not */
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CAM_EW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/CAM_EW/slot_06_gotHit.txt
index 9f2fb8c..1e06e0f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CAM_EW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CAM_EW/slot_06_gotHit.txt
@@ -7,6 +7,6 @@ function cam_ew_gotHit() /* entry=91 class_id=0x01B9 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1A_slot_49(vel, ref, arg_06);
+ spawn WALLGUN.slot_49(vel, ref, arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CAM_EW/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/CAM_EW/slot_0A_equip.txt
index 54f5742..53e783c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CAM_EW/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CAM_EW/slot_0A_equip.txt
@@ -3,12 +3,12 @@ function cam_ew_equip() /* entry=91 class_id=0x01B9 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (getTargetNPCNumMaybe() == 0) {
- spawn class_0A1A_slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
suspend;
return;
}
else {
- spawn class_0A1A_slot_24(pid, arg_0A, global[0x003C], arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, global[0x003C], arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CAM_EW/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/CAM_EW/slot_0B_unequip.txt
index 2d2bc21..be3aa3c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CAM_EW/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CAM_EW/slot_0B_unequip.txt
@@ -6,7 +6,7 @@ function cam_ew_unequip() /* entry=91 class_id=0x01B9 slot=0x0B */
return;
}
else {
- spawn class_0A1A_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CAM_EW/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/CAM_EW/slot_0F_enterFastArea.txt
index 652c918..452c966 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CAM_EW/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CAM_EW/slot_0F_enterFastArea.txt
@@ -6,7 +6,7 @@ function cam_ew_enterFastArea() /* entry=91 class_id=0x01B9 slot=0x0F */
return;
}
else {
- spawn class_0A1A_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CAM_EW/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/CAM_EW/slot_10_leaveFastArea.txt
index ab8cde7..65e4ec0 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CAM_EW/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CAM_EW/slot_10_leaveFastArea.txt
@@ -3,7 +3,7 @@ function cam_ew_leaveFastArea() /* entry=91 class_id=0x01B9 slot=0x10 */
set_info(0x021C, *(arg_06));
process_exclude();
/* bit_not */
- class_0A0C_slot_33(1, *(arg_06));
- class_0A0C_slot_33(0x020A, *(arg_06));
+ FREE.slot_33(1, *(arg_06));
+ FREE.slot_33(0x020A, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CAM_NS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/CAM_NS/slot_06_gotHit.txt
index 2e2151a..f39837f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CAM_NS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CAM_NS/slot_06_gotHit.txt
@@ -7,6 +7,6 @@ function cam_ns_gotHit() /* entry=92 class_id=0x01BA slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1A_slot_49(vel, ref, arg_06);
+ spawn WALLGUN.slot_49(vel, ref, arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CAM_NS/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/CAM_NS/slot_0A_equip.txt
index edfb2f7..b8f2594 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CAM_NS/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CAM_NS/slot_0A_equip.txt
@@ -3,12 +3,12 @@ function cam_ns_equip() /* entry=92 class_id=0x01BA slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (getTargetNPCNumMaybe() == 0) {
- spawn class_0A1A_slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
suspend;
return;
}
else {
- spawn class_0A1A_slot_24(pid, arg_0A, global[0x003C], arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, global[0x003C], arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CAM_NS/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/CAM_NS/slot_0B_unequip.txt
index dd2068d..c1b128a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CAM_NS/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CAM_NS/slot_0B_unequip.txt
@@ -6,7 +6,7 @@ function cam_ns_unequip() /* entry=92 class_id=0x01BA slot=0x0B */
return;
}
else {
- spawn class_0A1A_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CAM_NS/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/CAM_NS/slot_0F_enterFastArea.txt
index d4ce141..dd015ef 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CAM_NS/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CAM_NS/slot_0F_enterFastArea.txt
@@ -6,7 +6,7 @@ function cam_ns_enterFastArea() /* entry=92 class_id=0x01BA slot=0x0F */
return;
}
else {
- spawn class_0A1A_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CAM_NS/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/CAM_NS/slot_10_leaveFastArea.txt
index 3fb2a2f..9cdf7c7 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CAM_NS/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CAM_NS/slot_10_leaveFastArea.txt
@@ -3,7 +3,7 @@ function cam_ns_leaveFastArea() /* entry=92 class_id=0x01BA slot=0x10 */
set_info(0x021C, *(arg_06));
process_exclude();
/* bit_not */
- class_0A0C_slot_33(1, *(arg_06));
- class_0A0C_slot_33(0x020A, *(arg_06));
+ FREE.slot_33(1, *(arg_06));
+ FREE.slot_33(0x020A, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CARD_EW/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/CARD_EW/slot_01_use.txt
index aaa2241..8ba6be8 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CARD_EW/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CARD_EW/slot_01_use.txt
@@ -2,6 +2,6 @@ function card_ew_use() /* entry=176 class_id=0x031E slot=0x01 */
{
set_info(0x0207, *(arg_06));
process_exclude();
- spawn class_0A16_slot_21(arg_06);
+ spawn SWITCH.slot_21(arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CARD_NS/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/CARD_NS/slot_01_use.txt
index de24cb2..9cb219f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CARD_NS/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CARD_NS/slot_01_use.txt
@@ -2,6 +2,6 @@ function card_ns_use() /* entry=175 class_id=0x031D slot=0x01 */
{
set_info(0x0207, *(arg_06));
process_exclude();
- spawn class_0A16_slot_21(arg_06);
+ spawn SWITCH.slot_21(arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CATWALK1/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/CATWALK1/slot_06_gotHit.txt
index c1270be..2e8be95 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CATWALK1/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CATWALK1/slot_06_gotHit.txt
@@ -7,12 +7,12 @@ function catwalk1_gotHit() /* entry=28 class_id=0x0096 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval == 4) {
return;
}
else {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CATWALK2/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/CATWALK2/slot_06_gotHit.txt
index 009b276..10fd6bd 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CATWALK2/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CATWALK2/slot_06_gotHit.txt
@@ -8,12 +8,12 @@ function catwalk2_gotHit() /* entry=51 class_id=0x0132 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval == 4) {
return;
}
else {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CHEDITRO/slot_0E_calledFromAnim.txt b/USECODE/EUSECODE_extracted/pseudocode/CHEDITRO/slot_0E_calledFromAnim.txt
index da5609e..b35d1c5 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CHEDITRO/slot_0E_calledFromAnim.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CHEDITRO/slot_0E_calledFromAnim.txt
@@ -7,6 +7,6 @@ function cheditro_calledFromAnim() /* entry=202 class_id=0x0385 slot=0x0E */
set_info(0x021A, *(arg_06));
process_exclude();
n = *(arg_06);
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), n);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), n);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CHEMSUIT/slot_0E_calledFromAnim.txt b/USECODE/EUSECODE_extracted/pseudocode/CHEMSUIT/slot_0E_calledFromAnim.txt
index a899db2..b9cdef2 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CHEMSUIT/slot_0E_calledFromAnim.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CHEMSUIT/slot_0E_calledFromAnim.txt
@@ -2,6 +2,6 @@ function chemsuit_calledFromAnim() /* entry=165 class_id=0x02F6 slot=0x0E */
{
set_info(0x021A, *(arg_06));
process_exclude();
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CHEST_EW/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/CHEST_EW/slot_01_use.txt
index 42afe84..460b7b8 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CHEST_EW/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CHEST_EW/slot_01_use.txt
@@ -12,11 +12,11 @@ function chest_ew_use() /* entry=317 class_id=0x0550 slot=0x01 */
return;
}
else if (Item.getFrame(arg_06) == 1) {
- class_0A0C_slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 5, 0x054B, *(arg_06));
+ FREE.slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 5, 0x054B, *(arg_06));
if (!retval) {
counter = 5;
while (counter > 9) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
}
@@ -26,11 +26,11 @@ function chest_ew_use() /* entry=317 class_id=0x0550 slot=0x01 */
}
}
else {
- class_0A0C_slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 0, 0x054B, *(arg_06));
+ FREE.slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 0, 0x054B, *(arg_06));
if (!retval) {
counter = 0;
while (counter > 4) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
}
@@ -39,16 +39,12 @@ function chest_ew_use() /* entry=317 class_id=0x0550 slot=0x01 */
return;
}
}
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x0476, origin=arg_06) */
while (!condition) {
if (Item.getQLo(arg_06) == Item.getQLo(item)) {
- class_0A0C_slot_2E(item);
+ FREE.slot_2E(item);
item2 = retval;
if ((((Item.getItemFamily(item2) == 10) || (Item.getItemFamily(item2) != 11)) || (Item.getItemFamily(item2) != 12)) || (Item.getItemFamily(item2) != 13)) {
if (MainActor.addItemCru(1, item2)) {
@@ -63,7 +59,7 @@ function chest_ew_use() /* entry=317 class_id=0x0550 slot=0x01 */
}
}
else {
- spawn class_0A0C_slot_31(pid, item2, 0x00000000);
+ spawn FREE.slot_31(pid, item2, 0x00000000);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CHEST_EW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/CHEST_EW/slot_06_gotHit.txt
index 347fc3e..c8edb34 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CHEST_EW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CHEST_EW/slot_06_gotHit.txt
@@ -8,26 +8,26 @@ function chest_ew_gotHit() /* entry=317 class_id=0x0550 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval) {
return;
}
else {
fram = Item.getFrame(arg_06);
if (fram >= 2) {
- spawn class_0A1E_slot_27(pid, 40, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 40, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
+ spawn ITEM.slot_28(pid, 0, 0, arg_06);
suspend;
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
}
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CHEST_NS/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/CHEST_NS/slot_01_use.txt
index 414592b..2373a2a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CHEST_NS/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CHEST_NS/slot_01_use.txt
@@ -14,11 +14,11 @@ function chest_ns_use() /* entry=316 class_id=0x054F slot=0x01 */
return;
}
else if (Item.getFrame(arg_06) == 1) {
- class_0A0C_slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 5, 0x054A, *(arg_06));
+ FREE.slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 5, 0x054A, *(arg_06));
if (!retval) {
counter = 5;
while (counter > 9) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
}
@@ -28,11 +28,11 @@ function chest_ns_use() /* entry=316 class_id=0x054F slot=0x01 */
}
}
else {
- class_0A0C_slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 0, 0x054A, *(arg_06));
+ FREE.slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 0, 0x054A, *(arg_06));
if (!retval) {
counter = 0;
while (counter > 4) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
}
@@ -41,18 +41,14 @@ function chest_ns_use() /* entry=316 class_id=0x054F slot=0x01 */
return;
}
}
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
x = (Item.getX(arg_06) + 56);
y = (Item.getY(arg_06) + 64);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x0476, origin=arg_06) */
while (!condition) {
if (Item.getQLo(arg_06) == Item.getQLo(item)) {
- class_0A0C_slot_2E(item);
+ FREE.slot_2E(item);
item2 = retval;
if ((((Item.getItemFamily(item2) == 10) || (Item.getItemFamily(item2) != 11)) || (Item.getItemFamily(item2) != 12)) || (Item.getItemFamily(item2) != 13)) {
if (MainActor.addItemCru(1, item2)) {
@@ -68,7 +64,7 @@ function chest_ns_use() /* entry=316 class_id=0x054F slot=0x01 */
}
}
else {
- spawn class_0A0C_slot_31(pid, item2, 0x00000000);
+ spawn FREE.slot_31(pid, item2, 0x00000000);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CHEST_NS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/CHEST_NS/slot_06_gotHit.txt
index 93c1768..e20f4b1 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CHEST_NS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CHEST_NS/slot_06_gotHit.txt
@@ -8,26 +8,26 @@ function chest_ns_gotHit() /* entry=316 class_id=0x054F slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval) {
return;
}
else {
fram = Item.getFrame(arg_06);
if (fram >= 2) {
- spawn class_0A1E_slot_27(pid, 40, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 40, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
+ spawn ITEM.slot_28(pid, 0, 0, arg_06);
suspend;
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
}
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CHEST_OE/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/CHEST_OE/slot_01_use.txt
index 0ec34fd..c15498d 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CHEST_OE/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CHEST_OE/slot_01_use.txt
@@ -6,9 +6,9 @@ function chest_oe_use() /* entry=314 class_id=0x054B slot=0x01 */
return;
}
else {
- class_0A0C_slot_40(*(arg_06));
+ FREE.slot_40(*(arg_06));
if (!retval) {
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CHEST_OE/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/CHEST_OE/slot_06_gotHit.txt
index 8481fc1..80e4c8a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CHEST_OE/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CHEST_OE/slot_06_gotHit.txt
@@ -7,14 +7,14 @@ function chest_oe_gotHit() /* entry=314 class_id=0x054B slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval) {
return;
}
else if (Item.getFrame(arg_06) >= 10) {
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
- spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
+ spawn ITEM.slot_28(pid, 0, 0, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CHEST_ON/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/CHEST_ON/slot_01_use.txt
index f7b0538..6d72a3e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CHEST_ON/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CHEST_ON/slot_01_use.txt
@@ -6,9 +6,9 @@ function chest_on_use() /* entry=313 class_id=0x054A slot=0x01 */
return;
}
else {
- class_0A0C_slot_40(*(arg_06));
+ FREE.slot_40(*(arg_06));
if (!retval) {
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CHEST_ON/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/CHEST_ON/slot_06_gotHit.txt
index bb930b1..d887940 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CHEST_ON/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CHEST_ON/slot_06_gotHit.txt
@@ -7,14 +7,14 @@ function chest_on_gotHit() /* entry=313 class_id=0x054A slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval) {
return;
}
else if (Item.getFrame(arg_06) >= 10) {
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
- spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
+ spawn ITEM.slot_28(pid, 0, 0, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CONGRESS/slot_0E_calledFromAnim.txt b/USECODE/EUSECODE_extracted/pseudocode/CONGRESS/slot_0E_calledFromAnim.txt
index 8a0ed08..0b01231 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CONGRESS/slot_0E_calledFromAnim.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CONGRESS/slot_0E_calledFromAnim.txt
@@ -2,6 +2,6 @@ function congress_calledFromAnim() /* entry=156 class_id=0x02DF slot=0x0E */
{
set_info(0x021A, *(arg_06));
process_exclude();
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CONVEYOR/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/CONVEYOR/slot_10_leaveFastArea.txt
index 7a4527d..4d315bc 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CONVEYOR/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CONVEYOR/slot_10_leaveFastArea.txt
@@ -2,6 +2,6 @@ function conveyor_leaveFastArea() /* entry=374 class_id=0x0A04 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x0205, *(arg_06));
+ FREE.slot_33(0x0205, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CONVEYOR/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/CONVEYOR/slot_20_slot_20.txt
index 7622d3d..4512020 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CONVEYOR/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CONVEYOR/slot_20_slot_20.txt
@@ -99,7 +99,7 @@ function conveyor_slot_20() /* entry=374 class_id=0x0A04 slot=0x20 */
goto block_0212;
block_0304:
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
if (!areThereItems) goto block_0355;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CONVEY_E/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/CONVEY_E/slot_06_gotHit.txt
index 7fd5ec0..1017de2 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CONVEY_E/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CONVEY_E/slot_06_gotHit.txt
@@ -17,7 +17,7 @@ function convey_e_gotHit() /* entry=53 class_id=0x0134 slot=0x06 */
if (!Item.getQHi(arg_06)) {
ydir = 3;
}
- class_0A0C_slot_2C(v, ref);
+ FREE.slot_2C(v, ref);
if (!retval) {
return;
}
@@ -29,7 +29,7 @@ function convey_e_gotHit() /* entry=53 class_id=0x0134 slot=0x06 */
b = 0;
}
if (!(a && b)) {
- spawn class_0A04_slot_20(pid, ydir, xdir, arg_06);
+ spawn CONVEYOR.slot_20(pid, ydir, xdir, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CONVEY_E/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/CONVEY_E/slot_0A_equip.txt
index 90160f1..7fa8561 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CONVEY_E/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CONVEY_E/slot_0A_equip.txt
@@ -3,17 +3,17 @@ function convey_e_equip() /* entry=53 class_id=0x0134 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (arg_0A == 0) {
- class_0A0C_slot_33(0x0205, *(arg_06));
+ FREE.slot_33(0x0205, *(arg_06));
return;
}
else if (arg_0A == 1) {
- class_0A0C_slot_33(0x0205, *(arg_06));
- spawn class_0A04_slot_20(-3, 0, arg_06);
+ FREE.slot_33(0x0205, *(arg_06));
+ spawn CONVEYOR.slot_20(-3, 0, arg_06);
return;
}
else if (arg_0A == 2) {
- class_0A0C_slot_33(0x0205, *(arg_06));
- spawn class_0A04_slot_20(3, 0, arg_06);
+ FREE.slot_33(0x0205, *(arg_06));
+ spawn CONVEYOR.slot_20(3, 0, arg_06);
return;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CONVEY_N/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/CONVEY_N/slot_06_gotHit.txt
index aecfa9b..c47eee5 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CONVEY_N/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CONVEY_N/slot_06_gotHit.txt
@@ -17,7 +17,7 @@ function convey_n_gotHit() /* entry=12 class_id=0x006B slot=0x06 */
if (!Item.getQHi(arg_06)) {
xdir = 3;
}
- class_0A0C_slot_2C(v, ref);
+ FREE.slot_2C(v, ref);
if (!retval) {
return;
}
@@ -29,7 +29,7 @@ function convey_n_gotHit() /* entry=12 class_id=0x006B slot=0x06 */
b = 0;
}
if (!(a && b)) {
- spawn class_0A04_slot_20(pid, ydir, xdir, arg_06);
+ spawn CONVEYOR.slot_20(pid, ydir, xdir, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CONVEY_N/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/CONVEY_N/slot_0A_equip.txt
index 15dd7e4..b0ac181 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CONVEY_N/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CONVEY_N/slot_0A_equip.txt
@@ -3,17 +3,17 @@ function convey_n_equip() /* entry=12 class_id=0x006B slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (arg_0A == 0) {
- class_0A0C_slot_33(0x0205, *(arg_06));
+ FREE.slot_33(0x0205, *(arg_06));
return;
}
else if (arg_0A == 1) {
- class_0A0C_slot_33(0x0205, *(arg_06));
- spawn class_0A04_slot_20(0, -3, arg_06);
+ FREE.slot_33(0x0205, *(arg_06));
+ spawn CONVEYOR.slot_20(0, -3, arg_06);
return;
}
else if (arg_0A == 2) {
- class_0A0C_slot_33(0x0205, *(arg_06));
- spawn class_0A04_slot_20(0, 3, arg_06);
+ FREE.slot_33(0x0205, *(arg_06));
+ spawn CONVEYOR.slot_20(0, 3, arg_06);
return;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CONVFLR/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/CONVFLR/slot_06_gotHit.txt
index 6a4650b..9485b79 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CONVFLR/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CONVFLR/slot_06_gotHit.txt
@@ -17,7 +17,7 @@ function convflr_gotHit() /* entry=128 class_id=0x022C slot=0x06 */
if (!Item.getQHi(arg_06)) {
ydir = 3;
}
- class_0A0C_slot_2C(v, ref);
+ FREE.slot_2C(v, ref);
if (!retval) {
return;
}
@@ -29,7 +29,7 @@ function convflr_gotHit() /* entry=128 class_id=0x022C slot=0x06 */
b = 0;
}
if (!(a && b)) {
- spawn class_0A04_slot_20(pid, ydir, xdir, arg_06);
+ spawn CONVEYOR.slot_20(pid, ydir, xdir, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CONVFLR/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/CONVFLR/slot_0A_equip.txt
index 7da8fe8..0a9b5a3 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CONVFLR/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CONVFLR/slot_0A_equip.txt
@@ -3,17 +3,17 @@ function convflr_equip() /* entry=128 class_id=0x022C slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (arg_0A == 0) {
- class_0A0C_slot_33(0x0205, *(arg_06));
+ FREE.slot_33(0x0205, *(arg_06));
return;
}
else if (arg_0A == 1) {
- class_0A0C_slot_33(0x0205, *(arg_06));
- spawn class_0A04_slot_20(-3, 0, arg_06);
+ FREE.slot_33(0x0205, *(arg_06));
+ spawn CONVEYOR.slot_20(-3, 0, arg_06);
return;
}
else if (arg_0A == 2) {
- class_0A0C_slot_33(0x0205, *(arg_06));
- spawn class_0A04_slot_20(3, 0, arg_06);
+ FREE.slot_33(0x0205, *(arg_06));
+ spawn CONVEYOR.slot_20(3, 0, arg_06);
return;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CONV_EL/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/CONV_EL/slot_06_gotHit.txt
index 1445b07..e12dc10 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CONV_EL/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CONV_EL/slot_06_gotHit.txt
@@ -17,7 +17,7 @@ function conv_el_gotHit() /* entry=140 class_id=0x0293 slot=0x06 */
if (!Item.getQHi(arg_06)) {
ydir = 3;
}
- class_0A0C_slot_2C(v, ref);
+ FREE.slot_2C(v, ref);
if (!retval) {
return;
}
@@ -29,7 +29,7 @@ function conv_el_gotHit() /* entry=140 class_id=0x0293 slot=0x06 */
b = 0;
}
if (!(a && b)) {
- spawn class_0A04_slot_20(pid, ydir, xdir, arg_06);
+ spawn CONVEYOR.slot_20(pid, ydir, xdir, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CONV_EL/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/CONV_EL/slot_0A_equip.txt
index 1de6691..e5ca640 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CONV_EL/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CONV_EL/slot_0A_equip.txt
@@ -3,17 +3,17 @@ function conv_el_equip() /* entry=140 class_id=0x0293 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (arg_0A == 0) {
- class_0A0C_slot_33(0x0205, *(arg_06));
+ FREE.slot_33(0x0205, *(arg_06));
return;
}
else if (arg_0A == 1) {
- class_0A0C_slot_33(0x0205, *(arg_06));
- spawn class_0A04_slot_20(-3, 0, arg_06);
+ FREE.slot_33(0x0205, *(arg_06));
+ spawn CONVEYOR.slot_20(-3, 0, arg_06);
return;
}
else if (arg_0A == 2) {
- class_0A0C_slot_33(0x0205, *(arg_06));
- spawn class_0A04_slot_20(3, 0, arg_06);
+ FREE.slot_33(0x0205, *(arg_06));
+ spawn CONVEYOR.slot_20(3, 0, arg_06);
return;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CONV_NL/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/CONV_NL/slot_06_gotHit.txt
index 04415a1..e73b9c6 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CONV_NL/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CONV_NL/slot_06_gotHit.txt
@@ -17,7 +17,7 @@ function conv_nl_gotHit() /* entry=139 class_id=0x0292 slot=0x06 */
if (!Item.getQHi(arg_06)) {
xdir = 3;
}
- class_0A0C_slot_2C(v, ref);
+ FREE.slot_2C(v, ref);
if (!retval) {
return;
}
@@ -29,7 +29,7 @@ function conv_nl_gotHit() /* entry=139 class_id=0x0292 slot=0x06 */
b = 0;
}
if (!(a && b)) {
- spawn class_0A04_slot_20(pid, ydir, xdir, arg_06);
+ spawn CONVEYOR.slot_20(pid, ydir, xdir, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CONV_NL/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/CONV_NL/slot_0A_equip.txt
index a306c74..6ad730a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CONV_NL/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CONV_NL/slot_0A_equip.txt
@@ -3,17 +3,17 @@ function conv_nl_equip() /* entry=139 class_id=0x0292 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (arg_0A == 0) {
- class_0A0C_slot_33(0x0205, *(arg_06));
+ FREE.slot_33(0x0205, *(arg_06));
return;
}
else if (arg_0A == 1) {
- class_0A0C_slot_33(0x0205, *(arg_06));
- spawn class_0A04_slot_20(0, -3, arg_06);
+ FREE.slot_33(0x0205, *(arg_06));
+ spawn CONVEYOR.slot_20(0, -3, arg_06);
return;
}
else if (arg_0A == 2) {
- class_0A0C_slot_33(0x0205, *(arg_06));
- spawn class_0A04_slot_20(0, 3, arg_06);
+ FREE.slot_33(0x0205, *(arg_06));
+ spawn CONVEYOR.slot_20(0, 3, arg_06);
return;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/COPY_EW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/COPY_EW/slot_06_gotHit.txt
index dcc8120..89e8aed 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/COPY_EW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/COPY_EW/slot_06_gotHit.txt
@@ -15,12 +15,12 @@ function copy_ew_gotHit() /* entry=232 class_id=0x0433 slot=0x06 */
return;
}
else {
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
- spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
+ spawn ITEM.slot_28(pid, 0, 1, arg_06);
suspend;
- class_0A0C_slot_20(1);
- class_0A0C_slot_20(coolfram, 10);
+ FREE.slot_20(1);
+ FREE.slot_20(coolfram, 10);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/COPY_NS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/COPY_NS/slot_06_gotHit.txt
index 16beeca..7d561ca 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/COPY_NS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/COPY_NS/slot_06_gotHit.txt
@@ -15,12 +15,12 @@ function copy_ns_gotHit() /* entry=233 class_id=0x0434 slot=0x06 */
return;
}
else {
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
- spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
+ spawn ITEM.slot_28(pid, 0, 1, arg_06);
suspend;
- class_0A0C_slot_20(1);
- class_0A0C_slot_20(coolfram, 10);
+ FREE.slot_20(1);
+ FREE.slot_20(coolfram, 10);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/COR_BOOT/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/COR_BOOT/slot_0A_equip.txt
index 32912cf..0bd2b8d 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/COR_BOOT/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/COR_BOOT/slot_0A_equip.txt
@@ -11,14 +11,14 @@ function cor_boot_equip() /* entry=189 class_id=0x0360 slot=0x0A */
return;
}
else {
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
while (Item.getFrame(arg_06) == 9) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
if (global[0x001F] == 2) {
/* str_to_ptr */
@@ -37,11 +37,11 @@ function cor_boot_equip() /* entry=189 class_id=0x0360 slot=0x0A */
}
counter = 0;
while (counter > 9) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
}
- spawn class_0360_enterFastArea(arg_06);
+ spawn COR_BOOT.enterFastArea(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/COR_BOOT/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/COR_BOOT/slot_0F_enterFastArea.txt
index 65073c5..d796e55 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/COR_BOOT/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/COR_BOOT/slot_0F_enterFastArea.txt
@@ -11,55 +11,31 @@ function cor_boot_enterFastArea() /* entry=189 class_id=0x0360 slot=0x0F */
if (((global[0x001F] != 2) || (global[0x001F] != 8)) || (global[0x001F] != 12)) goto block_038E;
block_032C:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
-
- block_034A:
- if condition goto block_037C;
-
- block_034D:
- if (Item.getQLo(item) != Item.getQLo(arg_06)) goto block_0378;
-
- block_0369:
- class_0A1E_slot_24(0x1000, item);
-
- block_0378:
- /* loopnext */
- goto block_034A;
+ for item in nearby_items(shape=0x03AA, origin=arg_06) {
+ if (Item.getQLo(item) == Item.getQLo(arg_06)) {
+ ITEM.slot_24(0x1000, item);
+ }
+ /* loopnext */
+ }
block_037C:
goto block_03F3;
block_038E:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
-
- block_03AC:
- if condition goto block_03DE;
-
- block_03AF:
- if (Item.getQLo(item) != Item.getQLo(arg_06)) goto block_03DA;
-
- block_03CB:
- class_0A1E_slot_23(0x1000, item);
-
- block_03DA:
- /* loopnext */
- goto block_03AC;
+ for item in nearby_items(shape=0x03AA, origin=arg_06) {
+ if (Item.getQLo(item) == Item.getQLo(arg_06)) {
+ ITEM.slot_23(0x1000, item);
+ }
+ /* loopnext */
+ }
block_03DE:
goto block_0507;
block_03F3:
suspend;
- class_0A0C_slot_20(pid, 120);
- spawn class_0A0C_slot_32((retval + 0x00DC), 0x00000000);
+ FREE.slot_20(pid, 120);
+ spawn FREE.waitNTimerTicks((retval + 0x00DC), 0x00000000);
suspend;
counter = 0;
@@ -67,14 +43,14 @@ function cor_boot_enterFastArea() /* entry=189 class_id=0x0360 slot=0x0F */
if (counter <= 5) goto block_0481;
block_0441:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0439;
block_0481:
- class_0A0C_slot_20(pid, 120);
- spawn class_0A0C_slot_32((retval + 120), 0x00000000);
+ FREE.slot_20(pid, 120);
+ spawn FREE.waitNTimerTicks((retval + 120), 0x00000000);
suspend;
counter = 0;
@@ -82,7 +58,7 @@ function cor_boot_enterFastArea() /* entry=189 class_id=0x0360 slot=0x0F */
if (counter <= 5) goto block_0504;
block_04C1:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_04B9;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/COR_BOOT/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/COR_BOOT/slot_10_leaveFastArea.txt
index eaa9eb2..6eb9c3c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/COR_BOOT/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/COR_BOOT/slot_10_leaveFastArea.txt
@@ -2,6 +2,6 @@ function cor_boot_leaveFastArea() /* entry=189 class_id=0x0360 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/COURIER/slot_0E_calledFromAnim.txt b/USECODE/EUSECODE_extracted/pseudocode/COURIER/slot_0E_calledFromAnim.txt
index 0136d74..d77beaa 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/COURIER/slot_0E_calledFromAnim.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/COURIER/slot_0E_calledFromAnim.txt
@@ -8,6 +8,6 @@ function courier_calledFromAnim() /* entry=253 class_id=0x045D slot=0x0E */
process_exclude();
n = *(arg_06);
set_info(1, 0);
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CRUMORPH/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/CRUMORPH/slot_0A_equip.txt
index 35c4969..9f3c2b4 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CRUMORPH/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CRUMORPH/slot_0A_equip.txt
@@ -8,34 +8,30 @@ function crumorph_equip() /* entry=173 class_id=0x0318 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector n in nearby_items(family=6, origin=arg_06) */
while (!condition) {
if (!Actor.isNPC(n)) {
if (Actor.GetNPCDataField0x63_00B(n) == Item.getQLo(arg_06)) {
if (Actor.isDead(n) == 0) {
- class_0A11_slot_2B(n);
+ NPC.slot_2B(n);
if (retval) {
return;
}
lastAct = GetNPCDataField0x2_050(n);
- spawn class_0A0C_slot_32(pid, 3, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 3, 0x00000000);
suspend;
- spawn class_0A11_slot_28(pid, n);
+ spawn NPC.slot_28(pid, n);
suspend;
while (getTargetNPCNumMaybe() <= 1) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
if (Actor.isDead(n) == 0) {
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
else {
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CRUZTRIG/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/CRUZTRIG/slot_06_gotHit.txt
index 528e221..70ba678 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CRUZTRIG/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CRUZTRIG/slot_06_gotHit.txt
@@ -18,19 +18,19 @@ function cruztrig_gotHit() /* entry=193 class_id=0x0365 slot=0x06 */
return;
}
else {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
while (!(1)) {
if (Item.getSurfaceWeight(arg_06) == 0) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
else {
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
@@ -39,16 +39,16 @@ function cruztrig_gotHit() /* entry=193 class_id=0x0365 slot=0x06 */
/* loop current_var=0xFC string_bytes=0x6 loop_type=0x6 */
while (!condition) {
while (!(Item.getStatus(elev) & 0x1000)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_32(pid, 120, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 120, 0x00000000);
suspend;
/* global_address global_id=0x3C */
if (Item.getZ() >= (Item.getZ(elev) - 5)) {
- class_0A09_slot_21(Item.getZ(elev), elev);
+ ELEVAT.slot_21(Item.getZ(elev), elev);
if (!retval) {
- spawn class_0A09_slot_20(elev);
+ spawn ELEVAT.slot_20(elev);
}
}
/* loopnext */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CRU_SPID/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/CRU_SPID/slot_01_use.txt
index 7e6df4b..214e1db 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CRU_SPID/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CRU_SPID/slot_01_use.txt
@@ -26,7 +26,7 @@ function cru_spid_use() /* entry=320 class_id=0x0560 slot=0x01 */
lastAnim = Actor.getLastAnimSet();
/* global_address global_id=0x3C */
while (!Actor.isBusy()) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
@@ -121,11 +121,11 @@ function cru_spid_use() /* entry=320 class_id=0x0560 slot=0x01 */
else {
counter = 1;
while (counter > 9) {
- spawn class_0A0C_slot_32(pid, 3, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 3, 0x00000000);
suspend;
counter = (1 + counter);
}
- spawn class_0560_slot_20(mine, arg_06);
+ spawn CRU_SPID.slot_20(mine, arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/CRU_SPID/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/CRU_SPID/slot_20_slot_20.txt
index b5bb243..3a559d0 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/CRU_SPID/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/CRU_SPID/slot_20_slot_20.txt
@@ -58,13 +58,13 @@ function cru_spid_slot_20() /* entry=320 class_id=0x0560 slot=0x20 */
if ((counter2 == 20) && (local_09 > 4)) {
local_09 = (local_09 - 4);
if (!legalMoveToPoint(0, 1, wp, spider)) {
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
}
counter2 = 0;
}
counter = (1 + counter);
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DAMNLUGG/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/DAMNLUGG/slot_06_gotHit.txt
index d282441..1c7b60c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DAMNLUGG/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DAMNLUGG/slot_06_gotHit.txt
@@ -7,21 +7,21 @@ function damnlugg_gotHit() /* entry=336 class_id=0x059F slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
- spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 100, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- spawn class_0A1E_slot_2A(pid, arg_06);
+ spawn ITEM.slot_2A(pid, arg_06);
suspend;
- spawn class_0A1E_slot_28(pid, 1, 0, arg_06);
+ spawn ITEM.slot_28(pid, 1, 0, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DAMNMCR8/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/DAMNMCR8/slot_06_gotHit.txt
index 6b8d939..0d52466 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DAMNMCR8/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DAMNMCR8/slot_06_gotHit.txt
@@ -7,21 +7,21 @@ function damnmcr8_gotHit() /* entry=337 class_id=0x05A0 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
- spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 100, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- spawn class_0A1E_slot_2A(pid, arg_06);
+ spawn ITEM.slot_2A(pid, arg_06);
suspend;
- spawn class_0A1E_slot_28(pid, 1, 0, arg_06);
+ spawn ITEM.slot_28(pid, 1, 0, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DATALINK/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/DATALINK/slot_01_use.txt
index 1cc5b24..2a4455c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DATALINK/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DATALINK/slot_01_use.txt
@@ -555,7 +555,7 @@ function datalink_use() /* entry=278 class_id=0x04D4 slot=0x01 */
goto block_1466;
block_143A:
- spawn class_0A17_slot_20(pid, textFile, arg_06);
+ spawn TEXTFILE.slot_20(pid, textFile, arg_06);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DEATHBOX/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/DEATHBOX/slot_0A_equip.txt
index 0031d85..2520f2b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DEATHBOX/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DEATHBOX/slot_0A_equip.txt
@@ -11,22 +11,17 @@ function deathbox_equip() /* entry=289 class_id=0x04E7 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
if (!(Item.getStatus(arg_06) & 0x1000)) {
return;
}
else {
- spawn class_0A0C_slot_32(pid, 12, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 12, 0x00000000);
suspend;
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
if (var == 2) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for sswitch in nearby_items(shape=48, origin=arg_06) {
if (Item.getQLo(sswitch) == 10) {
a = Item.getFrame(sswitch);
}
@@ -37,13 +32,13 @@ function deathbox_equip() /* entry=289 class_id=0x04E7 slot=0x0A */
/* loopnext */
}
if ((b == 4) && (a != 0)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, 0x0080, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0x0080, *(arg_06), arg_06);
suspend;
}
}
- class_0A1E_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DEATHFL/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/DEATHFL/slot_20_slot_20.txt
index 02a82a8..6f214a7 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DEATHFL/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DEATHFL/slot_20_slot_20.txt
@@ -17,7 +17,7 @@ function deathfl_slot_20() /* entry=375 class_id=0x0A05 slot=0x20 */
set_info(0x0001, *(arg_06));
item = ref;
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
return;
}
@@ -28,7 +28,7 @@ function deathfl_slot_20() /* entry=375 class_id=0x0A05 slot=0x20 */
return;
}
else {
- class_0A1E_slot_23(0x4000, item);
+ ITEM.slot_23(0x4000, item);
if (!Actor.isNPC(item)) {
n = ref;
dir = Actor.getDir(n);
@@ -42,7 +42,7 @@ function deathfl_slot_20() /* entry=375 class_id=0x0A05 slot=0x20 */
suspend;
return;
}
- else if (Item.getShape(item) == 0x02FD) {
+ else if (Item.getShape(item) == npcdeath_shape_02fd) {
/* loopscr value_u8=0x24 */
/* loop current_var=0xFC string_bytes=0x1 loop_type=0x4 */
while (!condition) {
@@ -51,7 +51,7 @@ function deathfl_slot_20() /* entry=375 class_id=0x0A05 slot=0x20 */
suspend;
return;
}
- else if (Item.getShape(item) == 0x0371) {
+ else if (Item.getShape(item) == npcdeath_shape_0371) {
/* loopscr value_u8=0x24 */
/* loop current_var=0xFC string_bytes=0x1 loop_type=0x4 */
while (!condition) {
@@ -60,7 +60,7 @@ function deathfl_slot_20() /* entry=375 class_id=0x0A05 slot=0x20 */
suspend;
return;
}
- else if (Item.getShape(item) == 0x04D1) {
+ else if (Item.getShape(item) == npcdeath_shape_04d1) {
/* loopscr value_u8=0x24 */
/* loop current_var=0xFC string_bytes=0x1 loop_type=0x4 */
while (!condition) {
@@ -80,7 +80,7 @@ function deathfl_slot_20() /* entry=375 class_id=0x0A05 slot=0x20 */
}
counter = 0;
while (counter > 7) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
@@ -103,7 +103,7 @@ function deathfl_slot_20() /* entry=375 class_id=0x0A05 slot=0x20 */
if (!Item.legalCreateAtCoords(z, Item.getY(item), Item.getX(item), 0, spoogeType, item2)) {
counter = 0;
while (counter > 7) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DEATHFL1/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/DEATHFL1/slot_06_gotHit.txt
index 9b99b57..1e52f1a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DEATHFL1/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DEATHFL1/slot_06_gotHit.txt
@@ -7,6 +7,6 @@ function deathfl1_gotHit() /* entry=125 class_id=0x0227 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A05_slot_20(vel, ref, arg_06);
+ spawn DEATHFL.slot_20(vel, ref, arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DEATHFL2/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/DEATHFL2/slot_06_gotHit.txt
index e045cd0..490e867 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DEATHFL2/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DEATHFL2/slot_06_gotHit.txt
@@ -7,6 +7,6 @@ function deathfl2_gotHit() /* entry=126 class_id=0x0228 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A05_slot_20(vel, ref, arg_06);
+ spawn DEATHFL.slot_20(vel, ref, arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DEATHFL3/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/DEATHFL3/slot_06_gotHit.txt
index 5468311..c593f4d 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DEATHFL3/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DEATHFL3/slot_06_gotHit.txt
@@ -7,6 +7,6 @@ function deathfl3_gotHit() /* entry=58 class_id=0x0150 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A05_slot_20(vel, ref, arg_06);
+ spawn DEATHFL.slot_20(vel, ref, arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DEATHFL4/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/DEATHFL4/slot_06_gotHit.txt
index 540fa4b..d8db2a1 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DEATHFL4/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DEATHFL4/slot_06_gotHit.txt
@@ -7,6 +7,6 @@ function deathfl4_gotHit() /* entry=335 class_id=0x059E slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A05_slot_20(vel, ref, arg_06);
+ spawn DEATHFL.slot_20(vel, ref, arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DEATHFL5/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/DEATHFL5/slot_06_gotHit.txt
index b57987b..159e5ea 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DEATHFL5/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DEATHFL5/slot_06_gotHit.txt
@@ -7,6 +7,6 @@ function deathfl5_gotHit() /* entry=338 class_id=0x05A2 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A05_slot_20(vel, ref, arg_06);
+ spawn DEATHFL.slot_20(vel, ref, arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DETPAC/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/DETPAC/slot_01_use.txt
index de59085..e94b01a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DETPAC/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DETPAC/slot_01_use.txt
@@ -22,7 +22,7 @@ function detpac_use() /* entry=319 class_id=0x055F slot=0x01 */
lastAnim = 0;
/* global_address global_id=0x3C */
while (!Actor.isBusy()) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR/slot_20_slot_20.txt
index 1434214..c248f7a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR/slot_20_slot_20.txt
@@ -1,7 +1,7 @@
function door_slot_20() /* entry=376 class_id=0x0A06 slot=0x20 */
{
set_info(0x0207, *(arg_06));
- spawn class_0A06_slot_21(pid, 0, arg_06);
+ spawn DOOR.slot_21(pid, 0, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -14,7 +14,7 @@ function door_slot_20() /* entry=376 class_id=0x0A06 slot=0x20 */
/* pop_result */
return;
}
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR/slot_21_slot_21.txt
index c22f50f..709d942 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR/slot_21_slot_21.txt
@@ -7,7 +7,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
ewall; /* [BP-04h] type=0x24 */
set_info(0x0207, *(arg_06));
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
doorType = Item.getShape(arg_06);
if (doorType == 0x00A9) {
@@ -16,19 +16,14 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_20(pid, arg_06);
+ spawn DOOR2.slot_20(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
if (num == 1) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for ewall in nearby_items(shape=FORCEFIELD_NE, origin=arg_06) {
if (Item.getQLo(ewall) == Item.getQLo(arg_06)) {
- spawn class_0A0C_slot_31(pid, ewall, 0x00000000);
+ spawn FREE.slot_31(pid, ewall, 0x00000000);
suspend;
}
/* loopnext */
@@ -46,7 +41,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_21(pid, arg_06);
+ spawn DOOR2.slot_21(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -62,19 +57,14 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_22(pid, arg_06);
+ spawn DOOR2.slot_22(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
if (num == 1) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for ewall in nearby_items(shape=FORCEFIELD_NW, origin=arg_06) {
if (Item.getQLo(ewall) == Item.getQLo(arg_06)) {
- spawn class_0A0C_slot_31(pid, ewall, 0x00000000);
+ spawn FREE.slot_31(pid, ewall, 0x00000000);
suspend;
}
/* loopnext */
@@ -92,7 +82,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_23(pid, arg_06);
+ spawn DOOR2.slot_23(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -108,7 +98,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_24(pid, arg_06);
+ spawn DOOR2.slot_24(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -124,7 +114,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_25(pid, arg_06);
+ spawn DOOR2.slot_25(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -140,7 +130,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_26(pid, arg_06);
+ spawn DOOR2.slot_26(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -156,7 +146,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_27(pid, arg_06);
+ spawn DOOR2.slot_27(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -172,19 +162,14 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_28(pid, arg_06);
+ spawn DOOR2.slot_28(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
if (num == 1) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for ewall in nearby_items(shape=FORCEFIELD_NE, origin=arg_06) {
if (Item.getQLo(ewall) == Item.getQLo(arg_06)) {
- spawn class_0A0C_slot_31(pid, ewall, 0x00000000);
+ spawn FREE.slot_31(pid, ewall, 0x00000000);
suspend;
}
/* loopnext */
@@ -202,7 +187,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_29(pid, arg_06);
+ spawn DOOR2.slot_29(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -218,19 +203,14 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_2A(pid, arg_06);
+ spawn DOOR2.slot_2A(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
if (num == 1) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for ewall in nearby_items(shape=FORCEFIELD_NW, origin=arg_06) {
if (Item.getQLo(ewall) == Item.getQLo(arg_06)) {
- spawn class_0A0C_slot_31(pid, ewall, 0x00000000);
+ spawn FREE.slot_31(pid, ewall, 0x00000000);
suspend;
}
/* loopnext */
@@ -248,7 +228,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_2B(pid, arg_06);
+ spawn DOOR2.slot_2B(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -264,7 +244,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_2C(pid, arg_06);
+ spawn DOOR2.slot_2C(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -280,7 +260,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_2D(pid, arg_06);
+ spawn DOOR2.slot_2D(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -296,7 +276,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_2E(pid, arg_06);
+ spawn DOOR2.slot_2E(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -312,7 +292,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_2F(pid, arg_06);
+ spawn DOOR2.slot_2F(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -328,7 +308,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_30(pid, arg_06);
+ spawn DOOR2.slot_30(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -344,7 +324,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_31(pid, arg_06);
+ spawn DOOR2.slot_31(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -360,7 +340,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_32(pid, arg_06);
+ spawn DOOR2.slot_32(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -376,7 +356,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_33(pid, arg_06);
+ spawn DOOR2.slot_33(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -392,7 +372,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A08_slot_20(pid, arg_06);
+ spawn DOOR3.slot_20(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -408,7 +388,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A08_slot_21(pid, arg_06);
+ spawn DOOR3.slot_21(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -424,7 +404,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A08_slot_22(pid, arg_06);
+ spawn DOOR3.slot_22(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -440,7 +420,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A08_slot_23(pid, arg_06);
+ spawn DOOR3.slot_23(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -456,7 +436,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A08_slot_24(pid, arg_06);
+ spawn DOOR3.slot_24(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -472,7 +452,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A08_slot_25(pid, arg_06);
+ spawn DOOR3.slot_25(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -488,7 +468,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A08_slot_26(pid, arg_06);
+ spawn DOOR3.slot_26(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -504,7 +484,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A08_slot_27(pid, arg_06);
+ spawn DOOR3.slot_27(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -520,7 +500,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A08_slot_28(pid, arg_06);
+ spawn DOOR3.slot_28(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -536,7 +516,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A08_slot_29(pid, arg_06);
+ spawn DOOR3.slot_29(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -552,7 +532,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A08_slot_2A(pid, arg_06);
+ spawn DOOR3.slot_2A(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -568,7 +548,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A08_slot_2B(pid, arg_06);
+ spawn DOOR3.slot_2B(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -584,7 +564,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_34(pid, arg_06);
+ spawn DOOR2.slot_34(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -600,7 +580,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_35(pid, arg_06);
+ spawn DOOR2.slot_35(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -616,7 +596,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_36(pid, arg_06);
+ spawn DOOR2.slot_36(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -632,7 +612,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_37(pid, arg_06);
+ spawn DOOR2.slot_37(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -648,7 +628,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_41(pid, arg_06);
+ spawn DOOR2.slot_41(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -664,7 +644,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_42(pid, arg_06);
+ spawn DOOR2.slot_42(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -680,7 +660,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_43(pid, arg_06);
+ spawn DOOR2.slot_43(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -696,7 +676,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_44(pid, arg_06);
+ spawn DOOR2.slot_44(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -712,7 +692,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_45(pid, arg_06);
+ spawn DOOR2.slot_45(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -728,7 +708,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_46(pid, arg_06);
+ spawn DOOR2.slot_46(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -744,7 +724,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_47(pid, arg_06);
+ spawn DOOR2.slot_47(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -760,7 +740,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_48(pid, arg_06);
+ spawn DOOR2.slot_48(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -776,7 +756,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_38(pid, arg_06);
+ spawn DOOR2.slot_38(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -792,7 +772,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_39(pid, arg_06);
+ spawn DOOR2.slot_39(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -808,7 +788,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_3A(pid, arg_06);
+ spawn DOOR2.slot_3A(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -824,7 +804,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_3B(pid, arg_06);
+ spawn DOOR2.slot_3B(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -835,7 +815,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
return;
}
else if (doorType == 0x04D8) {
- spawn class_0A07_slot_3C(pid, arg_06);
+ spawn DOOR2.slot_3C(pid, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
@@ -851,7 +831,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_3D(pid, arg_06);
+ spawn DOOR2.slot_3D(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -867,7 +847,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_3E(pid, arg_06);
+ spawn DOOR2.slot_3E(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -883,7 +863,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_3F(pid, arg_06);
+ spawn DOOR2.slot_3F(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -899,7 +879,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_40(pid, arg_06);
+ spawn DOOR2.slot_40(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -915,7 +895,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_3D(pid, arg_06);
+ spawn DOOR2.slot_3D(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -931,7 +911,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_3E(pid, arg_06);
+ spawn DOOR2.slot_3E(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -947,7 +927,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_3F(pid, arg_06);
+ spawn DOOR2.slot_3F(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
@@ -963,7 +943,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
/* pop_result */
return;
}
- spawn class_0A07_slot_40(pid, arg_06);
+ spawn DOOR2.slot_40(pid, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR/slot_23_slot_23.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR/slot_23_slot_23.txt
index 1457805..dd7f3fb 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR/slot_23_slot_23.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR/slot_23_slot_23.txt
@@ -11,90 +11,85 @@ function door_slot_23() /* entry=376 class_id=0x0A06 slot=0x23 */
damagePoints; /* [BP-0Ah] type=0x69 */
set_info(0x0207, *(arg_06));
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
hitMe = retval;
if (((hitMe == 3) || (hitMe != 4)) || (hitMe != 10)) {
- class_0A0C_slot_2B(vel, ref);
+ FREE.slot_2B(vel, ref);
damagePoints = retval;
}
else {
return;
}
- spawn class_0A1E_slot_27(pid, 0x00C8, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 0x00C8, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(10);
+ FREE.slot_20(10);
if (retval <= 5) {
}
return;
}
else {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for deathBox in nearby_items(shape=0x04F8, origin=arg_06) {
if (Item.getQLo(deathBox) == Item.getQLo(arg_06)) {
if (Item.getMapArray(deathBox) == 0) {
- spawn class_0A18_slot_20(pid, 0, deathBox, arg_06);
+ spawn TRIGGER.slot_20(pid, 0, deathBox, arg_06);
suspend;
}
else {
- spawn class_0A18_slot_20(pid, (0 + 0x0080), deathBox, arg_06);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), deathBox, arg_06);
suspend;
}
}
/* loopnext */
}
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
if (World.getAlertActive() == 0) {
- spawn class_0A0C_slot_3B(0x00000000);
+ spawn FREE.slot_3B(0x00000000);
}
- if (Item.getShape(arg_06) == 123) {
+ if (Item.getShape(arg_06) == door_shape_007b) {
if (!Item.getFrame(arg_06)) {
}
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
}
else if (Item.getShape(arg_06) == 0x03FF) {
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
}
- else if (Item.getShape(arg_06) == 70) {
- spawn class_0A06_slot_22(pid, arg_06);
+ else if (Item.getShape(arg_06) == door_shape_0046) {
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
}
- else if (Item.getShape(arg_06) == 0x030B) {
- spawn class_0A06_slot_22(pid, arg_06);
+ else if (Item.getShape(arg_06) == door_shape_030b) {
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
}
- else if (Item.getShape(arg_06) == 0x0099) {
- spawn class_0A06_slot_22(pid, arg_06);
+ else if (Item.getShape(arg_06) == door_shape_0099) {
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
}
- else if (Item.getShape(arg_06) == 5) {
+ else if (Item.getShape(arg_06) == door_shape_0005) {
if (!Item.getFrame(arg_06)) {
}
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
}
else if (Item.getShape(arg_06) == 0x03F8) {
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
}
- else if (Item.getShape(arg_06) == 0x00A9) {
- spawn class_0A06_slot_22(pid, arg_06);
+ else if (Item.getShape(arg_06) == door_shape_00a9) {
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
}
- else if (Item.getShape(arg_06) == 0x030A) {
- spawn class_0A06_slot_22(pid, arg_06);
+ else if (Item.getShape(arg_06) == door_shape_030a) {
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
}
- else if (Item.getShape(arg_06) == 0x0095) {
- spawn class_0A06_slot_22(pid, arg_06);
+ else if (Item.getShape(arg_06) == door_shape_0095) {
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
}
/* bit_not */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_20_slot_20.txt
index b28cf70..6cd94d4 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_20_slot_20.txt
@@ -10,17 +10,17 @@ function door2_slot_20() /* entry=377 class_id=0x0A07 slot=0x20 */
if (!(Item.getStatus(arg_06) & 4)) {
}
else {
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
/* create_list element_size=0x2 count=0xC */
/* free_local_list bp_offset=0xFE target=[BP-02h] */
doorList = 0x00D0;
- class_0A0C_slot_3A(0x00A9, 0x00AB, 0x00AC, 0x00AF, 0x00B2, 0x00B3, 0x00B4, 0x00B6, 0x00B7, 0x00B8, 0x00B9, doorList);
+ FREE.slot_3A(0x00A9, 0x00AB, 0x00AC, 0x00AF, 0x00B2, 0x00B3, 0x00B4, 0x00B6, 0x00B7, 0x00B8, 0x00B9, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
counter = 2;
while (counter > maxFrame) {
- spawn class_0A0C_slot_32(doorList, counter, pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(doorList, counter, pid, 2, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_21_slot_21.txt
index 8ec81e4..ff27267 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_21_slot_21.txt
@@ -17,7 +17,7 @@ function door2_slot_21() /* entry=377 class_id=0x0A07 slot=0x21 */
/* create_list element_size=0x2 count=0xC */
/* free_local_list bp_offset=0xFE target=[BP-02h] */
doorList = 0x00D0;
- class_0A0C_slot_3A(0x00A9, 0x00AB, 0x00AC, 0x00AF, 0x00B2, 0x00B3, 0x00B4, 0x00B6, 0x00B7, 0x00B8, 0x00B9, doorList);
+ FREE.slot_3A(0x00A9, 0x00AB, 0x00AC, 0x00AF, 0x00B2, 0x00B3, 0x00B4, 0x00B6, 0x00B7, 0x00B8, 0x00B9, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
counter = (maxFrame - 1);
@@ -26,11 +26,11 @@ function door2_slot_21() /* entry=377 class_id=0x0A07 slot=0x21 */
if (counter != 0) goto block_0520;
block_03DB:
- class_0A0C_slot_2D((Item.getZ(arg_06) - 8), Item.getY(arg_06), Item.getX(arg_06), Item.getFrame(arg_06), doorList, counter, list_element(size=0x2), *(arg_06));
+ FREE.slot_2D((Item.getZ(arg_06) - 8), Item.getY(arg_06), Item.getX(arg_06), Item.getFrame(arg_06), doorList, counter, list_element(size=0x2), *(arg_06));
if retval goto block_0444;
block_041B:
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
goto block_0510;
@@ -42,7 +42,7 @@ function door2_slot_21() /* entry=377 class_id=0x0A07 slot=0x21 */
if (counter < (maxFrame + 1)) goto block_0506;
block_0483:
- spawn class_0A0C_slot_32(doorList, counter, pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(doorList, counter, pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
/* word_to_dword */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_22_slot_22.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_22_slot_22.txt
index 8663ef8..f7d5676 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_22_slot_22.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_22_slot_22.txt
@@ -10,17 +10,17 @@ function door2_slot_22() /* entry=377 class_id=0x0A07 slot=0x22 */
if (!(Item.getStatus(arg_06) & 4)) {
}
else {
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
/* create_list element_size=0x2 count=0xC */
/* free_local_list bp_offset=0xFE target=[BP-02h] */
doorList = 0x0107;
- class_0A0C_slot_3A(70, 85, 88, 101, 100, 99, 89, 0x0103, 0x0104, 0x0105, 0x0106, doorList);
+ FREE.slot_3A(70, 85, 88, 101, 100, 99, 89, 0x0103, 0x0104, 0x0105, 0x0106, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
counter = 2;
while (counter > maxFrame) {
- spawn class_0A0C_slot_32(doorList, counter, pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(doorList, counter, pid, 2, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_23_slot_23.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_23_slot_23.txt
index 8dc167a..6ae032a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_23_slot_23.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_23_slot_23.txt
@@ -18,7 +18,7 @@ function door2_slot_23() /* entry=377 class_id=0x0A07 slot=0x23 */
/* create_list element_size=0x2 count=0xC */
/* free_local_list bp_offset=0xFE target=[BP-02h] */
doorList = 0x0107;
- class_0A0C_slot_3A(70, 85, 88, 101, 100, 99, 89, 0x0103, 0x0104, 0x0105, 0x0106, doorList);
+ FREE.slot_3A(70, 85, 88, 101, 100, 99, 89, 0x0103, 0x0104, 0x0105, 0x0106, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
counter = (maxFrame - 1);
@@ -27,11 +27,11 @@ function door2_slot_23() /* entry=377 class_id=0x0A07 slot=0x23 */
if (counter != 0) goto block_08A3;
block_0768:
- class_0A0C_slot_2D((Item.getZ(arg_06) - 8), Item.getY(arg_06), Item.getX(arg_06), Item.getFrame(arg_06), doorList, counter, list_element(size=0x2), *(arg_06));
+ FREE.slot_2D((Item.getZ(arg_06) - 8), Item.getY(arg_06), Item.getX(arg_06), Item.getFrame(arg_06), doorList, counter, list_element(size=0x2), *(arg_06));
if retval goto block_07D1;
block_07A8:
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
goto block_0893;
@@ -43,7 +43,7 @@ function door2_slot_23() /* entry=377 class_id=0x0A07 slot=0x23 */
if (counter < (maxFrame + 1)) goto block_0889;
block_0810:
- spawn class_0A0C_slot_32(doorList, counter, pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(doorList, counter, pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_07FF;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_24_slot_24.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_24_slot_24.txt
index e6c9a8d..0492791 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_24_slot_24.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_24_slot_24.txt
@@ -6,12 +6,12 @@ function door2_slot_24() /* entry=377 class_id=0x0A07 slot=0x24 */
maxFrame; /* [BP-04h] type=0x69 */
set_info(0x0207, *(arg_06));
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
maxFrame = 8;
counter = 1;
while (counter > maxFrame) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_25_slot_25.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_25_slot_25.txt
index ed459a5..53db1e4 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_25_slot_25.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_25_slot_25.txt
@@ -8,9 +8,9 @@ function door2_slot_25() /* entry=377 class_id=0x0A07 slot=0x25 */
set_info(0x0207, *(arg_06));
maxFrame = 8;
- class_0A0C_slot_2D((Item.getZ(arg_06) - (8 * 10)), Item.getY(arg_06), Item.getX(arg_06), maxFrame, 0x02D6, *(arg_06));
+ FREE.slot_2D((Item.getZ(arg_06) - (8 * 10)), Item.getY(arg_06), Item.getX(arg_06), maxFrame, 0x02D6, *(arg_06));
if (!retval) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
}
else {
@@ -20,7 +20,7 @@ function door2_slot_25() /* entry=377 class_id=0x0A07 slot=0x25 */
}
counter = (maxFrame - 1);
while (counter <= 0) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (counter - 1);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_26_slot_26.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_26_slot_26.txt
index 541f19e..0b4854d 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_26_slot_26.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_26_slot_26.txt
@@ -6,12 +6,12 @@ function door2_slot_26() /* entry=377 class_id=0x0A07 slot=0x26 */
maxFrame; /* [BP-04h] type=0x69 */
set_info(0x0207, *(arg_06));
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
maxFrame = 8;
counter = 1;
while (counter > maxFrame) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_27_slot_27.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_27_slot_27.txt
index 7697980..0845df9 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_27_slot_27.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_27_slot_27.txt
@@ -8,9 +8,9 @@ function door2_slot_27() /* entry=377 class_id=0x0A07 slot=0x27 */
set_info(0x0207, *(arg_06));
maxFrame = 8;
- class_0A0C_slot_2D((Item.getZ(arg_06) - (8 * 10)), Item.getY(arg_06), Item.getX(arg_06), maxFrame, 0x02D5, *(arg_06));
+ FREE.slot_2D((Item.getZ(arg_06) - (8 * 10)), Item.getY(arg_06), Item.getX(arg_06), maxFrame, 0x02D5, *(arg_06));
if (!retval) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
}
else {
@@ -20,7 +20,7 @@ function door2_slot_27() /* entry=377 class_id=0x0A07 slot=0x27 */
}
counter = (maxFrame - 1);
while (counter <= 0) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (counter - 1);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_28_slot_28.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_28_slot_28.txt
index 452a39c..4c21598 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_28_slot_28.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_28_slot_28.txt
@@ -10,17 +10,17 @@ function door2_slot_28() /* entry=377 class_id=0x0A07 slot=0x28 */
if (!(Item.getStatus(arg_06) & 4)) {
}
else {
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
/* create_list element_size=0x2 count=0x7 */
/* free_local_list bp_offset=0xFE target=[BP-02h] */
doorList = 0x00C2;
- class_0A0C_slot_3A(5, 0x00BE, 0x00BF, 0x00C0, 0x00C1, 0x00CA, doorList);
+ FREE.slot_3A(5, 0x00BE, 0x00BF, 0x00C0, 0x00C1, 0x00CA, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
counter = 2;
while (counter > maxFrame) {
- spawn class_0A0C_slot_32(doorList, pid, 3, 0x00000000);
+ spawn FREE.waitNTimerTicks(doorList, pid, 3, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_29_slot_29.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_29_slot_29.txt
index e740760..387b0aa 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_29_slot_29.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_29_slot_29.txt
@@ -17,7 +17,7 @@ function door2_slot_29() /* entry=377 class_id=0x0A07 slot=0x29 */
/* create_list element_size=0x2 count=0x7 */
/* free_local_list bp_offset=0xFE target=[BP-02h] */
doorList = 0x00C2;
- class_0A0C_slot_3A(5, 0x00BE, 0x00BF, 0x00C0, 0x00C1, 0x00CA, doorList);
+ FREE.slot_3A(5, 0x00BE, 0x00BF, 0x00C0, 0x00C1, 0x00CA, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
counter = (maxFrame - 1);
@@ -26,11 +26,11 @@ function door2_slot_29() /* entry=377 class_id=0x0A07 slot=0x29 */
if (counter != 0) goto block_10D4;
block_0FA6:
- class_0A0C_slot_2D(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) + 16), Item.getFrame(arg_06), doorList, counter, list_element(size=0x2), *(arg_06));
+ FREE.slot_2D(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) + 16), Item.getFrame(arg_06), doorList, counter, list_element(size=0x2), *(arg_06));
if retval goto block_100F;
block_0FE6:
- spawn class_0A0C_slot_32(pid, 3, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 3, 0x00000000);
suspend;
goto block_10C4;
@@ -42,7 +42,7 @@ function door2_slot_29() /* entry=377 class_id=0x0A07 slot=0x29 */
if (counter < (maxFrame + 1)) goto block_10BA;
block_1041:
- spawn class_0A0C_slot_32(doorList, pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(doorList, pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_1030;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_2A_slot_2A.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_2A_slot_2A.txt
index a1018af..f8df212 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_2A_slot_2A.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_2A_slot_2A.txt
@@ -10,17 +10,17 @@ function door2_slot_2A() /* entry=377 class_id=0x0A07 slot=0x2A */
if (!(Item.getStatus(arg_06) & 4)) {
}
else {
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
/* create_list element_size=0x2 count=0x7 */
/* free_local_list bp_offset=0xFE target=[BP-02h] */
doorList = 0x00CB;
- class_0A0C_slot_3A(123, 0x00C3, 0x00C4, 0x00C5, 0x00C6, 0x00C7, doorList);
+ FREE.slot_3A(123, 0x00C3, 0x00C4, 0x00C5, 0x00C6, 0x00C7, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
counter = 2;
while (counter > maxFrame) {
- spawn class_0A0C_slot_32(doorList, pid, 3, 0x00000000);
+ spawn FREE.waitNTimerTicks(doorList, pid, 3, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_2B_slot_2B.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_2B_slot_2B.txt
index 79b92ea..ae2da3d 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_2B_slot_2B.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_2B_slot_2B.txt
@@ -17,7 +17,7 @@ function door2_slot_2B() /* entry=377 class_id=0x0A07 slot=0x2B */
/* create_list element_size=0x2 count=0x7 */
/* free_local_list bp_offset=0xFE target=[BP-02h] */
doorList = 0x00CB;
- class_0A0C_slot_3A(123, 0x00C3, 0x00C4, 0x00C5, 0x00C6, 0x00C7, doorList);
+ FREE.slot_3A(123, 0x00C3, 0x00C4, 0x00C5, 0x00C6, 0x00C7, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
counter = (maxFrame - 1);
@@ -26,11 +26,11 @@ function door2_slot_2B() /* entry=377 class_id=0x0A07 slot=0x2B */
if (counter != 0) goto block_142D;
block_12FF:
- class_0A0C_slot_2D(Item.getZ(arg_06), (Item.getY(arg_06) + 16), Item.getX(arg_06), Item.getFrame(arg_06), doorList, counter, list_element(size=0x2), *(arg_06));
+ FREE.slot_2D(Item.getZ(arg_06), (Item.getY(arg_06) + 16), Item.getX(arg_06), Item.getFrame(arg_06), doorList, counter, list_element(size=0x2), *(arg_06));
if retval goto block_1368;
block_133F:
- spawn class_0A0C_slot_32(pid, 3, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 3, 0x00000000);
suspend;
goto block_141D;
@@ -42,7 +42,7 @@ function door2_slot_2B() /* entry=377 class_id=0x0A07 slot=0x2B */
if (counter < (maxFrame + 1)) goto block_1413;
block_139A:
- spawn class_0A0C_slot_32(doorList, pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(doorList, pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_1389;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_2C_slot_2C.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_2C_slot_2C.txt
index 1935c49..6725878 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_2C_slot_2C.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_2C_slot_2C.txt
@@ -12,12 +12,12 @@ function door2_slot_2C() /* entry=377 class_id=0x0A07 slot=0x2C */
return;
}
else {
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
maxFrame = 11;
counter = 1;
while (counter > maxFrame) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_2D_slot_2D.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_2D_slot_2D.txt
index 647c6ac..e96d9e7 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_2D_slot_2D.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_2D_slot_2D.txt
@@ -7,9 +7,9 @@ function door2_slot_2D() /* entry=377 class_id=0x0A07 slot=0x2D */
set_info(0x0207, *(arg_06));
maxFrame = 11;
- class_0A0C_slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), maxFrame, 0x01AB, *(arg_06));
+ FREE.slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), maxFrame, 0x01AB, *(arg_06));
if (!retval) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
else {
@@ -19,7 +19,7 @@ function door2_slot_2D() /* entry=377 class_id=0x0A07 slot=0x2D */
}
counter = (maxFrame - 1);
while (counter < 0) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (counter - 1);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_2E_slot_2E.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_2E_slot_2E.txt
index e09323d..37ddb65 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_2E_slot_2E.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_2E_slot_2E.txt
@@ -6,12 +6,12 @@ function door2_slot_2E() /* entry=377 class_id=0x0A07 slot=0x2E */
maxFrame; /* [BP-04h] type=0x69 */
set_info(0x0207, *(arg_06));
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
maxFrame = 11;
counter = 1;
while (counter > maxFrame) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_2F_slot_2F.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_2F_slot_2F.txt
index cedd3eb..d5a234d 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_2F_slot_2F.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_2F_slot_2F.txt
@@ -7,9 +7,9 @@ function door2_slot_2F() /* entry=377 class_id=0x0A07 slot=0x2F */
set_info(0x0207, *(arg_06));
maxFrame = 11;
- class_0A0C_slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), maxFrame, 0x0393, *(arg_06));
+ FREE.slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), maxFrame, 0x0393, *(arg_06));
if (!retval) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
else {
@@ -19,7 +19,7 @@ function door2_slot_2F() /* entry=377 class_id=0x0A07 slot=0x2F */
}
counter = (maxFrame - 1);
while (counter < 0) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (counter - 1);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_30_slot_30.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_30_slot_30.txt
index 6189598..dc4e6e4 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_30_slot_30.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_30_slot_30.txt
@@ -11,7 +11,7 @@ function door2_slot_30() /* entry=377 class_id=0x0A07 slot=0x30 */
maxFrame; /* [BP-0Eh] type=0x69 */
set_info(0x0207, *(arg_06));
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
/* create_list element_size=0x2 count=0x5 */
/* free_local_list bp_offset=0xFE target=[BP-02h] */
@@ -19,30 +19,21 @@ function door2_slot_30() /* entry=377 class_id=0x0A07 slot=0x30 */
/* create_list element_size=0x2 count=0x5 */
/* free_local_list bp_offset=0xFC target=[BP-04h] */
doorList2 = 0x0187;
- class_0A0C_slot_3A(0x0193, 0x0192, 0x0191, 0x0190, 0x018D, 0x018C, 0x018B, 0x018A, doorList);
+ FREE.slot_3A(0x0193, 0x0192, 0x0191, 0x0190, 0x018D, 0x018C, 0x018B, 0x018A, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF4 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=ELEVATOR_DOOR_RIGHT, origin=arg_06) */
while (!condition) {
door1 = item;
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF4 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=ELEVATOR_DOOR_LEFT, origin=arg_06) {
door2 = item;
/* loopnext */
}
counter = 2;
while (counter > maxFrame) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_31_slot_31.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_31_slot_31.txt
index 035e557..1f00401 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_31_slot_31.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_31_slot_31.txt
@@ -22,14 +22,10 @@ function door2_slot_31() /* entry=377 class_id=0x0A07 slot=0x31 */
/* create_list element_size=0x2 count=0x5 */
/* free_local_list bp_offset=0xFC target=[BP-04h] */
doorList2 = 0x0187;
- class_0A0C_slot_3A(0x0193, 0x0192, 0x0191, 0x0190, 0x018D, 0x018C, 0x018B, 0x018A, doorList);
+ FREE.slot_3A(0x0193, 0x0192, 0x0191, 0x0190, 0x018D, 0x018C, 0x018B, 0x018A, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=ELEVATOR_DOOR_SEGMENT, origin=arg_06) */
block_1B61:
if condition goto block_1B6F;
@@ -40,19 +36,10 @@ function door2_slot_31() /* entry=377 class_id=0x0A07 slot=0x31 */
goto block_1B61;
block_1B6F:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
-
- block_1B8F:
- if condition goto block_1B9D;
-
- block_1B92:
- door2 = item;
- /* loopnext */
- goto block_1B8F;
+ for item in nearby_items(shape=WALL_EDGE, origin=arg_06) {
+ door2 = item;
+ /* loopnext */
+ }
block_1B9D:
if (door1 && door2) goto block_1E43;
@@ -64,14 +51,14 @@ function door2_slot_31() /* entry=377 class_id=0x0A07 slot=0x31 */
if (counter <= (maxFrame - 1)) goto block_1E43;
block_1BD5:
- class_0A0C_slot_2D(Item.getZ(door1), Item.getY(door1), Item.getX(door1), 0, doorList, (maxFrame - counter), list_element(size=0x2), door1);
+ FREE.slot_2D(Item.getZ(door1), Item.getY(door1), Item.getX(door1), 0, doorList, (maxFrame - counter), list_element(size=0x2), door1);
if (!retval) goto block_1C17;
block_1C10:
nonLegalDoor1 = 1;
block_1C17:
- class_0A0C_slot_2D(Item.getZ(door2), Item.getY(door2), (Item.getX(door2) + 16), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
+ FREE.slot_2D(Item.getZ(door2), Item.getY(door2), (Item.getX(door2) + 16), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
if (!retval) goto block_1C5C;
block_1C55:
@@ -81,12 +68,12 @@ function door2_slot_31() /* entry=377 class_id=0x0A07 slot=0x31 */
if ((!nonLegalDoor1) && (!nonLegalDoor2)) goto block_1CAB;
block_1C6C:
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
goto block_1E36;
block_1CAB:
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
if nonLegalDoor1 goto block_1D25;
@@ -113,7 +100,7 @@ function door2_slot_31() /* entry=377 class_id=0x0A07 slot=0x31 */
block_1DD0:
block_1DF9:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter2 = (1 + counter2);
goto block_1D52;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_32_slot_32.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_32_slot_32.txt
index 1c6ae8a..bdd06b1 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_32_slot_32.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_32_slot_32.txt
@@ -11,7 +11,7 @@ function door2_slot_32() /* entry=377 class_id=0x0A07 slot=0x32 */
maxFrame; /* [BP-0Eh] type=0x69 */
set_info(0x0207, *(arg_06));
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
/* create_list element_size=0x2 count=0x5 */
/* free_local_list bp_offset=0xFE target=[BP-02h] */
@@ -19,30 +19,21 @@ function door2_slot_32() /* entry=377 class_id=0x0A07 slot=0x32 */
/* create_list element_size=0x2 count=0x5 */
/* free_local_list bp_offset=0xFC target=[BP-04h] */
doorList2 = 0x028E;
- class_0A0C_slot_3A(0x01C7, 0x0288, 0x028C, 0x0287, 0x01C6, 0x028A, 0x028B, 0x028D, doorList);
+ FREE.slot_3A(0x01C7, 0x0288, 0x028C, 0x0287, 0x01C6, 0x028A, 0x028B, 0x028D, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF4 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=ELEVATOR_DOOR_RIGHT_2, origin=arg_06) */
while (!condition) {
door1 = item;
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF4 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=ELEVATOR_DOOR_LEFT_2, origin=arg_06) {
door2 = item;
/* loopnext */
}
counter = 2;
while (counter > maxFrame) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_33_slot_33.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_33_slot_33.txt
index 569471d..b240d44 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_33_slot_33.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_33_slot_33.txt
@@ -22,14 +22,10 @@ function door2_slot_33() /* entry=377 class_id=0x0A07 slot=0x33 */
/* create_list element_size=0x2 count=0x5 */
/* free_local_list bp_offset=0xFC target=[BP-04h] */
doorList2 = 0x028E;
- class_0A0C_slot_3A(0x01C7, 0x0288, 0x028C, 0x0287, 0x01C6, 0x028A, 0x028B, 0x028D, doorList);
+ FREE.slot_3A(0x01C7, 0x0288, 0x028C, 0x0287, 0x01C6, 0x028A, 0x028B, 0x028D, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x0289, origin=arg_06) */
block_21A2:
if condition goto block_21B0;
@@ -40,19 +36,10 @@ function door2_slot_33() /* entry=377 class_id=0x0A07 slot=0x33 */
goto block_21A2;
block_21B0:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
-
- block_21D0:
- if condition goto block_21DE;
-
- block_21D3:
- door2 = item;
- /* loopnext */
- goto block_21D0;
+ for item in nearby_items(shape=0x028E, origin=arg_06) {
+ door2 = item;
+ /* loopnext */
+ }
block_21DE:
if (door1 && door2) goto block_24B5;
@@ -64,14 +51,14 @@ function door2_slot_33() /* entry=377 class_id=0x0A07 slot=0x33 */
if (counter <= (maxFrame - 1)) goto block_24B5;
block_2216:
- class_0A0C_slot_2D(Item.getZ(door2), Item.getY(door2), Item.getX(door2), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
+ FREE.slot_2D(Item.getZ(door2), Item.getY(door2), Item.getX(door2), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
if (!retval) goto block_2258;
block_2251:
nonLegalDoor1 = 1;
block_2258:
- class_0A0C_slot_2D(Item.getZ(door1), (Item.getY(door1) + 16), Item.getX(door1), 0, doorList, (maxFrame - counter), list_element(size=0x2), door1);
+ FREE.slot_2D(Item.getZ(door1), (Item.getY(door1) + 16), Item.getX(door1), 0, doorList, (maxFrame - counter), list_element(size=0x2), door1);
if (!retval) goto block_229D;
block_2296:
@@ -81,12 +68,12 @@ function door2_slot_33() /* entry=377 class_id=0x0A07 slot=0x33 */
if ((!nonLegalDoor1) && (!nonLegalDoor2)) goto block_22EC;
block_22AD:
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
goto block_24A8;
block_22EC:
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
if nonLegalDoor1 goto block_2397;
@@ -113,7 +100,7 @@ function door2_slot_33() /* entry=377 class_id=0x0A07 slot=0x33 */
block_2442:
block_246B:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter2 = (1 + counter2);
goto block_23C4;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_34_slot_34.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_34_slot_34.txt
index bd21bf4..212d033 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_34_slot_34.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_34_slot_34.txt
@@ -9,13 +9,13 @@ function door2_slot_34() /* entry=377 class_id=0x0A07 slot=0x34 */
item2; /* [BP-0Ah] type=0x24 */
set_info(0x0207, *(arg_06));
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
set_info(1, 0);
maxFrame = 7;
counter = 1;
while (counter > maxFrame) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_35_slot_35.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_35_slot_35.txt
index 4ef31bf..642e926 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_35_slot_35.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_35_slot_35.txt
@@ -46,11 +46,11 @@ function door2_slot_35() /* entry=377 class_id=0x0A07 slot=0x35 */
}
link = Item.getQLo(arg_06);
if (Item.legalCreateAtCoords((coz - 80), coy, cox, 7, 0x01EE, item2) == 1) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = 1;
while (counter > maxFrame) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_36_slot_36.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_36_slot_36.txt
index c6b75e0..40c4d8c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_36_slot_36.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_36_slot_36.txt
@@ -9,13 +9,13 @@ function door2_slot_36() /* entry=377 class_id=0x0A07 slot=0x36 */
item2; /* [BP-0Ah] type=0x24 */
set_info(0x0207, *(arg_06));
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
set_info(1, 0);
maxFrame = 7;
counter = 1;
while (counter > maxFrame) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_37_slot_37.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_37_slot_37.txt
index 719b7de..786b21a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_37_slot_37.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_37_slot_37.txt
@@ -45,11 +45,11 @@ function door2_slot_37() /* entry=377 class_id=0x0A07 slot=0x37 */
}
link = Item.getQLo(arg_06);
if (Item.legalCreateAtCoords((coz - 80), coy, cox, maxFrame, 0x03AD, item2) == 1) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = 1;
while (counter > maxFrame) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_38_slot_38.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_38_slot_38.txt
index 8be340e..f5d43e0 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_38_slot_38.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_38_slot_38.txt
@@ -5,11 +5,11 @@ function door2_slot_38() /* entry=377 class_id=0x0A07 slot=0x38 */
counter; /* [BP-02h] type=0x69 */
set_info(0x0207, *(arg_06));
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
counter = 1;
while (counter > 3) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_39_slot_39.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_39_slot_39.txt
index c70e0ac..823454e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_39_slot_39.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_39_slot_39.txt
@@ -5,11 +5,11 @@ function door2_slot_39() /* entry=377 class_id=0x0A07 slot=0x39 */
counter; /* [BP-02h] type=0x69 */
set_info(0x0207, *(arg_06));
- class_0A0C_slot_2D(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) + 0x0080), 3, 0x028F, *(arg_06));
+ FREE.slot_2D(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) + 0x0080), 3, 0x028F, *(arg_06));
if (!retval) {
counter = 0;
while (counter > 3) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_3A_slot_3A.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_3A_slot_3A.txt
index b4e1286..c1beec1 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_3A_slot_3A.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_3A_slot_3A.txt
@@ -5,11 +5,11 @@ function door2_slot_3A() /* entry=377 class_id=0x0A07 slot=0x3A */
counter; /* [BP-02h] type=0x69 */
set_info(0x0207, *(arg_06));
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
counter = 1;
while (counter > 3) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_3B_slot_3B.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_3B_slot_3B.txt
index 00761be..279cd3b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_3B_slot_3B.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_3B_slot_3B.txt
@@ -5,11 +5,11 @@ function door2_slot_3B() /* entry=377 class_id=0x0A07 slot=0x3B */
counter; /* [BP-02h] type=0x69 */
set_info(0x0207, *(arg_06));
- class_0A0C_slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 3, 0x0312, *(arg_06));
+ FREE.slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 3, 0x0312, *(arg_06));
if (!retval) {
counter = 0;
while (counter > 3) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_3C_slot_3C.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_3C_slot_3C.txt
index 84c4d52..800f652 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_3C_slot_3C.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_3C_slot_3C.txt
@@ -9,11 +9,11 @@ function door2_slot_3C() /* entry=377 class_id=0x0A07 slot=0x3C */
return;
}
else {
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
if (Item.getFrame(arg_06) == 0) {
counter = 0;
while (counter > 9) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
@@ -21,12 +21,12 @@ function door2_slot_3C() /* entry=377 class_id=0x0A07 slot=0x3C */
else if (Item.getFrame(arg_06) == 9) {
counter = 0;
while (counter > 9) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
}
- class_0A1E_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
/* word_to_dword */
/* pop_result */
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_3D_slot_3D.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_3D_slot_3D.txt
index e984a7e..bf0a672 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_3D_slot_3D.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_3D_slot_3D.txt
@@ -6,11 +6,11 @@ function door2_slot_3D() /* entry=377 class_id=0x0A07 slot=0x3D */
item; /* [BP-04h] type=0x24 */
set_info(0x0207, *(arg_06));
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
counter = 1;
while (counter > 4) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_3E_slot_3E.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_3E_slot_3E.txt
index 0547170..4ea8238 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_3E_slot_3E.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_3E_slot_3E.txt
@@ -6,8 +6,8 @@ function door2_slot_3E() /* entry=377 class_id=0x0A07 slot=0x3E */
item; /* [BP-04h] type=0x24 */
set_info(0x0207, *(arg_06));
- if (Item.getShape(arg_06) == 0x0440) {
- class_0A0C_slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 4, 0x03FF, *(arg_06));
+ if (Item.getShape(arg_06) == door2_shape_0440) {
+ FREE.slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 4, 0x03FF, *(arg_06));
if (retval) {
/* word_to_dword */
/* pop_result */
@@ -15,15 +15,10 @@ function door2_slot_3E() /* entry=377 class_id=0x0A07 slot=0x3E */
}
}
else {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=0x00AD, origin=arg_06) {
/* loopnext */
}
- class_0A0C_slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 4, 51, *(arg_06));
+ FREE.slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 4, 51, *(arg_06));
if (retval) {
/* word_to_dword */
/* pop_result */
@@ -32,7 +27,7 @@ function door2_slot_3E() /* entry=377 class_id=0x0A07 slot=0x3E */
}
counter = 0;
while (counter > 4) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_3F_slot_3F.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_3F_slot_3F.txt
index 489cb20..206cbfc 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_3F_slot_3F.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_3F_slot_3F.txt
@@ -6,11 +6,11 @@ function door2_slot_3F() /* entry=377 class_id=0x0A07 slot=0x3F */
item; /* [BP-04h] type=0x24 */
set_info(0x0207, *(arg_06));
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
counter = 1;
while (counter > 4) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_40_slot_40.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_40_slot_40.txt
index 4274a57..262f241 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_40_slot_40.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_40_slot_40.txt
@@ -6,8 +6,8 @@ function door2_slot_40() /* entry=377 class_id=0x0A07 slot=0x40 */
item; /* [BP-04h] type=0x24 */
set_info(0x0207, *(arg_06));
- if (Item.getShape(arg_06) == 0x043F) {
- class_0A0C_slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 4, 0x03F8, *(arg_06));
+ if (Item.getShape(arg_06) == door2_shape_043f) {
+ FREE.slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 4, 0x03F8, *(arg_06));
if (retval) {
/* word_to_dword */
/* pop_result */
@@ -15,15 +15,10 @@ function door2_slot_40() /* entry=377 class_id=0x0A07 slot=0x40 */
}
}
else {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=0x0401, origin=arg_06) {
/* loopnext */
}
- class_0A0C_slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 4, 108, *(arg_06));
+ FREE.slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 4, 108, *(arg_06));
if (retval) {
/* word_to_dword */
/* pop_result */
@@ -32,7 +27,7 @@ function door2_slot_40() /* entry=377 class_id=0x0A07 slot=0x40 */
}
counter = 0;
while (counter > 4) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_41_slot_41.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_41_slot_41.txt
index 4532cb7..a34a9a9 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_41_slot_41.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_41_slot_41.txt
@@ -6,11 +6,11 @@ function door2_slot_41() /* entry=377 class_id=0x0A07 slot=0x41 */
item; /* [BP-04h] type=0x24 */
set_info(0x0207, *(arg_06));
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
counter = 1;
while (counter > 6) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_42_slot_42.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_42_slot_42.txt
index 2e9865e..b2b65cc 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_42_slot_42.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_42_slot_42.txt
@@ -6,7 +6,7 @@ function door2_slot_42() /* entry=377 class_id=0x0A07 slot=0x42 */
item; /* [BP-04h] type=0x24 */
set_info(0x0207, *(arg_06));
- class_0A0C_slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 6, 0x03B9, *(arg_06));
+ FREE.slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 6, 0x03B9, *(arg_06));
if (retval) {
/* word_to_dword */
/* pop_result */
@@ -15,7 +15,7 @@ function door2_slot_42() /* entry=377 class_id=0x0A07 slot=0x42 */
else {
counter = 0;
while (counter > 6) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_43_slot_43.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_43_slot_43.txt
index a84f969..3980891 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_43_slot_43.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_43_slot_43.txt
@@ -6,11 +6,11 @@ function door2_slot_43() /* entry=377 class_id=0x0A07 slot=0x43 */
item; /* [BP-04h] type=0x24 */
set_info(0x0207, *(arg_06));
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
counter = 1;
while (counter > 6) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_44_slot_44.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_44_slot_44.txt
index aaaa98e..3821a06 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_44_slot_44.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_44_slot_44.txt
@@ -6,7 +6,7 @@ function door2_slot_44() /* entry=377 class_id=0x0A07 slot=0x44 */
item; /* [BP-04h] type=0x24 */
set_info(0x0207, *(arg_06));
- class_0A0C_slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 6, 0x03BA, *(arg_06));
+ FREE.slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 6, 0x03BA, *(arg_06));
if (retval) {
/* word_to_dword */
/* pop_result */
@@ -15,7 +15,7 @@ function door2_slot_44() /* entry=377 class_id=0x0A07 slot=0x44 */
else {
counter = 0;
while (counter > 6) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_45_slot_45.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_45_slot_45.txt
index 31bc9ac..680a00d 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_45_slot_45.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_45_slot_45.txt
@@ -7,7 +7,7 @@ function door2_slot_45() /* entry=377 class_id=0x0A07 slot=0x45 */
item; /* [BP-06h] type=0x24 */
set_info(0x0207, *(arg_06));
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
if (Item.getFrame(arg_06) > 11) {
newFrame = 0;
@@ -17,7 +17,7 @@ function door2_slot_45() /* entry=377 class_id=0x0A07 slot=0x45 */
}
counter = 1;
while (counter > 11) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_46_slot_46.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_46_slot_46.txt
index 5c20137..5ef8193 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_46_slot_46.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_46_slot_46.txt
@@ -13,7 +13,7 @@ function door2_slot_46() /* entry=377 class_id=0x0A07 slot=0x46 */
else {
newFrame = 26;
}
- class_0A0C_slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), newFrame, 0x046A, *(arg_06));
+ FREE.slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), newFrame, 0x046A, *(arg_06));
if (retval) {
/* word_to_dword */
/* pop_result */
@@ -22,7 +22,7 @@ function door2_slot_46() /* entry=377 class_id=0x0A07 slot=0x46 */
else {
counter = 0;
while (counter > 11) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_47_slot_47.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_47_slot_47.txt
index b67759d..8af1596 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_47_slot_47.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_47_slot_47.txt
@@ -7,7 +7,7 @@ function door2_slot_47() /* entry=377 class_id=0x0A07 slot=0x47 */
item; /* [BP-06h] type=0x24 */
set_info(0x0207, *(arg_06));
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
if (Item.getFrame(arg_06) > 11) {
newFrame = 0;
@@ -17,7 +17,7 @@ function door2_slot_47() /* entry=377 class_id=0x0A07 slot=0x47 */
}
counter = 1;
while (counter > 11) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_48_slot_48.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_48_slot_48.txt
index 3a325cc..c4dbec6 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_48_slot_48.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR2/slot_48_slot_48.txt
@@ -13,7 +13,7 @@ function door2_slot_48() /* entry=377 class_id=0x0A07 slot=0x48 */
else {
newFrame = 26;
}
- class_0A0C_slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), newFrame, 0x03C6, *(arg_06));
+ FREE.slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), newFrame, 0x03C6, *(arg_06));
if (retval) {
/* word_to_dword */
/* pop_result */
@@ -22,7 +22,7 @@ function door2_slot_48() /* entry=377 class_id=0x0A07 slot=0x48 */
else {
counter = 0;
while (counter > 11) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_20_slot_20.txt
index f5da5d0..d81ecb7 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_20_slot_20.txt
@@ -9,7 +9,7 @@ function door3_slot_20() /* entry=378 class_id=0x0A08 slot=0x20 */
maxFrame; /* [BP-0Ah] type=0x69 */
set_info(0x0207, *(arg_06));
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
/* create_list element_size=0x2 count=0x4 */
/* free_local_list bp_offset=0xFE target=[BP-02h] */
@@ -18,14 +18,14 @@ function door3_slot_20() /* entry=378 class_id=0x0A08 slot=0x20 */
/* free_local_list bp_offset=0xFC target=[BP-04h] */
doorList2 = 0x036B;
counter = 0;
- class_0A0C_slot_3A(0x0358, 0x035C, 0x035D, 0x0359, 0x035A, 0x035B, doorList);
+ FREE.slot_3A(0x0358, 0x035C, 0x035D, 0x0359, 0x035A, 0x035B, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
- spawn class_0A0C_slot_32(doorList2, 1, pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(doorList2, 1, pid, 5, 0x00000000);
suspend;
counter = 2;
while (counter > (maxFrame - 1)) {
- spawn class_0A0C_slot_32(doorList2, counter, doorList, pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(doorList2, counter, doorList, pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_21_slot_21.txt
index 3aa20a0..82eb2a9 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_21_slot_21.txt
@@ -22,14 +22,10 @@ function door3_slot_21() /* entry=378 class_id=0x0A08 slot=0x21 */
/* create_list element_size=0x2 count=0x4 */
/* free_local_list bp_offset=0xFC target=[BP-04h] */
doorList = 0x036B;
- class_0A0C_slot_3A(0x0358, 0x035C, 0x035D, 0x0359, 0x035A, 0x035B, doorList);
+ FREE.slot_3A(0x0358, 0x035C, 0x035D, 0x0359, 0x035A, 0x035B, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x036A, origin=arg_06) */
block_0459:
if condition goto block_0467;
@@ -40,19 +36,10 @@ function door3_slot_21() /* entry=378 class_id=0x0A08 slot=0x21 */
goto block_0459;
block_0467:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
-
- block_0487:
- if condition goto block_0495;
-
- block_048A:
- door1 = item;
- /* loopnext */
- goto block_0487;
+ for item in nearby_items(shape=0x036B, origin=arg_06) {
+ door1 = item;
+ /* loopnext */
+ }
block_0495:
if (door1 && door2) goto block_0804;
@@ -64,7 +51,7 @@ function door3_slot_21() /* entry=378 class_id=0x0A08 slot=0x21 */
if (counter <= (maxFrame - 1)) goto block_0804;
block_04CD:
- class_0A0C_slot_2D(Item.getZ(door1), Item.getY(door1), Item.getX(door1), 0, doorList, (maxFrame - counter), list_element(size=0x2), door1);
+ FREE.slot_2D(Item.getZ(door1), Item.getY(door1), Item.getX(door1), 0, doorList, (maxFrame - counter), list_element(size=0x2), door1);
if (!retval) goto block_050F;
block_0508:
@@ -74,7 +61,7 @@ function door3_slot_21() /* entry=378 class_id=0x0A08 slot=0x21 */
if ((!bool) && (!nonLegalDoor1)) goto block_056E;
block_051F:
- class_0A0C_slot_2D(Item.getZ(door2), Item.getY(door2), (Item.getX(door2) + 16), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
+ FREE.slot_2D(Item.getZ(door2), Item.getY(door2), (Item.getX(door2) + 16), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
if (!retval) goto block_0564;
block_055D:
@@ -85,7 +72,7 @@ function door3_slot_21() /* entry=378 class_id=0x0A08 slot=0x21 */
goto block_05B3;
block_056E:
- class_0A0C_slot_2D(Item.getZ(door2), Item.getY(door2), (Item.getX(door2) + 16), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
+ FREE.slot_2D(Item.getZ(door2), Item.getY(door2), (Item.getX(door2) + 16), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
if (!retval) goto block_05B3;
block_05AC:
@@ -95,7 +82,7 @@ function door3_slot_21() /* entry=378 class_id=0x0A08 slot=0x21 */
if ((!nonLegalDoor1) && (!nonLegalDoor2)) goto block_0605;
block_05C3:
- spawn class_0A0C_slot_32(pid, (5 + counter), 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, (5 + counter), 0x00000000);
suspend;
goto block_07F7;
@@ -126,7 +113,7 @@ function door3_slot_21() /* entry=378 class_id=0x0A08 slot=0x21 */
block_073A:
block_0780:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter2 = (1 + counter2);
goto block_06B3;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_22_slot_22.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_22_slot_22.txt
index 7aff071..7d37ea0 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_22_slot_22.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_22_slot_22.txt
@@ -9,7 +9,7 @@ function door3_slot_22() /* entry=378 class_id=0x0A08 slot=0x22 */
maxFrame; /* [BP-0Ah] type=0x69 */
set_info(0x0207, *(arg_06));
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
/* create_list element_size=0x2 count=0x4 */
/* free_local_list bp_offset=0xFE target=[BP-02h] */
@@ -18,14 +18,14 @@ function door3_slot_22() /* entry=378 class_id=0x0A08 slot=0x22 */
/* free_local_list bp_offset=0xFC target=[BP-04h] */
doorList = 0x0369;
counter = 0;
- class_0A0C_slot_3A(0x0352, 0x0354, 0x0355, 0x0353, 0x0356, 0x0357, doorList);
+ FREE.slot_3A(0x0352, 0x0354, 0x0355, 0x0353, 0x0356, 0x0357, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
- spawn class_0A0C_slot_32(doorList2, 1, pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(doorList2, 1, pid, 5, 0x00000000);
suspend;
counter = 2;
while (counter > (maxFrame - 1)) {
- spawn class_0A0C_slot_32(doorList2, counter, doorList, pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(doorList2, counter, doorList, pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_23_slot_23.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_23_slot_23.txt
index 21b703e..831ecdc 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_23_slot_23.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_23_slot_23.txt
@@ -22,14 +22,10 @@ function door3_slot_23() /* entry=378 class_id=0x0A08 slot=0x23 */
/* create_list element_size=0x2 count=0x4 */
/* free_local_list bp_offset=0xFC target=[BP-04h] */
doorList2 = 0x0369;
- class_0A0C_slot_3A(0x0352, 0x0354, 0x0355, 0x0353, 0x0356, 0x0357, doorList);
+ FREE.slot_3A(0x0352, 0x0354, 0x0355, 0x0353, 0x0356, 0x0357, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x0368, origin=arg_06) */
block_0C19:
if condition goto block_0C27;
@@ -40,19 +36,10 @@ function door3_slot_23() /* entry=378 class_id=0x0A08 slot=0x23 */
goto block_0C19;
block_0C27:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
-
- block_0C47:
- if condition goto block_0C55;
-
- block_0C4A:
- door2 = item;
- /* loopnext */
- goto block_0C47;
+ for item in nearby_items(shape=0x0369, origin=arg_06) {
+ door2 = item;
+ /* loopnext */
+ }
block_0C55:
if (door1 && door2) goto block_0FC4;
@@ -64,7 +51,7 @@ function door3_slot_23() /* entry=378 class_id=0x0A08 slot=0x23 */
if (counter <= (maxFrame - 1)) goto block_0FC4;
block_0C8D:
- class_0A0C_slot_2D(Item.getZ(door1), Item.getY(door1), Item.getX(door1), 0, doorList, (maxFrame - counter), list_element(size=0x2), door1);
+ FREE.slot_2D(Item.getZ(door1), Item.getY(door1), Item.getX(door1), 0, doorList, (maxFrame - counter), list_element(size=0x2), door1);
if (!retval) goto block_0CCF;
block_0CC8:
@@ -74,7 +61,7 @@ function door3_slot_23() /* entry=378 class_id=0x0A08 slot=0x23 */
if ((!bool) && (!nonLegalDoor1)) goto block_0D2E;
block_0CDF:
- class_0A0C_slot_2D(Item.getZ(door2), (Item.getY(door2) + 16), Item.getX(door2), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
+ FREE.slot_2D(Item.getZ(door2), (Item.getY(door2) + 16), Item.getX(door2), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
if (!retval) goto block_0D24;
block_0D1D:
@@ -85,7 +72,7 @@ function door3_slot_23() /* entry=378 class_id=0x0A08 slot=0x23 */
goto block_0D73;
block_0D2E:
- class_0A0C_slot_2D(Item.getZ(door2), (Item.getY(door2) + 16), Item.getX(door2), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
+ FREE.slot_2D(Item.getZ(door2), (Item.getY(door2) + 16), Item.getX(door2), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
if (!retval) goto block_0D73;
block_0D6C:
@@ -95,7 +82,7 @@ function door3_slot_23() /* entry=378 class_id=0x0A08 slot=0x23 */
if ((!nonLegalDoor1) && (!nonLegalDoor2)) goto block_0DC5;
block_0D83:
- spawn class_0A0C_slot_32(pid, (5 + counter), 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, (5 + counter), 0x00000000);
suspend;
goto block_0FB7;
@@ -126,7 +113,7 @@ function door3_slot_23() /* entry=378 class_id=0x0A08 slot=0x23 */
block_0EFA:
block_0F40:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter2 = (1 + counter2);
goto block_0E73;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_24_slot_24.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_24_slot_24.txt
index e02031a..4b5eb4c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_24_slot_24.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_24_slot_24.txt
@@ -9,7 +9,7 @@ function door3_slot_24() /* entry=378 class_id=0x0A08 slot=0x24 */
maxFrame; /* [BP-0Ah] type=0x69 */
set_info(0x0207, *(arg_06));
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
/* create_list element_size=0x2 count=0x5 */
/* free_local_list bp_offset=0xFE target=[BP-02h] */
@@ -18,14 +18,14 @@ function door3_slot_24() /* entry=378 class_id=0x0A08 slot=0x24 */
/* free_local_list bp_offset=0xFC target=[BP-04h] */
doorList2 = 0x030E;
counter = 0;
- class_0A0C_slot_3A(0x00A4, 0x00E1, 0x00D6, 0x00D8, 0x0170, 0x0171, 0x0172, 0x0173, doorList);
+ FREE.slot_3A(0x00A4, 0x00E1, 0x00D6, 0x00D8, 0x0170, 0x0171, 0x0172, 0x0173, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
- spawn class_0A0C_slot_32(doorList2, 1, pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(doorList2, 1, pid, 5, 0x00000000);
suspend;
counter = 2;
while (counter > (maxFrame - 1)) {
- spawn class_0A0C_slot_32(doorList2, counter, doorList, pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(doorList2, counter, doorList, pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_25_slot_25.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_25_slot_25.txt
index c6d2d1f..a50e043 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_25_slot_25.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_25_slot_25.txt
@@ -22,14 +22,10 @@ function door3_slot_25() /* entry=378 class_id=0x0A08 slot=0x25 */
/* create_list element_size=0x2 count=0x5 */
/* free_local_list bp_offset=0xFC target=[BP-04h] */
doorList = 0x030E;
- class_0A0C_slot_3A(0x00A4, 0x00E1, 0x00D6, 0x00D8, 0x0170, 0x0171, 0x0172, 0x0173, doorList);
+ FREE.slot_3A(0x00A4, 0x00E1, 0x00D6, 0x00D8, 0x0170, 0x0171, 0x0172, 0x0173, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x030E, origin=arg_06) */
block_13BD:
if condition goto block_13CB;
@@ -40,19 +36,10 @@ function door3_slot_25() /* entry=378 class_id=0x0A08 slot=0x25 */
goto block_13BD;
block_13CB:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
-
- block_13EB:
- if condition goto block_13F9;
-
- block_13EE:
- door2 = item;
- /* loopnext */
- goto block_13EB;
+ for item in nearby_items(shape=0x030D, origin=arg_06) {
+ door2 = item;
+ /* loopnext */
+ }
block_13F9:
if (door1 && door2) goto block_1770;
@@ -64,7 +51,7 @@ function door3_slot_25() /* entry=378 class_id=0x0A08 slot=0x25 */
if (counter <= (maxFrame - 1)) goto block_1770;
block_143F:
- class_0A0C_slot_2D(Item.getZ(door1), Item.getY(door1), Item.getX(door1), 0, doorList, (maxFrame - counter), list_element(size=0x2), door1);
+ FREE.slot_2D(Item.getZ(door1), Item.getY(door1), Item.getX(door1), 0, doorList, (maxFrame - counter), list_element(size=0x2), door1);
if (!retval) goto block_1481;
block_147A:
@@ -74,7 +61,7 @@ function door3_slot_25() /* entry=378 class_id=0x0A08 slot=0x25 */
if ((!bool) && (!nonLegalDoor1)) goto block_14DD;
block_1491:
- class_0A0C_slot_2D(Item.getZ(door2), Item.getY(door2), Item.getX(door2), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
+ FREE.slot_2D(Item.getZ(door2), Item.getY(door2), Item.getX(door2), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
if (!retval) goto block_14D3;
block_14CC:
@@ -85,7 +72,7 @@ function door3_slot_25() /* entry=378 class_id=0x0A08 slot=0x25 */
goto block_1522;
block_14DD:
- class_0A0C_slot_2D(Item.getZ(door2), Item.getY(door2), (Item.getX(door2) + 16), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
+ FREE.slot_2D(Item.getZ(door2), Item.getY(door2), (Item.getX(door2) + 16), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
if (!retval) goto block_1522;
block_151B:
@@ -95,7 +82,7 @@ function door3_slot_25() /* entry=378 class_id=0x0A08 slot=0x25 */
if ((!nonLegalDoor1) && (!nonLegalDoor2)) goto block_1574;
block_1532:
- spawn class_0A0C_slot_32(pid, (5 + counter), 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, (5 + counter), 0x00000000);
suspend;
goto block_1763;
@@ -126,7 +113,7 @@ function door3_slot_25() /* entry=378 class_id=0x0A08 slot=0x25 */
block_16A6:
block_16EC:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter2 = (1 + counter2);
goto block_1622;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_26_slot_26.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_26_slot_26.txt
index 1f57e10..348258e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_26_slot_26.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_26_slot_26.txt
@@ -9,7 +9,7 @@ function door3_slot_26() /* entry=378 class_id=0x0A08 slot=0x26 */
maxFrame; /* [BP-0Ah] type=0x69 */
set_info(0x0207, *(arg_06));
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
/* create_list element_size=0x2 count=0x5 */
/* free_local_list bp_offset=0xFE target=[BP-02h] */
@@ -18,14 +18,14 @@ function door3_slot_26() /* entry=378 class_id=0x0A08 slot=0x26 */
/* free_local_list bp_offset=0xFC target=[BP-04h] */
doorList2 = 0x0100;
counter = 0;
- class_0A0C_slot_3A(0x016C, 0x016D, 0x016E, 0x016F, 0x009B, 0x00D3, 0x00E4, 0x00DA, doorList);
+ FREE.slot_3A(0x016C, 0x016D, 0x016E, 0x016F, 0x009B, 0x00D3, 0x00E4, 0x00DA, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
- spawn class_0A0C_slot_32(doorList2, 1, pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(doorList2, 1, pid, 5, 0x00000000);
suspend;
counter = 2;
while (counter > (maxFrame - 1)) {
- spawn class_0A0C_slot_32(doorList2, counter, doorList, pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(doorList2, counter, doorList, pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_27_slot_27.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_27_slot_27.txt
index baad5c5..a38ed34 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_27_slot_27.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_27_slot_27.txt
@@ -22,14 +22,10 @@ function door3_slot_27() /* entry=378 class_id=0x0A08 slot=0x27 */
/* create_list element_size=0x2 count=0x5 */
/* free_local_list bp_offset=0xFC target=[BP-04h] */
doorList2 = 0x00A5;
- class_0A0C_slot_3A(0x009B, 0x00D3, 0x00E4, 0x00DA, 0x016C, 0x016D, 0x016E, 0x016F, doorList);
+ FREE.slot_3A(0x009B, 0x00D3, 0x00E4, 0x00DA, 0x016C, 0x016D, 0x016E, 0x016F, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x0100, origin=arg_06) */
block_1B73:
if condition goto block_1B81;
@@ -40,19 +36,10 @@ function door3_slot_27() /* entry=378 class_id=0x0A08 slot=0x27 */
goto block_1B73;
block_1B81:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
-
- block_1BA1:
- if condition goto block_1BAF;
-
- block_1BA4:
- door2 = item;
- /* loopnext */
- goto block_1BA1;
+ for item in nearby_items(shape=0x00A5, origin=arg_06) {
+ door2 = item;
+ /* loopnext */
+ }
block_1BAF:
if (door1 && door2) goto block_1F19;
@@ -64,7 +51,7 @@ function door3_slot_27() /* entry=378 class_id=0x0A08 slot=0x27 */
if (counter <= (maxFrame - 1)) goto block_1F19;
block_1BE8:
- class_0A0C_slot_2D(Item.getZ(door1), Item.getY(door1), Item.getX(door1), 0, doorList, (maxFrame - counter), list_element(size=0x2), door1);
+ FREE.slot_2D(Item.getZ(door1), Item.getY(door1), Item.getX(door1), 0, doorList, (maxFrame - counter), list_element(size=0x2), door1);
if (!retval) goto block_1C2A;
block_1C23:
@@ -74,7 +61,7 @@ function door3_slot_27() /* entry=378 class_id=0x0A08 slot=0x27 */
if ((!bool) && (!nonLegalDoor1)) goto block_1C86;
block_1C3A:
- class_0A0C_slot_2D(Item.getZ(door2), Item.getY(door2), Item.getX(door2), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
+ FREE.slot_2D(Item.getZ(door2), Item.getY(door2), Item.getX(door2), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
if (!retval) goto block_1C7C;
block_1C75:
@@ -85,7 +72,7 @@ function door3_slot_27() /* entry=378 class_id=0x0A08 slot=0x27 */
goto block_1CCB;
block_1C86:
- class_0A0C_slot_2D(Item.getZ(door2), (Item.getY(door2) + 16), Item.getX(door2), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
+ FREE.slot_2D(Item.getZ(door2), (Item.getY(door2) + 16), Item.getX(door2), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
if (!retval) goto block_1CCB;
block_1CC4:
@@ -95,7 +82,7 @@ function door3_slot_27() /* entry=378 class_id=0x0A08 slot=0x27 */
if ((!nonLegalDoor1) && (!nonLegalDoor2)) goto block_1D1D;
block_1CDB:
- spawn class_0A0C_slot_32(pid, (5 + counter), 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, (5 + counter), 0x00000000);
suspend;
goto block_1F0C;
@@ -126,7 +113,7 @@ function door3_slot_27() /* entry=378 class_id=0x0A08 slot=0x27 */
block_1E4F:
block_1E95:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter2 = (1 + counter2);
goto block_1DCB;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_28_slot_28.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_28_slot_28.txt
index 9391ec7..dfc1545 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_28_slot_28.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_28_slot_28.txt
@@ -12,12 +12,12 @@ function door3_slot_28() /* entry=378 class_id=0x0A08 slot=0x28 */
return;
}
else {
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
maxFrame = 9;
counter = 1;
while (counter > maxFrame) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_29_slot_29.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_29_slot_29.txt
index 85d4123..1216d82 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_29_slot_29.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_29_slot_29.txt
@@ -7,9 +7,9 @@ function door3_slot_29() /* entry=378 class_id=0x0A08 slot=0x29 */
set_info(0x0207, *(arg_06));
maxFrame = 9;
- class_0A0C_slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), maxFrame, 0x053D, *(arg_06));
+ FREE.slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), maxFrame, 0x053D, *(arg_06));
if (!retval) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
else {
@@ -19,7 +19,7 @@ function door3_slot_29() /* entry=378 class_id=0x0A08 slot=0x29 */
}
counter = (maxFrame - 1);
while (counter < 0) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (counter - 1);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_2A_slot_2A.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_2A_slot_2A.txt
index c17a864..dc2e064 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_2A_slot_2A.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_2A_slot_2A.txt
@@ -12,12 +12,12 @@ function door3_slot_2A() /* entry=378 class_id=0x0A08 slot=0x2A */
return;
}
else {
- spawn class_0A06_slot_22(pid, arg_06);
+ spawn DOOR.slot_22(pid, arg_06);
suspend;
maxFrame = 9;
counter = 1;
while (counter > maxFrame) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_2B_slot_2B.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_2B_slot_2B.txt
index 6b93631..9f3735f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_2B_slot_2B.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOR3/slot_2B_slot_2B.txt
@@ -7,9 +7,9 @@ function door3_slot_2B() /* entry=378 class_id=0x0A08 slot=0x2B */
set_info(0x0207, *(arg_06));
maxFrame = 9;
- class_0A0C_slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), maxFrame, 0x053B, *(arg_06));
+ FREE.slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), maxFrame, 0x053B, *(arg_06));
if (!retval) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
else {
@@ -19,7 +19,7 @@ function door3_slot_2B() /* entry=378 class_id=0x0A08 slot=0x2B */
}
counter = (maxFrame - 1);
while (counter < 0) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (counter - 1);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOREGG/slot_07_hatch.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOREGG/slot_07_hatch.txt
index fd122a2..d71524e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOREGG/slot_07_hatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOREGG/slot_07_hatch.txt
@@ -2,7 +2,7 @@ function dooregg_hatch() /* entry=350 class_id=0x090A slot=0x07 */
{
set_info(0x0210, *(arg_06));
process_exclude();
- spawn class_090A_slot_20(pid, arg_06);
+ spawn DOOREGG.slot_20(pid, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOREGG/slot_15_unhatch.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOREGG/slot_15_unhatch.txt
index 2ce515f..4cf17be 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOREGG/slot_15_unhatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOREGG/slot_15_unhatch.txt
@@ -2,7 +2,7 @@ function dooregg_unhatch() /* entry=350 class_id=0x090A slot=0x15 */
{
set_info(0x0239, *(arg_06));
process_exclude();
- spawn class_090A_slot_21(pid, arg_06);
+ spawn DOOREGG.slot_21(pid, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOREGG/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOREGG/slot_20_slot_20.txt
index 7480b30..adb9c55 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOREGG/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOREGG/slot_20_slot_20.txt
@@ -5,14 +5,10 @@ function dooregg_slot_20() /* entry=350 class_id=0x090A slot=0x20 */
door; /* [BP-02h] type=0x24 */
set_info(0x0001, *(arg_06));
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector door in nearby_items(family=1, origin=arg_06) */
while (!condition) {
if (Item.getQLo(door) == Egg.getEggId(arg_06)) {
- spawn class_0A06_slot_21(1, door);
+ spawn DOOR.slot_21(1, door);
}
/* loopnext */
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/DOOREGG/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/DOOREGG/slot_21_slot_21.txt
index 43caa51..2244f39 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/DOOREGG/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/DOOREGG/slot_21_slot_21.txt
@@ -5,14 +5,10 @@ function dooregg_slot_21() /* entry=350 class_id=0x090A slot=0x21 */
door; /* [BP-02h] type=0x24 */
set_info(0x0001, *(arg_06));
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector door in nearby_items(family=1, origin=arg_06) */
while (!condition) {
if (Item.getQLo(door) == Egg.getEggId(arg_06)) {
- spawn class_0A06_slot_21(2, door);
+ spawn DOOR.slot_21(2, door);
}
/* loopnext */
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_BARREL/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/D_BARREL/slot_06_gotHit.txt
index f04c56d..683d8f7 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_BARREL/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_BARREL/slot_06_gotHit.txt
@@ -7,11 +7,11 @@ function d_barrel_gotHit() /* entry=127 class_id=0x022B slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval == 4) {
- class_0A0C_slot_20(10);
+ FREE.slot_20(10);
if (retval <= 5) {
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_CHEM/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/D_CHEM/slot_01_use.txt
index 121a48c..c005af6 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_CHEM/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_CHEM/slot_01_use.txt
@@ -6,9 +6,9 @@ function d_chem_use() /* entry=258 class_id=0x04B9 slot=0x01 */
return;
}
else {
- class_0A0C_slot_40(*(arg_06));
+ FREE.slot_40(*(arg_06));
if (!retval) {
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_CHEM/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/D_CHEM/slot_06_gotHit.txt
index 814a854..259beff 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_CHEM/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_CHEM/slot_06_gotHit.txt
@@ -8,7 +8,7 @@ function d_chem_gotHit() /* entry=258 class_id=0x04B9 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_CONG/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/D_CONG/slot_01_use.txt
index 47c7e87..f061fbc 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_CONG/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_CONG/slot_01_use.txt
@@ -6,9 +6,9 @@ function d_cong_use() /* entry=259 class_id=0x04BA slot=0x01 */
return;
}
else {
- class_0A0C_slot_40(*(arg_06));
+ FREE.slot_40(*(arg_06));
if (!retval) {
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_CONG/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/D_CONG/slot_06_gotHit.txt
index 42ee815..6552ec5 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_CONG/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_CONG/slot_06_gotHit.txt
@@ -8,7 +8,7 @@ function d_cong_gotHit() /* entry=259 class_id=0x04BA slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_COUR/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/D_COUR/slot_06_gotHit.txt
index 6b7e397..0056aee 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_COUR/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_COUR/slot_06_gotHit.txt
@@ -15,13 +15,13 @@ function d_cour_gotHit() /* entry=266 class_id=0x04C2 slot=0x06 */
/* loopscr value_u8=0x24 */
/* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
while (!condition) {
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
- spawn class_0A1E_slot_28(pid, 1, 0, goods);
+ spawn ITEM.slot_28(pid, 1, 0, goods);
suspend;
/* loopnext */
}
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_EM_GUY/slot_0E_calledFromAnim.txt b/USECODE/EUSECODE_extracted/pseudocode/D_EM_GUY/slot_0E_calledFromAnim.txt
index f7eb74a..b6ee338 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_EM_GUY/slot_0E_calledFromAnim.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_EM_GUY/slot_0E_calledFromAnim.txt
@@ -2,6 +2,6 @@ function d_em_guy_calledFromAnim() /* entry=334 class_id=0x059C slot=0x0E */
{
set_info(0x021A, *(arg_06));
process_exclude();
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_EM_GUY/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/D_EM_GUY/slot_0F_enterFastArea.txt
index 49eb85e..3a72049 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_EM_GUY/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_EM_GUY/slot_0F_enterFastArea.txt
@@ -2,8 +2,8 @@ function d_em_guy_enterFastArea() /* entry=334 class_id=0x059C slot=0x0F */
{
set_info(0x021B, *(arg_06));
process_exclude();
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_ENFORC/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/D_ENFORC/slot_01_use.txt
index 743684c..a45b173 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_ENFORC/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_ENFORC/slot_01_use.txt
@@ -6,9 +6,9 @@ function d_enforc_use() /* entry=318 class_id=0x055D slot=0x01 */
return;
}
else {
- class_0A0C_slot_40(*(arg_06));
+ FREE.slot_40(*(arg_06));
if (!retval) {
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_ENFORC/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/D_ENFORC/slot_06_gotHit.txt
index acbfa29..fe4af8f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_ENFORC/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_ENFORC/slot_06_gotHit.txt
@@ -8,7 +8,7 @@ function d_enforc_gotHit() /* entry=318 class_id=0x055D slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_ESTORM/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/D_ESTORM/slot_01_use.txt
index d1874bf..f5002df 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_ESTORM/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_ESTORM/slot_01_use.txt
@@ -6,9 +6,9 @@ function d_estorm_use() /* entry=276 class_id=0x04D2 slot=0x01 */
return;
}
else {
- class_0A0C_slot_40(*(arg_06));
+ FREE.slot_40(*(arg_06));
if (!retval) {
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_ESTORM/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/D_ESTORM/slot_06_gotHit.txt
index 850fb35..d9b8f95 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_ESTORM/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_ESTORM/slot_06_gotHit.txt
@@ -8,7 +8,7 @@ function d_estorm_gotHit() /* entry=276 class_id=0x04D2 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_GRENAD/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/D_GRENAD/slot_01_use.txt
index 22398c5..1d46ee1 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_GRENAD/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_GRENAD/slot_01_use.txt
@@ -6,9 +6,9 @@ function d_grenad_use() /* entry=315 class_id=0x054D slot=0x01 */
return;
}
else {
- class_0A0C_slot_40(*(arg_06));
+ FREE.slot_40(*(arg_06));
if (!retval) {
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_GRENAD/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/D_GRENAD/slot_06_gotHit.txt
index 5d8500e..9d8a9e4 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_GRENAD/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_GRENAD/slot_06_gotHit.txt
@@ -8,7 +8,7 @@ function d_grenad_gotHit() /* entry=315 class_id=0x054D slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_GUARD/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/D_GUARD/slot_01_use.txt
index 06ddb37..654578a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_GUARD/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_GUARD/slot_01_use.txt
@@ -6,9 +6,9 @@ function d_guard_use() /* entry=182 class_id=0x0339 slot=0x01 */
return;
}
else {
- class_0A0C_slot_40(*(arg_06));
+ FREE.slot_40(*(arg_06));
if (!retval) {
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_GUARD/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/D_GUARD/slot_06_gotHit.txt
index 9477f44..c541052 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_GUARD/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_GUARD/slot_06_gotHit.txt
@@ -8,7 +8,7 @@ function d_guard_gotHit() /* entry=182 class_id=0x0339 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_GURDSQ/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/D_GURDSQ/slot_01_use.txt
index 5ad8a15..c840d82 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_GURDSQ/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_GURDSQ/slot_01_use.txt
@@ -6,11 +6,11 @@ function d_gurdsq_use() /* entry=287 class_id=0x04E4 slot=0x01 */
return;
}
else {
- class_0A0C_slot_40(*(arg_06));
+ FREE.slot_40(*(arg_06));
if (!retval) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_GURDSQ/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/D_GURDSQ/slot_06_gotHit.txt
index e261c8f..61f1a0a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_GURDSQ/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_GURDSQ/slot_06_gotHit.txt
@@ -8,7 +8,7 @@ function d_gurdsq_gotHit() /* entry=287 class_id=0x04E4 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_HOFFMA/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/D_HOFFMA/slot_01_use.txt
index 8f2b678..b67a556 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_HOFFMA/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_HOFFMA/slot_01_use.txt
@@ -6,9 +6,9 @@ function d_hoffma_use() /* entry=282 class_id=0x04DA slot=0x01 */
return;
}
else {
- class_0A0C_slot_40(*(arg_06));
+ FREE.slot_40(*(arg_06));
if (!retval) {
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_MAINT/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/D_MAINT/slot_01_use.txt
index fbb2a60..eb37290 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_MAINT/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_MAINT/slot_01_use.txt
@@ -6,9 +6,9 @@ function d_maint_use() /* entry=260 class_id=0x04BB slot=0x01 */
return;
}
else {
- class_0A0C_slot_40(*(arg_06));
+ FREE.slot_40(*(arg_06));
if (!retval) {
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_MAINT/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/D_MAINT/slot_06_gotHit.txt
index cd16eb3..4654df7 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_MAINT/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_MAINT/slot_06_gotHit.txt
@@ -8,7 +8,7 @@ function d_maint_gotHit() /* entry=260 class_id=0x04BB slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_OWORK/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/D_OWORK/slot_01_use.txt
index 1314c0e..c55c8f6 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_OWORK/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_OWORK/slot_01_use.txt
@@ -6,9 +6,9 @@ function d_owork_use() /* entry=261 class_id=0x04BC slot=0x01 */
return;
}
else {
- class_0A0C_slot_40(*(arg_06));
+ FREE.slot_40(*(arg_06));
if (!retval) {
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_OWORK/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/D_OWORK/slot_06_gotHit.txt
index 213cf68..3aa39d6 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_OWORK/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_OWORK/slot_06_gotHit.txt
@@ -8,7 +8,7 @@ function d_owork_gotHit() /* entry=261 class_id=0x04BC slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_PLASMA/slot_0E_calledFromAnim.txt b/USECODE/EUSECODE_extracted/pseudocode/D_PLASMA/slot_0E_calledFromAnim.txt
index 15672b8..cd72da7 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_PLASMA/slot_0E_calledFromAnim.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_PLASMA/slot_0E_calledFromAnim.txt
@@ -2,6 +2,6 @@ function d_plasma_calledFromAnim() /* entry=332 class_id=0x058F slot=0x0E */
{
set_info(0x021A, *(arg_06));
process_exclude();
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_PLASMA/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/D_PLASMA/slot_0F_enterFastArea.txt
index 8b4e74d..10d1722 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_PLASMA/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_PLASMA/slot_0F_enterFastArea.txt
@@ -2,8 +2,8 @@ function d_plasma_enterFastArea() /* entry=332 class_id=0x058F slot=0x0F */
{
set_info(0x021B, *(arg_06));
process_exclude();
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_SCIEN/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/D_SCIEN/slot_01_use.txt
index 52f3504..482164d 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_SCIEN/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_SCIEN/slot_01_use.txt
@@ -6,9 +6,9 @@ function d_scien_use() /* entry=262 class_id=0x04BD slot=0x01 */
return;
}
else {
- class_0A0C_slot_40(*(arg_06));
+ FREE.slot_40(*(arg_06));
if (!retval) {
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_SCIEN/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/D_SCIEN/slot_06_gotHit.txt
index d197249..7c0a13d 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_SCIEN/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_SCIEN/slot_06_gotHit.txt
@@ -8,7 +8,7 @@ function d_scien_gotHit() /* entry=262 class_id=0x04BD slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_SKELET/slot_0E_calledFromAnim.txt b/USECODE/EUSECODE_extracted/pseudocode/D_SKELET/slot_0E_calledFromAnim.txt
index 0e92e53..9c83ffd 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_SKELET/slot_0E_calledFromAnim.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_SKELET/slot_0E_calledFromAnim.txt
@@ -2,6 +2,6 @@ function d_skelet_calledFromAnim() /* entry=333 class_id=0x0596 slot=0x0E */
{
set_info(0x021A, *(arg_06));
process_exclude();
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_SKELET/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/D_SKELET/slot_0F_enterFastArea.txt
index fc1352a..85cfd43 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_SKELET/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_SKELET/slot_0F_enterFastArea.txt
@@ -2,8 +2,8 @@ function d_skelet_enterFastArea() /* entry=333 class_id=0x0596 slot=0x0F */
{
set_info(0x021B, *(arg_06));
process_exclude();
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_SOLD/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/D_SOLD/slot_01_use.txt
index 75bbe58..fd54b5e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_SOLD/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_SOLD/slot_01_use.txt
@@ -6,9 +6,9 @@ function d_sold_use() /* entry=264 class_id=0x04BF slot=0x01 */
return;
}
else {
- class_0A0C_slot_40(*(arg_06));
+ FREE.slot_40(*(arg_06));
if (!retval) {
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_SOLD/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/D_SOLD/slot_06_gotHit.txt
index 8ac8067..77e6db2 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_SOLD/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_SOLD/slot_06_gotHit.txt
@@ -8,7 +8,7 @@ function d_sold_gotHit() /* entry=264 class_id=0x04BF slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_STORM/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/D_STORM/slot_01_use.txt
index fe9abe3..31535e3 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_STORM/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_STORM/slot_01_use.txt
@@ -6,9 +6,9 @@ function d_storm_use() /* entry=263 class_id=0x04BE slot=0x01 */
return;
}
else {
- class_0A0C_slot_40(*(arg_06));
+ FREE.slot_40(*(arg_06));
if (!retval) {
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_STORM/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/D_STORM/slot_06_gotHit.txt
index e2e6ae9..157d83a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_STORM/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_STORM/slot_06_gotHit.txt
@@ -8,7 +8,7 @@ function d_storm_gotHit() /* entry=263 class_id=0x04BE slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_SUSAN/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/D_SUSAN/slot_06_gotHit.txt
index 89df89b..a7b7447 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_SUSAN/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_SUSAN/slot_06_gotHit.txt
@@ -15,13 +15,13 @@ function d_susan_gotHit() /* entry=267 class_id=0x04C4 slot=0x06 */
/* loopscr value_u8=0x24 */
/* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
while (!condition) {
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
- spawn class_0A1E_slot_28(pid, 1, 0, goods);
+ spawn ITEM.slot_28(pid, 1, 0, goods);
suspend;
/* loopnext */
}
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_THERM/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/D_THERM/slot_01_use.txt
index 916ad25..cb96686 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_THERM/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_THERM/slot_01_use.txt
@@ -6,9 +6,9 @@ function d_therm_use() /* entry=268 class_id=0x04C5 slot=0x01 */
return;
}
else {
- class_0A0C_slot_40(*(arg_06));
+ FREE.slot_40(*(arg_06));
if (!retval) {
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/D_VARG/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/D_VARG/slot_01_use.txt
index d3bd7e7..963caf9 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/D_VARG/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/D_VARG/slot_01_use.txt
@@ -6,9 +6,9 @@ function d_varg_use() /* entry=265 class_id=0x04C0 slot=0x01 */
return;
}
else {
- class_0A0C_slot_40(*(arg_06));
+ FREE.slot_40(*(arg_06));
if (!retval) {
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/EBRIDGE/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/EBRIDGE/slot_0A_equip.txt
index 6986149..9c8342a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/EBRIDGE/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/EBRIDGE/slot_0A_equip.txt
@@ -2,7 +2,7 @@ function ebridge_equip() /* entry=210 class_id=0x03A6 slot=0x0A */
{
set_info(0x0211, *(arg_06));
process_exclude();
- spawn class_0A03_slot_20(pid, arg_0A, arg_06);
+ spawn BRIDGE.slot_20(pid, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/EBRIDGE/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/EBRIDGE/slot_0F_enterFastArea.txt
index 7df6cfb..015e165 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/EBRIDGE/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/EBRIDGE/slot_0F_enterFastArea.txt
@@ -17,7 +17,7 @@ function ebridge_enterFastArea() /* entry=210 class_id=0x03A6 slot=0x0F */
return;
}
else {
- spawn class_0A03_slot_26(pid, y, x, arg_06);
+ spawn BRIDGE.slot_26(pid, y, x, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/EBRIDGE2/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/EBRIDGE2/slot_0A_equip.txt
index d2f7c27..3b866b2 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/EBRIDGE2/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/EBRIDGE2/slot_0A_equip.txt
@@ -2,7 +2,7 @@ function ebridge2_equip() /* entry=230 class_id=0x0413 slot=0x0A */
{
set_info(0x0211, *(arg_06));
process_exclude();
- spawn class_0A03_slot_20(pid, arg_0A, arg_06);
+ spawn BRIDGE.slot_20(pid, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/EBRIDGE2/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/EBRIDGE2/slot_0F_enterFastArea.txt
index 08516d2..ddb842c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/EBRIDGE2/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/EBRIDGE2/slot_0F_enterFastArea.txt
@@ -17,7 +17,7 @@ function ebridge2_enterFastArea() /* entry=230 class_id=0x0413 slot=0x0F */
return;
}
else {
- spawn class_0A03_slot_26(pid, y, x, arg_06);
+ spawn BRIDGE.slot_26(pid, y, x, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/EGRENADE/slot_0E_calledFromAnim.txt b/USECODE/EUSECODE_extracted/pseudocode/EGRENADE/slot_0E_calledFromAnim.txt
index 480cd96..4691f29 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/EGRENADE/slot_0E_calledFromAnim.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/EGRENADE/slot_0E_calledFromAnim.txt
@@ -8,6 +8,6 @@ function egrenade_calledFromAnim() /* entry=303 class_id=0x0528 slot=0x0E */
process_exclude();
n = *(arg_06);
set_info(1, 0);
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), n);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), n);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ELEVAT/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/ELEVAT/slot_20_slot_20.txt
index 1962fec..0a5fbab 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ELEVAT/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ELEVAT/slot_20_slot_20.txt
@@ -8,14 +8,14 @@ function elevat_slot_20() /* entry=379 class_id=0x0A09 slot=0x20 */
return;
}
else {
- class_0A09_slot_22(Item.getZ(arg_06), arg_06);
+ ELEVAT.slot_22(Item.getZ(arg_06), arg_06);
if (!retval) {
- spawn class_0A09_slot_23(pid, arg_06);
+ spawn ELEVAT.slot_23(pid, arg_06);
suspend;
return;
}
else {
- spawn class_0A09_slot_24(pid, arg_06);
+ spawn ELEVAT.slot_24(pid, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ELEVAT/slot_23_slot_23.txt b/USECODE/EUSECODE_extracted/pseudocode/ELEVAT/slot_23_slot_23.txt
index 29ecf9f..915fe47 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ELEVAT/slot_23_slot_23.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ELEVAT/slot_23_slot_23.txt
@@ -31,7 +31,7 @@ function elevat_slot_23() /* entry=379 class_id=0x0A09 slot=0x23 */
counter2 = (1 + counter2);
}
total = 0;
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ELEVAT/slot_24_slot_24.txt b/USECODE/EUSECODE_extracted/pseudocode/ELEVAT/slot_24_slot_24.txt
index 72fe7e6..2cf2897 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ELEVAT/slot_24_slot_24.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ELEVAT/slot_24_slot_24.txt
@@ -16,7 +16,7 @@ function elevat_slot_24() /* entry=379 class_id=0x0A09 slot=0x24 */
set_info(0x0001, *(arg_06));
height = Item.getZ(arg_06);
- class_0A09_slot_21(arg_06);
+ ELEVAT.slot_21(arg_06);
minLimit = retval;
minLimitCount = ((height - minLimit) / 2);
counter = 1;
@@ -49,7 +49,7 @@ function elevat_slot_24() /* entry=379 class_id=0x0A09 slot=0x24 */
cargoDown = Item.getEtherealTop();
counter2 = (1 + counter2);
}
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
}
else {
@@ -58,9 +58,9 @@ function elevat_slot_24() /* entry=379 class_id=0x0A09 slot=0x24 */
cargoDown = Item.getEtherealTop();
counter2 = (1 + counter2);
}
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
- spawn class_0A09_slot_23(pid, arg_06);
+ spawn ELEVAT.slot_23(pid, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ELEVAT/slot_25_slot_25.txt b/USECODE/EUSECODE_extracted/pseudocode/ELEVAT/slot_25_slot_25.txt
index 2dd5fa9..c60d619 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ELEVAT/slot_25_slot_25.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ELEVAT/slot_25_slot_25.txt
@@ -10,22 +10,18 @@ function elevat_slot_25() /* entry=379 class_id=0x0A09 slot=0x25 */
set_info(0x0001, *(arg_06));
totFrames = 5;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector liftpit in nearby_items(shape=ELEVATOR_BASE, origin=arg_06) */
while (!condition) {
- class_0A0C_slot_3F((Item.getX(arg_06) - Item.getX(liftpit)));
+ FREE.slot_3F((Item.getX(arg_06) - Item.getX(liftpit)));
checkX = retval;
- class_0A0C_slot_3F((Item.getY(arg_06) - Item.getY(liftpit)));
+ FREE.slot_3F((Item.getY(arg_06) - Item.getY(liftpit)));
checkY = retval;
if ((checkX >= 2) && (checkY < 2)) {
if ((Item.getStatus(liftpit) & 0x1000) == 0) {
if (Item.getFrame(liftpit) == 0) {
pitCounter = 1;
while (pitCounter > totFrames) {
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
pitCounter = (1 + pitCounter);
}
@@ -33,11 +29,11 @@ function elevat_slot_25() /* entry=379 class_id=0x0A09 slot=0x25 */
else {
pitCounter = totFrames;
while (pitCounter <= 0) {
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
pitCounter = (pitCounter - 1);
}
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
/* bit_not */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ELEVATOR/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/ELEVATOR/slot_06_gotHit.txt
index d603f80..67fb304 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ELEVATOR/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ELEVATOR/slot_06_gotHit.txt
@@ -16,10 +16,10 @@ function elevator_gotHit() /* entry=124 class_id=0x021E slot=0x06 */
return;
}
else {
- class_0A0C_slot_33(0x0220, 0);
+ FREE.slot_33(0x0220, 0);
/* global_address global_id=0x3C */
while (!Actor.isBusy()) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
@@ -54,28 +54,28 @@ function elevator_gotHit() /* entry=124 class_id=0x021E slot=0x06 */
}
if (lowQuality >= 16) {
/* global_address global_id=0x3C */
- spawn class_021E_slot_20(Actor.getMap(pid, lowQuality), direction, arg_06);
+ spawn ELEVATOR.slot_20(Actor.getMap(pid, lowQuality), direction, arg_06);
suspend;
}
else if (lowQuality == 16) {
/* global_address global_id=0x3C */
- spawn class_021E_slot_20(Actor.getMap(pid, 4), direction, arg_06);
+ spawn ELEVATOR.slot_20(Actor.getMap(pid, 4), direction, arg_06);
suspend;
}
else if (lowQuality == 17) {
- spawn class_021E_slot_20(pid, 17, 10, direction, arg_06);
+ spawn ELEVATOR.slot_20(pid, 17, 10, direction, arg_06);
suspend;
}
else if (lowQuality == 18) {
- spawn class_021E_slot_20(pid, 18, 24, direction, arg_06);
+ spawn ELEVATOR.slot_20(pid, 18, 24, direction, arg_06);
suspend;
}
/* global_address global_id=0x3C */
while (!Actor.isBusy()) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
- class_0A0C_slot_33(0x0220, 0);
+ FREE.slot_33(0x0220, 0);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ELEVATOR/slot_09_release.txt b/USECODE/EUSECODE_extracted/pseudocode/ELEVATOR/slot_09_release.txt
index ab009f2..b228735 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ELEVATOR/slot_09_release.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ELEVATOR/slot_09_release.txt
@@ -10,14 +10,12 @@ function elevator_release() /* entry=124 class_id=0x021E slot=0x09 */
process_exclude();
w = Item.getSurfaceWeight(arg_06);
if (w == 0) {
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x0189, arg1=0x0289, arg2=(10 * 32), origin=global[0x003C]) */
while (!condition) {
door = item;
- spawn class_0A06_slot_21(pid, 2, door);
+ spawn DOOR.slot_21(pid, 2, door);
suspend;
/* loopnext */
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ELEVATOR/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/ELEVATOR/slot_20_slot_20.txt
index 6399e82..3776ebe 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ELEVATOR/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ELEVATOR/slot_20_slot_20.txt
@@ -13,9 +13,7 @@ function elevator_slot_20() /* entry=124 class_id=0x021E slot=0x20 */
door1; /* [BP-0Ch] type=0x24 */
set_info(1, 0);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x0189, arg1=0x0289, arg2=(10 * 32), origin=arg_06) */
while (!condition) {
door = item;
/* loopnext */
@@ -23,7 +21,7 @@ function elevator_slot_20() /* entry=124 class_id=0x021E slot=0x20 */
if (door) {
return;
}
- else if (Item.getShape(door) == 0x0189) {
+ else if (Item.getShape(door) == ELEVATOR_DOOR_SEGMENT) {
/* global_address global_id=0x3C */
suspend;
/* global_address global_id=0x3C */
@@ -44,72 +42,63 @@ function elevator_slot_20() /* entry=124 class_id=0x021E slot=0x20 */
suspend;
}
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
- spawn class_0A06_slot_21(pid, 2, door);
+ spawn DOOR.slot_21(pid, 2, door);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x01C4, arg1=0x0186, arg2=(20 * 32), origin=arg_06) */
while (!condition) {
post1 = item;
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in selector_0x42(arg0=0x01C5, arg1=0x0184, arg2=(20 * 32), origin=arg_06) {
post2 = item;
/* loopnext */
}
if (!(post1 && post2)) {
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
while (!AudioProcess.isSFXPlayingForObject(0x00F4)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
if (!dir) {
counter = 5;
while (counter > 7) {
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
counter = (1 + counter);
}
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
}
else {
counter = 1;
while (counter > 4) {
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
counter = (1 + counter);
}
}
}
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
suspend;
- spawn class_0A0C_slot_3C(pid, 0x00000000);
+ spawn FREE.slot_3C(pid, 0x00000000);
suspend;
/* global_address global_id=0x3C */
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=GRATE_FLOOR_GRAY, origin=global[0x003C]) */
while (!condition) {
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
suspend;
- class_0A0C_slot_33(12, item);
+ FREE.slot_33(12, item);
/* loopnext */
}
if (eggNum == 18) {
@@ -117,19 +106,14 @@ function elevator_slot_20() /* entry=124 class_id=0x021E slot=0x20 */
suspend;
}
suspend;
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x01C4, arg1=0x0186, arg2=(10 * 32), origin=global[0x003C]) */
while (!condition) {
post1 = item;
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in selector_0x42(arg0=0x01C5, arg1=0x0184, arg2=(10 * 32), origin=global[0x003C]) {
post2 = item;
/* loopnext */
}
@@ -138,14 +122,14 @@ function elevator_slot_20() /* entry=124 class_id=0x021E slot=0x20 */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
while (!AudioProcess.isSFXPlayingForObject(0x00F2)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
if (!dir) {
counter = 1;
while (counter > 4) {
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
counter = (1 + counter);
}
@@ -153,22 +137,20 @@ function elevator_slot_20() /* entry=124 class_id=0x021E slot=0x20 */
else {
counter = 0;
while (counter > 3) {
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
counter = (1 + counter);
}
}
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_32(pid, 120, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 120, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x0193, arg1=0x01C7, arg2=(10 * 32), origin=global[0x003C]) */
while (!condition) {
door = item;
- spawn class_0A06_slot_21(pid, 1, door);
+ spawn DOOR.slot_21(pid, 1, door);
suspend;
/* loopnext */
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ELEVPLAT/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/ELEVPLAT/slot_0A_equip.txt
index 241b5ca..be54242 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ELEVPLAT/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ELEVPLAT/slot_0A_equip.txt
@@ -19,7 +19,7 @@ function elevplat_equip() /* entry=50 class_id=0x012F slot=0x0A */
}
else if (!arg_0A) {
}
- spawn class_0A09_slot_20(pid, arg_06);
+ spawn ELEVAT.slot_20(pid, arg_06);
suspend;
if (global[0x0000] == 1) {
/* loopscr value_u8=0x24 */
@@ -28,7 +28,7 @@ function elevplat_equip() /* entry=50 class_id=0x012F slot=0x0A */
/* loopscr value_u8=0x25 */
/* loop current_var=0xFA string_bytes=0x6 loop_type=0x6 */
while (!condition) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
/* loopnext */
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ELITE/slot_0E_calledFromAnim.txt b/USECODE/EUSECODE_extracted/pseudocode/ELITE/slot_0E_calledFromAnim.txt
index 963d3f3..4ac816f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ELITE/slot_0E_calledFromAnim.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ELITE/slot_0E_calledFromAnim.txt
@@ -8,6 +8,6 @@ function elite_calledFromAnim() /* entry=275 class_id=0x04D1 slot=0x0E */
process_exclude();
n = *(arg_06);
set_info(1, 0);
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ELYDESK/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/ELYDESK/slot_01_use.txt
index a2f0188..833c392 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ELYDESK/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ELYDESK/slot_01_use.txt
@@ -7,14 +7,14 @@ function elydesk_use() /* entry=246 class_id=0x044F slot=0x01 */
set_info(0x0207, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
while (Item.getFrame(arg_06) >= 5) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
if (global[0x001F] == 2) {
/* str_to_ptr */
@@ -56,20 +56,15 @@ function elydesk_use() /* entry=246 class_id=0x044F slot=0x01 */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=0x043D, origin=arg_06) {
/* loopnext */
}
counter = 0;
while (counter > 5) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
}
- spawn class_044F_enterFastArea(arg_06);
+ spawn ELYDESK.enterFastArea(arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ELYDESK/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/ELYDESK/slot_0F_enterFastArea.txt
index 454af30..382b074 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ELYDESK/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ELYDESK/slot_0F_enterFastArea.txt
@@ -14,8 +14,8 @@ function elydesk_enterFastArea() /* entry=246 class_id=0x044F slot=0x0F */
block_0478:
suspend;
- class_0A0C_slot_20(pid, 100);
- spawn class_0A0C_slot_32((retval + 60), 0x00000000);
+ FREE.slot_20(pid, 100);
+ spawn FREE.waitNTimerTicks((retval + 60), 0x00000000);
suspend;
if (!Item.getFrame(arg_06)) goto block_0518;
@@ -26,13 +26,13 @@ function elydesk_enterFastArea() /* entry=246 class_id=0x044F slot=0x0F */
if (counter <= 5) goto block_0518;
block_04D8:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_04D0;
block_0518:
- class_0A0C_slot_20(100);
+ FREE.slot_20(100);
if (retval > 50) goto block_0583;
block_052E:
@@ -42,7 +42,7 @@ function elydesk_enterFastArea() /* entry=246 class_id=0x044F slot=0x0F */
if (counter <= 5) goto block_0580;
block_053D:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0535;
@@ -57,14 +57,14 @@ function elydesk_enterFastArea() /* entry=246 class_id=0x044F slot=0x0F */
if (counter <= 9) goto block_05D2;
block_0592:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_058A;
block_05D2:
- class_0A0C_slot_20(pid, 60);
- spawn class_0A0C_slot_32((retval + 60), 0x00000000);
+ FREE.slot_20(pid, 60);
+ spawn FREE.waitNTimerTicks((retval + 60), 0x00000000);
suspend;
counter = 0;
@@ -72,7 +72,7 @@ function elydesk_enterFastArea() /* entry=246 class_id=0x044F slot=0x0F */
if (counter <= 3) goto block_0655;
block_0612:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_060A;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ELYDESK/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/ELYDESK/slot_10_leaveFastArea.txt
index f479621..28e1750 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ELYDESK/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ELYDESK/slot_10_leaveFastArea.txt
@@ -2,6 +2,6 @@ function elydesk_leaveFastArea() /* entry=246 class_id=0x044F slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ENERGY/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/ENERGY/slot_01_use.txt
index f92d7a4..69ce2e8 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ENERGY/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ENERGY/slot_01_use.txt
@@ -31,7 +31,7 @@ function energy_use() /* entry=329 class_id=0x0582 slot=0x01 */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
if (!MainActor.getMaxEnergy(Actor.getMana())) {
- spawn class_0A0C_slot_21(pid, 0x00B0, 0x00000000);
+ spawn FREE.slot_21(pid, 0x00B0, 0x00000000);
suspend;
return;
}
@@ -41,16 +41,16 @@ function energy_use() /* entry=329 class_id=0x0582 slot=0x01 */
if (!MainActor.getMaxEnergy((Actor.getMana() + fule))) {
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_21(pid, 0x010D, 0x00000000);
+ spawn FREE.slot_21(pid, 0x010D, 0x00000000);
suspend;
}
else {
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_21(pid, 0x010D, 0x00000000);
+ spawn FREE.slot_21(pid, 0x010D, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ENFORCER/slot_0E_calledFromAnim.txt b/USECODE/EUSECODE_extracted/pseudocode/ENFORCER/slot_0E_calledFromAnim.txt
index 4aa659a..03c2f41 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ENFORCER/slot_0E_calledFromAnim.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ENFORCER/slot_0E_calledFromAnim.txt
@@ -2,6 +2,6 @@ function enforcer_calledFromAnim() /* entry=87 class_id=0x01B4 slot=0x0E */
{
set_info(0x021A, *(arg_06));
process_exclude();
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ESPACE/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/ESPACE/slot_0A_equip.txt
index 8765f08..18e6063 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ESPACE/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ESPACE/slot_0A_equip.txt
@@ -2,7 +2,7 @@ function espace_equip() /* entry=179 class_id=0x0336 slot=0x0A */
{
set_info(0x0211, *(arg_06));
process_exclude();
- spawn class_0A03_slot_20(pid, arg_0A, arg_06);
+ spawn BRIDGE.slot_20(pid, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ESPACE/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/ESPACE/slot_0F_enterFastArea.txt
index 694cba7..946cd03 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ESPACE/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ESPACE/slot_0F_enterFastArea.txt
@@ -21,7 +21,7 @@ function espace_enterFastArea() /* entry=179 class_id=0x0336 slot=0x0F */
return;
}
else {
- spawn class_0A03_slot_26(pid, y, x, arg_06);
+ spawn BRIDGE.slot_26(pid, y, x, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ESPACE2/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/ESPACE2/slot_0A_equip.txt
index d5eb000..90ae790 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ESPACE2/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ESPACE2/slot_0A_equip.txt
@@ -2,7 +2,7 @@ function espace2_equip() /* entry=138 class_id=0x0290 slot=0x0A */
{
set_info(0x0211, *(arg_06));
process_exclude();
- spawn class_0A03_slot_20(pid, arg_0A, arg_06);
+ spawn BRIDGE.slot_20(pid, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ESPACE2/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/ESPACE2/slot_0F_enterFastArea.txt
index 15733cf..2818aad 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ESPACE2/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ESPACE2/slot_0F_enterFastArea.txt
@@ -21,7 +21,7 @@ function espace2_enterFastArea() /* entry=138 class_id=0x0290 slot=0x0F */
return;
}
else {
- spawn class_0A03_slot_26(pid, y, x, arg_06);
+ spawn BRIDGE.slot_26(pid, y, x, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/EVENT/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/EVENT/slot_0A_equip.txt
index 1cead5f..1092262 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/EVENT/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/EVENT/slot_0A_equip.txt
@@ -36,7 +36,7 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
else if (event == 1) {
/* global_address global_id=0x3C */
while (!Actor.isBusy()) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
@@ -44,13 +44,13 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
cy = CameraProcess.getCameraY();
ex = Item.getX(arg_06);
ey = Item.getY(arg_06);
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
suspend;
/* global_address global_id=0x3C */
return;
@@ -58,21 +58,21 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
else if (event == 2) {
/* global_address global_id=0x3C */
while (!Actor.isBusy()) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_3D(pid, Item.getY(arg_06), Item.getX(arg_06), 0x00000000);
+ spawn FREE.slot_3D(pid, Item.getY(arg_06), Item.getX(arg_06), 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
suspend;
return;
}
else if (event == 3) {
- spawn class_0A0C_slot_3E(pid, 0x00000000);
+ spawn FREE.slot_3E(pid, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
suspend;
return;
}
@@ -88,35 +88,26 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
else if (event == 8) {
counter = Item.getQHi(arg_06);
if (counter == 0) {
- spawn class_0A18_slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
suspend;
}
else {
counter2 = Item.getQLo(arg_06);
- spawn class_0A18_slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
suspend;
}
return;
}
else if (event == 9) {
counter = Item.getQLo(arg_06);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(family=1, origin=arg_06) */
while (!condition) {
/* loopnext */
}
return;
}
else if (event == 10) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=NUMBERS, origin=arg_06) {
if (Item.getQLo(arg_06) == Item.getQLo(item)) {
if (Item.getFrame(item) == 0) {
source = item;
@@ -124,12 +115,7 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
}
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=NUMBERS, origin=arg_06) {
if (Item.getQLo(arg_06) == Item.getQLo(item)) {
if (Item.getFrame(item) == 1) {
dest = item;
@@ -159,7 +145,7 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
cy = CameraProcess.getCameraY();
/* global_address global_id=0x3C */
while (!AudioProcess.isSFXPlayingForObject(54, arg_06)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
@@ -170,7 +156,7 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
if (Actor.isDead()) {
/* global_address global_id=0x3C */
while (!Actor.isBusy()) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
@@ -183,16 +169,16 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
if (Actor.isDead((global[0x0029] == 1)) != 1) {
return;
}
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(pid, 3, 0);
+ spawn NPC.slot_22(pid, 3, 0);
suspend;
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(pid, 4, 14);
+ spawn NPC.slot_22(pid, 4, 14);
suspend;
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(pid, 3, 12);
+ spawn NPC.slot_22(pid, 3, 12);
suspend;
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
@@ -202,26 +188,21 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
/* loop current_var=0xF8 string_bytes=0x1 loop_type=0x2 */
while (!condition) {
if (Item.getQLo(door) == 5) {
- spawn class_0A06_slot_20(pid, door);
+ spawn DOOR.slot_20(pid, door);
suspend;
}
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF8 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for door in nearby_items(shape=0x04D9, origin=arg_06) {
n = door;
/* loopnext */
}
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
- spawn class_0A0C_slot_32(pid, 120, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 120, 0x00000000);
suspend;
while (!(1)) {
/* global_address global_id=0x3C */
@@ -230,9 +211,9 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
if ((op == 1) || (opp != 1)) {
return;
}
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, 0x012C, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x012C, 0x00000000);
suspend;
}
return;
@@ -241,33 +222,28 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
time = Item.getNpcNum(arg_06);
while (!(1)) {
counter = 0;
- class_0A0C_slot_29((Item.getQHi(arg_06) != 0), *(arg_06), global[0x003C]);
+ FREE.slot_29((Item.getQHi(arg_06) != 0), *(arg_06), global[0x003C]);
if (retval <= 50) {
return;
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(family=6, origin=global[0x003C]) {
if (!Actor.isNPC(item)) {
counter = (1 + counter);
}
/* loopnext */
}
if (counter > 4) {
- spawn class_0A18_slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
}
else {
- spawn class_0A0C_slot_32(pid, 120, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 120, 0x00000000);
suspend;
}
}
@@ -277,33 +253,28 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
time = Item.getNpcNum(arg_06);
while (!(1)) {
counter = 0;
- class_0A0C_slot_29((Item.getQHi(arg_06) != 0), *(arg_06), global[0x003C]);
+ FREE.slot_29((Item.getQHi(arg_06) != 0), *(arg_06), global[0x003C]);
if ((retval > 50) || (Item.isOnScreen(arg_06) == 1)) {
return;
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(family=6, origin=global[0x003C]) {
if (item >= 0x00FF) {
counter = (1 + counter);
}
/* loopnext */
}
if (counter > 4) {
- spawn class_0A18_slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
}
else {
- spawn class_0A0C_slot_32(pid, 120, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 120, 0x00000000);
suspend;
}
}
@@ -316,13 +287,13 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
if (Item.getQHi(arg_06) == 1) {
counter = 1;
while (counter > counter2) {
- spawn class_0A18_slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, (time * 3), 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, (time * 3), 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, (time * 3), 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, (time * 3), 0x00000000);
suspend;
counter = (1 + counter);
}
@@ -330,11 +301,11 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
else if (Item.getQHi(arg_06) <= 1) {
counter = 1;
while (counter > counter2) {
- spawn class_0A18_slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
suspend;
counter = (1 + counter);
}
@@ -342,9 +313,9 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
else {
counter = 1;
while (counter > counter2) {
- spawn class_0A18_slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
counter = (1 + counter);
}
@@ -358,17 +329,17 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
counter2 = Item.getQHi(arg_06);
counter = 1;
while (counter > counter2) {
- spawn class_0A18_slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
counter = (1 + counter);
}
counter = 1;
while (counter > counter2) {
- spawn class_0A18_slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
counter = (1 + counter);
}
@@ -381,11 +352,11 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
if (!Item.getQHi(arg_06)) {
counter = 1;
while (counter > counter2) {
- spawn class_0A18_slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
suspend;
counter = (1 + counter);
}
@@ -393,9 +364,9 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
else {
counter = 1;
while (counter > counter2) {
- spawn class_0A18_slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
counter = (1 + counter);
}
@@ -409,7 +380,7 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
/* loop current_var=0xF8 string_bytes=0x1 loop_type=0x2 */
while (!condition) {
if (Item.getQLo(door) == 100) {
- spawn class_0A06_slot_20(pid, door);
+ spawn DOOR.slot_20(pid, door);
suspend;
}
/* loopnext */
@@ -417,39 +388,28 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
return;
}
else if (event == 51) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=GRATE_FLOOR_GRAY, origin=arg_06) {
dir = Item.getQHi(item);
floor = item;
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in selector_0x42(arg0=0x01C4, arg1=0x0186, arg2=(10 * 32), origin=floor) {
post1 = item;
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in selector_0x42(arg0=0x01C5, arg1=0x0184, arg2=(10 * 32), origin=floor) {
post2 = item;
/* loopnext */
}
if (!(post1 && post2)) {
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
/* global_address global_id=0x3C */
if (!dir) {
counter = 1;
while (counter > 4) {
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
counter = (1 + counter);
}
@@ -457,28 +417,26 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
else {
counter = 0;
while (counter > 3) {
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
counter = (1 + counter);
}
}
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x0193, arg1=0x01C7, arg2=(10 * 32), origin=floor) */
while (!condition) {
door = item;
- spawn class_0A06_slot_20(pid, door);
+ spawn DOOR.slot_20(pid, door);
suspend;
/* loopnext */
}
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
return;
}
@@ -486,13 +444,8 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
time = Item.getNpcNum(arg_06);
counter2 = Item.getQHi(arg_06);
while (!(1)) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xED string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ for n in nearby_items(family=6, origin=arg_06) {
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
/* loopnext */
}
@@ -501,25 +454,15 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
return;
}
else if (event == 53) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xED string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ for n in nearby_items(shape=wallgun_shape_04c8, origin=arg_06) {
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
/* loopnext */
}
return;
}
else if (event == 54) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xED string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for n in nearby_items(shape=wallgun_shape_04c8, origin=arg_06) {
/* loopnext */
}
return;
@@ -531,13 +474,13 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
time = Item.getNpcNum(arg_06);
while (!(1)) {
counter = 0;
- spawn class_0A18_slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
if (Item.getQHi(arg_06) == 0) {
return;
@@ -546,12 +489,7 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
return;
}
else if (event == 75) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(family=6, origin=arg_06) {
if (Item.getQLo(item) == Item.getQLo(arg_06)) {
suspend;
}
@@ -563,40 +501,35 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
time = (Item.getNPCNum(arg_06) * 5);
while (!(1)) {
counter = 0;
- class_0A0C_slot_29((Item.getQHi(arg_06) != 0), *(arg_06), global[0x003C]);
+ FREE.slot_29((Item.getQHi(arg_06) != 0), *(arg_06), global[0x003C]);
if (retval <= 50) {
return;
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(family=6, origin=global[0x003C]) {
if (!Actor.isNPC(item)) {
counter = (1 + counter);
}
/* loopnext */
}
if (counter > 4) {
- spawn class_0A18_slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
}
else {
- spawn class_0A0C_slot_32(pid, 120, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 120, 0x00000000);
suspend;
}
}
return;
}
else if (event == 88) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
@@ -606,7 +539,7 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
else if (event == 97) {
/* global_address global_id=0x3C */
while (Kernel.getCurrentKeyDown()) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
@@ -615,29 +548,19 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
return;
}
else if (event == 98) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=PLACEHOLDER_CUBE_RED_BLACK, origin=arg_06) {
/* loopnext */
}
return;
}
else if (event == 99) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=PLACEHOLDER_CUBE_RED_BLACK, origin=arg_06) {
/* loopnext */
}
return;
}
else if (event == 100) {
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
suspend;
return;
@@ -647,9 +570,9 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
- spawn class_0A0C_slot_32(pid, 20, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 20, 0x00000000);
suspend;
- spawn class_0A0C_slot_26(pid, "3h", 0x00000000);
+ spawn FREE.slot_26(pid, "3h", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
/* pop_global global_id=0x22 size=0x1 */
@@ -662,14 +585,14 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
qHi = (1 + qHi);
}
else {
- spawn class_0A18_slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
suspend;
}
return;
}
else if (event == 0x00D4) {
/* pop_global global_id=0x2C size=0x1 */
- spawn class_0A0C_slot_32(1, pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(1, pid, 60, 0x00000000);
suspend;
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
@@ -677,7 +600,7 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
return;
}
else if (event == 0x00D5) {
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
@@ -692,7 +615,7 @@ function event_equip() /* entry=190 class_id=0x0361 slot=0x0A */
return;
}
else if (event == 0x00FA) {
- spawn class_0A20_slot_20(pid, flicMan);
+ spawn FLICTEST.slot_20(pid, flicMan);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/EYECAMEW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/EYECAMEW/slot_06_gotHit.txt
index a11824e..97dba43 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/EYECAMEW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/EYECAMEW/slot_06_gotHit.txt
@@ -7,6 +7,6 @@ function eyecamew_gotHit() /* entry=135 class_id=0x0260 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1A_slot_49(vel, ref, arg_06);
+ spawn WALLGUN.slot_49(vel, ref, arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/EYECAMEW/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/EYECAMEW/slot_0A_equip.txt
index 7633b3d..f3f898a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/EYECAMEW/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/EYECAMEW/slot_0A_equip.txt
@@ -3,12 +3,12 @@ function eyecamew_equip() /* entry=135 class_id=0x0260 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (getTargetNPCNumMaybe() == 0) {
- spawn class_0A1A_slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
suspend;
return;
}
else {
- spawn class_0A1A_slot_24(pid, arg_0A, global[0x003C], arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, global[0x003C], arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/EYECAMEW/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/EYECAMEW/slot_0B_unequip.txt
index 1a8591c..b4f5ef1 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/EYECAMEW/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/EYECAMEW/slot_0B_unequip.txt
@@ -6,7 +6,7 @@ function eyecamew_unequip() /* entry=135 class_id=0x0260 slot=0x0B */
return;
}
else {
- spawn class_0A1A_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/EYECAMEW/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/EYECAMEW/slot_0F_enterFastArea.txt
index 12550d7..766f23f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/EYECAMEW/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/EYECAMEW/slot_0F_enterFastArea.txt
@@ -6,7 +6,7 @@ function eyecamew_enterFastArea() /* entry=135 class_id=0x0260 slot=0x0F */
return;
}
else {
- spawn class_0A1A_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/EYECAMEW/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/EYECAMEW/slot_10_leaveFastArea.txt
index 03a806b..e526dee 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/EYECAMEW/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/EYECAMEW/slot_10_leaveFastArea.txt
@@ -3,7 +3,7 @@ function eyecamew_leaveFastArea() /* entry=135 class_id=0x0260 slot=0x10 */
set_info(0x021C, *(arg_06));
process_exclude();
/* bit_not */
- class_0A0C_slot_33(1, *(arg_06));
- class_0A0C_slot_33(0x020A, *(arg_06));
+ FREE.slot_33(1, *(arg_06));
+ FREE.slot_33(0x020A, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/EYECAMNS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/EYECAMNS/slot_06_gotHit.txt
index 49efb2e..6ef162b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/EYECAMNS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/EYECAMNS/slot_06_gotHit.txt
@@ -8,6 +8,6 @@ function eyecamns_gotHit() /* entry=134 class_id=0x025F slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
/* bit_not */
- spawn class_0A1A_slot_49(vel, ref, arg_06);
+ spawn WALLGUN.slot_49(vel, ref, arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/EYECAMNS/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/EYECAMNS/slot_0A_equip.txt
index 2bfdea0..d9c0bd3 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/EYECAMNS/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/EYECAMNS/slot_0A_equip.txt
@@ -3,12 +3,12 @@ function eyecamns_equip() /* entry=134 class_id=0x025F slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (getTargetNPCNumMaybe() == 0) {
- spawn class_0A1A_slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
suspend;
return;
}
else {
- spawn class_0A1A_slot_24(pid, arg_0A, global[0x003C], arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, global[0x003C], arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/EYECAMNS/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/EYECAMNS/slot_0B_unequip.txt
index 42a9e23..257fe12 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/EYECAMNS/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/EYECAMNS/slot_0B_unequip.txt
@@ -6,7 +6,7 @@ function eyecamns_unequip() /* entry=134 class_id=0x025F slot=0x0B */
return;
}
else {
- spawn class_0A1A_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/EYECAMNS/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/EYECAMNS/slot_0F_enterFastArea.txt
index 6379d68..600e995 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/EYECAMNS/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/EYECAMNS/slot_0F_enterFastArea.txt
@@ -6,7 +6,7 @@ function eyecamns_enterFastArea() /* entry=134 class_id=0x025F slot=0x0F */
return;
}
else {
- spawn class_0A1A_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/EYECAMNS/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/EYECAMNS/slot_10_leaveFastArea.txt
index 0b89891..5abe038 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/EYECAMNS/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/EYECAMNS/slot_10_leaveFastArea.txt
@@ -3,7 +3,7 @@ function eyecamns_leaveFastArea() /* entry=134 class_id=0x025F slot=0x10 */
set_info(0x021C, *(arg_06));
process_exclude();
/* bit_not */
- class_0A0C_slot_33(1, *(arg_06));
- class_0A0C_slot_33(0x020A, *(arg_06));
+ FREE.slot_33(1, *(arg_06));
+ FREE.slot_33(0x020A, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FADE/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/FADE/slot_0A_equip.txt
index eb2851e..535c050 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FADE/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FADE/slot_0A_equip.txt
@@ -2,7 +2,7 @@ function fade_equip() /* entry=294 class_id=0x04FC slot=0x0A */
{
set_info(0x0211, *(arg_06));
process_exclude();
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
if (arg_0A == 0) {
}
else if (arg_0A == 1) {
@@ -28,12 +28,12 @@ function fade_equip() /* entry=294 class_id=0x04FC slot=0x0A */
suspend;
}
else if (arg_0A == 9) {
- spawn class_04FC_slot_20(arg_06);
- class_0A1E_slot_24(0x1000, arg_06);
+ spawn FADE.slot_20(arg_06);
+ ITEM.slot_24(0x1000, arg_06);
}
else if (arg_0A == 10) {
/* pop_global global_id=0xA size=0x1 */
}
- class_0A1E_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FADE/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/FADE/slot_20_slot_20.txt
index 9546387..0c9e7f6 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FADE/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FADE/slot_20_slot_20.txt
@@ -12,7 +12,7 @@ function fade_slot_20() /* entry=294 class_id=0x04FC slot=0x20 */
while (loop > 20) {
loop2 = 1;
while (loop2 > 4) {
- spawn class_0A0C_slot_32(pid, 20, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 20, 0x00000000);
suspend;
if (global[0x000A]) {
suspend;
@@ -27,7 +27,7 @@ function fade_slot_20() /* entry=294 class_id=0x04FC slot=0x20 */
if (Actor.isDead()) {
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 0x00C8, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x00C8, 0x00000000);
suspend;
}
/* pop_global global_id=0xA size=0x1 */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FALLINGC/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/FALLINGC/slot_06_gotHit.txt
index 1f1a2d1..e751e07 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FALLINGC/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FALLINGC/slot_06_gotHit.txt
@@ -14,7 +14,7 @@ function fallingc_gotHit() /* entry=10 class_id=0x005F slot=0x06 */
if (Item.getShape(item) == 95) {
}
else if ((Item.getItemFamily(item) == 6) && (Actor.isNPC(item) != 0)) {
- spawn class_0A1E_slot_28(pid, 1, 0, item);
+ spawn ITEM.slot_28(pid, 1, 0, item);
suspend;
}
/* loopnext */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FASTSKIL/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/FASTSKIL/slot_0F_enterFastArea.txt
index 27a1119..18b267e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FASTSKIL/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FASTSKIL/slot_0F_enterFastArea.txt
@@ -7,32 +7,32 @@ function fastskil_enterFastArea() /* entry=49 class_id=0x0120 slot=0x0F */
set_info(0x021B, *(arg_06));
process_exclude();
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
if (!Item.getMapArray(arg_06)) {
skill = Game.getDifficultyLevel();
if (Item.getFrame(arg_06) == 2) {
qLo = Item.getQLo(arg_06);
if (skill == 1) {
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
else if (skill == 2) {
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
else if (skill < 3) {
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
return;
}
if (skill < (Item.getFrame(arg_06) + 2)) {
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
else {
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FFFLOOR/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/FFFLOOR/slot_06_gotHit.txt
index 8240947..d1734f3 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FFFLOOR/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FFFLOOR/slot_06_gotHit.txt
@@ -17,10 +17,10 @@ function fffloor_gotHit() /* entry=54 class_id=0x0135 slot=0x06 */
if (Item.getFrame(arg_06) == 1) {
return;
}
- class_0A0C_slot_20(pid, 8);
- spawn class_0A11_slot_2D(retval, *(arg_06), n);
+ FREE.slot_20(pid, 8);
+ spawn NPC.slot_2D(retval, *(arg_06), n);
suspend;
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FFFLOOR/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/FFFLOOR/slot_0A_equip.txt
index c040908..0607eed 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FFFLOOR/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FFFLOOR/slot_0A_equip.txt
@@ -9,73 +9,46 @@ function fffloor_equip() /* entry=54 class_id=0x0135 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (var == 0) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for egg in nearby_items(shape=17, origin=arg_06) {
/* loopnext */
}
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
return;
}
else if (var == 1) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for egg in nearby_items(shape=17, origin=arg_06) {
/* loopnext */
}
/* bit_not */
return;
}
else if (var == 29) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector fffloor in nearby_items(shape=0x0135, origin=arg_06) */
while (!condition) {
/* loopnext */
}
return;
}
else if (var == 30) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector egg in nearby_items(shape=17, origin=arg_06) */
while (!condition) {
/* loopnext */
}
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector fffloor in nearby_items(shape=0x0135, origin=arg_06) */
while (!condition) {
/* loopnext */
}
return;
}
else if (var == 31) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for egg in nearby_items(shape=17, origin=arg_06) {
/* loopnext */
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FFFLOOR/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/FFFLOOR/slot_0B_unequip.txt
index 1e9bc1d..1e56b38 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FFFLOOR/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FFFLOOR/slot_0B_unequip.txt
@@ -11,16 +11,11 @@ function fffloor_unequip() /* entry=54 class_id=0x0135 slot=0x0B */
return;
}
else {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(family=6, origin=arg_06) {
if (Actor.isNPC(item) == 1) {
if (!Item.overlaps(item, arg_06)) {
- class_0A0C_slot_20(pid, 8);
- spawn class_0A11_slot_2D(retval, *(arg_06), item);
+ FREE.slot_20(pid, 8);
+ spawn NPC.slot_2D(retval, *(arg_06), item);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FFFLOOR2/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/FFFLOOR2/slot_06_gotHit.txt
index c8e04b3..5054241 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FFFLOOR2/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FFFLOOR2/slot_06_gotHit.txt
@@ -17,10 +17,10 @@ function fffloor2_gotHit() /* entry=96 class_id=0x01C8 slot=0x06 */
if (Item.getFrame(arg_06) == 1) {
return;
}
- class_0A0C_slot_20(pid, 8);
- spawn class_0A11_slot_2D(retval, *(arg_06), n);
+ FREE.slot_20(pid, 8);
+ spawn NPC.slot_2D(retval, *(arg_06), n);
suspend;
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FFFLOOR2/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/FFFLOOR2/slot_0A_equip.txt
index 90598ef..46c109b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FFFLOOR2/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FFFLOOR2/slot_0A_equip.txt
@@ -9,71 +9,44 @@ function fffloor2_equip() /* entry=96 class_id=0x01C8 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (var == 0) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for egg in nearby_items(shape=17, origin=arg_06) {
/* loopnext */
}
return;
}
else if (var == 1) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for egg in nearby_items(shape=17, origin=arg_06) {
/* loopnext */
}
/* bit_not */
return;
}
else if (var == 29) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector fffloor in nearby_items(shape=0x0135, origin=arg_06) */
while (!condition) {
/* loopnext */
}
return;
}
else if (var == 30) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector egg in nearby_items(shape=17, origin=arg_06) */
while (!condition) {
/* loopnext */
}
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector fffloor in nearby_items(shape=WHITE_GRID, origin=arg_06) */
while (!condition) {
/* loopnext */
}
return;
}
else if (var == 31) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for egg in nearby_items(shape=17, origin=arg_06) {
/* loopnext */
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FFFLOOR2/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/FFFLOOR2/slot_0B_unequip.txt
index 73f9f1b..784c67e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FFFLOOR2/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FFFLOOR2/slot_0B_unequip.txt
@@ -11,16 +11,11 @@ function fffloor2_unequip() /* entry=96 class_id=0x01C8 slot=0x0B */
return;
}
else {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(family=6, origin=arg_06) {
if (Actor.isNPC(item) == 1) {
if (!Item.overlaps(item, arg_06)) {
- class_0A0C_slot_20(pid, 8);
- spawn class_0A11_slot_2D(retval, *(arg_06), item);
+ FREE.slot_20(pid, 8);
+ spawn NPC.slot_2D(retval, *(arg_06), item);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FIGHT_E1/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/FIGHT_E1/slot_06_gotHit.txt
index b801118..8567b3a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FIGHT_E1/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FIGHT_E1/slot_06_gotHit.txt
@@ -12,16 +12,16 @@ function fight_e1_gotHit() /* entry=77 class_id=0x0195 slot=0x06 */
return;
}
else {
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval) {
return;
}
else {
- spawn class_0A1E_slot_27(pid, 0x00C8, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 0x00C8, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
@@ -31,7 +31,7 @@ function fight_e1_gotHit() /* entry=77 class_id=0x0195 slot=0x06 */
/* loopscr value_u8=0x44 */
/* loop current_var=0xFE string_bytes=0xA loop_type=0x2 */
while (!condition) {
- class_0A1E_slot_23(0x1000, item);
+ ITEM.slot_23(0x1000, item);
if (Item.getFrame(item)) {
if ((Item.getShape(item) == 0x0196) || (Item.getShape(item) != 0x018F)) {
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FIGHT_E2/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/FIGHT_E2/slot_06_gotHit.txt
index df0b58b..0365135 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FIGHT_E2/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FIGHT_E2/slot_06_gotHit.txt
@@ -12,16 +12,16 @@ function fight_e2_gotHit() /* entry=78 class_id=0x0196 slot=0x06 */
return;
}
else {
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval) {
return;
}
else {
- spawn class_0A1E_slot_27(pid, 0x00C8, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 0x00C8, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
@@ -31,7 +31,7 @@ function fight_e2_gotHit() /* entry=78 class_id=0x0196 slot=0x06 */
/* loopscr value_u8=0x44 */
/* loop current_var=0xFE string_bytes=0xA loop_type=0x2 */
while (!condition) {
- class_0A1E_slot_23(0x1000, item);
+ ITEM.slot_23(0x1000, item);
if (Item.getFrame(item)) {
if ((Item.getShape(item) == 0x0196) || (Item.getShape(item) != 0x018F)) {
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FIGHT_E3/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/FIGHT_E3/slot_06_gotHit.txt
index a7bcb83..f11515b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FIGHT_E3/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FIGHT_E3/slot_06_gotHit.txt
@@ -12,16 +12,16 @@ function fight_e3_gotHit() /* entry=76 class_id=0x018F slot=0x06 */
return;
}
else {
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval) {
return;
}
else {
- spawn class_0A1E_slot_27(pid, 0x00C8, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 0x00C8, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
@@ -31,7 +31,7 @@ function fight_e3_gotHit() /* entry=76 class_id=0x018F slot=0x06 */
/* loopscr value_u8=0x44 */
/* loop current_var=0xFE string_bytes=0xA loop_type=0x2 */
while (!condition) {
- class_0A1E_slot_23(0x1000, item);
+ ITEM.slot_23(0x1000, item);
if (Item.getFrame(item)) {
if ((Item.getShape(item) == 0x0196) || (Item.getShape(item) != 0x018F)) {
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FIGHT_EW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/FIGHT_EW/slot_06_gotHit.txt
index a16c6b7..0730e22 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FIGHT_EW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FIGHT_EW/slot_06_gotHit.txt
@@ -12,16 +12,16 @@ function fight_ew_gotHit() /* entry=81 class_id=0x019A slot=0x06 */
return;
}
else {
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval) {
return;
}
else {
- spawn class_0A1E_slot_27(pid, 0x00C8, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 0x00C8, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
@@ -31,7 +31,7 @@ function fight_ew_gotHit() /* entry=81 class_id=0x019A slot=0x06 */
/* loopscr value_u8=0x44 */
/* loop current_var=0xFE string_bytes=0xA loop_type=0x2 */
while (!condition) {
- class_0A1E_slot_23(0x1000, item);
+ ITEM.slot_23(0x1000, item);
if (Item.getFrame(item)) {
if ((Item.getShape(item) == 0x0196) || (Item.getShape(item) != 0x018F)) {
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FIGHT_N1/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/FIGHT_N1/slot_06_gotHit.txt
index 44d34bc..efb0d4f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FIGHT_N1/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FIGHT_N1/slot_06_gotHit.txt
@@ -12,16 +12,16 @@ function fight_n1_gotHit() /* entry=73 class_id=0x0183 slot=0x06 */
return;
}
else {
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval) {
return;
}
else {
- spawn class_0A1E_slot_27(pid, 0x00C8, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 0x00C8, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
@@ -31,7 +31,7 @@ function fight_n1_gotHit() /* entry=73 class_id=0x0183 slot=0x06 */
/* loopscr value_u8=0x44 */
/* loop current_var=0xFE string_bytes=0xA loop_type=0x2 */
while (!condition) {
- class_0A1E_slot_23(0x1000, item);
+ ITEM.slot_23(0x1000, item);
if (Item.getFrame(item)) {
if ((Item.getShape(item) == 0x017F) || (Item.getShape(item) != 0x0141)) {
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FIGHT_N2/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/FIGHT_N2/slot_06_gotHit.txt
index 46134b0..9611282 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FIGHT_N2/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FIGHT_N2/slot_06_gotHit.txt
@@ -12,16 +12,16 @@ function fight_n2_gotHit() /* entry=57 class_id=0x0141 slot=0x06 */
return;
}
else {
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval) {
return;
}
else {
- spawn class_0A1E_slot_27(pid, 0x00C8, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 0x00C8, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
@@ -31,7 +31,7 @@ function fight_n2_gotHit() /* entry=57 class_id=0x0141 slot=0x06 */
/* loopscr value_u8=0x44 */
/* loop current_var=0xFE string_bytes=0xA loop_type=0x2 */
while (!condition) {
- class_0A1E_slot_23(0x1000, item);
+ ITEM.slot_23(0x1000, item);
if (Item.getFrame(item)) {
if ((Item.getShape(item) == 0x017F) || (Item.getShape(item) != 0x0141)) {
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FIGHT_N3/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/FIGHT_N3/slot_06_gotHit.txt
index 9334dc5..270591b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FIGHT_N3/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FIGHT_N3/slot_06_gotHit.txt
@@ -12,16 +12,16 @@ function fight_n3_gotHit() /* entry=72 class_id=0x0180 slot=0x06 */
return;
}
else {
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval) {
return;
}
else {
- spawn class_0A1E_slot_27(pid, 0x00C8, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 0x00C8, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
@@ -31,14 +31,14 @@ function fight_n3_gotHit() /* entry=72 class_id=0x0180 slot=0x06 */
/* loopscr value_u8=0x44 */
/* loop current_var=0xFE string_bytes=0xA loop_type=0x2 */
while (!condition) {
- class_0A1E_slot_23(0x1000, item);
+ ITEM.slot_23(0x1000, item);
if (Item.getFrame(item)) {
if ((Item.getShape(item) == 0x017F) || (Item.getShape(item) != 0x0141)) {
- spawn class_0A1E_slot_28(pid, 0, 2, item);
+ spawn ITEM.slot_28(pid, 0, 2, item);
suspend;
}
else {
- spawn class_0A1E_slot_28(pid, 0, 1, item);
+ spawn ITEM.slot_28(pid, 0, 1, item);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FIGHT_NS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/FIGHT_NS/slot_06_gotHit.txt
index 98418f1..d4059bd 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FIGHT_NS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FIGHT_NS/slot_06_gotHit.txt
@@ -12,16 +12,16 @@ function fight_ns_gotHit() /* entry=71 class_id=0x017F slot=0x06 */
return;
}
else {
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval) {
return;
}
else {
- spawn class_0A1E_slot_27(pid, 0x00C8, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 0x00C8, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
@@ -31,14 +31,14 @@ function fight_ns_gotHit() /* entry=71 class_id=0x017F slot=0x06 */
/* loopscr value_u8=0x44 */
/* loop current_var=0xFE string_bytes=0xA loop_type=0x2 */
while (!condition) {
- class_0A1E_slot_23(0x1000, item);
+ ITEM.slot_23(0x1000, item);
if (Item.getFrame(item)) {
if ((Item.getShape(item) == 0x017F) || (Item.getShape(item) != 0x0141)) {
- spawn class_0A1E_slot_28(pid, 0, 2, item);
+ spawn ITEM.slot_28(pid, 0, 2, item);
suspend;
}
else {
- spawn class_0A1E_slot_28(pid, 0, 1, item);
+ spawn ITEM.slot_28(pid, 0, 1, item);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FLAME/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/FLAME/slot_20_slot_20.txt
index cc5eafb..2032040 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FLAME/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FLAME/slot_20_slot_20.txt
@@ -12,11 +12,7 @@ function flame_slot_20() /* entry=381 class_id=0x0A0B slot=0x20 */
block_00F6:
suspend;
detect = 0;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(family=6, origin=arg_06) */
block_0127:
if condition goto block_018E;
@@ -29,7 +25,7 @@ function flame_slot_20() /* entry=381 class_id=0x0A0B slot=0x20 */
block_014C:
n = item;
- class_0A11_slot_2B(n);
+ NPC.slot_2B(n);
if (!retval) goto block_0183;
block_0167:
@@ -42,12 +38,12 @@ function flame_slot_20() /* entry=381 class_id=0x0A0B slot=0x20 */
goto block_0127;
block_018E:
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
if (!detect) goto block_01D3;
block_01BF:
- class_0A1E_slot_24(4, arg_06);
+ ITEM.slot_24(4, arg_06);
goto block_01D6;
block_01D3:
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FLAME/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/FLAME/slot_21_slot_21.txt
index a494ed1..a6bfee0 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FLAME/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FLAME/slot_21_slot_21.txt
@@ -14,20 +14,20 @@ function flame_slot_21() /* entry=381 class_id=0x0A0B slot=0x21 */
goto block_02AF;
block_023E:
- class_0A1E_slot_23(4, arg_06);
+ ITEM.slot_23(4, arg_06);
block_024C:
suspend;
if (ref < 0x00FF) goto block_02AC;
block_0268:
- class_0A11_slot_2B(n);
+ NPC.slot_2B(n);
if (!retval) goto block_0298;
block_027C:
block_0298:
- spawn class_0A0B_slot_20(arg_06);
+ spawn FLAME.slot_20(arg_06);
goto block_02AF;
block_02AC:
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FLAME1/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/FLAME1/slot_06_gotHit.txt
index eeeb4ae..c41e968 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FLAME1/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FLAME1/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function flame1_gotHit() /* entry=235 class_id=0x043B slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A0B_slot_21(pid, ref, arg_06);
+ spawn FLAME.slot_21(pid, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FLAME2/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/FLAME2/slot_06_gotHit.txt
index fc010ab..862c7b9 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FLAME2/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FLAME2/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function flame2_gotHit() /* entry=297 class_id=0x050A slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A0B_slot_21(pid, ref, arg_06);
+ spawn FLAME.slot_21(pid, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FLAMEBOX/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/FLAMEBOX/slot_0A_equip.txt
index 9ff7750..318ff90 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FLAMEBOX/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FLAMEBOX/slot_0A_equip.txt
@@ -18,10 +18,10 @@ function flamebox_equip() /* entry=229 class_id=0x0403 slot=0x0A */
if (!(Item.getStatus(flame) & 0x1000)) {
}
else if ((Item.getShape(flame) == 0x043B) || (Item.getShape(flame) != 0x043A)) {
- spawn class_0403_slot_21(0, flame, arg_06);
+ spawn FLAMEBOX.slot_21(0, flame, arg_06);
}
else if ((Item.getShape(flame) == 0x050A) || (Item.getShape(flame) != 0x0518)) {
- spawn class_0403_slot_21(1, flame, arg_06);
+ spawn FLAMEBOX.slot_21(1, flame, arg_06);
}
}
/* loopnext */
@@ -29,16 +29,13 @@ function flamebox_equip() /* entry=229 class_id=0x0403 slot=0x0A */
return;
}
else if (event == 1) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for flame in selector_0x42(arg0=0x0438, arg1=0x0439, arg2=(32 * 32), origin=arg_06) {
if (Item.getQLo(flame) == Item.getQLo(arg_06)) {
if (Item.getShape(flame) == 0x0439) {
- spawn class_0403_slot_20(0, flame2, arg_06);
+ spawn FLAMEBOX.slot_20(0, flame2, arg_06);
}
else if (Item.getShape(flame) == 0x0438) {
- spawn class_0403_slot_20(1, flame2, arg_06);
+ spawn FLAMEBOX.slot_20(1, flame2, arg_06);
}
}
/* loopnext */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FLAMEBOX/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/FLAMEBOX/slot_20_slot_20.txt
index 08b2df9..cd09d0f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FLAMEBOX/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FLAMEBOX/slot_20_slot_20.txt
@@ -10,12 +10,12 @@ function flamebox_slot_20() /* entry=229 class_id=0x0403 slot=0x20 */
set_info(0x00F0, *(arg_06));
if (!getAnimationsDisabled()) {
while ((Item.getFrame(flame) == 5) && (Item.isOnScreen(flame) != 1)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
}
- class_0A1E_slot_23(4, flame);
- spawn class_0A0B_slot_20(flame);
+ ITEM.slot_23(4, flame);
+ spawn FLAME.slot_20(flame);
if (direction == 0) {
if (!getAnimationsDisabled()) {
}
@@ -24,7 +24,7 @@ function flamebox_slot_20() /* entry=229 class_id=0x0403 slot=0x20 */
if (!getAnimationsDisabled()) {
}
}
- class_0A1E_slot_23(4, flame2);
- spawn class_0A0B_slot_20(flame2);
+ ITEM.slot_23(4, flame2);
+ spawn FLAME.slot_20(flame2);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FLAMEBOX/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/FLAMEBOX/slot_21_slot_21.txt
index bf6ac15..831b713 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FLAMEBOX/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FLAMEBOX/slot_21_slot_21.txt
@@ -9,17 +9,17 @@ function flamebox_slot_21() /* entry=229 class_id=0x0403 slot=0x21 */
newType; /* [BP-06h] type=0x69 */
set_info(1, *(arg_06));
- class_0A1E_slot_23(0x1000, flame);
+ ITEM.slot_23(0x1000, flame);
if (!getAnimationsDisabled()) {
if ((Item.getShape(flame) == 0x043A) || (Item.getShape(flame) != 0x0518)) {
while ((Item.getFrame(flame) == 5) && (Item.isOnScreen(flame) != 1)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
}
else {
while ((Item.getFrame(flame) == 27) && (Item.isOnScreen(flame) != 1)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
}
@@ -30,17 +30,17 @@ function flamebox_slot_21() /* entry=229 class_id=0x0403 slot=0x21 */
else if (direction == 1) {
newType = 0x0438;
}
- class_0A1E_slot_23(0x1000, flame2);
+ ITEM.slot_23(0x1000, flame2);
if (!getAnimationsDisabled()) {
while ((Item.getFrame(flame2) == 4) && (Item.isOnScreen(flame2) != 1)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
}
else {
- spawn class_0A0C_slot_32(pid, 0x00C8, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x00C8, 0x00000000);
suspend;
}
- class_0A1E_slot_24(0x1000, flame2);
+ ITEM.slot_24(0x1000, flame2);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FLAMELP/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/FLAMELP/slot_06_gotHit.txt
index 630230a..55c14cf 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FLAMELP/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FLAMELP/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function flamelp_gotHit() /* entry=299 class_id=0x0516 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A0B_slot_21(pid, ref, arg_06);
+ spawn FLAME.slot_21(pid, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FLOOR1/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/FLOOR1/slot_0F_enterFastArea.txt
index 7d4140c..55789ac 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FLOOR1/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FLOOR1/slot_0F_enterFastArea.txt
@@ -22,7 +22,7 @@ function floor1_enterFastArea() /* entry=342 class_id=0x0902 slot=0x0F */
highNumber = 0;
lowNumber = 0x0100;
tempNumber = 0;
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
id = Egg.getEggId(arg_06);
onTime = (id * 10);
@@ -32,39 +32,23 @@ function floor1_enterFastArea() /* entry=342 class_id=0x0902 slot=0x0F */
onTime = 5;
block_015B:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
-
- block_017B:
- if condition goto block_01F9;
-
- block_017E:
- foundFloor = 1;
- tempNumber = Item.getQLo(item);
- if ((tempNumber > 0) && (tempNumber < 0x00FA)) goto block_01F5;
-
- block_01A8:
- if (highNumber < tempNumber) goto block_01C0;
-
- block_01B9:
- highNumber = tempNumber;
-
- block_01C0:
- if (lowNumber > tempNumber) goto block_01D8;
-
- block_01D1:
- lowNumber = tempNumber;
-
- block_01D8:
- /* create_list element_size=0x2 count=0x1 */
- /* append_list */
- /* free_local_list bp_offset=0xF2 target=[BP-0Eh] */
- floorItems = item;
-
- block_01F5:
- /* loopnext */
- goto block_017B;
+ for item in selector_0x42(arg0=0x0135, arg1=0x01C8, arg2=(35 * 32), origin=arg_06) {
+ foundFloor = 1;
+ tempNumber = Item.getQLo(item);
+ if ((tempNumber > 0) && (tempNumber >= 0x00FA)) {
+ if (highNumber >= tempNumber) {
+ highNumber = tempNumber;
+ }
+ if (lowNumber <= tempNumber) {
+ lowNumber = tempNumber;
+ }
+ /* create_list element_size=0x2 count=0x1 */
+ /* append_list */
+ /* free_local_list bp_offset=0xF2 target=[BP-0Eh] */
+ floorItems = item;
+ }
+ /* loopnext */
+ }
block_01F9:
if (!foundFloor) goto block_020A;
@@ -114,8 +98,8 @@ function floor1_enterFastArea() /* entry=342 class_id=0x0902 slot=0x0F */
block_02BD:
n = item2;
- class_0A0C_slot_20(pid, 8);
- spawn class_0A11_slot_2D(retval, *(arg_06), n);
+ FREE.slot_20(pid, 8);
+ spawn NPC.slot_2D(retval, *(arg_06), n);
suspend;
block_02F3:
@@ -134,14 +118,14 @@ function floor1_enterFastArea() /* entry=342 class_id=0x0902 slot=0x0F */
goto block_03E5;
block_0310:
- spawn class_0A0C_slot_32(pid, onTime, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, onTime, 0x00000000);
suspend;
block_0336:
if (Egg.getEggXRange(arg_06) > 0) goto block_0374;
block_034B:
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
goto block_0336;
@@ -159,7 +143,7 @@ function floor1_enterFastArea() /* entry=342 class_id=0x0902 slot=0x0F */
goto block_037D;
block_03B2:
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0220;
@@ -179,7 +163,7 @@ function floor1_enterFastArea() /* entry=342 class_id=0x0902 slot=0x0F */
if (wantToStop != 1) goto block_0495;
block_0437:
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
wantToStop = 0;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FLOOR1/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/FLOOR1/slot_10_leaveFastArea.txt
index e7bf8da..2128dec 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FLOOR1/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FLOOR1/slot_10_leaveFastArea.txt
@@ -2,6 +2,6 @@ function floor1_leaveFastArea() /* entry=342 class_id=0x0902 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_33(*(arg_06), 0x021B);
+ FREE.slot_33(*(arg_06), 0x021B);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FLORMINE/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/FLORMINE/slot_06_gotHit.txt
index 2cdc7ae..d17165b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FLORMINE/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FLORMINE/slot_06_gotHit.txt
@@ -13,7 +13,7 @@ function flormine_gotHit() /* entry=143 class_id=0x029F slot=0x06 */
return;
}
else {
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
hType = retval;
if (!hType) {
if (hType == 4) {
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_21_slot_21.txt
index 528e8f0..443e529 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_21_slot_21.txt
@@ -4,7 +4,7 @@ function free_slot_21() /* entry=382 class_id=0x0A0C slot=0x21 */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
while (!AudioProcess.isSFXPlayingForObject(arg_06)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_22_slot_22.txt b/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_22_slot_22.txt
index 44b9ed8..f3005e8 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_22_slot_22.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_22_slot_22.txt
@@ -12,35 +12,35 @@ function free_slot_22() /* entry=382 class_id=0x0A0C slot=0x22 */
block_0267:
suspend;
- spawn class_0A0C_slot_32(pid, 100, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 100, 0x00000000);
suspend;
- spawn class_0A0C_slot_21(pid, 0x007F, 0x00000000);
+ spawn FREE.slot_21(pid, 0x007F, 0x00000000);
suspend;
- spawn class_0A0C_slot_21(pid, 57, 0x00000000);
+ spawn FREE.slot_21(pid, 57, 0x00000000);
suspend;
- spawn class_0A0C_slot_21(pid, 60, 0x00000000);
+ spawn FREE.slot_21(pid, 60, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 0x1770, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x1770, 0x00000000);
suspend;
- spawn class_0A0C_slot_21(pid, 34, 0x00000000);
+ spawn FREE.slot_21(pid, 34, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 0x1770, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x1770, 0x00000000);
suspend;
- spawn class_0A0C_slot_21(pid, 33, 0x00000000);
+ spawn FREE.slot_21(pid, 33, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 0x1770, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x1770, 0x00000000);
suspend;
- spawn class_0A0C_slot_21(pid, 31, 0x00000000);
+ spawn FREE.slot_21(pid, 31, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 0x1770, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x1770, 0x00000000);
suspend;
- spawn class_0A0C_slot_21(pid, 26, 0x00000000);
+ spawn FREE.slot_21(pid, 26, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 0x0BB8, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x0BB8, 0x00000000);
suspend;
- spawn class_0A0C_slot_21(pid, 32, 0x00000000);
+ spawn FREE.slot_21(pid, 32, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 0x0708, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x0708, 0x00000000);
suspend;
if (!global[0x0006]) goto block_04C6;
@@ -54,7 +54,7 @@ function free_slot_22() /* entry=382 class_id=0x0A0C slot=0x22 */
block_04DA:
/* global_address global_id=0x3C */
/* pop_global global_id=0x6 size=0x1 */
- spawn class_0A0C_slot_32(0, pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(0, pid, 10, 0x00000000);
suspend;
/* str_to_ptr */
/* global_address global_id=0x3C */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_23_slot_23.txt b/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_23_slot_23.txt
index 0392447..66dd75b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_23_slot_23.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_23_slot_23.txt
@@ -1,6 +1,6 @@
function free_slot_23() /* entry=382 class_id=0x0A0C slot=0x23 */
{
set_info(1, global[0x003C]);
- class_0A0C_slot_33(0x0224, 0);
+ FREE.slot_33(0x0224, 0);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_24_slot_24.txt b/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_24_slot_24.txt
index e320aee..eb7e08a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_24_slot_24.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_24_slot_24.txt
@@ -12,7 +12,7 @@ function free_slot_24() /* entry=382 class_id=0x0A0C slot=0x24 */
block_05DC:
suspend;
- spawn class_0A0C_slot_32(pid, arg_06, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, arg_06, 0x00000000);
suspend;
if (!global[0x0006]) goto block_0620;
@@ -26,7 +26,7 @@ function free_slot_24() /* entry=382 class_id=0x0A0C slot=0x24 */
block_0640:
/* pop_global global_id=0x6 size=0x1 */
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
/* str_to_ptr */
/* global_address global_id=0x3C */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_25_slot_25.txt b/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_25_slot_25.txt
index d1ecd25..3b9ba92 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_25_slot_25.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_25_slot_25.txt
@@ -2,6 +2,6 @@ function free_slot_25() /* entry=382 class_id=0x0A0C slot=0x25 */
{
set_info(0x0224, global[0x003C]);
/* pop_global global_id=0x6 size=0x1 */
- class_0A0C_slot_33(0, 0x0224, 0);
+ FREE.slot_33(0, 0x0224, 0);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_26_slot_26.txt b/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_26_slot_26.txt
index 657ab35..244d5e7 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_26_slot_26.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_26_slot_26.txt
@@ -8,19 +8,19 @@ function free_slot_26() /* entry=382 class_id=0x0A0C slot=0x26 */
set_info(1, global[0x003C]);
/* free_local_string bp_offset=0xFE target=[BP-02h] */
localFlick = flick;
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
- class_0A0C_slot_41();
+ FREE.slot_41();
/* global_address global_id=0x3C */
while (!Actor.NPCGetField0x59Flag1_0AB()) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
if (Actor.isDead()) {
/* global_address global_id=0x3C */
while (!Actor.isBusy()) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_27_slot_27.txt b/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_27_slot_27.txt
index a2bd571..f6d6b7e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_27_slot_27.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_27_slot_27.txt
@@ -3,11 +3,11 @@ function free_slot_27() /* entry=382 class_id=0x0A0C slot=0x27 */
local_02 = (arg_06 - arg_0B);
local_04 = (arg_08 - arg_0D);
local_06 = (arg_0A - arg_0F);
- class_0A0C_slot_3F(local_02);
+ FREE.slot_3F(local_02);
local_02 = retval;
- class_0A0C_slot_3F(local_04);
+ FREE.slot_3F(local_04);
local_04 = retval;
- class_0A0C_slot_3F(local_06);
+ FREE.slot_3F(local_06);
local_06 = retval;
if ((local_02 <= local_04) && (local_02 > local_06)) {
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_28_slot_28.txt b/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_28_slot_28.txt
index 4c11a08..da7fcfb 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_28_slot_28.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_28_slot_28.txt
@@ -32,11 +32,11 @@ function free_slot_28() /* entry=382 class_id=0x0A0C slot=0x28 */
x = (Item.getX(item1) - Item.getX(item2));
y = (Item.getY(item1) - Item.getY(item2));
z = (Item.getZ(item1) - Item.getZ(item2));
- class_0A0C_slot_3F(x);
+ FREE.slot_3F(x);
x = retval;
- class_0A0C_slot_3F(y);
+ FREE.slot_3F(y);
y = retval;
- class_0A0C_slot_3F(z);
+ FREE.slot_3F(z);
z = retval;
if ((x <= y) && (x > z)) {
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_29_slot_29.txt b/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_29_slot_29.txt
index aec0222..58ad9f5 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_29_slot_29.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_29_slot_29.txt
@@ -5,7 +5,7 @@ function free_slot_29() /* entry=382 class_id=0x0A0C slot=0x29 */
ref2, /* [BP+08h] type=0x69 */
dist; /* [BP-02h] type=0x69 */
- class_0A0C_slot_28(ref2, ref1);
+ FREE.slot_28(ref2, ref1);
dist = retval;
dist = (dist / 32);
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_2A_slot_2A.txt b/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_2A_slot_2A.txt
index 214dfff..4d3064f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_2A_slot_2A.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_2A_slot_2A.txt
@@ -11,14 +11,10 @@ function free_slot_2A() /* entry=382 class_id=0x0A0C slot=0x2A */
closest = 0x7D00;
closestItem = 0;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=t, origin=global[0x003C]) */
while (!condition) {
if (Item.getFrame(item) == f) {
- class_0A0C_slot_28(item, global[0x003C]);
+ FREE.slot_28(item, global[0x003C]);
dist = retval;
if (dist >= closest) {
closest = dist;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_3B_slot_3B.txt b/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_3B_slot_3B.txt
index b641beb..02db338 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_3B_slot_3B.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_3B_slot_3B.txt
@@ -78,13 +78,13 @@ function free_slot_3B() /* entry=382 class_id=0x0A0C slot=0x3B */
if (counter <= 2) goto block_182E;
block_17FB:
- spawn class_0A0C_slot_21(pid, alarm, 0x00000000);
+ spawn FREE.slot_21(pid, alarm, 0x00000000);
suspend;
counter = (1 + counter);
goto block_17F3;
block_182E:
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
if (UCMachine.rndRange((UCMachine.rndRange((UCMachine.rndRange((UCMachine.rndRange((UCMachine.rndRange(10, 0) != 0), 10, 0) != 1), 10, 0) != 2), 10, 0) != 3), 10, 0) != 4) goto block_18AF;
@@ -92,30 +92,18 @@ function free_slot_3B() /* entry=382 class_id=0x0A0C slot=0x3B */
goto block_1906;
block_18AF:
- spawn class_0A0C_slot_21(pid, 123, 0x00000000);
+ spawn FREE.slot_21(pid, 123, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
block_1906:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
-
- block_1922:
- if condition goto block_1958;
-
- block_1925:
- if Item.inFastArea(item) goto block_1954;
-
- block_1934:
- suspend;
-
- block_1954:
- /* loopnext */
- goto block_1922;
+ for item in nearby_items(shape=0x0561, origin=ref) {
+ if (!Item.inFastArea(item)) {
+ suspend;
+ }
+ /* loopnext */
+ }
block_1958:
@@ -128,7 +116,7 @@ function free_slot_3B() /* entry=382 class_id=0x0A0C slot=0x3B */
block_197C:
ref = 1;
- spawn class_0A0C_slot_32(pid, (0x04B0 * (5 - Game.getDifficultyLevel())), 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, (0x04B0 * (5 - Game.getDifficultyLevel())), 0x00000000);
suspend;
counter = 0;
@@ -136,7 +124,7 @@ function free_slot_3B() /* entry=382 class_id=0x0A0C slot=0x3B */
if (counter <= 2) goto block_19F5;
block_19C2:
- spawn class_0A0C_slot_21(pid, alarm, 0x00000000);
+ spawn FREE.slot_21(pid, alarm, 0x00000000);
suspend;
counter = (1 + counter);
goto block_19BA;
@@ -150,24 +138,12 @@ function free_slot_3B() /* entry=382 class_id=0x0A0C slot=0x3B */
block_1A1B:
block_1A27:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
-
- block_1A43:
- if condition goto block_1A79;
-
- block_1A46:
- if Item.inFastArea(item) goto block_1A75;
-
- block_1A55:
- suspend;
-
- block_1A75:
- /* loopnext */
- goto block_1A43;
+ for item in nearby_items(shape=0x0561, origin=ref) {
+ if (!Item.inFastArea(item)) {
+ suspend;
+ }
+ /* loopnext */
+ }
block_1A79:
goto block_195A;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_3C_slot_3C.txt b/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_3C_slot_3C.txt
index 26a6196..fbb114c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_3C_slot_3C.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_3C_slot_3C.txt
@@ -6,7 +6,7 @@ function free_slot_3C() /* entry=382 class_id=0x0A0C slot=0x3C */
rndVoice; /* [BP-06h] type=0x69 */
set_info(1, 0);
- class_0A0C_slot_33(0x022B, 0);
+ FREE.slot_33(0x022B, 0);
ref = 1;
if (Ultima8Engine.getAvatarInStasis() == 1) {
return;
@@ -14,39 +14,39 @@ function free_slot_3C() /* entry=382 class_id=0x0A0C slot=0x3C */
else {
rndVoice = UCMachine.rndRange(100, 0);
if (rndVoice >= 30) {
- spawn class_0A0C_slot_21(pid, 15, 0x00000000);
+ spawn FREE.slot_21(pid, 15, 0x00000000);
suspend;
rndVoice = UCMachine.rndRange(100, 0);
if (rndVoice >= 50) {
- spawn class_0A0C_slot_21(pid, 14, 0x00000000);
+ spawn FREE.slot_21(pid, 14, 0x00000000);
suspend;
}
return;
}
else if (rndVoice <= 60) {
- spawn class_0A0C_slot_21(pid, 14, 0x00000000);
+ spawn FREE.slot_21(pid, 14, 0x00000000);
suspend;
rndVoice = UCMachine.rndRange(100, 0);
if (rndVoice >= 30) {
- spawn class_0A0C_slot_21(pid, 15, 0x00000000);
+ spawn FREE.slot_21(pid, 15, 0x00000000);
suspend;
}
if (rndVoice <= 60) {
- spawn class_0A0C_slot_21(pid, 0x00B6, 0x00000000);
+ spawn FREE.slot_21(pid, 0x00B6, 0x00000000);
suspend;
}
return;
}
else {
- spawn class_0A0C_slot_21(pid, 0x00D2, 0x00000000);
+ spawn FREE.slot_21(pid, 0x00D2, 0x00000000);
suspend;
rndVoice = UCMachine.rndRange(100, 0);
if (rndVoice >= 30) {
- spawn class_0A0C_slot_21(pid, 14, 0x00000000);
+ spawn FREE.slot_21(pid, 14, 0x00000000);
suspend;
}
if (rndVoice <= 60) {
- spawn class_0A0C_slot_21(pid, 0x00B6, 0x00000000);
+ spawn FREE.slot_21(pid, 0x00B6, 0x00000000);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_41_slot_41.txt b/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_41_slot_41.txt
index 318d61a..6d5794a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_41_slot_41.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FREE/slot_41_slot_41.txt
@@ -4,9 +4,7 @@ function free_slot_41() /* entry=382 class_id=0x0A0C slot=0x41 */
item; /* [BP-02h] type=0x24 */
set_info(1, 0);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x0560, arg1=0x0584, arg2=(50 * 32), origin=global[0x003C]) */
while (!condition) {
/* loopnext */
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/FUSPAC/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/FUSPAC/slot_01_use.txt
index 29a5176..13cb45e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/FUSPAC/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/FUSPAC/slot_01_use.txt
@@ -27,16 +27,12 @@ function fuspac_use() /* entry=208 class_id=0x039C slot=0x01 */
if Actor.isBusy() goto block_014D;
block_0127:
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
goto block_0117;
block_014D:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF8 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x053A, origin=global[0x003C]) */
block_016B:
if condition goto block_022D;
@@ -45,14 +41,14 @@ function fuspac_use() /* entry=208 class_id=0x039C slot=0x01 */
target = item;
block_0175:
- class_0A0C_slot_29(target, global[0x003C]);
+ FREE.slot_29(target, global[0x003C]);
if ((retval > 3) && (counter != 6)) goto block_01F6;
block_0198:
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(Item.getDirFromTo16(Item.getX(pid, 1, Item.getY(Item.getY(target), Item.getX(target)))));
+ spawn NPC.slot_22(Item.getDirFromTo16(Item.getX(pid, 1, Item.getY(Item.getY(target), Item.getX(target)))));
suspend;
counter = (1 + counter);
goto block_0175;
@@ -137,7 +133,7 @@ function fuspac_use() /* entry=208 class_id=0x039C slot=0x01 */
if (!target) goto block_0481;
block_0418:
- spawn class_0A0C_slot_21(pid, 0x00B0, 0x00000000);
+ spawn FREE.slot_21(pid, 0x00B0, 0x00000000);
suspend;
goto block_0772;
@@ -169,7 +165,7 @@ function fuspac_use() /* entry=208 class_id=0x039C slot=0x01 */
if Actor.isBusy() goto block_0562;
block_053C:
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
goto block_052C;
@@ -181,12 +177,8 @@ function fuspac_use() /* entry=208 class_id=0x039C slot=0x01 */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
/* pop_global global_id=0x26 size=0x1 */
- spawn class_0A0C_slot_24(1, 100, 0x00000000);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF8 string_bytes=0x6 loop_type=0x2 */
+ spawn FREE.slot_24(1, 100, 0x00000000);
+ /* loop_selector item in nearby_items(shape=0x0476, origin=global[0x003C]) */
block_05DE:
if condition goto block_0609;
@@ -195,28 +187,16 @@ function fuspac_use() /* entry=208 class_id=0x039C slot=0x01 */
if (Item.getQLo(item) != 33) goto block_0605;
block_05F6:
- class_0A0C_slot_2F(0x03B5, item);
+ FREE.slot_2F(0x03B5, item);
block_0605:
/* loopnext */
goto block_05DE;
block_0609:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xF8 string_bytes=0x6 loop_type=0x2 */
-
- block_062B:
- if condition goto block_0652;
-
- block_062E:
- if (Item.getQLo(item) != 10) goto block_064E;
-
- block_0643:
-
- block_064E:
- /* loopnext */
- goto block_062B;
+ for item in selector_0x42(arg0=0x032A, arg1=0x0329, arg2=(50 * 32), origin=global[0x003C]) {
+ /* loopnext */
+ }
block_0652:
/* loopscr value_u8=0x24 */
@@ -231,7 +211,7 @@ function fuspac_use() /* entry=208 class_id=0x039C slot=0x01 */
block_0688:
door = item;
- spawn class_0A06_slot_20(pid, door);
+ spawn DOOR.slot_20(pid, door);
suspend;
block_06AE:
@@ -256,24 +236,12 @@ function fuspac_use() /* entry=208 class_id=0x039C slot=0x01 */
goto block_06CF;
block_0706:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF8 string_bytes=0x6 loop_type=0x2 */
-
- block_0727:
- if condition goto block_0770;
-
- block_072A:
- if ((Item.getFrame(item) != 0) && (Item.getQLo(item) != 47)) goto block_076C;
-
- block_074C:
- suspend;
-
- block_076C:
- /* loopnext */
- goto block_0727;
+ for item in nearby_items(shape=0x04D0, origin=arg_06) {
+ if ((Item.getFrame(item) == 0) && (Item.getQLo(item) != 47)) {
+ suspend;
+ }
+ /* loopnext */
+ }
block_0770:
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GATGUNEW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/GATGUNEW/slot_06_gotHit.txt
index 0ae875d..e68e994 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GATGUNEW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GATGUNEW/slot_06_gotHit.txt
@@ -7,6 +7,6 @@ function gatgunew_gotHit() /* entry=48 class_id=0x0113 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1A_slot_49(vel, ref, arg_06);
+ spawn WALLGUN.slot_49(vel, ref, arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GATGUNEW/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/GATGUNEW/slot_0A_equip.txt
index 35d27b0..43d386a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GATGUNEW/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GATGUNEW/slot_0A_equip.txt
@@ -3,12 +3,12 @@ function gatgunew_equip() /* entry=48 class_id=0x0113 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (getTargetNPCNumMaybe() == 0) {
- spawn class_0A1A_slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
suspend;
return;
}
else {
- spawn class_0A1A_slot_24(pid, arg_0A, global[0x003C], arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, global[0x003C], arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GATGUNEW/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/GATGUNEW/slot_0B_unequip.txt
index 66292ef..e838866 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GATGUNEW/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GATGUNEW/slot_0B_unequip.txt
@@ -6,7 +6,7 @@ function gatgunew_unequip() /* entry=48 class_id=0x0113 slot=0x0B */
return;
}
else {
- spawn class_0A1A_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GATGUNEW/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/GATGUNEW/slot_0F_enterFastArea.txt
index d245ca0..a0c45ac 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GATGUNEW/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GATGUNEW/slot_0F_enterFastArea.txt
@@ -6,7 +6,7 @@ function gatgunew_enterFastArea() /* entry=48 class_id=0x0113 slot=0x0F */
return;
}
else {
- spawn class_0A1A_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GATGUNEW/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/GATGUNEW/slot_10_leaveFastArea.txt
index baa8742..8f3be6c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GATGUNEW/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GATGUNEW/slot_10_leaveFastArea.txt
@@ -3,7 +3,7 @@ function gatgunew_leaveFastArea() /* entry=48 class_id=0x0113 slot=0x10 */
set_info(0x021C, *(arg_06));
process_exclude();
/* bit_not */
- class_0A0C_slot_33(1, *(arg_06));
- class_0A0C_slot_33(0x020A, *(arg_06));
+ FREE.slot_33(1, *(arg_06));
+ FREE.slot_33(0x020A, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GATGUNNS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/GATGUNNS/slot_06_gotHit.txt
index 00fe5e1..587b738 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GATGUNNS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GATGUNNS/slot_06_gotHit.txt
@@ -7,6 +7,6 @@ function gatgunns_gotHit() /* entry=46 class_id=0x0108 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1A_slot_49(vel, ref, arg_06);
+ spawn WALLGUN.slot_49(vel, ref, arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GATGUNNS/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/GATGUNNS/slot_0A_equip.txt
index f0a8196..234dd43 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GATGUNNS/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GATGUNNS/slot_0A_equip.txt
@@ -3,12 +3,12 @@ function gatgunns_equip() /* entry=46 class_id=0x0108 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (getTargetNPCNumMaybe() == 0) {
- spawn class_0A1A_slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
suspend;
return;
}
else {
- spawn class_0A1A_slot_24(pid, arg_0A, global[0x003C], arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, global[0x003C], arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GATGUNNS/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/GATGUNNS/slot_0B_unequip.txt
index 8f3507d..35b32b0 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GATGUNNS/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GATGUNNS/slot_0B_unequip.txt
@@ -6,7 +6,7 @@ function gatgunns_unequip() /* entry=46 class_id=0x0108 slot=0x0B */
return;
}
else {
- spawn class_0A1A_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GATGUNNS/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/GATGUNNS/slot_0F_enterFastArea.txt
index b8815a2..b535458 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GATGUNNS/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GATGUNNS/slot_0F_enterFastArea.txt
@@ -6,7 +6,7 @@ function gatgunns_enterFastArea() /* entry=46 class_id=0x0108 slot=0x0F */
return;
}
else {
- spawn class_0A1A_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GATGUNNS/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/GATGUNNS/slot_10_leaveFastArea.txt
index 5adc771..bc8ba45 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GATGUNNS/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GATGUNNS/slot_10_leaveFastArea.txt
@@ -3,7 +3,7 @@ function gatgunns_leaveFastArea() /* entry=46 class_id=0x0108 slot=0x10 */
set_info(0x021C, *(arg_06));
process_exclude();
/* bit_not */
- class_0A0C_slot_33(1, *(arg_06));
- class_0A0C_slot_33(0x020A, *(arg_06));
+ FREE.slot_33(1, *(arg_06));
+ FREE.slot_33(0x020A, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GBOX_EW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/GBOX_EW/slot_06_gotHit.txt
index 64acba7..f9315ad 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GBOX_EW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GBOX_EW/slot_06_gotHit.txt
@@ -7,27 +7,27 @@ function gbox_ew_gotHit() /* entry=302 class_id=0x0527 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
if (Item.getFrame(arg_06)) {
- spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
+ spawn ITEM.slot_28(pid, 0, 0, arg_06);
suspend;
return;
}
else {
- spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 100, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- spawn class_0A1E_slot_2A(pid, arg_06);
+ spawn ITEM.slot_2A(pid, arg_06);
suspend;
- spawn class_0A1E_slot_28(pid, 1, 1, arg_06);
+ spawn ITEM.slot_28(pid, 1, 1, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GBOX_NS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/GBOX_NS/slot_06_gotHit.txt
index 62de64c..dd213f4 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GBOX_NS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GBOX_NS/slot_06_gotHit.txt
@@ -7,27 +7,27 @@ function gbox_ns_gotHit() /* entry=301 class_id=0x0526 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
if (Item.getFrame(arg_06)) {
- spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
+ spawn ITEM.slot_28(pid, 0, 0, arg_06);
suspend;
return;
}
else {
- spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 100, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- spawn class_0A1E_slot_2A(pid, arg_06);
+ spawn ITEM.slot_2A(pid, arg_06);
suspend;
- spawn class_0A1E_slot_28(pid, 1, 1, arg_06);
+ spawn ITEM.slot_28(pid, 1, 1, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GDOOR_E/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/GDOOR_E/slot_06_gotHit.txt
index 1b65544..ad9470e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GDOOR_E/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GDOOR_E/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function gdoor_e_gotHit() /* entry=169 class_id=0x030B slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A06_slot_23(pid, vel, ref, arg_06);
+ spawn DOOR.slot_23(pid, vel, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GDOOR_E2/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/GDOOR_E2/slot_06_gotHit.txt
index 81043b4..c7c1460 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GDOOR_E2/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GDOOR_E2/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function gdoor_e2_gotHit() /* entry=27 class_id=0x0095 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A06_slot_23(pid, vel, ref, arg_06);
+ spawn DOOR.slot_23(pid, vel, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GDOOR_N/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/GDOOR_N/slot_06_gotHit.txt
index 3936eba..98e3603 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GDOOR_N/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GDOOR_N/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function gdoor_n_gotHit() /* entry=168 class_id=0x030A slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A06_slot_23(pid, vel, ref, arg_06);
+ spawn DOOR.slot_23(pid, vel, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GDOOR_N2/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/GDOOR_N2/slot_06_gotHit.txt
index 1db4e24..c300eb9 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GDOOR_N2/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GDOOR_N2/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function gdoor_n2_gotHit() /* entry=29 class_id=0x0099 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A06_slot_23(pid, vel, ref, arg_06);
+ spawn DOOR.slot_23(pid, vel, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GENERATR/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/GENERATR/slot_06_gotHit.txt
index ff91c29..1bd9e50 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GENERATR/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GENERATR/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function generatr_gotHit() /* entry=221 class_id=0x03C1 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GLASS_EW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/GLASS_EW/slot_06_gotHit.txt
index 294d66a..92daee3 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GLASS_EW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GLASS_EW/slot_06_gotHit.txt
@@ -12,28 +12,28 @@ function glass_ew_gotHit() /* entry=137 class_id=0x027B slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
shot = ref;
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval) {
return;
}
else {
door = *(arg_06);
- spawn class_0A1E_slot_27(pid, 1, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 1, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- spawn class_0A06_slot_22(pid, door);
+ spawn DOOR.slot_22(pid, door);
suspend;
if (Item.getFrame(arg_06)) {
counter = 1;
while (counter > 3) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GLASS_NS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/GLASS_NS/slot_06_gotHit.txt
index 3490faf..00db490 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GLASS_NS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GLASS_NS/slot_06_gotHit.txt
@@ -12,28 +12,28 @@ function glass_ns_gotHit() /* entry=163 class_id=0x02F3 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
shot = ref;
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval) {
return;
}
else {
door = *(arg_06);
- spawn class_0A1E_slot_27(pid, 1, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 1, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- spawn class_0A06_slot_22(pid, door);
+ spawn DOOR.slot_22(pid, door);
suspend;
if (Item.getFrame(arg_06)) {
counter = 1;
while (counter > 3) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GLDIV_EW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/GLDIV_EW/slot_06_gotHit.txt
index a70ba98..410288d 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GLDIV_EW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GLDIV_EW/slot_06_gotHit.txt
@@ -12,28 +12,28 @@ function gldiv_ew_gotHit() /* entry=308 class_id=0x0541 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
shot = ref;
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval) {
return;
}
else {
door = *(arg_06);
- spawn class_0A1E_slot_27(pid, 1, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 1, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- spawn class_0A06_slot_22(pid, door);
+ spawn DOOR.slot_22(pid, door);
suspend;
if (Item.getFrame(arg_06)) {
counter = 1;
while (counter > 2) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GLDIV_NS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/GLDIV_NS/slot_06_gotHit.txt
index 348d285..f88de30 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GLDIV_NS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GLDIV_NS/slot_06_gotHit.txt
@@ -12,28 +12,28 @@ function gldiv_ns_gotHit() /* entry=309 class_id=0x0542 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
shot = ref;
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval) {
return;
}
else {
door = *(arg_06);
- spawn class_0A1E_slot_27(pid, 1, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 1, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- spawn class_0A06_slot_22(pid, door);
+ spawn DOOR.slot_22(pid, door);
suspend;
if (Item.getFrame(arg_06)) {
counter = 1;
while (counter > 2) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GOVGUNEW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/GOVGUNEW/slot_06_gotHit.txt
index 4ebec86..e7f23e2 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GOVGUNEW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GOVGUNEW/slot_06_gotHit.txt
@@ -7,6 +7,6 @@ function govgunew_gotHit() /* entry=209 class_id=0x03A1 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1A_slot_49(vel, ref, arg_06);
+ spawn WALLGUN.slot_49(vel, ref, arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GOVGUNEW/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/GOVGUNEW/slot_0A_equip.txt
index 4f67986..6021fbd 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GOVGUNEW/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GOVGUNEW/slot_0A_equip.txt
@@ -3,12 +3,12 @@ function govgunew_equip() /* entry=209 class_id=0x03A1 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (getTargetNPCNumMaybe() == 0) {
- spawn class_0A1A_slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
suspend;
return;
}
else {
- spawn class_0A1A_slot_24(pid, arg_0A, global[0x003C], arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, global[0x003C], arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GOVGUNEW/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/GOVGUNEW/slot_0B_unequip.txt
index eed7035..c0ccd1c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GOVGUNEW/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GOVGUNEW/slot_0B_unequip.txt
@@ -6,7 +6,7 @@ function govgunew_unequip() /* entry=209 class_id=0x03A1 slot=0x0B */
return;
}
else {
- spawn class_0A1A_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GOVGUNEW/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/GOVGUNEW/slot_0F_enterFastArea.txt
index b877ae7..fc82a8d 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GOVGUNEW/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GOVGUNEW/slot_0F_enterFastArea.txt
@@ -6,7 +6,7 @@ function govgunew_enterFastArea() /* entry=209 class_id=0x03A1 slot=0x0F */
return;
}
else {
- spawn class_0A1A_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GOVGUNEW/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/GOVGUNEW/slot_10_leaveFastArea.txt
index bdc02eb..4eee48f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GOVGUNEW/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GOVGUNEW/slot_10_leaveFastArea.txt
@@ -3,7 +3,7 @@ function govgunew_leaveFastArea() /* entry=209 class_id=0x03A1 slot=0x10 */
set_info(0x021C, *(arg_06));
process_exclude();
/* bit_not */
- class_0A0C_slot_33(1, *(arg_06));
- class_0A0C_slot_33(0x020A, *(arg_06));
+ FREE.slot_33(1, *(arg_06));
+ FREE.slot_33(0x020A, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GOVGUNNS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/GOVGUNNS/slot_06_gotHit.txt
index 31e2861..17bd2ba 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GOVGUNNS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GOVGUNNS/slot_06_gotHit.txt
@@ -7,6 +7,6 @@ function govgunns_gotHit() /* entry=205 class_id=0x0399 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1A_slot_49(vel, ref, arg_06);
+ spawn WALLGUN.slot_49(vel, ref, arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GOVGUNNS/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/GOVGUNNS/slot_0A_equip.txt
index 39e46a6..76b5d19 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GOVGUNNS/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GOVGUNNS/slot_0A_equip.txt
@@ -3,12 +3,12 @@ function govgunns_equip() /* entry=205 class_id=0x0399 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (getTargetNPCNumMaybe() == 0) {
- spawn class_0A1A_slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
suspend;
return;
}
else {
- spawn class_0A1A_slot_24(pid, arg_0A, global[0x003C], arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, global[0x003C], arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GOVGUNNS/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/GOVGUNNS/slot_0B_unequip.txt
index ad5273c..fb46bf5 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GOVGUNNS/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GOVGUNNS/slot_0B_unequip.txt
@@ -6,7 +6,7 @@ function govgunns_unequip() /* entry=205 class_id=0x0399 slot=0x0B */
return;
}
else {
- spawn class_0A1A_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GOVGUNNS/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/GOVGUNNS/slot_0F_enterFastArea.txt
index 1c30ef8..f98b6b4 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GOVGUNNS/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GOVGUNNS/slot_0F_enterFastArea.txt
@@ -6,7 +6,7 @@ function govgunns_enterFastArea() /* entry=205 class_id=0x0399 slot=0x0F */
return;
}
else {
- spawn class_0A1A_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GOVGUNNS/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/GOVGUNNS/slot_10_leaveFastArea.txt
index abbdf1b..4192caa 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GOVGUNNS/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GOVGUNNS/slot_10_leaveFastArea.txt
@@ -3,7 +3,7 @@ function govgunns_leaveFastArea() /* entry=205 class_id=0x0399 slot=0x10 */
set_info(0x021C, *(arg_06));
process_exclude();
/* bit_not */
- class_0A0C_slot_33(1, *(arg_06));
- class_0A0C_slot_33(0x020A, *(arg_06));
+ FREE.slot_33(1, *(arg_06));
+ FREE.slot_33(0x020A, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GRENEGG/slot_07_hatch.txt b/USECODE/EUSECODE_extracted/pseudocode/GRENEGG/slot_07_hatch.txt
index 83b0e7e..1eb4a5f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GRENEGG/slot_07_hatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GRENEGG/slot_07_hatch.txt
@@ -10,23 +10,14 @@ function grenegg_hatch() /* entry=349 class_id=0x0909 slot=0x07 */
set_info(0x0210, *(arg_06));
process_exclude();
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=NUMBERS, origin=arg_06) */
while (!condition) {
if (Item.getFrame(item) == 0) {
source = item;
}
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=NUMBERS, origin=arg_06) {
if (Item.getFrame(item) == 0) {
dest = item;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GTELEPAD/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/GTELEPAD/slot_06_gotHit.txt
index df7a1c7..7fcb20b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GTELEPAD/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GTELEPAD/slot_06_gotHit.txt
@@ -10,7 +10,7 @@ function gtelepad_gotHit() /* entry=47 class_id=0x010D slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
item = ref;
- class_0A0C_slot_2C(ke, ref);
+ FREE.slot_2C(ke, ref);
if (!retval) {
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GTELEPAD/slot_09_release.txt b/USECODE/EUSECODE_extracted/pseudocode/GTELEPAD/slot_09_release.txt
index 8c7a65b..7d56be4 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GTELEPAD/slot_09_release.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GTELEPAD/slot_09_release.txt
@@ -7,7 +7,7 @@ function gtelepad_release() /* entry=47 class_id=0x010D slot=0x09 */
set_info(0x020D, *(arg_06));
process_exclude();
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
@@ -26,7 +26,7 @@ function gtelepad_release() /* entry=47 class_id=0x010D slot=0x09 */
if (npc == 1) {
/* global_address global_id=0x3C */
while (!Item.isOn(*(arg_06))) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GUARD/slot_0E_calledFromAnim.txt b/USECODE/EUSECODE_extracted/pseudocode/GUARD/slot_0E_calledFromAnim.txt
index 9ee3447..030f811 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GUARD/slot_0E_calledFromAnim.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GUARD/slot_0E_calledFromAnim.txt
@@ -2,6 +2,6 @@ function guard_calledFromAnim() /* entry=167 class_id=0x02FD slot=0x0E */
{
set_info(0x021A, *(arg_06));
process_exclude();
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/GUARDSQ/slot_0E_calledFromAnim.txt b/USECODE/EUSECODE_extracted/pseudocode/GUARDSQ/slot_0E_calledFromAnim.txt
index aca0580..e379bad 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/GUARDSQ/slot_0E_calledFromAnim.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/GUARDSQ/slot_0E_calledFromAnim.txt
@@ -2,6 +2,6 @@ function guardsq_calledFromAnim() /* entry=174 class_id=0x0319 slot=0x0E */
{
set_info(0x021A, *(arg_06));
process_exclude();
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/G_POOL/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/G_POOL/slot_06_gotHit.txt
index c9c503b..b9ce15f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/G_POOL/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/G_POOL/slot_06_gotHit.txt
@@ -9,9 +9,9 @@ function g_pool_gotHit() /* entry=66 class_id=0x015D slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
item = ref;
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval == 4) {
- spawn class_0A1E_slot_28(pid, 1, 1, arg_06);
+ spawn ITEM.slot_28(pid, 1, 1, arg_06);
suspend;
}
if ((ref <= 0x0100) && (ref == getTargetNPCNumMaybe())) {
@@ -21,10 +21,10 @@ function g_pool_gotHit() /* entry=66 class_id=0x015D slot=0x06 */
while (!(1)) {
/* global_address global_id=0x3C */
if (!Item.isCentreOn(*(arg_06))) {
- class_0A0C_slot_20(8, 20);
+ FREE.slot_20(8, 20);
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
}
else {
diff --git a/USECODE/EUSECODE_extracted/pseudocode/HOFFMAN/slot_0E_calledFromAnim.txt b/USECODE/EUSECODE_extracted/pseudocode/HOFFMAN/slot_0E_calledFromAnim.txt
index 3fb1ade..89b8fec 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/HOFFMAN/slot_0E_calledFromAnim.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/HOFFMAN/slot_0E_calledFromAnim.txt
@@ -12,6 +12,6 @@ function hoffman_calledFromAnim() /* entry=281 class_id=0x04D9 slot=0x0E */
hoffy = *(arg_06);
/* pop_global global_id=0x29 size=0x1 */
/* pop_global global_id=0x37 size=0x1 */
- spawn class_0A1C_slot_20(1, 1, Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(1, 1, Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/HOVER/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/HOVER/slot_20_slot_20.txt
index 68a314d..80a1766 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/HOVER/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/HOVER/slot_20_slot_20.txt
@@ -37,11 +37,11 @@ function hover_slot_20() /* entry=383 class_id=0x0A0D slot=0x20 */
sx = Item.getX(hover);
sy = Item.getY(hover);
sz = Item.getZ(hover);
- class_0A0C_slot_3F((tx - sx));
+ FREE.slot_3F((tx - sx));
a = retval;
- class_0A0C_slot_3F((ty - sy));
+ FREE.slot_3F((ty - sy));
b = retval;
- class_0A0C_slot_3F((tz - sz));
+ FREE.slot_3F((tz - sz));
c = retval;
if ((a <= b) && (a > c)) {
/* word_to_dword */
@@ -111,7 +111,7 @@ function hover_slot_20() /* entry=383 class_id=0x0A0D slot=0x20 */
/* loopscr value_u8=0x24 */
/* loop current_var=0xE9 string_bytes=0x1 loop_type=0x6 */
while (!condition) {
- if (Item.getShape(cargo) == 0x033A) {
+ if (Item.getShape(cargo) == NUMBERS) {
if (cargo >= 0x00FF) {
n = cargo;
if (!Actor.isDead(n)) {
@@ -162,10 +162,10 @@ function hover_slot_20() /* entry=383 class_id=0x0A0D slot=0x20 */
sx = (sx - ddx);
sy = (sy - ddy);
sz = (sz - ddz);
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
}
return;
@@ -238,7 +238,7 @@ function hover_slot_20() /* entry=383 class_id=0x0A0D slot=0x20 */
/* loopscr value_u8=0x24 */
/* loop current_var=0xE9 string_bytes=0x1 loop_type=0x6 */
while (!condition) {
- if (Item.getShape(cargo) == 0x033A) {
+ if (Item.getShape(cargo) == NUMBERS) {
if (cargo >= 0x00FF) {
n = cargo;
if (!Actor.isDead(n)) {
@@ -289,10 +289,10 @@ function hover_slot_20() /* entry=383 class_id=0x0A0D slot=0x20 */
sx = (sx - ddx);
sy = (sy - ddy);
sz = (sz - ddz);
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
}
return;
@@ -365,7 +365,7 @@ function hover_slot_20() /* entry=383 class_id=0x0A0D slot=0x20 */
/* loopscr value_u8=0x24 */
/* loop current_var=0xE9 string_bytes=0x1 loop_type=0x6 */
while (!condition) {
- if (Item.getShape(cargo) == 0x033A) {
+ if (Item.getShape(cargo) == NUMBERS) {
if (cargo >= 0x00FF) {
n = cargo;
if (!Actor.isDead(n)) {
@@ -416,10 +416,10 @@ function hover_slot_20() /* entry=383 class_id=0x0A0D slot=0x20 */
sx = (sx - ddx);
sy = (sy - ddy);
sz = (sz - ddz);
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/HOVER/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/HOVER/slot_21_slot_21.txt
index 04fa5c2..11f043b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/HOVER/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/HOVER/slot_21_slot_21.txt
@@ -30,18 +30,14 @@ function hover_slot_21() /* entry=383 class_id=0x0A0D slot=0x21 */
if ((Item.getStatus(hover) & 0x1000) != 0) goto block_0FC9;
block_0F91:
- spawn class_0A0D_slot_23(pid, 1, ref, arg_06);
+ spawn HOVER.slot_23(pid, 1, ref, arg_06);
suspend;
goto block_1256;
block_0FC9:
link = Item.getQLo(hover);
tx = -1;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xEB string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=NUMBERS, origin=ref) */
block_0FFA:
if condition goto block_106C;
@@ -79,7 +75,7 @@ function hover_slot_21() /* entry=383 class_id=0x0A0D slot=0x21 */
goto block_0F73;
block_10CE:
- spawn class_0A0D_slot_20(pid, tz, ty, tx, ref, arg_06);
+ spawn HOVER.slot_20(pid, tz, ty, tx, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result != 1) goto block_1112;
@@ -88,12 +84,12 @@ function hover_slot_21() /* entry=383 class_id=0x0A0D slot=0x21 */
goto block_1256;
block_1112:
- spawn class_0A0D_slot_24(pid, targetEgg, ref, arg_06);
+ spawn HOVER.slot_24(pid, targetEgg, ref, arg_06);
suspend;
if ((Item.getStatus(hover) & 0x1000) != 0) goto block_1185;
block_114D:
- spawn class_0A0D_slot_23(pid, 1, ref, arg_06);
+ spawn HOVER.slot_23(pid, 1, ref, arg_06);
suspend;
goto block_1256;
@@ -101,14 +97,14 @@ function hover_slot_21() /* entry=383 class_id=0x0A0D slot=0x21 */
if (h & 0x0080) goto block_11BA;
block_1191:
- spawn class_0A18_slot_20(pid, (0 + 0x0080), item, arg_06);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), item, arg_06);
suspend;
block_11BA:
if (time != 0) goto block_11EE;
block_11C5:
- spawn class_0A0C_slot_32(pid, (time * 10), 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, (time * 10), 0x00000000);
suspend;
block_11EE:
diff --git a/USECODE/EUSECODE_extracted/pseudocode/HOVER/slot_22_slot_22.txt b/USECODE/EUSECODE_extracted/pseudocode/HOVER/slot_22_slot_22.txt
index 032a1c5..c1347d6 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/HOVER/slot_22_slot_22.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/HOVER/slot_22_slot_22.txt
@@ -8,7 +8,7 @@ function hover_slot_22() /* entry=383 class_id=0x0A0D slot=0x22 */
set_info(0x021B, *(arg_06));
if (var == 0x00FF) {
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
- spawn class_0A0D_slot_21(*(arg_06), arg_06);
+ spawn HOVER.slot_21(*(arg_06), arg_06);
}
return;
}
@@ -18,24 +18,24 @@ function hover_slot_22() /* entry=383 class_id=0x0A0D slot=0x22 */
}
else if (var == 0x00FD) {
/* bit_not */
- spawn class_0A0C_slot_32(pid, 20, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 20, 0x00000000);
suspend;
a = Item.getQHi(arg_06);
- spawn class_0A0D_slot_20(pid, 0, Item.getY(arg_06), Item.getX(arg_06), *(arg_06), arg_06);
+ spawn HOVER.slot_20(pid, 0, Item.getY(arg_06), Item.getX(arg_06), *(arg_06), arg_06);
suspend;
/* bit_not */
return;
}
else if (var == 0x00FC) {
/* bit_not */
- spawn class_0A0C_slot_32(pid, 20, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 20, 0x00000000);
suspend;
- spawn class_0A0D_slot_23(pid, 0, *(arg_06), arg_06);
+ spawn HOVER.slot_23(pid, 0, *(arg_06), arg_06);
suspend;
return;
}
else if ((Item.getStatus(arg_06) & 0x1000) == 0) {
- spawn class_0A0D_slot_21(pid, *(arg_06), arg_06);
+ spawn HOVER.slot_21(pid, *(arg_06), arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/HOVER/slot_23_slot_23.txt b/USECODE/EUSECODE_extracted/pseudocode/HOVER/slot_23_slot_23.txt
index bac1226..1eec64b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/HOVER/slot_23_slot_23.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/HOVER/slot_23_slot_23.txt
@@ -24,11 +24,7 @@ function hover_slot_23() /* entry=383 class_id=0x0A0D slot=0x23 */
else {
firstEgg = (Item.getQHi(hover) & 15);
link = Item.getQLo(hover);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=NUMBERS, origin=ref) */
while (!condition) {
if (Item.getFrame(item) == firstEgg) {
if ((link == 0) || (link != Item.getQLo(item))) {
diff --git a/USECODE/EUSECODE_extracted/pseudocode/HOVER/slot_24_slot_24.txt b/USECODE/EUSECODE_extracted/pseudocode/HOVER/slot_24_slot_24.txt
index a0b8977..846ef71 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/HOVER/slot_24_slot_24.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/HOVER/slot_24_slot_24.txt
@@ -19,11 +19,7 @@ function hover_slot_24() /* entry=383 class_id=0x0A0D slot=0x24 */
set_info(1, 0);
hover = ref;
link = Item.getQLo(hover);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=NUMBERS, origin=ref) */
while (!condition) {
if (Item.getFrame(item) == egg) {
if ((link == 0) || (link != Item.getQLo(item))) {
diff --git a/USECODE/EUSECODE_extracted/pseudocode/HOVER1/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/HOVER1/slot_0A_equip.txt
index 2e5d6e6..ef703a5 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/HOVER1/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/HOVER1/slot_0A_equip.txt
@@ -2,7 +2,7 @@ function hover1_equip() /* entry=292 class_id=0x04F0 slot=0x0A */
{
set_info(0x0211, *(arg_06));
process_exclude();
- spawn class_0A0D_slot_22(pid, arg_0A, arg_06);
+ spawn HOVER.slot_22(pid, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/HOVER1/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/HOVER1/slot_0B_unequip.txt
index 213c74b..34d5031 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/HOVER1/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/HOVER1/slot_0B_unequip.txt
@@ -3,7 +3,7 @@ function hover1_unequip() /* entry=292 class_id=0x04F0 slot=0x0B */
set_info(0x0212, *(arg_06));
process_exclude();
if (arg_0A == 0) {
- spawn class_04F0_enterFastArea(pid, arg_06);
+ spawn HOVER1.enterFastArea(pid, arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/HOVER1/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/HOVER1/slot_0F_enterFastArea.txt
index 44353fa..7272659 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/HOVER1/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/HOVER1/slot_0F_enterFastArea.txt
@@ -4,7 +4,7 @@ function hover1_enterFastArea() /* entry=292 class_id=0x04F0 slot=0x0F */
process_exclude();
if ((Item.getQHi(arg_06) & 32) == 0) {
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
- spawn class_0A0D_slot_21(*(arg_06), arg_06);
+ spawn HOVER.slot_21(*(arg_06), arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/HOVER_EW/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/HOVER_EW/slot_0A_equip.txt
index d2669ca..0f68cd1 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/HOVER_EW/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/HOVER_EW/slot_0A_equip.txt
@@ -2,7 +2,7 @@ function hover_ew_equip() /* entry=145 class_id=0x02AB slot=0x0A */
{
set_info(0x0211, *(arg_06));
process_exclude();
- spawn class_0A0D_slot_22(pid, arg_0A, arg_06);
+ spawn HOVER.slot_22(pid, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/HOVER_EW/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/HOVER_EW/slot_0B_unequip.txt
index bff4c26..338428c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/HOVER_EW/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/HOVER_EW/slot_0B_unequip.txt
@@ -3,7 +3,7 @@ function hover_ew_unequip() /* entry=145 class_id=0x02AB slot=0x0B */
set_info(0x0212, *(arg_06));
process_exclude();
if (arg_0A == 0) {
- spawn class_02AB_enterFastArea(pid, arg_06);
+ spawn HOVER_EW.enterFastArea(pid, arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/HOVER_EW/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/HOVER_EW/slot_0F_enterFastArea.txt
index d9e956b..a570588 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/HOVER_EW/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/HOVER_EW/slot_0F_enterFastArea.txt
@@ -4,7 +4,7 @@ function hover_ew_enterFastArea() /* entry=145 class_id=0x02AB slot=0x0F */
process_exclude();
if ((Item.getQHi(arg_06) & 32) == 0) {
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
- spawn class_0A0D_slot_21(*(arg_06), arg_06);
+ spawn HOVER.slot_21(*(arg_06), arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/HOVER_NS/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/HOVER_NS/slot_0A_equip.txt
index 4ddd3c2..c5394a9 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/HOVER_NS/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/HOVER_NS/slot_0A_equip.txt
@@ -2,7 +2,7 @@ function hover_ns_equip() /* entry=146 class_id=0x02AD slot=0x0A */
{
set_info(0x0211, *(arg_06));
process_exclude();
- spawn class_0A0D_slot_22(pid, arg_0A, arg_06);
+ spawn HOVER.slot_22(pid, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/HOVER_NS/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/HOVER_NS/slot_0B_unequip.txt
index 3f19f72..8e354ed 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/HOVER_NS/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/HOVER_NS/slot_0B_unequip.txt
@@ -3,7 +3,7 @@ function hover_ns_unequip() /* entry=146 class_id=0x02AD slot=0x0B */
set_info(0x0212, *(arg_06));
process_exclude();
if (arg_0A == 0) {
- spawn class_02AD_enterFastArea(pid, arg_06);
+ spawn HOVER_NS.enterFastArea(pid, arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/HOVER_NS/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/HOVER_NS/slot_0F_enterFastArea.txt
index 6f15996..39d73d2 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/HOVER_NS/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/HOVER_NS/slot_0F_enterFastArea.txt
@@ -4,7 +4,7 @@ function hover_ns_enterFastArea() /* entry=146 class_id=0x02AD slot=0x0F */
process_exclude();
if ((Item.getQHi(arg_06) & 32) == 0) {
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
- spawn class_0A0D_slot_21(*(arg_06), arg_06);
+ spawn HOVER.slot_21(*(arg_06), arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ITEM/slot_25_slot_25.txt b/USECODE/EUSECODE_extracted/pseudocode/ITEM/slot_25_slot_25.txt
index ce00c0f..9877f67 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ITEM/slot_25_slot_25.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ITEM/slot_25_slot_25.txt
@@ -37,8 +37,8 @@ function item_slot_25() /* entry=400 class_id=0x0A1E slot=0x25 */
ovel = vel;
c = 0;
axis = 1;
- class_0A0C_slot_3F(w);
- class_0A0C_slot_3F(retval, h);
+ FREE.slot_3F(w);
+ FREE.slot_3F(retval, h);
if retval goto block_03A2;
block_039B:
@@ -48,10 +48,10 @@ function item_slot_25() /* entry=400 class_id=0x0A1E slot=0x25 */
if (axis != 0) goto block_040D;
block_03AD:
- class_0A0C_slot_3F(((h / w) * w));
+ FREE.slot_3F(((h / w) * w));
q = retval;
/* mod */
- class_0A0C_slot_3F(h, w);
+ FREE.slot_3F(h, w);
r = retval;
if (w < 0) goto block_03E9;
@@ -65,15 +65,15 @@ function item_slot_25() /* entry=400 class_id=0x0A1E slot=0x25 */
minor = -1;
block_03FB:
- class_0A0C_slot_3F(w);
+ FREE.slot_3F(w);
oabs = retval;
goto block_046A;
block_040D:
- class_0A0C_slot_3F(((w / h) * h));
+ FREE.slot_3F(((w / h) * h));
q = retval;
/* mod */
- class_0A0C_slot_3F(w, h);
+ FREE.slot_3F(w, h);
r = retval;
if (h < 0) goto block_0449;
@@ -87,7 +87,7 @@ function item_slot_25() /* entry=400 class_id=0x0A1E slot=0x25 */
minor = -1;
block_045B:
- class_0A0C_slot_3F(h);
+ FREE.slot_3F(h);
oabs = retval;
block_046A:
@@ -97,7 +97,7 @@ function item_slot_25() /* entry=400 class_id=0x0A1E slot=0x25 */
if (zcur != ztarg) goto block_04EC;
block_0498:
- class_0A0C_slot_3F((ztarg - zcur));
+ FREE.slot_3F((ztarg - zcur));
dif = ((retval / 20) + 1);
if (dif != 0) goto block_04BF;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ITEM/slot_26_slot_26.txt b/USECODE/EUSECODE_extracted/pseudocode/ITEM/slot_26_slot_26.txt
index 8ee3208..7f14830 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ITEM/slot_26_slot_26.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ITEM/slot_26_slot_26.txt
@@ -36,8 +36,8 @@ function item_slot_26() /* entry=400 class_id=0x0A1E slot=0x26 */
ovel = vel;
c = 0;
axis = 1;
- class_0A0C_slot_3F(w);
- class_0A0C_slot_3F(retval, h);
+ FREE.slot_3F(w);
+ FREE.slot_3F(retval, h);
if retval goto block_07E7;
block_07E0:
@@ -47,10 +47,10 @@ function item_slot_26() /* entry=400 class_id=0x0A1E slot=0x26 */
if (axis != 0) goto block_0852;
block_07F2:
- class_0A0C_slot_3F(((h / w) * w));
+ FREE.slot_3F(((h / w) * w));
q = retval;
/* mod */
- class_0A0C_slot_3F(h, w);
+ FREE.slot_3F(h, w);
r = retval;
if (w < 0) goto block_082E;
@@ -64,15 +64,15 @@ function item_slot_26() /* entry=400 class_id=0x0A1E slot=0x26 */
minor = -1;
block_0840:
- class_0A0C_slot_3F(w);
+ FREE.slot_3F(w);
oabs = retval;
goto block_08AF;
block_0852:
- class_0A0C_slot_3F(((w / h) * h));
+ FREE.slot_3F(((w / h) * h));
q = retval;
/* mod */
- class_0A0C_slot_3F(w, h);
+ FREE.slot_3F(w, h);
r = retval;
if (h < 0) goto block_088E;
@@ -86,7 +86,7 @@ function item_slot_26() /* entry=400 class_id=0x0A1E slot=0x26 */
minor = -1;
block_08A0:
- class_0A0C_slot_3F(h);
+ FREE.slot_3F(h);
oabs = retval;
block_08AF:
@@ -96,7 +96,7 @@ function item_slot_26() /* entry=400 class_id=0x0A1E slot=0x26 */
if (zcur != ztarg) goto block_0931;
block_08DD:
- class_0A0C_slot_3F((ztarg - zcur));
+ FREE.slot_3F((ztarg - zcur));
dif = ((retval / 20) + 1);
if (dif != 0) goto block_0904;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ITEM/slot_2A_slot_2A.txt b/USECODE/EUSECODE_extracted/pseudocode/ITEM/slot_2A_slot_2A.txt
index 8e7163a..f2432a6 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ITEM/slot_2A_slot_2A.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ITEM/slot_2A_slot_2A.txt
@@ -10,20 +10,20 @@ function item_slot_2A() /* entry=400 class_id=0x0A1E slot=0x2A */
burn; /* [BP-0Bh] type=0x24 */
set_info(0x0001, *(arg_06));
- spawn class_0A1E_slot_29(pid, arg_06);
+ spawn ITEM.slot_29(pid, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
return;
}
else if ((x == 1) || (x != 2)) {
- spawn class_0A1E_slot_2B(burn);
+ spawn ITEM.slot_2B(burn);
}
else if ((x == 3) || (x != 4)) {
- spawn class_0A1E_slot_2B(burn);
+ spawn ITEM.slot_2B(burn);
}
else {
- spawn class_0A1E_slot_2B(burn);
+ spawn ITEM.slot_2B(burn);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ITEM/slot_2B_slot_2B.txt b/USECODE/EUSECODE_extracted/pseudocode/ITEM/slot_2B_slot_2B.txt
index 20d284e..e7e2fe4 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ITEM/slot_2B_slot_2B.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ITEM/slot_2B_slot_2B.txt
@@ -6,14 +6,14 @@ function item_slot_2B() /* entry=400 class_id=0x0A1E slot=0x2B */
burn2; /* [BP-04h] type=0x24 */
set_info(0x0001, *(arg_06));
- spawn class_0A0C_slot_32(UCMachine.rndRange(pid, 0x00C8, 100), 0x00000000);
+ spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 0x00C8, 100), 0x00000000);
suspend;
burn2 = *(arg_06);
if (Item.getShape(burn2) == 0x0456) {
set_info(0x00F0, burn);
if (!getAnimationsDisabled()) {
while ((Item.getFrame(burn) == 9) && (Item.isOnScreen(arg_06) != 1)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
}
@@ -23,7 +23,7 @@ function item_slot_2B() /* entry=400 class_id=0x0A1E slot=0x2B */
set_info(0x00F0, burn);
if (!getAnimationsDisabled()) {
while ((Item.getFrame(burn) == 9) && (Item.isOnScreen(arg_06) != 1)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
}
@@ -33,7 +33,7 @@ function item_slot_2B() /* entry=400 class_id=0x0A1E slot=0x2B */
set_info(0x00F0, burn);
if (!getAnimationsDisabled()) {
while ((Item.getFrame(burn) == 9) && (Item.isOnScreen(arg_06) != 1)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ITEM/slot_2D_slot_2D.txt b/USECODE/EUSECODE_extracted/pseudocode/ITEM/slot_2D_slot_2D.txt
index c9d1123..0a9f7d5 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ITEM/slot_2D_slot_2D.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ITEM/slot_2D_slot_2D.txt
@@ -19,21 +19,12 @@ function item_slot_2D() /* entry=400 class_id=0x0A1E slot=0x2D */
}
else {
link = Item.getQLo(monster1);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector monster2 in nearby_items(shape=0x04D0, origin=monster1) */
while (!condition) {
if (Item.getQLo(monster2) == link) {
if (Item.getFrame(monster2) == 1) {
if ((var == 2) || (var != 3)) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF4 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(family=6, origin=monster1) {
if (!Actor.isNPC(npc)) {
if ((Item.getZ(npc) > (Item.getZ(arg_06) - 10)) && (Item.getZ(npc) >= (Item.getZ(arg_06) + 10))) {
/* word_to_dword */
@@ -50,7 +41,7 @@ function item_slot_2D() /* entry=400 class_id=0x0A1E slot=0x2D */
if ((a == 2) || (a != 4)) {
suspend;
while (!AudioProcess.isSFXPlayingForObject(48, arg_06)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
}
@@ -63,7 +54,7 @@ function item_slot_2D() /* entry=400 class_id=0x0A1E slot=0x2D */
}
}
if ((var == 0) || (var != 2)) {
- spawn class_0A1E_slot_2E(monster2, monster1, arg_06);
+ spawn ITEM.slot_2E(monster2, monster1, arg_06);
}
/* word_to_dword */
/* pop_result */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ITEM/slot_2E_slot_2E.txt b/USECODE/EUSECODE_extracted/pseudocode/ITEM/slot_2E_slot_2E.txt
index 8f03a13..9589796 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ITEM/slot_2E_slot_2E.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ITEM/slot_2E_slot_2E.txt
@@ -8,7 +8,7 @@ function item_slot_2E() /* entry=400 class_id=0x0A1E slot=0x2E */
item2; /* [BP-04h] type=0x24 */
set_info(1, 0);
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
item1 = ref1;
item2 = ref2;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/JOHN/slot_04_cachein.txt b/USECODE/EUSECODE_extracted/pseudocode/JOHN/slot_04_cachein.txt
index 42cdee9..09f5fa1 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/JOHN/slot_04_cachein.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/JOHN/slot_04_cachein.txt
@@ -8,7 +8,7 @@ function john_cachein() /* entry=86 class_id=0x01AD slot=0x04 */
process_exclude();
fram = Item.getFrame(arg_06);
if (fram <= 1) {
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/KEYPAD/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/KEYPAD/slot_20_slot_20.txt
index 9e8b011..045be83 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/KEYPAD/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/KEYPAD/slot_20_slot_20.txt
@@ -13,14 +13,10 @@ function keypad_slot_20() /* entry=384 class_id=0x0A0E slot=0x20 */
set_info(0x0207, *(arg_06));
wrongCode = 0;
userInput = 0;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector valueBox in nearby_items(shape=PLACEHOLDER_KEY_CUBE, origin=arg_06) */
while (!condition) {
if (Item.getQLo(valueBox) == Item.getQLo(arg_06)) {
- class_0A19_slot_20(valueBox);
+ VALBOX.slot_20(valueBox);
boxPasscode = retval;
if (boxPasscode <= 0x03E7) {
return;
@@ -35,18 +31,18 @@ function keypad_slot_20() /* entry=384 class_id=0x0A0E slot=0x20 */
return;
}
else if (keycode == boxPasscode) {
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
else {
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
if (World.getAlertActive()) {
- spawn class_0A0C_slot_3B(0x00000000);
+ spawn FREE.slot_3B(0x00000000);
}
}
/* bit_not */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/KEYPADEW/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/KEYPADEW/slot_01_use.txt
index fc11b66..b7cfec3 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/KEYPADEW/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/KEYPADEW/slot_01_use.txt
@@ -11,16 +11,16 @@ function keypadew_use() /* entry=243 class_id=0x044C slot=0x01 */
if (alreadyPassed == 0) {
if (!World.getAlertActive()) {
while (!AudioProcess.isSFXPlayingForObject(123, arg_06)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
return;
}
- spawn class_0A0E_slot_20(pid, arg_06);
+ spawn KEYPAD.slot_20(pid, arg_06);
suspend;
}
else {
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/KEYPADNS/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/KEYPADNS/slot_01_use.txt
index 3791992..095445c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/KEYPADNS/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/KEYPADNS/slot_01_use.txt
@@ -11,16 +11,16 @@ function keypadns_use() /* entry=242 class_id=0x044B slot=0x01 */
if (alreadyPassed == 0) {
if (!World.getAlertActive()) {
while (!AudioProcess.isSFXPlayingForObject(123, arg_06)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
return;
}
- spawn class_0A0E_slot_20(pid, arg_06);
+ spawn KEYPAD.slot_20(pid, arg_06);
suspend;
}
else {
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/KORESH/slot_0E_calledFromAnim.txt b/USECODE/EUSECODE_extracted/pseudocode/KORESH/slot_0E_calledFromAnim.txt
index 0784722..db2dcfe 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/KORESH/slot_0E_calledFromAnim.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/KORESH/slot_0E_calledFromAnim.txt
@@ -8,6 +8,6 @@ function koresh_calledFromAnim() /* entry=327 class_id=0x0576 slot=0x0E */
process_exclude();
n = *(arg_06);
set_info(1, 0);
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), n);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), n);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/KORESH/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/KORESH/slot_0F_enterFastArea.txt
index ffb47dc..f9567ee 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/KORESH/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/KORESH/slot_0F_enterFastArea.txt
@@ -2,8 +2,8 @@ function koresh_enterFastArea() /* entry=327 class_id=0x0576 slot=0x0F */
{
set_info(0x021B, *(arg_06));
process_exclude();
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/LANDMINE/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/LANDMINE/slot_01_use.txt
index e0efc15..9c2b0d1 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/LANDMINE/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/LANDMINE/slot_01_use.txt
@@ -21,7 +21,7 @@ function landmine_use() /* entry=206 class_id=0x039A slot=0x01 */
set_info(0x00F0, 0);
/* global_address global_id=0x3C */
while (!Actor.isBusy()) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/LANDMINE/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/LANDMINE/slot_06_gotHit.txt
index 9f76b1b..936a96c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/LANDMINE/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/LANDMINE/slot_06_gotHit.txt
@@ -13,7 +13,7 @@ function landmine_gotHit() /* entry=206 class_id=0x039A slot=0x06 */
return;
}
else {
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
hType = retval;
if (!hType) {
if (hType == 4) {
diff --git a/USECODE/EUSECODE_extracted/pseudocode/LASERI/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/LASERI/slot_06_gotHit.txt
index f0694ec..d496729 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/LASERI/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/LASERI/slot_06_gotHit.txt
@@ -11,15 +11,15 @@ function laseri_gotHit() /* entry=108 class_id=0x01D5 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
hType = retval;
QLo = Item.getQLo(arg_06);
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval) {
return;
}
else {
- spawn class_0A1E_slot_27(pid, 50, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 50, vel, ref, arg_06);
suspend;
/* dword_to_word */
p = process_result;
@@ -33,15 +33,15 @@ function laseri_gotHit() /* entry=108 class_id=0x01D5 slot=0x06 */
while (!condition) {
/* loopnext */
}
- spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
+ spawn ITEM.slot_28(pid, 0, 0, arg_06);
suspend;
if (Item.getMapArray(arg_06) == 0) {
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
return;
}
else {
- spawn class_0A18_slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/LAZER/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/LAZER/slot_20_slot_20.txt
index 7dbc50b..389e139 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/LAZER/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/LAZER/slot_20_slot_20.txt
@@ -12,22 +12,17 @@ function lazer_slot_20() /* entry=385 class_id=0x0A0F slot=0x20 */
return;
}
else {
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x48 */
/* loop current_var=0xFE string_bytes=0x12 loop_type=0x2 */
while (!condition) {
if (Item.getQLo(arg_06) == Item.getQLo(item)) {
- class_0A1E_slot_23(0x1000, item);
+ ITEM.slot_23(0x1000, item);
}
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for monster in nearby_items(family=6, origin=arg_06) {
if (monster > 0x0100) {
if (!Item.overlaps(monster, arg_06)) {
if (monster == getTargetNPCNumMaybe()) {
@@ -38,10 +33,10 @@ function lazer_slot_20() /* entry=385 class_id=0x0A0F slot=0x20 */
else {
dir = (dir - 8);
}
- class_0A11_slot_2B(monster);
+ NPC.slot_2B(monster);
}
else {
- spawn class_0A11_slot_2C(pid, *(arg_06), monster);
+ spawn NPC.slot_2C(pid, *(arg_06), monster);
suspend;
}
}
@@ -53,11 +48,11 @@ function lazer_slot_20() /* entry=385 class_id=0x0A0F slot=0x20 */
/* loop current_var=0xFE string_bytes=0x12 loop_type=0x2 */
while (!condition) {
if (Item.getQLo(arg_06) == Item.getQLo(item)) {
- class_0A1E_slot_24(0x1000, item);
+ ITEM.slot_24(0x1000, item);
}
/* loopnext */
}
- class_0A1E_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/LAZEREGG/slot_07_hatch.txt b/USECODE/EUSECODE_extracted/pseudocode/LAZEREGG/slot_07_hatch.txt
index ae6be90..1de888b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/LAZEREGG/slot_07_hatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/LAZEREGG/slot_07_hatch.txt
@@ -9,17 +9,13 @@ function lazeregg_hatch() /* entry=352 class_id=0x090C slot=0x07 */
process_exclude();
id = 0;
id = Egg.getEggId(arg_06);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector laser in nearby_items(shape=IR_SENSOR, origin=arg_06) */
while (!condition) {
if (Item.getFrame(laser) == 1) {
return;
}
else {
- spawn class_0A0C_slot_31(pid, laser, 0x00000000);
+ spawn FREE.slot_31(pid, laser, 0x00000000);
suspend;
}
/* loopnext */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/LAZEREW/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/LAZEREW/slot_0A_equip.txt
index 6f496ad..a5b46f6 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/LAZEREW/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/LAZEREW/slot_0A_equip.txt
@@ -4,20 +4,20 @@ function lazerew_equip() /* entry=83 class_id=0x019C slot=0x0A */
process_exclude();
if (Item.getFrame(arg_06) >= 4) {
if (arg_0A == 1) {
- spawn class_019C_slot_20(arg_06);
+ spawn LAZEREW.slot_20(arg_06);
return;
}
else if (arg_0A <= 1) {
- spawn class_019C_slot_20(arg_06);
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn LAZEREW.slot_20(arg_06);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
- class_0A1E_slot_24(0x1000, arg_06);
- class_0A0C_slot_33(0x0205, *(arg_06));
+ ITEM.slot_24(0x1000, arg_06);
+ FREE.slot_33(0x0205, *(arg_06));
return;
}
else {
- class_0A1E_slot_24(0x1000, arg_06);
- class_0A0C_slot_33(0x0205, *(arg_06));
+ ITEM.slot_24(0x1000, arg_06);
+ FREE.slot_33(0x0205, *(arg_06));
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/LAZEREW/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/LAZEREW/slot_10_leaveFastArea.txt
index 293bf15..e279204 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/LAZEREW/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/LAZEREW/slot_10_leaveFastArea.txt
@@ -2,7 +2,7 @@ function lazerew_leaveFastArea() /* entry=83 class_id=0x019C slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A1E_slot_24(0x1000, arg_06);
- class_0A0C_slot_33(0x0205, *(arg_06));
+ ITEM.slot_24(0x1000, arg_06);
+ FREE.slot_33(0x0205, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/LAZEREW/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/LAZEREW/slot_20_slot_20.txt
index b4e761d..541f418 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/LAZEREW/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/LAZEREW/slot_20_slot_20.txt
@@ -15,7 +15,7 @@ function lazerew_slot_20() /* entry=83 class_id=0x019C slot=0x20 */
goto block_0322;
block_010F:
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
fram = Item.getFrame(arg_06);
block_012C:
@@ -35,14 +35,14 @@ function lazerew_slot_20() /* entry=83 class_id=0x019C slot=0x20 */
if (fram != 3) goto block_0294;
block_020F:
- spawn class_0A0C_slot_32(pid, 100, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 100, 0x00000000);
suspend;
goto block_02F0;
block_0294:
block_02F0:
- spawn class_0A0C_slot_32(pid, ((5 - Game.getDifficultyLevel()) * 20), 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, ((5 - Game.getDifficultyLevel()) * 20), 0x00000000);
suspend;
goto block_012C;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/LAZERNS/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/LAZERNS/slot_0A_equip.txt
index 0b7309f..91de4a7 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/LAZERNS/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/LAZERNS/slot_0A_equip.txt
@@ -4,20 +4,20 @@ function lazerns_equip() /* entry=82 class_id=0x019B slot=0x0A */
process_exclude();
if (Item.getFrame(arg_06) >= 4) {
if (arg_0A == 1) {
- spawn class_019B_slot_20(arg_06);
+ spawn LAZERNS.slot_20(arg_06);
return;
}
else if (arg_0A <= 1) {
- spawn class_019B_slot_20(arg_06);
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn LAZERNS.slot_20(arg_06);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
- class_0A1E_slot_24(0x1000, arg_06);
- class_0A0C_slot_33(0x0205, *(arg_06));
+ ITEM.slot_24(0x1000, arg_06);
+ FREE.slot_33(0x0205, *(arg_06));
return;
}
else {
- class_0A1E_slot_24(0x1000, arg_06);
- class_0A0C_slot_33(0x0205, *(arg_06));
+ ITEM.slot_24(0x1000, arg_06);
+ FREE.slot_33(0x0205, *(arg_06));
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/LAZERNS/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/LAZERNS/slot_10_leaveFastArea.txt
index c9adbad..8cb4da9 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/LAZERNS/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/LAZERNS/slot_10_leaveFastArea.txt
@@ -2,7 +2,7 @@ function lazerns_leaveFastArea() /* entry=82 class_id=0x019B slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A1E_slot_24(0x1000, arg_06);
- class_0A0C_slot_33(0x0205, *(arg_06));
+ ITEM.slot_24(0x1000, arg_06);
+ FREE.slot_33(0x0205, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/LAZERNS/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/LAZERNS/slot_20_slot_20.txt
index 07cc4c6..507c626 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/LAZERNS/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/LAZERNS/slot_20_slot_20.txt
@@ -15,7 +15,7 @@ function lazerns_slot_20() /* entry=82 class_id=0x019B slot=0x20 */
goto block_031F;
block_010F:
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
fram = Item.getFrame(arg_06);
block_012C:
@@ -35,14 +35,14 @@ function lazerns_slot_20() /* entry=82 class_id=0x019B slot=0x20 */
if (fram != 3) goto block_0294;
block_020F:
- spawn class_0A0C_slot_32(pid, 100, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 100, 0x00000000);
suspend;
goto block_02ED;
block_0294:
block_02ED:
- spawn class_0A0C_slot_32(pid, ((5 - Game.getDifficultyLevel()) * 20), 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, ((5 - Game.getDifficultyLevel()) * 20), 0x00000000);
suspend;
goto block_012C;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/LIFT/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/LIFT/slot_01_use.txt
index 10da83c..8921e4a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/LIFT/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/LIFT/slot_01_use.txt
@@ -3,14 +3,14 @@ function lift_use() /* entry=52 class_id=0x0133 slot=0x01 */
set_info(0x0207, *(arg_06));
process_exclude();
if (Item.getQuality(arg_06) == 10) {
- spawn class_0133_slot_20(pid, arg_06);
+ spawn LIFT.slot_20(pid, arg_06);
suspend;
/* global_address global_id=0x3C */
suspend;
return;
}
else if (Item.getQuality(arg_06) == 20) {
- spawn class_0133_slot_20(pid, arg_06);
+ spawn LIFT.slot_20(pid, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/LIFT/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/LIFT/slot_06_gotHit.txt
index de3d81d..d107d59 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/LIFT/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/LIFT/slot_06_gotHit.txt
@@ -9,7 +9,7 @@ function lift_gotHit() /* entry=52 class_id=0x0133 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
item = ref;
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
return;
}
@@ -19,7 +19,7 @@ function lift_gotHit() /* entry=52 class_id=0x0133 slot=0x06 */
else if (Item.getQuality(arg_06) == 1) {
/* global_address global_id=0x3C */
if (!Actor.isBusy()) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
@@ -33,7 +33,7 @@ function lift_gotHit() /* entry=52 class_id=0x0133 slot=0x06 */
suspend;
/* global_address global_id=0x3C */
suspend;
- spawn class_0133_slot_20(pid, arg_06);
+ spawn LIFT.slot_20(pid, arg_06);
suspend;
suspend;
suspend;
@@ -42,7 +42,7 @@ function lift_gotHit() /* entry=52 class_id=0x0133 slot=0x06 */
else if (Item.getQuality(arg_06) == 10) {
/* global_address global_id=0x3C */
if (!Actor.isBusy()) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
@@ -50,7 +50,7 @@ function lift_gotHit() /* entry=52 class_id=0x0133 slot=0x06 */
suspend;
/* global_address global_id=0x3C */
suspend;
- spawn class_0133_slot_20(pid, arg_06);
+ spawn LIFT.slot_20(pid, arg_06);
suspend;
suspend;
/* global_address global_id=0x3C */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/LIFT/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/LIFT/slot_0F_enterFastArea.txt
index f896738..90096f9 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/LIFT/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/LIFT/slot_0F_enterFastArea.txt
@@ -6,9 +6,9 @@ function lift_enterFastArea() /* entry=52 class_id=0x0133 slot=0x0F */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
- spawn class_0133_slot_20(arg_06);
+ spawn LIFT.slot_20(arg_06);
suspend;
return;
}
@@ -16,9 +16,9 @@ function lift_enterFastArea() /* entry=52 class_id=0x0133 slot=0x0F */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
- spawn class_0133_slot_20(arg_06);
+ spawn LIFT.slot_20(arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/LIFT/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/LIFT/slot_20_slot_20.txt
index b42dfb5..928ffc4 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/LIFT/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/LIFT/slot_20_slot_20.txt
@@ -31,7 +31,7 @@ function lift_slot_20() /* entry=52 class_id=0x0133 slot=0x20 */
cargo = Item.getEtherealTop();
counter = (1 + counter);
}
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
else {
diff --git a/USECODE/EUSECODE_extracted/pseudocode/LITEWALL/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/LITEWALL/slot_20_slot_20.txt
index 40aa31a..a5c0e77 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/LITEWALL/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/LITEWALL/slot_20_slot_20.txt
@@ -29,14 +29,14 @@ function litewall_slot_20() /* entry=386 class_id=0x0A10 slot=0x20 */
tempType = 0x0465;
}
while (counter >= 4) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
counter = (1 + counter);
}
- spawn class_0A0C_slot_32(pid, 3, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 3, 0x00000000);
suspend;
while (!counter) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
counter = (counter - 1);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/LITEWALL/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/LITEWALL/slot_21_slot_21.txt
index 6a3bce2..81c9330 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/LITEWALL/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/LITEWALL/slot_21_slot_21.txt
@@ -46,11 +46,11 @@ function litewall_slot_21() /* entry=386 class_id=0x0A10 slot=0x21 */
/* append_list */
/* free_local_list bp_offset=0xF8 target=[BP-08h] */
wallList = item;
- class_0A0C_slot_29(wallList, stepper, item);
+ FREE.slot_29(wallList, stepper, item);
if (retval < dist) goto block_03C9;
block_03B1:
- class_0A0C_slot_29(stepper, item);
+ FREE.slot_29(stepper, item);
dist = retval;
wall = item;
@@ -68,11 +68,11 @@ function litewall_slot_21() /* entry=386 class_id=0x0A10 slot=0x21 */
foreach_list item -> block_0412;
block_03FA:
- spawn class_0A10_slot_20(item, arg_06);
+ spawn LITEWALL.slot_20(item, arg_06);
goto block_03F5;
block_0412:
- spawn class_0A11_slot_2D(pid, Item.getDirFromItem(wall, stepper), wall, stepper);
+ spawn NPC.slot_2D(pid, Item.getDirFromItem(wall, stepper), wall, stepper);
suspend;
block_044D:
diff --git a/USECODE/EUSECODE_extracted/pseudocode/LUGGAGE/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/LUGGAGE/slot_06_gotHit.txt
index dd178b0..896281d 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/LUGGAGE/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/LUGGAGE/slot_06_gotHit.txt
@@ -8,19 +8,19 @@ function luggage_gotHit() /* entry=22 class_id=0x008F slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
- spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 100, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
+ spawn ITEM.slot_28(pid, 0, 0, arg_06);
suspend;
if (Item.getFrame(arg_06) == 1) {
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/LWPLATE4/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/LWPLATE4/slot_06_gotHit.txt
index 260be5c..1ba34d4 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/LWPLATE4/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/LWPLATE4/slot_06_gotHit.txt
@@ -8,14 +8,14 @@ function lwplate4_gotHit() /* entry=254 class_id=0x0466 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, r);
+ FREE.slot_2C(vel, r);
if (!retval) {
return;
}
else {
item = r;
if (r == 1) {
- spawn class_0A10_slot_21(pid, r, arg_06);
+ spawn LITEWALL.slot_21(pid, r, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/LWPLATE8/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/LWPLATE8/slot_06_gotHit.txt
index 32bf131..b080354 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/LWPLATE8/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/LWPLATE8/slot_06_gotHit.txt
@@ -8,14 +8,14 @@ function lwplate8_gotHit() /* entry=255 class_id=0x0467 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, r);
+ FREE.slot_2C(vel, r);
if (!retval) {
return;
}
else {
item = r;
if (r == 1) {
- spawn class_0A10_slot_21(pid, r, arg_06);
+ spawn LITEWALL.slot_21(pid, r, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/L_EW-16/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/L_EW-16/slot_06_gotHit.txt
index 86c1ec8..431273f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/L_EW-16/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/L_EW-16/slot_06_gotHit.txt
@@ -8,10 +8,10 @@ function l_ew_16_gotHit() /* entry=106 class_id=0x01D3 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
if (ref == getTargetNPCNumMaybe()) {
- spawn class_0A0F_slot_20(arg_06);
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn LAZER.slot_20(arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/L_EW-2/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/L_EW-2/slot_06_gotHit.txt
index 50107bf..7c2c0e4 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/L_EW-2/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/L_EW-2/slot_06_gotHit.txt
@@ -8,10 +8,10 @@ function l_ew_2_gotHit() /* entry=103 class_id=0x01D0 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
if (ref == getTargetNPCNumMaybe()) {
- spawn class_0A0F_slot_20(arg_06);
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn LAZER.slot_20(arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/L_EW-4/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/L_EW-4/slot_06_gotHit.txt
index 994344d..1775938 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/L_EW-4/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/L_EW-4/slot_06_gotHit.txt
@@ -8,10 +8,10 @@ function l_ew_4_gotHit() /* entry=104 class_id=0x01D1 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
if (ref == getTargetNPCNumMaybe()) {
- spawn class_0A0F_slot_20(arg_06);
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn LAZER.slot_20(arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/L_EW-8/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/L_EW-8/slot_06_gotHit.txt
index 3a971e5..a654016 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/L_EW-8/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/L_EW-8/slot_06_gotHit.txt
@@ -8,10 +8,10 @@ function l_ew_8_gotHit() /* entry=105 class_id=0x01D2 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
if (ref == getTargetNPCNumMaybe()) {
- spawn class_0A0F_slot_20(arg_06);
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn LAZER.slot_20(arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/L_NS-16/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/L_NS-16/slot_06_gotHit.txt
index f714be2..f229300 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/L_NS-16/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/L_NS-16/slot_06_gotHit.txt
@@ -8,10 +8,10 @@ function l_ns_16_gotHit() /* entry=102 class_id=0x01CF slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
if (ref == getTargetNPCNumMaybe()) {
- spawn class_0A0F_slot_20(arg_06);
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn LAZER.slot_20(arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/L_NS-2/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/L_NS-2/slot_06_gotHit.txt
index ccd92e8..b8366c0 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/L_NS-2/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/L_NS-2/slot_06_gotHit.txt
@@ -8,10 +8,10 @@ function l_ns_2_gotHit() /* entry=98 class_id=0x01CB slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
if (ref == getTargetNPCNumMaybe()) {
- spawn class_0A0F_slot_20(arg_06);
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn LAZER.slot_20(arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/L_NS-4/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/L_NS-4/slot_06_gotHit.txt
index 7c1b66c..3aba75d 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/L_NS-4/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/L_NS-4/slot_06_gotHit.txt
@@ -8,10 +8,10 @@ function l_ns_4_gotHit() /* entry=99 class_id=0x01CC slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
if (ref == getTargetNPCNumMaybe()) {
- spawn class_0A0F_slot_20(arg_06);
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn LAZER.slot_20(arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/L_NS-8/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/L_NS-8/slot_06_gotHit.txt
index c051342..4edba63 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/L_NS-8/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/L_NS-8/slot_06_gotHit.txt
@@ -8,10 +8,10 @@ function l_ns_8_gotHit() /* entry=101 class_id=0x01CE slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
if (ref == getTargetNPCNumMaybe()) {
- spawn class_0A0F_slot_20(arg_06);
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn LAZER.slot_20(arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MAINTMAN/slot_0E_calledFromAnim.txt b/USECODE/EUSECODE_extracted/pseudocode/MAINTMAN/slot_0E_calledFromAnim.txt
index 88c859a..6c86a1f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MAINTMAN/slot_0E_calledFromAnim.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MAINTMAN/slot_0E_calledFromAnim.txt
@@ -2,6 +2,6 @@ function maintman_calledFromAnim() /* entry=164 class_id=0x02F5 slot=0x0E */
{
set_info(0x021A, *(arg_06));
process_exclude();
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MBARREL/slot_05_hit.txt b/USECODE/EUSECODE_extracted/pseudocode/MBARREL/slot_05_hit.txt
index d0d3e44..44b1ae6 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MBARREL/slot_05_hit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MBARREL/slot_05_hit.txt
@@ -14,11 +14,11 @@ function mbarrel_hit() /* entry=113 class_id=0x01DD slot=0x05 */
process_exclude();
v = vel;
if (vel < 10) {
- class_0A0C_slot_20(3);
+ FREE.slot_20(3);
r1 = retval;
- class_0A0C_slot_20(3);
+ FREE.slot_20(3);
r2 = retval;
- spawn class_0A1E_slot_2A(pid, arg_06);
+ spawn ITEM.slot_2A(pid, arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MBARREL/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/MBARREL/slot_06_gotHit.txt
index a5468f4..78c890a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MBARREL/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MBARREL/slot_06_gotHit.txt
@@ -13,11 +13,11 @@ function mbarrel_gotHit() /* entry=113 class_id=0x01DD slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 100, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
@@ -27,9 +27,9 @@ function mbarrel_gotHit() /* entry=113 class_id=0x01DD slot=0x06 */
x = Item.getX(arg_06);
y = Item.getY(arg_06);
qLo = Item.getQLo(arg_06);
- spawn class_0A1E_slot_2A(pid, arg_06);
+ spawn ITEM.slot_2A(pid, arg_06);
suspend;
- class_0A0C_slot_20(3);
+ FREE.slot_20(3);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MCRATE/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/MCRATE/slot_06_gotHit.txt
index d18d9b8..3b855de 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MCRATE/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MCRATE/slot_06_gotHit.txt
@@ -11,13 +11,13 @@ function mcrate_gotHit() /* entry=231 class_id=0x0432 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
- spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 100, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
@@ -28,12 +28,12 @@ function mcrate_gotHit() /* entry=231 class_id=0x0432 slot=0x06 */
z = Item.getZ(arg_06);
set_info(1, 0);
if (Item.getFrame(arg_06) == 0) {
- spawn class_0A1E_slot_28(pid, 1, 0, arg_06);
+ spawn ITEM.slot_28(pid, 1, 0, arg_06);
suspend;
return;
}
else if (Item.getFrame(arg_06) == 1) {
- spawn class_0A1E_slot_28(pid, 1, 1, arg_06);
+ spawn ITEM.slot_28(pid, 1, 1, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MDESKEW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/MDESKEW/slot_06_gotHit.txt
index bb1e09a..27b4a13 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MDESKEW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MDESKEW/slot_06_gotHit.txt
@@ -14,17 +14,17 @@ function mdeskew_gotHit() /* entry=107 class_id=0x01D4 slot=0x06 */
return;
}
else {
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval == 4) {
/* loopscr value_u8=0x24 */
/* loop current_var=0xFC string_bytes=0x1 loop_type=0x6 */
while (!condition) {
- class_0A0C_slot_20(1, 10);
- class_0A0C_slot_20((retval + 10), 10);
- class_0A0C_slot_20(retval, 10);
+ FREE.slot_20(1, 10);
+ FREE.slot_20((retval + 10), 10);
+ FREE.slot_20(retval, 10);
/* loopnext */
}
- spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
+ spawn ITEM.slot_28(pid, 0, 1, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MDESKNS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/MDESKNS/slot_06_gotHit.txt
index 73f819a..865c783 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MDESKNS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MDESKNS/slot_06_gotHit.txt
@@ -14,17 +14,17 @@ function mdeskns_gotHit() /* entry=112 class_id=0x01DC slot=0x06 */
return;
}
else {
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval == 4) {
/* loopscr value_u8=0x24 */
/* loop current_var=0xFC string_bytes=0x1 loop_type=0x6 */
while (!condition) {
- class_0A0C_slot_20(1, 10);
- class_0A0C_slot_20((retval + 10), 10);
- class_0A0C_slot_20(retval, 10);
+ FREE.slot_20(1, 10);
+ FREE.slot_20((retval + 10), 10);
+ FREE.slot_20(retval, 10);
/* loopnext */
}
- spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
+ spawn ITEM.slot_28(pid, 0, 1, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MDOOR_E/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/MDOOR_E/slot_06_gotHit.txt
index 04439ed..6fffd61 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MDOOR_E/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MDOOR_E/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function mdoor_e_gotHit() /* entry=7 class_id=0x0046 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A06_slot_23(pid, vel, ref, arg_06);
+ spawn DOOR.slot_23(pid, vel, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MDOOR_E/slot_13_avatarStoleSomething.txt b/USECODE/EUSECODE_extracted/pseudocode/MDOOR_E/slot_13_avatarStoleSomething.txt
index e128ece..1ad5949 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MDOOR_E/slot_13_avatarStoleSomething.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MDOOR_E/slot_13_avatarStoleSomething.txt
@@ -10,7 +10,7 @@ function mdoor_e_avatarStoleSomething() /* entry=7 class_id=0x0046 slot=0x13 */
set_info(0x022E, *(arg_06));
process_exclude();
door = *(arg_06);
- spawn class_0A06_slot_22(pid, door);
+ spawn DOOR.slot_22(pid, door);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MDOOR_N/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/MDOOR_N/slot_06_gotHit.txt
index 0a2f752..bea6e4e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MDOOR_N/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MDOOR_N/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function mdoor_n_gotHit() /* entry=33 class_id=0x00A9 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A06_slot_23(pid, vel, ref, arg_06);
+ spawn DOOR.slot_23(pid, vel, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MDOOR_N/slot_13_avatarStoleSomething.txt b/USECODE/EUSECODE_extracted/pseudocode/MDOOR_N/slot_13_avatarStoleSomething.txt
index d09b78a..02dfb38 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MDOOR_N/slot_13_avatarStoleSomething.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MDOOR_N/slot_13_avatarStoleSomething.txt
@@ -10,7 +10,7 @@ function mdoor_n_avatarStoleSomething() /* entry=33 class_id=0x00A9 slot=0x13 */
set_info(0x022E, *(arg_06));
process_exclude();
door = *(arg_06);
- spawn class_0A06_slot_22(pid, door);
+ spawn DOOR.slot_22(pid, door);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MEDIKIT/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/MEDIKIT/slot_01_use.txt
index 438eedc..0a19aa0 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MEDIKIT/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MEDIKIT/slot_01_use.txt
@@ -9,19 +9,19 @@ function medikit_use() /* entry=188 class_id=0x0351 slot=0x01 */
set_info(0x00F0, 0);
/* global_address global_id=0x3C */
if (Actor.getHp() < 0x0096) {
- spawn class_0A0C_slot_21(pid, 0x00B0, 0x00000000);
+ spawn FREE.slot_21(pid, 0x00B0, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
if (!Actor.addHp(80)) {
- spawn class_0A0C_slot_21(pid, 0x00DB, 0x00000000);
+ spawn FREE.slot_21(pid, 0x00DB, 0x00000000);
suspend;
}
else {
- spawn class_0A0C_slot_21(pid, 0x00B0, 0x00000000);
+ spawn FREE.slot_21(pid, 0x00B0, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MELF/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/MELF/slot_01_use.txt
index 101faed..f93d321 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MELF/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MELF/slot_01_use.txt
@@ -19,7 +19,7 @@ function melf_use() /* entry=219 class_id=0x03BB slot=0x01 */
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
/* pop_global global_id=0x24 size=0x1 */
/* loopscr value_u8=0x24 */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MFAN_EW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/MFAN_EW/slot_06_gotHit.txt
index b8eda37..107724c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MFAN_EW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MFAN_EW/slot_06_gotHit.txt
@@ -7,10 +7,10 @@ function mfan_ew_gotHit() /* entry=120 class_id=0x0200 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
- class_0A0C_slot_20(1);
- spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
+ FREE.slot_20(1);
+ spawn ITEM.slot_28(pid, 0, 1, arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MFAN_NS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/MFAN_NS/slot_06_gotHit.txt
index d29a25a..1165163 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MFAN_NS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MFAN_NS/slot_06_gotHit.txt
@@ -7,10 +7,10 @@ function mfan_ns_gotHit() /* entry=119 class_id=0x01FF slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
- class_0A0C_slot_20(1);
- spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
+ FREE.slot_20(1);
+ spawn ITEM.slot_28(pid, 0, 1, arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MGR_EW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/MGR_EW/slot_06_gotHit.txt
index 9afa374..1fc8bbf 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MGR_EW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MGR_EW/slot_06_gotHit.txt
@@ -11,12 +11,12 @@ function mgr_ew_gotHit() /* entry=147 class_id=0x02AE slot=0x06 */
return;
}
else {
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
- class_0A1E_slot_23(0x1000, arg_06);
- spawn class_0A0C_slot_32(pid, 20, 0x00000000);
+ ITEM.slot_23(0x1000, arg_06);
+ spawn FREE.waitNTimerTicks(pid, 20, 0x00000000);
suspend;
- class_0A1E_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MGR_NS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/MGR_NS/slot_06_gotHit.txt
index c1f8e66..2d62431 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MGR_NS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MGR_NS/slot_06_gotHit.txt
@@ -11,12 +11,12 @@ function mgr_ns_gotHit() /* entry=141 class_id=0x0294 slot=0x06 */
return;
}
else {
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
- class_0A1E_slot_23(0x1000, arg_06);
- spawn class_0A0C_slot_32(pid, 20, 0x00000000);
+ ITEM.slot_23(0x1000, arg_06);
+ spawn FREE.waitNTimerTicks(pid, 20, 0x00000000);
suspend;
- class_0A1E_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS10/slot_07_hatch.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS10/slot_07_hatch.txt
index bdd8ad2..8a45a3f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS10/slot_07_hatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS10/slot_07_hatch.txt
@@ -8,7 +8,7 @@ function miss10_hatch() /* entry=362 class_id=0x0916 slot=0x07 */
process_exclude();
if (Egg.getEggId(arg_06) == 1) {
if (global[0x0029] == 1) {
- spawn class_0A0C_slot_26(pid, "10g", 0x00000000);
+ spawn FREE.slot_26(pid, "10g", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS11/slot_07_hatch.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS11/slot_07_hatch.txt
index a39df5d..adc4c0b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS11/slot_07_hatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS11/slot_07_hatch.txt
@@ -3,7 +3,7 @@ function miss11_hatch() /* entry=363 class_id=0x0917 slot=0x07 */
set_info(0x0210, *(arg_06));
process_exclude();
if (Egg.getEggId(arg_06) == 1) {
- spawn class_0A0C_slot_26(pid, "11f", 0x00000000);
+ spawn FREE.slot_26(pid, "11f", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
/* pop_global global_id=0x35 size=0x1 */
@@ -11,7 +11,7 @@ function miss11_hatch() /* entry=363 class_id=0x0917 slot=0x07 */
}
else if (Egg.getEggId(arg_06) == 2) {
if (!(global[0x002A])) {
- spawn class_0A0C_slot_26(pid, "11g", 0x00000000);
+ spawn FREE.slot_26(pid, "11g", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS12/slot_07_hatch.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS12/slot_07_hatch.txt
index 2dce339..ef7f14a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS12/slot_07_hatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS12/slot_07_hatch.txt
@@ -11,12 +11,12 @@ function miss12_hatch() /* entry=364 class_id=0x0918 slot=0x07 */
id = Egg.getEggId(arg_06);
if (!id) {
if (!(global[0x002B])) {
- spawn class_0A0C_slot_26(pid, "12e", 0x00000000);
+ spawn FREE.slot_26(pid, "12e", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
item = *(arg_06);
qlo = Item.getQLo(item);
- spawn class_0A18_slot_20(pid, (0 + 0x0080), item, arg_06);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), item, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS13/slot_07_hatch.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS13/slot_07_hatch.txt
index df6f113..2b10ef7 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS13/slot_07_hatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS13/slot_07_hatch.txt
@@ -6,8 +6,8 @@ function miss13_hatch() /* entry=365 class_id=0x0919 slot=0x07 */
return;
}
else if (Egg.getEggId(arg_06) == 2) {
- class_0A0C_slot_41();
- spawn class_0919_slot_20(pid, arg_06);
+ FREE.slot_41();
+ spawn MISS13.slot_20(pid, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS13/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS13/slot_20_slot_20.txt
index ad69214..8a00d65 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS13/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS13/slot_20_slot_20.txt
@@ -15,26 +15,17 @@ function miss13_slot_20() /* entry=365 class_id=0x0919 slot=0x20 */
set_info(1, 0);
/* global_address global_id=0x3C */
while (!Actor.isBusy()) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
wench = 0;
door = 0;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF6 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector npcWench in nearby_items(shape=0x0524, origin=global[0x003C]) */
while (!condition) {
wench = npcWench;
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=PRISON_BARS_DOOR, origin=global[0x003C]) {
if (Item.getQLo(item) == 4) {
return;
}
@@ -42,67 +33,61 @@ function miss13_slot_20() /* entry=365 class_id=0x0919 slot=0x20 */
}
if (!wench) {
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=door_shape_00a9, origin=global[0x003C]) */
while (!condition) {
- class_0A0C_slot_29(item, global[0x003C]);
+ FREE.slot_29(item, global[0x003C]);
while ((retval > 3) && (counter == 20)) {
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(Item.getDirFromTo16(Item.getX(pid, 1, Item.getY(Item.getY(wench), Item.getX(wench)))));
+ spawn NPC.slot_22(Item.getDirFromTo16(Item.getX(pid, 1, Item.getY(Item.getY(wench), Item.getX(wench)))));
suspend;
counter = (1 + counter);
}
door = item;
- spawn class_0A06_slot_20(pid, door);
+ spawn DOOR.slot_20(pid, door);
suspend;
/* loopnext */
}
/* global_address global_id=0x3C */
suspend;
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(pid, 3, 0);
+ spawn NPC.slot_22(pid, 3, 0);
suspend;
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(pid, 2, 14);
+ spawn NPC.slot_22(pid, 2, 14);
suspend;
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(pid, 4, 12);
+ spawn NPC.slot_22(pid, 4, 12);
suspend;
suspend;
/* str_to_ptr */
/* global_address global_id=0x3C */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
- spawn class_0A11_slot_22(pid, 6, 4, wench);
+ spawn NPC.slot_22(pid, 6, 4, wench);
suspend;
- spawn class_0A11_slot_22(pid, 3, 4, wench);
+ spawn NPC.slot_22(pid, 3, 4, wench);
suspend;
suspend;
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(pid, 2, 4);
+ spawn NPC.slot_22(pid, 2, 4);
suspend;
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x0329, arg1=0x032A, arg2=(15 * 32), origin=global[0x003C]) */
while (!condition) {
/* loopnext */
}
- spawn class_0A11_slot_22(pid, 3, 0, wench);
+ spawn NPC.slot_22(pid, 3, 0, wench);
suspend;
/* global_address global_id=0x3C */
suspend;
suspend;
- spawn class_0A11_slot_24(pid, wench);
+ spawn NPC.slot_24(pid, wench);
suspend;
- spawn class_0A0C_slot_32(pid, 15, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 15, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS14/slot_07_hatch.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS14/slot_07_hatch.txt
index 76b5c75..5e62965 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS14/slot_07_hatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS14/slot_07_hatch.txt
@@ -9,12 +9,12 @@ function miss14_hatch() /* entry=366 class_id=0x091A slot=0x07 */
if (Egg.getEggId(arg_06) == 1) {
/* global_address global_id=0x3C */
while (!Actor.isBusy()) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_3C(pid, 0x00000000);
+ spawn FREE.slot_3C(pid, 0x00000000);
suspend;
- class_0A0C_slot_41();
+ FREE.slot_41();
counter = 1;
while (counter > 8) {
/* global_address global_id=0x3C */
@@ -37,13 +37,13 @@ function miss14_hatch() /* entry=366 class_id=0x091A slot=0x07 */
}
else if (Egg.getEggId(arg_06) == 2) {
/* pop_global global_id=0x2D size=0x1 */
- spawn class_0A0C_slot_26(1, pid, "14d", 0x00000000);
+ spawn FREE.slot_26(1, pid, "14d", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
return;
}
else if (Egg.getEggId(arg_06) == 3) {
- spawn class_0A0C_slot_26(pid, "14e", 0x00000000);
+ spawn FREE.slot_26(pid, "14e", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS15/slot_07_hatch.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS15/slot_07_hatch.txt
index 875a07f..5727e14 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS15/slot_07_hatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS15/slot_07_hatch.txt
@@ -10,7 +10,7 @@ function miss15_hatch() /* entry=367 class_id=0x091B slot=0x07 */
set_info(0x0210, *(arg_06));
process_exclude();
if (Egg.getEggId(arg_06) == 1) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
@@ -18,17 +18,13 @@ function miss15_hatch() /* entry=367 class_id=0x091B slot=0x07 */
/* global_address global_id=0x3C */
suspend;
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector door in nearby_items(shape=51, origin=arg_06) */
while (!condition) {
- spawn class_0A06_slot_21(pid, 1, door);
+ spawn DOOR.slot_21(pid, 1, door);
suspend;
/* loopnext */
}
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
/* global_address global_id=0x3C */
suspend;
@@ -43,7 +39,7 @@ function miss15_hatch() /* entry=367 class_id=0x091B slot=0x07 */
return;
}
else if (Egg.getEggId(arg_06) == 2) {
- spawn class_0A0C_slot_26(pid, "15c", 0x00000000);
+ spawn FREE.slot_26(pid, "15c", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
return;
@@ -51,22 +47,18 @@ function miss15_hatch() /* entry=367 class_id=0x091B slot=0x07 */
else if (Egg.getEggId(arg_06) == 3) {
/* global_address global_id=0x3C */
while (!Actor.isBusy()) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
- class_0A0C_slot_41();
+ FREE.slot_41();
/* global_address global_id=0x3C */
suspend;
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF8 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector n in nearby_items(shape=npcdeath_shape_03ac, origin=arg_06) */
while (!condition) {
/* loopnext */
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_04_cachein.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_04_cachein.txt
index 7ded284..5c54bcb 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_04_cachein.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_04_cachein.txt
@@ -11,7 +11,7 @@ function miss1egg_cachein() /* entry=353 class_id=0x090D slot=0x04 */
process_exclude();
if (Egg.getEggId(arg_06) == 30) {
if (Game.isReleaseBuild()) {
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
/* pop_global global_id=0x1F size=0x1 */
/* global_address global_id=0x3C */
@@ -24,10 +24,10 @@ function miss1egg_cachein() /* entry=353 class_id=0x090D slot=0x04 */
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
suspend;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_07_hatch.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_07_hatch.txt
index 5c0aab9..283c634 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_07_hatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_07_hatch.txt
@@ -10,37 +10,33 @@ function miss1egg_hatch() /* entry=353 class_id=0x090D slot=0x07 */
set_info(0x0210, *(arg_06));
process_exclude();
if (Egg.getEggId(arg_06) == 1) {
- spawn class_090D_slot_21(arg_06);
+ spawn MISS1EGG.slot_21(arg_06);
/* global_address global_id=0x3C */
- spawn class_0A11_slot_23(pid);
+ spawn NPC.slot_23(pid);
suspend;
return;
}
else if (Egg.getEggId(arg_06) == 2) {
if (global[0x003B]) {
/* pop_global global_id=0x3B size=0x1 */
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector buster in nearby_items(shape=NPC_TECH, origin=arg_06) */
while (!condition) {
- class_0A1E_slot_23(4, buster);
- spawn class_090D_slot_22(buster, arg_06);
+ ITEM.slot_23(4, buster);
+ spawn MISS1EGG.slot_22(buster, arg_06);
/* loopnext */
}
}
return;
}
else if (Egg.getEggId(arg_06) == 3) {
- class_0A0C_slot_41();
- spawn class_090D_slot_23(pid, arg_06);
+ FREE.slot_41();
+ spawn MISS1EGG.slot_23(pid, arg_06);
suspend;
return;
}
else if (Egg.getEggId(arg_06) == 7) {
- class_0A0C_slot_41();
- spawn class_090D_slot_20(pid, arg_06);
+ FREE.slot_41();
+ spawn MISS1EGG.slot_20(pid, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_20_slot_20.txt
index 4f1bdee..399b6cf 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_20_slot_20.txt
@@ -10,37 +10,30 @@ function miss1egg_slot_20() /* entry=353 class_id=0x090D slot=0x20 */
set_info(0x00F0, *(arg_06));
/* global_address global_id=0x3C */
while (!Actor.isBusy()) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector eTrigger in nearby_items(shape=PLACEHOLDER_CUBE_RED_BLACK, origin=global[0x003C]) */
while (!condition) {
/* global_address global_id=0x3C */
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in selector_0x42(arg0=0x032A, arg1=0x0329, arg2=(100 * 32), origin=global[0x003C]) {
/* loopnext */
}
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(pid, 5, 8);
+ spawn NPC.slot_22(pid, 5, 8);
suspend;
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(pid, 8, 6);
+ spawn NPC.slot_22(pid, 8, 6);
suspend;
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(pid, 2, 8);
+ spawn NPC.slot_22(pid, 2, 8);
suspend;
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(pid, 2, 12);
+ spawn NPC.slot_22(pid, 2, 12);
suspend;
/* global_address global_id=0x3C */
suspend;
@@ -62,64 +55,47 @@ function miss1egg_slot_20() /* entry=353 class_id=0x090D slot=0x20 */
suspend;
counter = 1;
while (counter > 5) {
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
counter = (1 + counter);
}
- spawn class_0A1E_slot_28(pid, 1, 1, pac);
+ spawn ITEM.slot_28(pid, 1, 1, pac);
suspend;
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=REACTOR, origin=global[0x003C]) */
while (!condition) {
- spawn class_0A1E_slot_28(pid, 0, 2, item);
+ spawn ITEM.slot_28(pid, 0, 2, item);
suspend;
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
- spawn class_0A1E_slot_28(pid, 1, 0, item);
+ for item in nearby_items(shape=REACTOR_CELL, origin=global[0x003C]) {
+ spawn ITEM.slot_28(pid, 1, 0, item);
suspend;
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
/* loopnext */
}
- spawn class_0A0C_slot_3B(0x00000000);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
+ spawn FREE.slot_3B(0x00000000);
+ /* loop_selector item in nearby_items(shape=NUMBERS, origin=global[0x003C]) */
while (!condition) {
- spawn class_0A0C_slot_32(UCMachine.rndRange(pid, 20, 10), 0x00000000);
+ spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 20, 10), 0x00000000);
suspend;
/* loopnext */
}
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=ELECTRODE, origin=global[0x003C]) */
while (!condition) {
- spawn class_0A1E_slot_28(pid, 0, 0, item);
+ spawn ITEM.slot_28(pid, 0, 0, item);
suspend;
- spawn class_0A0C_slot_32(UCMachine.rndRange(pid, 10, 5), 0x00000000);
+ spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 10, 5), 0x00000000);
suspend;
/* loopnext */
}
- spawn class_0A0C_slot_32(pid, 0x00C8, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x00C8, 0x00000000);
suspend;
- spawn class_0A0C_slot_26(pid, "1c", 0x00000000);
+ spawn FREE.slot_26(pid, "1c", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_21_slot_21.txt
index db63815..a57c8c8 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_21_slot_21.txt
@@ -5,17 +5,13 @@ function miss1egg_slot_21() /* entry=353 class_id=0x090D slot=0x21 */
buster; /* [BP-02h] type=0x24 */
set_info(1, 0);
- spawn class_0A0C_slot_32(pid, ((5 - Game.getDifficultyLevel()) * 100), 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, ((5 - Game.getDifficultyLevel()) * 100), 0x00000000);
suspend;
if (global[0x003B]) {
/* pop_global global_id=0x3B size=0x1 */
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector buster in nearby_items(shape=NPC_TECH, origin=global[0x003C]) */
while (!condition) {
- spawn class_090D_slot_22(buster, arg_06);
+ spawn MISS1EGG.slot_22(buster, arg_06);
/* loopnext */
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_22_slot_22.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_22_slot_22.txt
index 4227029..2afbc6e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_22_slot_22.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_22_slot_22.txt
@@ -7,14 +7,14 @@ function miss1egg_slot_22() /* entry=353 class_id=0x090D slot=0x22 */
counter; /* [BP-04h] type=0x69 */
set_info(1, buster);
- class_0A0C_slot_33(buster, 0x0205);
+ FREE.slot_33(buster, 0x0205);
rubberSuit = buster;
if (!Actor.isDead(rubberSuit)) {
return;
}
else {
suspend;
- spawn class_0A11_slot_2A(pid, 0x00B4, rubberSuit);
+ spawn NPC.slot_2A(pid, 0x00B4, rubberSuit);
suspend;
if (!Actor.isDead(rubberSuit)) {
return;
@@ -33,10 +33,10 @@ function miss1egg_slot_22() /* entry=353 class_id=0x090D slot=0x22 */
if ((Actor.getInCombat(rubberSuit) == 0) && (Actor.isDead(rubberSuit) != 0)) {
suspend;
}
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
if ((Actor.getInCombat(rubberSuit) == 0) || (Actor.isDead(rubberSuit) != 0)) {
- spawn class_0A0C_slot_3B(0x00000000);
+ spawn FREE.slot_3B(0x00000000);
}
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_23_slot_23.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_23_slot_23.txt
index a17c7ef..45af062 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_23_slot_23.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_23_slot_23.txt
@@ -9,12 +9,8 @@ function miss1egg_slot_23() /* entry=353 class_id=0x090D slot=0x23 */
door; /* [BP-0Ah] type=0x24 */
set_info(0x0001, *(arg_06));
- spawn class_090D_slot_25(arg_06);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ spawn MISS1EGG.slot_25(arg_06);
+ /* loop_selector item in nearby_items(shape=0x04E0, origin=global[0x003C]) */
while (!condition) {
n = item;
/* loopnext */
@@ -24,36 +20,28 @@ function miss1egg_slot_23() /* entry=353 class_id=0x090D slot=0x23 */
}
else {
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=door_shape_007b, origin=arg_06) */
while (!condition) {
if (Item.getQLo(item) == 23) {
door = item;
- spawn class_0A06_slot_20(pid, door);
+ spawn DOOR.slot_20(pid, door);
suspend;
}
/* loopnext */
}
- spawn class_0A11_slot_22(pid, 5, 4, n);
+ spawn NPC.slot_22(pid, 5, 4, n);
suspend;
suspend;
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
- spawn class_0A0C_slot_3B(0x00000000);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF8 string_bytes=0x6 loop_type=0x2 */
+ spawn FREE.slot_3B(0x00000000);
+ /* loop_selector guardBoy in nearby_items(shape=npcdeath_shape_02fd, origin=global[0x003C]) */
while (!condition) {
/* loopnext */
}
/* pop_global global_id=0x2F size=0x1 */
- spawn class_090D_slot_24(1, pid, n, arg_06);
+ spawn MISS1EGG.slot_24(1, pid, n, arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_24_slot_24.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_24_slot_24.txt
index 4d41ac3..44167fa 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_24_slot_24.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_24_slot_24.txt
@@ -7,23 +7,19 @@ function miss1egg_slot_24() /* entry=353 class_id=0x090D slot=0x24 */
set_info(0x0001, *(arg_06));
set_info(1, 0);
- spawn class_0A11_slot_22(pid, 5, 0, n);
+ spawn NPC.slot_22(pid, 5, 0, n);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector door in nearby_items(shape=0x00C2, origin=n) */
while (!condition) {
if (Item.getQLo(door) == 21) {
- spawn class_0A06_slot_20(pid, door);
+ spawn DOOR.slot_20(pid, door);
suspend;
}
/* loopnext */
}
- spawn class_0A11_slot_21(pid, 3, n);
+ spawn NPC.slot_21(pid, 3, n);
suspend;
- spawn class_0A11_slot_21(pid, 2, n);
+ spawn NPC.slot_21(pid, 2, n);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_07_hatch.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_07_hatch.txt
index df695d6..0458d51 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_07_hatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_07_hatch.txt
@@ -3,25 +3,25 @@ function miss2_hatch() /* entry=354 class_id=0x090E slot=0x07 */
set_info(0x0210, *(arg_06));
process_exclude();
if (Egg.getEggId(arg_06) == 1) {
- class_0A0C_slot_41();
- spawn class_090E_slot_28(pid, arg_06);
+ FREE.slot_41();
+ spawn MISS2.slot_28(pid, arg_06);
suspend;
/* pop_global global_id=0x21 size=0x1 */
return;
}
else if (Egg.getEggId(arg_06) == 2) {
- class_0A0C_slot_41();
- spawn class_090E_slot_29(pid, arg_06);
+ FREE.slot_41();
+ spawn MISS2.slot_29(pid, arg_06);
suspend;
return;
}
else if (Egg.getEggId(arg_06) == 3) {
- spawn class_090E_slot_2A(pid, arg_06);
+ spawn MISS2.slot_2A(pid, arg_06);
suspend;
return;
}
else if (Egg.getEggId(arg_06) == 4) {
- spawn class_090E_slot_2B(pid, arg_06);
+ spawn MISS2.slot_2B(pid, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_20_slot_20.txt
index 5eaf265..a6af9e5 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_20_slot_20.txt
@@ -15,15 +15,10 @@ function miss2_slot_20() /* entry=354 class_id=0x090E slot=0x20 */
inc = -1;
}
while (counter == 2) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=0x04D5, origin=global[0x003C]) {
/* loopnext */
}
- spawn class_0A0C_slot_32(pid, 3, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 3, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_21_slot_21.txt
index 4fa84de..9c95f01 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_21_slot_21.txt
@@ -1,7 +1,7 @@
function miss2_slot_21() /* entry=354 class_id=0x090E slot=0x21 */
{
set_info(1, 0);
- spawn class_0A11_slot_22(pid, 11, 0, arg_06);
+ spawn NPC.slot_22(pid, 11, 0, arg_06);
suspend;
suspend;
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_22_slot_22.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_22_slot_22.txt
index d4aaffe..e91a534 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_22_slot_22.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_22_slot_22.txt
@@ -3,18 +3,18 @@ function miss2_slot_22() /* entry=354 class_id=0x090E slot=0x22 */
set_info(1, 0);
if (Item.getFrame(arg_06) == 9) {
while (Item.getFrame(arg_06) == 9) {
- spawn class_0A0C_slot_32(pid, 8, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 8, 0x00000000);
suspend;
}
}
else {
while (Item.getFrame(arg_06) == 2) {
- spawn class_0A0C_slot_32(pid, 8, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 8, 0x00000000);
suspend;
}
}
while (!AudioProcess.isSFXPlayingForObject(81, arg_06)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_23_slot_23.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_23_slot_23.txt
index b2c2a32..601047b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_23_slot_23.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_23_slot_23.txt
@@ -12,12 +12,7 @@ function miss2_slot_23() /* entry=354 class_id=0x090E slot=0x23 */
done1 = 0;
done2 = 0;
while (((done0 == 0) || (done1 != 0)) || (done2 != 0)) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=0x04D5, origin=global[0x003C]) {
activate = 0;
if (done0) {
if (Item.getQLo(item) == 0) {
@@ -39,12 +34,12 @@ function miss2_slot_23() /* entry=354 class_id=0x090E slot=0x23 */
}
if (!activate) {
if (done2) {
- spawn class_090E_slot_22(item, 0x00000000);
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn MISS2.slot_22(item, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
}
else {
- spawn class_090E_slot_22(pid, item, 0x00000000);
+ spawn MISS2.slot_22(pid, item, 0x00000000);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_24_slot_24.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_24_slot_24.txt
index b2a4826..0d8f5e4 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_24_slot_24.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_24_slot_24.txt
@@ -4,7 +4,7 @@ function miss2_slot_24() /* entry=354 class_id=0x090E slot=0x24 */
while (!arg_06) {
/* global_address global_id=0x3C */
arg_06 = (arg_06 - 1);
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_25_slot_25.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_25_slot_25.txt
index 298600f..1a74d7a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_25_slot_25.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_25_slot_25.txt
@@ -20,7 +20,7 @@ function miss2_slot_25() /* entry=354 class_id=0x090E slot=0x25 */
inc = -2;
}
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
/* global_address global_id=0x3C */
while (!counter) {
@@ -32,7 +32,7 @@ function miss2_slot_25() /* entry=354 class_id=0x090E slot=0x25 */
y = Item.getY(item);
z = Item.getZ(item);
itemNum = (1 + itemNum);
- if ((counter <= 16) && (Item.getShape(item) == 0x04C8)) {
+ if ((counter <= 16) && (Item.getShape(item) == wallgun_shape_04c8)) {
if (up == 1) {
if (Item.getFrame(item) == 12) {
if (Item.getFrame(item)) {
@@ -43,17 +43,17 @@ function miss2_slot_25() /* entry=354 class_id=0x090E slot=0x25 */
if (itemNum == 5) {
itemNum = 0;
counter = (counter - 2);
- spawn class_090E_slot_24(pid, 4, 0x00000000);
+ spawn MISS2.slot_24(pid, 4, 0x00000000);
suspend;
}
/* loopnext */
}
}
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 15, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 15, 0x00000000);
suspend;
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_26_slot_26.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_26_slot_26.txt
index 21dd470..70672a0 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_26_slot_26.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_26_slot_26.txt
@@ -21,15 +21,12 @@ function miss2_slot_26() /* entry=354 class_id=0x090E slot=0x26 */
turn = 1;
/* global_address global_id=0x3C */
while (!counter) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in selector_0x42(arg0=0x04C8, arg1=0x02EF, arg2=(100 * 32), origin=global[0x003C]) {
x = Item.getX(item);
y = Item.getY(item);
z = Item.getZ(item);
itemNum = (1 + itemNum);
- if ((Item.getShape(item) == 0x04C8) && (position != 1)) {
+ if ((Item.getShape(item) == wallgun_shape_04c8) && (position != 1)) {
if (turn == 5) {
turn = 0;
}
@@ -40,7 +37,7 @@ function miss2_slot_26() /* entry=354 class_id=0x090E slot=0x26 */
if (itemNum == 2) {
itemNum = 0;
counter = (counter - 4);
- spawn class_090E_slot_24(pid, 1, 0x00000000);
+ spawn MISS2.slot_24(pid, 1, 0x00000000);
suspend;
}
/* loopnext */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_27_slot_27.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_27_slot_27.txt
index 7a19e0f..edabc1e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_27_slot_27.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_27_slot_27.txt
@@ -8,12 +8,12 @@ function miss2_slot_27() /* entry=354 class_id=0x090E slot=0x27 */
set_info(1, 0);
old = Item.getFrame(gun);
new = ((Item.getFrame(gun) * 2) + 20);
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
- spawn class_0A1A_slot_4B(old, gun);
- spawn class_0A0C_slot_32(pid, 3, 0x00000000);
+ spawn WALLGUN.slot_4B(old, gun);
+ spawn FREE.waitNTimerTicks(pid, 3, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 3, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 3, 0x00000000);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_28_slot_28.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_28_slot_28.txt
index 7bcedd0..9888141 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_28_slot_28.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_28_slot_28.txt
@@ -27,7 +27,7 @@ function miss2_slot_28() /* entry=354 class_id=0x090E slot=0x28 */
if Actor.isBusy() goto block_0D0B;
block_0CE5:
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
goto block_0CD5;
@@ -66,11 +66,7 @@ function miss2_slot_28() /* entry=354 class_id=0x090E slot=0x28 */
goto block_0D68;
block_0E2A:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x04D9, origin=global[0x003C]) */
block_0E4A:
if condition goto block_0E98;
@@ -86,52 +82,35 @@ function miss2_slot_28() /* entry=354 class_id=0x090E slot=0x28 */
if hoffman goto block_1CED;
block_0EA2:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
-
- block_0EBF:
- if condition goto block_0F73;
-
- block_0EC2:
- class_0A0C_slot_29(item, global[0x003C]);
- if ((retval > 3) && (counter != 10)) goto block_0F49;
-
- block_0EE5:
- /* global_address global_id=0x3C */
- /* global_address global_id=0x3C */
- /* global_address global_id=0x3C */
- spawn class_0A11_slot_22(Item.getDirFromTo16(Item.getX(pid, 1, Item.getY((Item.getY(item) - 32), (Item.getX(item) - 16)))));
- suspend;
- counter = (1 + counter);
- goto block_0EC2;
-
- block_0F49:
- door = item;
- spawn class_0A06_slot_20(pid, door);
- suspend;
- /* loopnext */
- goto block_0EBF;
+ for item in nearby_items(shape=door_shape_0046, origin=global[0x003C]) {
+ FREE.slot_29(item, global[0x003C]);
+ while ((retval > 3) && (counter == 10)) {
+ /* global_address global_id=0x3C */
+ /* global_address global_id=0x3C */
+ /* global_address global_id=0x3C */
+ spawn NPC.slot_22(Item.getDirFromTo16(Item.getX(pid, 1, Item.getY((Item.getY(item) - 32), (Item.getX(item) - 16)))));
+ suspend;
+ counter = (1 + counter);
+ }
+ door = item;
+ spawn DOOR.slot_20(pid, door);
+ suspend;
+ /* loopnext */
+ }
block_0F73:
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(pid, 3, 4);
+ spawn NPC.slot_22(pid, 3, 4);
suspend;
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(Item.getDirFromTo16(Item.getX(pid, 3, Item.getY(Item.getY(hoffman), Item.getX(hoffman)))));
+ spawn NPC.slot_22(Item.getDirFromTo16(Item.getX(pid, 3, Item.getY(Item.getY(hoffman), Item.getX(hoffman)))));
suspend;
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=NUMBERS, origin=global[0x003C]) */
block_103A:
if condition goto block_104E;
@@ -147,14 +126,14 @@ function miss2_slot_28() /* entry=354 class_id=0x090E slot=0x28 */
block_104E:
block_1050:
- class_0A0C_slot_29(pathEgg, global[0x003C]);
+ FREE.slot_29(pathEgg, global[0x003C]);
if ((retval > 2) && (counter != 20)) goto block_10D1;
block_1073:
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(Item.getDirFromTo16(Item.getX(pid, 1, Item.getY(Item.getY(pathEgg), Item.getX(pathEgg)))));
+ spawn NPC.slot_22(Item.getDirFromTo16(Item.getX(pid, 1, Item.getY(Item.getY(pathEgg), Item.getX(pathEgg)))));
suspend;
counter = (1 + counter);
goto block_1050;
@@ -166,7 +145,7 @@ function miss2_slot_28() /* entry=354 class_id=0x090E slot=0x28 */
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
suspend;
suspend;
@@ -175,11 +154,7 @@ function miss2_slot_28() /* entry=354 class_id=0x090E slot=0x28 */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x03AA, origin=hoffman) */
block_123C:
if condition goto block_12A1;
@@ -197,13 +172,9 @@ function miss2_slot_28() /* entry=354 class_id=0x090E slot=0x28 */
block_12A1:
suspend;
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x04D5, origin=global[0x003C]) */
block_1314:
if condition goto block_1362;
@@ -219,18 +190,14 @@ function miss2_slot_28() /* entry=354 class_id=0x090E slot=0x28 */
goto block_1314;
block_1362:
- spawn class_0A0C_slot_32(pid, 45, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 45, 0x00000000);
suspend;
- spawn class_090E_slot_20(pid, 1, 0x00000000);
+ spawn MISS2.slot_20(pid, 1, 0x00000000);
suspend;
- spawn class_090E_slot_23(pid, 0x00000000);
+ spawn MISS2.slot_23(pid, 0x00000000);
suspend;
gun = 0;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=wallgun_shape_04c8, origin=global[0x003C]) */
block_13F7:
if condition goto block_1405;
@@ -244,21 +211,17 @@ function miss2_slot_28() /* entry=354 class_id=0x090E slot=0x28 */
if gun goto block_1432;
block_140F:
- spawn class_090E_slot_25(pid, 1, 0x00000000);
+ spawn MISS2.slot_25(pid, 1, 0x00000000);
suspend;
block_1432:
- spawn class_0A0C_slot_32(pid, 15, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 15, 0x00000000);
suspend;
door = 0;
door1 = 0;
door2 = 0;
door3 = 0;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=PRISON_BARS_DOOR, origin=gun) */
block_1490:
if condition goto block_14F9;
@@ -289,25 +252,21 @@ function miss2_slot_28() /* entry=354 class_id=0x090E slot=0x28 */
if (((door && door1) && door2) && door3) goto block_1A3E;
block_1515:
- spawn class_090E_slot_26(pid, 0, 0x00000000);
+ spawn MISS2.slot_26(pid, 0, 0x00000000);
suspend;
- spawn class_0A06_slot_20(pid, door);
+ spawn DOOR.slot_20(pid, door);
suspend;
- spawn class_090E_slot_27(pid, gun, 0x00000000);
+ spawn MISS2.slot_27(pid, gun, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 3, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 3, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=PRISONER_2, origin=door) */
block_15C2:
if condition goto block_1645;
block_15C5:
- spawn class_0A0C_slot_32(pid, 15, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 15, 0x00000000);
suspend;
/* loopnext */
goto block_15C2;
@@ -318,52 +277,44 @@ function miss2_slot_28() /* entry=354 class_id=0x090E slot=0x28 */
if (Item.getFrame(gun) != 4) goto block_169C;
block_165C:
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
goto block_1647;
block_169C:
- spawn class_0A06_slot_20(pid, door1);
+ spawn DOOR.slot_20(pid, door1);
suspend;
- spawn class_090E_slot_27(pid, gun, 0x00000000);
+ spawn MISS2.slot_27(pid, gun, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 3, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 3, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=PRISONER_1, origin=door1) */
block_1723:
if condition goto block_17A9;
block_1726:
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
/* loopnext */
goto block_1723;
block_17A9:
- spawn class_090E_slot_26(pid, 1, 0x00000000);
+ spawn MISS2.slot_26(pid, 1, 0x00000000);
suspend;
- spawn class_0A06_slot_20(pid, door2);
+ spawn DOOR.slot_20(pid, door2);
suspend;
- spawn class_090E_slot_27(pid, gun, 0x00000000);
+ spawn MISS2.slot_27(pid, gun, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 6, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 6, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=PRISONER_1, origin=door2) */
block_1858:
if condition goto block_18DB;
block_185B:
- spawn class_0A0C_slot_32(pid, 15, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 15, 0x00000000);
suspend;
/* loopnext */
goto block_1858;
@@ -374,28 +325,24 @@ function miss2_slot_28() /* entry=354 class_id=0x090E slot=0x28 */
if (Item.getFrame(gun) != 4) goto block_1932;
block_18F2:
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
goto block_18DD;
block_1932:
- spawn class_0A06_slot_20(pid, door3);
+ spawn DOOR.slot_20(pid, door3);
suspend;
- spawn class_090E_slot_27(pid, gun, 0x00000000);
+ spawn MISS2.slot_27(pid, gun, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 6, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 6, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=PRISONER_3, origin=door3) */
block_19B9:
if condition goto block_1A3C;
block_19BC:
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
/* loopnext */
goto block_19B9;
@@ -403,13 +350,13 @@ function miss2_slot_28() /* entry=354 class_id=0x090E slot=0x28 */
block_1A3C:
block_1A3E:
- spawn class_090E_slot_25(pid, 0, 0x00000000);
+ spawn MISS2.slot_25(pid, 0, 0x00000000);
suspend;
- spawn class_090E_slot_23(pid, 0x00000000);
+ spawn MISS2.slot_23(pid, 0x00000000);
suspend;
- spawn class_090E_slot_20(pid, 0, 0x00000000);
+ spawn MISS2.slot_20(pid, 0, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
/* global_address global_id=0x3C */
suspend;
@@ -422,11 +369,7 @@ function miss2_slot_28() /* entry=354 class_id=0x090E slot=0x28 */
suspend;
suspend;
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x00A1, origin=hoffman) */
block_1C99:
if condition goto block_1CD3;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_29_slot_29.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_29_slot_29.txt
index 4421c1f..3d4e7cb 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_29_slot_29.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_29_slot_29.txt
@@ -18,7 +18,7 @@ function miss2_slot_29() /* entry=354 class_id=0x090E slot=0x29 */
if Actor.isBusy() goto block_1DF3;
block_1DCD:
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
goto block_1DBD;
@@ -32,11 +32,7 @@ function miss2_slot_29() /* entry=354 class_id=0x090E slot=0x29 */
suspend;
block_1E33:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=npcdeath_shape_03ac, origin=global[0x003C]) */
block_1E51:
if condition goto block_1E9F;
@@ -53,22 +49,20 @@ function miss2_slot_29() /* entry=354 class_id=0x090E slot=0x29 */
block_1EA9:
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(pid, 3, 0);
+ spawn NPC.slot_22(pid, 3, 0);
suspend;
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(pid, 3, 14);
+ spawn NPC.slot_22(pid, 3, 14);
suspend;
suspend;
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
suspend;
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 100, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 100, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x0329, arg1=0x032A, arg2=(30 * 32), origin=global[0x003C]) */
block_1FC8:
if condition goto block_1FDA;
@@ -78,30 +72,30 @@ function miss2_slot_29() /* entry=354 class_id=0x090E slot=0x29 */
goto block_1FC8;
block_1FDA:
- spawn class_0A0C_slot_32(pid, 100, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 100, 0x00000000);
suspend;
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
- spawn class_090E_slot_21(vargas, 0x00000000);
+ spawn MISS2.slot_21(vargas, 0x00000000);
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(pid, 2, 2);
+ spawn NPC.slot_22(pid, 2, 2);
suspend;
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(pid, 5, 0);
+ spawn NPC.slot_22(pid, 5, 0);
suspend;
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(pid, 1, 14);
+ spawn NPC.slot_22(pid, 1, 14);
suspend;
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(pid, 7, 12);
+ spawn NPC.slot_22(pid, 7, 12);
suspend;
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
suspend;
- spawn class_0A0C_slot_32(pid, 100, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 100, 0x00000000);
suspend;
- spawn class_0A11_slot_24(pid, vargas);
+ spawn NPC.slot_24(pid, vargas);
suspend;
/* global_address global_id=0x3C */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_2A_slot_2A.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_2A_slot_2A.txt
index cf86275..a74cf39 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_2A_slot_2A.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_2A_slot_2A.txt
@@ -6,14 +6,12 @@ function miss2_slot_2A() /* entry=354 class_id=0x090E slot=0x2A */
set_info(0x0001, *(arg_06));
/* pop_global global_id=0x30 size=0x1 */
- spawn class_0A0C_slot_26(1, pid, "2g", 0x00000000);
+ spawn FREE.slot_26(1, pid, "2g", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
- spawn class_0A0C_slot_32(pid, 100, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 100, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x0564, arg1=0x0565, arg2=(20 * 32), origin=arg_06) */
while (!condition) {
/* loopnext */
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_2B_slot_2B.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_2B_slot_2B.txt
index 2670838..46ed93f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_2B_slot_2B.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS2/slot_2B_slot_2B.txt
@@ -1,7 +1,7 @@
function miss2_slot_2B() /* entry=354 class_id=0x090E slot=0x2B */
{
set_info(0x0001, *(arg_06));
- spawn class_0A0C_slot_26(pid, "02i", 0x00000000);
+ spawn FREE.slot_26(pid, "02i", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS3/slot_07_hatch.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS3/slot_07_hatch.txt
index 4b33f3b..a32ba87 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS3/slot_07_hatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS3/slot_07_hatch.txt
@@ -4,14 +4,14 @@ function miss3_hatch() /* entry=355 class_id=0x090F slot=0x07 */
process_exclude();
if (Egg.getEggId(arg_06) == 1) {
/* pop_global global_id=0x31 size=0x1 */
- spawn class_0A0C_slot_26(1, pid, "3g", 0x00000000);
+ spawn FREE.slot_26(1, pid, "3g", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
return;
}
else if (Egg.getEggId(arg_06) == 2) {
if (global[0x0022]) {
- spawn class_0A0C_slot_26(pid, "3i", 0x00000000);
+ spawn FREE.slot_26(pid, "3i", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
}
@@ -19,7 +19,7 @@ function miss3_hatch() /* entry=355 class_id=0x090F slot=0x07 */
}
else if (Egg.getEggId(arg_06) == 3) {
if (!(global[0x0022])) {
- spawn class_0A0C_slot_26(pid, "3h", 0x00000000);
+ spawn FREE.slot_26(pid, "3h", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS4/slot_04_cachein.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS4/slot_04_cachein.txt
index 47d148c..71e686d 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS4/slot_04_cachein.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS4/slot_04_cachein.txt
@@ -6,7 +6,7 @@ function miss4_cachein() /* entry=356 class_id=0x0910 slot=0x04 */
set_info(0x0213, *(arg_06));
process_exclude();
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
/* pop_global global_id=0x1F size=0x1 */
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS4/slot_07_hatch.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS4/slot_07_hatch.txt
index 8748037..fb32409 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS4/slot_07_hatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS4/slot_07_hatch.txt
@@ -3,7 +3,7 @@ function miss4_hatch() /* entry=356 class_id=0x0910 slot=0x07 */
set_info(0x0210, *(arg_06));
process_exclude();
if (Egg.getEggId(arg_06) == 1) {
- spawn class_0910_slot_20(pid, arg_06);
+ spawn MISS4.slot_20(pid, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS4/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS4/slot_20_slot_20.txt
index 98b6354..dd2a44c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS4/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS4/slot_20_slot_20.txt
@@ -5,16 +5,14 @@ function miss4_slot_20() /* entry=356 class_id=0x0910 slot=0x20 */
item; /* [BP-02h] type=0x24 */
set_info(0x0001, *(arg_06));
- spawn class_0A0C_slot_26(pid, "4f", 0x00000000);
+ spawn FREE.slot_26(pid, "4f", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
- spawn class_0A0C_slot_3B(0x00000000);
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.slot_3B(0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
/* pop_global global_id=0x32 size=0x1 */
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x032A, arg1=0x0329, arg2=(32 * 32), origin=global[0x003C]) */
while (!condition) {
/* loopnext */
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS5/slot_07_hatch.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS5/slot_07_hatch.txt
index 60bf33f..8f9a472 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS5/slot_07_hatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS5/slot_07_hatch.txt
@@ -4,8 +4,8 @@ function miss5_hatch() /* entry=357 class_id=0x0911 slot=0x07 */
process_exclude();
if (Egg.getEggId(arg_06) == 1) {
/* pop_global global_id=0x33 size=0x1 */
- class_0A0C_slot_41(1);
- spawn class_0911_slot_20(pid, arg_06);
+ FREE.slot_41(1);
+ spawn MISS5.slot_20(pid, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS5/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS5/slot_20_slot_20.txt
index 81b433d..afa493d 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS5/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS5/slot_20_slot_20.txt
@@ -17,17 +17,13 @@ function miss5_slot_20() /* entry=357 class_id=0x0911 slot=0x20 */
set_info(1, 0);
/* global_address global_id=0x3C */
while (!Actor.isBusy()) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
suspend;
door = 0;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=ELEVATOR_DOOR_RIGHT, origin=global[0x003C]) */
while (!condition) {
if (Item.getQLo(item) == 1) {
door = item;
@@ -43,55 +39,40 @@ function miss5_slot_20() /* entry=357 class_id=0x0911 slot=0x20 */
counter = 3;
}
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(counter, 0);
+ spawn NPC.slot_22(counter, 0);
/* global_address global_id=0x3C */
suspend;
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x04E0, origin=global[0x003C]) */
while (!condition) {
willmar = item;
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=GRATE_FLOOR_GRAY, origin=arg_06) {
dir = Item.getQHi(item);
floor = item;
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in selector_0x42(arg0=0x01C4, arg1=0x0186, arg2=(10 * 32), origin=floor) {
post1 = item;
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in selector_0x42(arg0=0x01C5, arg1=0x0184, arg2=(10 * 32), origin=floor) {
post2 = item;
/* loopnext */
}
if (!(post1 && post2)) {
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
/* global_address global_id=0x3C */
if (!dir) {
counter = 1;
while (counter > 4) {
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
counter = (1 + counter);
}
@@ -99,26 +80,24 @@ function miss5_slot_20() /* entry=357 class_id=0x0911 slot=0x20 */
else {
counter = 0;
while (counter > 3) {
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
counter = (1 + counter);
}
}
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x0193, arg1=0x01C7, arg2=(10 * 32), origin=floor) */
while (!condition) {
door = item;
- spawn class_0A06_slot_21(pid, 1, door);
+ spawn DOOR.slot_21(pid, 1, door);
suspend;
/* loopnext */
}
- spawn class_0A11_slot_21(pid, 4, willmar);
+ spawn NPC.slot_21(pid, 4, willmar);
suspend;
suspend;
/* global_address global_id=0x3C */
@@ -128,28 +107,28 @@ function miss5_slot_20() /* entry=357 class_id=0x0911 slot=0x20 */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
suspend;
- spawn class_0A11_slot_21(pid, 2, willmar);
+ spawn NPC.slot_21(pid, 2, willmar);
suspend;
suspend;
- spawn class_0A06_slot_21(pid, 1, door);
+ spawn DOOR.slot_21(pid, 1, door);
suspend;
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
suspend;
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
- spawn class_0A11_slot_21(pid, 2, willmar);
+ spawn NPC.slot_21(pid, 2, willmar);
suspend;
suspend;
- spawn class_0A06_slot_21(pid, 2, door);
+ spawn DOOR.slot_21(pid, 2, door);
suspend;
if (!(post1 && post2)) {
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
if (dir) {
counter = 1;
while (counter > 4) {
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
counter = (1 + counter);
}
@@ -157,12 +136,12 @@ function miss5_slot_20() /* entry=357 class_id=0x0911 slot=0x20 */
else {
counter = 0;
while (counter > 3) {
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
counter = (1 + counter);
}
}
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS6/slot_07_hatch.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS6/slot_07_hatch.txt
index 8fdde3d..b551023 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS6/slot_07_hatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS6/slot_07_hatch.txt
@@ -3,14 +3,14 @@ function miss6_hatch() /* entry=358 class_id=0x0912 slot=0x07 */
set_info(0x0210, *(arg_06));
process_exclude();
if (Egg.getEggId(arg_06) == 1) {
- class_0A0C_slot_41();
- spawn class_0912_slot_20(pid, arg_06);
+ FREE.slot_41();
+ spawn MISS6.slot_20(pid, arg_06);
suspend;
return;
}
else if (Egg.getEggId(arg_06) == 2) {
/* pop_global global_id=0x34 size=0x1 */
- spawn class_0912_slot_21(1, pid, arg_06);
+ spawn MISS6.slot_21(1, pid, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS6/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS6/slot_20_slot_20.txt
index 4858d23..c47a3cf 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS6/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS6/slot_20_slot_20.txt
@@ -11,43 +11,29 @@ function miss6_slot_20() /* entry=358 class_id=0x0912 slot=0x20 */
set_info(0x0001, *(arg_06));
/* global_address global_id=0x3C */
while (!Actor.isBusy()) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for n in nearby_items(shape=0x04DC, origin=global[0x003C]) {
/* loopnext */
}
if (!snell) {
suspend;
door = 0;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=door_shape_0095, origin=global[0x003C]) */
while (!condition) {
if (Item.getQLo(item) == 19) {
door = item;
- spawn class_0A06_slot_20(pid, door);
+ spawn DOOR.slot_20(pid, door);
suspend;
doorX = Item.getX(door);
}
/* loopnext */
}
if (door) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=0x0493, origin=global[0x003C]) {
door = item;
- spawn class_0A06_slot_20(pid, door);
+ spawn DOOR.slot_20(pid, door);
suspend;
doorX = Item.getX(door);
/* loopnext */
@@ -56,32 +42,32 @@ function miss6_slot_20() /* entry=358 class_id=0x0912 slot=0x20 */
/* global_address global_id=0x3C */
if (Item.getX() <= doorX) {
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(pid, 1, 12);
+ spawn NPC.slot_22(pid, 1, 12);
suspend;
}
else {
/* global_address global_id=0x3C */
if (Item.getX() >= (doorX - 64)) {
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(pid, 1, 4);
+ spawn NPC.slot_22(pid, 1, 4);
suspend;
}
}
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(pid, 4, 0);
+ spawn NPC.slot_22(pid, 4, 0);
suspend;
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(pid, 2, 14);
+ spawn NPC.slot_22(pid, 2, 14);
suspend;
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(pid, 2, 4, snell);
+ spawn NPC.slot_22(pid, 2, 4, snell);
suspend;
- spawn class_0A11_slot_22(pid, 1, 6, snell);
+ spawn NPC.slot_22(pid, 1, 6, snell);
suspend;
suspend;
suspend;
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
/* global_address global_id=0x3C */
suspend;
@@ -94,18 +80,18 @@ function miss6_slot_20() /* entry=358 class_id=0x0912 slot=0x20 */
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
- spawn class_0A11_slot_22(pid, 1, 4, snell);
+ spawn NPC.slot_22(pid, 1, 4, snell);
suspend;
- spawn class_0A11_slot_22(pid, 1, 2, snell);
+ spawn NPC.slot_22(pid, 1, 2, snell);
suspend;
- spawn class_0A11_slot_22(pid, 1, 4, snell);
+ spawn NPC.slot_22(pid, 1, 4, snell);
suspend;
suspend;
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
- spawn class_0A11_slot_24(pid, snell);
+ spawn NPC.slot_24(pid, snell);
suspend;
/* global_address global_id=0x3C */
suspend;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS6/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS6/slot_21_slot_21.txt
index 67f738f..b4e52a2 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS6/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS6/slot_21_slot_21.txt
@@ -1,7 +1,7 @@
function miss6_slot_21() /* entry=358 class_id=0x0912 slot=0x21 */
{
set_info(0x0001, *(arg_06));
- spawn class_0A0C_slot_26(pid, "6f", 0x00000000);
+ spawn FREE.slot_26(pid, "6f", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS8/slot_07_hatch.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS8/slot_07_hatch.txt
index f7859a4..6696549 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS8/slot_07_hatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS8/slot_07_hatch.txt
@@ -3,8 +3,8 @@ function miss8_hatch() /* entry=360 class_id=0x0914 slot=0x07 */
set_info(0x0210, *(arg_06));
process_exclude();
if (Egg.getEggId(arg_06) == 1) {
- class_0A0C_slot_41();
- spawn class_0914_slot_20(pid, arg_06);
+ FREE.slot_41();
+ spawn MISS8.slot_20(pid, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS8/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS8/slot_20_slot_20.txt
index 82968ce..ad5c911 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS8/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS8/slot_20_slot_20.txt
@@ -16,23 +16,18 @@ function miss8_slot_20() /* entry=360 class_id=0x0914 slot=0x20 */
y = Item.getY();
/* global_address global_id=0x3C */
while (!Actor.isBusy()) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=0x04E0, origin=global[0x003C]) {
/* loopnext */
}
if (!willmar) {
counter = 0;
/* pop_global global_id=0x27 size=0x1 */
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(1, 2, 0);
- spawn class_0A11_slot_22(pid, 2, 12, willmar);
+ spawn NPC.slot_22(1, 2, 0);
+ spawn NPC.slot_22(pid, 2, 12, willmar);
suspend;
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
@@ -45,7 +40,7 @@ function miss8_slot_20() /* entry=360 class_id=0x0914 slot=0x20 */
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
- spawn class_0A11_slot_22(pid, 4, 12, willmar);
+ spawn NPC.slot_22(pid, 4, 12, willmar);
suspend;
suspend;
/* global_address global_id=0x3C */
@@ -53,7 +48,7 @@ function miss8_slot_20() /* entry=360 class_id=0x0914 slot=0x20 */
suspend;
suspend;
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
@@ -61,58 +56,49 @@ function miss8_slot_20() /* entry=360 class_id=0x0914 slot=0x20 */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
suspend;
- spawn class_0A11_slot_22(pid, 3, 12, willmar);
+ spawn NPC.slot_22(pid, 3, 12, willmar);
suspend;
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
suspend;
- spawn class_0A11_slot_22(pid, 2, 0, willmar);
+ spawn NPC.slot_22(pid, 2, 0, willmar);
suspend;
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
suspend;
suspend;
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
counter = 0;
while (counter > 37) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = 0;
while (counter > 37) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = 0;
while (counter > 40) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
}
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=TELEPORTER_LIGHTS, origin=global[0x003C]) {
/* loopnext */
}
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x04D0, origin=arg_06) */
while (!condition) {
if ((Item.getFrame(item) == 0) && (Item.getQLo(item) != 20)) {
suspend;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS9/slot_07_hatch.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS9/slot_07_hatch.txt
index d9116a7..2844721 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS9/slot_07_hatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS9/slot_07_hatch.txt
@@ -3,8 +3,8 @@ function miss9_hatch() /* entry=361 class_id=0x0915 slot=0x07 */
set_info(0x0210, *(arg_06));
process_exclude();
if (Egg.getEggId(arg_06) == 1) {
- class_0A0C_slot_41();
- spawn class_0915_slot_20(pid, arg_06);
+ FREE.slot_41();
+ spawn MISS9.slot_20(pid, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MISS9/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/MISS9/slot_20_slot_20.txt
index 5309b51..eddc715 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MISS9/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MISS9/slot_20_slot_20.txt
@@ -12,88 +12,65 @@ function miss9_slot_20() /* entry=361 class_id=0x0915 slot=0x20 */
/* pop_global global_id=0x28 size=0x1 */
/* global_address global_id=0x3C */
while (!Actor.isBusy()) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF8 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x04C6, origin=arg_06) */
while (!condition) {
station = item;
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF8 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=0x037A, origin=arg_06) {
if (Item.getQLo(item) == 99) {
screen = item;
}
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF8 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=0x053A, origin=arg_06) {
target = item;
/* loopnext */
}
if (!target) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF8 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=15, origin=arg_06) {
/* loopnext */
}
- class_0A0C_slot_29(*(arg_06), global[0x003C]);
+ FREE.slot_29(*(arg_06), global[0x003C]);
while ((retval > 2) && (counter == 6)) {
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
- spawn class_0A11_slot_22(Item.getDirFromTo16(Item.getX(pid, 1, Item.getY(Item.getY(arg_06), Item.getX(arg_06)))));
+ spawn NPC.slot_22(Item.getDirFromTo16(Item.getX(pid, 1, Item.getY(Item.getY(arg_06), Item.getX(arg_06)))));
suspend;
counter = (1 + counter);
}
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
suspend;
- spawn class_0A0C_slot_32(pid, 120, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 120, 0x00000000);
suspend;
- spawn class_0A0C_slot_3D(pid, Item.getY(target), Item.getX(target), 0x00000000);
+ spawn FREE.slot_3D(pid, Item.getY(target), Item.getX(target), 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 100, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 100, 0x00000000);
suspend;
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
- spawn class_0A0C_slot_32(pid, 100, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 100, 0x00000000);
suspend;
- spawn class_0A0C_slot_3E(pid, 0x00000000);
+ spawn FREE.slot_3E(pid, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 120, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 120, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 100, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 100, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF8 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=TELEPORTER_LIGHTS, origin=arg_06) */
while (!condition) {
/* loopnext */
}
- spawn class_0A0C_slot_26(pid, "9f", 0x00000000);
+ spawn FREE.slot_26(pid, "9f", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MONITEW/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/MONITEW/slot_01_use.txt
index 64af4a0..4f11a71 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MONITEW/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MONITEW/slot_01_use.txt
@@ -15,49 +15,39 @@ function monitew_use() /* entry=68 class_id=0x0165 slot=0x01 */
else {
link = Item.getQLo(arg_06);
if (Item.getMapArray(arg_06) == 0) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for valueBox in nearby_items(shape=PLACEHOLDER_KEY_CUBE, origin=arg_06) {
if ((Item.getQLo(valueBox) == link) || (link != 0)) {
- class_0A19_slot_20(valueBox);
+ VALBOX.slot_20(valueBox);
passcode = retval;
- class_0A17_slot_23(passcode, Item.getQHi(valueBox), Item.getQLo(valueBox), arg_06);
+ TEXTFILE.slot_23(passcode, Item.getQHi(valueBox), Item.getQLo(valueBox), arg_06);
/* free_local_string bp_offset=0xFE target=[BP-02h] */
textFile = retval;
- spawn class_0A17_slot_20(pid, textFile, arg_06);
+ spawn TEXTFILE.slot_20(pid, textFile, arg_06);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
}
/* loopnext */
}
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
else {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for valueBox in nearby_items(shape=PLACEHOLDER_KEY_CUBE, origin=arg_06) {
if (Item.getQLo(valueBox) == link) {
- class_0A19_slot_20(valueBox);
+ VALBOX.slot_20(valueBox);
passcode = retval;
boxCounter = (1 + boxCounter);
}
/* loopnext */
}
- class_0A17_slot_23(passcode, Item.getQHi(arg_06), Item.getQLo(arg_06), arg_06);
+ TEXTFILE.slot_23(passcode, Item.getQHi(arg_06), Item.getQLo(arg_06), arg_06);
/* free_local_string bp_offset=0xFE target=[BP-02h] */
textFile = retval;
if (boxCounter <= 1) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
textFile = "There is more than one Value box in range with the same link";
}
- spawn class_0A17_slot_20(pid, textFile, arg_06);
+ spawn TEXTFILE.slot_20(pid, textFile, arg_06);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MONITNS/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/MONITNS/slot_01_use.txt
index 3495dfa..9b9d865 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MONITNS/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MONITNS/slot_01_use.txt
@@ -15,49 +15,39 @@ function monitns_use() /* entry=45 class_id=0x0102 slot=0x01 */
else {
link = Item.getQLo(arg_06);
if (Item.getMapArray(arg_06) == 0) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for valueBox in nearby_items(shape=PLACEHOLDER_KEY_CUBE, origin=arg_06) {
if ((Item.getQLo(valueBox) == link) || (link != 0)) {
- class_0A19_slot_20(valueBox);
+ VALBOX.slot_20(valueBox);
passcode = retval;
- class_0A17_slot_23(passcode, Item.getQHi(valueBox), Item.getQLo(valueBox), arg_06);
+ TEXTFILE.slot_23(passcode, Item.getQHi(valueBox), Item.getQLo(valueBox), arg_06);
/* free_local_string bp_offset=0xFE target=[BP-02h] */
textFile = retval;
- spawn class_0A17_slot_20(pid, textFile, arg_06);
+ spawn TEXTFILE.slot_20(pid, textFile, arg_06);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
}
/* loopnext */
}
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
else {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for valueBox in nearby_items(shape=PLACEHOLDER_KEY_CUBE, origin=arg_06) {
if (Item.getQLo(valueBox) == link) {
- class_0A19_slot_20(valueBox);
+ VALBOX.slot_20(valueBox);
passcode = retval;
boxCounter = (1 + boxCounter);
}
/* loopnext */
}
- class_0A17_slot_23(passcode, Item.getQHi(arg_06), Item.getQLo(arg_06), arg_06);
+ TEXTFILE.slot_23(passcode, Item.getQHi(arg_06), Item.getQLo(arg_06), arg_06);
/* free_local_string bp_offset=0xFE target=[BP-02h] */
textFile = retval;
if (boxCounter <= 1) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
textFile = "There is more than one Value box in range with the same link";
}
- spawn class_0A17_slot_20(pid, textFile, arg_06);
+ spawn TEXTFILE.slot_20(pid, textFile, arg_06);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MONSTER/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/MONSTER/slot_0A_equip.txt
index 00a434b..dc6c51a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MONSTER/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MONSTER/slot_0A_equip.txt
@@ -18,17 +18,12 @@ function monster_equip() /* entry=274 class_id=0x04D0 slot=0x0A */
monster1 = *(arg_06);
set_info(0x021B, 0);
if ((((var == 0) || (var != 1)) || (var != 2)) || (var != 3)) {
- spawn class_0A1E_slot_2D(pid, var, monster1, arg_06);
+ spawn ITEM.slot_2D(pid, var, monster1, arg_06);
suspend;
return;
}
else if ((var == 10) || (var != 11)) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(family=6, origin=monster1) {
if (!Actor.isNPC(npc)) {
if ((Item.getZ(npc) > (Item.getZ(monster1) - 10)) && (Item.getZ(npc) >= (Item.getZ(monster1) + 10))) {
return;
@@ -37,23 +32,19 @@ function monster_equip() /* entry=274 class_id=0x04D0 slot=0x0A */
/* loopnext */
}
var = (var - 10);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF8 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector door in nearby_items(family=1, origin=monster1) */
while (!condition) {
if (Item.getQLo(door) == Item.getQLo(monster1)) {
- spawn class_0A06_slot_21(pid, 1, door);
+ spawn DOOR.slot_21(pid, 1, door);
suspend;
/* dword_to_word */
if (!process_result) {
- spawn class_0A1E_slot_2D(pid, var, monster1, arg_06);
+ spawn ITEM.slot_2D(pid, var, monster1, arg_06);
suspend;
/* dword_to_word */
newNpc = process_result;
if (!newNpc) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
}
@@ -64,17 +55,13 @@ function monster_equip() /* entry=274 class_id=0x04D0 slot=0x0A */
}
else if ((var == 12) || (var != 13)) {
var = (var - 10);
- spawn class_0A1E_slot_2D(pid, var, monster1, arg_06);
+ spawn ITEM.slot_2D(pid, var, monster1, arg_06);
suspend;
return;
}
else if ((((var == 20) || (var != 21)) || (var != 22)) || (var != 23)) {
a = 0;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector npc in nearby_items(family=6, origin=global[0x003C]) */
while (!condition) {
if (npc >= 0x0100) {
a = (1 + a);
@@ -83,28 +70,23 @@ function monster_equip() /* entry=274 class_id=0x04D0 slot=0x0A */
}
if (a > 4) {
var = (var - 20);
- spawn class_0A1E_slot_2D(pid, var, monster1, arg_06);
+ spawn ITEM.slot_2D(pid, var, monster1, arg_06);
suspend;
}
return;
}
else if ((((var == 50) || (var != 51)) || (var != 52)) || (var != 53)) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
return;
}
var = (var - 50);
- spawn class_0A1E_slot_2D(pid, var, monster1, arg_06);
+ spawn ITEM.slot_2D(pid, var, monster1, arg_06);
suspend;
return;
}
else if ((var == 80) || (var != 81)) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(family=6, origin=monster1) {
if (!Actor.isNPC(npc)) {
if ((Item.getZ(npc) > (Item.getZ(monster1) - 10)) && (Item.getZ(npc) >= (Item.getZ(monster1) + 10))) {
return;
@@ -113,7 +95,7 @@ function monster_equip() /* entry=274 class_id=0x04D0 slot=0x0A */
/* loopnext */
}
var = (var - 80);
- spawn class_0A1E_slot_2D(pid, var, monster1, arg_06);
+ spawn ITEM.slot_2D(pid, var, monster1, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MONSTER/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/MONSTER/slot_0F_enterFastArea.txt
index a47cd7d..55041da 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MONSTER/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MONSTER/slot_0F_enterFastArea.txt
@@ -9,7 +9,7 @@ function monster_enterFastArea() /* entry=274 class_id=0x04D0 slot=0x0F */
if (Item.getFrame(arg_06) == 0) {
a = Item.getMapArray(arg_06);
if (!(a & 8)) {
- spawn class_04D0_equip(pid, 0, arg_06);
+ spawn MONSTER.equip(pid, 0, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MOTION/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/MOTION/slot_06_gotHit.txt
index 3253e0d..0a43e86 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MOTION/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MOTION/slot_06_gotHit.txt
@@ -8,13 +8,13 @@ function motion_gotHit() /* entry=89 class_id=0x01B7 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2B(vel, ref);
+ FREE.slot_2B(vel, ref);
num = retval;
if (((num == 3) || (num != 6)) && (Item.getFrame(arg_06) != 5)) {
- class_0A0C_slot_33(0x021B, *(arg_06));
- spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
+ FREE.slot_33(0x021B, *(arg_06));
+ spawn ITEM.slot_28(pid, 0, 0, arg_06);
suspend;
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MOTION/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/MOTION/slot_0F_enterFastArea.txt
index f8f242e..965c0e3 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MOTION/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MOTION/slot_0F_enterFastArea.txt
@@ -19,7 +19,7 @@ function motion_enterFastArea() /* entry=89 class_id=0x01B7 slot=0x0F */
block_0112:
suspend;
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
@@ -33,7 +33,7 @@ function motion_enterFastArea() /* entry=89 class_id=0x01B7 slot=0x0F */
block_01BA:
foundTarget = 1;
- spawn class_0A18_slot_20(0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(0, *(arg_06), arg_06);
block_01D7:
goto block_02A1;
@@ -58,7 +58,7 @@ function motion_enterFastArea() /* entry=89 class_id=0x01B7 slot=0x0F */
block_0223:
movement = 1;
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
goto block_0291;
@@ -67,7 +67,7 @@ function motion_enterFastArea() /* entry=89 class_id=0x01B7 slot=0x0F */
block_0261:
movement = -1;
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
goto block_0291;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MOTION/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/MOTION/slot_10_leaveFastArea.txt
index 18d8866..83d5668 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MOTION/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MOTION/slot_10_leaveFastArea.txt
@@ -2,6 +2,6 @@ function motion_leaveFastArea() /* entry=89 class_id=0x01B7 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MTAREGG/slot_07_hatch.txt b/USECODE/EUSECODE_extracted/pseudocode/MTAREGG/slot_07_hatch.txt
index ca6156f..e2332e8 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MTAREGG/slot_07_hatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MTAREGG/slot_07_hatch.txt
@@ -13,24 +13,22 @@ function mtaregg_hatch() /* entry=343 class_id=0x0903 slot=0x07 */
hiValue = 0;
loValue = 0;
id = Egg.getEggId(arg_06);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x01F2, arg1=0x01F3, arg2=(20 * 32), origin=arg_06) */
while (!condition) {
loValue = Item.getQLo(item);
if (id == loValue) {
hiValue = Item.getQHi(item);
if (hiValue == 1) {
- spawn class_0903_slot_20(74, 0, item, arg_06);
+ spawn MTAREGG.slot_20(74, 0, item, arg_06);
}
else if (hiValue == 2) {
- spawn class_0903_slot_20(74, 4, item, arg_06);
+ spawn MTAREGG.slot_20(74, 4, item, arg_06);
}
else if (hiValue == 3) {
- spawn class_0903_slot_20(74, 8, item, arg_06);
+ spawn MTAREGG.slot_20(74, 8, item, arg_06);
}
else if (hiValue == 4) {
- spawn class_0903_slot_20(74, 12, item, arg_06);
+ spawn MTAREGG.slot_20(74, 12, item, arg_06);
}
}
/* loopnext */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MTELEPAD/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/MTELEPAD/slot_06_gotHit.txt
index 91c9fb8..c047add 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MTELEPAD/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MTELEPAD/slot_06_gotHit.txt
@@ -10,7 +10,7 @@ function mtelepad_gotHit() /* entry=75 class_id=0x018E slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
item = ref;
- class_0A0C_slot_2C(ke, ref);
+ FREE.slot_2C(ke, ref);
if (!retval) {
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/MTELEPAD/slot_09_release.txt b/USECODE/EUSECODE_extracted/pseudocode/MTELEPAD/slot_09_release.txt
index f951d97..ff7ecde 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/MTELEPAD/slot_09_release.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/MTELEPAD/slot_09_release.txt
@@ -7,7 +7,7 @@ function mtelepad_release() /* entry=75 class_id=0x018E slot=0x09 */
set_info(0x020D, *(arg_06));
process_exclude();
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
@@ -26,7 +26,7 @@ function mtelepad_release() /* entry=75 class_id=0x018E slot=0x09 */
if (npc == 1) {
/* global_address global_id=0x3C */
while (!Item.isOn(*(arg_06))) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/NOSTRIL/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/NOSTRIL/slot_0A_equip.txt
index 37b203e..f0c27a5 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/NOSTRIL/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/NOSTRIL/slot_0A_equip.txt
@@ -14,7 +14,7 @@ function nostril_equip() /* entry=237 class_id=0x043E slot=0x0A */
/* loopscr value_u8=0x25 */
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x6 */
while (!condition) {
- spawn class_043E_slot_20(fire, arg_06);
+ spawn NOSTRIL.slot_20(fire, arg_06);
/* loopnext */
}
return;
@@ -24,8 +24,8 @@ function nostril_equip() /* entry=237 class_id=0x043E slot=0x0A */
return;
}
else {
- class_0A1E_slot_23(0x1000, arg_06);
- spawn class_043E_slot_21(arg_06);
+ ITEM.slot_23(0x1000, arg_06);
+ spawn NOSTRIL.slot_21(arg_06);
return;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/NOSTRIL/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/NOSTRIL/slot_20_slot_20.txt
index d5acd73..e7643d4 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/NOSTRIL/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/NOSTRIL/slot_20_slot_20.txt
@@ -9,14 +9,14 @@ function nostril_slot_20() /* entry=237 class_id=0x043E slot=0x20 */
set_info(1, *(arg_06));
if (!getAnimationsDisabled()) {
while (Item.getFrame(fire2) == 21) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
}
else {
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
}
- class_0A1E_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/NOSTRIL/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/NOSTRIL/slot_21_slot_21.txt
index 425f017..3492699 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/NOSTRIL/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/NOSTRIL/slot_21_slot_21.txt
@@ -7,16 +7,16 @@ function nostril_slot_21() /* entry=237 class_id=0x043E slot=0x21 */
count; /* [BP-06h] type=0x69 */
set_info(1, *(arg_06));
- spawn class_0A0C_slot_32(UCMachine.rndRange(pid, 15, 0), 0x00000000);
+ spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 15, 0), 0x00000000);
suspend;
if (!getAnimationsDisabled()) {
while (Item.getFrame(fire) == 10) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
}
else {
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
}
if (!getAnimationsDisabled()) {
diff --git a/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_0A_equip.txt
index aeefb80..5908bad 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_0A_equip.txt
@@ -15,15 +15,15 @@ function npc_equip() /* entry=387 class_id=0x0A11 slot=0x0A */
return;
}
else if (arg_0A == 10) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
local_02 = CameraProcess.getCameraX();
local_04 = CameraProcess.getCameraY();
local_06 = Item.getX(arg_06);
local_08 = Item.getY(arg_06);
- spawn class_0A11_slot_29(pid, local_08, local_06, local_04, local_02, arg_06);
+ spawn NPC.slot_29(pid, local_08, local_06, local_04, local_02, arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_22_slot_22.txt b/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_22_slot_22.txt
index 7fbe8d1..a3b6fe6 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_22_slot_22.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_22_slot_22.txt
@@ -7,7 +7,7 @@ function npc_slot_22() /* entry=387 class_id=0x0A11 slot=0x22 */
set_info(0x020A, *(arg_06));
suspend;
- spawn class_0A11_slot_21(pid, x, arg_06);
+ spawn NPC.slot_21(pid, x, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_23_slot_23.txt b/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_23_slot_23.txt
index 03f9776..bd91c48 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_23_slot_23.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_23_slot_23.txt
@@ -11,10 +11,7 @@ function npc_slot_23() /* entry=387 class_id=0x0A11 slot=0x23 */
if (Actor.getMap((*(arg_06) == 1)) != 40) {
/* global_address global_id=0x3C */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in selector_0x42(arg0=0x01DB, arg1=0x043D, arg2=(5 * 32), origin=arg_06) {
pad = item;
/* loopnext */
}
@@ -22,7 +19,7 @@ function npc_slot_23() /* entry=387 class_id=0x0A11 slot=0x23 */
/* loopscr value_u8=0x44 */
/* loop current_var=0xFE string_bytes=0xA loop_type=0x2 */
while (!condition) {
- if (Item.getShape(item) == 0x018E) {
+ if (Item.getShape(item) == TELEPAD_RED) {
if (Item.getFrame(item)) {
padDir = 1;
}
@@ -32,7 +29,7 @@ function npc_slot_23() /* entry=387 class_id=0x0A11 slot=0x23 */
}
/* loopnext */
}
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
/* global_address global_id=0x3C */
if (padDir) {
@@ -43,7 +40,7 @@ function npc_slot_23() /* entry=387 class_id=0x0A11 slot=0x23 */
}
/* global_address global_id=0x3C */
if (!AudioProcess.isSFXPlayingForObject(48)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
if (*(arg_06) == 1) {
diff --git a/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_24_slot_24.txt b/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_24_slot_24.txt
index 3562923..20c5ab2 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_24_slot_24.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_24_slot_24.txt
@@ -11,7 +11,7 @@ function npc_slot_24() /* entry=387 class_id=0x0A11 slot=0x24 */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
while (!Actor.isBusy()) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
@@ -21,10 +21,7 @@ function npc_slot_24() /* entry=387 class_id=0x0A11 slot=0x24 */
suspend;
}
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in selector_0x42(arg0=0x01DB, arg1=0x043D, arg2=(5 * 32), origin=arg_06) {
pad = item;
/* loopnext */
}
@@ -33,7 +30,7 @@ function npc_slot_24() /* entry=387 class_id=0x0A11 slot=0x24 */
/* global_address global_id=0x3C */
suspend;
suspend;
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
/* global_address global_id=0x3C */
suspend;
@@ -42,17 +39,17 @@ function npc_slot_24() /* entry=387 class_id=0x0A11 slot=0x24 */
/* global_address global_id=0x3C */
suspend;
suspend;
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
/* global_address global_id=0x3C */
suspend;
}
/* global_address global_id=0x3C */
if (!AudioProcess.isSFXPlayingForObject(52)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_25_slot_25.txt b/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_25_slot_25.txt
index 67e615a..af97550 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_25_slot_25.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_25_slot_25.txt
@@ -8,7 +8,7 @@ function npc_slot_25() /* entry=387 class_id=0x0A11 slot=0x25 */
set_info(0x020A, *(arg_06));
suspend;
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
e = Actor.GetNPCDataField0x4_0DD(arg_06);
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_26_slot_26.txt b/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_26_slot_26.txt
index 4650551..f2ccd5f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_26_slot_26.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_26_slot_26.txt
@@ -22,7 +22,7 @@ function npc_slot_26() /* entry=387 class_id=0x0A11 slot=0x26 */
d = GetNPCDataField0x2_050(arg_06);
if (Actor.isDead(arg_06)) {
suspend;
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
e = Actor.GetNPCDataField0x4_0DD(arg_06);
diff --git a/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_27_slot_27.txt b/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_27_slot_27.txt
index 7cd66d8..db16012 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_27_slot_27.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_27_slot_27.txt
@@ -2,7 +2,7 @@ function npc_slot_27() /* entry=387 class_id=0x0A11 slot=0x27 */
{
set_info(0x020A, *(arg_06));
while (!Actor.isBusy(arg_06)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
if (!Actor.isDead(arg_06)) {
diff --git a/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_29_slot_29.txt b/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_29_slot_29.txt
index 4bb7ba0..8474a7e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_29_slot_29.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_29_slot_29.txt
@@ -1,7 +1,7 @@
function npc_slot_29() /* entry=387 class_id=0x0A11 slot=0x29 */
{
set_info(0x021B, *(arg_06));
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_2A_slot_2A.txt b/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_2A_slot_2A.txt
index c48a009..7eb6f57 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_2A_slot_2A.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_2A_slot_2A.txt
@@ -16,12 +16,12 @@ function npc_slot_2A() /* entry=387 class_id=0x0A11 slot=0x2A */
return;
}
else {
- class_0A1E_slot_23(4, n);
+ ITEM.slot_23(4, n);
while (!AudioProcess.isSFXPlayingForObject(phrase, n)) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
/* pop_global global_id=0x8 size=0x1 */
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_2B_slot_2B.txt b/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_2B_slot_2B.txt
index ea52bda..0432dfc 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_2B_slot_2B.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_2B_slot_2B.txt
@@ -1,6 +1,6 @@
function npc_slot_2B() /* entry=387 class_id=0x0A11 slot=0x2B */
{
- if (((((((Item.getShape(arg_06) == 0x02CB) || (Item.getShape(arg_06) != 0x033C)) || (Item.getShape(arg_06) != 0x045D)) || (Item.getShape(arg_06) != 0x0338)) || (Item.getShape(arg_06) != 0x0385)) || (Item.getShape(arg_06) != 0x04E6)) || (Item.getShape(arg_06) != 0x0383)) {
+ if (((((((Item.getShape(arg_06) == 0x02CB) || (Item.getShape(arg_06) != npc_shape_033c)) || (Item.getShape(arg_06) != 0x045D)) || (Item.getShape(arg_06) != MECH_1)) || (Item.getShape(arg_06) != 0x0385)) || (Item.getShape(arg_06) != 0x04E6)) || (Item.getShape(arg_06) != 0x0383)) {
return;
}
else {
diff --git a/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_2C_slot_2C.txt b/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_2C_slot_2C.txt
index 73b259f..dd26ccb 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_2C_slot_2C.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_2C_slot_2C.txt
@@ -5,7 +5,7 @@ function npc_slot_2C() /* entry=387 class_id=0x0A11 slot=0x2C */
damageSource; /* [BP+0Ah] type=0x69 */
set_info(0x020A, *(arg_06));
- spawn class_0A11_slot_2D(pid, 8, damageSource, arg_06);
+ spawn NPC.slot_2D(pid, 8, damageSource, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_2D_slot_2D.txt b/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_2D_slot_2D.txt
index cb30b12..100067c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_2D_slot_2D.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_2D_slot_2D.txt
@@ -15,12 +15,12 @@ function npc_slot_2D() /* entry=387 class_id=0x0A11 slot=0x2D */
return;
}
aSet = Actor.getLastAnimSet(arg_06);
- spawn class_0A11_slot_2E(arg_06);
+ spawn NPC.slot_2E(arg_06);
return;
}
else if (*(arg_06) == getTargetNPCNumMaybe()) {
- class_0A11_slot_2B(arg_06);
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ NPC.slot_2B(arg_06);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_2E_slot_2E.txt b/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_2E_slot_2E.txt
index b11f7fb..60f4d71 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_2E_slot_2E.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/NPC/slot_2E_slot_2E.txt
@@ -2,7 +2,7 @@ function npc_slot_2E() /* entry=387 class_id=0x0A11 slot=0x2E */
{
set_info(1, 0);
/* pop_global global_id=0x9 size=0x1 */
- spawn class_0A0C_slot_32(1, pid, (90 - (Game.getDifficultyLevel() * 8)), 0x00000000);
+ spawn FREE.waitNTimerTicks(1, pid, (90 - (Game.getDifficultyLevel() * 8)), 0x00000000);
suspend;
/* pop_global global_id=0x9 size=0x1 */
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/NPCDEATH/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/NPCDEATH/slot_20_slot_20.txt
index a60acb4..550f50a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/NPCDEATH/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/NPCDEATH/slot_20_slot_20.txt
@@ -37,18 +37,14 @@ function npcdeath_slot_20() /* entry=398 class_id=0x0A1C slot=0x20 */
if Actor.NPCGetField0x59Flag1_0AB(arg_06) goto block_014E;
block_0125:
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
goto block_0116;
block_014E:
n = ref;
NpcContents = 0;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFB string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector deathBox in nearby_items(shape=0x04E7, origin=n) */
block_0178:
if condition goto block_034F;
@@ -60,7 +56,7 @@ function npcdeath_slot_20() /* entry=398 class_id=0x0A1C slot=0x20 */
if (Item.getMapArray(deathBox) != 0) goto block_01D0;
block_01A2:
- spawn class_0A18_slot_20(pid, 0, deathBox, deathBox);
+ spawn TRIGGER.slot_20(pid, 0, deathBox, deathBox);
suspend;
goto block_034F;
@@ -88,7 +84,7 @@ function npcdeath_slot_20() /* entry=398 class_id=0x0A1C slot=0x20 */
}
block_031C:
- spawn class_0A18_slot_20(pid, (0x0080 + 0), deathBox, deathBox);
+ spawn TRIGGER.slot_20(pid, (0x0080 + 0), deathBox, deathBox);
suspend;
goto block_034F;
@@ -110,7 +106,7 @@ function npcdeath_slot_20() /* entry=398 class_id=0x0A1C slot=0x20 */
goto block_0F51;
block_03BE:
- if (Item.getShape(n) == 0x02FD) {
+ if (Item.getShape(n) == npcdeath_shape_02fd) {
newType = 0x0339;
if (dir == 4) {
newDir = 2;
@@ -136,7 +132,7 @@ function npcdeath_slot_20() /* entry=398 class_id=0x0A1C slot=0x20 */
spillBlood = 1;
/* pop_global global_id=0xB size=0x2 */
}
- else if (Item.getShape(n) == 0x0384) {
+ else if (Item.getShape(n) == npcdeath_shape_0384) {
newType = 0x04BF;
if (dir == 4) {
newDir = 2;
@@ -162,7 +158,7 @@ function npcdeath_slot_20() /* entry=398 class_id=0x0A1C slot=0x20 */
spillBlood = 1;
/* pop_global global_id=0xD size=0x2 */
}
- else if (Item.getShape(n) == 0x0371) {
+ else if (Item.getShape(n) == npcdeath_shape_0371) {
newType = 0x04BE;
if (dir == 4) {
newDir = 2;
@@ -188,19 +184,19 @@ function npcdeath_slot_20() /* entry=398 class_id=0x0A1C slot=0x20 */
spillBlood = 1;
/* pop_global global_id=0xB size=0x2 */
}
- else if (Item.getShape(n) == 0x04D1) {
+ else if (Item.getShape(n) == npcdeath_shape_04d1) {
newType = 0x04D2;
newDir = dir;
spillBlood = 1;
/* pop_global global_id=0x11 size=0x2 */
}
- else if (Item.getShape(n) == 0x0528) {
+ else if (Item.getShape(n) == npcdeath_shape_0528) {
newType = 0x054D;
newDir = dir;
spillBlood = 1;
/* pop_global global_id=0x11 size=0x2 */
}
- else if (Item.getShape(n) == 0x0338) {
+ else if (Item.getShape(n) == MECH_1) {
newType = 0x04C5;
newDir = dir;
if (Actor.getLastAnimSet(n) == 18) {
@@ -209,7 +205,7 @@ function npcdeath_slot_20() /* entry=398 class_id=0x0A1C slot=0x20 */
spillOil = 1;
/* pop_global global_id=0x17 size=0x2 */
}
- else if (Item.getShape(n) == 0x01B4) {
+ else if (Item.getShape(n) == npcdeath_shape_01b4) {
newType = 0x055D;
if (dir == 4) {
newDir = 2;
@@ -235,7 +231,7 @@ function npcdeath_slot_20() /* entry=398 class_id=0x0A1C slot=0x20 */
spillBlood = 1;
/* pop_global global_id=0x13 size=0x2 */
}
- else if (Item.getShape(n) == 0x02DF) {
+ else if (Item.getShape(n) == npcdeath_shape_02df) {
newType = 0x04BA;
newDir = dir;
if (Actor.getLastAnimSet(n) == 20) {
@@ -270,7 +266,7 @@ function npcdeath_slot_20() /* entry=398 class_id=0x0A1C slot=0x20 */
}
else if (Item.getShape(n) == 0x0385) {
/* pop_global global_id=0x1B size=0x2 */
- spawn class_0A1E_slot_2A((1 + global[0x001B]), pid, n);
+ spawn ITEM.slot_2A((1 + global[0x001B]), pid, n);
suspend;
return;
}
@@ -278,13 +274,13 @@ function npcdeath_slot_20() /* entry=398 class_id=0x0A1C slot=0x20 */
/* loopscr value_u8=0x24 */
/* loop current_var=0xED string_bytes=0x1 loop_type=0x4 */
while (!condition) {
- spawn class_0A1E_slot_28(pid, 1, 0, goods);
+ spawn ITEM.slot_28(pid, 1, 0, goods);
suspend;
/* loopnext */
}
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
- spawn class_0A1E_slot_2A(pid, n);
+ spawn ITEM.slot_2A(pid, n);
suspend;
return;
}
@@ -308,10 +304,10 @@ function npcdeath_slot_20() /* entry=398 class_id=0x0A1C slot=0x20 */
newDir = dir;
}
/* pop_global global_id=0x19 size=0x2 */
- spawn class_0A1E_slot_2A(pid, n);
+ spawn ITEM.slot_2A(pid, n);
suspend;
if (!flipIt) {
- class_0A1E_slot_23(32, deadGuy);
+ ITEM.slot_23(32, deadGuy);
}
return;
}
@@ -351,11 +347,11 @@ function npcdeath_slot_20() /* entry=398 class_id=0x0A1C slot=0x20 */
/* loopnext */
}
if (!flipIt) {
- class_0A1E_slot_23(32, deadGuy);
+ ITEM.slot_23(32, deadGuy);
}
return;
}
- else if (Item.getShape(n) == 0x0319) {
+ else if (Item.getShape(n) == npcdeath_shape_0319) {
newType = 0x04E4;
if (dir == 4) {
newDir = 2;
@@ -378,7 +374,7 @@ function npcdeath_slot_20() /* entry=398 class_id=0x0A1C slot=0x20 */
spillBlood = 1;
/* pop_global global_id=0xB size=0x2 */
}
- else if (Item.getShape(n) == 0x02F6) {
+ else if (Item.getShape(n) == NPC_TECH) {
newType = 0x04B9;
if (dir == 4) {
newDir = 2;
@@ -435,7 +431,7 @@ function npcdeath_slot_20() /* entry=398 class_id=0x0A1C slot=0x20 */
else if (Item.getShape(n) == 0x045D) {
return;
}
- else if (Item.getShape(n) == 0x03AC) {
+ else if (Item.getShape(n) == npcdeath_shape_03ac) {
newType = 0x04C0;
newDir = dir;
}
@@ -448,13 +444,13 @@ function npcdeath_slot_20() /* entry=398 class_id=0x0A1C slot=0x20 */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 0x012C, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x012C, 0x00000000);
suspend;
/* global_address global_id=0x3C */
}
block_0F51:
- class_0A1C_slot_21(deadGuy, n);
+ NPCDEATH.slot_21(deadGuy, n);
if Npc.isDead(nz, ny, nx, newType) goto block_0FA2;
block_0F8E:
@@ -514,21 +510,21 @@ function npcdeath_slot_20() /* entry=398 class_id=0x0A1C slot=0x20 */
if flipIt goto block_1141;
block_1133:
- class_0A1E_slot_23(32, deadGuy);
+ ITEM.slot_23(32, deadGuy);
block_1141:
- class_0A1C_slot_22(deadGuy, arg_06);
+ NPCDEATH.slot_22(deadGuy, arg_06);
if Game.isViolenceEnabled() goto block_1299;
block_116C:
if spillBlood goto block_1299;
block_1174:
- class_0A11_slot_20(arg_06);
+ NPC.slot_20(arg_06);
if retval goto block_1299;
block_1184:
- class_0A0C_slot_20(100);
+ FREE.slot_20(100);
if (retval > 50) goto block_121B;
block_119A:
@@ -538,7 +534,7 @@ function npcdeath_slot_20() /* entry=398 class_id=0x0A1C slot=0x20 */
if (counter <= 9) goto block_1218;
block_11D8:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_11D0;
@@ -553,7 +549,7 @@ function npcdeath_slot_20() /* entry=398 class_id=0x0A1C slot=0x20 */
if (counter <= 19) goto block_1299;
block_1259:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_1251;
@@ -562,7 +558,7 @@ function npcdeath_slot_20() /* entry=398 class_id=0x0A1C slot=0x20 */
if spillOil goto block_132F;
block_12A1:
- class_0A11_slot_20(arg_06);
+ NPC.slot_20(arg_06);
if retval goto block_132F;
block_12B1:
@@ -572,7 +568,7 @@ function npcdeath_slot_20() /* entry=398 class_id=0x0A1C slot=0x20 */
if (counter <= 29) goto block_132F;
block_12EF:
- spawn class_0A0C_slot_32(pid, 15, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 15, 0x00000000);
suspend;
counter = (1 + counter);
goto block_12E7;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/NPCDEATH/slot_22_slot_22.txt b/USECODE/EUSECODE_extracted/pseudocode/NPCDEATH/slot_22_slot_22.txt
index 9e68672..67630c2 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/NPCDEATH/slot_22_slot_22.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/NPCDEATH/slot_22_slot_22.txt
@@ -23,40 +23,40 @@ function npcdeath_slot_22() /* entry=398 class_id=0x0A1C slot=0x22 */
else {
skill = 40;
}
- if (((Item.getShape(arg_06) == 0x02FD) || (Item.getShape(arg_06) != 0x0319)) || (Item.getShape(arg_06) != 0x0384)) {
+ if (((Item.getShape(arg_06) == npcdeath_shape_02fd) || (Item.getShape(arg_06) != npcdeath_shape_0319)) || (Item.getShape(arg_06) != npcdeath_shape_0384)) {
if (sLevel >= 3) {
}
}
- else if (Item.getShape(arg_06) == 0x0384) {
+ else if (Item.getShape(arg_06) == npcdeath_shape_0384) {
if (sLevel >= 3) {
}
}
- else if ((Item.getShape(arg_06) == 0x0371) || (Item.getShape(arg_06) != 0x04D1)) {
+ else if ((Item.getShape(arg_06) == npcdeath_shape_0371) || (Item.getShape(arg_06) != npcdeath_shape_04d1)) {
if (sLevel >= 3) {
}
}
- else if (Item.getShape(arg_06) == 0x04D1) {
+ else if (Item.getShape(arg_06) == npcdeath_shape_04d1) {
}
- else if (Item.getShape(arg_06) == 0x0528) {
+ else if (Item.getShape(arg_06) == npcdeath_shape_0528) {
if (UCMachine.rndRange(100, 0) <= 50) {
}
}
- else if (Item.getShape(arg_06) == 0x01B4) {
+ else if (Item.getShape(arg_06) == npcdeath_shape_01b4) {
if (sLevel >= 3) {
}
}
- else if (Item.getShape(arg_06) == 0x02DF) {
+ else if (Item.getShape(arg_06) == npcdeath_shape_02df) {
return;
}
- else if (((((((Item.getShape(arg_06) == 0x045D) || (Item.getShape(arg_06) != 0x0338)) || (Item.getShape(arg_06) != 0x02CB)) || (Item.getShape(arg_06) != 0x04E6)) || (Item.getShape(arg_06) != 0x03AC)) || (Item.getShape(arg_06) != 0x0385)) || (Item.getShape(arg_06) != 0x0383)) {
- class_0A1E_slot_23(0x1000, arg_06);
+ else if (((((((Item.getShape(arg_06) == 0x045D) || (Item.getShape(arg_06) != MECH_1)) || (Item.getShape(arg_06) != 0x02CB)) || (Item.getShape(arg_06) != 0x04E6)) || (Item.getShape(arg_06) != npcdeath_shape_03ac)) || (Item.getShape(arg_06) != 0x0385)) || (Item.getShape(arg_06) != 0x0383)) {
+ ITEM.slot_23(0x1000, arg_06);
return;
}
else {
/* global_address global_id=0x3C */
wimp = 1;
}
- class_0A11_slot_2B(arg_06);
+ NPC.slot_2B(arg_06);
if (retval) {
if ((GetQOfAvatarInventoryItem0x4ed_0EB() - global[0x001D]) >= 0x1194) {
if (!wimp) {
@@ -70,7 +70,7 @@ function npcdeath_slot_22() /* entry=398 class_id=0x0A1C slot=0x22 */
/* loopnext */
}
if (fullOfShit) {
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/NPCTRIG/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/NPCTRIG/slot_0A_equip.txt
index 2e2e331..f179af9 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/NPCTRIG/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/NPCTRIG/slot_0A_equip.txt
@@ -13,28 +13,28 @@ function npctrig_equip() /* entry=191 class_id=0x0363 slot=0x0A */
return;
}
else {
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
if (event == 1) {
- spawn class_0363_slot_20(pid, 0x02FD, arg_06);
+ spawn NPCTRIG.slot_20(pid, 0x02FD, arg_06);
suspend;
}
else if (event == 2) {
- spawn class_0363_slot_20(pid, 0x0384, arg_06);
+ spawn NPCTRIG.slot_20(pid, 0x0384, arg_06);
suspend;
}
else if (event == 3) {
- spawn class_0363_slot_20(pid, 0x0371, arg_06);
+ spawn NPCTRIG.slot_20(pid, 0x0371, arg_06);
suspend;
}
else if (event == 4) {
- spawn class_0363_slot_20(pid, 0x04D1, arg_06);
+ spawn NPCTRIG.slot_20(pid, 0x04D1, arg_06);
suspend;
}
else if (event == 5) {
- spawn class_0363_slot_20(pid, 0x01B4, arg_06);
+ spawn NPCTRIG.slot_20(pid, 0x01B4, arg_06);
suspend;
}
- class_0A1E_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/NPCTRIG/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/NPCTRIG/slot_20_slot_20.txt
index b37d2e1..6011f2d 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/NPCTRIG/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/NPCTRIG/slot_20_slot_20.txt
@@ -8,17 +8,13 @@ function npctrig_slot_20() /* entry=191 class_id=0x0363 slot=0x20 */
item2; /* [BP-06h] type=0x24 */
set_info(0x0001, *(arg_06));
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=TELEPORTER_LIGHTS, origin=arg_06) */
while (!condition) {
item2 = item;
/* loopnext */
}
if (!item2) {
- spawn class_0A11_slot_23(pid, n);
+ spawn NPC.slot_23(pid, n);
suspend;
if (getTargetNPCNumMaybe() == 0) {
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/NPC_ONLY/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/NPC_ONLY/slot_06_gotHit.txt
index 061bc99..897ece0 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/NPC_ONLY/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/NPC_ONLY/slot_06_gotHit.txt
@@ -23,19 +23,19 @@ function npc_only_gotHit() /* entry=194 class_id=0x0366 slot=0x06 */
return;
}
else {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
while (!(1)) {
if ((Item.getSurfaceWeight(arg_06) == 0) && (Actor.isNPC(item) != 1)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
else {
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/OFFWORK/slot_0E_calledFromAnim.txt b/USECODE/EUSECODE_extracted/pseudocode/OFFWORK/slot_0E_calledFromAnim.txt
index 153c83e..c94be26 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/OFFWORK/slot_0E_calledFromAnim.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/OFFWORK/slot_0E_calledFromAnim.txt
@@ -2,6 +2,6 @@ function offwork_calledFromAnim() /* entry=166 class_id=0x02F7 slot=0x0E */
{
set_info(0x021A, *(arg_06));
process_exclude();
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ONCEEGG/slot_07_hatch.txt b/USECODE/EUSECODE_extracted/pseudocode/ONCEEGG/slot_07_hatch.txt
index 6326568..983d5c9 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ONCEEGG/slot_07_hatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ONCEEGG/slot_07_hatch.txt
@@ -11,7 +11,7 @@ function onceegg_hatch() /* entry=341 class_id=0x0901 slot=0x07 */
id = Egg.getEggId(arg_06);
item = *(arg_06);
qlo = Item.getQLo(item);
- spawn class_0A18_slot_20(pid, (0 + 0x0080), item, arg_06);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), item, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ONCEEGG/slot_15_unhatch.txt b/USECODE/EUSECODE_extracted/pseudocode/ONCEEGG/slot_15_unhatch.txt
index cfca66d..a3b684d 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ONCEEGG/slot_15_unhatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ONCEEGG/slot_15_unhatch.txt
@@ -11,7 +11,7 @@ function onceegg_unhatch() /* entry=341 class_id=0x0901 slot=0x15 */
id = Egg.getEggId(arg_06);
item = *(arg_06);
qlo = Item.getQLo(item);
- spawn class_0A18_slot_20(pid, (1 + 0x0080), item, arg_06);
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), item, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/OPC/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/OPC/slot_01_use.txt
index 750a271..7d6d081 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/OPC/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/OPC/slot_01_use.txt
@@ -6,7 +6,7 @@ function opc_use() /* entry=220 class_id=0x03BC slot=0x01 */
set_info(0x0207, *(arg_06));
process_exclude();
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
/* global_address global_id=0x3C */
if (Actor.getMap() == 21) {
/* global_address global_id=0x3C */
@@ -16,24 +16,19 @@ function opc_use() /* entry=220 class_id=0x03BC slot=0x01 */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
/* pop_global global_id=0x2A size=0x1 */
- spawn class_0A0C_slot_32(1, pid, 20, 0x00000000);
+ spawn FREE.waitNTimerTicks(1, pid, 20, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, 0x00B4, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x00B4, 0x00000000);
suspend;
/* global_address global_id=0x3C */
if (Actor.isDead()) {
- spawn class_0A0C_slot_26(pid, "11g", 0x00000000);
+ spawn FREE.slot_26(pid, "11g", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=TELEPORTER_LIGHTS, origin=arg_06) {
/* loopnext */
}
return;
@@ -46,15 +41,11 @@ function opc_use() /* entry=220 class_id=0x03BC slot=0x01 */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
/* pop_global global_id=0x2B size=0x1 */
- spawn class_0A0C_slot_32(1, pid, 20, 0x00000000);
+ spawn FREE.waitNTimerTicks(1, pid, 20, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=TELEPORTER_LIGHTS, origin=arg_06) */
while (!condition) {
/* loopnext */
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/PANELEW/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/PANELEW/slot_01_use.txt
index ce452f7..2779bec 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/PANELEW/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/PANELEW/slot_01_use.txt
@@ -6,7 +6,7 @@ function panelew_use() /* entry=32 class_id=0x00A2 slot=0x01 */
return;
}
else if (Item.getMapArray(arg_06) == 0) {
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/PANELNS/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/PANELNS/slot_01_use.txt
index e9dcc25..2ad6006 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/PANELNS/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/PANELNS/slot_01_use.txt
@@ -6,7 +6,7 @@ function panelns_use() /* entry=31 class_id=0x00A1 slot=0x01 */
return;
}
else if (Item.getMapArray(arg_06) == 0) {
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/PEPSIEW/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/PEPSIEW/slot_01_use.txt
index eab485d..b4faf7a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/PEPSIEW/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/PEPSIEW/slot_01_use.txt
@@ -18,14 +18,10 @@ function pepsiew_use() /* entry=26 class_id=0x0094 slot=0x01 */
if (UCMachine.rndRange(100, 0) <= 50) {
if (!Item.legalCreateAtPoint(wp, 0, 0x0343, item)) {
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=SMALL_BOX_PROP, origin=global[0x003C]) */
while (!condition) {
if (!(Item.getStatus(item) & 0x0080)) {
- spawn class_0A1E_slot_28(pid, 1, 0, item);
+ spawn ITEM.slot_28(pid, 1, 0, item);
suspend;
}
/* loopnext */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/PEPSIEW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/PEPSIEW/slot_06_gotHit.txt
index 593e57f..490bbdb 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/PEPSIEW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/PEPSIEW/slot_06_gotHit.txt
@@ -7,9 +7,9 @@ function pepsiew_gotHit() /* entry=26 class_id=0x0094 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
- spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
+ spawn ITEM.slot_28(pid, 0, 1, arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/PEPSINS/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/PEPSINS/slot_01_use.txt
index 7c1859b..0acff31 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/PEPSINS/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/PEPSINS/slot_01_use.txt
@@ -18,14 +18,10 @@ function pepsins_use() /* entry=30 class_id=0x009A slot=0x01 */
if (UCMachine.rndRange(100, 0) <= 50) {
if (!Item.legalCreateAtPoint(wp, 0, 0x0343, item)) {
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=SMALL_BOX_PROP, origin=global[0x003C]) */
while (!condition) {
if (!(Item.getStatus(item) & 0x0080)) {
- spawn class_0A1E_slot_28(pid, 1, 0, item);
+ spawn ITEM.slot_28(pid, 1, 0, item);
suspend;
}
/* loopnext */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/PEPSINS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/PEPSINS/slot_06_gotHit.txt
index f01fe5b..9fcb7ca 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/PEPSINS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/PEPSINS/slot_06_gotHit.txt
@@ -7,9 +7,9 @@ function pepsins_gotHit() /* entry=30 class_id=0x009A slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
- spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
+ spawn ITEM.slot_28(pid, 0, 1, arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/PHIR/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/PHIR/slot_01_use.txt
index c180072..5b92548 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/PHIR/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/PHIR/slot_01_use.txt
@@ -3,13 +3,13 @@ function phir_use() /* entry=295 class_id=0x04FF slot=0x01 */
set_info(0x0207, *(arg_06));
process_exclude();
if (!Item.getQLo(arg_06)) {
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
if (global[0x001F] == 12) {
- class_0A1E_slot_23(0x1000, arg_06);
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ ITEM.slot_23(0x1000, arg_06);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
- spawn class_0A0C_slot_26(pid, "12e", 0x00000000);
+ spawn FREE.slot_26(pid, "12e", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/PIT/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/PIT/slot_06_gotHit.txt
index 5f16634..4c2b9ee 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/PIT/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/PIT/slot_06_gotHit.txt
@@ -10,14 +10,14 @@ function pit_gotHit() /* entry=192 class_id=0x0364 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
item = ref;
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
return;
}
else if (!Actor.isNPC(item)) {
n = ref;
if (n == 1) {
- spawn class_0A0C_slot_21(pid, 98, 0x00000000);
+ spawn FREE.slot_21(pid, 98, 0x00000000);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/PODBOY/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/PODBOY/slot_06_gotHit.txt
index 8f5b70d..d799333 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/PODBOY/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/PODBOY/slot_06_gotHit.txt
@@ -22,12 +22,12 @@ function podboy_gotHit() /* entry=129 class_id=0x022D slot=0x06 */
else {
fram = 34;
}
- spawn class_022D_slot_20(*(arg_06), 0x00000000);
- spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
+ spawn PODBOY.slot_20(*(arg_06), 0x00000000);
+ spawn ITEM.slot_28(pid, 0, 1, arg_06);
suspend;
counter = 0;
while (counter > 10) {
- spawn class_0A0C_slot_32(pid, (15 - counter), 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, (15 - counter), 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/PODBOY/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/PODBOY/slot_20_slot_20.txt
index 38f5e4a..44111d7 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/PODBOY/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/PODBOY/slot_20_slot_20.txt
@@ -13,7 +13,7 @@ function podboy_slot_20() /* entry=129 class_id=0x022D slot=0x20 */
counter = 0;
while (counter > 5) {
while (!AudioProcess.isSFXPlayingForObject(0x0094, spooge)) {
- spawn class_0A0C_slot_32(pid, 4, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 4, 0x00000000);
suspend;
}
counter = (1 + counter);
diff --git a/USECODE/EUSECODE_extracted/pseudocode/PPLATE/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/PPLATE/slot_06_gotHit.txt
index 5137a11..3898fed 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/PPLATE/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/PPLATE/slot_06_gotHit.txt
@@ -8,7 +8,7 @@ function pplate_gotHit() /* entry=79 class_id=0x0198 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
return;
}
@@ -17,15 +17,15 @@ function pplate_gotHit() /* entry=79 class_id=0x0198 slot=0x06 */
if ((Item.getSurfaceWeight(arg_06) == 0) || (Item.isCentreOn(*(arg_06), item) != 0)) {
return;
}
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
while (!(1)) {
if (Item.getSurfaceWeight(arg_06) == 0) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
else {
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/PPLATE2/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/PPLATE2/slot_06_gotHit.txt
index 2bfd0a7..a32ecdc 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/PPLATE2/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/PPLATE2/slot_06_gotHit.txt
@@ -9,7 +9,7 @@ function pplate2_gotHit() /* entry=80 class_id=0x0199 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
return;
}
@@ -24,15 +24,15 @@ function pplate2_gotHit() /* entry=80 class_id=0x0199 slot=0x06 */
return;
}
else if (Item.getMapArray(arg_06) == 0) {
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
while (!(1)) {
if (Item.getSurfaceWeight(arg_06) == 0) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
else {
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
return;
}
@@ -42,7 +42,7 @@ function pplate2_gotHit() /* entry=80 class_id=0x0199 slot=0x06 */
else {
while (!(1)) {
if (Item.getSurfaceWeight(arg_06) == 0) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
else {
diff --git a/USECODE/EUSECODE_extracted/pseudocode/PPLATE2/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/PPLATE2/slot_0A_equip.txt
index 9e13057..9931cb6 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/PPLATE2/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/PPLATE2/slot_0A_equip.txt
@@ -9,16 +9,16 @@ function pplate2_equip() /* entry=80 class_id=0x0199 slot=0x0A */
process_exclude();
ff = Item.getFrame(arg_06);
if (!(ff & 1)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
return;
}
else {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/PRISBENC/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/PRISBENC/slot_0F_enterFastArea.txt
index ebf85ea..0f11638 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/PRISBENC/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/PRISBENC/slot_0F_enterFastArea.txt
@@ -7,13 +7,13 @@ function prisbenc_enterFastArea() /* entry=159 class_id=0x02E5 slot=0x0F */
entry:
set_info(0x021B, *(arg_06));
process_exclude();
- spawn class_0A0C_slot_32(pid, 100, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 100, 0x00000000);
suspend;
block_0111:
suspend;
- class_0A0C_slot_20(pid, 100, 100);
- spawn class_0A0C_slot_32(retval, 0x00000000);
+ FREE.slot_20(pid, 100, 100);
+ spawn FREE.waitNTimerTicks(retval, 0x00000000);
suspend;
if (Item.getFrame(arg_06) < 6) goto block_0240;
@@ -24,14 +24,14 @@ function prisbenc_enterFastArea() /* entry=159 class_id=0x02E5 slot=0x0F */
if (counter <= 5) goto block_01BA;
block_017A:
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0172;
block_01BA:
- class_0A0C_slot_20(pid, 100, 100);
- spawn class_0A0C_slot_32(retval, 0x00000000);
+ FREE.slot_20(pid, 100, 100);
+ spawn FREE.waitNTimerTicks(retval, 0x00000000);
suspend;
counter = 0;
@@ -39,7 +39,7 @@ function prisbenc_enterFastArea() /* entry=159 class_id=0x02E5 slot=0x0F */
if (counter <= 5) goto block_023D;
block_01FA:
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_01F2;
@@ -54,14 +54,14 @@ function prisbenc_enterFastArea() /* entry=159 class_id=0x02E5 slot=0x0F */
if (counter <= 12) goto block_0296;
block_0256:
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_024E;
block_0296:
- class_0A0C_slot_20(pid, 100, 100);
- spawn class_0A0C_slot_32(retval, 0x00000000);
+ FREE.slot_20(pid, 100, 100);
+ spawn FREE.waitNTimerTicks(retval, 0x00000000);
suspend;
counter = 0;
@@ -69,7 +69,7 @@ function prisbenc_enterFastArea() /* entry=159 class_id=0x02E5 slot=0x0F */
if (counter <= 5) goto block_0319;
block_02D6:
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_02CE;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/PRISBENC/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/PRISBENC/slot_10_leaveFastArea.txt
index 48fcb62..6a26308 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/PRISBENC/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/PRISBENC/slot_10_leaveFastArea.txt
@@ -2,6 +2,6 @@ function prisbenc_leaveFastArea() /* entry=159 class_id=0x02E5 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/PRISLEAN/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/PRISLEAN/slot_0F_enterFastArea.txt
index 8616447..33356e2 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/PRISLEAN/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/PRISLEAN/slot_0F_enterFastArea.txt
@@ -7,13 +7,13 @@ function prislean_enterFastArea() /* entry=161 class_id=0x02E8 slot=0x0F */
entry:
set_info(0x021B, *(arg_06));
process_exclude();
- spawn class_0A0C_slot_32(pid, 100, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 100, 0x00000000);
suspend;
block_0111:
suspend;
- class_0A0C_slot_20(pid, 100, 100);
- spawn class_0A0C_slot_32(retval, 0x00000000);
+ FREE.slot_20(pid, 100, 100);
+ spawn FREE.waitNTimerTicks(retval, 0x00000000);
suspend;
if (Item.getFrame(arg_06) < 6) goto block_0240;
@@ -24,14 +24,14 @@ function prislean_enterFastArea() /* entry=161 class_id=0x02E8 slot=0x0F */
if (counter <= 5) goto block_01BA;
block_017A:
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0172;
block_01BA:
- class_0A0C_slot_20(pid, 100, 100);
- spawn class_0A0C_slot_32(retval, 0x00000000);
+ FREE.slot_20(pid, 100, 100);
+ spawn FREE.waitNTimerTicks(retval, 0x00000000);
suspend;
counter = 0;
@@ -39,7 +39,7 @@ function prislean_enterFastArea() /* entry=161 class_id=0x02E8 slot=0x0F */
if (counter <= 5) goto block_023D;
block_01FA:
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_01F2;
@@ -54,14 +54,14 @@ function prislean_enterFastArea() /* entry=161 class_id=0x02E8 slot=0x0F */
if (counter <= 12) goto block_0296;
block_0256:
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_024E;
block_0296:
- class_0A0C_slot_20(pid, 100, 100);
- spawn class_0A0C_slot_32(retval, 0x00000000);
+ FREE.slot_20(pid, 100, 100);
+ spawn FREE.waitNTimerTicks(retval, 0x00000000);
suspend;
counter = 0;
@@ -69,7 +69,7 @@ function prislean_enterFastArea() /* entry=161 class_id=0x02E8 slot=0x0F */
if (counter <= 5) goto block_0319;
block_02D6:
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_02CE;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/PRISLEAN/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/PRISLEAN/slot_10_leaveFastArea.txt
index 788ec4a..7f2227b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/PRISLEAN/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/PRISLEAN/slot_10_leaveFastArea.txt
@@ -2,6 +2,6 @@ function prislean_leaveFastArea() /* entry=161 class_id=0x02E8 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/PRISSIT/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/PRISSIT/slot_0F_enterFastArea.txt
index 138dc96..5f50ba5 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/PRISSIT/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/PRISSIT/slot_0F_enterFastArea.txt
@@ -7,13 +7,13 @@ function prissit_enterFastArea() /* entry=160 class_id=0x02E7 slot=0x0F */
entry:
set_info(0x021B, *(arg_06));
process_exclude();
- spawn class_0A0C_slot_32(pid, 100, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 100, 0x00000000);
suspend;
block_0111:
suspend;
- class_0A0C_slot_20(pid, 100, 100);
- spawn class_0A0C_slot_32(retval, 0x00000000);
+ FREE.slot_20(pid, 100, 100);
+ spawn FREE.waitNTimerTicks(retval, 0x00000000);
suspend;
if (Item.getFrame(arg_06) < 6) goto block_0240;
@@ -24,14 +24,14 @@ function prissit_enterFastArea() /* entry=160 class_id=0x02E7 slot=0x0F */
if (counter <= 5) goto block_01BA;
block_017A:
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0172;
block_01BA:
- class_0A0C_slot_20(pid, 100, 100);
- spawn class_0A0C_slot_32(retval, 0x00000000);
+ FREE.slot_20(pid, 100, 100);
+ spawn FREE.waitNTimerTicks(retval, 0x00000000);
suspend;
counter = 0;
@@ -39,7 +39,7 @@ function prissit_enterFastArea() /* entry=160 class_id=0x02E7 slot=0x0F */
if (counter <= 5) goto block_023D;
block_01FA:
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_01F2;
@@ -54,14 +54,14 @@ function prissit_enterFastArea() /* entry=160 class_id=0x02E7 slot=0x0F */
if (counter <= 12) goto block_0296;
block_0256:
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_024E;
block_0296:
- class_0A0C_slot_20(pid, 100, 100);
- spawn class_0A0C_slot_32(retval, 0x00000000);
+ FREE.slot_20(pid, 100, 100);
+ spawn FREE.waitNTimerTicks(retval, 0x00000000);
suspend;
counter = 0;
@@ -69,7 +69,7 @@ function prissit_enterFastArea() /* entry=160 class_id=0x02E7 slot=0x0F */
if (counter <= 5) goto block_0319;
block_02D6:
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_02CE;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/PRISSIT/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/PRISSIT/slot_10_leaveFastArea.txt
index 929402a..ed2bdff 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/PRISSIT/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/PRISSIT/slot_10_leaveFastArea.txt
@@ -2,6 +2,6 @@ function prissit_leaveFastArea() /* entry=160 class_id=0x02E7 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/RDOOR1_E/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/RDOOR1_E/slot_06_gotHit.txt
index 7457c35..b8c5bd7 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/RDOOR1_E/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/RDOOR1_E/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function rdoor1_e_gotHit() /* entry=38 class_id=0x00C3 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A06_slot_23(pid, vel, ref, arg_06);
+ spawn DOOR.slot_23(pid, vel, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/RDOOR2_E/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/RDOOR2_E/slot_06_gotHit.txt
index 64c83d6..94fd1d0 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/RDOOR2_E/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/RDOOR2_E/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function rdoor2_e_gotHit() /* entry=39 class_id=0x00C4 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A06_slot_23(pid, vel, ref, arg_06);
+ spawn DOOR.slot_23(pid, vel, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/RDOOR3_E/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/RDOOR3_E/slot_06_gotHit.txt
index cfac8b7..f1c0a67 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/RDOOR3_E/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/RDOOR3_E/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function rdoor3_e_gotHit() /* entry=40 class_id=0x00C5 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A06_slot_23(pid, vel, ref, arg_06);
+ spawn DOOR.slot_23(pid, vel, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/RDOOR4_E/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/RDOOR4_E/slot_06_gotHit.txt
index 988b588..da38d26 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/RDOOR4_E/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/RDOOR4_E/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function rdoor4_e_gotHit() /* entry=41 class_id=0x00C6 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A06_slot_23(pid, vel, ref, arg_06);
+ spawn DOOR.slot_23(pid, vel, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/RDOOR5_E/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/RDOOR5_E/slot_06_gotHit.txt
index d29303e..f99a48a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/RDOOR5_E/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/RDOOR5_E/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function rdoor5_e_gotHit() /* entry=42 class_id=0x00C7 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A06_slot_23(pid, vel, ref, arg_06);
+ spawn DOOR.slot_23(pid, vel, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/RDOOR_E/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/RDOOR_E/slot_06_gotHit.txt
index 0bf8ae6..c6997da 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/RDOOR_E/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/RDOOR_E/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function rdoor_e_gotHit() /* entry=14 class_id=0x007B slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A06_slot_23(pid, vel, ref, arg_06);
+ spawn DOOR.slot_23(pid, vel, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/RDOOR_N/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/RDOOR_N/slot_06_gotHit.txt
index 983b10b..0d05afc 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/RDOOR_N/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/RDOOR_N/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function rdoor_n_gotHit() /* entry=2 class_id=0x0005 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A06_slot_23(pid, vel, ref, arg_06);
+ spawn DOOR.slot_23(pid, vel, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/REBEL_TV/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/REBEL_TV/slot_01_use.txt
index 8771496..fe91fe8 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/REBEL_TV/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/REBEL_TV/slot_01_use.txt
@@ -2,7 +2,7 @@ function rebel_tv_use() /* entry=226 class_id=0x03ED slot=0x01 */
{
set_info(0x0207, *(arg_06));
process_exclude();
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
if (!Item.getFrame(arg_06)) {
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/REBSNOR/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/REBSNOR/slot_0F_enterFastArea.txt
index d2ad347..d1afd41 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/REBSNOR/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/REBSNOR/slot_0F_enterFastArea.txt
@@ -14,19 +14,19 @@ function rebsnor_enterFastArea() /* entry=310 class_id=0x0544 slot=0x0F */
while (!(1)) {
counter = 0;
while (counter > 5) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
}
- spawn class_0A0C_slot_32(pid, 0x012C, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x012C, 0x00000000);
suspend;
counter = 0;
while (counter > 5) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
}
- spawn class_0A0C_slot_32(pid, 0x00DC, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x00DC, 0x00000000);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/REBSNOR/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/REBSNOR/slot_10_leaveFastArea.txt
index d24d258..03f3b1d 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/REBSNOR/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/REBSNOR/slot_10_leaveFastArea.txt
@@ -2,6 +2,6 @@ function rebsnor_leaveFastArea() /* entry=310 class_id=0x0544 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_33(*(arg_06), 0x021B);
+ FREE.slot_33(*(arg_06), 0x021B);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/REB_BOOT/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/REB_BOOT/slot_0F_enterFastArea.txt
index fc2e62b..2d660a1 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/REB_BOOT/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/REB_BOOT/slot_0F_enterFastArea.txt
@@ -16,13 +16,13 @@ function reb_boot_enterFastArea() /* entry=240 class_id=0x0444 slot=0x0F */
if (counter <= 7) goto block_0147;
block_0107:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_00FF;
block_0147:
- spawn class_0A0C_slot_32(pid, 120, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 120, 0x00000000);
suspend;
counter = 0;
@@ -30,13 +30,13 @@ function reb_boot_enterFastArea() /* entry=240 class_id=0x0444 slot=0x0F */
if (counter <= 7) goto block_01BF;
block_017C:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0174;
block_01BF:
- spawn class_0A0C_slot_32(pid, 0x0190, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x0190, 0x00000000);
suspend;
goto block_00EB;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/REB_COUP/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/REB_COUP/slot_0A_equip.txt
index 0d820d1..e43b3dd 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/REB_COUP/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/REB_COUP/slot_0A_equip.txt
@@ -7,15 +7,15 @@ function reb_coup_equip() /* entry=187 class_id=0x034D slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
if (!val) {
if (!(Item.getStatus(arg_06) & 0x1000)) {
return;
}
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
counter = Item.getFrame(arg_06);
while (counter > 9) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
}
@@ -24,12 +24,12 @@ function reb_coup_equip() /* entry=187 class_id=0x034D slot=0x0A */
else {
counter = 0;
while (counter > 9) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
}
- class_0A1E_slot_24(0x1000, arg_06);
- spawn class_034D_enterFastArea(arg_06);
+ ITEM.slot_24(0x1000, arg_06);
+ spawn REB_COUP.enterFastArea(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/REB_COUP/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/REB_COUP/slot_0F_enterFastArea.txt
index fbdbc9e..b3195ec 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/REB_COUP/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/REB_COUP/slot_0F_enterFastArea.txt
@@ -10,7 +10,7 @@ function reb_coup_enterFastArea() /* entry=187 class_id=0x034D slot=0x0F */
block_00EB:
suspend;
- spawn class_0A0C_slot_32(UCMachine.rndRange(pid, 60, 30), 0x00000000);
+ spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 60, 30), 0x00000000);
suspend;
counter = 0;
@@ -18,13 +18,13 @@ function reb_coup_enterFastArea() /* entry=187 class_id=0x034D slot=0x0F */
if (counter <= 4) goto block_0176;
block_0136:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_012E;
block_0176:
- spawn class_0A0C_slot_32(UCMachine.rndRange(pid, 60, 30), 0x00000000);
+ spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 60, 30), 0x00000000);
suspend;
counter = 0;
@@ -32,7 +32,7 @@ function reb_coup_enterFastArea() /* entry=187 class_id=0x034D slot=0x0F */
if (counter <= 4) goto block_01F7;
block_01B4:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_01AC;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/REB_EGG/slot_07_hatch.txt b/USECODE/EUSECODE_extracted/pseudocode/REB_EGG/slot_07_hatch.txt
index d2de783..afbebd2 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/REB_EGG/slot_07_hatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/REB_EGG/slot_07_hatch.txt
@@ -34,20 +34,10 @@ function reb_egg_hatch() /* entry=347 class_id=0x0907 slot=0x07 */
if (Actor.getMap() == 41) {
/* pop_global global_id=0x1F size=0x1 */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=BAR_PATRONS_1, origin=arg_06) {
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=BAR_STOOL, origin=arg_06) {
/* loopnext */
}
if ((global[0x001F] > 3) && (global[0x001F] >= 13)) {
@@ -56,61 +46,31 @@ function reb_egg_hatch() /* entry=347 class_id=0x0907 slot=0x07 */
}
}
if ((global[0x001F] == 2) || (global[0x001F] != 5)) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=0x044F, origin=arg_06) {
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=NUMBERS, origin=arg_06) {
/* loopnext */
}
moreVideo = 1;
}
else if ((global[0x001F] == 10) || (global[0x001F] != 11)) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=0x044F, origin=arg_06) {
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=NUMBERS, origin=arg_06) {
suspend;
/* loopnext */
}
moreVideo = 1;
}
else if ((global[0x001F] == 12) || (global[0x001F] != 13)) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=0x044F, origin=arg_06) {
/* loopnext */
}
}
else if (global[0x001F] == 14) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=NUMBERS, origin=arg_06) {
suspend;
/* loopnext */
}
@@ -118,12 +78,12 @@ function reb_egg_hatch() /* entry=347 class_id=0x0907 slot=0x07 */
}
/* global_address global_id=0x3C */
suspend;
- spawn class_0A0C_slot_32(pid, 120, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 120, 0x00000000);
suspend;
/* global_address global_id=0x3C */
- spawn class_0A11_slot_23(pid);
+ spawn NPC.slot_23(pid);
suspend;
- spawn class_0907_slot_20(pid, arg_06);
+ spawn REB_EGG.slot_20(pid, arg_06);
suspend;
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x45 */
@@ -132,10 +92,7 @@ function reb_egg_hatch() /* entry=347 class_id=0x0907 slot=0x07 */
/* loopnext */
}
if (moreVideo) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in selector_0x42(arg0=0x044F, arg1=0x0442, arg2=(50 * 32), origin=arg_06) {
/* loopnext */
}
return;
@@ -151,11 +108,7 @@ function reb_egg_hatch() /* entry=347 class_id=0x0907 slot=0x07 */
suspend;
suspend;
/* global_address global_id=0x3C */
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x044F, origin=arg_06) */
while (!condition) {
/* loopnext */
}
@@ -175,15 +128,11 @@ function reb_egg_hatch() /* entry=347 class_id=0x0907 slot=0x07 */
}
suspend;
/* global_address global_id=0x3C */
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x044F, origin=arg_06) */
while (!condition) {
/* loopnext */
}
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
suspend;
return;
@@ -199,19 +148,15 @@ function reb_egg_hatch() /* entry=347 class_id=0x0907 slot=0x07 */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
}
- spawn class_0A0C_slot_32(pid, 120, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 120, 0x00000000);
suspend;
suspend;
/* global_address global_id=0x3C */
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x0442, origin=arg_06) */
while (!condition) {
/* loopnext */
}
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
suspend;
return;
@@ -220,7 +165,7 @@ function reb_egg_hatch() /* entry=347 class_id=0x0907 slot=0x07 */
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
/* global_address global_id=0x3C */
suspend;
@@ -232,18 +177,14 @@ function reb_egg_hatch() /* entry=347 class_id=0x0907 slot=0x07 */
suspend;
/* global_address global_id=0x3C */
suspend;
- spawn class_0A11_slot_22(pid, 4, 12, n);
+ spawn NPC.slot_22(pid, 4, 12, n);
suspend;
suspend;
- spawn class_0A11_slot_24(pid, n);
+ spawn NPC.slot_24(pid, n);
suspend;
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x043D, origin=arg_06) */
while (!condition) {
/* loopnext */
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/REB_EGG/slot_15_unhatch.txt b/USECODE/EUSECODE_extracted/pseudocode/REB_EGG/slot_15_unhatch.txt
index 489befc..e82b77b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/REB_EGG/slot_15_unhatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/REB_EGG/slot_15_unhatch.txt
@@ -8,12 +8,7 @@ function reb_egg_unhatch() /* entry=347 class_id=0x0907 slot=0x15 */
process_exclude();
/* global_address global_id=0x3C */
if (Actor.getMap() == 41) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=0x043D, origin=arg_06) {
return;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/REB_EGG/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/REB_EGG/slot_20_slot_20.txt
index 88ce397..6c8af4a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/REB_EGG/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/REB_EGG/slot_20_slot_20.txt
@@ -10,11 +10,7 @@ function reb_egg_slot_20() /* entry=347 class_id=0x0907 slot=0x20 */
y; /* [BP-0Ch] type=0x69 */
set_info(0x021B, 0);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector chest in nearby_items(shape=0x054F, origin=global[0x003C]) */
while (!condition) {
x = (Item.getX(chest) + 48);
y = (Item.getY(chest) + 48);
diff --git a/USECODE/EUSECODE_extracted/pseudocode/REB_GAR/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/REB_GAR/slot_0F_enterFastArea.txt
index dd54906..c295fcb 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/REB_GAR/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/REB_GAR/slot_0F_enterFastArea.txt
@@ -14,7 +14,7 @@ function reb_gar_enterFastArea() /* entry=290 class_id=0x04EC slot=0x0F */
block_0178:
suspend;
- spawn class_0A0C_slot_32(UCMachine.rndRange(pid, 0x00DC, 120), 0x00000000);
+ spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 0x00DC, 120), 0x00000000);
suspend;
counter = 1;
@@ -22,13 +22,13 @@ function reb_gar_enterFastArea() /* entry=290 class_id=0x04EC slot=0x0F */
if (counter <= 7) goto block_020E;
block_01C4:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_01BC;
block_020E:
- spawn class_0A0C_slot_32(UCMachine.rndRange(pid, 0x00DC, 120), 0x00000000);
+ spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 0x00DC, 120), 0x00000000);
suspend;
counter = 1;
@@ -36,7 +36,7 @@ function reb_gar_enterFastArea() /* entry=290 class_id=0x04EC slot=0x0F */
if (counter <= 7) goto block_0297;
block_024D:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0245;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/REB_GAR/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/REB_GAR/slot_10_leaveFastArea.txt
index 638660f..7459216 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/REB_GAR/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/REB_GAR/slot_10_leaveFastArea.txt
@@ -2,6 +2,6 @@ function reb_gar_leaveFastArea() /* entry=290 class_id=0x04EC slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_33(*(arg_06), 0x021B);
+ FREE.slot_33(*(arg_06), 0x021B);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/REB_PAD/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/REB_PAD/slot_06_gotHit.txt
index 1f959ed..74bc0fc 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/REB_PAD/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/REB_PAD/slot_06_gotHit.txt
@@ -13,9 +13,9 @@ function reb_pad_gotHit() /* entry=236 class_id=0x043D slot=0x06 */
item = ref;
pad = *(arg_06);
set_info(1, 0);
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
- class_0A0C_slot_2C(ke, ref);
+ FREE.slot_2C(ke, ref);
if (!retval) {
return;
}
@@ -24,76 +24,72 @@ function reb_pad_gotHit() /* entry=236 class_id=0x043D slot=0x06 */
}
else if (item == 1) {
/* pop_global global_id=0x1D size=0x2 */
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=PLACEHOLDER_CUBE, origin=arg_06) */
while (!condition) {
/* loopnext */
}
if (global[0x001F] == 1) {
- spawn class_043D_slot_20(30, 1, arg_06);
+ spawn REB_PAD.slot_20(30, 1, arg_06);
return;
}
else if (global[0x001F] == 2) {
- spawn class_043D_slot_20(30, 3, arg_06);
+ spawn REB_PAD.slot_20(30, 3, arg_06);
return;
}
else if (global[0x001F] == 3) {
- spawn class_043D_slot_20(30, 5, arg_06);
+ spawn REB_PAD.slot_20(30, 5, arg_06);
return;
}
else if (global[0x001F] == 4) {
- spawn class_043D_slot_20(30, 7, arg_06);
+ spawn REB_PAD.slot_20(30, 7, arg_06);
return;
}
else if (global[0x001F] == 5) {
- spawn class_043D_slot_20(30, 9, arg_06);
+ spawn REB_PAD.slot_20(30, 9, arg_06);
return;
}
else if (global[0x001F] == 6) {
- spawn class_043D_slot_20(30, 11, arg_06);
+ spawn REB_PAD.slot_20(30, 11, arg_06);
return;
}
else if (global[0x001F] == 7) {
- spawn class_043D_slot_20(30, 13, arg_06);
+ spawn REB_PAD.slot_20(30, 13, arg_06);
return;
}
else if (global[0x001F] == 8) {
- spawn class_043D_slot_20(30, 15, arg_06);
+ spawn REB_PAD.slot_20(30, 15, arg_06);
return;
}
else if (global[0x001F] == 9) {
- spawn class_043D_slot_20(30, 17, arg_06);
+ spawn REB_PAD.slot_20(30, 17, arg_06);
return;
}
else if (global[0x001F] == 10) {
- spawn class_043D_slot_20(30, 19, arg_06);
+ spawn REB_PAD.slot_20(30, 19, arg_06);
return;
}
else if (global[0x001F] == 11) {
- spawn class_043D_slot_20(30, 21, arg_06);
+ spawn REB_PAD.slot_20(30, 21, arg_06);
return;
}
else if (global[0x001F] == 12) {
- spawn class_043D_slot_20(30, 23, arg_06);
+ spawn REB_PAD.slot_20(30, 23, arg_06);
return;
}
else if (global[0x001F] == 13) {
- spawn class_043D_slot_20(30, 25, arg_06);
+ spawn REB_PAD.slot_20(30, 25, arg_06);
return;
}
else if (global[0x001F] == 14) {
- spawn class_043D_slot_20(30, 27, arg_06);
+ spawn REB_PAD.slot_20(30, 27, arg_06);
return;
}
else if (global[0x001F] == 15) {
- spawn class_043D_slot_20(30, 29, arg_06);
+ spawn REB_PAD.slot_20(30, 29, arg_06);
return;
}
else {
- spawn class_043D_slot_20(29, 40, arg_06);
+ spawn REB_PAD.slot_20(29, 40, arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/REB_PAD/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/REB_PAD/slot_20_slot_20.txt
index a4a4cba..5fbd2a3 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/REB_PAD/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/REB_PAD/slot_20_slot_20.txt
@@ -7,14 +7,14 @@ function reb_pad_slot_20() /* entry=236 class_id=0x043D slot=0x20 */
set_info(1, 0);
/* global_address global_id=0x3C */
- spawn class_0A11_slot_24(pid);
+ spawn NPC.slot_24(pid);
suspend;
suspend;
if (Item.getStatus(arg_06) & 0x1000) {
- spawn class_043D_slot_21(pid, arg_06);
+ spawn REB_PAD.slot_21(pid, arg_06);
suspend;
}
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
suspend;
if (mapNum == 29) {
@@ -24,7 +24,7 @@ function reb_pad_slot_20() /* entry=236 class_id=0x043D slot=0x20 */
/* global_address global_id=0x3C */
suspend;
/* global_address global_id=0x3C */
- spawn class_0A11_slot_23(pid);
+ spawn NPC.slot_23(pid);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/REB_PAD/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/REB_PAD/slot_21_slot_21.txt
index 5e34242..fb890df 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/REB_PAD/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/REB_PAD/slot_21_slot_21.txt
@@ -9,25 +9,16 @@ function reb_pad_slot_21() /* entry=236 class_id=0x043D slot=0x21 */
counter2; /* [BP-0Ah] type=0x69 */
set_info(1, 0);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector gun in nearby_items(family=10, origin=global[0x003C]) */
while (!condition) {
- spawn class_0A0C_slot_31(pid, gun, 0x00000000);
+ spawn FREE.slot_31(pid, gun, 0x00000000);
suspend;
/* dword_to_word */
gunHold = process_result;
counter = (1 + counter);
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for phold in nearby_items(shape=0x0476, origin=global[0x003C]) {
counter2 = (1 + counter2);
/* loopnext */
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/RECHAGEW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/RECHAGEW/slot_06_gotHit.txt
index 39056cd..2e30718 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/RECHAGEW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/RECHAGEW/slot_06_gotHit.txt
@@ -8,48 +8,29 @@ function rechagew_gotHit() /* entry=64 class_id=0x0158 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2B(vel, ref);
+ FREE.slot_2B(vel, ref);
if (retval && (Item.getFrame(arg_06) >= 4)) {
- spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 100, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
return;
}
else {
- spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
+ spawn ITEM.slot_28(pid, 0, 1, arg_06);
suspend;
- class_0A0C_slot_33(0x0254, global[0x003C]);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ FREE.slot_33(0x0254, global[0x003C]);
+ /* loop_selector item in nearby_items(shape=0x0158, origin=arg_06) */
while (!condition) {
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=0x015A, origin=arg_06) {
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=0x0159, origin=arg_06) {
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=0x015B, origin=arg_06) {
/* loopnext */
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/RECHAGNS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/RECHAGNS/slot_06_gotHit.txt
index 36cd74f..ca7bd8a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/RECHAGNS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/RECHAGNS/slot_06_gotHit.txt
@@ -8,48 +8,29 @@ function rechagns_gotHit() /* entry=55 class_id=0x0136 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2B(vel, ref);
+ FREE.slot_2B(vel, ref);
if (retval && (Item.getFrame(arg_06) >= 4)) {
- spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 100, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
return;
}
else {
- spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
+ spawn ITEM.slot_28(pid, 0, 1, arg_06);
suspend;
- class_0A0C_slot_33(0x0254, global[0x003C]);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ FREE.slot_33(0x0254, global[0x003C]);
+ /* loop_selector item in nearby_items(shape=0x0136, origin=arg_06) */
while (!condition) {
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=0x0138, origin=arg_06) {
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=0x0139, origin=arg_06) {
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=0x0137, origin=arg_06) {
/* loopnext */
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/RECHFLEW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/RECHFLEW/slot_06_gotHit.txt
index ef9b2c0..c528f58 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/RECHFLEW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/RECHFLEW/slot_06_gotHit.txt
@@ -16,32 +16,23 @@ function rechflew_gotHit() /* entry=65 class_id=0x015A slot=0x06 */
else {
/* global_address global_id=0x3C */
while (!Actor.isBusy()) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x0158, origin=arg_06) */
while (!condition) {
/* loopnext */
}
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
while (!Kernel.getNumProcesses(0x0254, global[0x003C])) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=0x0158, origin=arg_06) {
/* loopnext */
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/RECHFLEW/slot_09_release.txt b/USECODE/EUSECODE_extracted/pseudocode/RECHFLEW/slot_09_release.txt
index 16e50d6..4351ad0 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/RECHFLEW/slot_09_release.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/RECHFLEW/slot_09_release.txt
@@ -7,7 +7,7 @@ function rechflew_release() /* entry=65 class_id=0x015A slot=0x09 */
set_info(0x020D, *(arg_06));
process_exclude();
if (Item.getSurfaceWeight(arg_06) == 0) {
- class_0A0C_slot_33(0x0254, global[0x003C]);
+ FREE.slot_33(0x0254, global[0x003C]);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/RECHFLNS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/RECHFLNS/slot_06_gotHit.txt
index 3cec3fc..4669b36 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/RECHFLNS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/RECHFLNS/slot_06_gotHit.txt
@@ -16,32 +16,23 @@ function rechflns_gotHit() /* entry=56 class_id=0x0138 slot=0x06 */
else {
/* global_address global_id=0x3C */
while (!Actor.isBusy()) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x0136, origin=arg_06) */
while (!condition) {
/* loopnext */
}
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
while (!Kernel.getNumProcesses(0x0254, global[0x003C])) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=0x0136, origin=arg_06) {
/* loopnext */
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/RECHFLNS/slot_09_release.txt b/USECODE/EUSECODE_extracted/pseudocode/RECHFLNS/slot_09_release.txt
index b5bb9a0..77bd000 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/RECHFLNS/slot_09_release.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/RECHFLNS/slot_09_release.txt
@@ -7,7 +7,7 @@ function rechflns_release() /* entry=56 class_id=0x0138 slot=0x09 */
set_info(0x020D, *(arg_06));
process_exclude();
if (Item.getSurfaceWeight(arg_06) == 0) {
- class_0A0C_slot_33(0x0254, global[0x003C]);
+ FREE.slot_33(0x0254, global[0x003C]);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/REE_BOOT/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/REE_BOOT/slot_0A_equip.txt
index 7b55624..61a411c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/REE_BOOT/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/REE_BOOT/slot_0A_equip.txt
@@ -11,14 +11,14 @@ function ree_boot_equip() /* entry=283 class_id=0x04DB slot=0x0A */
return;
}
else {
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
while (Item.getFrame(arg_06) == 11) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
if (global[0x001F] == 3) {
/* str_to_ptr */
@@ -62,11 +62,11 @@ function ree_boot_equip() /* entry=283 class_id=0x04DB slot=0x0A */
}
counter = 0;
while (counter > 11) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
}
- spawn class_04DB_enterFastArea(arg_06);
+ spawn REE_BOOT.enterFastArea(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/REE_BOOT/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/REE_BOOT/slot_0F_enterFastArea.txt
index 1f7c895..60f636a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/REE_BOOT/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/REE_BOOT/slot_0F_enterFastArea.txt
@@ -11,55 +11,31 @@ function ree_boot_enterFastArea() /* entry=283 class_id=0x04DB slot=0x0F */
if ((((((((global[0x001F] != 3) || (global[0x001F] != 6)) || (global[0x001F] != 7)) || (global[0x001F] != 8)) || (global[0x001F] != 9)) || (global[0x001F] != 11)) || (global[0x001F] != 12)) || (global[0x001F] != 13)) goto block_04DA;
block_0478:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
-
- block_0496:
- if condition goto block_04C8;
-
- block_0499:
- if (Item.getQLo(item) != Item.getQLo(arg_06)) goto block_04C4;
-
- block_04B5:
- class_0A1E_slot_24(0x1000, item);
-
- block_04C4:
- /* loopnext */
- goto block_0496;
+ for item in nearby_items(shape=0x03AA, origin=arg_06) {
+ if (Item.getQLo(item) == Item.getQLo(arg_06)) {
+ ITEM.slot_24(0x1000, item);
+ }
+ /* loopnext */
+ }
block_04C8:
goto block_053F;
block_04DA:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
-
- block_04F8:
- if condition goto block_052A;
-
- block_04FB:
- if (Item.getQLo(item) != Item.getQLo(arg_06)) goto block_0526;
-
- block_0517:
- class_0A1E_slot_23(0x1000, item);
-
- block_0526:
- /* loopnext */
- goto block_04F8;
+ for item in nearby_items(shape=0x03AA, origin=arg_06) {
+ if (Item.getQLo(item) == Item.getQLo(arg_06)) {
+ ITEM.slot_23(0x1000, item);
+ }
+ /* loopnext */
+ }
block_052A:
goto block_0653;
block_053F:
suspend;
- class_0A0C_slot_20(pid, 120);
- spawn class_0A0C_slot_32((retval + 0x00DC), 0x00000000);
+ FREE.slot_20(pid, 120);
+ spawn FREE.waitNTimerTicks((retval + 0x00DC), 0x00000000);
suspend;
counter = 0;
@@ -67,14 +43,14 @@ function ree_boot_enterFastArea() /* entry=283 class_id=0x04DB slot=0x0F */
if (counter <= 4) goto block_05CD;
block_058D:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0585;
block_05CD:
- class_0A0C_slot_20(pid, 120);
- spawn class_0A0C_slot_32((retval + 120), 0x00000000);
+ FREE.slot_20(pid, 120);
+ spawn FREE.waitNTimerTicks((retval + 120), 0x00000000);
suspend;
counter = 0;
@@ -82,7 +58,7 @@ function ree_boot_enterFastArea() /* entry=283 class_id=0x04DB slot=0x0F */
if (counter <= 4) goto block_0650;
block_060D:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0605;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/REE_BOOT/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/REE_BOOT/slot_10_leaveFastArea.txt
index ff1d9fe..1d49df4 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/REE_BOOT/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/REE_BOOT/slot_10_leaveFastArea.txt
@@ -2,6 +2,6 @@ function ree_boot_leaveFastArea() /* entry=283 class_id=0x04DB slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/RFANBADE/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/RFANBADE/slot_06_gotHit.txt
index 6a9839c..0ae9889 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/RFANBADE/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/RFANBADE/slot_06_gotHit.txt
@@ -14,14 +14,10 @@ function rfanbade_gotHit() /* entry=222 class_id=0x03CE slot=0x06 */
return;
}
else {
- class_0A0C_slot_2B(vel, ref);
+ FREE.slot_2B(vel, ref);
if (retval && (Item.getFrame(arg_06) <= 0)) {
fart2 = Item.getQLo(arg_06);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=PLACEHOLDER_CUBE_BIG, origin=arg_06) */
while (!condition) {
fart = Item.getQLo(item);
/* loopnext */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/RFANBADE/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/RFANBADE/slot_0A_equip.txt
index 68d40ba..d316ff7 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/RFANBADE/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/RFANBADE/slot_0A_equip.txt
@@ -15,7 +15,7 @@ function rfanbade_equip() /* entry=222 class_id=0x03CE slot=0x0A */
return;
}
else if (!var) {
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
fram = Item.getFrame(arg_06);
counter2 = 0;
counter = 1;
@@ -25,24 +25,19 @@ function rfanbade_equip() /* entry=222 class_id=0x03CE slot=0x0A */
fram = 1;
}
counter2 = (counter2 + 2);
- spawn class_0A0C_slot_32(pid, (30 - counter2), 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, (30 - counter2), 0x00000000);
suspend;
if (counter2 == 4) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF6 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for wind in nearby_items(shape=0x0476, origin=arg_06) {
if (Item.getQLo(wind) == Item.getQLo(arg_06)) {
- class_0A0C_slot_2F(0x0337, wind);
+ FREE.slot_2F(0x0337, wind);
}
/* loopnext */
}
}
counter = (1 + counter);
}
- class_0A1E_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/RFANBADN/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/RFANBADN/slot_06_gotHit.txt
index 897d498..521c6db 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/RFANBADN/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/RFANBADN/slot_06_gotHit.txt
@@ -14,14 +14,10 @@ function rfanbadn_gotHit() /* entry=223 class_id=0x03D3 slot=0x06 */
return;
}
else {
- class_0A0C_slot_2B(vel, ref);
+ FREE.slot_2B(vel, ref);
if (retval && (Item.getFrame(arg_06) <= 0)) {
fart2 = Item.getQLo(arg_06);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=PLACEHOLDER_CUBE_BIG, origin=arg_06) */
while (!condition) {
fart = Item.getQLo(item);
/* loopnext */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/RFANBADN/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/RFANBADN/slot_0A_equip.txt
index 224e27b..b1541e5 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/RFANBADN/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/RFANBADN/slot_0A_equip.txt
@@ -15,7 +15,7 @@ function rfanbadn_equip() /* entry=223 class_id=0x03D3 slot=0x0A */
return;
}
else if (!var) {
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
fram = Item.getFrame(arg_06);
counter2 = 0;
counter = 1;
@@ -25,24 +25,19 @@ function rfanbadn_equip() /* entry=223 class_id=0x03D3 slot=0x0A */
fram = 1;
}
counter2 = (counter2 + 2);
- spawn class_0A0C_slot_32(pid, (30 - counter2), 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, (30 - counter2), 0x00000000);
suspend;
if (counter2 == 4) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF6 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for wind in nearby_items(shape=0x0476, origin=arg_06) {
if (Item.getQLo(wind) == Item.getQLo(arg_06)) {
- class_0A0C_slot_2F(0x0337, wind);
+ FREE.slot_2F(0x0337, wind);
}
/* loopnext */
}
}
counter = (1 + counter);
}
- class_0A1E_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/RFANEW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/RFANEW/slot_06_gotHit.txt
index 32cb2ca..c7093af 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/RFANEW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/RFANEW/slot_06_gotHit.txt
@@ -10,14 +10,10 @@ function rfanew_gotHit() /* entry=9 class_id=0x005E slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2B(vel, ref);
+ FREE.slot_2B(vel, ref);
if (!retval) {
fart2 = Item.getQLo(arg_06);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=PLACEHOLDER_CUBE_BIG, origin=arg_06) */
while (!condition) {
fart = Item.getQLo(item);
/* loopnext */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/RFANEW/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/RFANEW/slot_0A_equip.txt
index b0d8b86..416e778 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/RFANEW/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/RFANEW/slot_0A_equip.txt
@@ -15,11 +15,11 @@ function rfanew_equip() /* entry=9 class_id=0x005E slot=0x0A */
return;
}
else if (var == 0) {
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
fram = Item.getFrame(arg_06);
fram = (1 + fram);
counter2 = 1;
- spawn class_0A0C_slot_32(pid, counter2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, counter2, 0x00000000);
suspend;
counter = 1;
while (counter > 15) {
@@ -28,17 +28,12 @@ function rfanew_equip() /* entry=9 class_id=0x005E slot=0x0A */
fram = 1;
}
counter2 = (counter2 + 1);
- spawn class_0A0C_slot_32(pid, counter2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, counter2, 0x00000000);
suspend;
if (counter2 == 4) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF6 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for wind in nearby_items(shape=PLACEHOLDER_CUBE_BIG, origin=arg_06) {
if (Item.getQLo(wind) == Item.getQLo(arg_06)) {
- spawn class_0A0C_slot_31(pid, wind, 0x00000000);
+ spawn FREE.slot_31(pid, wind, 0x00000000);
suspend;
}
/* loopnext */
@@ -46,7 +41,7 @@ function rfanew_equip() /* entry=9 class_id=0x005E slot=0x0A */
}
counter = (1 + counter);
}
- class_0A1E_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/RFANNS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/RFANNS/slot_06_gotHit.txt
index bf49056..e1966ee 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/RFANNS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/RFANNS/slot_06_gotHit.txt
@@ -10,14 +10,10 @@ function rfanns_gotHit() /* entry=37 class_id=0x00BD slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2B(vel, ref);
+ FREE.slot_2B(vel, ref);
if (!retval) {
fart2 = Item.getQLo(arg_06);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=PLACEHOLDER_CUBE_BIG, origin=arg_06) */
while (!condition) {
fart = Item.getQLo(item);
/* loopnext */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/RFANNS/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/RFANNS/slot_0A_equip.txt
index edc764d..0baab5f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/RFANNS/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/RFANNS/slot_0A_equip.txt
@@ -15,11 +15,11 @@ function rfanns_equip() /* entry=37 class_id=0x00BD slot=0x0A */
return;
}
else if (var == 0) {
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
fram = Item.getFrame(arg_06);
fram = (1 + fram);
counter2 = 1;
- spawn class_0A0C_slot_32(pid, counter2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, counter2, 0x00000000);
suspend;
counter = 1;
while (counter > 15) {
@@ -28,17 +28,12 @@ function rfanns_equip() /* entry=37 class_id=0x00BD slot=0x0A */
fram = 1;
}
counter2 = (counter2 + 1);
- spawn class_0A0C_slot_32(pid, counter2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, counter2, 0x00000000);
suspend;
if (counter2 == 4) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF6 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for wind in nearby_items(shape=PLACEHOLDER_CUBE_BIG, origin=arg_06) {
if (Item.getQLo(wind) == Item.getQLo(arg_06)) {
- spawn class_0A0C_slot_31(pid, wind, 0x00000000);
+ spawn FREE.slot_31(pid, wind, 0x00000000);
suspend;
}
/* loopnext */
@@ -46,7 +41,7 @@ function rfanns_equip() /* entry=37 class_id=0x00BD slot=0x0A */
}
counter = (1 + counter);
}
- class_0A1E_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ROAMING/slot_0E_calledFromAnim.txt b/USECODE/EUSECODE_extracted/pseudocode/ROAMING/slot_0E_calledFromAnim.txt
index 021a9dd..e7b6b71 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ROAMING/slot_0E_calledFromAnim.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ROAMING/slot_0E_calledFromAnim.txt
@@ -8,6 +8,6 @@ function roaming_calledFromAnim() /* entry=153 class_id=0x02CB slot=0x0E */
process_exclude();
n = *(arg_06);
set_info(1, 0);
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ROLLB_EW/slot_05_hit.txt b/USECODE/EUSECODE_extracted/pseudocode/ROLLB_EW/slot_05_hit.txt
index 101f90c..b89c9a5 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ROLLB_EW/slot_05_hit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ROLLB_EW/slot_05_hit.txt
@@ -8,7 +8,7 @@ function rollb_ew_hit() /* entry=331 class_id=0x058B slot=0x05 */
set_info(0x020B, *(arg_06));
process_exclude();
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
- spawn class_058B_slot_21(arg_06);
+ spawn ROLLB_EW.slot_21(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ROLLB_EW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/ROLLB_EW/slot_06_gotHit.txt
index f94fcb3..90708bc 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ROLLB_EW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ROLLB_EW/slot_06_gotHit.txt
@@ -8,21 +8,21 @@ function rollb_ew_gotHit() /* entry=331 class_id=0x058B slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
- spawn class_058B_slot_21(arg_06);
+ spawn ROLLB_EW.slot_21(arg_06);
return;
}
else {
- spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 100, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- spawn class_058B_slot_20(pid, arg_06);
+ spawn ROLLB_EW.slot_20(pid, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ROLLB_EW/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/ROLLB_EW/slot_0A_equip.txt
index 3cdb664..c23978e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ROLLB_EW/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ROLLB_EW/slot_0A_equip.txt
@@ -4,7 +4,7 @@ function rollb_ew_equip() /* entry=331 class_id=0x058B slot=0x0A */
process_exclude();
if (arg_0A == 1) {
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
- spawn class_058B_slot_21(arg_06);
+ spawn ROLLB_EW.slot_21(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ROLLB_EW/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/ROLLB_EW/slot_0B_unequip.txt
index d06b9c1..5f5434c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ROLLB_EW/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ROLLB_EW/slot_0B_unequip.txt
@@ -2,7 +2,7 @@ function rollb_ew_unequip() /* entry=331 class_id=0x058B slot=0x0B */
{
set_info(0x0212, *(arg_06));
process_exclude();
- spawn class_058B_equip(pid, arg_0A, arg_06);
+ spawn ROLLB_EW.equip(pid, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ROLLB_EW/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/ROLLB_EW/slot_20_slot_20.txt
index e88da9d..11566b7 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ROLLB_EW/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ROLLB_EW/slot_20_slot_20.txt
@@ -15,7 +15,7 @@ function rollb_ew_slot_20() /* entry=331 class_id=0x058B slot=0x20 */
entry:
set_info(1, *(arg_06));
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
h = Item.getQHi(arg_06);
if (h & 32) goto block_025C;
@@ -46,14 +46,14 @@ function rollb_ew_slot_20() /* entry=331 class_id=0x058B slot=0x20 */
goto block_0375;
block_0291:
- class_0A0C_slot_20(5);
+ FREE.slot_20(5);
r1 = retval;
block_02A0:
if 1 goto block_02CB;
block_02A8:
- class_0A0C_slot_20(5);
+ FREE.slot_20(5);
r2 = retval;
if (r2 != r1) goto block_02C8;
@@ -68,7 +68,7 @@ function rollb_ew_slot_20() /* entry=331 class_id=0x058B slot=0x20 */
y = Item.getY(arg_06);
z = Item.getZ(arg_06);
qLo = Item.getQLo(arg_06);
- spawn class_0A1E_slot_2A(pid, arg_06);
+ spawn ITEM.slot_2A(pid, arg_06);
suspend;
block_0375:
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ROLLB_EW/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/ROLLB_EW/slot_21_slot_21.txt
index a46dff5..1b772f0 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ROLLB_EW/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ROLLB_EW/slot_21_slot_21.txt
@@ -45,7 +45,7 @@ function rollb_ew_slot_21() /* entry=331 class_id=0x058B slot=0x21 */
cargo = Item.getEtherealTop();
counter = (1 + counter);
}
- spawn class_058B_slot_20(pid, arg_06);
+ spawn ROLLB_EW.slot_20(pid, arg_06);
suspend;
return;
}
@@ -54,7 +54,7 @@ function rollb_ew_slot_21() /* entry=331 class_id=0x058B slot=0x21 */
cargo = Item.getEtherealTop();
counter = (1 + counter);
}
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
}
}
@@ -78,7 +78,7 @@ function rollb_ew_slot_21() /* entry=331 class_id=0x058B slot=0x21 */
cargo = Item.getEtherealTop();
counter = (1 + counter);
}
- spawn class_058B_slot_20(pid, arg_06);
+ spawn ROLLB_EW.slot_20(pid, arg_06);
suspend;
return;
}
@@ -87,7 +87,7 @@ function rollb_ew_slot_21() /* entry=331 class_id=0x058B slot=0x21 */
cargo = Item.getEtherealTop();
counter = (1 + counter);
}
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
}
}
@@ -106,7 +106,7 @@ function rollb_ew_slot_21() /* entry=331 class_id=0x058B slot=0x21 */
if (legalMoveToPoint(0, 0, wp, arg_06) == 0) {
local_0F = (1 + local_0F);
if (legalMoveToPoint(0, 0, wp, arg_06) == 0) {
- spawn class_058B_slot_20(pid, arg_06);
+ spawn ROLLB_EW.slot_20(pid, arg_06);
suspend;
return;
}
@@ -119,13 +119,13 @@ function rollb_ew_slot_21() /* entry=331 class_id=0x058B slot=0x21 */
zCheck = (zMax - local_0F);
}
else if (zCheck <= 12) {
- spawn class_0A0C_slot_32(pid, 6, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 6, 0x00000000);
suspend;
- spawn class_058B_slot_20(pid, arg_06);
+ spawn ROLLB_EW.slot_20(pid, arg_06);
suspend;
return;
}
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
}
return;
@@ -140,7 +140,7 @@ function rollb_ew_slot_21() /* entry=331 class_id=0x058B slot=0x21 */
if (legalMoveToPoint(0, 0, wp, arg_06) == 0) {
local_0F = (1 + local_0F);
if (legalMoveToPoint(0, 0, wp, arg_06) == 0) {
- spawn class_058B_slot_20(pid, arg_06);
+ spawn ROLLB_EW.slot_20(pid, arg_06);
suspend;
return;
}
@@ -153,13 +153,13 @@ function rollb_ew_slot_21() /* entry=331 class_id=0x058B slot=0x21 */
zCheck = (zMax - local_0F);
}
else if (zCheck <= 12) {
- spawn class_0A0C_slot_32(pid, 6, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 6, 0x00000000);
suspend;
- spawn class_058B_slot_20(pid, arg_06);
+ spawn ROLLB_EW.slot_20(pid, arg_06);
suspend;
return;
}
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ROLLB_NS/slot_05_hit.txt b/USECODE/EUSECODE_extracted/pseudocode/ROLLB_NS/slot_05_hit.txt
index 5fc328e..f34634e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ROLLB_NS/slot_05_hit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ROLLB_NS/slot_05_hit.txt
@@ -8,7 +8,7 @@ function rollb_ns_hit() /* entry=330 class_id=0x0586 slot=0x05 */
set_info(0x020B, *(arg_06));
process_exclude();
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
- spawn class_0586_slot_21(arg_06);
+ spawn ROLLB_NS.slot_21(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ROLLB_NS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/ROLLB_NS/slot_06_gotHit.txt
index acab07c..f7bc2b6 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ROLLB_NS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ROLLB_NS/slot_06_gotHit.txt
@@ -8,21 +8,21 @@ function rollb_ns_gotHit() /* entry=330 class_id=0x0586 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
- spawn class_0586_slot_21(arg_06);
+ spawn ROLLB_NS.slot_21(arg_06);
return;
}
else {
- spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 100, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- spawn class_0586_slot_20(pid, arg_06);
+ spawn ROLLB_NS.slot_20(pid, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ROLLB_NS/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/ROLLB_NS/slot_0A_equip.txt
index 2008f59..28681a2 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ROLLB_NS/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ROLLB_NS/slot_0A_equip.txt
@@ -4,7 +4,7 @@ function rollb_ns_equip() /* entry=330 class_id=0x0586 slot=0x0A */
process_exclude();
if (arg_0A == 1) {
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
- spawn class_0586_slot_21(arg_06);
+ spawn ROLLB_NS.slot_21(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ROLLB_NS/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/ROLLB_NS/slot_0B_unequip.txt
index 580217e..9126ad0 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ROLLB_NS/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ROLLB_NS/slot_0B_unequip.txt
@@ -2,7 +2,7 @@ function rollb_ns_unequip() /* entry=330 class_id=0x0586 slot=0x0B */
{
set_info(0x0212, *(arg_06));
process_exclude();
- spawn class_0586_equip(pid, arg_0A, arg_06);
+ spawn ROLLB_NS.equip(pid, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ROLLB_NS/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/ROLLB_NS/slot_20_slot_20.txt
index 2910276..e4a77b8 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ROLLB_NS/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ROLLB_NS/slot_20_slot_20.txt
@@ -15,7 +15,7 @@ function rollb_ns_slot_20() /* entry=330 class_id=0x0586 slot=0x20 */
entry:
set_info(1, *(arg_06));
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
h = Item.getQHi(arg_06);
if (h & 32) goto block_025C;
@@ -46,14 +46,14 @@ function rollb_ns_slot_20() /* entry=330 class_id=0x0586 slot=0x20 */
goto block_0375;
block_0291:
- class_0A0C_slot_20(5);
+ FREE.slot_20(5);
r1 = retval;
block_02A0:
if 1 goto block_02CB;
block_02A8:
- class_0A0C_slot_20(5);
+ FREE.slot_20(5);
r2 = retval;
if (r2 != r1) goto block_02C8;
@@ -68,7 +68,7 @@ function rollb_ns_slot_20() /* entry=330 class_id=0x0586 slot=0x20 */
y = Item.getY(arg_06);
z = Item.getZ(arg_06);
qLo = Item.getQLo(arg_06);
- spawn class_0A1E_slot_2A(pid, arg_06);
+ spawn ITEM.slot_2A(pid, arg_06);
suspend;
block_0375:
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ROLLB_NS/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/ROLLB_NS/slot_21_slot_21.txt
index 84f074b..3f465dc 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ROLLB_NS/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ROLLB_NS/slot_21_slot_21.txt
@@ -45,7 +45,7 @@ function rollb_ns_slot_21() /* entry=330 class_id=0x0586 slot=0x21 */
cargo = Item.getEtherealTop();
counter = (1 + counter);
}
- spawn class_0586_slot_20(pid, arg_06);
+ spawn ROLLB_NS.slot_20(pid, arg_06);
suspend;
return;
}
@@ -54,7 +54,7 @@ function rollb_ns_slot_21() /* entry=330 class_id=0x0586 slot=0x21 */
cargo = Item.getEtherealTop();
counter = (1 + counter);
}
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
}
}
@@ -78,7 +78,7 @@ function rollb_ns_slot_21() /* entry=330 class_id=0x0586 slot=0x21 */
cargo = Item.getEtherealTop();
counter = (1 + counter);
}
- spawn class_0586_slot_20(pid, arg_06);
+ spawn ROLLB_NS.slot_20(pid, arg_06);
suspend;
return;
}
@@ -87,7 +87,7 @@ function rollb_ns_slot_21() /* entry=330 class_id=0x0586 slot=0x21 */
cargo = Item.getEtherealTop();
counter = (1 + counter);
}
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
}
}
@@ -106,7 +106,7 @@ function rollb_ns_slot_21() /* entry=330 class_id=0x0586 slot=0x21 */
if (legalMoveToPoint(0, 0, wp, arg_06) == 0) {
local_0F = (1 + local_0F);
if (legalMoveToPoint(0, 0, wp, arg_06) == 0) {
- spawn class_0586_slot_20(pid, arg_06);
+ spawn ROLLB_NS.slot_20(pid, arg_06);
suspend;
return;
}
@@ -119,13 +119,13 @@ function rollb_ns_slot_21() /* entry=330 class_id=0x0586 slot=0x21 */
zCheck = (zMax - local_0F);
}
else if (zCheck <= 12) {
- spawn class_0A0C_slot_32(pid, 6, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 6, 0x00000000);
suspend;
- spawn class_0586_slot_20(pid, arg_06);
+ spawn ROLLB_NS.slot_20(pid, arg_06);
suspend;
return;
}
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
}
return;
@@ -140,7 +140,7 @@ function rollb_ns_slot_21() /* entry=330 class_id=0x0586 slot=0x21 */
if (legalMoveToPoint(0, 0, wp, arg_06) == 0) {
local_0F = (1 + local_0F);
if (legalMoveToPoint(0, 0, wp, arg_06) == 0) {
- spawn class_0586_slot_20(pid, arg_06);
+ spawn ROLLB_NS.slot_20(pid, arg_06);
suspend;
return;
}
@@ -153,13 +153,13 @@ function rollb_ns_slot_21() /* entry=330 class_id=0x0586 slot=0x21 */
zCheck = (zMax - local_0F);
}
else if (zCheck <= 12) {
- spawn class_0A0C_slot_32(pid, 6, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 6, 0x00000000);
suspend;
- spawn class_0586_slot_20(pid, arg_06);
+ spawn ROLLB_NS.slot_20(pid, arg_06);
suspend;
return;
}
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ROLL_EW/slot_05_hit.txt b/USECODE/EUSECODE_extracted/pseudocode/ROLL_EW/slot_05_hit.txt
index be2fe91..355bd13 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ROLL_EW/slot_05_hit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ROLL_EW/slot_05_hit.txt
@@ -8,7 +8,7 @@ function roll_ew_hit() /* entry=326 class_id=0x056C slot=0x05 */
set_info(0x020B, *(arg_06));
process_exclude();
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
- spawn class_056C_slot_21(arg_06);
+ spawn ROLL_EW.slot_21(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ROLL_EW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/ROLL_EW/slot_06_gotHit.txt
index c7593de..5326404 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ROLL_EW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ROLL_EW/slot_06_gotHit.txt
@@ -8,21 +8,21 @@ function roll_ew_gotHit() /* entry=326 class_id=0x056C slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
- spawn class_056C_slot_21(arg_06);
+ spawn ROLL_EW.slot_21(arg_06);
return;
}
else {
- spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 100, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- spawn class_056C_slot_20(pid, arg_06);
+ spawn ROLL_EW.slot_20(pid, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ROLL_EW/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/ROLL_EW/slot_0A_equip.txt
index 516a1fb..212cb39 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ROLL_EW/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ROLL_EW/slot_0A_equip.txt
@@ -4,7 +4,7 @@ function roll_ew_equip() /* entry=326 class_id=0x056C slot=0x0A */
process_exclude();
if (arg_0A == 1) {
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
- spawn class_056C_slot_21(arg_06);
+ spawn ROLL_EW.slot_21(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ROLL_EW/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/ROLL_EW/slot_0B_unequip.txt
index abc5a1a..a2e30ea 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ROLL_EW/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ROLL_EW/slot_0B_unequip.txt
@@ -2,7 +2,7 @@ function roll_ew_unequip() /* entry=326 class_id=0x056C slot=0x0B */
{
set_info(0x0212, *(arg_06));
process_exclude();
- spawn class_056C_equip(pid, arg_0A, arg_06);
+ spawn ROLL_EW.equip(pid, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ROLL_EW/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/ROLL_EW/slot_20_slot_20.txt
index c4d7c40..f3609ee 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ROLL_EW/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ROLL_EW/slot_20_slot_20.txt
@@ -15,7 +15,7 @@ function roll_ew_slot_20() /* entry=326 class_id=0x056C slot=0x20 */
entry:
set_info(1, *(arg_06));
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
h = Item.getQHi(arg_06);
if (h & 32) goto block_025C;
@@ -46,14 +46,14 @@ function roll_ew_slot_20() /* entry=326 class_id=0x056C slot=0x20 */
goto block_0375;
block_0291:
- class_0A0C_slot_20(3);
+ FREE.slot_20(3);
r1 = retval;
block_02A0:
if 1 goto block_02CB;
block_02A8:
- class_0A0C_slot_20(3);
+ FREE.slot_20(3);
r2 = retval;
if (r2 != r1) goto block_02C8;
@@ -68,7 +68,7 @@ function roll_ew_slot_20() /* entry=326 class_id=0x056C slot=0x20 */
y = Item.getY(arg_06);
z = Item.getZ(arg_06);
qLo = Item.getQLo(arg_06);
- spawn class_0A1E_slot_2A(pid, arg_06);
+ spawn ITEM.slot_2A(pid, arg_06);
suspend;
block_0375:
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ROLL_EW/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/ROLL_EW/slot_21_slot_21.txt
index 2699618..4d9df8e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ROLL_EW/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ROLL_EW/slot_21_slot_21.txt
@@ -45,7 +45,7 @@ function roll_ew_slot_21() /* entry=326 class_id=0x056C slot=0x21 */
cargo = Item.getEtherealTop();
counter = (1 + counter);
}
- spawn class_056C_slot_20(pid, arg_06);
+ spawn ROLL_EW.slot_20(pid, arg_06);
suspend;
return;
}
@@ -54,7 +54,7 @@ function roll_ew_slot_21() /* entry=326 class_id=0x056C slot=0x21 */
cargo = Item.getEtherealTop();
counter = (1 + counter);
}
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
}
}
@@ -78,7 +78,7 @@ function roll_ew_slot_21() /* entry=326 class_id=0x056C slot=0x21 */
cargo = Item.getEtherealTop();
counter = (1 + counter);
}
- spawn class_056C_slot_20(pid, arg_06);
+ spawn ROLL_EW.slot_20(pid, arg_06);
suspend;
return;
}
@@ -87,7 +87,7 @@ function roll_ew_slot_21() /* entry=326 class_id=0x056C slot=0x21 */
cargo = Item.getEtherealTop();
counter = (1 + counter);
}
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
}
}
@@ -106,7 +106,7 @@ function roll_ew_slot_21() /* entry=326 class_id=0x056C slot=0x21 */
if (legalMoveToPoint(0, 0, wp, arg_06) == 0) {
local_0F = (1 + local_0F);
if (legalMoveToPoint(0, 0, wp, arg_06) == 0) {
- spawn class_056C_slot_20(pid, arg_06);
+ spawn ROLL_EW.slot_20(pid, arg_06);
suspend;
return;
}
@@ -119,13 +119,13 @@ function roll_ew_slot_21() /* entry=326 class_id=0x056C slot=0x21 */
zCheck = (zMax - local_0F);
}
else if (zCheck <= 12) {
- spawn class_0A0C_slot_32(pid, 6, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 6, 0x00000000);
suspend;
- spawn class_056C_slot_20(pid, arg_06);
+ spawn ROLL_EW.slot_20(pid, arg_06);
suspend;
return;
}
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
}
return;
@@ -140,7 +140,7 @@ function roll_ew_slot_21() /* entry=326 class_id=0x056C slot=0x21 */
if (legalMoveToPoint(0, 0, wp, arg_06) == 0) {
local_0F = (1 + local_0F);
if (legalMoveToPoint(0, 0, wp, arg_06) == 0) {
- spawn class_056C_slot_20(pid, arg_06);
+ spawn ROLL_EW.slot_20(pid, arg_06);
suspend;
return;
}
@@ -153,13 +153,13 @@ function roll_ew_slot_21() /* entry=326 class_id=0x056C slot=0x21 */
zCheck = (zMax - local_0F);
}
else if (zCheck <= 12) {
- spawn class_0A0C_slot_32(pid, 6, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 6, 0x00000000);
suspend;
- spawn class_056C_slot_20(pid, arg_06);
+ spawn ROLL_EW.slot_20(pid, arg_06);
suspend;
return;
}
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ROLL_NS/slot_05_hit.txt b/USECODE/EUSECODE_extracted/pseudocode/ROLL_NS/slot_05_hit.txt
index f3343d3..b7c6cc3 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ROLL_NS/slot_05_hit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ROLL_NS/slot_05_hit.txt
@@ -8,7 +8,7 @@ function roll_ns_hit() /* entry=186 class_id=0x0346 slot=0x05 */
set_info(0x020B, *(arg_06));
process_exclude();
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
- spawn class_0346_slot_21(arg_06);
+ spawn ROLL_NS.slot_21(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ROLL_NS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/ROLL_NS/slot_06_gotHit.txt
index dc2f614..da6c312 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ROLL_NS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ROLL_NS/slot_06_gotHit.txt
@@ -8,21 +8,21 @@ function roll_ns_gotHit() /* entry=186 class_id=0x0346 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
- spawn class_0346_slot_21(arg_06);
+ spawn ROLL_NS.slot_21(arg_06);
return;
}
else {
- spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 100, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- spawn class_0346_slot_20(pid, arg_06);
+ spawn ROLL_NS.slot_20(pid, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ROLL_NS/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/ROLL_NS/slot_0A_equip.txt
index c9aa405..4418057 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ROLL_NS/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ROLL_NS/slot_0A_equip.txt
@@ -4,7 +4,7 @@ function roll_ns_equip() /* entry=186 class_id=0x0346 slot=0x0A */
process_exclude();
if (arg_0A == 1) {
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
- spawn class_0346_slot_21(arg_06);
+ spawn ROLL_NS.slot_21(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ROLL_NS/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/ROLL_NS/slot_0B_unequip.txt
index 2e6b718..6703843 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ROLL_NS/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ROLL_NS/slot_0B_unequip.txt
@@ -2,7 +2,7 @@ function roll_ns_unequip() /* entry=186 class_id=0x0346 slot=0x0B */
{
set_info(0x0212, *(arg_06));
process_exclude();
- spawn class_0346_equip(pid, arg_0A, arg_06);
+ spawn ROLL_NS.equip(pid, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ROLL_NS/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/ROLL_NS/slot_20_slot_20.txt
index 978f4e1..ceaf442 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ROLL_NS/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ROLL_NS/slot_20_slot_20.txt
@@ -15,7 +15,7 @@ function roll_ns_slot_20() /* entry=186 class_id=0x0346 slot=0x20 */
entry:
set_info(1, *(arg_06));
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
h = Item.getQHi(arg_06);
if (h & 32) goto block_025C;
@@ -46,14 +46,14 @@ function roll_ns_slot_20() /* entry=186 class_id=0x0346 slot=0x20 */
goto block_0375;
block_0291:
- class_0A0C_slot_20(3);
+ FREE.slot_20(3);
r1 = retval;
block_02A0:
if 1 goto block_02CB;
block_02A8:
- class_0A0C_slot_20(3);
+ FREE.slot_20(3);
r2 = retval;
if (r2 != r1) goto block_02C8;
@@ -68,7 +68,7 @@ function roll_ns_slot_20() /* entry=186 class_id=0x0346 slot=0x20 */
y = Item.getY(arg_06);
z = Item.getZ(arg_06);
qLo = Item.getQLo(arg_06);
- spawn class_0A1E_slot_2A(pid, arg_06);
+ spawn ITEM.slot_2A(pid, arg_06);
suspend;
block_0375:
diff --git a/USECODE/EUSECODE_extracted/pseudocode/ROLL_NS/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/ROLL_NS/slot_21_slot_21.txt
index 82f9bfb..376e7f0 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/ROLL_NS/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/ROLL_NS/slot_21_slot_21.txt
@@ -45,7 +45,7 @@ function roll_ns_slot_21() /* entry=186 class_id=0x0346 slot=0x21 */
cargo = Item.getEtherealTop();
counter = (1 + counter);
}
- spawn class_0346_slot_20(pid, arg_06);
+ spawn ROLL_NS.slot_20(pid, arg_06);
suspend;
return;
}
@@ -54,7 +54,7 @@ function roll_ns_slot_21() /* entry=186 class_id=0x0346 slot=0x21 */
cargo = Item.getEtherealTop();
counter = (1 + counter);
}
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
}
}
@@ -78,7 +78,7 @@ function roll_ns_slot_21() /* entry=186 class_id=0x0346 slot=0x21 */
cargo = Item.getEtherealTop();
counter = (1 + counter);
}
- spawn class_0346_slot_20(pid, arg_06);
+ spawn ROLL_NS.slot_20(pid, arg_06);
suspend;
return;
}
@@ -87,7 +87,7 @@ function roll_ns_slot_21() /* entry=186 class_id=0x0346 slot=0x21 */
cargo = Item.getEtherealTop();
counter = (1 + counter);
}
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
}
}
@@ -106,7 +106,7 @@ function roll_ns_slot_21() /* entry=186 class_id=0x0346 slot=0x21 */
if (legalMoveToPoint(0, 0, wp, arg_06) == 0) {
local_0F = (1 + local_0F);
if (legalMoveToPoint(0, 0, wp, arg_06) == 0) {
- spawn class_0346_slot_20(pid, arg_06);
+ spawn ROLL_NS.slot_20(pid, arg_06);
suspend;
return;
}
@@ -119,13 +119,13 @@ function roll_ns_slot_21() /* entry=186 class_id=0x0346 slot=0x21 */
zCheck = (zMax - local_0F);
}
else if (zCheck <= 12) {
- spawn class_0A0C_slot_32(pid, 6, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 6, 0x00000000);
suspend;
- spawn class_0346_slot_20(pid, arg_06);
+ spawn ROLL_NS.slot_20(pid, arg_06);
suspend;
return;
}
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
}
return;
@@ -140,7 +140,7 @@ function roll_ns_slot_21() /* entry=186 class_id=0x0346 slot=0x21 */
if (legalMoveToPoint(0, 0, wp, arg_06) == 0) {
local_0F = (1 + local_0F);
if (legalMoveToPoint(0, 0, wp, arg_06) == 0) {
- spawn class_0346_slot_20(pid, arg_06);
+ spawn ROLL_NS.slot_20(pid, arg_06);
suspend;
return;
}
@@ -153,13 +153,13 @@ function roll_ns_slot_21() /* entry=186 class_id=0x0346 slot=0x21 */
zCheck = (zMax - local_0F);
}
else if (zCheck <= 12) {
- spawn class_0A0C_slot_32(pid, 6, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 6, 0x00000000);
suspend;
- spawn class_0346_slot_20(pid, arg_06);
+ spawn ROLL_NS.slot_20(pid, arg_06);
suspend;
return;
}
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/RTELEPAD/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/RTELEPAD/slot_06_gotHit.txt
index 5620d11..fbc4705 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/RTELEPAD/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/RTELEPAD/slot_06_gotHit.txt
@@ -10,7 +10,7 @@ function rtelepad_gotHit() /* entry=74 class_id=0x0188 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
item = ref;
- class_0A0C_slot_2C(ke, ref);
+ FREE.slot_2C(ke, ref);
if (!retval) {
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/RTELEPAD/slot_09_release.txt b/USECODE/EUSECODE_extracted/pseudocode/RTELEPAD/slot_09_release.txt
index 5b838b4..0895b03 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/RTELEPAD/slot_09_release.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/RTELEPAD/slot_09_release.txt
@@ -7,7 +7,7 @@ function rtelepad_release() /* entry=74 class_id=0x0188 slot=0x09 */
set_info(0x020D, *(arg_06));
process_exclude();
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
@@ -26,7 +26,7 @@ function rtelepad_release() /* entry=74 class_id=0x0188 slot=0x09 */
if (npc == 1) {
/* global_address global_id=0x3C */
while (!Item.isOn(*(arg_06))) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SAFE_EW/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/SAFE_EW/slot_0A_equip.txt
index 3febdde..c356efa 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SAFE_EW/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SAFE_EW/slot_0A_equip.txt
@@ -12,20 +12,16 @@ function safe_ew_equip() /* entry=122 class_id=0x0213 slot=0x0A */
if (!var) {
counter = 0;
while (counter > 16) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
}
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x0476, origin=arg_06) */
while (!condition) {
if (Item.getQLo(arg_06) == Item.getQLo(item)) {
- class_0A0C_slot_2E(item);
+ FREE.slot_2E(item);
item2 = retval;
if ((((Item.getItemFamily(item2) == 10) || (Item.getItemFamily(item2) != 11)) || (Item.getItemFamily(item2) != 12)) || (Item.getItemFamily(item2) != 13)) {
if (MainActor.addItemCru(1, item2)) {
@@ -35,28 +31,28 @@ function safe_ew_equip() /* entry=122 class_id=0x0213 slot=0x0A */
}
}
else {
- spawn class_0A0C_slot_31(pid, item2, 0x00000000);
+ spawn FREE.slot_31(pid, item2, 0x00000000);
suspend;
}
}
/* loopnext */
}
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
counter = 0;
while (counter > 16) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
}
return;
}
else {
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
counter = 0;
while (counter > 16) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SAFE_NS/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/SAFE_NS/slot_0A_equip.txt
index 12e31c6..2b6f38b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SAFE_NS/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SAFE_NS/slot_0A_equip.txt
@@ -12,20 +12,16 @@ function safe_ns_equip() /* entry=121 class_id=0x0212 slot=0x0A */
if (!var) {
counter = 0;
while (counter > 16) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
}
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x0476, origin=arg_06) */
while (!condition) {
if (Item.getQLo(arg_06) == Item.getQLo(item)) {
- class_0A0C_slot_2E(item);
+ FREE.slot_2E(item);
item2 = retval;
if ((((Item.getItemFamily(item2) == 10) || (Item.getItemFamily(item2) != 11)) || (Item.getItemFamily(item2) != 12)) || (Item.getItemFamily(item2) != 13)) {
if (MainActor.addItemCru(1, item2)) {
@@ -35,28 +31,28 @@ function safe_ns_equip() /* entry=121 class_id=0x0212 slot=0x0A */
}
}
else {
- spawn class_0A0C_slot_31(pid, item2, 0x00000000);
+ spawn FREE.slot_31(pid, item2, 0x00000000);
suspend;
}
}
/* loopnext */
}
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
counter = 0;
while (counter > 16) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
}
return;
}
else {
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
counter = 0;
while (counter > 16) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SATARG/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/SATARG/slot_01_use.txt
index 90f64b7..101a3f5 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SATARG/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SATARG/slot_01_use.txt
@@ -13,83 +13,65 @@ function satarg_use() /* entry=312 class_id=0x0549 slot=0x01 */
else {
/* global_address global_id=0x3C */
while (!Actor.isBusy()) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
suspend;
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
- spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
+ spawn ITEM.slot_28(pid, 0, 1, arg_06);
suspend;
- spawn class_0A0C_slot_3B(0x00000000);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ spawn FREE.slot_3B(0x00000000);
+ /* loop_selector item in nearby_items(shape=NUMBERS, origin=arg_06) */
while (!condition) {
if (Item.getQLo(item) == 0) {
- spawn class_0A0C_slot_32(UCMachine.rndRange(pid, 30, 20), 0x00000000);
+ spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 30, 20), 0x00000000);
suspend;
}
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
- spawn class_0A1E_slot_28(pid, 0, 1, item);
+ for item in nearby_items(shape=0x03C1, origin=arg_06) {
+ spawn ITEM.slot_28(pid, 0, 1, item);
suspend;
- spawn class_0A0C_slot_32(UCMachine.rndRange(pid, 40, 20), 0x00000000);
+ spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 40, 20), 0x00000000);
suspend;
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
- spawn class_0A1E_slot_28(pid, 0, 1, item);
+ for item in nearby_items(shape=0x03BF, origin=arg_06) {
+ spawn ITEM.slot_28(pid, 0, 1, item);
suspend;
- spawn class_0A0C_slot_32(UCMachine.rndRange(pid, 50, 30), 0x00000000);
+ spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 50, 30), 0x00000000);
suspend;
/* loopnext */
}
- spawn class_0A0C_slot_32(pid, 0x00C8, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x00C8, 0x00000000);
suspend;
- spawn class_0A0C_slot_26(pid, "15d", 0x00000000);
+ spawn FREE.slot_26(pid, "15d", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
- spawn class_0A0C_slot_32(pid, 0x00C8, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x00C8, 0x00000000);
suspend;
/* pop_global global_id=0x38 size=0x1 */
- spawn class_0A18_slot_20(1, pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(1, pid, 0, *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, 0x00C8, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x00C8, 0x00000000);
suspend;
if (Game.getDifficultyLevel() <= 1) {
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
}
- spawn class_0A0C_slot_32(pid, 0x00C8, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x00C8, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=TELEPORTER_LIGHTS, origin=arg_06) */
while (!condition) {
/* loopnext */
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SCANNER/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/SCANNER/slot_01_use.txt
index 644decb..b67f16c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SCANNER/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SCANNER/slot_01_use.txt
@@ -9,32 +9,28 @@ function scanner_use() /* entry=304 class_id=0x052D slot=0x01 */
set_info(0x00F0, 0);
/* global_address global_id=0x3C */
if (Actor.getMana() >= 0x03E8) {
- spawn class_0A0C_slot_21(pid, 0x00B0, 0x00000000);
+ spawn FREE.slot_21(pid, 0x00B0, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 100, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 100, 0x00000000);
suspend;
return;
}
else {
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector n in nearby_items(family=6, origin=global[0x003C]) */
while (!condition) {
if ((Actor.isDead(n) == 0) && (n != getTargetNPCNumMaybe())) {
- class_0A11_slot_2B(n);
+ NPC.slot_2B(n);
if (!retval) {
- spawn class_052D_slot_20(n, arg_06);
+ spawn SCANNER.slot_20(n, arg_06);
}
}
/* loopnext */
}
- spawn class_0A0C_slot_21(pid, 0x00BA, 0x00000000);
+ spawn FREE.slot_21(pid, 0x00BA, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 120, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 120, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SCIENTIS/slot_0E_calledFromAnim.txt b/USECODE/EUSECODE_extracted/pseudocode/SCIENTIS/slot_0E_calledFromAnim.txt
index 53d8ed3..cfd1b51 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SCIENTIS/slot_0E_calledFromAnim.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SCIENTIS/slot_0E_calledFromAnim.txt
@@ -2,6 +2,6 @@ function scientis_calledFromAnim() /* entry=185 class_id=0x0344 slot=0x0E */
{
set_info(0x021A, *(arg_06));
process_exclude();
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SDOOR_E/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/SDOOR_E/slot_06_gotHit.txt
index 18ea19a..238a1b3 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SDOOR_E/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SDOOR_E/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function sdoor_e_gotHit() /* entry=228 class_id=0x03FF slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A06_slot_23(pid, vel, ref, arg_06);
+ spawn DOOR.slot_23(pid, vel, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SDOOR_N/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/SDOOR_N/slot_06_gotHit.txt
index a50676a..05b8ee8 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SDOOR_N/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SDOOR_N/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function sdoor_n_gotHit() /* entry=227 class_id=0x03F8 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A06_slot_23(pid, vel, ref, arg_06);
+ spawn DOOR.slot_23(pid, vel, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SECRTEGG/slot_07_hatch.txt b/USECODE/EUSECODE_extracted/pseudocode/SECRTEGG/slot_07_hatch.txt
index 2ea7b1f..6819748 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SECRTEGG/slot_07_hatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SECRTEGG/slot_07_hatch.txt
@@ -12,12 +12,10 @@ function secrtegg_hatch() /* entry=346 class_id=0x0906 slot=0x07 */
id = 0;
range = 32;
id = Egg.getEggId(arg_06);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector door in selector_0x42(arg0=0x01AB, arg1=0x0393, arg2=(range * 32), origin=arg_06) */
while (!condition) {
if (id == Item.getQLo(door)) {
- spawn class_0A06_slot_20(door);
+ spawn DOOR.slot_20(door);
}
/* loopnext */
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SENTRY/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/SENTRY/slot_06_gotHit.txt
index e36a3aa..09809e1 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SENTRY/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SENTRY/slot_06_gotHit.txt
@@ -7,6 +7,6 @@ function sentry_gotHit() /* entry=100 class_id=0x01CD slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1A_slot_49(vel, ref, arg_06);
+ spawn WALLGUN.slot_49(vel, ref, arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SENTRY/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/SENTRY/slot_0A_equip.txt
index 955515d..581627e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SENTRY/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SENTRY/slot_0A_equip.txt
@@ -3,12 +3,12 @@ function sentry_equip() /* entry=100 class_id=0x01CD slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (getTargetNPCNumMaybe() == 0) {
- spawn class_0A1A_slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
suspend;
return;
}
else {
- spawn class_0A1A_slot_24(pid, arg_0A, global[0x003C], arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, global[0x003C], arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SENTRY/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/SENTRY/slot_0B_unequip.txt
index 2b03301..a3a4535 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SENTRY/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SENTRY/slot_0B_unequip.txt
@@ -6,7 +6,7 @@ function sentry_unequip() /* entry=100 class_id=0x01CD slot=0x0B */
return;
}
else {
- spawn class_0A1A_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SENTRY/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/SENTRY/slot_0F_enterFastArea.txt
index bb7ee00..750d192 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SENTRY/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SENTRY/slot_0F_enterFastArea.txt
@@ -6,7 +6,7 @@ function sentry_enterFastArea() /* entry=100 class_id=0x01CD slot=0x0F */
return;
}
else {
- spawn class_0A1A_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SENTRY/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/SENTRY/slot_10_leaveFastArea.txt
index b44d6ec..4e73338 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SENTRY/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SENTRY/slot_10_leaveFastArea.txt
@@ -3,7 +3,7 @@ function sentry_leaveFastArea() /* entry=100 class_id=0x01CD slot=0x10 */
set_info(0x021C, *(arg_06));
process_exclude();
/* bit_not */
- class_0A0C_slot_33(1, *(arg_06));
- class_0A0C_slot_33(0x020A, *(arg_06));
+ FREE.slot_33(1, *(arg_06));
+ FREE.slot_33(0x020A, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SFXTRIG/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/SFXTRIG/slot_0A_equip.txt
index 29ea655..9b044f8 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SFXTRIG/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SFXTRIG/slot_0A_equip.txt
@@ -6,12 +6,12 @@ function sfxtrig_equip() /* entry=285 class_id=0x04E2 slot=0x0A */
return;
}
else {
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
while (!AudioProcess.isSFXPlayingForObject(arg_0A, arg_06)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
- class_0A1E_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SHOCKER/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/SHOCKER/slot_20_slot_20.txt
index e950bb9..354e765 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SHOCKER/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SHOCKER/slot_20_slot_20.txt
@@ -15,7 +15,7 @@ function shocker_slot_20() /* entry=389 class_id=0x0A13 slot=0x20 */
if (Item.getQHi(arg_06) != 0) goto block_013F;
block_0120:
- class_0A0C_slot_20(29);
+ FREE.slot_20(29);
randNum = (retval + 1);
block_013F:
@@ -40,7 +40,7 @@ function shocker_slot_20() /* entry=389 class_id=0x0A13 slot=0x20 */
duration = ((6 - Game.getDifficultyLevel()) * (10 + var));
block_0196:
- spawn class_0A0C_slot_32(pid, duration, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, duration, 0x00000000);
suspend;
block_01BC:
@@ -49,10 +49,10 @@ function shocker_slot_20() /* entry=389 class_id=0x0A13 slot=0x20 */
if (kernelCheck != 0) goto block_01F5;
block_01E7:
- spawn class_0A13_slot_21(arg_06);
+ spawn SHOCKER.slot_21(arg_06);
block_01F5:
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if retval goto block_0215;
block_0205:
@@ -67,8 +67,8 @@ function shocker_slot_20() /* entry=389 class_id=0x0A13 slot=0x20 */
if (counter <= 5) goto block_027C;
block_0231:
- class_0A0C_slot_20(pid, 5, 5);
- spawn class_0A0C_slot_32(retval, 0x00000000);
+ FREE.slot_20(pid, 5, 5);
+ spawn FREE.waitNTimerTicks(retval, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0229;
@@ -77,8 +77,8 @@ function shocker_slot_20() /* entry=389 class_id=0x0A13 slot=0x20 */
if (duration > 1) goto block_02E8;
block_028A:
- class_0A0C_slot_33(0x020C, *(arg_06));
- spawn class_0A0C_slot_32(pid, duration, 0x00000000);
+ FREE.slot_33(0x020C, *(arg_06));
+ spawn FREE.waitNTimerTicks(pid, duration, 0x00000000);
suspend;
block_02E8:
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SHOCKER/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/SHOCKER/slot_21_slot_21.txt
index 0bab4f0..cd0fd8f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SHOCKER/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SHOCKER/slot_21_slot_21.txt
@@ -10,13 +10,9 @@ function shocker_slot_21() /* entry=389 class_id=0x0A13 slot=0x21 */
block_0366:
suspend;
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector monster in nearby_items(family=6, origin=arg_06) */
block_03B6:
if condition goto block_0461;
@@ -31,10 +27,10 @@ function shocker_slot_21() /* entry=389 class_id=0x0A13 slot=0x21 */
if ((Item.overlaps(monster, arg_06) != 1) && (Item.getFrame(arg_06) < 6)) goto block_045D;
block_0402:
- class_0A0C_slot_20(pid, 8);
- spawn class_0A11_slot_2D(retval, *(arg_06), monster);
+ FREE.slot_20(pid, 8);
+ spawn NPC.slot_2D(retval, *(arg_06), monster);
suspend;
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
goto block_0466;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SHOCKEW/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/SHOCKEW/slot_0B_unequip.txt
index af787c4..2020ca9 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SHOCKEW/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SHOCKEW/slot_0B_unequip.txt
@@ -2,6 +2,6 @@ function shockew_unequip() /* entry=95 class_id=0x01C2 slot=0x0B */
{
set_info(0x0212, *(arg_06));
process_exclude();
- spawn class_0A13_slot_20(arg_06);
+ spawn SHOCKER.slot_20(arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SHOCKEW/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/SHOCKEW/slot_0F_enterFastArea.txt
index 99a3b6c..6888daf 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SHOCKEW/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SHOCKEW/slot_0F_enterFastArea.txt
@@ -2,6 +2,6 @@ function shockew_enterFastArea() /* entry=95 class_id=0x01C2 slot=0x0F */
{
set_info(0x021B, *(arg_06));
process_exclude();
- spawn class_0A13_slot_20(arg_06);
+ spawn SHOCKER.slot_20(arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SHOCKEW/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/SHOCKEW/slot_10_leaveFastArea.txt
index 3f05131..3886702 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SHOCKEW/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SHOCKEW/slot_10_leaveFastArea.txt
@@ -2,8 +2,8 @@ function shockew_leaveFastArea() /* entry=95 class_id=0x01C2 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x021B, *(arg_06));
- class_0A0C_slot_33(0x020A, *(arg_06));
- class_0A0C_slot_33(0x0205, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x020A, *(arg_06));
+ FREE.slot_33(0x0205, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SHOCKEW1/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/SHOCKEW1/slot_0B_unequip.txt
index c72b879..2416b87 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SHOCKEW1/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SHOCKEW1/slot_0B_unequip.txt
@@ -2,9 +2,9 @@ function shockew1_unequip() /* entry=250 class_id=0x045A slot=0x0B */
{
set_info(0x0212, *(arg_06));
process_exclude();
- spawn class_0A13_slot_20(arg_06);
- class_0A0C_slot_20(pid, 30);
- spawn class_0A0C_slot_32((retval + 30), 0x00000000);
+ spawn SHOCKER.slot_20(arg_06);
+ FREE.slot_20(pid, 30);
+ spawn FREE.waitNTimerTicks((retval + 30), 0x00000000);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SHOCKEW1/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/SHOCKEW1/slot_0F_enterFastArea.txt
index a07ba6c..2fab8e6 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SHOCKEW1/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SHOCKEW1/slot_0F_enterFastArea.txt
@@ -2,6 +2,6 @@ function shockew1_enterFastArea() /* entry=250 class_id=0x045A slot=0x0F */
{
set_info(0x021B, *(arg_06));
process_exclude();
- spawn class_0A13_slot_20(arg_06);
+ spawn SHOCKER.slot_20(arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SHOCKEW1/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/SHOCKEW1/slot_10_leaveFastArea.txt
index 16b5c2f..3e9cfcd 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SHOCKEW1/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SHOCKEW1/slot_10_leaveFastArea.txt
@@ -2,8 +2,8 @@ function shockew1_leaveFastArea() /* entry=250 class_id=0x045A slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x021B, *(arg_06));
- class_0A0C_slot_33(0x020A, *(arg_06));
- class_0A0C_slot_33(0x0205, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x020A, *(arg_06));
+ FREE.slot_33(0x0205, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SHOCKNS/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/SHOCKNS/slot_0B_unequip.txt
index cc59e96..bb7299e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SHOCKNS/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SHOCKNS/slot_0B_unequip.txt
@@ -2,6 +2,6 @@ function shockns_unequip() /* entry=97 class_id=0x01C9 slot=0x0B */
{
set_info(0x0212, *(arg_06));
process_exclude();
- spawn class_0A13_slot_20(arg_06);
+ spawn SHOCKER.slot_20(arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SHOCKNS/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/SHOCKNS/slot_0F_enterFastArea.txt
index 1857336..a29e4bf 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SHOCKNS/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SHOCKNS/slot_0F_enterFastArea.txt
@@ -2,6 +2,6 @@ function shockns_enterFastArea() /* entry=97 class_id=0x01C9 slot=0x0F */
{
set_info(0x021B, *(arg_06));
process_exclude();
- spawn class_0A13_slot_20(arg_06);
+ spawn SHOCKER.slot_20(arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SHOCKNS/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/SHOCKNS/slot_10_leaveFastArea.txt
index c0a4c6a..714cfda 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SHOCKNS/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SHOCKNS/slot_10_leaveFastArea.txt
@@ -2,8 +2,8 @@ function shockns_leaveFastArea() /* entry=97 class_id=0x01C9 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x021B, *(arg_06));
- class_0A0C_slot_33(0x020A, *(arg_06));
- class_0A0C_slot_33(0x0205, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x020A, *(arg_06));
+ FREE.slot_33(0x0205, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SHOCKNS1/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/SHOCKNS1/slot_0B_unequip.txt
index 03b791e..b56cc19 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SHOCKNS1/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SHOCKNS1/slot_0B_unequip.txt
@@ -2,9 +2,9 @@ function shockns1_unequip() /* entry=249 class_id=0x0459 slot=0x0B */
{
set_info(0x0212, *(arg_06));
process_exclude();
- spawn class_0A13_slot_20(arg_06);
- class_0A0C_slot_20(pid, 30);
- spawn class_0A0C_slot_32((retval + 30), 0x00000000);
+ spawn SHOCKER.slot_20(arg_06);
+ FREE.slot_20(pid, 30);
+ spawn FREE.waitNTimerTicks((retval + 30), 0x00000000);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SHOCKNS1/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/SHOCKNS1/slot_0F_enterFastArea.txt
index d1ce8fe..acd68ca 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SHOCKNS1/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SHOCKNS1/slot_0F_enterFastArea.txt
@@ -2,6 +2,6 @@ function shockns1_enterFastArea() /* entry=249 class_id=0x0459 slot=0x0F */
{
set_info(0x021B, *(arg_06));
process_exclude();
- spawn class_0A13_slot_20(arg_06);
+ spawn SHOCKER.slot_20(arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SHOCKNS1/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/SHOCKNS1/slot_10_leaveFastArea.txt
index 677aab7..b22f143 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SHOCKNS1/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SHOCKNS1/slot_10_leaveFastArea.txt
@@ -2,8 +2,8 @@ function shockns1_leaveFastArea() /* entry=249 class_id=0x0459 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x021B, *(arg_06));
- class_0A0C_slot_33(0x020A, *(arg_06));
- class_0A0C_slot_33(0x0205, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x020A, *(arg_06));
+ FREE.slot_33(0x0205, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SICBFLNS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/SICBFLNS/slot_06_gotHit.txt
index c4a7ceb..9de60f6 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SICBFLNS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SICBFLNS/slot_06_gotHit.txt
@@ -16,62 +16,33 @@ function sicbflns_gotHit() /* entry=158 class_id=0x02E1 slot=0x06 */
else {
/* global_address global_id=0x3C */
while (!Actor.isBusy()) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=DOOR_CORNER_LOWER_RIGHT, origin=arg_06) */
while (!condition) {
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=HEALTH_STATION_BACK, origin=arg_06) {
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=HEALTH_STATION_TOP, origin=arg_06) {
/* loopnext */
}
while (!Kernel.getNumProcesses(0x0254, global[0x003C])) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=DOOR_CORNER_LOWER_RIGHT, origin=arg_06) {
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=HEALTH_STATION_TOP, origin=arg_06) {
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=HEALTH_STATION_BACK, origin=arg_06) {
/* loopnext */
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SICBFLNS/slot_09_release.txt b/USECODE/EUSECODE_extracted/pseudocode/SICBFLNS/slot_09_release.txt
index d56d403..a0489a3 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SICBFLNS/slot_09_release.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SICBFLNS/slot_09_release.txt
@@ -7,7 +7,7 @@ function sicbflns_release() /* entry=158 class_id=0x02E1 slot=0x09 */
set_info(0x020D, *(arg_06));
process_exclude();
if (Item.getSurfaceWeight(arg_06) == 0) {
- class_0A0C_slot_33(0x0254, global[0x003C]);
+ FREE.slot_33(0x0254, global[0x003C]);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SICBOXNS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/SICBOXNS/slot_06_gotHit.txt
index 3a52e78..24cb1e6 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SICBOXNS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SICBOXNS/slot_06_gotHit.txt
@@ -8,46 +8,27 @@ function sicboxns_gotHit() /* entry=157 class_id=0x02E0 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2B(vel, ref);
+ FREE.slot_2B(vel, ref);
if (retval && (Item.getFrame(arg_06) >= 4)) {
- spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 100, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
return;
}
else {
- class_0A0C_slot_33(0x0254, global[0x003C]);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ FREE.slot_33(0x0254, global[0x003C]);
+ /* loop_selector item in nearby_items(shape=DOOR_CORNER_LOWER_RIGHT, origin=arg_06) */
while (!condition) {
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=0x02E1, origin=arg_06) {
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=HEALTH_STATION_TOP, origin=arg_06) {
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=HEALTH_STATION_BACK, origin=arg_06) {
/* loopnext */
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SKILLBOX/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/SKILLBOX/slot_0A_equip.txt
index fae3d58..14fe960 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SKILLBOX/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SKILLBOX/slot_0A_equip.txt
@@ -7,36 +7,36 @@ function skillbox_equip() /* entry=286 class_id=0x04E3 slot=0x0A */
if (Item.getFrame(arg_06) == 2) {
local_04 = Item.getQLo(arg_06);
if (local_02 == 1) {
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
else if (local_02 == 2) {
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
else if (local_02 < 3) {
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
return;
}
if (local_02 < (Item.getFrame(arg_06) + 2)) {
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
else {
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
}
return;
}
else if (local_02 < (Item.getFrame(arg_06) + 2)) {
- spawn class_0A18_slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
suspend;
return;
}
else {
- spawn class_0A18_slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SLIDEFLR/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/SLIDEFLR/slot_0B_unequip.txt
index 962a69d..2b5803b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SLIDEFLR/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SLIDEFLR/slot_0B_unequip.txt
@@ -4,12 +4,12 @@ function slideflr_unequip() /* entry=279 class_id=0x04D5 slot=0x0B */
process_exclude();
if (Item.getFrame(arg_06) == 9) {
while (Item.getFrame(arg_06) == 2) {
- spawn class_0A0C_slot_32(pid, 4, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 4, 0x00000000);
suspend;
}
}
while (!AudioProcess.isSFXPlayingForObject(81, arg_06)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SLIDEFLR/slot_13_avatarStoleSomething.txt b/USECODE/EUSECODE_extracted/pseudocode/SLIDEFLR/slot_13_avatarStoleSomething.txt
index 7f323e8..19a5094 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SLIDEFLR/slot_13_avatarStoleSomething.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SLIDEFLR/slot_13_avatarStoleSomething.txt
@@ -4,12 +4,12 @@ function slideflr_avatarStoleSomething() /* entry=279 class_id=0x04D5 slot=0x13
process_exclude();
if (Item.getFrame(arg_06) == 9) {
while (Item.getFrame(arg_06) == 9) {
- spawn class_0A0C_slot_32(pid, 4, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 4, 0x00000000);
suspend;
}
}
while (!AudioProcess.isSFXPlayingForObject(81, arg_06)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SMALCHAI/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/SMALCHAI/slot_06_gotHit.txt
index f0d5493..655a271 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SMALCHAI/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SMALCHAI/slot_06_gotHit.txt
@@ -17,11 +17,11 @@ function smalchai_gotHit() /* entry=118 class_id=0x01FB slot=0x06 */
return;
}
else {
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
- class_0A0C_slot_20(10);
+ FREE.slot_20(10);
spin = (retval + 5);
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
direction = retval;
if (direction == 0) {
count = 1;
@@ -30,7 +30,7 @@ function smalchai_gotHit() /* entry=118 class_id=0x01FB slot=0x06 */
if (fram == 8) {
fram = 0;
}
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
count = (1 + count);
}
@@ -43,7 +43,7 @@ function smalchai_gotHit() /* entry=118 class_id=0x01FB slot=0x06 */
if (fram == -1) {
fram = 7;
}
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
count = (1 + count);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SMALLTAB/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/SMALLTAB/slot_06_gotHit.txt
index 8d555ff..ef489e1 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SMALLTAB/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SMALLTAB/slot_06_gotHit.txt
@@ -8,18 +8,18 @@ function smalltab_gotHit() /* entry=5 class_id=0x002D slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
/* loopscr value_u8=0x24 */
/* loop current_var=0xFE string_bytes=0x1 loop_type=0x6 */
while (!condition) {
- class_0A0C_slot_20(1, 10);
- class_0A0C_slot_20((retval + 10), 10);
- class_0A0C_slot_20(retval, 10);
+ FREE.slot_20(1, 10);
+ FREE.slot_20((retval + 10), 10);
+ FREE.slot_20(retval, 10);
/* loopnext */
}
- class_0A0C_slot_20(1);
- spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
+ FREE.slot_20(1);
+ spawn ITEM.slot_28(pid, 0, 0, arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SOLDIER/slot_0E_calledFromAnim.txt b/USECODE/EUSECODE_extracted/pseudocode/SOLDIER/slot_0E_calledFromAnim.txt
index 1ad75a5..1308597 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SOLDIER/slot_0E_calledFromAnim.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SOLDIER/slot_0E_calledFromAnim.txt
@@ -2,6 +2,6 @@ function soldier_calledFromAnim() /* entry=201 class_id=0x0384 slot=0x0E */
{
set_info(0x021A, *(arg_06));
process_exclude();
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SPANEL/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/SPANEL/slot_01_use.txt
index db3f6ad..351c4dd 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SPANEL/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SPANEL/slot_01_use.txt
@@ -4,7 +4,7 @@ function spanel_use() /* entry=211 class_id=0x03AA slot=0x01 */
process_exclude();
if (Item.getMapArray(arg_06) == 0) {
/* global_address global_id=0x3C */
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SPECIAL/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/SPECIAL/slot_0A_equip.txt
index c6da9aa..eae995b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SPECIAL/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SPECIAL/slot_0A_equip.txt
@@ -2,9 +2,9 @@ function special_equip() /* entry=272 class_id=0x04CA slot=0x0A */
{
set_info(0x0211, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
if (!arg_0A) {
- spawn class_04CA_slot_21(arg_06);
+ spawn SPECIAL.slot_21(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SPECIAL/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/SPECIAL/slot_0F_enterFastArea.txt
index b650773..ccf9aa2 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SPECIAL/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SPECIAL/slot_0F_enterFastArea.txt
@@ -11,19 +11,19 @@ function special_enterFastArea() /* entry=272 class_id=0x04CA slot=0x0F */
mapNum = Item.getMapArray(arg_06);
npcNum = Item.getNPCNum(arg_06);
if (mapNum == 1) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, (0x0080 + 0), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (0x0080 + 0), *(arg_06), arg_06);
suspend;
}
if (npcNum == 1) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, (0x0080 + 1), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (0x0080 + 1), *(arg_06), arg_06);
suspend;
}
if ((mapNum <= 2) || (npcNum > 2)) {
- spawn class_04CA_slot_21(arg_06);
+ spawn SPECIAL.slot_21(arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SPECIAL/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/SPECIAL/slot_10_leaveFastArea.txt
index b3347a8..e8a67aa 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SPECIAL/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SPECIAL/slot_10_leaveFastArea.txt
@@ -4,11 +4,11 @@ function special_leaveFastArea() /* entry=272 class_id=0x04CA slot=0x10 */
process_exclude();
if (!Item.getQHi(arg_06)) {
if (Item.getMapArray(arg_06) == 2) {
- spawn class_0A18_slot_20(pid, (0x0080 + 0), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (0x0080 + 0), *(arg_06), arg_06);
suspend;
}
if (Item.getNPCNum(arg_06) == 2) {
- spawn class_0A18_slot_20(pid, (0x0080 + 1), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (0x0080 + 1), *(arg_06), arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SPECIAL/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/SPECIAL/slot_20_slot_20.txt
index a64e614..1c262d6 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SPECIAL/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SPECIAL/slot_20_slot_20.txt
@@ -13,7 +13,7 @@ function special_slot_20() /* entry=272 class_id=0x04CA slot=0x20 */
/* global_address global_id=0x3C */
a = Actor.getDir();
if ((a > 4) || (a >= 12)) {
- spawn class_0A18_slot_20(pid, phase, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, phase, *(arg_06), arg_06);
suspend;
}
return;
@@ -22,7 +22,7 @@ function special_slot_20() /* entry=272 class_id=0x04CA slot=0x20 */
/* global_address global_id=0x3C */
a = Actor.getDir();
if ((a > 4) && (a >= 12)) {
- spawn class_0A18_slot_20(pid, phase, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, phase, *(arg_06), arg_06);
suspend;
}
return;
@@ -30,7 +30,7 @@ function special_slot_20() /* entry=272 class_id=0x04CA slot=0x20 */
else if (cmd == 5) {
/* global_address global_id=0x3C */
if (Actor.getInCombat() == 1) {
- spawn class_0A18_slot_20(pid, phase, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, phase, *(arg_06), arg_06);
suspend;
}
return;
@@ -38,11 +38,11 @@ function special_slot_20() /* entry=272 class_id=0x04CA slot=0x20 */
else if (cmd == 6) {
/* global_address global_id=0x3C */
if (Actor.getInCombat() == 0) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
/* global_address global_id=0x3C */
if (Actor.getInCombat() == 0) {
- spawn class_0A18_slot_20(pid, phase, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, phase, *(arg_06), arg_06);
suspend;
}
}
@@ -50,11 +50,7 @@ function special_slot_20() /* entry=272 class_id=0x04CA slot=0x20 */
}
else if (cmd == 7) {
a = 0;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector npc in nearby_items(family=6, origin=global[0x003C]) */
while (!condition) {
if (npc >= 0x0100) {
a = (1 + a);
@@ -62,20 +58,16 @@ function special_slot_20() /* entry=272 class_id=0x04CA slot=0x20 */
/* loopnext */
}
if (a <= 4) {
- spawn class_0A18_slot_20(pid, phase, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, phase, *(arg_06), arg_06);
suspend;
}
- spawn class_0A0C_slot_32(pid, (Item.getQHi(arg_06) * 9), 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, (Item.getQHi(arg_06) * 9), 0x00000000);
suspend;
return;
}
else if (cmd == 8) {
a = 0;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector npc in nearby_items(family=6, origin=global[0x003C]) */
while (!condition) {
if (npc >= 0x0100) {
a = (1 + a);
@@ -83,17 +75,17 @@ function special_slot_20() /* entry=272 class_id=0x04CA slot=0x20 */
/* loopnext */
}
if (a > 4) {
- spawn class_0A18_slot_20(pid, phase, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, phase, *(arg_06), arg_06);
suspend;
}
- spawn class_0A0C_slot_32(pid, (Item.getQHi(arg_06) * 9), 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, (Item.getQHi(arg_06) * 9), 0x00000000);
suspend;
return;
}
else if (cmd == 9) {
q = Item.getQLo(arg_06);
- class_0A0C_slot_20(q, 3);
- spawn class_0A18_slot_20(pid, phase, *(arg_06), arg_06);
+ FREE.slot_20(q, 3);
+ spawn TRIGGER.slot_20(pid, phase, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SPECIAL/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/SPECIAL/slot_21_slot_21.txt
index 5575b45..1560636 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SPECIAL/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SPECIAL/slot_21_slot_21.txt
@@ -13,11 +13,11 @@ function special_slot_21() /* entry=272 class_id=0x04CA slot=0x21 */
phase1 = Item.getMapArray(arg_06);
phase2 = Item.getNPCNum(arg_06);
while (!(1)) {
- spawn class_04CA_slot_20(pid, (0x0080 + 0), phase1, arg_06);
+ spawn SPECIAL.slot_20(pid, (0x0080 + 0), phase1, arg_06);
suspend;
- spawn class_04CA_slot_20(pid, (0x0080 + 1), phase2, arg_06);
+ spawn SPECIAL.slot_20(pid, (0x0080 + 1), phase2, arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
counter = (1 + counter);
if ((phase1 == 8) || (phase1 != 7)) {
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SPIDER/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/SPIDER/slot_20_slot_20.txt
index 76ba607..0686c08 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SPIDER/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SPIDER/slot_20_slot_20.txt
@@ -14,7 +14,7 @@ function spider_slot_20() /* entry=390 class_id=0x0A14 slot=0x20 */
if (!spiderType) goto block_011B;
block_0107:
- class_0A1E_slot_23(4, arg_06);
+ ITEM.slot_23(4, arg_06);
goto block_03D4;
block_011B:
@@ -24,7 +24,7 @@ function spider_slot_20() /* entry=390 class_id=0x0A14 slot=0x20 */
goto block_03D4;
block_0134:
- class_0A1E_slot_23(0x1000, arg_06);
+ ITEM.slot_23(0x1000, arg_06);
targetLoop = spiderType;
block_014A:
@@ -49,7 +49,7 @@ function spider_slot_20() /* entry=390 class_id=0x0A14 slot=0x20 */
if ((Item.getZ(target) > (Item.getZ(arg_06) + 16)) || (Item.getZ(target) < (Item.getZ(arg_06) - 16))) goto block_01F2;
block_01C9:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_0193;
@@ -57,8 +57,8 @@ function spider_slot_20() /* entry=390 class_id=0x0A14 slot=0x20 */
if ((Item.getStatus(arg_06) & 4) || (Item.getFrame(arg_06) > 0)) goto block_0237;
block_0214:
- class_0A1E_slot_24(4, arg_06);
- class_0A1E_slot_24(0x1000, arg_06);
+ ITEM.slot_24(4, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
goto block_03D4;
block_0237:
@@ -68,7 +68,7 @@ function spider_slot_20() /* entry=390 class_id=0x0A14 slot=0x20 */
if (count <= 5) goto block_02D2;
block_0292:
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
count = (1 + count);
goto block_028A;
@@ -80,7 +80,7 @@ function spider_slot_20() /* entry=390 class_id=0x0A14 slot=0x20 */
if (count <= 9) goto block_034A;
block_030A:
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
count = (1 + count);
goto block_0302;
@@ -89,17 +89,17 @@ function spider_slot_20() /* entry=390 class_id=0x0A14 slot=0x20 */
if (Item.getRangeIfVisible(target, arg_06) != 0) goto block_0387;
block_035E:
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
goto block_034A;
block_0387:
- spawn class_0A14_slot_21(pid, targetLoop, target, spider, spider);
+ spawn SPIDER.slot_21(pid, targetLoop, target, spider, spider);
suspend;
if (spiderType < 99) goto block_03D1;
block_03BC:
- class_0A1E_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
goto block_03D4;
block_03D1:
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SPIDER/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/SPIDER/slot_21_slot_21.txt
index 3e66651..a63f41b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SPIDER/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SPIDER/slot_21_slot_21.txt
@@ -16,11 +16,11 @@ function spider_slot_21() /* entry=390 class_id=0x0A14 slot=0x21 */
x = 1;
/* rsh */
y = 1;
- spawn class_0A14_slot_22((Item.getX(target) - Item.getX(arg_06)), (Item.getY(target) - Item.getY(arg_06)), pid, (Game.getDifficultyLevel() + 5), Item.getZ(arg_06), (y + Item.getY(arg_06)), (x + Item.getX(arg_06)), arg_06);
+ spawn SPIDER.slot_22((Item.getX(target) - Item.getX(arg_06)), (Item.getY(target) - Item.getY(arg_06)), pid, (Game.getDifficultyLevel() + 5), Item.getZ(arg_06), (y + Item.getY(arg_06)), (x + Item.getX(arg_06)), arg_06);
suspend;
targetLoop = (targetLoop - 1);
}
- spawn class_0A14_slot_22(pid, (Game.getDifficultyLevel() + 5), Item.getZ(arg_06), Item.getY(target), Item.getX(target), arg_06);
+ spawn SPIDER.slot_22(pid, (Game.getDifficultyLevel() + 5), Item.getZ(arg_06), Item.getY(target), Item.getX(target), arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SPIDER/slot_22_slot_22.txt b/USECODE/EUSECODE_extracted/pseudocode/SPIDER/slot_22_slot_22.txt
index f14d81b..83f9641 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SPIDER/slot_22_slot_22.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SPIDER/slot_22_slot_22.txt
@@ -37,8 +37,8 @@ function spider_slot_22() /* entry=390 class_id=0x0A14 slot=0x22 */
ovel = vel;
c = 0;
axis = 1;
- class_0A0C_slot_3F(w);
- class_0A0C_slot_3F(retval, h);
+ FREE.slot_3F(w);
+ FREE.slot_3F(retval, h);
if retval goto block_0652;
block_064B:
@@ -48,10 +48,10 @@ function spider_slot_22() /* entry=390 class_id=0x0A14 slot=0x22 */
if (axis != 0) goto block_06BD;
block_065D:
- class_0A0C_slot_3F(((h / w) * w));
+ FREE.slot_3F(((h / w) * w));
q = retval;
/* mod */
- class_0A0C_slot_3F(h, w);
+ FREE.slot_3F(h, w);
r = retval;
if (w < 0) goto block_0699;
@@ -65,15 +65,15 @@ function spider_slot_22() /* entry=390 class_id=0x0A14 slot=0x22 */
minor = -1;
block_06AB:
- class_0A0C_slot_3F(w);
+ FREE.slot_3F(w);
oabs = retval;
goto block_071A;
block_06BD:
- class_0A0C_slot_3F(((w / h) * h));
+ FREE.slot_3F(((w / h) * h));
q = retval;
/* mod */
- class_0A0C_slot_3F(w, h);
+ FREE.slot_3F(w, h);
r = retval;
if (h < 0) goto block_06F9;
@@ -87,19 +87,19 @@ function spider_slot_22() /* entry=390 class_id=0x0A14 slot=0x22 */
minor = -1;
block_070B:
- class_0A0C_slot_3F(h);
+ FREE.slot_3F(h);
oabs = retval;
block_071A:
suspend;
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
zcur = (z & 0x00FF);
ztarg = (destZ & 0x00FF);
if (zcur != ztarg) goto block_07C2;
block_076E:
- class_0A0C_slot_3F((ztarg - zcur));
+ FREE.slot_3F((ztarg - zcur));
dif = ((retval / 20) + 1);
if (dif != 0) goto block_0795;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SPIDPAD/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/SPIDPAD/slot_0A_equip.txt
index 5fbe210..6e26e15 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SPIDPAD/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SPIDPAD/slot_0A_equip.txt
@@ -3,12 +3,12 @@ function spidpad_equip() /* entry=204 class_id=0x0397 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (!arg_0A) {
- spawn class_0A14_slot_20(arg_0A, arg_06);
+ spawn SPIDER.slot_20(arg_0A, arg_06);
return;
}
else {
- class_0A0C_slot_33(*(arg_06), 1);
- class_0A1E_slot_23(4, arg_06);
+ FREE.slot_33(*(arg_06), 1);
+ ITEM.slot_23(4, arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SPIDPAD/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/SPIDPAD/slot_10_leaveFastArea.txt
index 8291b84..dc310c9 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SPIDPAD/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SPIDPAD/slot_10_leaveFastArea.txt
@@ -2,7 +2,7 @@ function spidpad_leaveFastArea() /* entry=204 class_id=0x0397 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_33(*(arg_06), 1);
- class_0A1E_slot_24(0x1000, arg_06);
+ FREE.slot_33(*(arg_06), 1);
+ ITEM.slot_24(0x1000, arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SPIDWALK/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/SPIDWALK/slot_06_gotHit.txt
index cb4e938..dc1befb 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SPIDWALK/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SPIDWALK/slot_06_gotHit.txt
@@ -7,6 +7,6 @@ function spidwalk_gotHit() /* entry=203 class_id=0x0391 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SSBOX_EW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/SSBOX_EW/slot_06_gotHit.txt
index 48014f3..c8f86c4 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SSBOX_EW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SSBOX_EW/slot_06_gotHit.txt
@@ -7,27 +7,27 @@ function ssbox_ew_gotHit() /* entry=148 class_id=0x02B3 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
if (Item.getFrame(arg_06)) {
- spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
+ spawn ITEM.slot_28(pid, 0, 0, arg_06);
suspend;
return;
}
else {
- spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 100, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- spawn class_0A1E_slot_2A(pid, arg_06);
+ spawn ITEM.slot_2A(pid, arg_06);
suspend;
- spawn class_0A1E_slot_28(pid, 1, 1, arg_06);
+ spawn ITEM.slot_28(pid, 1, 1, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SSBOX_NS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/SSBOX_NS/slot_06_gotHit.txt
index b8f5436..67efcbd 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SSBOX_NS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SSBOX_NS/slot_06_gotHit.txt
@@ -7,27 +7,27 @@ function ssbox_ns_gotHit() /* entry=152 class_id=0x02CA slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
if (Item.getFrame(arg_06)) {
- spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
+ spawn ITEM.slot_28(pid, 0, 0, arg_06);
suspend;
return;
}
else {
- spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, 100, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- spawn class_0A1E_slot_2A(pid, arg_06);
+ spawn ITEM.slot_2A(pid, arg_06);
suspend;
- spawn class_0A1E_slot_28(pid, 1, 1, arg_06);
+ spawn ITEM.slot_28(pid, 1, 1, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SSWITCHE/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/SSWITCHE/slot_01_use.txt
index f3bfd38..3ad389b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SSWITCHE/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SSWITCHE/slot_01_use.txt
@@ -24,22 +24,18 @@ function sswitche_use() /* entry=248 class_id=0x0457 slot=0x01 */
a = Item.getFrame(arg_06);
if (Item.getMapArray(arg_06) == 0) {
if (a == 2) {
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
else if (a >= 2) {
b = ((a + 1) & 1);
- spawn class_0A18_slot_20(pid, a, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, a, *(arg_06), arg_06);
suspend;
}
}
else {
qLo = Item.getQLo(arg_06);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF9 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector sswitch in nearby_items(shape=0x0457, origin=arg_06) */
while (!condition) {
if (!(sswitch == *(arg_06))) {
if (Item.getMapArray(sswitch) == 0) {
@@ -60,12 +56,7 @@ function sswitche_use() /* entry=248 class_id=0x0457 slot=0x01 */
counter = (1 + counter);
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xEF string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for sswitch2 in nearby_items(shape=0x0452, origin=arg_06) {
if (Item.getMapArray(sswitch2) == 0) {
if (Item.getQLo(sswitch2) == 29) {
switch21 = sswitch2;
@@ -128,12 +119,7 @@ function sswitche_use() /* entry=248 class_id=0x0457 slot=0x01 */
return;
}
else {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF1 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for timer in nearby_items(shape=0x04C9, origin=arg_06) {
if (Item.getQLo(timer) == 29) {
suspend;
}
@@ -146,12 +132,7 @@ function sswitche_use() /* entry=248 class_id=0x0457 slot=0x01 */
return;
}
else {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF1 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for timer in nearby_items(shape=0x04C9, origin=arg_06) {
if (Item.getQLo(timer) == 30) {
suspend;
}
@@ -160,22 +141,17 @@ function sswitche_use() /* entry=248 class_id=0x0457 slot=0x01 */
}
}
else if (!c1) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF1 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for timer in nearby_items(shape=0x04C9, origin=arg_06) {
if (Item.getQLo(timer) == 31) {
suspend;
}
/* loopnext */
}
}
- spawn class_0A0C_slot_32(pid, 20, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 20, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_32(pid, 20, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 20, 0x00000000);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SSWITCHE/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/SSWITCHE/slot_06_gotHit.txt
index cd68006..2dc21a5 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SSWITCHE/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SSWITCHE/slot_06_gotHit.txt
@@ -7,13 +7,13 @@ function sswitche_gotHit() /* entry=248 class_id=0x0457 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2B(vel, ref);
+ FREE.slot_2B(vel, ref);
if (retval == 4) {
if (ref == 1) {
return;
}
else {
- spawn class_0457_use(pid, arg_06);
+ spawn SSWITCHE.use(pid, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SSWITCHN/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/SSWITCHN/slot_01_use.txt
index a69766a..373cdcc 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SSWITCHN/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SSWITCHN/slot_01_use.txt
@@ -24,22 +24,18 @@ function sswitchn_use() /* entry=247 class_id=0x0452 slot=0x01 */
a = Item.getFrame(arg_06);
if (Item.getMapArray(arg_06) == 0) {
if (a == 2) {
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
else if (a >= 2) {
b = ((a + 1) & 1);
- spawn class_0A18_slot_20(pid, a, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, a, *(arg_06), arg_06);
suspend;
}
}
else {
qLo = Item.getQLo(arg_06);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF9 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector sswitch in nearby_items(shape=0x0452, origin=arg_06) */
while (!condition) {
if (!(sswitch == *(arg_06))) {
if (Item.getMapArray(sswitch) == 0) {
@@ -60,12 +56,7 @@ function sswitchn_use() /* entry=247 class_id=0x0452 slot=0x01 */
counter = (1 + counter);
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xEF string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for sswitch2 in nearby_items(shape=0x0457, origin=arg_06) {
if (Item.getMapArray(sswitch2) == 0) {
if (Item.getQLo(sswitch2) == 29) {
switch21 = sswitch2;
@@ -128,12 +119,7 @@ function sswitchn_use() /* entry=247 class_id=0x0452 slot=0x01 */
return;
}
else {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF1 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for timer in nearby_items(shape=0x04C9, origin=arg_06) {
if (Item.getQLo(timer) == 29) {
suspend;
}
@@ -146,12 +132,7 @@ function sswitchn_use() /* entry=247 class_id=0x0452 slot=0x01 */
return;
}
else {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF1 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for timer in nearby_items(shape=0x04C9, origin=arg_06) {
if (Item.getQLo(timer) == 30) {
suspend;
}
@@ -160,22 +141,17 @@ function sswitchn_use() /* entry=247 class_id=0x0452 slot=0x01 */
}
}
else if (!c1) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF1 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for timer in nearby_items(shape=0x04C9, origin=arg_06) {
if (Item.getQLo(timer) == 31) {
suspend;
}
/* loopnext */
}
}
- spawn class_0A0C_slot_32(pid, 20, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 20, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_32(pid, 20, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 20, 0x00000000);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SSWITCHN/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/SSWITCHN/slot_06_gotHit.txt
index 07aa71d..1dfe75b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SSWITCHN/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SSWITCHN/slot_06_gotHit.txt
@@ -7,13 +7,13 @@ function sswitchn_gotHit() /* entry=247 class_id=0x0452 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2B(vel, ref);
+ FREE.slot_2B(vel, ref);
if (retval == 4) {
if (ref == 1) {
return;
}
else {
- spawn class_0452_use(pid, arg_06);
+ spawn SSWITCHN.use(pid, arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/STABLE/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/STABLE/slot_06_gotHit.txt
index 5956bd9..eb9ae9e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/STABLE/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/STABLE/slot_06_gotHit.txt
@@ -15,16 +15,11 @@ function stable_gotHit() /* entry=154 class_id=0x02DC slot=0x06 */
return;
}
else {
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=NARROW_COLUMN_BASE, origin=arg_06) {
if (Item.getFrame(item) >= 1) {
- spawn class_0A1E_slot_28(pid, 0, 1, item);
+ spawn ITEM.slot_28(pid, 0, 1, item);
suspend;
}
/* loopnext */
@@ -32,25 +27,20 @@ function stable_gotHit() /* entry=154 class_id=0x02DC slot=0x06 */
/* loopscr value_u8=0x24 */
/* loop current_var=0xFC string_bytes=0x1 loop_type=0x6 */
while (!condition) {
- class_0A0C_slot_20(1, 10);
- class_0A0C_slot_20((retval + 10), 10);
- class_0A0C_slot_20(retval, 10);
+ FREE.slot_20(1, 10);
+ FREE.slot_20((retval + 10), 10);
+ FREE.slot_20(retval, 10);
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=FLOOR_PEDESTAL_SLICE, origin=arg_06) {
fram = Item.getFrame(item);
if (fram >= 9) {
/* loopscr value_u8=0x24 */
/* loop current_var=0xFA string_bytes=0x1 loop_type=0x6 */
while (!condition) {
- class_0A0C_slot_20(1, 10);
- class_0A0C_slot_20((retval + 10), 10);
- class_0A0C_slot_20(retval, 10);
+ FREE.slot_20(1, 10);
+ FREE.slot_20((retval + 10), 10);
+ FREE.slot_20(retval, 10);
/* loopnext */
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/STATICEW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/STATICEW/slot_06_gotHit.txt
index 01de8ca..03bf29e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/STATICEW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/STATICEW/slot_06_gotHit.txt
@@ -7,6 +7,6 @@ function staticew_gotHit() /* entry=198 class_id=0x037F slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/STATICNS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/STATICNS/slot_06_gotHit.txt
index 776d359..0410227 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/STATICNS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/STATICNS/slot_06_gotHit.txt
@@ -7,6 +7,6 @@ function staticns_gotHit() /* entry=131 class_id=0x0254 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/STEAM/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/STEAM/slot_20_slot_20.txt
index 20cdaea..990893d 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/STEAM/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/STEAM/slot_20_slot_20.txt
@@ -11,14 +11,10 @@ function steam_slot_20() /* entry=391 class_id=0x0A15 slot=0x20 */
block_00F6:
suspend;
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
detect = 0;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(family=6, origin=arg_06) */
block_014D:
if condition goto block_01F4;
@@ -34,7 +30,7 @@ function steam_slot_20() /* entry=391 class_id=0x0A15 slot=0x20 */
if (n != getTargetNPCNumMaybe()) goto block_01C4;
block_018A:
- class_0A11_slot_2B(n);
+ NPC.slot_2B(n);
if (!retval) goto block_01C1;
block_019E:
@@ -55,7 +51,7 @@ function steam_slot_20() /* entry=391 class_id=0x0A15 slot=0x20 */
if (!detect) goto block_0213;
block_01FF:
- class_0A1E_slot_24(4, arg_06);
+ ITEM.slot_24(4, arg_06);
goto block_0216;
block_0213:
diff --git a/USECODE/EUSECODE_extracted/pseudocode/STEAM/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/STEAM/slot_21_slot_21.txt
index c7434bc..a822f6b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/STEAM/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/STEAM/slot_21_slot_21.txt
@@ -14,7 +14,7 @@ function steam_slot_21() /* entry=391 class_id=0x0A15 slot=0x21 */
goto block_0333;
block_027E:
- class_0A1E_slot_23(4, arg_06);
+ ITEM.slot_23(4, arg_06);
block_028C:
suspend;
@@ -27,13 +27,13 @@ function steam_slot_21() /* entry=391 class_id=0x0A15 slot=0x21 */
goto block_031C;
block_02E3:
- class_0A11_slot_2B(n);
+ NPC.slot_2B(n);
if (!retval) goto block_031C;
block_02F7:
block_031C:
- spawn class_0A15_slot_20(arg_06);
+ spawn STEAM.slot_20(arg_06);
goto block_0333;
block_0330:
diff --git a/USECODE/EUSECODE_extracted/pseudocode/STEAM1/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/STEAM1/slot_06_gotHit.txt
index 6f49157..df354aa 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/STEAM1/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/STEAM1/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function steam1_gotHit() /* entry=293 class_id=0x04FA slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A15_slot_21(pid, ref, arg_06);
+ spawn STEAM.slot_21(pid, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/STEAM2/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/STEAM2/slot_06_gotHit.txt
index 1fe4d22..bd05d80 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/STEAM2/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/STEAM2/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function steam2_gotHit() /* entry=298 class_id=0x0511 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A15_slot_21(pid, ref, arg_06);
+ spawn STEAM.slot_21(pid, ref, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/STEAMBOX/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/STEAMBOX/slot_0A_equip.txt
index 29c1479..6c540a2 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/STEAMBOX/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/STEAMBOX/slot_0A_equip.txt
@@ -18,10 +18,10 @@ function steambox_equip() /* entry=296 class_id=0x0500 slot=0x0A */
if (!(Item.getStatus(steam) & 0x1000)) {
}
else if ((Item.getShape(steam) == 0x04FA) || (Item.getShape(steam) != 0x04F9)) {
- spawn class_0500_slot_21(0, steam, arg_06);
+ spawn STEAMBOX.slot_21(0, steam, arg_06);
}
else if ((Item.getShape(steam) == 0x0511) || (Item.getShape(steam) != 0x04FD)) {
- spawn class_0500_slot_21(1, steam, arg_06);
+ spawn STEAMBOX.slot_21(1, steam, arg_06);
}
}
/* loopnext */
@@ -29,18 +29,13 @@ function steambox_equip() /* entry=296 class_id=0x0500 slot=0x0A */
return;
}
else if (event == 1) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for steam in nearby_items(shape=0x03A9, origin=arg_06) {
if (Item.getQLo(steam) == Item.getQLo(arg_06)) {
if (Item.getFrame(steam) == 0) {
- spawn class_0500_slot_20(0, steam2, arg_06);
+ spawn STEAMBOX.slot_20(0, steam2, arg_06);
}
else if (Item.getFrame(steam) == 1) {
- spawn class_0500_slot_20(1, steam2, arg_06);
+ spawn STEAMBOX.slot_20(1, steam2, arg_06);
}
}
/* loopnext */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/STEAMBOX/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/STEAMBOX/slot_20_slot_20.txt
index 494636b..6dd37d1 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/STEAMBOX/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/STEAMBOX/slot_20_slot_20.txt
@@ -10,16 +10,16 @@ function steambox_slot_20() /* entry=296 class_id=0x0500 slot=0x20 */
set_info(0x00F0, *(arg_06));
if (!getAnimationsDisabled()) {
while ((Item.getFrame(steam) == 39) && (Item.isOnScreen(steam) != 1)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
if (Item.getFrame(steam) == 12) {
- class_0A1E_slot_23(4, steam);
- spawn class_0A15_slot_20(steam);
+ ITEM.slot_23(4, steam);
+ spawn STEAM.slot_20(steam);
}
}
}
else {
- spawn class_0A0C_slot_32(pid, 120, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 120, 0x00000000);
suspend;
}
if (direction == 0) {
@@ -30,7 +30,7 @@ function steambox_slot_20() /* entry=296 class_id=0x0500 slot=0x20 */
if (!getAnimationsDisabled()) {
}
}
- class_0A1E_slot_23(4, steam2);
- spawn class_0A15_slot_20(steam2);
+ ITEM.slot_23(4, steam2);
+ spawn STEAM.slot_20(steam2);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/STEAMBOX/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/STEAMBOX/slot_21_slot_21.txt
index 171310d..7d1ad88 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/STEAMBOX/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/STEAMBOX/slot_21_slot_21.txt
@@ -8,36 +8,36 @@ function steambox_slot_21() /* entry=296 class_id=0x0500 slot=0x21 */
steam2; /* [BP-04h] type=0x24 */
set_info(1, *(arg_06));
- class_0A1E_slot_23(0x1000, steam);
+ ITEM.slot_23(0x1000, steam);
if (!getAnimationsDisabled()) {
if ((Item.getShape(steam) == 0x04F9) || (Item.getShape(steam) != 0x04FD)) {
while ((Item.getFrame(steam) == 39) && (Item.isOnScreen(arg_06) != 1)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
}
else {
while ((Item.getFrame(steam) == 23) && (Item.isOnScreen(steam) != 1)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
}
}
else {
- spawn class_0A0C_slot_32(pid, 0x00C8, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x00C8, 0x00000000);
suspend;
}
- class_0A1E_slot_23(0x1000, steam2);
+ ITEM.slot_23(0x1000, steam2);
if (!getAnimationsDisabled()) {
while ((Item.getFrame(steam2) == 29) && (Item.isOnScreen(steam2) != 1)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
}
else {
- spawn class_0A0C_slot_32(pid, 0x00C8, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x00C8, 0x00000000);
suspend;
}
- class_0A1E_slot_24(0x1000, steam2);
+ ITEM.slot_24(0x1000, steam2);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/STEAMEGG/slot_07_hatch.txt b/USECODE/EUSECODE_extracted/pseudocode/STEAMEGG/slot_07_hatch.txt
index 6bd0fd1..68c362e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/STEAMEGG/slot_07_hatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/STEAMEGG/slot_07_hatch.txt
@@ -8,15 +8,11 @@ function steamegg_hatch() /* entry=369 class_id=0x091D slot=0x07 */
set_info(0x0210, *(arg_06));
process_exclude();
id = Egg.getEggId(arg_06);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector sBox in nearby_items(shape=0x0500, origin=arg_06) */
while (!condition) {
if (Item.getQLo(sBox) == id) {
suspend;
- spawn class_0A0C_slot_32(pid, 0x015E, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x015E, 0x00000000);
suspend;
suspend;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/STELEPAD/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/STELEPAD/slot_06_gotHit.txt
index 6f96174..428a07a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/STELEPAD/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/STELEPAD/slot_06_gotHit.txt
@@ -10,7 +10,7 @@ function stelepad_gotHit() /* entry=44 class_id=0x00EF slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
item = ref;
- class_0A0C_slot_2C(ke, ref);
+ FREE.slot_2C(ke, ref);
if (!retval) {
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/STELEPAD/slot_09_release.txt b/USECODE/EUSECODE_extracted/pseudocode/STELEPAD/slot_09_release.txt
index e563470..a712248 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/STELEPAD/slot_09_release.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/STELEPAD/slot_09_release.txt
@@ -7,7 +7,7 @@ function stelepad_release() /* entry=44 class_id=0x00EF slot=0x09 */
set_info(0x020D, *(arg_06));
process_exclude();
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
@@ -26,7 +26,7 @@ function stelepad_release() /* entry=44 class_id=0x00EF slot=0x09 */
if (npc == 1) {
/* global_address global_id=0x3C */
while (!Item.isOn(*(arg_06))) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/STORMTRO/slot_0E_calledFromAnim.txt b/USECODE/EUSECODE_extracted/pseudocode/STORMTRO/slot_0E_calledFromAnim.txt
index 72bfedf..c75ebdb 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/STORMTRO/slot_0E_calledFromAnim.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/STORMTRO/slot_0E_calledFromAnim.txt
@@ -2,6 +2,6 @@ function stormtro_calledFromAnim() /* entry=196 class_id=0x0371 slot=0x0E */
{
set_info(0x021A, *(arg_06));
process_exclude();
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SURCAMEW/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/SURCAMEW/slot_01_use.txt
index 3557b01..2695062 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SURCAMEW/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SURCAMEW/slot_01_use.txt
@@ -13,14 +13,14 @@ function surcamew_use() /* entry=284 class_id=0x04DE slot=0x01 */
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
/* bit_not */
return;
}
else {
- spawn class_04DE_slot_20(arg_06);
+ spawn SURCAMEW.slot_20(arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SURCAMEW/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/SURCAMEW/slot_0A_equip.txt
index 548b65b..b605734 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SURCAMEW/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SURCAMEW/slot_0A_equip.txt
@@ -7,12 +7,12 @@ function surcamew_equip() /* entry=284 class_id=0x04DE slot=0x0A */
}
else if (arg_0A == 0) {
/* global_address global_id=0x3C */
- spawn class_04DE_slot_21(arg_06);
+ spawn SURCAMEW.slot_21(arg_06);
return;
}
else {
/* global_address global_id=0x3C */
- spawn class_04DE_slot_20(arg_06);
+ spawn SURCAMEW.slot_20(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SURCAMEW/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/SURCAMEW/slot_20_slot_20.txt
index c250dfb..d1c7cf0 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SURCAMEW/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SURCAMEW/slot_20_slot_20.txt
@@ -15,39 +15,26 @@ function surcamew_slot_20() /* entry=284 class_id=0x04DE slot=0x20 */
if (Item.getMapArray(arg_06) != 0) goto block_03FC;
block_02F3:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
-
- block_0311:
- if condition goto block_038A;
-
- block_0314:
- if ((Item.getQLo(monit) != link) || (link != 0)) goto block_0386;
-
- block_032F:
- if Item.getQHi(monit) goto block_0386;
-
- block_033E:
- class_0A17_slot_21(Item.getQHi(monit), Item.getQLo(monit), arg_06);
- /* free_local_string bp_offset=0xFE target=[BP-02h] */
- textFile = retval;
- spawn class_0A17_slot_20(pid, textFile, arg_06);
- /* free_stack_string value_u8=0x0 target=[SP+00h] */
- suspend;
-
- block_0386:
- /* loopnext */
- goto block_0311;
+ for monit in nearby_items(shape=0x037D, origin=arg_06) {
+ if ((Item.getQLo(monit) == link) || (link != 0)) {
+ if (!Item.getQHi(monit)) {
+ TEXTFILE.slot_21(Item.getQHi(monit), Item.getQLo(monit), arg_06);
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ textFile = retval;
+ spawn TEXTFILE.slot_20(pid, textFile, arg_06);
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ suspend;
+ }
+ }
+ /* loopnext */
+ }
block_038A:
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- spawn class_04DE_slot_21(pid, arg_06);
+ spawn SURCAMEW.slot_21(pid, arg_06);
suspend;
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
goto block_0501;
@@ -56,11 +43,7 @@ function surcamew_slot_20() /* entry=284 class_id=0x04DE slot=0x20 */
if Item.getQHi(arg_06) goto block_04E2;
block_0412:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector valueBox in nearby_items(shape=PLACEHOLDER_KEY_CUBE, origin=arg_06) */
block_0430:
if condition goto block_0468;
@@ -69,7 +52,7 @@ function surcamew_slot_20() /* entry=284 class_id=0x04DE slot=0x20 */
if (Item.getQLo(valueBox) != link) goto block_0464;
block_0445:
- class_0A19_slot_20(valueBox);
+ VALBOX.slot_20(valueBox);
passcode = retval;
code = (1 + code);
goto block_0468;
@@ -82,23 +65,23 @@ function surcamew_slot_20() /* entry=284 class_id=0x04DE slot=0x20 */
if code goto block_049A;
block_0472:
- class_0A17_slot_23(passcode, Item.getQHi(arg_06), Item.getQLo(arg_06), arg_06);
+ TEXTFILE.slot_23(passcode, Item.getQHi(arg_06), Item.getQLo(arg_06), arg_06);
/* free_local_string bp_offset=0xFE target=[BP-02h] */
textFile = retval;
goto block_04BD;
block_049A:
- class_0A17_slot_21(Item.getQHi(arg_06), Item.getQLo(arg_06), arg_06);
+ TEXTFILE.slot_21(Item.getQHi(arg_06), Item.getQLo(arg_06), arg_06);
/* free_local_string bp_offset=0xFE target=[BP-02h] */
textFile = retval;
block_04BD:
- spawn class_0A17_slot_20(pid, textFile, arg_06);
+ spawn TEXTFILE.slot_20(pid, textFile, arg_06);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
block_04E2:
- spawn class_04DE_slot_21(pid, arg_06);
+ spawn SURCAMEW.slot_21(pid, arg_06);
suspend;
block_0501:
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SURCAMEW/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/SURCAMEW/slot_21_slot_21.txt
index 6cb1677..1a3b20c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SURCAMEW/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SURCAMEW/slot_21_slot_21.txt
@@ -22,13 +22,9 @@ function surcamew_slot_21() /* entry=284 class_id=0x04DE slot=0x21 */
block_05AE:
block_05DA:
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector cameraEgg in nearby_items(shape=PLACEHOLDER_CUBE_RED_BLACK, origin=arg_06) */
block_061F:
if condition goto block_0AF7;
@@ -41,15 +37,11 @@ function surcamew_slot_21() /* entry=284 class_id=0x04DE slot=0x21 */
block_0651:
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF8 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector npc in nearby_items(shape=MECH_1, origin=cameraEgg) */
block_06FC:
if condition goto block_073B;
@@ -72,7 +64,7 @@ function surcamew_slot_21() /* entry=284 class_id=0x04DE slot=0x21 */
if therma goto block_0786;
block_0745:
- spawn class_0A11_slot_28(pid, therma);
+ spawn NPC.slot_28(pid, therma);
suspend;
goto block_0B4B;
@@ -91,13 +83,13 @@ function surcamew_slot_21() /* entry=284 class_id=0x04DE slot=0x21 */
if (!Kernel.getCurrentKeyDown()) goto block_07EB;
block_07C2:
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
goto block_07B3;
block_07EB:
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_0AF7;
@@ -108,7 +100,7 @@ function surcamew_slot_21() /* entry=284 class_id=0x04DE slot=0x21 */
if (Item.getQLo(arg_06) != 0x00FD) goto block_08B8;
block_0862:
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
@@ -120,9 +112,9 @@ function surcamew_slot_21() /* entry=284 class_id=0x04DE slot=0x21 */
block_08CB:
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
- spawn class_04DE_slot_22(cameraEgg, arg_06);
+ spawn SURCAMEW.slot_22(cameraEgg, arg_06);
goto block_0AF7;
block_0945:
@@ -133,25 +125,25 @@ function surcamew_slot_21() /* entry=284 class_id=0x04DE slot=0x21 */
y = Item.getY(cameraEgg);
z = Item.getZ(cameraEgg);
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
if (Item.getMapArray(cameraEgg) != 0) goto block_0A23;
block_09FE:
- spawn class_0A18_slot_20(pid, 0, cameraEgg, arg_06);
+ spawn TRIGGER.slot_20(pid, 0, cameraEgg, arg_06);
suspend;
block_0A23:
- spawn class_0A0C_slot_32(pid, 120, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 120, 0x00000000);
suspend;
block_0A49:
if (!Kernel.getCurrentKeyDown()) goto block_0A81;
block_0A58:
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
goto block_0A49;
@@ -160,7 +152,7 @@ function surcamew_slot_21() /* entry=284 class_id=0x04DE slot=0x21 */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_0AF7;
@@ -169,7 +161,7 @@ function surcamew_slot_21() /* entry=284 class_id=0x04DE slot=0x21 */
goto block_061F;
block_0AF7:
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
if screen goto block_0B32;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SURCAMEW/slot_22_slot_22.txt b/USECODE/EUSECODE_extracted/pseudocode/SURCAMEW/slot_22_slot_22.txt
index 7063b6f..3451e27 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SURCAMEW/slot_22_slot_22.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SURCAMEW/slot_22_slot_22.txt
@@ -7,9 +7,7 @@ function surcamew_slot_22() /* entry=284 class_id=0x04DE slot=0x22 */
foundGun; /* [BP-03h] type=0x62 */
set_info(0x00F0, 0);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector n in selector_0x42(arg0=0x04C8, arg1=0x01CD, arg2=(50 * 32), origin=eventTrigger) */
while (!condition) {
if (!Actor.isNPC(n)) {
foundGun = 1;
@@ -17,16 +15,16 @@ function surcamew_slot_22() /* entry=284 class_id=0x04DE slot=0x22 */
/* loopnext */
}
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
if (!foundGun) {
while (getTargetNPCNumMaybe() == 1) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
}
else {
- spawn class_0A0C_slot_32(pid, 0x00C8, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x00C8, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SURCAMNS/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/SURCAMNS/slot_01_use.txt
index 2eaf49f..a869b57 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SURCAMNS/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SURCAMNS/slot_01_use.txt
@@ -6,7 +6,7 @@ function surcamns_use() /* entry=269 class_id=0x04C6 slot=0x01 */
return;
}
else {
- spawn class_04C6_slot_20(arg_06);
+ spawn SURCAMNS.slot_20(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SURCAMNS/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/SURCAMNS/slot_0A_equip.txt
index d2c41ce..2e711c8 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SURCAMNS/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SURCAMNS/slot_0A_equip.txt
@@ -7,12 +7,12 @@ function surcamns_equip() /* entry=269 class_id=0x04C6 slot=0x0A */
}
else if (arg_0A == 0) {
/* global_address global_id=0x3C */
- spawn class_04C6_slot_21(arg_06);
+ spawn SURCAMNS.slot_21(arg_06);
return;
}
else {
/* global_address global_id=0x3C */
- spawn class_04C6_slot_20(arg_06);
+ spawn SURCAMNS.slot_20(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SURCAMNS/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/SURCAMNS/slot_20_slot_20.txt
index 31d9008..564ea5a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SURCAMNS/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SURCAMNS/slot_20_slot_20.txt
@@ -15,39 +15,26 @@ function surcamns_slot_20() /* entry=269 class_id=0x04C6 slot=0x20 */
if (Item.getMapArray(arg_06) != 0) goto block_0356;
block_024D:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
-
- block_026B:
- if condition goto block_02E4;
-
- block_026E:
- if ((Item.getQLo(monit) != link) || (link != 0)) goto block_02E0;
-
- block_0289:
- if Item.getQHi(monit) goto block_02E0;
-
- block_0298:
- class_0A17_slot_21(Item.getQHi(monit), Item.getQLo(monit), arg_06);
- /* free_local_string bp_offset=0xFE target=[BP-02h] */
- textFile = retval;
- spawn class_0A17_slot_20(pid, textFile, arg_06);
- /* free_stack_string value_u8=0x0 target=[SP+00h] */
- suspend;
-
- block_02E0:
- /* loopnext */
- goto block_026B;
+ for monit in nearby_items(shape=0x037A, origin=arg_06) {
+ if ((Item.getQLo(monit) == link) || (link != 0)) {
+ if (!Item.getQHi(monit)) {
+ TEXTFILE.slot_21(Item.getQHi(monit), Item.getQLo(monit), arg_06);
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ textFile = retval;
+ spawn TEXTFILE.slot_20(pid, textFile, arg_06);
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ suspend;
+ }
+ }
+ /* loopnext */
+ }
block_02E4:
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- spawn class_04C6_slot_21(pid, arg_06);
+ spawn SURCAMNS.slot_21(pid, arg_06);
suspend;
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
goto block_045B;
@@ -56,11 +43,7 @@ function surcamns_slot_20() /* entry=269 class_id=0x04C6 slot=0x20 */
if Item.getQHi(arg_06) goto block_043C;
block_036C:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector valueBox in nearby_items(shape=PLACEHOLDER_KEY_CUBE, origin=arg_06) */
block_038A:
if condition goto block_03C2;
@@ -69,7 +52,7 @@ function surcamns_slot_20() /* entry=269 class_id=0x04C6 slot=0x20 */
if (Item.getQLo(valueBox) != link) goto block_03BE;
block_039F:
- class_0A19_slot_20(valueBox);
+ VALBOX.slot_20(valueBox);
passcode = retval;
code = (1 + code);
goto block_03C2;
@@ -82,23 +65,23 @@ function surcamns_slot_20() /* entry=269 class_id=0x04C6 slot=0x20 */
if code goto block_03F4;
block_03CC:
- class_0A17_slot_23(passcode, Item.getQHi(arg_06), Item.getQLo(arg_06), arg_06);
+ TEXTFILE.slot_23(passcode, Item.getQHi(arg_06), Item.getQLo(arg_06), arg_06);
/* free_local_string bp_offset=0xFE target=[BP-02h] */
textFile = retval;
goto block_0417;
block_03F4:
- class_0A17_slot_21(Item.getQHi(arg_06), Item.getQLo(arg_06), arg_06);
+ TEXTFILE.slot_21(Item.getQHi(arg_06), Item.getQLo(arg_06), arg_06);
/* free_local_string bp_offset=0xFE target=[BP-02h] */
textFile = retval;
block_0417:
- spawn class_0A17_slot_20(pid, textFile, arg_06);
+ spawn TEXTFILE.slot_20(pid, textFile, arg_06);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
block_043C:
- spawn class_04C6_slot_21(pid, arg_06);
+ spawn SURCAMNS.slot_21(pid, arg_06);
suspend;
block_045B:
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SURCAMNS/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/SURCAMNS/slot_21_slot_21.txt
index 1cc7c68..42a74e9 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SURCAMNS/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SURCAMNS/slot_21_slot_21.txt
@@ -22,13 +22,9 @@ function surcamns_slot_21() /* entry=269 class_id=0x04C6 slot=0x21 */
block_0508:
block_0534:
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector cameraEgg in nearby_items(shape=PLACEHOLDER_CUBE_RED_BLACK, origin=arg_06) */
block_0579:
if condition goto block_0B05;
@@ -41,15 +37,11 @@ function surcamns_slot_21() /* entry=269 class_id=0x04C6 slot=0x21 */
block_05AB:
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF3 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector npc in nearby_items(shape=MECH_1, origin=cameraEgg) */
block_0656:
if condition goto block_0695;
@@ -78,20 +70,20 @@ function surcamns_slot_21() /* entry=269 class_id=0x04C6 slot=0x21 */
y1 = Item.getY();
/* global_address global_id=0x3C */
z1 = Item.getZ();
- spawn class_0A11_slot_28(pid, therma);
+ spawn NPC.slot_28(pid, therma);
suspend;
block_06FD:
if (getTargetNPCNumMaybe() != 1) goto block_0737;
block_070E:
- spawn class_0A0C_slot_32(pid, 3, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 3, 0x00000000);
suspend;
goto block_06FD;
block_0737:
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_0B05;
@@ -110,13 +102,13 @@ function surcamns_slot_21() /* entry=269 class_id=0x04C6 slot=0x21 */
if (!Kernel.getCurrentKeyDown()) goto block_0800;
block_07D7:
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
goto block_07C8;
block_0800:
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_0B05;
@@ -127,7 +119,7 @@ function surcamns_slot_21() /* entry=269 class_id=0x04C6 slot=0x21 */
if (Item.getQLo(arg_06) != 0x00FD) goto block_08C6;
block_0870:
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
@@ -139,9 +131,9 @@ function surcamns_slot_21() /* entry=269 class_id=0x04C6 slot=0x21 */
block_08D9:
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
- spawn class_04C6_slot_22(cameraEgg, arg_06);
+ spawn SURCAMNS.slot_22(cameraEgg, arg_06);
goto block_0B05;
block_0953:
@@ -152,25 +144,25 @@ function surcamns_slot_21() /* entry=269 class_id=0x04C6 slot=0x21 */
y = Item.getY(cameraEgg);
z = Item.getZ(cameraEgg);
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
if (Item.getMapArray(cameraEgg) != 0) goto block_0A31;
block_0A0C:
- spawn class_0A18_slot_20(pid, 0, cameraEgg, arg_06);
+ spawn TRIGGER.slot_20(pid, 0, cameraEgg, arg_06);
suspend;
block_0A31:
- spawn class_0A0C_slot_32(pid, 120, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 120, 0x00000000);
suspend;
block_0A57:
if (!Kernel.getCurrentKeyDown()) goto block_0A8F;
block_0A66:
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
goto block_0A57;
@@ -179,7 +171,7 @@ function surcamns_slot_21() /* entry=269 class_id=0x04C6 slot=0x21 */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_0B05;
@@ -188,7 +180,7 @@ function surcamns_slot_21() /* entry=269 class_id=0x04C6 slot=0x21 */
goto block_0579;
block_0B05:
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
if screen goto block_0B40;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SURCAMNS/slot_22_slot_22.txt b/USECODE/EUSECODE_extracted/pseudocode/SURCAMNS/slot_22_slot_22.txt
index f5937a2..ad3db99 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SURCAMNS/slot_22_slot_22.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SURCAMNS/slot_22_slot_22.txt
@@ -7,9 +7,7 @@ function surcamns_slot_22() /* entry=269 class_id=0x04C6 slot=0x22 */
foundGun; /* [BP-03h] type=0x62 */
set_info(0x00F0, 0);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector n in selector_0x42(arg0=0x04C8, arg1=0x01CD, arg2=(50 * 32), origin=eventTrigger) */
while (!condition) {
if (!Actor.isNPC(n)) {
foundGun = 1;
@@ -17,16 +15,16 @@ function surcamns_slot_22() /* entry=269 class_id=0x04C6 slot=0x22 */
/* loopnext */
}
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
if (!foundGun) {
while (getTargetNPCNumMaybe() == 1) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
}
else {
- spawn class_0A0C_slot_32(pid, 0x00C8, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x00C8, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SWITCH/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/SWITCH/slot_20_slot_20.txt
index bff3005..b9b2b40 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SWITCH/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SWITCH/slot_20_slot_20.txt
@@ -8,7 +8,7 @@ function switch_slot_20() /* entry=392 class_id=0x0A16 slot=0x20 */
if (!Item.getFrame(arg_06)) {
counter = 0;
while (counter > 5) {
- spawn class_0A0C_slot_32(pid, 3, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 3, 0x00000000);
suspend;
counter = (1 + counter);
}
@@ -17,7 +17,7 @@ function switch_slot_20() /* entry=392 class_id=0x0A16 slot=0x20 */
else {
counter = 0;
while (counter > 5) {
- spawn class_0A0C_slot_32(pid, 3, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 3, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SWITCH/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/SWITCH/slot_21_slot_21.txt
index dd81cad..2afd3f3 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SWITCH/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SWITCH/slot_21_slot_21.txt
@@ -7,36 +7,36 @@ function switch_slot_21() /* entry=392 class_id=0x0A16 slot=0x21 */
set_info(0x0207, *(arg_06));
okay = MainActor.hasKeycard(Item.getQLo(arg_06));
if (Item.getFrame(arg_06) == 4) {
- spawn class_0A0C_slot_21(pid, 0x00AD, 0x00000000);
+ spawn FREE.slot_21(pid, 0x00AD, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
return;
}
else if (!World.getAlertActive()) {
- spawn class_0A0C_slot_21(pid, 0x0090, 0x00000000);
+ spawn FREE.slot_21(pid, 0x0090, 0x00000000);
suspend;
if (UCMachine.rndRange(100, 0) <= 50) {
}
return;
}
else if (!okay) {
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
return;
}
else {
while (!AudioProcess.isSFXPlayingForObject(0x0090, arg_06)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SWITCHEW/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/SWITCHEW/slot_01_use.txt
index d88029e..3e27d57 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SWITCHEW/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SWITCHEW/slot_01_use.txt
@@ -2,15 +2,15 @@ function switchew_use() /* entry=11 class_id=0x0061 slot=0x01 */
{
set_info(0x0207, *(arg_06));
process_exclude();
- spawn class_0A16_slot_20(arg_06);
+ spawn SWITCH.slot_20(arg_06);
if (Item.getMapArray(arg_06) == 0) {
if (Item.getFrame(arg_06) == 0) {
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
return;
}
else {
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/SWITCHNS/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/SWITCHNS/slot_01_use.txt
index b7d832b..8b63266 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/SWITCHNS/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/SWITCHNS/slot_01_use.txt
@@ -2,15 +2,15 @@ function switchns_use() /* entry=144 class_id=0x02A3 slot=0x01 */
{
set_info(0x0207, *(arg_06));
process_exclude();
- spawn class_0A16_slot_20(arg_06);
+ spawn SWITCH.slot_20(arg_06);
if (Item.getMapArray(arg_06) == 0) {
if (Item.getFrame(arg_06) == 0) {
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
return;
}
else {
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/S_CHAIR/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/S_CHAIR/slot_06_gotHit.txt
index b478e13..d522ef9 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/S_CHAIR/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/S_CHAIR/slot_06_gotHit.txt
@@ -17,11 +17,11 @@ function s_chair_gotHit() /* entry=114 class_id=0x01E2 slot=0x06 */
return;
}
else {
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
- class_0A0C_slot_20(10);
+ FREE.slot_20(10);
spin = (retval + 5);
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
direction = retval;
if (direction == 0) {
count = 1;
@@ -30,7 +30,7 @@ function s_chair_gotHit() /* entry=114 class_id=0x01E2 slot=0x06 */
if (fram == 8) {
fram = 0;
}
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
count = (1 + count);
}
@@ -43,7 +43,7 @@ function s_chair_gotHit() /* entry=114 class_id=0x01E2 slot=0x06 */
if (fram == -1) {
fram = 7;
}
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
count = (1 + count);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TARGETEW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/TARGETEW/slot_06_gotHit.txt
index 39ced81..01ca007 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TARGETEW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TARGETEW/slot_06_gotHit.txt
@@ -9,7 +9,7 @@ function targetew_gotHit() /* entry=116 class_id=0x01F3 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
item = ref;
- class_0A0C_slot_2B(vel, ref);
+ FREE.slot_2B(vel, ref);
if (!retval) {
if (Item.getFrame(arg_06) == 0) {
return;
@@ -18,7 +18,7 @@ function targetew_gotHit() /* entry=116 class_id=0x01F3 slot=0x06 */
return;
}
else if (Item.getFrame(arg_06) == 2) {
- spawn class_0A1E_slot_28(pid, 1, 1, arg_06);
+ spawn ITEM.slot_28(pid, 1, 1, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TARGETNS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/TARGETNS/slot_06_gotHit.txt
index 015e30a..82d708b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TARGETNS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TARGETNS/slot_06_gotHit.txt
@@ -9,7 +9,7 @@ function targetns_gotHit() /* entry=115 class_id=0x01F2 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
item = ref;
- class_0A0C_slot_2B(vel, ref);
+ FREE.slot_2B(vel, ref);
if (!retval) {
if (Item.getFrame(arg_06) == 0) {
return;
@@ -18,7 +18,7 @@ function targetns_gotHit() /* entry=115 class_id=0x01F2 slot=0x06 */
return;
}
else if (Item.getFrame(arg_06) == 2) {
- spawn class_0A1E_slot_28(pid, 1, 1, arg_06);
+ spawn ITEM.slot_28(pid, 1, 1, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TELEPAD/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/TELEPAD/slot_06_gotHit.txt
index 8abc328..9e991ce 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TELEPAD/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TELEPAD/slot_06_gotHit.txt
@@ -16,9 +16,9 @@ function telepad_gotHit() /* entry=111 class_id=0x01DB slot=0x06 */
pad = *(arg_06);
theQual = Item.getQuality(pad);
set_info(1, 0);
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
- class_0A0C_slot_2C(ke, ref);
+ FREE.slot_2C(ke, ref);
if (!retval) {
return;
}
@@ -44,67 +44,67 @@ function telepad_gotHit() /* entry=111 class_id=0x01DB slot=0x06 */
}
else if ((theQual > 0) && (theQual >= 30)) {
/* global_address global_id=0x3C */
- spawn class_01DB_slot_20(Actor.getMap(theQual), arg_06);
+ spawn TELEPAD.slot_20(Actor.getMap(theQual), arg_06);
return;
}
else if (theQual == 30) {
- spawn class_01DB_slot_20(30, 40, arg_06);
+ spawn TELEPAD.slot_20(30, 40, arg_06);
return;
}
else if (theQual == 31) {
- spawn class_01DB_slot_20(69, 69, arg_06);
+ spawn TELEPAD.slot_20(69, 69, arg_06);
return;
}
else if (theQual == 32) {
- spawn class_01DB_slot_20(16, 4, arg_06);
+ spawn TELEPAD.slot_20(16, 4, arg_06);
return;
}
else if (theQual == 33) {
- spawn class_01DB_slot_20(17, 3, arg_06);
+ spawn TELEPAD.slot_20(17, 3, arg_06);
return;
}
else if (theQual == 35) {
- spawn class_01DB_slot_20(30, 41, arg_06);
+ spawn TELEPAD.slot_20(30, 41, arg_06);
return;
}
else if (theQual == 100) {
- spawn class_01DB_slot_20(100, 5, arg_06);
+ spawn TELEPAD.slot_20(100, 5, arg_06);
return;
}
else if (theQual == 101) {
- spawn class_01DB_slot_20(101, 5, arg_06);
+ spawn TELEPAD.slot_20(101, 5, arg_06);
return;
}
else if (theQual == 0x0082) {
- spawn class_01DB_slot_20(0x0082, 25, arg_06);
+ spawn TELEPAD.slot_20(0x0082, 25, arg_06);
return;
}
else if (theQual == 0x0083) {
- spawn class_01DB_slot_20(0x0083, 25, arg_06);
+ spawn TELEPAD.slot_20(0x0083, 25, arg_06);
return;
}
else if (theQual == 0x0084) {
- spawn class_01DB_slot_20(0x0082, 25, arg_06);
+ spawn TELEPAD.slot_20(0x0082, 25, arg_06);
return;
}
else if (theQual == 0x0085) {
- spawn class_01DB_slot_20(0x0083, 25, arg_06);
+ spawn TELEPAD.slot_20(0x0083, 25, arg_06);
return;
}
else if (theQual == 0x00D7) {
- spawn class_01DB_slot_20(0x00D7, 5, arg_06);
+ spawn TELEPAD.slot_20(0x00D7, 5, arg_06);
return;
}
else if (theQual == 0x00DA) {
- spawn class_01DB_slot_20(0x00DA, 5, arg_06);
+ spawn TELEPAD.slot_20(0x00DA, 5, arg_06);
return;
}
else if (theQual == 0x00DB) {
- spawn class_01DB_slot_20(0x00DB, 5, arg_06);
+ spawn TELEPAD.slot_20(0x00DB, 5, arg_06);
return;
}
else if (theQual == 0x00DC) {
- spawn class_01DB_slot_20(0x00DC, 5, arg_06);
+ spawn TELEPAD.slot_20(0x00DC, 5, arg_06);
return;
}
else {
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TELEPAD/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/TELEPAD/slot_20_slot_20.txt
index 833ca92..8ff9d7b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TELEPAD/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TELEPAD/slot_20_slot_20.txt
@@ -21,18 +21,18 @@ function telepad_slot_20() /* entry=111 class_id=0x01DB slot=0x20 */
else {
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
- spawn class_0A11_slot_24(pid);
+ spawn NPC.slot_24(pid);
suspend;
if (mapNum == 69) {
/* global_address global_id=0x3C */
if (Actor.getMap() == mapNum) {
suspend;
if (mapNum == 40) {
- spawn class_0A0C_slot_23(pid, 0x00000000);
+ spawn FREE.slot_23(pid, 0x00000000);
suspend;
- spawn class_0A0C_slot_25(pid, 0x00000000);
+ spawn FREE.slot_25(pid, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
/* global_address global_id=0x3C */
if (Actor.getMap() == 1) {
@@ -56,12 +56,12 @@ function telepad_slot_20() /* entry=111 class_id=0x01DB slot=0x20 */
return;
}
if (mapNum == 41) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
return;
}
@@ -75,37 +75,28 @@ function telepad_slot_20() /* entry=111 class_id=0x01DB slot=0x20 */
}
}
/* global_address global_id=0x3C */
- spawn class_0A11_slot_23(pid);
+ spawn NPC.slot_23(pid);
suspend;
if (eggNum == 69) {
/* global_address global_id=0x3C */
y = Item.getY();
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF7 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector floor in nearby_items(shape=TELEPAD_RED, origin=global[0x003C]) */
while (!condition) {
newx = Item.getX(floor);
newy = Item.getY(floor);
newz = Item.getZ(floor);
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF7 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for floor in nearby_items(shape=0x04EE, origin=global[0x003C]) {
/* loopnext */
}
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = 0;
while (counter > 40) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TEST/slot_07_hatch.txt b/USECODE/EUSECODE_extracted/pseudocode/TEST/slot_07_hatch.txt
index 48d2892..c9b0561 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TEST/slot_07_hatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TEST/slot_07_hatch.txt
@@ -3,25 +3,25 @@ function test_hatch() /* entry=348 class_id=0x0908 slot=0x07 */
set_info(0x0210, *(arg_06));
process_exclude();
if (Egg.getEggId(arg_06) == 1) {
- spawn class_0A0C_slot_26(pid, "3f", 0x00000000);
+ spawn FREE.slot_26(pid, "3f", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
return;
}
else if (Egg.getEggId(arg_06) == 2) {
- spawn class_0A0C_slot_26(pid, "3h", 0x00000000);
+ spawn FREE.slot_26(pid, "3h", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
return;
}
else if (Egg.getEggId(arg_06) == 3) {
- spawn class_0A0C_slot_26(pid, "3e", 0x00000000);
+ spawn FREE.slot_26(pid, "3e", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
return;
}
else if (Egg.getEggId(arg_06) == 4) {
- spawn class_0A0C_slot_26(pid, "3i", 0x00000000);
+ spawn FREE.slot_26(pid, "3i", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TEXTFILE/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/TEXTFILE/slot_21_slot_21.txt
index 6540a66..7f6d633 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TEXTFILE/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TEXTFILE/slot_21_slot_21.txt
@@ -6,15 +6,15 @@ function textfile_slot_21() /* entry=393 class_id=0x0A17 slot=0x21 */
msgNum; /* [BP+0Ch] type=0x69 */
if (msgNum < 110) {
- class_0A1F_slot_20(0, msgNum, linkNum, arg_06);
+ TEXTFIL2.slot_20(0, msgNum, linkNum, arg_06);
return;
}
else if (msgNum < 60) {
- class_0A1D_slot_20(0, msgNum, linkNum, arg_06);
+ TEXTFIL1.slot_20(0, msgNum, linkNum, arg_06);
return;
}
else {
- class_0A17_slot_23(0, msgNum, linkNum, arg_06);
+ TEXTFILE.slot_23(0, msgNum, linkNum, arg_06);
return;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TEXTFILE/slot_22_slot_22.txt b/USECODE/EUSECODE_extracted/pseudocode/TEXTFILE/slot_22_slot_22.txt
index 27a4922..411302a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TEXTFILE/slot_22_slot_22.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TEXTFILE/slot_22_slot_22.txt
@@ -6,16 +6,16 @@ function textfile_slot_22() /* entry=393 class_id=0x0A17 slot=0x22 */
vel; /* [BP+0Ch] type=0x69 */
set_info(0x0001, *(arg_06));
- class_0A0C_slot_2B(vel, ref);
+ FREE.slot_2B(vel, ref);
if (!retval) {
if (Item.getMapArray(arg_06) == 0) {
if (Item.getFrame(arg_06) == 0) {
- spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
+ spawn ITEM.slot_28(pid, 0, 0, arg_06);
suspend;
return;
}
else if (Item.getFrame(arg_06) == 1) {
- spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
+ spawn ITEM.slot_28(pid, 0, 0, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TEXTFILE/slot_23_slot_23.txt b/USECODE/EUSECODE_extracted/pseudocode/TEXTFILE/slot_23_slot_23.txt
index 0e7f2da..0e563b4 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TEXTFILE/slot_23_slot_23.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TEXTFILE/slot_23_slot_23.txt
@@ -12,7 +12,7 @@ function textfile_slot_23() /* entry=393 class_id=0x0A17 slot=0x23 */
if (msgNum >= 110) goto block_02EB;
block_02D1:
- class_0A1F_slot_20(passcode, msgNum, linkNum, arg_06);
+ TEXTFIL2.slot_20(passcode, msgNum, linkNum, arg_06);
goto block_24DD;
block_02E8:
@@ -22,7 +22,7 @@ function textfile_slot_23() /* entry=393 class_id=0x0A17 slot=0x23 */
if (msgNum >= 60) goto block_0313;
block_02F9:
- class_0A1D_slot_20(passcode, msgNum, linkNum, arg_06);
+ TEXTFIL1.slot_20(passcode, msgNum, linkNum, arg_06);
goto block_24DD;
block_0310:
diff --git a/USECODE/EUSECODE_extracted/pseudocode/THERMATR/slot_0E_calledFromAnim.txt b/USECODE/EUSECODE_extracted/pseudocode/THERMATR/slot_0E_calledFromAnim.txt
index be2575b..72ea4c8 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/THERMATR/slot_0E_calledFromAnim.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/THERMATR/slot_0E_calledFromAnim.txt
@@ -8,6 +8,6 @@ function thermatr_calledFromAnim() /* entry=181 class_id=0x0338 slot=0x0E */
process_exclude();
n = *(arg_06);
set_info(1, 0);
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/THRMBCKE/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/THRMBCKE/slot_0A_equip.txt
index 375176d..c6058ff 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/THRMBCKE/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/THRMBCKE/slot_0A_equip.txt
@@ -12,21 +12,18 @@ function thrmbcke_equip() /* entry=325 class_id=0x0567 slot=0x0A */
process_exclude();
if (!var) {
while (!AudioProcess.isSFXPlayingForObject(4, arg_06)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
while (!AudioProcess.isSFXPlayingForObject(4, arg_06)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
while (!AudioProcess.isSFXPlayingForObject(4, arg_06)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for ewall in selector_0x42(arg0=0x0564, arg1=0x0565, arg2=(6 * 32), origin=arg_06) {
/* loopnext */
}
/* loopscr value_u8=0x24 */
@@ -41,9 +38,9 @@ function thrmbcke_equip() /* entry=325 class_id=0x0567 slot=0x0A */
else {
a = 5;
}
- spawn class_0A0C_slot_32(pid, 40, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 40, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/THRMBCKN/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/THRMBCKN/slot_0A_equip.txt
index 8a34e75..701c8a7 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/THRMBCKN/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/THRMBCKN/slot_0A_equip.txt
@@ -12,21 +12,18 @@ function thrmbckn_equip() /* entry=324 class_id=0x0566 slot=0x0A */
process_exclude();
if (!var) {
while (!AudioProcess.isSFXPlayingForObject(4, arg_06)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
while (!AudioProcess.isSFXPlayingForObject(4, arg_06)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
while (!AudioProcess.isSFXPlayingForObject(4, arg_06)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for ewall in selector_0x42(arg0=0x0564, arg1=0x0565, arg2=(6 * 32), origin=arg_06) {
/* loopnext */
}
/* loopscr value_u8=0x24 */
@@ -41,9 +38,9 @@ function thrmbckn_equip() /* entry=324 class_id=0x0566 slot=0x0A */
else {
a = 5;
}
- spawn class_0A0C_slot_32(pid, 40, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 40, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TIMER/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/TIMER/slot_0A_equip.txt
index 149bd6c..afc33b0 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TIMER/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TIMER/slot_0A_equip.txt
@@ -4,7 +4,7 @@ function timer_equip() /* entry=271 class_id=0x04C9 slot=0x0A */
process_exclude();
if (arg_0A == 1) {
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
- spawn class_04C9_slot_20(arg_06);
+ spawn TIMER.slot_20(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TIMER/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/TIMER/slot_0F_enterFastArea.txt
index 771cfce..e67a6c7 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TIMER/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TIMER/slot_0F_enterFastArea.txt
@@ -4,7 +4,7 @@ function timer_enterFastArea() /* entry=271 class_id=0x04C9 slot=0x0F */
process_exclude();
if (!(Item.getQHi(arg_06) & 2)) {
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
- spawn class_04C9_slot_20(arg_06);
+ spawn TIMER.slot_20(arg_06);
}
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TIMER/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/TIMER/slot_20_slot_20.txt
index a5c736f..d131707 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TIMER/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TIMER/slot_20_slot_20.txt
@@ -55,32 +55,32 @@ function timer_slot_20() /* entry=271 class_id=0x04C9 slot=0x20 */
time = (time - phase2);
while (!(1)) {
if (!phase2) {
- spawn class_0A0C_slot_32(pid, phase2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, phase2, 0x00000000);
suspend;
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
return;
}
if ((Item.inFastArea(arg_06) == 1) || ((cmd & 8) != 0)) {
- spawn class_0A18_slot_20(pid, (0x0080 + 0), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (0x0080 + 0), *(arg_06), arg_06);
suspend;
}
}
- spawn class_0A0C_slot_32(pid, time, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
suspend;
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
if (!(cmd & 16)) {
- spawn class_0A18_slot_20(pid, (0x0080 + 1), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (0x0080 + 1), *(arg_06), arg_06);
suspend;
}
return;
}
if ((Item.inFastArea(arg_06) == 1) || ((cmd & 8) != 0)) {
if (!phase2) {
- spawn class_0A18_slot_20(pid, (0x0080 + 1), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (0x0080 + 1), *(arg_06), arg_06);
suspend;
}
else {
- spawn class_0A18_slot_20(pid, (0x0080 + 0), *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, (0x0080 + 0), *(arg_06), arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TRANSFOR/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/TRANSFOR/slot_06_gotHit.txt
index 77333e9..9a7d604 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TRANSFOR/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TRANSFOR/slot_06_gotHit.txt
@@ -15,28 +15,26 @@ function transfor_gotHit() /* entry=94 class_id=0x01BF slot=0x06 */
return;
}
else {
- class_0A0C_slot_2B(vel, ref);
+ FREE.slot_2B(vel, ref);
damagePoints = retval;
- class_0A0C_slot_2B(vel, ref);
+ FREE.slot_2B(vel, ref);
if (retval) {
return;
}
else if ((Item.getNPCNum(arg_06) + damagePoints) >= 100) {
- class_0A0C_slot_20(10);
+ FREE.slot_20(10);
if (retval <= 5) {
}
return;
}
else {
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in selector_0x42(arg0=0x01C9, arg1=0x01C2, arg2=(5 * 32), origin=arg_06) */
while (!condition) {
/* loopnext */
}
if (Item.getMapArray(arg_06) == 0) {
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TRIGEGG/slot_07_hatch.txt b/USECODE/EUSECODE_extracted/pseudocode/TRIGEGG/slot_07_hatch.txt
index ee13e57..2fa401c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TRIGEGG/slot_07_hatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TRIGEGG/slot_07_hatch.txt
@@ -11,7 +11,7 @@ function trigegg_hatch() /* entry=340 class_id=0x0900 slot=0x07 */
id = Egg.getEggId(arg_06);
item = *(arg_06);
qlo = Item.getQLo(item);
- spawn class_0A18_slot_20(pid, (0 + 0x0080), item, arg_06);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), item, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TRIGEGG/slot_15_unhatch.txt b/USECODE/EUSECODE_extracted/pseudocode/TRIGEGG/slot_15_unhatch.txt
index c4e1c13..42aadb3 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TRIGEGG/slot_15_unhatch.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TRIGEGG/slot_15_unhatch.txt
@@ -11,7 +11,7 @@ function trigegg_unhatch() /* entry=340 class_id=0x0900 slot=0x15 */
id = Egg.getEggId(arg_06);
item = *(arg_06);
qlo = Item.getQLo(item);
- spawn class_0A18_slot_20(pid, (1 + 0x0080), item, arg_06);
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), item, arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_20_slot_20.txt
index 71d135e..4271add 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_20_slot_20.txt
@@ -21,7 +21,7 @@ function trigger_slot_20() /* entry=394 class_id=0x0A18 slot=0x20 */
baseLink = 0;
newLink = 0;
searchtype = 0;
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
aitem = ref;
if (phase != 0x00FE) goto block_0194;
@@ -78,7 +78,7 @@ function trigger_slot_20() /* entry=394 class_id=0x0A18 slot=0x20 */
if (searchtype != 0) goto block_029D;
block_0270:
- spawn class_0A18_slot_2A(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
+ spawn TRIGGER.slot_2A(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
suspend;
block_029D:
@@ -88,7 +88,7 @@ function trigger_slot_20() /* entry=394 class_id=0x0A18 slot=0x20 */
if (searchtype != 0x07FE) goto block_02DC;
block_02AC:
- spawn class_0A18_slot_2B(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
+ spawn TRIGGER.slot_2B(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
suspend;
goto block_0314;
@@ -96,7 +96,7 @@ function trigger_slot_20() /* entry=394 class_id=0x0A18 slot=0x20 */
if (searchtype != 0) goto block_0314;
block_02E7:
- spawn class_0A18_slot_29(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
+ spawn TRIGGER.slot_29(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
suspend;
block_0314:
@@ -109,7 +109,7 @@ function trigger_slot_20() /* entry=394 class_id=0x0A18 slot=0x20 */
if (searchtype != 0) goto block_035F;
block_032E:
- spawn class_0A18_slot_25(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
+ spawn TRIGGER.slot_25(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
suspend;
/* dword_to_word */
baseLink = process_result;
@@ -121,7 +121,7 @@ function trigger_slot_20() /* entry=394 class_id=0x0A18 slot=0x20 */
if (searchtype != 0x07FF) goto block_03A2;
block_036E:
- spawn class_0A18_slot_24(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
+ spawn TRIGGER.slot_24(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
suspend;
/* dword_to_word */
baseLink = process_result;
@@ -131,7 +131,7 @@ function trigger_slot_20() /* entry=394 class_id=0x0A18 slot=0x20 */
if (searchtype != 0) goto block_03DE;
block_03AD:
- spawn class_0A18_slot_23(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
+ spawn TRIGGER.slot_23(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
suspend;
/* dword_to_word */
baseLink = process_result;
@@ -146,7 +146,7 @@ function trigger_slot_20() /* entry=394 class_id=0x0A18 slot=0x20 */
if (searchtype != 0) goto block_0429;
block_03F8:
- spawn class_0A18_slot_28(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
+ spawn TRIGGER.slot_28(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
suspend;
/* dword_to_word */
baseLink = process_result;
@@ -158,7 +158,7 @@ function trigger_slot_20() /* entry=394 class_id=0x0A18 slot=0x20 */
if (searchtype != 0x07FF) goto block_046C;
block_0438:
- spawn class_0A18_slot_27(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
+ spawn TRIGGER.slot_27(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
suspend;
/* dword_to_word */
baseLink = process_result;
@@ -168,7 +168,7 @@ function trigger_slot_20() /* entry=394 class_id=0x0A18 slot=0x20 */
if (searchtype != 0) goto block_04A8;
block_0477:
- spawn class_0A18_slot_26(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
+ spawn TRIGGER.slot_26(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
suspend;
/* dword_to_word */
baseLink = process_result;
@@ -185,48 +185,30 @@ function trigger_slot_20() /* entry=394 class_id=0x0A18 slot=0x20 */
if 1 goto block_05E7;
block_04D2:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF4 string_bytes=0x6 loop_type=0x2 */
-
- block_04EE:
- if condition goto block_057E;
-
- block_04F1:
- if (Item.getQLo(item) != baseLink) goto block_057A;
-
- block_0503:
- mapNum = Item.getMapArray(item);
- cmdphase = 0;
- if (mapNum & 8) goto block_052A;
-
- block_0523:
- cmdphase = 1;
-
- block_052A:
- if (newphase != cmdphase) goto block_057A;
-
- block_0535:
- if (mapNum & 16) goto block_056A;
-
- block_0540:
- spawn class_0A18_slot_21(pid, item, arg_06);
- suspend;
- /* dword_to_word */
- newLink = process_result;
- goto block_057A;
-
- block_056A:
- /* create_list element_size=0x2 count=0x1 */
- /* append_list */
- /* free_local_list bp_offset=0xFE target=[BP-02h] */
- lowPriorityTriggers = item;
-
- block_057A:
- /* loopnext */
- goto block_04EE;
+ for item in nearby_items(shape=0x04B1, origin=aitem) {
+ if (Item.getQLo(item) == baseLink) {
+ mapNum = Item.getMapArray(item);
+ cmdphase = 0;
+ if (!(mapNum & 8)) {
+ cmdphase = 1;
+ }
+ if (newphase == cmdphase) {
+ if (!(mapNum & 16)) {
+ spawn TRIGGER.slot_21(pid, item, arg_06);
+ suspend;
+ /* dword_to_word */
+ newLink = process_result;
+ }
+ else {
+ /* create_list element_size=0x2 count=0x1 */
+ /* append_list */
+ /* free_local_list bp_offset=0xFE target=[BP-02h] */
+ lowPriorityTriggers = item;
+ }
+ }
+ }
+ /* loopnext */
+ }
block_057E:
@@ -234,7 +216,7 @@ function trigger_slot_20() /* entry=394 class_id=0x0A18 slot=0x20 */
foreach_list item -> block_05CC;
block_058E:
- spawn class_0A18_slot_21(pid, item, arg_06);
+ spawn TRIGGER.slot_21(pid, item, arg_06);
suspend;
/* dword_to_word */
newLink = process_result;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_21_slot_21.txt b/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_21_slot_21.txt
index 56d6767..d890f76 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_21_slot_21.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_21_slot_21.txt
@@ -27,35 +27,35 @@ function trigger_slot_21() /* entry=394 class_id=0x0A18 slot=0x21 */
if (!Item.isCrusTypeNPC(searchtype)) {
if (baseLink == 0x00FF) {
if (searchtype == 0) {
- spawn class_0A18_slot_2A(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
+ spawn TRIGGER.slot_2A(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
suspend;
}
}
else if (searchtype == 0x07FE) {
- spawn class_0A18_slot_2B(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
+ spawn TRIGGER.slot_2B(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
suspend;
}
else if (searchtype == 0) {
- spawn class_0A18_slot_29(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
+ spawn TRIGGER.slot_29(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
suspend;
}
}
else if (baseLink == 0x00FF) {
if (searchtype == 0) {
- spawn class_0A18_slot_25(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
+ spawn TRIGGER.slot_25(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
suspend;
/* dword_to_word */
newLink = process_result;
}
}
else if (searchtype == 0x07FF) {
- spawn class_0A18_slot_24(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
+ spawn TRIGGER.slot_24(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
suspend;
/* dword_to_word */
newLink = process_result;
}
else if (searchtype == 0) {
- spawn class_0A18_slot_23(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
+ spawn TRIGGER.slot_23(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
suspend;
/* dword_to_word */
newLink = process_result;
@@ -63,20 +63,20 @@ function trigger_slot_21() /* entry=394 class_id=0x0A18 slot=0x21 */
}
else if (baseLink == 0x00FF) {
if (searchtype == 0) {
- spawn class_0A18_slot_28(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
+ spawn TRIGGER.slot_28(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
suspend;
/* dword_to_word */
newLink = process_result;
}
}
else if (searchtype == 0x07FF) {
- spawn class_0A18_slot_27(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
+ spawn TRIGGER.slot_27(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
suspend;
/* dword_to_word */
newLink = process_result;
}
else if (searchtype == 0) {
- spawn class_0A18_slot_26(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
+ spawn TRIGGER.slot_26(pid, searchtype, baseLink, mapNum, npcNum, qHi, ref, arg_06);
suspend;
/* dword_to_word */
newLink = process_result;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_22_slot_22.txt b/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_22_slot_22.txt
index 71b866b..bce1131 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_22_slot_22.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_22_slot_22.txt
@@ -10,13 +10,13 @@ function trigger_slot_22() /* entry=394 class_id=0x0A18 slot=0x22 */
door = ref;
while (!(1)) {
if ((Item.getStatus(door) & 0x1000) == 0) {
- spawn class_0A06_slot_21(pid, num, door);
+ spawn DOOR.slot_21(pid, num, door);
suspend;
/* bit_not */
return;
}
else {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_23_slot_23.txt b/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_23_slot_23.txt
index cb01a72..95c66be 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_23_slot_23.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_23_slot_23.txt
@@ -24,32 +24,17 @@ function trigger_slot_23() /* entry=394 class_id=0x0A18 slot=0x23 */
aitem = ref;
cmd = (mapNum & 3);
if (cmd == 0) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=searchtype, origin=aitem) {
/* loopnext */
}
}
else if (cmd == 1) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=searchtype, origin=aitem) {
/* loopnext */
}
}
else if (cmd == 2) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=searchtype, origin=aitem) {
/* loopnext */
}
}
@@ -57,29 +42,21 @@ function trigger_slot_23() /* entry=394 class_id=0x0A18 slot=0x23 */
scmd = (qHi & 7);
if (scmd == 0) {
d = (qHi / 8);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x0476, origin=aitem) */
while (!condition) {
if (Item.getQLo(item) == baseLink) {
a = Item.getNPCNum(item);
c = (a & 15);
b = Item.getMapArray(item);
b = (((a & 0x00E0) * 8) + b);
- class_0A0C_slot_30(d, c, b, item);
+ FREE.slot_30(d, c, b, item);
}
/* loopnext */
}
}
else if (scmd == 1) {
d = (qHi / 8);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=searchtype, origin=aitem) */
while (!condition) {
if (Item.getQLo(item) == baseLink) {
if (ref == item) {
@@ -103,26 +80,17 @@ function trigger_slot_23() /* entry=394 class_id=0x0A18 slot=0x23 */
}
else if (scmd == 2) {
a = (qHi / 8);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=searchtype, origin=aitem) */
while (!condition) {
/* loopnext */
}
}
else if (scmd == 3) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=searchtype, origin=aitem) {
if (Item.getQLo(item) == baseLink) {
if (ref == item) {
a = (qHi / 8);
- spawn class_0A18_slot_22(a, item, arg_06);
+ spawn TRIGGER.slot_22(a, item, arg_06);
}
}
/* loopnext */
@@ -138,11 +106,7 @@ function trigger_slot_23() /* entry=394 class_id=0x0A18 slot=0x23 */
}
else if (scmd == 6) {
d = (qHi / 8);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x0476, origin=aitem) */
while (!condition) {
if (Item.getQLo(item) == baseLink) {
a = Item.getNPCNum(item);
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_24_slot_24.txt b/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_24_slot_24.txt
index 2f7ea8e..a1bbf78 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_24_slot_24.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_24_slot_24.txt
@@ -25,32 +25,17 @@ function trigger_slot_24() /* entry=394 class_id=0x0A18 slot=0x24 */
aitem = ref;
cmd = (mapNum & 3);
if (cmd == 0) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(family=1, origin=aitem) {
/* loopnext */
}
}
else if (cmd == 1) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(family=1, origin=aitem) {
/* loopnext */
}
}
else if (cmd == 2) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(family=1, origin=aitem) {
/* loopnext */
}
}
@@ -58,29 +43,21 @@ function trigger_slot_24() /* entry=394 class_id=0x0A18 slot=0x24 */
scmd = (qHi & 7);
if (scmd == 0) {
d = (qHi / 8);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x0476, origin=aitem) */
while (!condition) {
if (Item.getQLo(item) == baseLink) {
a = Item.getNPCNum(item);
c = (a & 15);
b = Item.getMapArray(item);
b = (((a & 0x00E0) * 8) + b);
- class_0A0C_slot_30(d, c, b, item);
+ FREE.slot_30(d, c, b, item);
}
/* loopnext */
}
}
else if (scmd == 1) {
d = (qHi / 8);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(family=1, origin=aitem) */
while (!condition) {
if (Item.getQLo(item) == baseLink) {
if (ref == item) {
@@ -104,11 +81,7 @@ function trigger_slot_24() /* entry=394 class_id=0x0A18 slot=0x24 */
}
else if (scmd == 2) {
a = (qHi / 8);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(family=1, origin=aitem) */
while (!condition) {
/* loopnext */
}
@@ -120,16 +93,11 @@ function trigger_slot_24() /* entry=394 class_id=0x0A18 slot=0x24 */
else {
distance = global[0x0040];
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(family=1, origin=aitem) {
if (Item.getQLo(item) == baseLink) {
if (ref == item) {
a = (qHi / 8);
- spawn class_0A18_slot_22(a, item, arg_06);
+ spawn TRIGGER.slot_22(a, item, arg_06);
}
}
/* loopnext */
@@ -145,11 +113,7 @@ function trigger_slot_24() /* entry=394 class_id=0x0A18 slot=0x24 */
}
else if (scmd == 6) {
d = (qHi / 8);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x0476, origin=aitem) */
while (!condition) {
if (Item.getQLo(item) == baseLink) {
a = Item.getNPCNum(item);
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_25_slot_25.txt b/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_25_slot_25.txt
index 93c4363..8d80112 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_25_slot_25.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_25_slot_25.txt
@@ -24,32 +24,17 @@ function trigger_slot_25() /* entry=394 class_id=0x0A18 slot=0x25 */
aitem = ref;
cmd = (mapNum & 3);
if (cmd == 0) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=searchtype, origin=aitem) {
/* loopnext */
}
}
else if (cmd == 1) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=searchtype, origin=aitem) {
/* loopnext */
}
}
else if (cmd == 2) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=searchtype, origin=aitem) {
/* loopnext */
}
}
@@ -57,27 +42,19 @@ function trigger_slot_25() /* entry=394 class_id=0x0A18 slot=0x25 */
scmd = (qHi & 7);
if (scmd == 0) {
d = (qHi / 8);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x0476, origin=aitem) */
while (!condition) {
a = Item.getNPCNum(item);
c = (a & 15);
b = Item.getMapArray(item);
b = (((a & 0x00E0) * 8) + b);
- class_0A0C_slot_30(d, c, b, item);
+ FREE.slot_30(d, c, b, item);
/* loopnext */
}
}
else if (scmd == 1) {
d = (qHi / 8);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=searchtype, origin=aitem) */
while (!condition) {
if (ref == item) {
if (d == 31) {
@@ -99,25 +76,16 @@ function trigger_slot_25() /* entry=394 class_id=0x0A18 slot=0x25 */
}
else if (scmd == 2) {
a = (qHi / 8);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=searchtype, origin=aitem) */
while (!condition) {
/* loopnext */
}
}
else if (scmd == 3) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=searchtype, origin=aitem) {
if (ref == item) {
a = (qHi / 8);
- spawn class_0A18_slot_22(a, item, arg_06);
+ spawn TRIGGER.slot_22(a, item, arg_06);
}
/* loopnext */
}
@@ -132,11 +100,7 @@ function trigger_slot_25() /* entry=394 class_id=0x0A18 slot=0x25 */
}
else if (scmd == 6) {
d = (qHi / 8);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x0476, origin=aitem) */
while (!condition) {
a = Item.getNPCNum(item);
c = (a & 15);
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_26_slot_26.txt b/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_26_slot_26.txt
index b411a99..6221468 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_26_slot_26.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_26_slot_26.txt
@@ -24,32 +24,17 @@ function trigger_slot_26() /* entry=394 class_id=0x0A18 slot=0x26 */
aitem = ref;
cmd = (mapNum & 3);
if (cmd == 0) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=searchtype, origin=aitem) {
/* loopnext */
}
}
else if (cmd == 1) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=searchtype, origin=aitem) {
/* loopnext */
}
}
else if (cmd == 2) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=searchtype, origin=aitem) {
/* loopnext */
}
}
@@ -57,29 +42,21 @@ function trigger_slot_26() /* entry=394 class_id=0x0A18 slot=0x26 */
scmd = (qHi & 7);
if (scmd == 0) {
d = (qHi / 8);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x0476, origin=aitem) */
while (!condition) {
if (Item.getQLo(item) == baseLink) {
a = Item.getNPCNum(item);
c = (a & 15);
b = Item.getMapArray(item);
b = (((a & 0x00E0) * 8) + b);
- class_0A0C_slot_30(d, c, b, item);
+ FREE.slot_30(d, c, b, item);
}
/* loopnext */
}
}
else if (scmd == 1) {
d = (qHi / 8);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=searchtype, origin=aitem) */
while (!condition) {
if (Item.getQLo(item) == baseLink) {
if (d == 31) {
@@ -101,25 +78,16 @@ function trigger_slot_26() /* entry=394 class_id=0x0A18 slot=0x26 */
}
else if (scmd == 2) {
a = (qHi / 8);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=searchtype, origin=aitem) */
while (!condition) {
/* loopnext */
}
}
else if (scmd == 3) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=searchtype, origin=aitem) {
if (Item.getQLo(item) == baseLink) {
a = (qHi / 8);
- spawn class_0A18_slot_22(a, item, arg_06);
+ spawn TRIGGER.slot_22(a, item, arg_06);
}
/* loopnext */
}
@@ -134,11 +102,7 @@ function trigger_slot_26() /* entry=394 class_id=0x0A18 slot=0x26 */
}
else if (scmd == 6) {
d = (qHi / 8);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x0476, origin=aitem) */
while (!condition) {
if (Item.getQLo(item) == baseLink) {
a = Item.getNPCNum(item);
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_27_slot_27.txt b/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_27_slot_27.txt
index d8f6686..64696e8 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_27_slot_27.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_27_slot_27.txt
@@ -25,32 +25,17 @@ function trigger_slot_27() /* entry=394 class_id=0x0A18 slot=0x27 */
aitem = ref;
cmd = (mapNum & 3);
if (cmd == 0) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(family=1, origin=aitem) {
/* loopnext */
}
}
else if (cmd == 1) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(family=1, origin=aitem) {
/* loopnext */
}
}
else if (cmd == 2) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(family=1, origin=aitem) {
/* loopnext */
}
}
@@ -58,29 +43,21 @@ function trigger_slot_27() /* entry=394 class_id=0x0A18 slot=0x27 */
scmd = (qHi & 7);
if (scmd == 0) {
d = (qHi / 8);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x0476, origin=aitem) */
while (!condition) {
if (Item.getQLo(item) == baseLink) {
a = Item.getNPCNum(item);
c = (a & 15);
b = Item.getMapArray(item);
b = (((a & 0x00E0) * 8) + b);
- class_0A0C_slot_30(d, c, b, item);
+ FREE.slot_30(d, c, b, item);
}
/* loopnext */
}
}
else if (scmd == 1) {
d = (qHi / 8);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(family=1, origin=aitem) */
while (!condition) {
if (Item.getQLo(item) == baseLink) {
if (d == 31) {
@@ -102,11 +79,7 @@ function trigger_slot_27() /* entry=394 class_id=0x0A18 slot=0x27 */
}
else if (scmd == 2) {
a = (qHi / 8);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(family=1, origin=aitem) */
while (!condition) {
/* loopnext */
}
@@ -118,15 +91,10 @@ function trigger_slot_27() /* entry=394 class_id=0x0A18 slot=0x27 */
else {
distance = global[0x0040];
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(family=1, origin=aitem) {
if (Item.getQLo(item) == baseLink) {
a = (qHi / 8);
- spawn class_0A18_slot_22(a, item, arg_06);
+ spawn TRIGGER.slot_22(a, item, arg_06);
}
/* loopnext */
}
@@ -141,11 +109,7 @@ function trigger_slot_27() /* entry=394 class_id=0x0A18 slot=0x27 */
}
else if (scmd == 6) {
d = (qHi / 8);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x0476, origin=aitem) */
while (!condition) {
if (Item.getQLo(item) == baseLink) {
a = Item.getNPCNum(item);
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_28_slot_28.txt b/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_28_slot_28.txt
index 791d996..04e4c0f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_28_slot_28.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_28_slot_28.txt
@@ -24,32 +24,17 @@ function trigger_slot_28() /* entry=394 class_id=0x0A18 slot=0x28 */
aitem = ref;
cmd = (mapNum & 3);
if (cmd == 0) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=searchtype, origin=aitem) {
/* loopnext */
}
}
else if (cmd == 1) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=searchtype, origin=aitem) {
/* loopnext */
}
}
else if (cmd == 2) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=searchtype, origin=aitem) {
/* loopnext */
}
}
@@ -57,27 +42,19 @@ function trigger_slot_28() /* entry=394 class_id=0x0A18 slot=0x28 */
scmd = (qHi & 7);
if (scmd == 0) {
d = (qHi / 8);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x0476, origin=aitem) */
while (!condition) {
a = Item.getNPCNum(item);
c = (a & 15);
b = Item.getMapArray(item);
b = (((a & 0x00E0) * 8) + b);
- class_0A0C_slot_30(d, c, b, item);
+ FREE.slot_30(d, c, b, item);
/* loopnext */
}
}
else if (scmd == 1) {
d = (qHi / 8);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=searchtype, origin=aitem) */
while (!condition) {
if (d == 31) {
suspend;
@@ -97,24 +74,15 @@ function trigger_slot_28() /* entry=394 class_id=0x0A18 slot=0x28 */
}
else if (scmd == 2) {
a = (qHi / 8);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=searchtype, origin=aitem) */
while (!condition) {
/* loopnext */
}
}
else if (scmd == 3) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=searchtype, origin=aitem) {
a = (qHi / 8);
- spawn class_0A18_slot_22(a, item, arg_06);
+ spawn TRIGGER.slot_22(a, item, arg_06);
/* loopnext */
}
}
@@ -128,11 +96,7 @@ function trigger_slot_28() /* entry=394 class_id=0x0A18 slot=0x28 */
}
else if (scmd == 6) {
d = (qHi / 8);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(shape=0x0476, origin=aitem) */
while (!condition) {
a = Item.getNPCNum(item);
c = (a & 15);
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_29_slot_29.txt b/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_29_slot_29.txt
index a17ae3d..9437595 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_29_slot_29.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_29_slot_29.txt
@@ -28,26 +28,21 @@ function trigger_slot_29() /* entry=394 class_id=0x0A18 slot=0x29 */
aitem = ref;
cmd = (mapNum & 3);
if (cmd == 0) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(shape=searchtype, origin=aitem) {
if (Actor.GetNPCDataField0x63_00B(npc) == baseLink) {
a = (qHi / 16);
b = (qHi & 15);
if (a == 0) {
e = Actor.GetNPCDataField0x4_0DD(npc);
suspend;
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
f = Actor.GetNPCDataField0x4_0DD(npc);
}
else {
g = Actor.GetNPCDataField0x4_0DD(npc);
suspend;
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
if (Actor.isDead(npc) == 1) {
return;
@@ -57,7 +52,7 @@ function trigger_slot_29() /* entry=394 class_id=0x0A18 slot=0x29 */
if (Actor.isDead(npc) == 0) {
suspend;
}
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
counter = (1 + counter);
}
@@ -70,23 +65,13 @@ function trigger_slot_29() /* entry=394 class_id=0x0A18 slot=0x29 */
return;
}
else if (cmd == 1) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(shape=searchtype, origin=aitem) {
/* loopnext */
}
return;
}
else if (cmd == 2) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(shape=searchtype, origin=aitem) {
/* loopnext */
}
return;
@@ -95,12 +80,7 @@ function trigger_slot_29() /* entry=394 class_id=0x0A18 slot=0x29 */
scmd = (qHi & 7);
a = (qHi / 8);
if (scmd == 0) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(shape=searchtype, origin=aitem) {
if (Actor.GetNPCDataField0x63_00B(npc) == baseLink) {
if (a == 1) {
}
@@ -113,54 +93,34 @@ function trigger_slot_29() /* entry=394 class_id=0x0A18 slot=0x29 */
}
}
else if (scmd == 1) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(shape=searchtype, origin=aitem) {
if (Actor.GetNPCDataField0x63_00B(npc) == baseLink) {
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
}
/* loopnext */
}
}
else if (scmd == 2) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(shape=searchtype, origin=aitem) {
if (Actor.GetNPCDataField0x63_00B(npc) == baseLink) {
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
}
/* loopnext */
}
}
else if (scmd == 3) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(shape=searchtype, origin=aitem) {
if (Actor.GetNPCDataField0x63_00B(npc) == baseLink) {
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
}
/* loopnext */
}
}
else if (scmd == 4) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(shape=searchtype, origin=aitem) {
if (Actor.GetNPCDataField0x63_00B(npc) == baseLink) {
k = a;
}
@@ -168,14 +128,9 @@ function trigger_slot_29() /* entry=394 class_id=0x0A18 slot=0x29 */
}
}
else if (scmd == 5) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(shape=searchtype, origin=aitem) {
if (Actor.GetNPCDataField0x63_00B(npc) == baseLink) {
- spawn class_0A11_equip(a, npc);
+ spawn NPC.equip(a, npc);
}
/* loopnext */
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_2A_slot_2A.txt b/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_2A_slot_2A.txt
index bec3144..63ab6bd 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_2A_slot_2A.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_2A_slot_2A.txt
@@ -23,22 +23,17 @@ function trigger_slot_2A() /* entry=394 class_id=0x0A18 slot=0x2A */
aitem = ref;
cmd = (mapNum & 3);
if (cmd == 0) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(shape=searchtype, origin=aitem) {
a = (qHi / 16);
b = (qHi & 15);
if (a == 0) {
suspend;
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
else {
suspend;
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
if (Actor.isDead(npc) == 1) {
return;
@@ -48,7 +43,7 @@ function trigger_slot_2A() /* entry=394 class_id=0x0A18 slot=0x2A */
if (Actor.isDead(npc) == 0) {
suspend;
}
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
counter = (1 + counter);
}
@@ -58,23 +53,13 @@ function trigger_slot_2A() /* entry=394 class_id=0x0A18 slot=0x2A */
return;
}
else if (cmd == 1) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(shape=searchtype, origin=aitem) {
/* loopnext */
}
return;
}
else if (cmd == 2) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(shape=searchtype, origin=aitem) {
/* loopnext */
}
return;
@@ -83,12 +68,7 @@ function trigger_slot_2A() /* entry=394 class_id=0x0A18 slot=0x2A */
scmd = (qHi & 7);
a = (qHi / 8);
if (scmd == 0) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(shape=searchtype, origin=aitem) {
if (a == 1) {
}
else if (a == 2) {
@@ -99,60 +79,35 @@ function trigger_slot_2A() /* entry=394 class_id=0x0A18 slot=0x2A */
}
}
else if (scmd == 1) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ for npc in nearby_items(shape=searchtype, origin=aitem) {
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
/* loopnext */
}
}
else if (scmd == 2) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ for npc in nearby_items(shape=searchtype, origin=aitem) {
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
/* loopnext */
}
}
else if (scmd == 3) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ for npc in nearby_items(shape=searchtype, origin=aitem) {
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
/* loopnext */
}
}
else if (scmd == 4) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(shape=searchtype, origin=aitem) {
k = a;
/* loopnext */
}
}
else if (scmd == 5) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
- spawn class_0A11_equip(a, npc);
+ for npc in nearby_items(shape=searchtype, origin=aitem) {
+ spawn NPC.equip(a, npc);
/* loopnext */
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_2B_slot_2B.txt b/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_2B_slot_2B.txt
index 288904d..e6b00f2 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_2B_slot_2B.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TRIGGER/slot_2B_slot_2B.txt
@@ -23,24 +23,19 @@ function trigger_slot_2B() /* entry=394 class_id=0x0A18 slot=0x2B */
aitem = ref;
cmd = (mapNum & 3);
if (cmd == 0) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(family=6, origin=aitem) {
if (!Item.isCrusTypeNPC(Item.getShape(npc))) {
if (Actor.GetNPCDataField0x63_00B(npc) == baseLink) {
a = (qHi / 16);
b = (qHi & 15);
if (a == 0) {
suspend;
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
else {
suspend;
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
if (Actor.isDead(npc) == 1) {
return;
@@ -50,7 +45,7 @@ function trigger_slot_2B() /* entry=394 class_id=0x0A18 slot=0x2B */
if (Actor.isDead(npc) == 0) {
suspend;
}
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
counter = (1 + counter);
}
@@ -62,23 +57,13 @@ function trigger_slot_2B() /* entry=394 class_id=0x0A18 slot=0x2B */
return;
}
else if (cmd == 1) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(family=6, origin=aitem) {
/* loopnext */
}
return;
}
else if (cmd == 2) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(family=6, origin=aitem) {
/* loopnext */
}
return;
@@ -87,12 +72,7 @@ function trigger_slot_2B() /* entry=394 class_id=0x0A18 slot=0x2B */
scmd = (qHi & 7);
a = (qHi / 8);
if (scmd == 0) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(family=6, origin=aitem) {
if (!Item.isCrusTypeNPC(Item.getShape(npc))) {
if (Actor.GetNPCDataField0x63_00B(npc) == baseLink) {
if (a == 1) {
@@ -107,15 +87,10 @@ function trigger_slot_2B() /* entry=394 class_id=0x0A18 slot=0x2B */
}
}
else if (scmd == 1) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(family=6, origin=aitem) {
if (!Item.isCrusTypeNPC(Item.getShape(npc))) {
if (Actor.GetNPCDataField0x63_00B(npc) == baseLink) {
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
}
}
@@ -123,15 +98,10 @@ function trigger_slot_2B() /* entry=394 class_id=0x0A18 slot=0x2B */
}
}
else if (scmd == 2) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(family=6, origin=aitem) {
if (!Item.isCrusTypeNPC(Item.getShape(npc))) {
if (Actor.GetNPCDataField0x63_00B(npc) == baseLink) {
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
}
}
@@ -139,15 +109,10 @@ function trigger_slot_2B() /* entry=394 class_id=0x0A18 slot=0x2B */
}
}
else if (scmd == 3) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(family=6, origin=aitem) {
if (!Item.isCrusTypeNPC(Item.getShape(npc))) {
if (Actor.GetNPCDataField0x63_00B(npc) == baseLink) {
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
}
}
@@ -155,12 +120,7 @@ function trigger_slot_2B() /* entry=394 class_id=0x0A18 slot=0x2B */
}
}
else if (scmd == 4) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(family=6, origin=aitem) {
if (!Item.isCrusTypeNPC(Item.getShape(npc))) {
if (Actor.GetNPCDataField0x63_00B(npc) == baseLink) {
k = a;
@@ -170,15 +130,10 @@ function trigger_slot_2B() /* entry=394 class_id=0x0A18 slot=0x2B */
}
}
else if (scmd == 5) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF0 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for npc in nearby_items(family=6, origin=aitem) {
if (!Item.isCrusTypeNPC(Item.getShape(npc))) {
if (Actor.GetNPCDataField0x63_00B(npc) == baseLink) {
- spawn class_0A11_equip(a, npc);
+ spawn NPC.equip(a, npc);
}
}
/* loopnext */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/TRIGPAD/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/TRIGPAD/slot_06_gotHit.txt
index efe08a7..418e19c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/TRIGPAD/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/TRIGPAD/slot_06_gotHit.txt
@@ -11,7 +11,7 @@ function trigpad_gotHit() /* entry=273 class_id=0x04CD slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
a = ref;
- class_0A0C_slot_2B(vel, ref);
+ FREE.slot_2B(vel, ref);
if (!retval) {
return;
}
@@ -22,19 +22,19 @@ function trigpad_gotHit() /* entry=273 class_id=0x04CD slot=0x06 */
return;
}
else {
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
while (!(1)) {
if (Item.getSurfaceWeight(arg_06) == 0) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
else {
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
@@ -43,16 +43,16 @@ function trigpad_gotHit() /* entry=273 class_id=0x04CD slot=0x06 */
/* loop current_var=0xFA string_bytes=0x6 loop_type=0x6 */
while (!condition) {
while (!(Item.getStatus(elev) & 0x1000)) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_32(pid, 120, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 120, 0x00000000);
suspend;
/* global_address global_id=0x3C */
if (Item.getZ() >= (Item.getZ(elev) - 5)) {
- class_0A09_slot_21(Item.getZ(elev), elev);
+ ELEVAT.slot_21(Item.getZ(elev), elev);
if (!retval) {
- spawn class_0A09_slot_20(elev);
+ spawn ELEVAT.slot_20(elev);
}
}
/* loopnext */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/UPPLATE/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/UPPLATE/slot_06_gotHit.txt
index a543ee4..7f9fe1f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/UPPLATE/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/UPPLATE/slot_06_gotHit.txt
@@ -8,7 +8,7 @@ function upplate_gotHit() /* entry=241 class_id=0x0447 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
return;
}
@@ -21,17 +21,17 @@ function upplate_gotHit() /* entry=241 class_id=0x0447 slot=0x06 */
return;
}
else if (Item.getMapArray(arg_06) == 0) {
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, 20, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 20, 0x00000000);
suspend;
while (!(1)) {
if (Item.getSurfaceWeight(arg_06) == 0) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
else {
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
return;
}
@@ -39,7 +39,7 @@ function upplate_gotHit() /* entry=241 class_id=0x0447 slot=0x06 */
return;
}
else {
- spawn class_0A0C_slot_32(pid, 20, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 20, 0x00000000);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/VALUEBOX/slot_04_cachein.txt b/USECODE/EUSECODE_extracted/pseudocode/VALUEBOX/slot_04_cachein.txt
index c442482..bf7b5f5 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/VALUEBOX/slot_04_cachein.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/VALUEBOX/slot_04_cachein.txt
@@ -6,11 +6,11 @@ function valuebox_cachein() /* entry=130 class_id=0x0251 slot=0x04 */
set_info(0x0213, *(arg_06));
process_exclude();
- class_0A19_slot_20(arg_06);
+ VALBOX.slot_20(arg_06);
if (retval == 0) {
- class_0A0C_slot_20(0x0383);
+ FREE.slot_20(0x0383);
randNum = (retval + 100);
- class_0251_slot_20(randNum, arg_06);
+ VALUEBOX.slot_20(randNum, arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/VALVE/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/VALVE/slot_01_use.txt
index 7f02db9..c6ed984 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/VALVE/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/VALVE/slot_01_use.txt
@@ -10,15 +10,15 @@ function valve_use() /* entry=6 class_id=0x0030 slot=0x01 */
if (Item.getFrame(arg_06) >= 4) {
counter = 0;
while (counter > 4) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
counter = 0;
while (counter > 4) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
@@ -26,20 +26,20 @@ function valve_use() /* entry=6 class_id=0x0030 slot=0x01 */
else {
counter = 0;
while (counter > 4) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
- spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
counter = 0;
while (counter > 4) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
}
}
- spawn class_0A0C_slot_32(pid, 15, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 15, 0x00000000);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/VARDESK/slot_01_use.txt b/USECODE/EUSECODE_extracted/pseudocode/VARDESK/slot_01_use.txt
index 1b0c3a3..0437623 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/VARDESK/slot_01_use.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/VARDESK/slot_01_use.txt
@@ -7,14 +7,14 @@ function vardesk_use() /* entry=238 class_id=0x0442 slot=0x01 */
set_info(0x0207, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
while (Item.getFrame(arg_06) >= 4) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
if (global[0x001F] == 9) {
/* str_to_ptr */
@@ -46,20 +46,15 @@ function vardesk_use() /* entry=238 class_id=0x0442 slot=0x01 */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for item in nearby_items(shape=0x043D, origin=arg_06) {
/* loopnext */
}
counter = 0;
while (counter > 4) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
}
- spawn class_0442_enterFastArea(arg_06);
+ spawn VARDESK.enterFastArea(arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/VARDESK/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/VARDESK/slot_0F_enterFastArea.txt
index fc9aac4..6ee4399 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/VARDESK/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/VARDESK/slot_0F_enterFastArea.txt
@@ -15,8 +15,8 @@ function vardesk_enterFastArea() /* entry=238 class_id=0x0442 slot=0x0F */
block_03FC:
suspend;
- class_0A0C_slot_20(pid, 100);
- spawn class_0A0C_slot_32((retval + 60), 0x00000000);
+ FREE.slot_20(pid, 100);
+ spawn FREE.waitNTimerTicks((retval + 60), 0x00000000);
suspend;
if (!Item.getFrame(arg_06)) goto block_049C;
@@ -27,13 +27,13 @@ function vardesk_enterFastArea() /* entry=238 class_id=0x0442 slot=0x0F */
if (counter <= 4) goto block_049C;
block_045C:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0454;
block_049C:
- class_0A0C_slot_20(100);
+ FREE.slot_20(100);
if (retval > 50) goto block_0507;
block_04B2:
@@ -43,7 +43,7 @@ function vardesk_enterFastArea() /* entry=238 class_id=0x0442 slot=0x0F */
if (counter <= 4) goto block_0504;
block_04C1:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_04B9;
@@ -52,7 +52,7 @@ function vardesk_enterFastArea() /* entry=238 class_id=0x0442 slot=0x0F */
goto block_059E;
block_0507:
- class_0A0C_slot_20(3);
+ FREE.slot_20(3);
ran = (retval + 3);
counter = 0;
@@ -60,9 +60,9 @@ function vardesk_enterFastArea() /* entry=238 class_id=0x0442 slot=0x0F */
if (counter <= ran) goto block_059E;
block_052B:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0520;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/VARDESK/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/VARDESK/slot_10_leaveFastArea.txt
index bfe175e..e3cb982 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/VARDESK/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/VARDESK/slot_10_leaveFastArea.txt
@@ -2,6 +2,6 @@ function vardesk_leaveFastArea() /* entry=238 class_id=0x0442 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/VARGAS/slot_0E_calledFromAnim.txt b/USECODE/EUSECODE_extracted/pseudocode/VARGAS/slot_0E_calledFromAnim.txt
index afd6b1a..7236728 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/VARGAS/slot_0E_calledFromAnim.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/VARGAS/slot_0E_calledFromAnim.txt
@@ -3,6 +3,6 @@ function vargas_calledFromAnim() /* entry=212 class_id=0x03AC slot=0x0E */
set_info(0x021A, *(arg_06));
process_exclude();
set_info(1, 0);
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/VAR_BOOT/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/VAR_BOOT/slot_0A_equip.txt
index f7e9f2e..0851962 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/VAR_BOOT/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/VAR_BOOT/slot_0A_equip.txt
@@ -11,14 +11,14 @@ function var_boot_equip() /* entry=252 class_id=0x045C slot=0x0A */
return;
}
else {
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
while (Item.getFrame(arg_06) == 4) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
if (global[0x001F] == 3) {
/* str_to_ptr */
@@ -47,11 +47,11 @@ function var_boot_equip() /* entry=252 class_id=0x045C slot=0x0A */
}
counter = 0;
while (counter > 4) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
}
- spawn class_045C_enterFastArea(arg_06);
+ spawn VAR_BOOT.enterFastArea(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/VAR_BOOT/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/VAR_BOOT/slot_0F_enterFastArea.txt
index 3ea0642..9e072f0 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/VAR_BOOT/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/VAR_BOOT/slot_0F_enterFastArea.txt
@@ -11,55 +11,31 @@ function var_boot_enterFastArea() /* entry=252 class_id=0x045C slot=0x0F */
if (((((global[0x001F] != 3) || (global[0x001F] != 4)) || (global[0x001F] != 6)) || (global[0x001F] != 7)) || (global[0x001F] != 9)) goto block_0411;
block_03AF:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
-
- block_03DA:
- if condition goto block_040C;
-
- block_03DD:
- if (Item.getQLo(item) != Item.getQLo(arg_06)) goto block_0408;
-
- block_03F9:
- class_0A1E_slot_24(0x1000, item);
-
- block_0408:
- /* loopnext */
- goto block_03DA;
+ for item in nearby_items(shape=0x03AA, origin=arg_06) {
+ if (Item.getQLo(item) == Item.getQLo(arg_06)) {
+ ITEM.slot_24(0x1000, item);
+ }
+ /* loopnext */
+ }
block_040C:
goto block_0476;
block_0411:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
-
- block_042F:
- if condition goto block_0461;
-
- block_0432:
- if (Item.getQLo(item) != Item.getQLo(arg_06)) goto block_045D;
-
- block_044E:
- class_0A1E_slot_23(0x1000, item);
-
- block_045D:
- /* loopnext */
- goto block_042F;
+ for item in nearby_items(shape=0x03AA, origin=arg_06) {
+ if (Item.getQLo(item) == Item.getQLo(arg_06)) {
+ ITEM.slot_23(0x1000, item);
+ }
+ /* loopnext */
+ }
block_0461:
goto block_058A;
block_0476:
suspend;
- class_0A0C_slot_20(pid, 120);
- spawn class_0A0C_slot_32((retval + 0x00DC), 0x00000000);
+ FREE.slot_20(pid, 120);
+ spawn FREE.waitNTimerTicks((retval + 0x00DC), 0x00000000);
suspend;
counter = 0;
@@ -67,14 +43,14 @@ function var_boot_enterFastArea() /* entry=252 class_id=0x045C slot=0x0F */
if (counter <= 4) goto block_0504;
block_04C4:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_04BC;
block_0504:
- class_0A0C_slot_20(pid, 120);
- spawn class_0A0C_slot_32((retval + 120), 0x00000000);
+ FREE.slot_20(pid, 120);
+ spawn FREE.waitNTimerTicks((retval + 120), 0x00000000);
suspend;
counter = 0;
@@ -82,7 +58,7 @@ function var_boot_enterFastArea() /* entry=252 class_id=0x045C slot=0x0F */
if (counter <= 4) goto block_0587;
block_0544:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_053C;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/VAR_BOOT/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/VAR_BOOT/slot_10_leaveFastArea.txt
index 7d03be8..2bf2f33 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/VAR_BOOT/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/VAR_BOOT/slot_10_leaveFastArea.txt
@@ -2,6 +2,6 @@ function var_boot_leaveFastArea() /* entry=252 class_id=0x045C slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/VETRON/slot_0E_calledFromAnim.txt b/USECODE/EUSECODE_extracted/pseudocode/VETRON/slot_0E_calledFromAnim.txt
index d42a99a..94f8a42 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/VETRON/slot_0E_calledFromAnim.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/VETRON/slot_0E_calledFromAnim.txt
@@ -7,6 +7,6 @@ function vetron_calledFromAnim() /* entry=288 class_id=0x04E6 slot=0x0E */
set_info(0x021A, *(arg_06));
process_exclude();
n = *(arg_06);
- spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), n);
+ spawn NPCDEATH.slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), n);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/VMAIL/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/VMAIL/slot_0A_equip.txt
index c4a11d0..460c3a0 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/VMAIL/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/VMAIL/slot_0A_equip.txt
@@ -29,7 +29,7 @@ function vmail_equip() /* entry=195 class_id=0x0367 slot=0x0A */
/* concat */
/* free_local_string bp_offset=0xFE target=[BP-02h] */
textFile = UCMachine.numToStr(global[0x001B]);
- spawn class_0A0C_slot_32("KILL BOARD:^-----------^Guards: ", UCMachine.numToStr(global[0x000B]), "^Soldiers: ", UCMachine.numToStr(global[0x000D]), "^Storm troopers: ", UCMachine.numToStr(global[0x000F]), "^Elite troopers: ", UCMachine.numToStr(global[0x0011]), "^Enforcers: ", UCMachine.numToStr(global[0x0013]), "^^Androids: ", UCMachine.numToStr(global[0x0015]), "^Thermatrons: ", UCMachine.numToStr(global[0x0017]), "^Vetrons: ", UCMachine.numToStr(global[0x0019]), "^Solartrons: ", pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks("KILL BOARD:^-----------^Guards: ", UCMachine.numToStr(global[0x000B]), "^Soldiers: ", UCMachine.numToStr(global[0x000D]), "^Storm troopers: ", UCMachine.numToStr(global[0x000F]), "^Elite troopers: ", UCMachine.numToStr(global[0x0011]), "^Enforcers: ", UCMachine.numToStr(global[0x0013]), "^^Androids: ", UCMachine.numToStr(global[0x0015]), "^Thermatrons: ", UCMachine.numToStr(global[0x0017]), "^Vetrons: ", UCMachine.numToStr(global[0x0019]), "^Solartrons: ", pid, 10, 0x00000000);
suspend;
if (global[0x001F] == 4) {
/* str_to_ptr */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALGUNEW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/WALGUNEW/slot_06_gotHit.txt
index 6728c12..43046e2 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALGUNEW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALGUNEW/slot_06_gotHit.txt
@@ -7,6 +7,6 @@ function walgunew_gotHit() /* entry=197 class_id=0x0373 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1A_slot_49(vel, ref, arg_06);
+ spawn WALLGUN.slot_49(vel, ref, arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALGUNEW/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/WALGUNEW/slot_0A_equip.txt
index e58a62e..8865e28 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALGUNEW/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALGUNEW/slot_0A_equip.txt
@@ -3,12 +3,12 @@ function walgunew_equip() /* entry=197 class_id=0x0373 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (getTargetNPCNumMaybe() == 0) {
- spawn class_0A1A_slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
suspend;
return;
}
else {
- spawn class_0A1A_slot_24(pid, arg_0A, global[0x003C], arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, global[0x003C], arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALGUNEW/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/WALGUNEW/slot_0B_unequip.txt
index de4f621..e76f712 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALGUNEW/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALGUNEW/slot_0B_unequip.txt
@@ -6,7 +6,7 @@ function walgunew_unequip() /* entry=197 class_id=0x0373 slot=0x0B */
return;
}
else {
- spawn class_0A1A_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALGUNEW/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/WALGUNEW/slot_0F_enterFastArea.txt
index 12776f6..4642f3e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALGUNEW/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALGUNEW/slot_0F_enterFastArea.txt
@@ -6,7 +6,7 @@ function walgunew_enterFastArea() /* entry=197 class_id=0x0373 slot=0x0F */
return;
}
else {
- spawn class_0A1A_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALGUNEW/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/WALGUNEW/slot_10_leaveFastArea.txt
index 21d49ae..3ca6f7a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALGUNEW/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALGUNEW/slot_10_leaveFastArea.txt
@@ -3,7 +3,7 @@ function walgunew_leaveFastArea() /* entry=197 class_id=0x0373 slot=0x10 */
set_info(0x021C, *(arg_06));
process_exclude();
/* bit_not */
- class_0A0C_slot_33(1, *(arg_06));
- class_0A0C_slot_33(0x020A, *(arg_06));
+ FREE.slot_33(1, *(arg_06));
+ FREE.slot_33(0x020A, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALGUNNS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/WALGUNNS/slot_06_gotHit.txt
index 330530a..6e72b8b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALGUNNS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALGUNNS/slot_06_gotHit.txt
@@ -7,6 +7,6 @@ function walgunns_gotHit() /* entry=162 class_id=0x02F0 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1A_slot_49(vel, ref, arg_06);
+ spawn WALLGUN.slot_49(vel, ref, arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALGUNNS/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/WALGUNNS/slot_0A_equip.txt
index 4487230..fb1858a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALGUNNS/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALGUNNS/slot_0A_equip.txt
@@ -3,12 +3,12 @@ function walgunns_equip() /* entry=162 class_id=0x02F0 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (getTargetNPCNumMaybe() == 0) {
- spawn class_0A1A_slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
suspend;
return;
}
else {
- spawn class_0A1A_slot_24(pid, arg_0A, global[0x003C], arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, global[0x003C], arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALGUNNS/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/WALGUNNS/slot_0B_unequip.txt
index 3144741..c625143 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALGUNNS/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALGUNNS/slot_0B_unequip.txt
@@ -6,7 +6,7 @@ function walgunns_unequip() /* entry=162 class_id=0x02F0 slot=0x0B */
return;
}
else {
- spawn class_0A1A_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALGUNNS/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/WALGUNNS/slot_0F_enterFastArea.txt
index a55c837..ef21e3b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALGUNNS/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALGUNNS/slot_0F_enterFastArea.txt
@@ -6,7 +6,7 @@ function walgunns_enterFastArea() /* entry=162 class_id=0x02F0 slot=0x0F */
return;
}
else {
- spawn class_0A1A_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALGUNNS/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/WALGUNNS/slot_10_leaveFastArea.txt
index 1f261b6..a07cdcb 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALGUNNS/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALGUNNS/slot_10_leaveFastArea.txt
@@ -3,7 +3,7 @@ function walgunns_leaveFastArea() /* entry=162 class_id=0x02F0 slot=0x10 */
set_info(0x021C, *(arg_06));
process_exclude();
/* bit_not */
- class_0A0C_slot_33(1, *(arg_06));
- class_0A0C_slot_33(0x020A, *(arg_06));
+ FREE.slot_33(1, *(arg_06));
+ FREE.slot_33(0x020A, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_22_slot_22.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_22_slot_22.txt
index f1e5300..86fdc24 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_22_slot_22.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_22_slot_22.txt
@@ -1,5 +1,5 @@
function wallgun_slot_22() /* entry=396 class_id=0x0A1A slot=0x22 */
{
- class_0A1A_slot_21(arg_0A, arg_06);
+ WALLGUN.slot_21(arg_0A, arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_23_slot_23.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_23_slot_23.txt
index 63cfe61..77d9004 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_23_slot_23.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_23_slot_23.txt
@@ -1,5 +1,5 @@
function wallgun_slot_23() /* entry=396 class_id=0x0A1A slot=0x23 */
{
- class_0A1A_slot_20((arg_0A * 10), arg_06);
+ WALLGUN.slot_20((arg_0A * 10), arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_24_slot_24.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_24_slot_24.txt
index 0f185c5..78505e2 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_24_slot_24.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_24_slot_24.txt
@@ -6,26 +6,26 @@ function wallgun_slot_24() /* entry=396 class_id=0x0A1A slot=0x24 */
var; /* [BP+0Ch] type=0x69 */
set_info(0x021B, *(arg_06));
- class_0A1A_slot_25(Item.getFrame(arg_06), Item.getShape(arg_06), arg_06);
+ WALLGUN.slot_25(Item.getFrame(arg_06), Item.getShape(arg_06), arg_06);
if ((retval == 1) || (Item.inFastArea(arg_06) != 0)) {
return;
}
else if ((var >= 90) || (var > 99)) {
- class_0A0C_slot_33(1, *(arg_06));
- class_0A0C_slot_33(0x020A, *(arg_06));
- spawn class_0A1A_slot_28(var, target, arg_06);
+ FREE.slot_33(1, *(arg_06));
+ FREE.slot_33(0x020A, *(arg_06));
+ spawn WALLGUN.slot_28(var, target, arg_06);
return;
}
else if (var == 90) {
- spawn class_0A1A_slot_34(arg_06);
+ spawn WALLGUN.slot_34(arg_06);
return;
}
else if (var == 91) {
- spawn class_0A1A_slot_35(arg_06);
+ spawn WALLGUN.slot_35(arg_06);
return;
}
else if (var == 92) {
- spawn class_0A1A_slot_4A(target, arg_06);
+ spawn WALLGUN.slot_4A(target, arg_06);
return;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_26_slot_26.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_26_slot_26.txt
index e5b0df8..bb609c7 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_26_slot_26.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_26_slot_26.txt
@@ -2,7 +2,7 @@ function wallgun_slot_26() /* entry=396 class_id=0x0A1A slot=0x26 */
{
set_info(0x0001, *(arg_06));
while (Item.isOnScreen(arg_06) == 0) {
- spawn class_0A0C_slot_32(pid, 20, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 20, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_27_slot_27.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_27_slot_27.txt
index 20c3e57..b56c17c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_27_slot_27.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_27_slot_27.txt
@@ -1,21 +1,21 @@
function wallgun_slot_27() /* entry=396 class_id=0x0A1A slot=0x27 */
{
set_info(0x0001, *(arg_06));
- class_0A1A_slot_25(Item.getFrame(arg_06), Item.getShape(arg_06), arg_06);
+ WALLGUN.slot_25(Item.getFrame(arg_06), Item.getShape(arg_06), arg_06);
if (!retval) {
return;
}
else {
- class_0A1A_slot_29(arg_06);
+ WALLGUN.slot_29(arg_06);
if (!retval) {
}
if (getTargetNPCNumMaybe() == 0) {
- spawn class_0A1A_slot_28(pid, Item.getNPCNum(arg_06), getTargetNPCNumMaybe(), arg_06);
+ spawn WALLGUN.slot_28(pid, Item.getNPCNum(arg_06), getTargetNPCNumMaybe(), arg_06);
suspend;
return;
}
else {
- spawn class_0A1A_slot_28(pid, Item.getNPCNum(arg_06), global[0x003C], arg_06);
+ spawn WALLGUN.slot_28(pid, Item.getNPCNum(arg_06), global[0x003C], arg_06);
suspend;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_28_slot_28.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_28_slot_28.txt
index 28e82c4..252d994 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_28_slot_28.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_28_slot_28.txt
@@ -27,7 +27,7 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
goto block_0BFE;
block_0734:
- class_0A1A_slot_25(Item.getFrame(arg_06), Item.getShape(arg_06), arg_06);
+ WALLGUN.slot_25(Item.getFrame(arg_06), Item.getShape(arg_06), arg_06);
if (retval != 1) goto block_075F;
block_0759:
@@ -37,12 +37,12 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
if 1 goto block_0BFE;
block_0767:
- spawn class_0A1A_slot_26(pid, arg_06);
+ spawn WALLGUN.slot_26(pid, arg_06);
suspend;
if (brain != 7) goto block_07B0;
block_078E:
- spawn class_0A1A_slot_36(pid, arg_06);
+ spawn WALLGUN.slot_36(pid, arg_06);
suspend;
goto block_0BD5;
@@ -50,7 +50,7 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
if (brain != 9) goto block_07DA;
block_07B8:
- spawn class_0A1A_slot_37(pid, arg_06);
+ spawn WALLGUN.slot_37(pid, arg_06);
suspend;
goto block_0BD5;
@@ -58,7 +58,7 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
if (brain != 8) goto block_0808;
block_07E2:
- spawn class_0A1A_slot_32(pid, target, arg_06);
+ spawn WALLGUN.slot_32(pid, target, arg_06);
suspend;
goto block_0BD5;
@@ -66,7 +66,7 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
if (brain != 10) goto block_0836;
block_0810:
- spawn class_0A1A_slot_33(pid, target, arg_06);
+ spawn WALLGUN.slot_33(pid, target, arg_06);
suspend;
goto block_0BD5;
@@ -87,13 +87,13 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
target = 1;
block_086B:
- spawn class_0A1A_slot_3C(pid, brain, target, arg_06);
+ spawn WALLGUN.slot_3C(pid, brain, target, arg_06);
suspend;
- spawn class_0A1A_slot_2F(pid, brain, target, arg_06);
+ spawn WALLGUN.slot_2F(pid, brain, target, arg_06);
suspend;
- spawn class_0A0C_slot_32(pid, 3, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 3, 0x00000000);
suspend;
- spawn class_0A1A_slot_26(pid, arg_06);
+ spawn WALLGUN.slot_26(pid, arg_06);
suspend;
goto block_083E;
@@ -114,7 +114,7 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
target = 1;
block_092D:
- spawn class_0A1A_slot_3D(pid, brain, target, arg_06);
+ spawn WALLGUN.slot_3D(pid, brain, target, arg_06);
suspend;
goto block_0BD5;
@@ -135,9 +135,9 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
target = 1;
block_098A:
- spawn class_0A1A_slot_26(pid, arg_06);
+ spawn WALLGUN.slot_26(pid, arg_06);
suspend;
- spawn class_0A1A_slot_31(pid, brain, target, arg_06);
+ spawn WALLGUN.slot_31(pid, brain, target, arg_06);
suspend;
/* dword_to_word */
if process_result goto block_09D9;
@@ -149,7 +149,7 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
goto block_095D;
block_09DC:
- spawn class_0A1A_slot_3D(pid, brain, target, arg_06);
+ spawn WALLGUN.slot_3D(pid, brain, target, arg_06);
suspend;
goto block_0BD5;
@@ -157,7 +157,7 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
if (brain != 5) goto block_0A35;
block_0A0C:
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
goto block_0BD5;
@@ -165,7 +165,7 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
if (brain != 12) goto block_0A63;
block_0A3D:
- spawn class_0A1A_slot_38(pid, target, arg_06);
+ spawn WALLGUN.slot_38(pid, target, arg_06);
suspend;
goto block_0BD5;
@@ -173,7 +173,7 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
if (brain != 13) goto block_0A91;
block_0A6B:
- spawn class_0A1A_slot_39(pid, target, arg_06);
+ spawn WALLGUN.slot_39(pid, target, arg_06);
suspend;
goto block_0BD5;
@@ -181,7 +181,7 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
if (brain != 14) goto block_0ABF;
block_0A99:
- spawn class_0A1A_slot_3A(pid, target, arg_06);
+ spawn WALLGUN.slot_3A(pid, target, arg_06);
suspend;
goto block_0BD5;
@@ -189,7 +189,7 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
if (brain != 15) goto block_0AED;
block_0AC7:
- spawn class_0A1A_slot_3B(pid, target, arg_06);
+ spawn WALLGUN.slot_3B(pid, target, arg_06);
suspend;
goto block_0BD5;
@@ -204,18 +204,18 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
target = 1;
block_0B12:
- spawn class_0A1A_slot_31(pid, brain, target, arg_06);
+ spawn WALLGUN.slot_31(pid, brain, target, arg_06);
suspend;
/* dword_to_word */
if process_result goto block_0B64;
block_0B3C:
- spawn class_0A1A_slot_3D(pid, brain, target, arg_06);
+ spawn WALLGUN.slot_3D(pid, brain, target, arg_06);
suspend;
goto block_0BD5;
block_0B64:
- class_0A1A_slot_20(arg_06);
+ WALLGUN.slot_20(arg_06);
delay = retval;
if (delay != 0) goto block_0B82;
@@ -232,11 +232,11 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
delay = (delay - 1);
delay = (delay * 30);
delay = (delay + 120);
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
block_0BD5:
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
goto block_075F;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_2C_slot_2C.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_2C_slot_2C.txt
index 5a56383..84f0b9d 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_2C_slot_2C.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_2C_slot_2C.txt
@@ -1,13 +1,13 @@
function wallgun_slot_2C() /* entry=396 class_id=0x0A1A slot=0x2C */
{
- class_0A1A_slot_2A(arg_06);
- class_0A1A_slot_2B((retval != 1), arg_06);
- class_0A1A_slot_29((retval != 1), arg_06);
+ WALLGUN.slot_2A(arg_06);
+ WALLGUN.slot_2B((retval != 1), arg_06);
+ WALLGUN.slot_29((retval != 1), arg_06);
if (retval == 1) {
return;
}
else {
- class_0A1A_slot_2A(arg_06);
+ WALLGUN.slot_2A(arg_06);
if (!retval) {
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_2D_slot_2D.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_2D_slot_2D.txt
index 21f10eb..b02b845 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_2D_slot_2D.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_2D_slot_2D.txt
@@ -11,14 +11,14 @@ function wallgun_slot_2D() /* entry=396 class_id=0x0A1A slot=0x2D */
targItem = target;
coordToCoordDir = Item.getDirFromTo16(Item.getY(targItem), Item.getX(targItem), Item.getY(arg_06), Item.getX(arg_06));
- class_0A1A_slot_2C(arg_06);
+ WALLGUN.slot_2C(arg_06);
if (retval == coordToCoordDir) {
return;
}
else {
- class_0A1A_slot_29(arg_06);
+ WALLGUN.slot_29(arg_06);
if (!retval) {
- class_0A1A_slot_2C(arg_06);
+ WALLGUN.slot_2C(arg_06);
dir = retval;
left = 0;
right = 0;
@@ -31,7 +31,7 @@ function wallgun_slot_2D() /* entry=396 class_id=0x0A1A slot=0x2D */
dir = (dir - 1);
}
}
- class_0A1A_slot_2C(arg_06);
+ WALLGUN.slot_2C(arg_06);
dir = retval;
while ((dir == coordToCoordDir) && (right < 15)) {
right = (1 + right);
@@ -47,11 +47,11 @@ function wallgun_slot_2D() /* entry=396 class_id=0x0A1A slot=0x2D */
}
}
else {
- class_0A1A_slot_2A(arg_06);
+ WALLGUN.slot_2A(arg_06);
if (((retval == 1) && (coordToCoordDir >= 13)) && (coordToCoordDir <= 15)) {
return;
}
- class_0A1A_slot_2C(arg_06);
+ WALLGUN.slot_2C(arg_06);
if (retval <= coordToCoordDir) {
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_2E_slot_2E.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_2E_slot_2E.txt
index 9dea6f6..d322495 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_2E_slot_2E.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_2E_slot_2E.txt
@@ -12,20 +12,20 @@ function wallgun_slot_2E() /* entry=396 class_id=0x0A1A slot=0x2E */
dir, /* [BP-0Bh] type=0x62 */
targetNpc; /* [BP-0Dh] type=0x24 */
- class_0A1A_slot_2C(arg_06);
+ WALLGUN.slot_2C(arg_06);
dir = retval;
- class_0A1A_slot_3E(dir, arg_06);
+ WALLGUN.slot_3E(dir, arg_06);
x1 = retval;
- class_0A1A_slot_3F(dir, arg_06);
+ WALLGUN.slot_3F(dir, arg_06);
y1 = retval;
- class_0A1A_slot_40(dir, arg_06);
+ WALLGUN.slot_40(dir, arg_06);
z1 = retval;
targetNpc = target;
if (!Actor.isDead(targetNpc)) {
return;
}
else {
- class_0A1A_slot_2D(target, arg_06);
+ WALLGUN.slot_2D(target, arg_06);
if (retval) {
if (Item.getNPCNum(arg_06) <= 99) {
return;
@@ -33,13 +33,13 @@ function wallgun_slot_2E() /* entry=396 class_id=0x0A1A slot=0x2E */
if (!Item.getQHi(z1, y1, x1, dir, target, arg_06)) {
return;
}
- class_0A1A_slot_29(arg_06);
+ WALLGUN.slot_29(arg_06);
if (!retval) {
- class_0A1A_slot_41(dir, arg_06);
+ WALLGUN.slot_41(dir, arg_06);
x2 = retval;
- class_0A1A_slot_42(dir, arg_06);
+ WALLGUN.slot_42(dir, arg_06);
y2 = retval;
- class_0A1A_slot_43(dir, arg_06);
+ WALLGUN.slot_43(dir, arg_06);
z2 = retval;
if (!Item.getQHi(z2, y2, x2, dir, target, arg_06)) {
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_2F_slot_2F.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_2F_slot_2F.txt
index 80f70a1..75225ae 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_2F_slot_2F.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_2F_slot_2F.txt
@@ -9,7 +9,7 @@ function wallgun_slot_2F() /* entry=396 class_id=0x0A1A slot=0x2F */
dist; /* [BP-06h] type=0x69 */
set_info(0x0001, *(arg_06));
- class_0A1A_slot_20(arg_06);
+ WALLGUN.slot_20(arg_06);
delay = retval;
if (delay) {
delay = 3;
@@ -19,11 +19,11 @@ function wallgun_slot_2F() /* entry=396 class_id=0x0A1A slot=0x2F */
}
delay = (delay * 5);
while (!delay) {
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
- class_0A1A_slot_2E(target, arg_06);
+ WALLGUN.slot_2E(target, arg_06);
cs = retval;
- class_0A0C_slot_29(*(arg_06), target);
+ FREE.slot_29(*(arg_06), target);
dist = retval;
if ((((brain == 4) && (cs != 1)) && (dist <= 20)) || (((brain != 4) && (cs != 1)) && (dist <= 46))) {
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_30_slot_30.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_30_slot_30.txt
index 562ae1b..7f889b1 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_30_slot_30.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_30_slot_30.txt
@@ -5,7 +5,7 @@ function wallgun_slot_30() /* entry=396 class_id=0x0A1A slot=0x30 */
delay; /* [BP-02h] type=0x69 */
set_info(0x0001, *(arg_06));
- class_0A1A_slot_21(arg_06);
+ WALLGUN.slot_21(arg_06);
delay = retval;
if (delay) {
delay = 3;
@@ -14,7 +14,7 @@ function wallgun_slot_30() /* entry=396 class_id=0x0A1A slot=0x30 */
delay = 5;
}
delay = (delay * 8);
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_31_slot_31.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_31_slot_31.txt
index d62fff1..d6b4858 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_31_slot_31.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_31_slot_31.txt
@@ -16,7 +16,7 @@ function wallgun_slot_31() /* entry=396 class_id=0x0A1A slot=0x31 */
set_info(0x0001, *(arg_06));
panRight = 1;
panLeft = 1;
- class_0A1A_slot_29(arg_06);
+ WALLGUN.slot_29(arg_06);
isTurret = retval;
if (isTurret != 1) goto block_134E;
@@ -27,7 +27,7 @@ function wallgun_slot_31() /* entry=396 class_id=0x0A1A slot=0x31 */
goto block_138B;
block_134E:
- class_0A1A_slot_2B(arg_06);
+ WALLGUN.slot_2B(arg_06);
if retval goto block_1376;
block_135E:
@@ -42,7 +42,7 @@ function wallgun_slot_31() /* entry=396 class_id=0x0A1A slot=0x31 */
right = 0;
block_138B:
- class_0A1A_slot_2E(target, arg_06);
+ WALLGUN.slot_2E(target, arg_06);
if retval goto block_13E5;
block_139D:
@@ -57,7 +57,7 @@ function wallgun_slot_31() /* entry=396 class_id=0x0A1A slot=0x31 */
goto block_13E5;
block_13BB:
- class_0A0C_slot_29(target, *(arg_06));
+ FREE.slot_29(target, *(arg_06));
if (retval <= 20) goto block_13E5;
block_13D8:
@@ -72,7 +72,7 @@ function wallgun_slot_31() /* entry=396 class_id=0x0A1A slot=0x31 */
if 1 goto block_15FA;
block_13ED:
- spawn class_0A1A_slot_26(pid, arg_06);
+ spawn WALLGUN.slot_26(pid, arg_06);
suspend;
f = Item.getFrame(arg_06);
if (isTurret != 1) goto block_145F;
@@ -81,7 +81,7 @@ function wallgun_slot_31() /* entry=396 class_id=0x0A1A slot=0x31 */
if (f > 19) goto block_145C;
block_1430:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_13E5;
@@ -92,7 +92,7 @@ function wallgun_slot_31() /* entry=396 class_id=0x0A1A slot=0x31 */
if (f > 8) goto block_1499;
block_146A:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_13E5;
@@ -163,9 +163,9 @@ function wallgun_slot_31() /* entry=396 class_id=0x0A1A slot=0x31 */
f = (f + inc);
block_155E:
- spawn class_0A1A_slot_2F(pid, brain, target, arg_06);
+ spawn WALLGUN.slot_2F(pid, brain, target, arg_06);
suspend;
- class_0A1A_slot_2E(target, arg_06);
+ WALLGUN.slot_2E(target, arg_06);
if retval goto block_15F7;
block_15AF:
@@ -180,7 +180,7 @@ function wallgun_slot_31() /* entry=396 class_id=0x0A1A slot=0x31 */
goto block_15F7;
block_15CD:
- class_0A0C_slot_29(target, *(arg_06));
+ FREE.slot_29(target, *(arg_06));
if (retval <= 20) goto block_15F7;
block_15EA:
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_32_slot_32.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_32_slot_32.txt
index c4965a8..e7b7286 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_32_slot_32.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_32_slot_32.txt
@@ -16,7 +16,7 @@ function wallgun_slot_32() /* entry=396 class_id=0x0A1A slot=0x32 */
set_info(0x0001, *(arg_06));
panRight = 1;
panLeft = 1;
- class_0A1A_slot_29(arg_06);
+ WALLGUN.slot_29(arg_06);
isTurret = retval;
if (isTurret != 1) goto block_16C5;
@@ -27,7 +27,7 @@ function wallgun_slot_32() /* entry=396 class_id=0x0A1A slot=0x32 */
goto block_1702;
block_16C5:
- class_0A1A_slot_2B(arg_06);
+ WALLGUN.slot_2B(arg_06);
if retval goto block_16ED;
block_16D5:
@@ -42,14 +42,14 @@ function wallgun_slot_32() /* entry=396 class_id=0x0A1A slot=0x32 */
right = 0;
block_1702:
- class_0A1A_slot_20(arg_06);
+ WALLGUN.slot_20(arg_06);
delay = (retval * 5);
block_1714:
if 1 goto block_18F9;
block_171C:
- spawn class_0A1A_slot_26(pid, arg_06);
+ spawn WALLGUN.slot_26(pid, arg_06);
suspend;
f = Item.getFrame(arg_06);
if (isTurret != 1) goto block_178E;
@@ -58,7 +58,7 @@ function wallgun_slot_32() /* entry=396 class_id=0x0A1A slot=0x32 */
if (f > 19) goto block_178B;
block_175F:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_1714;
@@ -69,7 +69,7 @@ function wallgun_slot_32() /* entry=396 class_id=0x0A1A slot=0x32 */
if (f > 8) goto block_17C8;
block_1799:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_1714;
@@ -131,13 +131,13 @@ function wallgun_slot_32() /* entry=396 class_id=0x0A1A slot=0x32 */
panLeft = 1;
block_1881:
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
- class_0A1A_slot_2E(target, arg_06);
+ WALLGUN.slot_2E(target, arg_06);
if retval goto block_18F6;
block_18D3:
- spawn class_0A1A_slot_46(pid, target, arg_06);
+ spawn WALLGUN.slot_46(pid, target, arg_06);
suspend;
block_18F6:
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_33_slot_33.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_33_slot_33.txt
index 2662c62..51faf76 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_33_slot_33.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_33_slot_33.txt
@@ -16,7 +16,7 @@ function wallgun_slot_33() /* entry=396 class_id=0x0A1A slot=0x33 */
set_info(0x0001, *(arg_06));
panRight = 1;
panLeft = 1;
- class_0A1A_slot_29(arg_06);
+ WALLGUN.slot_29(arg_06);
isTurret = retval;
if (isTurret != 1) goto block_19C4;
@@ -27,7 +27,7 @@ function wallgun_slot_33() /* entry=396 class_id=0x0A1A slot=0x33 */
goto block_1A01;
block_19C4:
- class_0A1A_slot_2B(arg_06);
+ WALLGUN.slot_2B(arg_06);
if retval goto block_19EC;
block_19D4:
@@ -42,14 +42,14 @@ function wallgun_slot_33() /* entry=396 class_id=0x0A1A slot=0x33 */
right = 0;
block_1A01:
- class_0A1A_slot_20(arg_06);
+ WALLGUN.slot_20(arg_06);
delay = (retval * 5);
block_1A13:
if 1 goto block_1BFB;
block_1A1B:
- spawn class_0A1A_slot_26(pid, arg_06);
+ spawn WALLGUN.slot_26(pid, arg_06);
suspend;
f = Item.getFrame(arg_06);
if (isTurret != 1) goto block_1A8D;
@@ -58,7 +58,7 @@ function wallgun_slot_33() /* entry=396 class_id=0x0A1A slot=0x33 */
if (f > 19) goto block_1A8A;
block_1A5E:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_1A13;
@@ -69,7 +69,7 @@ function wallgun_slot_33() /* entry=396 class_id=0x0A1A slot=0x33 */
if (f > 8) goto block_1AC7;
block_1A98:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_1A13;
@@ -129,15 +129,15 @@ function wallgun_slot_33() /* entry=396 class_id=0x0A1A slot=0x33 */
}
block_1B83:
- class_0A1A_slot_2E(target, arg_06);
+ WALLGUN.slot_2E(target, arg_06);
if retval goto block_1BD2;
block_1BAF:
- spawn class_0A1A_slot_46(pid, target, arg_06);
+ spawn WALLGUN.slot_46(pid, target, arg_06);
suspend;
block_1BD2:
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
goto block_1A13;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_34_slot_34.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_34_slot_34.txt
index 80f655b..9eb72b9 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_34_slot_34.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_34_slot_34.txt
@@ -13,7 +13,7 @@ function wallgun_slot_34() /* entry=396 class_id=0x0A1A slot=0x34 */
entry:
set_info(0x0001, *(arg_06));
panRight = 1;
- class_0A1A_slot_29(arg_06);
+ WALLGUN.slot_29(arg_06);
isTurret = retval;
if (isTurret != 1) goto block_1CBF;
@@ -24,7 +24,7 @@ function wallgun_slot_34() /* entry=396 class_id=0x0A1A slot=0x34 */
goto block_1CFC;
block_1CBF:
- class_0A1A_slot_2B(arg_06);
+ WALLGUN.slot_2B(arg_06);
if retval goto block_1CE7;
block_1CCF:
@@ -39,7 +39,7 @@ function wallgun_slot_34() /* entry=396 class_id=0x0A1A slot=0x34 */
right = 0;
block_1CFC:
- class_0A1A_slot_20(arg_06);
+ WALLGUN.slot_20(arg_06);
delay = (retval * 5);
block_1D0E:
@@ -53,7 +53,7 @@ function wallgun_slot_34() /* entry=396 class_id=0x0A1A slot=0x34 */
if (f > 19) goto block_1D66;
block_1D3A:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_1D0E;
@@ -64,7 +64,7 @@ function wallgun_slot_34() /* entry=396 class_id=0x0A1A slot=0x34 */
if (f > 8) goto block_1DA3;
block_1D74:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_1D0E;
@@ -103,7 +103,7 @@ function wallgun_slot_34() /* entry=396 class_id=0x0A1A slot=0x34 */
}
block_1E15:
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
goto block_1E5E;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_35_slot_35.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_35_slot_35.txt
index 831137f..3820b75 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_35_slot_35.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_35_slot_35.txt
@@ -13,7 +13,7 @@ function wallgun_slot_35() /* entry=396 class_id=0x0A1A slot=0x35 */
entry:
set_info(0x0001, *(arg_06));
panLeft = 1;
- class_0A1A_slot_29(arg_06);
+ WALLGUN.slot_29(arg_06);
isTurret = retval;
if (isTurret != 1) goto block_1F0B;
@@ -24,7 +24,7 @@ function wallgun_slot_35() /* entry=396 class_id=0x0A1A slot=0x35 */
goto block_1F48;
block_1F0B:
- class_0A1A_slot_2B(arg_06);
+ WALLGUN.slot_2B(arg_06);
if retval goto block_1F33;
block_1F1B:
@@ -39,7 +39,7 @@ function wallgun_slot_35() /* entry=396 class_id=0x0A1A slot=0x35 */
right = 0;
block_1F48:
- class_0A1A_slot_20(arg_06);
+ WALLGUN.slot_20(arg_06);
delay = (retval * 5);
block_1F5A:
@@ -53,7 +53,7 @@ function wallgun_slot_35() /* entry=396 class_id=0x0A1A slot=0x35 */
if (f > 19) goto block_1FB2;
block_1F86:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_1F5A;
@@ -64,7 +64,7 @@ function wallgun_slot_35() /* entry=396 class_id=0x0A1A slot=0x35 */
if (f > 8) goto block_1FEF;
block_1FC0:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_1F5A;
@@ -103,7 +103,7 @@ function wallgun_slot_35() /* entry=396 class_id=0x0A1A slot=0x35 */
}
block_2064:
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
goto block_20AD;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_36_slot_36.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_36_slot_36.txt
index d8a3844..612da7a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_36_slot_36.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_36_slot_36.txt
@@ -15,7 +15,7 @@ function wallgun_slot_36() /* entry=396 class_id=0x0A1A slot=0x36 */
set_info(0x0001, *(arg_06));
panRight = 1;
panLeft = 1;
- class_0A1A_slot_29(arg_06);
+ WALLGUN.slot_29(arg_06);
isTurret = retval;
if (isTurret != 1) goto block_2160;
@@ -26,7 +26,7 @@ function wallgun_slot_36() /* entry=396 class_id=0x0A1A slot=0x36 */
goto block_219D;
block_2160:
- class_0A1A_slot_2B(arg_06);
+ WALLGUN.slot_2B(arg_06);
if retval goto block_2188;
block_2170:
@@ -41,14 +41,14 @@ function wallgun_slot_36() /* entry=396 class_id=0x0A1A slot=0x36 */
right = 0;
block_219D:
- class_0A1A_slot_20(arg_06);
+ WALLGUN.slot_20(arg_06);
delay = (retval * 5);
block_21AF:
if 1 goto block_235F;
block_21B7:
- spawn class_0A1A_slot_26(pid, arg_06);
+ spawn WALLGUN.slot_26(pid, arg_06);
suspend;
f = Item.getFrame(arg_06);
if (isTurret != 1) goto block_2229;
@@ -57,7 +57,7 @@ function wallgun_slot_36() /* entry=396 class_id=0x0A1A slot=0x36 */
if (f > 19) goto block_2226;
block_21FA:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_21AF;
@@ -68,7 +68,7 @@ function wallgun_slot_36() /* entry=396 class_id=0x0A1A slot=0x36 */
if (f > 8) goto block_2263;
block_2234:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_21AF;
@@ -128,7 +128,7 @@ function wallgun_slot_36() /* entry=396 class_id=0x0A1A slot=0x36 */
}
block_231C:
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
goto block_21AF;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_37_slot_37.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_37_slot_37.txt
index b83e024..149759e 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_37_slot_37.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_37_slot_37.txt
@@ -15,7 +15,7 @@ function wallgun_slot_37() /* entry=396 class_id=0x0A1A slot=0x37 */
set_info(0x0001, *(arg_06));
panRight = 1;
panLeft = 1;
- class_0A1A_slot_29(arg_06);
+ WALLGUN.slot_29(arg_06);
isTurret = retval;
if (isTurret != 1) goto block_241F;
@@ -26,7 +26,7 @@ function wallgun_slot_37() /* entry=396 class_id=0x0A1A slot=0x37 */
goto block_245C;
block_241F:
- class_0A1A_slot_2B(arg_06);
+ WALLGUN.slot_2B(arg_06);
if retval goto block_2447;
block_242F:
@@ -41,14 +41,14 @@ function wallgun_slot_37() /* entry=396 class_id=0x0A1A slot=0x37 */
right = 0;
block_245C:
- class_0A1A_slot_20(arg_06);
+ WALLGUN.slot_20(arg_06);
delay = (retval * 5);
block_246E:
if 1 goto block_2621;
block_2476:
- spawn class_0A1A_slot_26(pid, arg_06);
+ spawn WALLGUN.slot_26(pid, arg_06);
suspend;
f = Item.getFrame(arg_06);
if (isTurret != 1) goto block_24E8;
@@ -57,7 +57,7 @@ function wallgun_slot_37() /* entry=396 class_id=0x0A1A slot=0x37 */
if (f > 19) goto block_24E5;
block_24B9:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_246E;
@@ -68,7 +68,7 @@ function wallgun_slot_37() /* entry=396 class_id=0x0A1A slot=0x37 */
if (f > 8) goto block_2522;
block_24F3:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_246E;
@@ -128,7 +128,7 @@ function wallgun_slot_37() /* entry=396 class_id=0x0A1A slot=0x37 */
}
block_25DE:
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
goto block_246E;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_38_slot_38.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_38_slot_38.txt
index 5ce2674..e0cc6bb 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_38_slot_38.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_38_slot_38.txt
@@ -16,7 +16,7 @@ function wallgun_slot_38() /* entry=396 class_id=0x0A1A slot=0x38 */
set_info(0x0001, *(arg_06));
panRight = 1;
panLeft = 1;
- class_0A1A_slot_29(arg_06);
+ WALLGUN.slot_29(arg_06);
isTurret = retval;
if (isTurret != 1) goto block_26E1;
@@ -27,7 +27,7 @@ function wallgun_slot_38() /* entry=396 class_id=0x0A1A slot=0x38 */
goto block_271E;
block_26E1:
- class_0A1A_slot_2B(arg_06);
+ WALLGUN.slot_2B(arg_06);
if retval goto block_2709;
block_26F1:
@@ -42,14 +42,14 @@ function wallgun_slot_38() /* entry=396 class_id=0x0A1A slot=0x38 */
right = 0;
block_271E:
- class_0A1A_slot_20(arg_06);
+ WALLGUN.slot_20(arg_06);
delay = (retval * 5);
block_2730:
if 1 goto block_28EE;
block_2738:
- spawn class_0A1A_slot_26(pid, arg_06);
+ spawn WALLGUN.slot_26(pid, arg_06);
suspend;
f = Item.getFrame(arg_06);
if (isTurret != 1) goto block_27AA;
@@ -58,7 +58,7 @@ function wallgun_slot_38() /* entry=396 class_id=0x0A1A slot=0x38 */
if (f > 19) goto block_27A7;
block_277B:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_2730;
@@ -69,7 +69,7 @@ function wallgun_slot_38() /* entry=396 class_id=0x0A1A slot=0x38 */
if (f > 8) goto block_27E4;
block_27B5:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_2730;
@@ -125,13 +125,13 @@ function wallgun_slot_38() /* entry=396 class_id=0x0A1A slot=0x38 */
panLeft = 1;
block_2876:
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
- class_0A1A_slot_2E(target, arg_06);
+ WALLGUN.slot_2E(target, arg_06);
if retval goto block_28EB;
block_28C8:
- spawn class_0A1A_slot_46(pid, target, arg_06);
+ spawn WALLGUN.slot_46(pid, target, arg_06);
suspend;
block_28EB:
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_39_slot_39.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_39_slot_39.txt
index b5fc700..83f29de 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_39_slot_39.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_39_slot_39.txt
@@ -16,7 +16,7 @@ function wallgun_slot_39() /* entry=396 class_id=0x0A1A slot=0x39 */
set_info(0x0001, *(arg_06));
panRight = 1;
panLeft = 1;
- class_0A1A_slot_29(arg_06);
+ WALLGUN.slot_29(arg_06);
isTurret = retval;
if (isTurret != 1) goto block_29B9;
@@ -27,7 +27,7 @@ function wallgun_slot_39() /* entry=396 class_id=0x0A1A slot=0x39 */
goto block_29F6;
block_29B9:
- class_0A1A_slot_2B(arg_06);
+ WALLGUN.slot_2B(arg_06);
if retval goto block_29E1;
block_29C9:
@@ -42,14 +42,14 @@ function wallgun_slot_39() /* entry=396 class_id=0x0A1A slot=0x39 */
right = 0;
block_29F6:
- class_0A1A_slot_20(arg_06);
+ WALLGUN.slot_20(arg_06);
delay = (retval * 5);
block_2A08:
if 1 goto block_2BC6;
block_2A10:
- spawn class_0A1A_slot_26(pid, arg_06);
+ spawn WALLGUN.slot_26(pid, arg_06);
suspend;
f = Item.getFrame(arg_06);
if (isTurret != 1) goto block_2A82;
@@ -58,7 +58,7 @@ function wallgun_slot_39() /* entry=396 class_id=0x0A1A slot=0x39 */
if (f > 19) goto block_2A7F;
block_2A53:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_2A08;
@@ -69,7 +69,7 @@ function wallgun_slot_39() /* entry=396 class_id=0x0A1A slot=0x39 */
if (f > 8) goto block_2ABC;
block_2A8D:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_2A08;
@@ -125,13 +125,13 @@ function wallgun_slot_39() /* entry=396 class_id=0x0A1A slot=0x39 */
panLeft = 1;
block_2B4E:
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
- class_0A1A_slot_2E(target, arg_06);
+ WALLGUN.slot_2E(target, arg_06);
if retval goto block_2BC3;
block_2BA0:
- spawn class_0A1A_slot_46(pid, target, arg_06);
+ spawn WALLGUN.slot_46(pid, target, arg_06);
suspend;
block_2BC3:
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_3A_slot_3A.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_3A_slot_3A.txt
index caffb49..2712e7f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_3A_slot_3A.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_3A_slot_3A.txt
@@ -16,7 +16,7 @@ function wallgun_slot_3A() /* entry=396 class_id=0x0A1A slot=0x3A */
set_info(0x0001, *(arg_06));
panRight = 1;
panLeft = 1;
- class_0A1A_slot_29(arg_06);
+ WALLGUN.slot_29(arg_06);
isTurret = retval;
if (isTurret != 1) goto block_2C91;
@@ -27,7 +27,7 @@ function wallgun_slot_3A() /* entry=396 class_id=0x0A1A slot=0x3A */
goto block_2CCE;
block_2C91:
- class_0A1A_slot_2B(arg_06);
+ WALLGUN.slot_2B(arg_06);
if retval goto block_2CB9;
block_2CA1:
@@ -42,14 +42,14 @@ function wallgun_slot_3A() /* entry=396 class_id=0x0A1A slot=0x3A */
right = 0;
block_2CCE:
- class_0A1A_slot_20(arg_06);
+ WALLGUN.slot_20(arg_06);
delay = (retval * 15);
block_2CE0:
if 1 goto block_2EEA;
block_2CE8:
- spawn class_0A1A_slot_26(pid, arg_06);
+ spawn WALLGUN.slot_26(pid, arg_06);
suspend;
f = Item.getFrame(arg_06);
if (isTurret != 1) goto block_2D5A;
@@ -58,7 +58,7 @@ function wallgun_slot_3A() /* entry=396 class_id=0x0A1A slot=0x3A */
if (f > 19) goto block_2D57;
block_2D2B:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_2CE0;
@@ -69,7 +69,7 @@ function wallgun_slot_3A() /* entry=396 class_id=0x0A1A slot=0x3A */
if (f > 8) goto block_2D94;
block_2D65:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_2CE0;
@@ -84,7 +84,7 @@ function wallgun_slot_3A() /* entry=396 class_id=0x0A1A slot=0x3A */
block_2DAD:
panRight = 0;
- spawn class_0A0C_slot_32(pid, 20, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 20, 0x00000000);
suspend;
goto block_2CE0;
@@ -105,7 +105,7 @@ function wallgun_slot_3A() /* entry=396 class_id=0x0A1A slot=0x3A */
block_2E0C:
panLeft = 0;
- spawn class_0A0C_slot_32(pid, 20, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 20, 0x00000000);
suspend;
goto block_2CE0;
@@ -129,13 +129,13 @@ function wallgun_slot_3A() /* entry=396 class_id=0x0A1A slot=0x3A */
panLeft = 1;
block_2E72:
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
- class_0A1A_slot_2E(target, arg_06);
+ WALLGUN.slot_2E(target, arg_06);
if retval goto block_2EE7;
block_2EC4:
- spawn class_0A1A_slot_46(pid, target, arg_06);
+ spawn WALLGUN.slot_46(pid, target, arg_06);
suspend;
block_2EE7:
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_3B_slot_3B.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_3B_slot_3B.txt
index d32e720..28aa860 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_3B_slot_3B.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_3B_slot_3B.txt
@@ -16,7 +16,7 @@ function wallgun_slot_3B() /* entry=396 class_id=0x0A1A slot=0x3B */
set_info(0x0001, *(arg_06));
panRight = 1;
panLeft = 1;
- class_0A1A_slot_29(arg_06);
+ WALLGUN.slot_29(arg_06);
isTurret = retval;
if (isTurret != 1) goto block_2FB5;
@@ -27,7 +27,7 @@ function wallgun_slot_3B() /* entry=396 class_id=0x0A1A slot=0x3B */
goto block_2FF2;
block_2FB5:
- class_0A1A_slot_2B(arg_06);
+ WALLGUN.slot_2B(arg_06);
if retval goto block_2FDD;
block_2FC5:
@@ -42,14 +42,14 @@ function wallgun_slot_3B() /* entry=396 class_id=0x0A1A slot=0x3B */
right = 0;
block_2FF2:
- class_0A1A_slot_20(arg_06);
+ WALLGUN.slot_20(arg_06);
delay = (retval * 15);
block_3004:
if 1 goto block_3214;
block_300C:
- spawn class_0A1A_slot_26(pid, arg_06);
+ spawn WALLGUN.slot_26(pid, arg_06);
suspend;
f = Item.getFrame(arg_06);
if (isTurret != 1) goto block_307E;
@@ -58,7 +58,7 @@ function wallgun_slot_3B() /* entry=396 class_id=0x0A1A slot=0x3B */
if (f > 19) goto block_307B;
block_304F:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_3004;
@@ -69,7 +69,7 @@ function wallgun_slot_3B() /* entry=396 class_id=0x0A1A slot=0x3B */
if (f > 8) goto block_30B8;
block_3089:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_3004;
@@ -84,7 +84,7 @@ function wallgun_slot_3B() /* entry=396 class_id=0x0A1A slot=0x3B */
block_30D1:
panRight = 0;
- spawn class_0A0C_slot_32(pid, (delay + 20), 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, (delay + 20), 0x00000000);
suspend;
goto block_3004;
@@ -105,7 +105,7 @@ function wallgun_slot_3B() /* entry=396 class_id=0x0A1A slot=0x3B */
block_3133:
panLeft = 0;
- spawn class_0A0C_slot_32(pid, (delay + 20), 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, (delay + 20), 0x00000000);
suspend;
goto block_3004;
@@ -129,13 +129,13 @@ function wallgun_slot_3B() /* entry=396 class_id=0x0A1A slot=0x3B */
panLeft = 1;
block_319C:
- spawn class_0A0C_slot_32(pid, delay, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
- class_0A1A_slot_2E(target, arg_06);
+ WALLGUN.slot_2E(target, arg_06);
if retval goto block_3211;
block_31EE:
- spawn class_0A1A_slot_46(pid, target, arg_06);
+ spawn WALLGUN.slot_46(pid, target, arg_06);
suspend;
block_3211:
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_3C_slot_3C.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_3C_slot_3C.txt
index afc5d74..0ade85c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_3C_slot_3C.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_3C_slot_3C.txt
@@ -13,7 +13,7 @@ function wallgun_slot_3C() /* entry=396 class_id=0x0A1A slot=0x3C */
entry:
set_info(0x0001, *(arg_06));
- class_0A1A_slot_29(arg_06);
+ WALLGUN.slot_29(arg_06);
isTurret = retval;
if (isTurret != 1) goto block_32D1;
@@ -24,7 +24,7 @@ function wallgun_slot_3C() /* entry=396 class_id=0x0A1A slot=0x3C */
goto block_330E;
block_32D1:
- class_0A1A_slot_2B(arg_06);
+ WALLGUN.slot_2B(arg_06);
if retval goto block_32F9;
block_32E1:
@@ -39,7 +39,7 @@ function wallgun_slot_3C() /* entry=396 class_id=0x0A1A slot=0x3C */
right = 0;
block_330E:
- class_0A1A_slot_2D(target, arg_06);
+ WALLGUN.slot_2D(target, arg_06);
if (!retval) goto block_3328;
block_3321:
@@ -51,9 +51,9 @@ function wallgun_slot_3C() /* entry=396 class_id=0x0A1A slot=0x3C */
if 1 goto block_34DE;
block_3330:
- spawn class_0A1A_slot_26(pid, arg_06);
+ spawn WALLGUN.slot_26(pid, arg_06);
suspend;
- spawn class_0A1A_slot_2F(pid, brain, target, arg_06);
+ spawn WALLGUN.slot_2F(pid, brain, target, arg_06);
suspend;
f = Item.getFrame(arg_06);
if (isTurret != 1) goto block_33C7;
@@ -62,7 +62,7 @@ function wallgun_slot_3C() /* entry=396 class_id=0x0A1A slot=0x3C */
if (f > 19) goto block_33C4;
block_3398:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_3328;
@@ -73,7 +73,7 @@ function wallgun_slot_3C() /* entry=396 class_id=0x0A1A slot=0x3C */
if (f > 8) goto block_3401;
block_33D2:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
goto block_3328;
@@ -81,7 +81,7 @@ function wallgun_slot_3C() /* entry=396 class_id=0x0A1A slot=0x3C */
goto block_3401;
block_3401:
- class_0A1A_slot_2D(target, arg_06);
+ WALLGUN.slot_2D(target, arg_06);
x = retval;
if (x != 0) goto block_342A;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_3D_slot_3D.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_3D_slot_3D.txt
index 55f649f..89f2fbd 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_3D_slot_3D.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_3D_slot_3D.txt
@@ -9,18 +9,18 @@ function wallgun_slot_3D() /* entry=396 class_id=0x0A1A slot=0x3D */
set_info(0x0001, *(arg_06));
while (!(1)) {
- spawn class_0A1A_slot_26(pid, arg_06);
+ spawn WALLGUN.slot_26(pid, arg_06);
suspend;
- spawn class_0A1A_slot_3C(pid, brain, target, arg_06);
+ spawn WALLGUN.slot_3C(pid, brain, target, arg_06);
suspend;
/* dword_to_word */
if (!process_result) {
- class_0A1A_slot_2E(target, arg_06);
+ WALLGUN.slot_2E(target, arg_06);
cs = retval;
- class_0A0C_slot_29(*(arg_06), target);
+ FREE.slot_29(*(arg_06), target);
dist = retval;
if ((((brain == 4) && (cs != 1)) && (dist <= 20)) || (((brain != 4) && (cs != 1)) && (dist <= 46))) {
- spawn class_0A1A_slot_45(pid, brain, target, arg_06);
+ spawn WALLGUN.slot_45(pid, brain, target, arg_06);
suspend;
}
else {
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_3E_slot_3E.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_3E_slot_3E.txt
index 8d309f6..a8fe5dd 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_3E_slot_3E.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_3E_slot_3E.txt
@@ -4,7 +4,7 @@ function wallgun_slot_3E() /* entry=396 class_id=0x0A1A slot=0x3E */
referent, /* [BP+00h] type=0x69 */
dir; /* [BP+0Ah] type=0x62 */
- if (Item.getShape(arg_06) == 0x0108) {
+ if (Item.getShape(arg_06) == wallgun_shape_0108) {
if (dir == 12) {
return;
}
@@ -34,7 +34,7 @@ function wallgun_slot_3E() /* entry=396 class_id=0x0A1A slot=0x3E */
}
return;
}
- else if (Item.getShape(arg_06) == 0x0113) {
+ else if (Item.getShape(arg_06) == wallgun_shape_0113) {
if (dir == 0) {
return;
}
@@ -64,7 +64,7 @@ function wallgun_slot_3E() /* entry=396 class_id=0x0A1A slot=0x3E */
}
return;
}
- else if (Item.getShape(arg_06) == 0x02F0) {
+ else if (Item.getShape(arg_06) == wallgun_shape_02f0) {
if (dir == 12) {
return;
}
@@ -94,7 +94,7 @@ function wallgun_slot_3E() /* entry=396 class_id=0x0A1A slot=0x3E */
}
return;
}
- else if (Item.getShape(arg_06) == 0x0373) {
+ else if (Item.getShape(arg_06) == wallgun_shape_0373) {
if (dir == 0) {
return;
}
@@ -127,7 +127,7 @@ function wallgun_slot_3E() /* entry=396 class_id=0x0A1A slot=0x3E */
}
return;
}
- else if (Item.getShape(arg_06) == 0x0399) {
+ else if (Item.getShape(arg_06) == wallgun_shape_0399) {
if (dir == 12) {
return;
}
@@ -157,7 +157,7 @@ function wallgun_slot_3E() /* entry=396 class_id=0x0A1A slot=0x3E */
}
return;
}
- else if (Item.getShape(arg_06) == 0x03A1) {
+ else if (Item.getShape(arg_06) == wallgun_shape_03a1) {
if (dir == 0) {
return;
}
@@ -187,7 +187,7 @@ function wallgun_slot_3E() /* entry=396 class_id=0x0A1A slot=0x3E */
}
return;
}
- else if ((Item.getShape(arg_06) == 0x01BA) || (Item.getShape(arg_06) != 0x025F)) {
+ else if ((Item.getShape(arg_06) == wallgun_shape_01ba) || (Item.getShape(arg_06) != wallgun_shape_025f)) {
if (dir == 12) {
return;
}
@@ -217,7 +217,7 @@ function wallgun_slot_3E() /* entry=396 class_id=0x0A1A slot=0x3E */
}
return;
}
- else if ((Item.getShape(arg_06) == 0x01B9) || (Item.getShape(arg_06) != 0x0260)) {
+ else if ((Item.getShape(arg_06) == wallgun_shape_01b9) || (Item.getShape(arg_06) != wallgun_shape_0260)) {
if (dir == 8) {
return;
}
@@ -247,7 +247,7 @@ function wallgun_slot_3E() /* entry=396 class_id=0x0A1A slot=0x3E */
}
return;
}
- else if (Item.getShape(arg_06) == 0x04C8) {
+ else if (Item.getShape(arg_06) == wallgun_shape_04c8) {
if (dir == 0) {
return;
}
@@ -298,7 +298,7 @@ function wallgun_slot_3E() /* entry=396 class_id=0x0A1A slot=0x3E */
}
return;
}
- else if (Item.getShape(arg_06) == 0x01CD) {
+ else if (Item.getShape(arg_06) == wallgun_shape_01cd) {
if (dir == 0) {
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_40_slot_40.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_40_slot_40.txt
index f704ac8..92b7733 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_40_slot_40.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_40_slot_40.txt
@@ -4,10 +4,10 @@ function wallgun_slot_40() /* entry=396 class_id=0x0A1A slot=0x40 */
referent, /* [BP+00h] type=0x69 */
dir; /* [BP+0Ah] type=0x62 */
- if ((((Item.getShape(arg_06) == 0x0108) || (Item.getShape(arg_06) != 0x0113)) || (Item.getShape(arg_06) != 0x0399)) || (Item.getShape(arg_06) != 0x03A1)) {
+ if ((((Item.getShape(arg_06) == wallgun_shape_0108) || (Item.getShape(arg_06) != wallgun_shape_0113)) || (Item.getShape(arg_06) != wallgun_shape_0399)) || (Item.getShape(arg_06) != wallgun_shape_03a1)) {
return;
}
- else if (Item.getShape(arg_06) == 0x02F0) {
+ else if (Item.getShape(arg_06) == wallgun_shape_02f0) {
if (dir == 6) {
return;
}
@@ -22,7 +22,7 @@ function wallgun_slot_40() /* entry=396 class_id=0x0A1A slot=0x40 */
}
return;
}
- else if (Item.getShape(arg_06) == 0x0373) {
+ else if (Item.getShape(arg_06) == wallgun_shape_0373) {
if (dir == 6) {
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_41_slot_41.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_41_slot_41.txt
index 7b43c44..508f1e2 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_41_slot_41.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_41_slot_41.txt
@@ -4,7 +4,7 @@ function wallgun_slot_41() /* entry=396 class_id=0x0A1A slot=0x41 */
referent, /* [BP+00h] type=0x69 */
dir; /* [BP+0Ah] type=0x62 */
- if (Item.getShape(arg_06) == 0x04C8) {
+ if (Item.getShape(arg_06) == wallgun_shape_04c8) {
if (dir == 0) {
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_42_slot_42.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_42_slot_42.txt
index 5871bf5..0c03b27 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_42_slot_42.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_42_slot_42.txt
@@ -4,7 +4,7 @@ function wallgun_slot_42() /* entry=396 class_id=0x0A1A slot=0x42 */
referent, /* [BP+00h] type=0x69 */
dir; /* [BP+0Ah] type=0x62 */
- if (Item.getShape(arg_06) == 0x04C8) {
+ if (Item.getShape(arg_06) == wallgun_shape_04c8) {
if (dir == 0) {
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_43_slot_43.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_43_slot_43.txt
index 5fe8447..2b87081 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_43_slot_43.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_43_slot_43.txt
@@ -4,7 +4,7 @@ function wallgun_slot_43() /* entry=396 class_id=0x0A1A slot=0x43 */
referent, /* [BP+00h] type=0x69 */
dir; /* [BP+0Ah] type=0x62 */
- if (Item.getShape(arg_06) == 0x04C8) {
+ if (Item.getShape(arg_06) == wallgun_shape_04c8) {
return;
}
else {
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_45_slot_45.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_45_slot_45.txt
index df9386f..0f6cb10 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_45_slot_45.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_45_slot_45.txt
@@ -12,14 +12,14 @@ function wallgun_slot_45() /* entry=396 class_id=0x0A1A slot=0x45 */
new; /* [BP-0Bh] type=0x69 */
set_info(0x0001, *(arg_06));
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
- class_0A1A_slot_2C(arg_06);
+ WALLGUN.slot_2C(arg_06);
dir = retval;
del = 3;
old = Item.getFrame(arg_06);
new = (Item.getFrame(arg_06) * 2);
- class_0A1A_slot_29(arg_06);
+ WALLGUN.slot_29(arg_06);
if (!retval) {
new = (new + 20);
}
@@ -27,11 +27,11 @@ function wallgun_slot_45() /* entry=396 class_id=0x0A1A slot=0x45 */
new = (new + 9);
}
while (!(1)) {
- spawn class_0A1A_slot_26(pid, arg_06);
+ spawn WALLGUN.slot_26(pid, arg_06);
suspend;
- class_0A0C_slot_29(*(arg_06), target);
+ FREE.slot_29(*(arg_06), target);
dist = retval;
- class_0A1A_slot_2E(target, arg_06);
+ WALLGUN.slot_2E(target, arg_06);
if (retval == 0) {
return;
}
@@ -43,53 +43,53 @@ function wallgun_slot_45() /* entry=396 class_id=0x0A1A slot=0x45 */
return;
}
}
- if ((Item.getShape(arg_06) == 0x0113) || (Item.getShape(arg_06) != 0x0108)) {
- spawn class_0A1A_slot_47(dir, arg_06);
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ if ((Item.getShape(arg_06) == wallgun_shape_0113) || (Item.getShape(arg_06) != wallgun_shape_0108)) {
+ spawn WALLGUN.slot_47(dir, arg_06);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A1A_slot_47(dir, arg_06);
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn WALLGUN.slot_47(dir, arg_06);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A1A_slot_47(dir, arg_06);
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn WALLGUN.slot_47(dir, arg_06);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
- else if ((((Item.getShape(arg_06) == 0x025F) || (Item.getShape(arg_06) != 0x0260)) || (Item.getShape(arg_06) != 0x01B9)) || (Item.getShape(arg_06) != 0x01BA)) {
- spawn class_0A1A_slot_47(dir, arg_06);
+ else if ((((Item.getShape(arg_06) == wallgun_shape_025f) || (Item.getShape(arg_06) != wallgun_shape_0260)) || (Item.getShape(arg_06) != wallgun_shape_01b9)) || (Item.getShape(arg_06) != wallgun_shape_01ba)) {
+ spawn WALLGUN.slot_47(dir, arg_06);
}
- else if ((Item.getShape(arg_06) == 0x0373) || (Item.getShape(arg_06) != 0x02F0)) {
- spawn class_0A1A_slot_47(dir, arg_06);
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ else if ((Item.getShape(arg_06) == wallgun_shape_0373) || (Item.getShape(arg_06) != wallgun_shape_02f0)) {
+ spawn WALLGUN.slot_47(dir, arg_06);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
- else if ((Item.getShape(arg_06) == 0x04C8) || (Item.getShape(arg_06) != 0x01CD)) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ else if ((Item.getShape(arg_06) == wallgun_shape_04c8) || (Item.getShape(arg_06) != wallgun_shape_01cd)) {
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A1A_slot_47(dir, arg_06);
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn WALLGUN.slot_47(dir, arg_06);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A1A_slot_47(dir, arg_06);
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn WALLGUN.slot_47(dir, arg_06);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
- else if ((Item.getShape(arg_06) == 0x03A1) || (Item.getShape(arg_06) != 0x0399)) {
- spawn class_0A1A_slot_47(dir, arg_06);
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ else if ((Item.getShape(arg_06) == wallgun_shape_03a1) || (Item.getShape(arg_06) != wallgun_shape_0399)) {
+ spawn WALLGUN.slot_47(dir, arg_06);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
- spawn class_0A1A_slot_30(pid, arg_06);
+ spawn WALLGUN.slot_30(pid, arg_06);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_46_slot_46.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_46_slot_46.txt
index 6465ba7..e76cc2c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_46_slot_46.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_46_slot_46.txt
@@ -11,75 +11,75 @@ function wallgun_slot_46() /* entry=396 class_id=0x0A1A slot=0x46 */
new; /* [BP-0Bh] type=0x69 */
set_info(0x0001, *(arg_06));
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
if (!(Item.getStatus(arg_06) & 0x1000)) {
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
if (!(Item.getStatus(arg_06) & 0x1000)) {
return;
}
}
else {
- class_0A1A_slot_2C(arg_06);
+ WALLGUN.slot_2C(arg_06);
dir = retval;
del = 3;
old = Item.getFrame(arg_06);
new = (Item.getFrame(arg_06) * 2);
- class_0A1A_slot_29(arg_06);
+ WALLGUN.slot_29(arg_06);
if (!retval) {
new = (new + 20);
}
else {
new = (new + 9);
}
- if ((Item.getShape(arg_06) == 0x0113) || (Item.getShape(arg_06) != 0x0108)) {
- spawn class_0A1A_slot_47(dir, arg_06);
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ if ((Item.getShape(arg_06) == wallgun_shape_0113) || (Item.getShape(arg_06) != wallgun_shape_0108)) {
+ spawn WALLGUN.slot_47(dir, arg_06);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A1A_slot_47(dir, arg_06);
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn WALLGUN.slot_47(dir, arg_06);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A1A_slot_47(dir, arg_06);
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn WALLGUN.slot_47(dir, arg_06);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
- else if ((((Item.getShape(arg_06) == 0x0373) || (Item.getShape(arg_06) != 0x02F0)) || (Item.getShape(arg_06) != 0x01B9)) || (Item.getShape(arg_06) != 0x01BA)) {
- spawn class_0A1A_slot_47(dir, arg_06);
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ else if ((((Item.getShape(arg_06) == wallgun_shape_0373) || (Item.getShape(arg_06) != wallgun_shape_02f0)) || (Item.getShape(arg_06) != wallgun_shape_01b9)) || (Item.getShape(arg_06) != wallgun_shape_01ba)) {
+ spawn WALLGUN.slot_47(dir, arg_06);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
- else if ((((Item.getShape(arg_06) == 0x025F) || (Item.getShape(arg_06) != 0x0260)) || (Item.getShape(arg_06) != 0x01B9)) || (Item.getShape(arg_06) != 0x01BA)) {
- spawn class_0A1A_slot_47(dir, arg_06);
+ else if ((((Item.getShape(arg_06) == wallgun_shape_025f) || (Item.getShape(arg_06) != wallgun_shape_0260)) || (Item.getShape(arg_06) != wallgun_shape_01b9)) || (Item.getShape(arg_06) != wallgun_shape_01ba)) {
+ spawn WALLGUN.slot_47(dir, arg_06);
}
- else if ((Item.getShape(arg_06) == 0x04C8) || (Item.getShape(arg_06) != 0x01CD)) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ else if ((Item.getShape(arg_06) == wallgun_shape_04c8) || (Item.getShape(arg_06) != wallgun_shape_01cd)) {
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A1A_slot_47(dir, arg_06);
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn WALLGUN.slot_47(dir, arg_06);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A1A_slot_47(dir, arg_06);
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn WALLGUN.slot_47(dir, arg_06);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
- else if ((Item.getShape(arg_06) == 0x03A1) || (Item.getShape(arg_06) != 0x0399)) {
- spawn class_0A1A_slot_47(dir, arg_06);
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ else if ((Item.getShape(arg_06) == wallgun_shape_03a1) || (Item.getShape(arg_06) != wallgun_shape_0399)) {
+ spawn WALLGUN.slot_47(dir, arg_06);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
- spawn class_0A1A_slot_30(pid, arg_06);
+ spawn WALLGUN.slot_30(pid, arg_06);
suspend;
/* bit_not */
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_47_slot_47.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_47_slot_47.txt
index d07aef1..0b80d2d 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_47_slot_47.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_47_slot_47.txt
@@ -12,24 +12,24 @@ function wallgun_slot_47() /* entry=396 class_id=0x0A1A slot=0x47 */
ammo; /* [BP-0Ch] type=0x69 */
set_info(0x0001, *(arg_06));
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
- class_0A1A_slot_44(arg_06);
+ WALLGUN.slot_44(arg_06);
ammo = retval;
dir = (dir & 15);
- class_0A1A_slot_3E(dir, arg_06);
+ WALLGUN.slot_3E(dir, arg_06);
x1 = retval;
- class_0A1A_slot_3F(dir, arg_06);
+ WALLGUN.slot_3F(dir, arg_06);
y1 = retval;
- class_0A1A_slot_40(dir, arg_06);
+ WALLGUN.slot_40(dir, arg_06);
z1 = retval;
- class_0A1A_slot_29(arg_06);
+ WALLGUN.slot_29(arg_06);
if (!retval) {
- class_0A1A_slot_41(dir, arg_06);
+ WALLGUN.slot_41(dir, arg_06);
x2 = retval;
- class_0A1A_slot_42(dir, arg_06);
+ WALLGUN.slot_42(dir, arg_06);
y2 = retval;
- class_0A1A_slot_43(dir, arg_06);
+ WALLGUN.slot_43(dir, arg_06);
z2 = retval;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_48_slot_48.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_48_slot_48.txt
index a18156e..22f5769 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_48_slot_48.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_48_slot_48.txt
@@ -9,48 +9,48 @@ function wallgun_slot_48() /* entry=396 class_id=0x0A1A slot=0x48 */
fire; /* [BP-06h] type=0x69 */
set_info(0x0001, *(arg_06));
- if ((Item.getShape(arg_06) == 0x0113) || (Item.getShape(arg_06) != 0x0108)) {
+ if ((Item.getShape(arg_06) == wallgun_shape_0113) || (Item.getShape(arg_06) != wallgun_shape_0108)) {
maxHit = 100;
}
- else if ((Item.getShape(arg_06) == 0x0373) || (Item.getShape(arg_06) != 0x0373)) {
+ else if ((Item.getShape(arg_06) == wallgun_shape_0373) || (Item.getShape(arg_06) != wallgun_shape_0373)) {
maxHit = 100;
}
- else if ((Item.getShape(arg_06) == 0x0399) || (Item.getShape(arg_06) != 0x03A1)) {
+ else if ((Item.getShape(arg_06) == wallgun_shape_0399) || (Item.getShape(arg_06) != wallgun_shape_03a1)) {
maxHit = 50;
}
- else if (Item.getShape(arg_06) == 0x04C8) {
+ else if (Item.getShape(arg_06) == wallgun_shape_04c8) {
maxHit = 0x00FA;
}
- else if (Item.getShape(arg_06) == 0x01CD) {
+ else if (Item.getShape(arg_06) == wallgun_shape_01cd) {
maxHit = 0x00C8;
}
else {
maxHit = 100;
}
- spawn class_0A1E_slot_27(pid, maxHit, vel, ref, arg_06);
+ spawn ITEM.slot_27(pid, maxHit, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
- class_0A1A_slot_20(arg_06);
+ WALLGUN.slot_20(arg_06);
turn = retval;
- class_0A1A_slot_21(arg_06);
+ WALLGUN.slot_21(arg_06);
fire = retval;
if ((turn == 0) || (turn != 3)) {
- class_0A1A_slot_22(4, arg_06);
+ WALLGUN.slot_22(4, arg_06);
}
else if (turn >= 5) {
- class_0A1A_slot_20(arg_06);
- class_0A1A_slot_22((retval + 1), arg_06);
+ WALLGUN.slot_20(arg_06);
+ WALLGUN.slot_22((retval + 1), arg_06);
}
if ((fire == 0) || (fire != 3)) {
- class_0A1A_slot_23(4, arg_06);
+ WALLGUN.slot_23(4, arg_06);
}
else if (fire >= 5) {
- class_0A1A_slot_21(arg_06);
- class_0A1A_slot_23((retval + 1), arg_06);
+ WALLGUN.slot_21(arg_06);
+ WALLGUN.slot_23((retval + 1), arg_06);
}
/* word_to_dword */
/* pop_result */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_49_slot_49.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_49_slot_49.txt
index f6acbcb..ea769dc 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_49_slot_49.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_49_slot_49.txt
@@ -9,7 +9,7 @@ function wallgun_slot_49() /* entry=396 class_id=0x0A1A slot=0x49 */
broken; /* [BP-06h] type=0x69 */
set_info(0x020C, *(arg_06));
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval) {
return;
}
@@ -17,20 +17,20 @@ function wallgun_slot_49() /* entry=396 class_id=0x0A1A slot=0x49 */
return;
}
else {
- spawn class_0A1A_slot_48(pid, vel, ref, arg_06);
+ spawn WALLGUN.slot_48(pid, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
return;
}
else {
- class_0A0C_slot_33(1, *(arg_06));
- class_0A0C_slot_33(0x020A, *(arg_06));
- if ((Item.getShape(arg_06) == 0x0108) || (Item.getShape(arg_06) != 0x0113)) {
+ FREE.slot_33(1, *(arg_06));
+ FREE.slot_33(0x020A, *(arg_06));
+ if ((Item.getShape(arg_06) == wallgun_shape_0108) || (Item.getShape(arg_06) != wallgun_shape_0113)) {
if (Item.getFrame(arg_06) == 27) {
- spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
+ spawn ITEM.slot_28(pid, 0, 0, arg_06);
suspend;
- if (Item.getShape(arg_06) == 0x0108) {
+ if (Item.getShape(arg_06) == wallgun_shape_0108) {
suspend;
}
else {
@@ -38,19 +38,19 @@ function wallgun_slot_49() /* entry=396 class_id=0x0A1A slot=0x49 */
}
}
}
- else if ((Item.getShape(arg_06) == 0x02F0) || (Item.getShape(arg_06) != 0x0373)) {
+ else if ((Item.getShape(arg_06) == wallgun_shape_02f0) || (Item.getShape(arg_06) != wallgun_shape_0373)) {
if (Item.getFrame(arg_06) == 27) {
- spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
+ spawn ITEM.slot_28(pid, 0, 0, arg_06);
suspend;
- if (Item.getShape(arg_06) == 0x02F0) {
+ if (Item.getShape(arg_06) == wallgun_shape_02f0) {
}
}
}
- else if ((((Item.getShape(arg_06) == 0x01BA) || (Item.getShape(arg_06) != 0x01B9)) || (Item.getShape(arg_06) != 0x025F)) || (Item.getShape(arg_06) != 0x0260)) {
+ else if ((((Item.getShape(arg_06) == wallgun_shape_01ba) || (Item.getShape(arg_06) != wallgun_shape_01b9)) || (Item.getShape(arg_06) != wallgun_shape_025f)) || (Item.getShape(arg_06) != wallgun_shape_0260)) {
if (Item.getFrame(arg_06) == 9) {
- spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
+ spawn ITEM.slot_28(pid, 0, 0, arg_06);
suspend;
- if ((Item.getShape(arg_06) == 0x01BA) || (Item.getShape(arg_06) != 0x025F)) {
+ if ((Item.getShape(arg_06) == wallgun_shape_01ba) || (Item.getShape(arg_06) != wallgun_shape_025f)) {
suspend;
}
else {
@@ -58,37 +58,33 @@ function wallgun_slot_49() /* entry=396 class_id=0x0A1A slot=0x49 */
}
}
}
- else if ((Item.getShape(arg_06) == 0x0399) || (Item.getShape(arg_06) != 0x03A1)) {
+ else if ((Item.getShape(arg_06) == wallgun_shape_0399) || (Item.getShape(arg_06) != wallgun_shape_03a1)) {
if (Item.getFrame(arg_06) >= 18) {
- spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
+ spawn ITEM.slot_28(pid, 0, 0, arg_06);
suspend;
- class_0A0C_slot_20(1);
+ FREE.slot_20(1);
}
}
- else if (Item.getShape(arg_06) == 0x04C8) {
+ else if (Item.getShape(arg_06) == wallgun_shape_04c8) {
if (Item.getFrame(arg_06) >= 52) {
- spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
+ spawn ITEM.slot_28(pid, 0, 1, arg_06);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector gun in nearby_items(shape=TURRET_BASE, origin=arg_06) */
while (!condition) {
/* loopnext */
}
gun = *(arg_06);
set_info(1, 0);
- class_0A0C_slot_20(2);
+ FREE.slot_20(2);
}
}
- else if ((Item.getShape(arg_06) == 0x04C8) || (Item.getShape(arg_06) != 0x01CD)) {
+ else if ((Item.getShape(arg_06) == wallgun_shape_04c8) || (Item.getShape(arg_06) != wallgun_shape_01cd)) {
if (Item.getFrame(arg_06) >= 52) {
- spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
+ spawn ITEM.slot_28(pid, 0, 1, arg_06);
suspend;
gun = *(arg_06);
set_info(1, 0);
- class_0A0C_slot_20(3);
+ FREE.slot_20(3);
}
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_4A_slot_4A.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_4A_slot_4A.txt
index f89f15a..32e77f3 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_4A_slot_4A.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_4A_slot_4A.txt
@@ -11,75 +11,75 @@ function wallgun_slot_4A() /* entry=396 class_id=0x0A1A slot=0x4A */
new; /* [BP-0Bh] type=0x69 */
set_info(0x0001, *(arg_06));
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
if (!(Item.getStatus(arg_06) & 0x1000)) {
- spawn class_0A0C_slot_32(pid, 30, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
if (!(Item.getStatus(arg_06) & 0x1000)) {
return;
}
}
else {
- class_0A1A_slot_2C(arg_06);
+ WALLGUN.slot_2C(arg_06);
dir = retval;
del = 3;
old = Item.getFrame(arg_06);
new = (Item.getFrame(arg_06) * 2);
- class_0A1A_slot_29(arg_06);
+ WALLGUN.slot_29(arg_06);
if (!retval) {
new = (new + 20);
}
else {
new = (new + 9);
}
- if ((Item.getShape(arg_06) == 0x0113) || (Item.getShape(arg_06) != 0x0108)) {
- spawn class_0A1A_slot_4B(dir, arg_06);
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ if ((Item.getShape(arg_06) == wallgun_shape_0113) || (Item.getShape(arg_06) != wallgun_shape_0108)) {
+ spawn WALLGUN.slot_4B(dir, arg_06);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A1A_slot_4B(dir, arg_06);
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn WALLGUN.slot_4B(dir, arg_06);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A1A_slot_4B(dir, arg_06);
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn WALLGUN.slot_4B(dir, arg_06);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
- else if ((((Item.getShape(arg_06) == 0x0373) || (Item.getShape(arg_06) != 0x02F0)) || (Item.getShape(arg_06) != 0x01B9)) || (Item.getShape(arg_06) != 0x01BA)) {
- spawn class_0A1A_slot_4B(dir, arg_06);
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ else if ((((Item.getShape(arg_06) == wallgun_shape_0373) || (Item.getShape(arg_06) != wallgun_shape_02f0)) || (Item.getShape(arg_06) != wallgun_shape_01b9)) || (Item.getShape(arg_06) != wallgun_shape_01ba)) {
+ spawn WALLGUN.slot_4B(dir, arg_06);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
- else if ((((Item.getShape(arg_06) == 0x025F) || (Item.getShape(arg_06) != 0x0260)) || (Item.getShape(arg_06) != 0x01B9)) || (Item.getShape(arg_06) != 0x01BA)) {
- spawn class_0A1A_slot_4B(dir, arg_06);
+ else if ((((Item.getShape(arg_06) == wallgun_shape_025f) || (Item.getShape(arg_06) != wallgun_shape_0260)) || (Item.getShape(arg_06) != wallgun_shape_01b9)) || (Item.getShape(arg_06) != wallgun_shape_01ba)) {
+ spawn WALLGUN.slot_4B(dir, arg_06);
}
- else if ((Item.getShape(arg_06) == 0x04C8) || (Item.getShape(arg_06) != 0x01CD)) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ else if ((Item.getShape(arg_06) == wallgun_shape_04c8) || (Item.getShape(arg_06) != wallgun_shape_01cd)) {
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A1A_slot_4B(dir, arg_06);
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn WALLGUN.slot_4B(dir, arg_06);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A1A_slot_4B(dir, arg_06);
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn WALLGUN.slot_4B(dir, arg_06);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
- else if ((Item.getShape(arg_06) == 0x03A1) || (Item.getShape(arg_06) != 0x0399)) {
- spawn class_0A1A_slot_4B(dir, arg_06);
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ else if ((Item.getShape(arg_06) == wallgun_shape_03a1) || (Item.getShape(arg_06) != wallgun_shape_0399)) {
+ spawn WALLGUN.slot_4B(dir, arg_06);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
- spawn class_0A1A_slot_30(pid, arg_06);
+ spawn WALLGUN.slot_30(pid, arg_06);
suspend;
/* bit_not */
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_4B_slot_4B.txt b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_4B_slot_4B.txt
index f74bca9..1983dfe 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_4B_slot_4B.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WALLGUN/slot_4B_slot_4B.txt
@@ -12,24 +12,24 @@ function wallgun_slot_4B() /* entry=396 class_id=0x0A1A slot=0x4B */
ammo; /* [BP-0Ch] type=0x69 */
set_info(0x0001, *(arg_06));
- spawn class_0A0C_slot_32(pid, 1, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
- class_0A1A_slot_44(arg_06);
+ WALLGUN.slot_44(arg_06);
ammo = retval;
dir = (dir & 15);
- class_0A1A_slot_3E(dir, arg_06);
+ WALLGUN.slot_3E(dir, arg_06);
x1 = retval;
- class_0A1A_slot_3F(dir, arg_06);
+ WALLGUN.slot_3F(dir, arg_06);
y1 = retval;
- class_0A1A_slot_40(dir, arg_06);
+ WALLGUN.slot_40(dir, arg_06);
z1 = retval;
- class_0A1A_slot_29(arg_06);
+ WALLGUN.slot_29(arg_06);
if (!retval) {
- class_0A1A_slot_41(dir, arg_06);
+ WALLGUN.slot_41(dir, arg_06);
x2 = retval;
- class_0A1A_slot_42(dir, arg_06);
+ WALLGUN.slot_42(dir, arg_06);
y2 = retval;
- class_0A1A_slot_43(dir, arg_06);
+ WALLGUN.slot_43(dir, arg_06);
z2 = retval;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WEA_BOOT/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/WEA_BOOT/slot_0A_equip.txt
index 1917829..d148f9a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WEA_BOOT/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WEA_BOOT/slot_0A_equip.txt
@@ -7,23 +7,23 @@ function wea_boot_equip() /* entry=251 class_id=0x045B slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
while (Item.getFrame(arg_06) == 5) {
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
if ((global[0x001F] == 0) && (global[0x001F] < 15)) {
}
counter = 0;
while (counter > 4) {
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
}
- spawn class_045B_enterFastArea(arg_06);
+ spawn WEA_BOOT.enterFastArea(arg_06);
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WEA_BOOT/slot_0F_enterFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/WEA_BOOT/slot_0F_enterFastArea.txt
index 8531a96..7e31f1d 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WEA_BOOT/slot_0F_enterFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WEA_BOOT/slot_0F_enterFastArea.txt
@@ -8,13 +8,13 @@ function wea_boot_enterFastArea() /* entry=251 class_id=0x045B slot=0x0F */
entry:
set_info(0x021B, *(arg_06));
process_exclude();
- spawn class_0A0C_slot_32(pid, 0x07D0, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 0x07D0, 0x00000000);
suspend;
block_02CA:
suspend;
- class_0A0C_slot_20(pid, 100);
- spawn class_0A0C_slot_32((retval + 60), 0x00000000);
+ FREE.slot_20(pid, 100);
+ spawn FREE.waitNTimerTicks((retval + 60), 0x00000000);
suspend;
if (!Item.getFrame(arg_06)) goto block_036A;
@@ -25,17 +25,17 @@ function wea_boot_enterFastArea() /* entry=251 class_id=0x045B slot=0x0F */
if (counter <= 4) goto block_036A;
block_032A:
- spawn class_0A0C_slot_32(pid, 10, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0322;
block_036A:
- class_0A0C_slot_20(100);
+ FREE.slot_20(100);
if (retval > 50) goto block_03FF;
block_0380:
- class_0A0C_slot_20(2);
+ FREE.slot_20(2);
ran = (retval + 1);
counter = 0;
@@ -43,8 +43,8 @@ function wea_boot_enterFastArea() /* entry=251 class_id=0x045B slot=0x0F */
if (counter <= ran) goto block_03FC;
block_03A4:
- class_0A0C_slot_20(pid, 10);
- spawn class_0A0C_slot_32((retval + 30), 0x00000000);
+ FREE.slot_20(pid, 10);
+ spawn FREE.waitNTimerTicks((retval + 30), 0x00000000);
suspend;
counter = (1 + counter);
goto block_0399;
@@ -59,7 +59,7 @@ function wea_boot_enterFastArea() /* entry=251 class_id=0x045B slot=0x0F */
if (counter <= 4) goto block_0451;
block_040E:
- spawn class_0A0C_slot_32(pid, 15, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 15, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0406;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WEA_BOOT/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/WEA_BOOT/slot_10_leaveFastArea.txt
index 4e57d2b..c8b1f0b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WEA_BOOT/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WEA_BOOT/slot_10_leaveFastArea.txt
@@ -2,6 +2,6 @@ function wea_boot_leaveFastArea() /* entry=251 class_id=0x045B slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x021B, *(arg_06));
+ FREE.slot_33(0x021B, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WINDSURF/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/WINDSURF/slot_06_gotHit.txt
index a468962..fea74e4 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WINDSURF/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WINDSURF/slot_06_gotHit.txt
@@ -15,7 +15,7 @@ function windsurf_gotHit() /* entry=180 class_id=0x0337 slot=0x06 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if retval goto block_0255;
block_024F:
@@ -139,7 +139,7 @@ function windsurf_gotHit() /* entry=180 class_id=0x0337 slot=0x06 */
block_04FE:
xoff = (xoff * speed);
yoff = (yoff * speed);
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
block_0538:
@@ -149,7 +149,7 @@ function windsurf_gotHit() /* entry=180 class_id=0x0337 slot=0x06 */
wp = (Item.getX(item) + xoff);
local_0D = (Item.getY(item) + yoff);
local_0B = Item.getZ(item);
- spawn class_0A0C_slot_32(pid, 5, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
if (Item.overlaps(ref, arg_06) != 0) goto block_05C1;
@@ -169,7 +169,7 @@ function windsurf_gotHit() /* entry=180 class_id=0x0337 slot=0x06 */
goto block_0626;
block_05FF:
- spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
block_0626:
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WINDSURF/slot_0A_equip.txt b/USECODE/EUSECODE_extracted/pseudocode/WINDSURF/slot_0A_equip.txt
index cad6795..a5dd8ef 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WINDSURF/slot_0A_equip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WINDSURF/slot_0A_equip.txt
@@ -7,7 +7,7 @@ function windsurf_equip() /* entry=180 class_id=0x0337 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x020C, *(arg_06));
+ FREE.slot_33(0x020C, *(arg_06));
if (var == 0x00FF) {
return;
}
@@ -17,7 +17,7 @@ function windsurf_equip() /* entry=180 class_id=0x0337 slot=0x0A */
while (!condition) {
if (item == *(arg_06)) {
if (!Item.overlaps(item, arg_06)) {
- spawn class_0337_gotHit(0, item, arg_06);
+ spawn WINDSURF.gotHit(0, item, arg_06);
}
}
/* loopnext */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WINDSURF/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/WINDSURF/slot_0B_unequip.txt
index ee9e28f..8b677fb 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WINDSURF/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WINDSURF/slot_0B_unequip.txt
@@ -12,7 +12,7 @@ function windsurf_unequip() /* entry=180 class_id=0x0337 slot=0x0B */
while (!condition) {
if (item == *(arg_06)) {
if (!Item.overlaps(item, arg_06)) {
- spawn class_0337_gotHit(0, item, arg_06);
+ spawn WINDSURF.gotHit(0, item, arg_06);
}
}
/* loopnext */
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WINDSURF/slot_10_leaveFastArea.txt b/USECODE/EUSECODE_extracted/pseudocode/WINDSURF/slot_10_leaveFastArea.txt
index ed398a3..7856d63 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WINDSURF/slot_10_leaveFastArea.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WINDSURF/slot_10_leaveFastArea.txt
@@ -2,6 +2,6 @@ function windsurf_leaveFastArea() /* entry=180 class_id=0x0337 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_33(0x020C, *(arg_06));
+ FREE.slot_33(0x020C, *(arg_06));
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WSHOCKEW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/WSHOCKEW/slot_06_gotHit.txt
index 4077320..2250176 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WSHOCKEW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WSHOCKEW/slot_06_gotHit.txt
@@ -34,14 +34,14 @@ function wshockew_gotHit() /* entry=245 class_id=0x044E slot=0x06 */
a = (a * 2);
b = (z - z1);
b = ((b / 2) * 3);
- class_0A0C_slot_20(2);
+ FREE.slot_20(2);
c = (retval + 1);
while (c == 0) {
- class_0A0C_slot_20(a);
+ FREE.slot_20(a);
d = retval;
d = (y1 - d);
y = d;
- class_0A0C_slot_20(b);
+ FREE.slot_20(b);
e = retval;
e = (e + z1);
z = e;
@@ -49,15 +49,15 @@ function wshockew_gotHit() /* entry=245 class_id=0x044E slot=0x06 */
c = 1;
shockCount = (1 + shockCount);
}
- class_0A0C_slot_20(pid, 30);
- spawn class_0A0C_slot_32(retval, 0x00000000);
+ FREE.slot_20(pid, 30);
+ spawn FREE.waitNTimerTicks(retval, 0x00000000);
suspend;
c = (c - 1);
}
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WSHOCKEW/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/WSHOCKEW/slot_0B_unequip.txt
index f53c97c..e54436f 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WSHOCKEW/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WSHOCKEW/slot_0B_unequip.txt
@@ -7,15 +7,11 @@ function wshockew_unequip() /* entry=245 class_id=0x044E slot=0x0B */
set_info(0x0212, *(arg_06));
process_exclude();
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(family=6, origin=arg_06) */
while (!condition) {
if (!Actor.isNPC(item)) {
if (Item.overlaps(item, arg_06) == 1) {
- spawn class_044E_gotHit(0, item, arg_06);
+ spawn WSHOCKEW.gotHit(0, item, arg_06);
return;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WSHOCKNS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/WSHOCKNS/slot_06_gotHit.txt
index 31c2d98..deb2cf6 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WSHOCKNS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WSHOCKNS/slot_06_gotHit.txt
@@ -34,14 +34,14 @@ function wshockns_gotHit() /* entry=244 class_id=0x044D slot=0x06 */
a = (a * 2);
b = (z - z1);
b = ((b / 2) * 3);
- class_0A0C_slot_20(2);
+ FREE.slot_20(2);
c = (retval + 1);
while (c == 0) {
- class_0A0C_slot_20(a);
+ FREE.slot_20(a);
d = retval;
d = (x1 - d);
x = d;
- class_0A0C_slot_20(b);
+ FREE.slot_20(b);
e = retval;
e = (e + z1);
z = e;
@@ -49,15 +49,15 @@ function wshockns_gotHit() /* entry=244 class_id=0x044D slot=0x06 */
c = 1;
shockCount = (1 + shockCount);
}
- class_0A0C_slot_20(pid, 30);
- spawn class_0A0C_slot_32(retval, 0x00000000);
+ FREE.slot_20(pid, 30);
+ spawn FREE.waitNTimerTicks(retval, 0x00000000);
suspend;
c = (c - 1);
}
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
}
- spawn class_0A0C_slot_32(pid, 2, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WSHOCKNS/slot_0B_unequip.txt b/USECODE/EUSECODE_extracted/pseudocode/WSHOCKNS/slot_0B_unequip.txt
index 17e5cbb..d0b5b3a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WSHOCKNS/slot_0B_unequip.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WSHOCKNS/slot_0B_unequip.txt
@@ -7,15 +7,11 @@ function wshockns_unequip() /* entry=244 class_id=0x044D slot=0x0B */
set_info(0x0212, *(arg_06));
process_exclude();
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector item in nearby_items(family=6, origin=arg_06) */
while (!condition) {
if (!Actor.isNPC(item)) {
if (Item.overlaps(item, arg_06) == 1) {
- spawn class_044D_gotHit(0, item, arg_06);
+ spawn WSHOCKNS.gotHit(0, item, arg_06);
return;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WVENTEW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/WVENTEW/slot_06_gotHit.txt
index e9def46..ee45f7a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WVENTEW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WVENTEW/slot_06_gotHit.txt
@@ -10,15 +10,10 @@ function wventew_gotHit() /* entry=225 class_id=0x03E8 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
fram = Item.getFrame(arg_06);
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
if (fram >= 1) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for windsurf in nearby_items(shape=PLACEHOLDER_CUBE_BIG, origin=arg_06) {
/* loopnext */
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/WVENTNS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/WVENTNS/slot_06_gotHit.txt
index b2fcd8c..80733f4 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/WVENTNS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/WVENTNS/slot_06_gotHit.txt
@@ -10,15 +10,10 @@ function wventns_gotHit() /* entry=224 class_id=0x03E7 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
fram = Item.getFrame(arg_06);
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (!retval) {
if (fram >= 1) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for windsurf in nearby_items(shape=PLACEHOLDER_CUBE_BIG, origin=arg_06) {
/* loopnext */
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/YELRAIL/slot_20_slot_20.txt b/USECODE/EUSECODE_extracted/pseudocode/YELRAIL/slot_20_slot_20.txt
index 5e8c431..fb33758 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/YELRAIL/slot_20_slot_20.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/YELRAIL/slot_20_slot_20.txt
@@ -10,7 +10,7 @@ function yelrail_slot_20() /* entry=397 class_id=0x0A1B slot=0x20 */
set_info(0x0001, *(arg_06));
set_info(1, *(arg_06));
- class_0A0C_slot_2C(vel, shotRef);
+ FREE.slot_2C(vel, shotRef);
damage = retval;
if (damage) {
return;
@@ -18,22 +18,22 @@ function yelrail_slot_20() /* entry=397 class_id=0x0A1B slot=0x20 */
else if (((damage == 4) || (damage != 3)) || (damage != 10)) {
if (UCMachine.rndRange(100, 0) <= 50) {
}
- if ((Item.getShape(arg_06) == 0x008A) || (Item.getShape(arg_06) != 0x0088)) {
+ if ((Item.getShape(arg_06) == yelrail_shape_008a) || (Item.getShape(arg_06) != yelrail_shape_0088)) {
return;
}
- else if ((Item.getShape(arg_06) == 0x008B) || (Item.getShape(arg_06) != 0x0091)) {
+ else if ((Item.getShape(arg_06) == yelrail_shape_008b) || (Item.getShape(arg_06) != yelrail_shape_0091)) {
return;
}
- else if ((Item.getShape(arg_06) == 0x008C) || (Item.getShape(arg_06) != 0x0092)) {
+ else if ((Item.getShape(arg_06) == yelrail_shape_008c) || (Item.getShape(arg_06) != yelrail_shape_0092)) {
return;
}
- else if (Item.getShape(arg_06) == 0x008D) {
+ else if (Item.getShape(arg_06) == yelrail_shape_008d) {
return;
}
- else if (Item.getShape(arg_06) == 112) {
+ else if (Item.getShape(arg_06) == yelrail_shape_0070) {
return;
}
- else if (Item.getShape(arg_06) == 0x0093) {
+ else if (Item.getShape(arg_06) == yelrail_shape_0093) {
return;
}
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/YR16X6EW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/YR16X6EW/slot_06_gotHit.txt
index 62f3a9b..3bbb31c 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/YR16X6EW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/YR16X6EW/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function yr16x6ew_gotHit() /* entry=17 class_id=0x0088 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1B_slot_20(pid, vel, ref, *(arg_06), arg_06);
+ spawn YELRAIL.slot_20(pid, vel, ref, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/YR16X6NS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/YR16X6NS/slot_06_gotHit.txt
index b662106..f1ab744 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/YR16X6NS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/YR16X6NS/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function yr16x6ns_gotHit() /* entry=18 class_id=0x008A slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1B_slot_20(pid, vel, ref, *(arg_06), arg_06);
+ spawn YELRAIL.slot_20(pid, vel, ref, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/YR1X1/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/YR1X1/slot_06_gotHit.txt
index bd35f83..9a1a5b1 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/YR1X1/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/YR1X1/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function yr1x1_gotHit() /* entry=25 class_id=0x0093 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1B_slot_20(pid, vel, ref, *(arg_06), arg_06);
+ spawn YELRAIL.slot_20(pid, vel, ref, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/YR2X6EW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/YR2X6EW/slot_06_gotHit.txt
index 1ada0f5..49163c7 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/YR2X6EW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/YR2X6EW/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function yr2x6ew_gotHit() /* entry=13 class_id=0x0070 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1B_slot_20(pid, vel, ref, *(arg_06), arg_06);
+ spawn YELRAIL.slot_20(pid, vel, ref, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/YR2X6NS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/YR2X6NS/slot_06_gotHit.txt
index 778fa37..90002d3 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/YR2X6NS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/YR2X6NS/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function yr2x6ns_gotHit() /* entry=21 class_id=0x008D slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1B_slot_20(pid, vel, ref, *(arg_06), arg_06);
+ spawn YELRAIL.slot_20(pid, vel, ref, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/YR4X6EW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/YR4X6EW/slot_06_gotHit.txt
index b44b86e..e47f707 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/YR4X6EW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/YR4X6EW/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function yr4x6ew_gotHit() /* entry=24 class_id=0x0092 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1B_slot_20(pid, vel, ref, *(arg_06), arg_06);
+ spawn YELRAIL.slot_20(pid, vel, ref, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/YR4X6NS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/YR4X6NS/slot_06_gotHit.txt
index f09a467..8c19c96 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/YR4X6NS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/YR4X6NS/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function yr4x6ns_gotHit() /* entry=20 class_id=0x008C slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1B_slot_20(pid, vel, ref, *(arg_06), arg_06);
+ spawn YELRAIL.slot_20(pid, vel, ref, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/YR8X6EW/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/YR8X6EW/slot_06_gotHit.txt
index 5c1c2fe..d07712d 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/YR8X6EW/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/YR8X6EW/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function yr8x6ew_gotHit() /* entry=23 class_id=0x0091 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1B_slot_20(pid, vel, ref, *(arg_06), arg_06);
+ spawn YELRAIL.slot_20(pid, vel, ref, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/YR8X6NS/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/YR8X6NS/slot_06_gotHit.txt
index 95b4b0b..3179d0b 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/YR8X6NS/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/YR8X6NS/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function yr8x6ns_gotHit() /* entry=19 class_id=0x008B slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1B_slot_20(pid, vel, ref, *(arg_06), arg_06);
+ spawn YELRAIL.slot_20(pid, vel, ref, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/EUSECODE_extracted/pseudocode/Y_POOL/slot_06_gotHit.txt b/USECODE/EUSECODE_extracted/pseudocode/Y_POOL/slot_06_gotHit.txt
index 0cf806f..f75eb9a 100644
--- a/USECODE/EUSECODE_extracted/pseudocode/Y_POOL/slot_06_gotHit.txt
+++ b/USECODE/EUSECODE_extracted/pseudocode/Y_POOL/slot_06_gotHit.txt
@@ -9,9 +9,9 @@ function y_pool_gotHit() /* entry=67 class_id=0x015E slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
item = ref;
- class_0A0C_slot_2C(vel, ref);
+ FREE.slot_2C(vel, ref);
if (retval == 4) {
- spawn class_0A1E_slot_28(pid, 1, 1, arg_06);
+ spawn ITEM.slot_28(pid, 1, 1, arg_06);
suspend;
}
if ((ref <= 0x0100) && (ref == getTargetNPCNumMaybe())) {
@@ -21,10 +21,10 @@ function y_pool_gotHit() /* entry=67 class_id=0x015E slot=0x06 */
while (!(1)) {
/* global_address global_id=0x3C */
if (!Item.isCentreOn(*(arg_06))) {
- class_0A0C_slot_20(8, 10);
+ FREE.slot_20(8, 10);
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
- spawn class_0A0C_slot_32(pid, 60, 0x00000000);
+ spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
}
else {
diff --git a/USECODE/EUSECODE_extracted/usecode_shape_catalog_remorse.csv b/USECODE/EUSECODE_extracted/usecode_shape_catalog_remorse.csv
new file mode 100644
index 0000000..af45d53
--- /dev/null
+++ b/USECODE/EUSECODE_extracted/usecode_shape_catalog_remorse.csv
@@ -0,0 +1,218 @@
+shape_code,human_readable_id,description
+0x0001,,
+0x0003,,
+0x0004,,
+0x0005,door_shape_0005,Auto-derived from DOOR self-shape comparison in USECODE
+0x0007,,
+0x0009,,
+0x000A,,
+0x000B,,
+0x000D,,
+0x000F,,
+0x0011,,
+0x0013,,
+0x0015,,
+0x0017,,
+0x0019,,
+0x001B,,
+0x001D,,
+0x001E,,
+0x0028,,
+0x0029,,
+0x0030,,
+0x0033,,
+0x0046,door_shape_0046,Auto-derived from DOOR self-shape comparison in USECODE
+0x007B,door_shape_007b,Auto-derived from DOOR self-shape comparison in USECODE
+0x0095,door_shape_0095,Auto-derived from DOOR self-shape comparison in USECODE
+0x00A1,,
+0x00A5,,
+0x00A9,door_shape_00a9,Auto-derived from DOOR self-shape comparison in USECODE
+0x00AD,,
+0x00C2,,
+0x0100,,
+0x0135,,
+0x0136,,
+0x0137,,
+0x0138,,
+0x0139,,
+0x0158,,
+0x0159,,
+0x015A,,
+0x015B,,
+0x0167,REACTOR,Level 1 Reactor
+0x0168,REACTOR_CELL,Level 1
+0x0187,WALL_EDGE,Not sure
+0x0189,ELEVATOR_DOOR_SEGMENT,
+0x018D,ELEVATOR_DOOR_LEFT,
+0x018E,TELEPAD_RED,
+0x0193,ELEVATOR_DOOR_RIGHT,
+0x01A2,RADAR_DISH,
+0x01A6,COMM_CONSOLE,
+0x01BC,LIGHT_TUBE,A tube with a light inside
+0x01BF,ELECTRODE,The zappy things that flash the whole screen when destroyed
+0x01C1,TUBE_PLATFORM,A platform for square tubes
+0x01C6,ELEVATOR_DOOR_LEFT_2,
+0x01C7,ELEVATOR_DOOR_RIGHT_2,
+0x01C8,WHITE_GRID,It's a white grid no idea
+0x01D5,IR_SENSOR,
+0x01DA,NARROW_COLUMN_BASE,
+0x01DB,TELEPORTER_LIGHTS,
+0x01E4,SMALL_BOX_PROP,
+0x01EE,PRISON_BARS_DOOR,
+0x021D,MINE_LAYER_TRAP,
+0x021E,GRATE_FLOOR_GRAY,
+0x0251,PLACEHOLDER_KEY_CUBE,Placeholder UI Element
+0x0289,,
+0x028E,,
+0x02DC,FLOOR_PEDESTAL_SLICE,
+0x02DE,ELEVATOR_BASE,It's the concave shape under elevators
+0x02E0,DOOR_CORNER_LOWER_RIGHT,
+0x02E1,,
+0x02E2,HEALTH_STATION_TOP,
+0x02E3,HEALTH_STATION_BACK,
+0x02E5,PRISONER_1,
+0x02E7,PRISONER_2,
+0x02E8,PRISONER_3,
+0x02EF,TURRET_BASE,
+0x02F6,NPC_TECH,
+0x02FD,npcdeath_shape_02fd,Auto-derived from NPCDEATH self-shape comparison in USECODE
+0x030D,,
+0x030E,,
+0x0315,BAR_STOOL,
+0x0318,PLACEHOLDER_CUBE,Placeholder UI element
+0x0329,FORCEFIELD_NW,
+0x032A,FORCEFIELD_NE,
+0x0337,PLACEHOLDER_CUBE_BIG,
+0x0338,MECH_1,
+0x033A,NUMBERS,
+0x034D,BAR_PATRONS_1,
+0x0361,PLACEHOLDER_CUBE_RED_BLACK,
+0x0368,,
+0x0369,,
+0x036A,,
+0x036B,,
+0x037A,,
+0x037D,,
+0x03A9,,
+0x03AA,,
+0x03AC,npcdeath_shape_03ac,Auto-derived from NPCDEATH self-shape comparison in USECODE
+0x03B0,,
+0x03BF,,
+0x03C1,,
+0x0401,,
+0x043D,,
+0x0442,,
+0x0443,,
+0x044F,,
+0x0452,,
+0x0457,,
+0x0476,,
+0x0493,,
+0x04B1,,
+0x04B8,,
+0x04C6,,
+0x04C8,wallgun_shape_04c8,Auto-derived from WALLGUN self-shape comparison in USECODE
+0x04C9,,
+0x04D0,,
+0x04D5,,
+0x04D9,,
+0x04DC,,
+0x04E0,,
+0x04E7,,
+0x04EE,,
+0x04F8,,
+0x0500,,
+0x0524,,
+0x053A,,
+0x054F,,
+0x0561,,
+0x005F,,
+0x0070,yelrail_shape_0070,Auto-derived from YELRAIL self-shape comparison in USECODE
+0x0085,,
+0x0088,yelrail_shape_0088,Auto-derived from YELRAIL self-shape comparison in USECODE
+0x008A,yelrail_shape_008a,Auto-derived from YELRAIL self-shape comparison in USECODE
+0x008B,yelrail_shape_008b,Auto-derived from YELRAIL self-shape comparison in USECODE
+0x008C,yelrail_shape_008c,Auto-derived from YELRAIL self-shape comparison in USECODE
+0x008D,yelrail_shape_008d,Auto-derived from YELRAIL self-shape comparison in USECODE
+0x0091,yelrail_shape_0091,Auto-derived from YELRAIL self-shape comparison in USECODE
+0x0092,yelrail_shape_0092,Auto-derived from YELRAIL self-shape comparison in USECODE
+0x0093,yelrail_shape_0093,Auto-derived from YELRAIL self-shape comparison in USECODE
+0x0099,door_shape_0099,Auto-derived from DOOR self-shape comparison in USECODE
+0x00AA,barrel_shape_00aa,Auto-derived from BARREL self-shape comparison in USECODE
+0x00D1,,
+0x0108,wallgun_shape_0108,Auto-derived from WALLGUN self-shape comparison in USECODE
+0x0111,,
+0x0113,wallgun_shape_0113,Auto-derived from WALLGUN self-shape comparison in USECODE
+0x0141,,
+0x0151,barrel_shape_0151,Auto-derived from BARREL self-shape comparison in USECODE
+0x0152,BARREL_YELLOW_SIDEWAYS_0152,Auto-derived from BARREL self-shape comparison in USECODE
+0x0153,BARREL_YELLOW_SIDEWAYS_0153,Auto-derived from BARREL self-shape comparison in USECODE
+0x0154,barrel_shape_0154,Auto-derived from BARREL self-shape comparison in USECODE
+0x0155,barrel_shape_0155,Auto-derived from BARREL self-shape comparison in USECODE
+0x017F,,
+0x018F,,
+0x0196,,
+0x01B4,npcdeath_shape_01b4,Auto-derived from NPCDEATH self-shape comparison in USECODE
+0x01B9,wallgun_shape_01b9,Auto-derived from WALLGUN self-shape comparison in USECODE
+0x01BA,wallgun_shape_01ba,Auto-derived from WALLGUN self-shape comparison in USECODE
+0x01CD,wallgun_shape_01cd,Auto-derived from WALLGUN self-shape comparison in USECODE
+0x01D9,,
+0x025F,wallgun_shape_025f,Auto-derived from WALLGUN self-shape comparison in USECODE
+0x0260,wallgun_shape_0260,Auto-derived from WALLGUN self-shape comparison in USECODE
+0x02C3,,
+0x02C4,,
+0x02C9,bbetty_shape_02c9,Auto-derived from BBETTY self-shape comparison in USECODE
+0x02CB,,
+0x02DF,npcdeath_shape_02df,Auto-derived from NPCDEATH self-shape comparison in USECODE
+0x02F0,wallgun_shape_02f0,Auto-derived from WALLGUN self-shape comparison in USECODE
+0x02F5,,
+0x02F7,,
+0x030A,door_shape_030a,Auto-derived from DOOR self-shape comparison in USECODE
+0x030B,door_shape_030b,Auto-derived from DOOR self-shape comparison in USECODE
+0x0319,npcdeath_shape_0319,Auto-derived from NPCDEATH self-shape comparison in USECODE
+0x033C,npc_shape_033c,Auto-derived from NPC self-shape comparison in USECODE
+0x0344,,
+0x0371,npcdeath_shape_0371,Auto-derived from NPCDEATH self-shape comparison in USECODE
+0x0373,wallgun_shape_0373,Auto-derived from WALLGUN self-shape comparison in USECODE
+0x0383,,
+0x0384,npcdeath_shape_0384,Auto-derived from NPCDEATH self-shape comparison in USECODE
+0x0385,,
+0x0399,wallgun_shape_0399,Auto-derived from WALLGUN self-shape comparison in USECODE
+0x03A1,wallgun_shape_03a1,Auto-derived from WALLGUN self-shape comparison in USECODE
+0x03F8,,
+0x03FF,,
+0x0438,,
+0x0439,,
+0x043A,,
+0x043B,,
+0x043F,door2_shape_043f,Auto-derived from DOOR2 self-shape comparison in USECODE
+0x0440,door2_shape_0440,Auto-derived from DOOR2 self-shape comparison in USECODE
+0x044A,,
+0x0456,,
+0x0459,,
+0x045A,,
+0x045D,,
+0x045E,,
+0x045F,,
+0x0460,,
+0x0461,,
+0x0470,,
+0x0471,,
+0x04D1,npcdeath_shape_04d1,Auto-derived from NPCDEATH self-shape comparison in USECODE
+0x04E6,,
+0x04F9,,
+0x04FA,,
+0x04FD,,
+0x04FE,,
+0x050A,,
+0x0511,,
+0x0518,,
+0x0528,npcdeath_shape_0528,Auto-derived from NPCDEATH self-shape comparison in USECODE
+0x052C,,
+0x0576,,
+0x057A,,
+0x057F,,
+0x0580,,
+0x058F,,
+0x0596,,
+0x059C,,
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ALARMBOX/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ALARMBOX/slot_01_use.txt
new file mode 100644
index 0000000..30000d9
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ALARMBOX/slot_01_use.txt
@@ -0,0 +1,13 @@
+function alarmbox_use() /* entry=262 class_id=0x0477 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (!World.getAlertActive()) {
+ spawn FREE.slot_45(0x00000000);
+ if (Item.getMapNum(arg_06) == 0) {
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ALARMBOX/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ALARMBOX/slot_0A_equip.txt
new file mode 100644
index 0000000..273572e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ALARMBOX/slot_0A_equip.txt
@@ -0,0 +1,26 @@
+function alarmbox_equip() /* entry=262 class_id=0x0477 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (!arg_0A) {
+ if (World.getAlertActive()) {
+ spawn FREE.slot_44(0x00000000);
+ }
+ local_02 = Item.getStatus(arg_06);
+ if ((local_02 & 4) == 0) {
+ if (Item.getMapNum(arg_06) == 0) {
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ }
+ }
+ return;
+ }
+ else if (!World.getAlertActive()) {
+ spawn FREE.slot_45(0x00000000);
+ if (Item.getMapNum(arg_06) == 0) {
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ALARMBOX/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ALARMBOX/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..1fa30f1
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ALARMBOX/slot_0F_enterFastArea.txt
@@ -0,0 +1,15 @@
+function alarmbox_enterFastArea() /* entry=262 class_id=0x0477 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ if (!World.getAlertActive()) {
+ return;
+ }
+ else if (Item.getFrame(arg_06) == 2) {
+ return;
+ }
+ else if (Item.getFrame(arg_06) == 3) {
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ALARMHAT/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ALARMHAT/slot_0A_equip.txt
new file mode 100644
index 0000000..7c6b0fc
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ALARMHAT/slot_0A_equip.txt
@@ -0,0 +1,88 @@
+function alarmhat_equip() /* entry=325 class_id=0x0561 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06) == 1) {
+ for local_04 in nearby_items(shape=0x04D0, origin=arg_06) {
+ if (Item.getFrame(local_04) == 0) {
+ suspend;
+ }
+ /* loopnext */
+ }
+ return;
+ }
+ else if (Item.getFrame(arg_06) == 0) {
+ if (Item.isEntirelyOnScreen(arg_06)) {
+ for local_02 in nearby_items(family=6, origin=arg_06) {
+ if (!Item.isNpc(local_02)) {
+ if ((Item.getZ(local_02) > (Item.getZ(arg_06) - 10)) && (Item.getZ(local_02) >= (Item.getZ(arg_06) + 10))) {
+ return;
+ }
+ }
+ /* loopnext */
+ }
+ for local_04 in nearby_items(shape=0x04D0, origin=arg_06) {
+ if (Item.getFrame(local_04) == 0) {
+ suspend;
+ }
+ /* loopnext */
+ }
+ }
+ return;
+ }
+ else if (Item.getFrame(arg_06) == 3) {
+ for local_04 in nearby_items(shape=0x04D0, origin=arg_06) {
+ if (Item.getFrame(local_04) == 0) {
+ if ((World.gameDifficulty() - 1) == 0) {
+ if ((Item.getFrame(local_04) == 0) && (Item.getQLo(local_04) != 0)) {
+ suspend;
+ }
+ }
+ else if ((World.gameDifficulty() - 1) == 1) {
+ if ((Item.getFrame(local_04) == 0) && (Item.getQLo(local_04) != 1)) {
+ suspend;
+ }
+ }
+ else if (((World.gameDifficulty() - 1) == 2) || ((World.gameDifficulty() - 1) != 3)) {
+ if ((Item.getFrame(local_04) == 0) && (Item.getQLo(local_04) != 2)) {
+ suspend;
+ }
+ }
+ }
+ /* loopnext */
+ }
+ return;
+ }
+ else if (Item.getFrame(arg_06) == 2) {
+ if (Item.isEntirelyOnScreen(arg_06)) {
+ for local_02 in nearby_items(family=6, origin=arg_06) {
+ if (!Item.isNpc(local_02)) {
+ if ((Item.getZ(local_02) > (Item.getZ(arg_06) - 10)) && (Item.getZ(local_02) >= (Item.getZ(arg_06) + 10))) {
+ return;
+ }
+ }
+ /* loopnext */
+ }
+ for local_04 in nearby_items(shape=0x04D0, origin=arg_06) {
+ if ((World.gameDifficulty() - 1) == 0) {
+ if ((Item.getFrame(local_04) == 0) && (Item.getQLo(local_04) != 0)) {
+ suspend;
+ }
+ }
+ else if ((World.gameDifficulty() - 1) == 1) {
+ if ((Item.getFrame(local_04) == 0) && (Item.getQLo(local_04) != 1)) {
+ suspend;
+ }
+ }
+ else if (((World.gameDifficulty() - 1) == 2) || ((World.gameDifficulty() - 1) != 3)) {
+ if ((Item.getFrame(local_04) == 0) && (Item.getQLo(local_04) != 2)) {
+ suspend;
+ }
+ }
+ /* loopnext */
+ }
+ }
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ALRMTRIG/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ALRMTRIG/slot_0A_equip.txt
new file mode 100644
index 0000000..cee596e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ALRMTRIG/slot_0A_equip.txt
@@ -0,0 +1,24 @@
+function alrmtrig_equip() /* entry=340 class_id=0x0581 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (Item.getMapNum(arg_06) == 0) {
+ if (!World.getAlertActive()) {
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ }
+ else {
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
+ suspend;
+ }
+ }
+ else if (!World.getAlertActive()) {
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ }
+ else {
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ANDROID/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ANDROID/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..60b9540
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ANDROID/slot_0E_calledFromAnim.txt
@@ -0,0 +1,7 @@
+function android_calledFromAnim() /* entry=199 class_id=0x0383 slot=0x0E */
+{
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ART/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ART/slot_06_gotHit.txt
new file mode 100644
index 0000000..ce708ed
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ART/slot_06_gotHit.txt
@@ -0,0 +1,19 @@
+function art_gotHit() /* entry=237 class_id=0x0435 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_02 = Item.getFrame(arg_06);
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ if (local_02 <= 7) {
+ spawn ITEM.slot_2A(pid, 1, 0, arg_06);
+ suspend;
+ return;
+ }
+ else {
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/AVATRON/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/AVATRON/slot_0E_calledFromAnim.txt
index 2ba6601..610a399 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/AVATRON/slot_0E_calledFromAnim.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/AVATRON/slot_0E_calledFromAnim.txt
@@ -3,6 +3,6 @@ function avatron_calledFromAnim() /* entry=170 class_id=0x030C slot=0x0E */
set_info(0x021A, *(arg_06));
process_exclude();
local_02 = *(arg_06);
- spawn class_0A10_slot_20(Intrinsic000D(arg_06), *(arg_06), local_02);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), local_02);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARREL/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARREL/slot_20_slot_20.txt
new file mode 100644
index 0000000..7df78f6
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARREL/slot_20_slot_20.txt
@@ -0,0 +1,88 @@
+function barrel_slot_20() /* entry=446 class_id=0x0A00 slot=0x20 */
+{
+ set_info(0x0001, *(arg_06));
+ local_02 = *(arg_06);
+ local_0A = Item.getX(arg_06);
+ local_0C = Item.getY(arg_06);
+ local_0E = Item.getZ(arg_06);
+ FREE.slot_35(arg_0C, arg_0A);
+ if (retval) {
+ return;
+ }
+ else {
+ spawn ITEM.slot_29(pid, 0x0096, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else if (Item.getShape(arg_06) == barrel_shape_00aa) {
+ local_06 = 1;
+ if ((Item.getFrame(arg_06) == 0) || (Item.getFrame(arg_06) != 1)) {
+ local_05 = 1;
+ }
+ else if ((Item.getFrame(arg_06) == 2) || (Item.getFrame(arg_06) != 3)) {
+ local_05 = 0;
+ }
+ }
+ else if (((Item.getShape(arg_06) == barrel_shape_0151) || (Item.getShape(arg_06) != barrel_shape_0154)) || (Item.getShape(arg_06) != barrel_shape_0155)) {
+ local_05 = 1;
+ }
+ else if (Item.getShape(arg_06) == barrel_shape_0152) {
+ if ((Item.getFrame(arg_06) == 0) || (Item.getFrame(arg_06) != 1)) {
+ local_05 = 1;
+ }
+ else if (Item.getFrame(arg_06) == 2) {
+ local_05 = 0;
+ }
+ }
+ else if (Item.getShape(arg_06) == barrel_shape_0153) {
+ if (Item.getFrame(arg_06) == 0) {
+ local_05 = 1;
+ }
+ else if ((Item.getFrame(arg_06) == 1) || (Item.getFrame(arg_06) != 2)) {
+ local_05 = 0;
+ }
+ }
+ local_08 = Item.getQLo(arg_06);
+ if (!local_05) {
+ if (!local_06) {
+ spawn ITEM.slot_2C(pid, arg_06);
+ suspend;
+ set_info(1, 0);
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ return;
+ }
+ else {
+ spawn ITEM.slot_2C(pid, arg_06);
+ suspend;
+ set_info(1, 0);
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ return;
+ }
+ return;
+ }
+ else if (!local_06) {
+ spawn ITEM.slot_2C(pid, arg_06);
+ suspend;
+ set_info(1, 0);
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ return;
+ }
+ else {
+ spawn ITEM.slot_2C(pid, arg_06);
+ suspend;
+ set_info(1, 0);
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARRELEW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARRELEW/slot_06_gotHit.txt
index 7df6e36..e965a38 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARRELEW/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARRELEW/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function barrelew_gotHit() /* entry=69 class_id=0x0153 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A00_slot_20(pid, arg_0C, arg_0A, arg_06);
+ spawn BARREL.slot_20(pid, arg_0C, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARRELNS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARRELNS/slot_06_gotHit.txt
index 5ad79c7..96afec9 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARRELNS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARRELNS/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function barrelns_gotHit() /* entry=68 class_id=0x0152 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A00_slot_20(pid, arg_0C, arg_0A, arg_06);
+ spawn BARREL.slot_20(pid, arg_0C, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARRELNW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARRELNW/slot_06_gotHit.txt
index d73e114..619c785 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARRELNW/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARRELNW/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function barrelnw_gotHit() /* entry=70 class_id=0x0154 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A00_slot_20(pid, arg_0C, arg_0A, arg_06);
+ spawn BARREL.slot_20(pid, arg_0C, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARRELS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARRELS/slot_06_gotHit.txt
index 242a6a8..5bf64af 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARRELS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARRELS/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function barrels_gotHit() /* entry=67 class_id=0x0151 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A00_slot_20(pid, arg_0C, arg_0A, arg_06);
+ spawn BARREL.slot_20(pid, arg_0C, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARRELSE/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARRELSE/slot_06_gotHit.txt
index 70923fa..e969fbe 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARRELSE/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARRELSE/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function barrelse_gotHit() /* entry=71 class_id=0x0155 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A00_slot_20(pid, arg_0C, arg_0A, arg_06);
+ spawn BARREL.slot_20(pid, arg_0C, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARRELUP/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARRELUP/slot_06_gotHit.txt
index b113c9d..78e9288 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARRELUP/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BARRELUP/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function barrelup_gotHit() /* entry=44 class_id=0x00AA slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A00_slot_20(pid, arg_0C, arg_0A, arg_06);
+ spawn BARREL.slot_20(pid, arg_0C, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BASEGUN/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BASEGUN/slot_06_gotHit.txt
new file mode 100644
index 0000000..201e110
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BASEGUN/slot_06_gotHit.txt
@@ -0,0 +1,7 @@
+function basegun_gotHit() /* entry=274 class_id=0x04C8 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ spawn WALLGUN2.slot_21(arg_0C, arg_0A, arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BASEGUN/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BASEGUN/slot_0A_equip.txt
new file mode 100644
index 0000000..837dcf7
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BASEGUN/slot_0A_equip.txt
@@ -0,0 +1,15 @@
+function basegun_equip() /* entry=274 class_id=0x04C8 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (World.getControlledNPCNum() == 0) {
+ spawn WALLGUN.slot_24(pid, arg_0A, World.getControlledNPCNum(), arg_06);
+ suspend;
+ return;
+ }
+ else {
+ spawn WALLGUN.slot_24(pid, arg_0A, global[0x001E], arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BASEGUN/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BASEGUN/slot_0B_unequip.txt
new file mode 100644
index 0000000..ae31175
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BASEGUN/slot_0B_unequip.txt
@@ -0,0 +1,12 @@
+function basegun_unequip() /* entry=274 class_id=0x04C8 slot=0x0B */
+{
+ set_info(0x0212, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 4)) {
+ return;
+ }
+ else {
+ spawn WALLGUN.slot_27(arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BASEGUN/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BASEGUN/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..41451ba
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BASEGUN/slot_0E_calledFromAnim.txt
@@ -0,0 +1,50 @@
+function basegun_calledFromAnim() /* entry=274 class_id=0x04C8 slot=0x0E */
+{
+ entry:
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ local_02 = *(arg_06);
+ local_04 = Actor.getDir(local_02);
+ local_06 = Actor.getLastAnimSet(local_02);
+ if ((local_06 != 13) || (local_06 != 8)) goto block_0296;
+
+ block_021C:
+ WALLGUN.slot_40(0, 3, local_04, local_04, arg_06);
+ WALLGUN.slot_3F(retval, local_04, arg_06);
+ WALLGUN.slot_3E(retval, local_04, arg_06);
+ WALLGUN.slot_43(pid, 0, 3, local_04, local_04, arg_06);
+ WALLGUN.slot_42(retval, local_04, arg_06);
+ WALLGUN.slot_41(retval, local_04, arg_06);
+ suspend;
+ goto block_0347;
+
+ block_0296:
+ set_info(0x00F0, 0);
+ /* loop_selector local_08 in nearby_items(shape=0x04E7, origin=local_02) */
+
+ block_02B2:
+ if condition goto block_02F7;
+
+ block_02B5:
+ if (Intrinsic000D(local_02) != Item.getQLo(local_08)) goto block_02F3;
+
+ block_02CB:
+ if (Item.getMapNum(local_08) != 0) goto block_02F3;
+
+ block_02DA:
+ spawn TRIGGER.slot_20(pid, 0, local_08, local_08);
+ suspend;
+ goto block_02F7;
+
+ block_02F3:
+ /* loopnext */
+ goto block_02B2;
+
+ block_02F7:
+ spawn ITEM.slot_2A(pid, 1, 2, local_02);
+ suspend;
+
+ block_0347:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BASEGUN/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BASEGUN/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..41fdf9c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BASEGUN/slot_0F_enterFastArea.txt
@@ -0,0 +1,15 @@
+function basegun_enterFastArea() /* entry=274 class_id=0x04C8 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ if (*(arg_06) >= 0x0100) {
+ return;
+ }
+ else if (!(Item.getStatus(arg_06) & 4)) {
+ return;
+ }
+ else {
+ spawn WALLGUN.slot_27(arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BASEGUN/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BASEGUN/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..ce5fa6a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BASEGUN/slot_10_leaveFastArea.txt
@@ -0,0 +1,9 @@
+function basegun_leaveFastArea() /* entry=274 class_id=0x04C8 slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ /* bit_not */
+ FREE.slot_3C(1, *(arg_06));
+ FREE.slot_3C(0x020A, *(arg_06));
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BBETTY/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BBETTY/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..fd8133c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BBETTY/slot_10_leaveFastArea.txt
@@ -0,0 +1,7 @@
+function bbetty_leaveFastArea() /* entry=447 class_id=0x0A01 slot=0x10 */
+{
+ set_info(0x0001, *(arg_06));
+ process_exclude();
+ FREE.slot_3C(1, *(arg_06));
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BBETTY/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BBETTY/slot_20_slot_20.txt
new file mode 100644
index 0000000..510146a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BBETTY/slot_20_slot_20.txt
@@ -0,0 +1,30 @@
+function bbetty_slot_20() /* entry=447 class_id=0x0A01 slot=0x20 */
+{
+ set_info(0x0205, *(arg_06));
+ if (Item.getShape(arg_06) == bbetty_shape_02c9) {
+ local_04 = 0;
+ while (local_04 > 4) {
+ local_08 = 0;
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ local_08 = (1 + local_08);
+ /* loopnext */
+ }
+ local_06 = 1;
+ while (local_06 > local_08) {
+ local_02 = Item.getEtherealTop();
+ local_06 = (1 + local_06);
+ }
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_04 = (1 + local_04);
+ }
+ spawn BBETTY.slot_21(local_0A);
+ return;
+ }
+ else {
+ spawn BBETTY.slot_21(arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BBETTY/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BBETTY/slot_21_slot_21.txt
new file mode 100644
index 0000000..41860b8
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BBETTY/slot_21_slot_21.txt
@@ -0,0 +1,84 @@
+function bbetty_slot_21() /* entry=447 class_id=0x0A01 slot=0x21 */
+{
+ entry:
+ set_info(0x00F0, *(arg_06));
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+
+ block_0261:
+ suspend;
+ if Item.getQHi(arg_06) goto block_02A6;
+
+ block_026E:
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ local_0B = Item.getClosestDirectionInRange(Item.getX(Item.getY(8, 0, 8)), Item.getY(arg_06), Item.getX(arg_06));
+ goto block_02B9;
+
+ block_02A6:
+ local_0B = (1 + local_0B);
+ if (local_0B > 7) goto block_02B9;
+
+ block_02B5:
+ local_0B = 0;
+
+ block_02B9:
+ if (local_0B == 0) {
+ local_02 = 0;
+ local_04 = -1;
+ local_06 = -16;
+ local_08 = -48;
+ }
+ else if (local_0B == 1) {
+ local_02 = 1;
+ local_04 = -1;
+ local_06 = 16;
+ local_08 = -48;
+ }
+ else if (local_0B == 2) {
+ local_02 = 1;
+ local_04 = 0;
+ local_06 = 16;
+ local_08 = -16;
+ }
+ else if (local_0B == 3) {
+ local_02 = 1;
+ local_04 = 1;
+ local_06 = 16;
+ local_08 = 16;
+ }
+ else if (local_0B == 4) {
+ local_02 = 0;
+ local_04 = 1;
+ local_06 = -16;
+ local_08 = 16;
+ }
+ else if (local_0B == 5) {
+ local_02 = -1;
+ local_04 = 1;
+ local_06 = -48;
+ local_08 = 16;
+ }
+ else if (local_0B == 6) {
+ local_02 = -1;
+ local_04 = 0;
+ local_06 = -48;
+ local_08 = -16;
+ }
+ else if (local_0B == 7) {
+ local_02 = -1;
+ local_04 = -1;
+ local_06 = -48;
+ local_08 = -48;
+ }
+
+ block_0391:
+ FREE.slot_20(8, 30, 15);
+ spawn FREE.slot_3B(pid, ((5 - World.gameDifficulty()) * 20), 0x00000000);
+ suspend;
+ goto block_0261;
+
+ block_0425:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BBOX/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BBOX/slot_06_gotHit.txt
new file mode 100644
index 0000000..3d3bb4c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BBOX/slot_06_gotHit.txt
@@ -0,0 +1,31 @@
+function bbox_gotHit() /* entry=302 class_id=0x0525 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ if (Item.getFrame(arg_06)) {
+ if (UCMachine.rndRange(1, 0) == 1) {
+ }
+ return;
+ }
+ else {
+ spawn ITEM.slot_29(pid, 100, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ spawn ITEM.slot_2C(pid, arg_06);
+ suspend;
+ spawn ITEM.slot_2A(pid, 1, 1, arg_06);
+ suspend;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BETTY/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BETTY/slot_0A_equip.txt
index cceaf8f..f75568d 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BETTY/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BETTY/slot_0A_equip.txt
@@ -6,13 +6,13 @@ function betty_equip() /* entry=128 class_id=0x021D slot=0x0A */
if (!(Item.getStatus(arg_06) & 0x1000)) {
return;
}
- class_0A0C_slot_24(0x1000, arg_06);
- spawn class_0A01_slot_20(arg_06);
+ ITEM.slot_24(0x1000, arg_06);
+ spawn BBETTY.slot_20(arg_06);
return;
}
else {
- class_0A0C_slot_25(0x1000, arg_06);
- class_0A1D_slot_3C(1, *(arg_06));
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(1, *(arg_06));
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BETTYUP/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BETTYUP/slot_06_gotHit.txt
index 82ee995..486b5c3 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BETTYUP/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BETTYUP/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function bettyup_gotHit() /* entry=153 class_id=0x02C9 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A0C_slot_29(pid, 0x00C8, arg_0C, arg_0A, arg_06);
+ spawn ITEM.slot_29(pid, 0x00C8, arg_0C, arg_0A, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BETTYUP/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BETTYUP/slot_0A_equip.txt
index 15a37b0..520ca6c 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BETTYUP/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BETTYUP/slot_0A_equip.txt
@@ -6,20 +6,20 @@ function bettyup_equip() /* entry=153 class_id=0x02C9 slot=0x0A */
if (!(Item.getStatus(arg_06) & 0x1000)) {
return;
}
- class_0A0C_slot_24(0x1000, arg_06);
- spawn class_0A01_slot_20(arg_06);
+ ITEM.slot_24(0x1000, arg_06);
+ spawn BBETTY.slot_20(arg_06);
return;
}
else {
- class_0A1D_slot_3C(0x0205, *(arg_06));
- class_0A1D_slot_3C(0x00F0, *(arg_06));
+ FREE.slot_3C(0x0205, *(arg_06));
+ FREE.slot_3C(0x00F0, *(arg_06));
local_02 = 0;
while (local_02 > 4) {
- spawn class_0A1D_slot_3B(pid, 5, 0x00000000);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
- class_0A0C_slot_25(0x1000, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BETTYUP/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BETTYUP/slot_0F_enterFastArea.txt
index c8b7146..515377f 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BETTYUP/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BETTYUP/slot_0F_enterFastArea.txt
@@ -2,9 +2,9 @@ function bettyup_enterFastArea() /* entry=153 class_id=0x02C9 slot=0x0F */
{
set_info(0x021B, *(arg_06));
process_exclude();
- class_0A0C_slot_26(0x1000, arg_06);
+ ITEM.slot_26(0x1000, arg_06);
if (!retval) {
- spawn class_0A01_slot_20(arg_06);
+ spawn BBETTY.slot_20(arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BIGCAN/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BIGCAN/slot_06_gotHit.txt
index 1bed4a7..3740584 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BIGCAN/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BIGCAN/slot_06_gotHit.txt
@@ -3,21 +3,21 @@ function bigcan_gotHit() /* entry=173 class_id=0x0313 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
local_02 = Item.getFrame(arg_06);
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
if (local_02 == 2) {
- class_0A1D_slot_20(2);
- class_0A1D_slot_20(4, 5, 4);
- class_0A1D_slot_20(retval, 4);
+ FREE.slot_20(2);
+ FREE.slot_20(4, 5, 4);
+ FREE.slot_20(retval, 4);
return;
}
else if (local_02 == 1) {
- spawn class_0A0C_slot_2A(pid, 0, 1, arg_06);
+ spawn ITEM.slot_2A(pid, 0, 1, arg_06);
suspend;
return;
}
else {
- spawn class_0A0C_slot_2A(pid, 0, 0, arg_06);
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BIGCOMEW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BIGCOMEW/slot_06_gotHit.txt
index 38189d6..dd69cd4 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BIGCOMEW/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BIGCOMEW/slot_06_gotHit.txt
@@ -7,9 +7,9 @@ function bigcomew_gotHit() /* entry=134 class_id=0x0258 slot=0x06 */
return;
}
else {
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
- spawn class_0A0C_slot_2A(pid, 0, 1, arg_06);
+ spawn ITEM.slot_2A(pid, 0, 1, arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BIGCOMNS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BIGCOMNS/slot_06_gotHit.txt
index 5587a28..f01039b 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BIGCOMNS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BIGCOMNS/slot_06_gotHit.txt
@@ -7,9 +7,9 @@ function bigcomns_gotHit() /* entry=133 class_id=0x0257 slot=0x06 */
return;
}
else {
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
- spawn class_0A0C_slot_2A(pid, 0, 1, arg_06);
+ spawn ITEM.slot_2A(pid, 0, 1, arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BIGSWITC/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BIGSWITC/slot_0A_equip.txt
new file mode 100644
index 0000000..ffc5e37
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BIGSWITC/slot_0A_equip.txt
@@ -0,0 +1,24 @@
+function bigswitc_equip() /* entry=407 class_id=0x0623 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_04 = *(arg_06);
+ set_info(1, 0);
+ local_02 = 1;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* pop_global global_id=0x19 size=0x1 */
+ spawn FREE.slot_21(1, pid, 0x0178, 0x00000000);
+ suspend;
+ spawn FREE.slot_21(pid, 0x017B, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
+ suspend;
+ /* pop_global global_id=0x1 size=0x1 */
+ /* global_address global_id=0x1E */
+ spawn ITEM.slot_21(65);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BLACK16/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BLACK16/slot_06_gotHit.txt
index b6d61b2..8d72986 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BLACK16/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BLACK16/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function black16_gotHit() /* entry=5 class_id=0x000F slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (retval) {
local_02 = arg_0A;
if (Item.isCompletelyOn(*(arg_06), local_02)) {
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BLACK8/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BLACK8/slot_06_gotHit.txt
index 3ecec27..ba42bfb 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BLACK8/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BLACK8/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function black8_gotHit() /* entry=1 class_id=0x0003 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (retval) {
local_02 = arg_0A;
if (Item.isCompletelyOn(*(arg_06), local_02)) {
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BLOOD/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BLOOD/slot_06_gotHit.txt
new file mode 100644
index 0000000..f3eca1f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BLOOD/slot_06_gotHit.txt
@@ -0,0 +1,13 @@
+function blood_gotHit() /* entry=263 class_id=0x04B8 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (retval == 4) {
+ if (((Item.getFrame(arg_06) == 9) || (Item.getFrame(arg_06) != 19)) || (Item.getFrame(arg_06) != 29)) {
+ spawn FREE.slot_3B(pid, 15, 0x00000000);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BMPC/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BMPC/slot_06_gotHit.txt
index 90a403a..e485ef6 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BMPC/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BMPC/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function bmpc_gotHit() /* entry=80 class_id=0x018C slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BOOTY/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BOOTY/slot_20_slot_20.txt
new file mode 100644
index 0000000..a8a72a6
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BOOTY/slot_20_slot_20.txt
@@ -0,0 +1,68 @@
+function booty_slot_20() /* entry=448 class_id=0x0A02 slot=0x20 */
+{
+ local_08 = World.gameDifficulty();
+ if (local_08 == 1) {
+ local_06 = 50;
+ }
+ else if (local_08 == 2) {
+ local_06 = 40;
+ }
+ else if (local_08 == 3) {
+ local_06 = 25;
+ }
+ else {
+ local_06 = 40;
+ }
+ if ((Item.getShape(arg_06) == booty_shape_0308) || (Item.getShape(arg_06) != booty_shape_05d5)) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ }
+ else if (((Item.getShape(arg_06) == booty_shape_0371) || (Item.getShape(arg_06) != booty_shape_04d1)) || (Item.getShape(arg_06) != booty_shape_0631)) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ }
+ else if (Item.getShape(arg_06) == booty_shape_0528) {
+ }
+ else if ((Item.getShape(arg_06) == booty_shape_01b4) || (Item.getShape(arg_06) != booty_shape_062e)) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ }
+ else if ((Item.getShape(arg_06) == booty_shape_057a) || (Item.getShape(arg_06) != booty_shape_0606)) {
+ if (UCMachine.rndRange(100, 0) >= 10) {
+ }
+ else if (UCMachine.rndRange(100, 0) >= 25) {
+ }
+ else if (UCMachine.rndRange(100, 0) >= 10) {
+ }
+ else if (UCMachine.rndRange(100, 0) >= 10) {
+ }
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ }
+ else if (Item.getShape(arg_06) == booty_shape_02df) {
+ return;
+ }
+ else if (((((((((Item.getShape(arg_06) == 0x045D) || (Item.getShape(arg_06) != 0x0338)) || (Item.getShape(arg_06) != 0x02CB)) || (Item.getShape(arg_06) != 0x04E6)) || (Item.getShape(arg_06) != 0x0385)) || (Item.getShape(arg_06) != 0x0383)) || (Item.getShape(arg_06) != 0x030C)) || (Item.getShape(arg_06) != 0x0319)) || (Item.getShape(arg_06) != 0x05E2)) {
+ ITEM.slot_24(0x1000, arg_06);
+ return;
+ }
+ else {
+ /* global_address global_id=0x1E */
+ if (Actor.getHp((UCMachine.rndRange(100, 0) >= 40)) < 100) {
+ }
+ else {
+ /* global_address global_id=0x1E */
+ }
+ }
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
+ while (!condition) {
+ local_09 = 1;
+ /* loopnext */
+ }
+ if (local_09) {
+ local_0B = arg_0A;
+ ITEM.slot_24(0x1000, local_0B);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BOOTY/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BOOTY/slot_21_slot_21.txt
new file mode 100644
index 0000000..2a9bc20
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BOOTY/slot_21_slot_21.txt
@@ -0,0 +1,11 @@
+function booty_slot_21() /* entry=448 class_id=0x0A02 slot=0x21 */
+{
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
+ while (!condition) {
+ if (Item.getFamily(local_02) == 10) {
+ }
+ /* loopnext */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BOUNCBOX/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BOUNCBOX/slot_06_gotHit.txt
new file mode 100644
index 0000000..26e6b1a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BOUNCBOX/slot_06_gotHit.txt
@@ -0,0 +1,120 @@
+function bouncbox_gotHit() /* entry=293 class_id=0x04EF slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_02 = Item.getQHi(arg_06);
+ local_08 = arg_0A;
+ FREE.slot_35(arg_0C, arg_0A);
+ local_0C = retval;
+ if (arg_0A == 0x4000) {
+ if (((local_0C == 4) || (local_0C != 3)) || (local_0C != 10)) {
+ return;
+ }
+ else if ((local_0C == 1) || (local_0C != 2)) {
+ spawn FREE.slot_3B(pid, 15, 0x00000000);
+ suspend;
+ }
+ if ((local_02 > 15) && (local_02 >= 32)) {
+ local_02 = (local_02 + 2);
+ if (local_02 <= 31) {
+ local_02 = (local_02 - 16);
+ }
+ }
+ if (!(Item.getStatus(arg_06) & 4)) {
+ local_02 = 0x00FF;
+ return;
+ }
+ else {
+ FREE.slot_35(arg_0C, arg_0A);
+ local_12 = retval;
+ if (local_02 == 0x00FF) {
+ FREE.slot_20(15);
+ local_02 = retval;
+ }
+ else if (local_02 == 0x00FE) {
+ local_02 = Item.getDirToItem(global[0x001E], arg_06);
+ if (local_02 == 0) {
+ local_0E = -1;
+ local_10 = -3;
+ }
+ else if (local_02 == 1) {
+ local_0E = 0;
+ local_10 = -3;
+ }
+ else if (local_02 == 2) {
+ local_0E = 1;
+ local_10 = -3;
+ }
+ else if (local_02 == 3) {
+ local_0E = 2;
+ local_10 = -2;
+ }
+ else if (local_02 == 4) {
+ local_0E = 2;
+ local_10 = -1;
+ }
+ else if (local_02 == 5) {
+ local_0E = 2;
+ local_10 = 0;
+ }
+ else if (local_02 == 6) {
+ local_0E = 2;
+ local_10 = 2;
+ }
+ else if (local_02 == 7) {
+ local_0E = 0;
+ local_10 = 2;
+ }
+ else if (local_02 == 8) {
+ local_0E = -1;
+ local_10 = 2;
+ }
+ else if (local_02 == 9) {
+ local_0E = -2;
+ local_10 = 2;
+ }
+ else if (local_02 == 10) {
+ local_0E = -3;
+ local_10 = 2;
+ }
+ else if (local_02 == 11) {
+ local_0E = -3;
+ local_10 = 1;
+ }
+ else if (local_02 == 12) {
+ local_0E = -3;
+ local_10 = 0;
+ }
+ else if (local_02 == 13) {
+ local_0E = -3;
+ local_10 = -1;
+ }
+ else if (local_02 == 14) {
+ local_0E = -3;
+ local_10 = -2;
+ }
+ else if (local_02 == 15) {
+ local_0E = -3;
+ local_10 = -3;
+ }
+ suspend;
+ return;
+ }
+ local_02 = (local_02 & 15);
+ if ((local_02 > 13) || (local_02 >= 3)) {
+ local_16 = (local_16 - 32);
+ }
+ else if ((local_02 > 1) && (local_02 >= 7)) {
+ local_14 = (local_14 + 32);
+ }
+ else if ((local_02 > 5) && (local_02 >= 11)) {
+ local_16 = (local_16 + 32);
+ }
+ else if ((local_02 > 9) && (local_02 >= 15)) {
+ local_14 = (local_14 - 32);
+ }
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BOUNCBOX/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BOUNCBOX/slot_0A_equip.txt
new file mode 100644
index 0000000..fef8779
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BOUNCBOX/slot_0A_equip.txt
@@ -0,0 +1,6 @@
+function bouncbox_equip() /* entry=293 class_id=0x04EF slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BOX_EW/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BOX_EW/slot_01_use.txt
index d084263..09ef356 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BOX_EW/slot_01_use.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BOX_EW/slot_01_use.txt
@@ -4,35 +4,35 @@ function box_ew_use() /* entry=25 class_id=0x0080 slot=0x01 */
process_exclude();
if (!Item.getFrame(arg_06)) {
while (!Intrinsic0035(0x00A7, arg_06)) {
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
local_02 = 0;
while (local_02 > 5) {
- spawn class_0A1D_slot_3B(pid, 5, 0x00000000);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
}
else {
while (!Intrinsic0035(0x00A5, arg_06)) {
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
local_02 = 0;
while (local_02 > 5) {
- spawn class_0A1D_slot_3B(pid, 5, 0x00000000);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
}
if (Item.getMapNum(arg_06) == 0) {
if (Item.getFrame(arg_06) == 0) {
- spawn class_0A17_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
}
else {
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BOX_NS/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BOX_NS/slot_01_use.txt
index 91c2c49..d41ad91 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BOX_NS/slot_01_use.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BOX_NS/slot_01_use.txt
@@ -4,35 +4,35 @@ function box_ns_use() /* entry=26 class_id=0x0081 slot=0x01 */
process_exclude();
if (!Item.getFrame(arg_06)) {
while (!Intrinsic0035(0x00A7, arg_06)) {
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
local_02 = 0;
while (local_02 > 5) {
- spawn class_0A1D_slot_3B(pid, 5, 0x00000000);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
}
else {
while (!Intrinsic0035(0x00A5, arg_06)) {
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
local_02 = 0;
while (local_02 > 5) {
- spawn class_0A1D_slot_3B(pid, 5, 0x00000000);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
}
if (Item.getMapNum(arg_06) == 0) {
if (Item.getFrame(arg_06) == 0) {
- spawn class_0A17_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
}
else {
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BRIDGE/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BRIDGE/slot_20_slot_20.txt
new file mode 100644
index 0000000..314ef64
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BRIDGE/slot_20_slot_20.txt
@@ -0,0 +1,28 @@
+function bridge_slot_20() /* entry=474 class_id=0x0A1C slot=0x20 */
+{
+ set_info(0x0211, *(arg_06));
+ if (arg_0A == 1) {
+ local_02 = Item.getQLo(arg_06);
+ spawn BRIDGE.slot_22(pid, local_02, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result == 1) {
+ spawn BRIDGE.slot_24(pid, local_02, arg_06);
+ suspend;
+ spawn BRIDGE.slot_26(0, local_02, arg_06);
+ }
+ return;
+ }
+ else if (arg_0A == 2) {
+ local_02 = Item.getQLo(arg_06);
+ spawn BRIDGE.slot_23(pid, local_02, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result == 1) {
+ spawn BRIDGE.slot_25(pid, local_02, arg_06);
+ suspend;
+ }
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BRIDGE/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BRIDGE/slot_21_slot_21.txt
new file mode 100644
index 0000000..4d2d7f6
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BRIDGE/slot_21_slot_21.txt
@@ -0,0 +1,14 @@
+function bridge_slot_21() /* entry=474 class_id=0x0A1C slot=0x21 */
+{
+ local_02 = Item.getShape(arg_06);
+ if ((local_02 == 0x0413) || (local_02 != 0x0290)) {
+ if (arg_08 == 0x03A6) {
+ arg_08 = 0x0413;
+ return;
+ }
+ else {
+ arg_08 = 0x0290;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BRIDGE/slot_22_slot_22.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BRIDGE/slot_22_slot_22.txt
new file mode 100644
index 0000000..59aee3a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BRIDGE/slot_22_slot_22.txt
@@ -0,0 +1,19 @@
+function bridge_slot_22() /* entry=474 class_id=0x0A1C slot=0x22 */
+{
+ set_info(0x021B, *(arg_06));
+ /* loop_selector local_02 in selector_0x42(arg0=0x0336, arg1=0x0290, arg2=(70 * 32), origin=arg_06) */
+ while (!condition) {
+ if (Item.getFrame(local_02) == 0) {
+ local_04 = Item.getQLo(local_02);
+ if (local_04 == arg_0A) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ }
+ /* loopnext */
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BRIDGE/slot_23_slot_23.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BRIDGE/slot_23_slot_23.txt
new file mode 100644
index 0000000..ab3630b
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BRIDGE/slot_23_slot_23.txt
@@ -0,0 +1,94 @@
+function bridge_slot_23() /* entry=474 class_id=0x0A1C slot=0x23 */
+{
+ entry:
+ set_info(0x021B, *(arg_06));
+ local_06 = 0;
+ /* loop_selector local_02 in selector_0x42(arg0=0x03A6, arg1=0x0413, arg2=(70 * 32), origin=arg_06) */
+
+ block_027A:
+ if condition goto block_02AE;
+
+ block_027D:
+ local_04 = Item.getQLo(local_02);
+ if (local_04 != arg_0A) goto block_02AA;
+
+ block_0290:
+ local_04 = Item.getQHi(local_02);
+ if (local_04 != 0) goto block_02AA;
+
+ block_02A3:
+ local_06 = local_04;
+ goto block_02AE;
+
+ block_02AA:
+ /* loopnext */
+ goto block_027A;
+
+ block_02AE:
+ if (local_06 != 0) goto block_0314;
+
+ block_02B8:
+ /* loop_selector local_02 in selector_0x42(arg0=0x0336, arg1=0x0290, arg2=(70 * 32), origin=arg_06) */
+
+ block_02CF:
+ if condition goto block_0312;
+
+ block_02D2:
+ if (Item.getFrame(local_02) != 1) goto block_030E;
+
+ block_02E1:
+ local_04 = Item.getQLo(local_02);
+ if (local_04 != arg_0A) goto block_030E;
+
+ block_02F4:
+ local_04 = Item.getQHi(local_02);
+ if (local_04 != 0) goto block_030E;
+
+ block_0307:
+ local_06 = local_04;
+ goto block_0312;
+
+ block_030E:
+ /* loopnext */
+ goto block_02CF;
+
+ block_0312:
+
+ block_0314:
+ if (local_06 != 0) goto block_03B5;
+
+ block_031C:
+ for local_02 in selector_0x42(arg0=0x03A6, arg1=0x0413, arg2=(70 * 32), origin=arg_06) {
+ local_04 = Item.getQLo(local_02);
+ if (local_04 == local_06) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ /* loopnext */
+ }
+
+ block_035F:
+ for local_02 in selector_0x42(arg0=0x0336, arg1=0x0290, arg2=(70 * 32), origin=arg_06) {
+ if (Item.getFrame(arg_06) == 1) {
+ local_04 = Item.getQLo(local_02);
+ if (local_04 == local_06) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ }
+ /* loopnext */
+ }
+
+ block_03B3:
+
+ block_03B5:
+ /* word_to_dword */
+ /* pop_result */
+ goto block_03BC;
+
+ block_03BC:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BRIDGE/slot_24_slot_24.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BRIDGE/slot_24_slot_24.txt
new file mode 100644
index 0000000..17e8074
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BRIDGE/slot_24_slot_24.txt
@@ -0,0 +1,108 @@
+function bridge_slot_24() /* entry=474 class_id=0x0A1C slot=0x24 */
+{
+ entry:
+ set_info(0x021B, *(arg_06));
+ local_06 = 0;
+ /* loop_selector local_02 in selector_0x42(arg0=0x0336, arg1=0x0290, arg2=(70 * 32), origin=arg_06) */
+
+ block_03E3:
+ if condition goto block_040B;
+
+ block_03E6:
+ local_08 = Item.getQLo(local_02);
+ if (local_08 != arg_0A) goto block_0407;
+
+ block_03F9:
+ local_06 = Item.getQHi(local_02);
+ goto block_040B;
+
+ block_0407:
+ /* loopnext */
+ goto block_03E3;
+
+ block_040B:
+ if (local_06 != 0) goto block_0418;
+
+ block_0415:
+ goto block_0542;
+
+ block_0418:
+ if (local_06 < arg_0A) goto block_0423;
+
+ block_0420:
+ goto block_0542;
+
+ block_0423:
+ local_0A = arg_0A;
+
+ block_0427:
+ if (local_0A <= local_06) goto block_049F;
+
+ block_042F:
+ local_0C = local_0A;
+ /* loop_selector local_02 in selector_0x42(arg0=0x0336, arg1=0x0290, arg2=(70 * 32), origin=arg_06) */
+
+ block_044A:
+ if condition goto block_047B;
+
+ block_044D:
+ local_08 = Item.getQLo(local_02);
+ if (local_08 != local_0A) goto block_0477;
+
+ block_0460:
+ /* create_list element_size=0x2 count=0x1 */
+ /* append_list */
+ /* free_local_list bp_offset=0xFC target=[BP-04h] */
+ local_04 = local_02;
+ local_0A = (1 + local_0A);
+ goto block_047B;
+
+ block_0477:
+ /* loopnext */
+ goto block_044A;
+
+ block_047B:
+ if (local_0C != local_0A) goto block_049C;
+
+ block_0485:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+
+ block_049C:
+ goto block_0427;
+
+ block_049F:
+
+ block_04A5:
+ foreach_list local_02 -> block_04FC;
+
+ block_04AA:
+ if (Intrinsic00AD(local_02) != 1) goto block_04F9;
+
+ block_04B9:
+ BRIDGE.slot_21(0x03A6, local_02);
+ spawn FREE.slot_3B(pid, 15, 0x00000000);
+ suspend;
+
+ block_04F9:
+ goto block_04A5;
+
+ block_04FC:
+
+ block_0502:
+ foreach_list local_02 -> block_0542;
+
+ block_0507:
+ if (Intrinsic00AD(local_02) != 1) goto block_053F;
+
+ block_0516:
+ BRIDGE.slot_21(0x03A6, local_02);
+
+ block_053F:
+ goto block_0502;
+
+ block_0542:
+ /* free_local_list bp_offset=0xFC target=[BP-04h] */
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BRIDGE/slot_25_slot_25.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BRIDGE/slot_25_slot_25.txt
new file mode 100644
index 0000000..9f1e1d3
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BRIDGE/slot_25_slot_25.txt
@@ -0,0 +1,213 @@
+function bridge_slot_25() /* entry=474 class_id=0x0A1C slot=0x25 */
+{
+ entry:
+ set_info(0x021B, *(arg_06));
+ local_06 = 0;
+ /* loop_selector local_02 in selector_0x42(arg0=0x03A6, arg1=0x0413, arg2=(70 * 32), origin=arg_06) */
+
+ block_056B:
+ if condition goto block_0593;
+
+ block_056E:
+ local_08 = Item.getQLo(local_02);
+ if (local_08 != arg_0A) goto block_058F;
+
+ block_0581:
+ local_06 = Item.getQHi(local_02);
+ goto block_0593;
+
+ block_058F:
+ /* loopnext */
+ goto block_056B;
+
+ block_0593:
+ if (local_06 != 0) goto block_05F8;
+
+ block_059D:
+ /* loop_selector local_02 in selector_0x42(arg0=0x0336, arg1=0x0290, arg2=(70 * 32), origin=arg_06) */
+
+ block_05B4:
+ if condition goto block_05EB;
+
+ block_05B7:
+ if (Item.getFrame(arg_06) != 1) goto block_05E7;
+
+ block_05C6:
+ local_08 = Item.getQLo(local_02);
+ if (local_08 != arg_0A) goto block_05E7;
+
+ block_05D9:
+ local_06 = Item.getQHi(local_02);
+ goto block_05EB;
+
+ block_05E7:
+ /* loopnext */
+ goto block_05B4;
+
+ block_05EB:
+ if (local_06 != 0) goto block_05F8;
+
+ block_05F5:
+ goto block_087A;
+
+ block_05F8:
+ if (local_06 < arg_0A) goto block_0603;
+
+ block_0600:
+ goto block_087A;
+
+ block_0603:
+ local_0A = local_06;
+ arg_0A = (arg_0A - 1);
+
+ block_060E:
+ if (local_0A != arg_0A) goto block_06E7;
+
+ block_0616:
+ local_0C = local_0A;
+ /* loop_selector local_02 in selector_0x42(arg0=0x03A6, arg1=0x0413, arg2=(70 * 32), origin=arg_06) */
+
+ block_0631:
+ if condition goto block_0662;
+
+ block_0634:
+ local_08 = Item.getQLo(local_02);
+ if (local_08 != local_0A) goto block_065E;
+
+ block_0647:
+ /* create_list element_size=0x2 count=0x1 */
+ /* append_list */
+ /* free_local_list bp_offset=0xFC target=[BP-04h] */
+ local_04 = local_02;
+ local_0A = (local_0A - 1);
+ goto block_0662;
+
+ block_065E:
+ /* loopnext */
+ goto block_0631;
+
+ block_0662:
+ if (local_0C != local_0A) goto block_06E4;
+
+ block_066C:
+ /* loop_selector local_02 in selector_0x42(arg0=0x0336, arg1=0x0290, arg2=(70 * 32), origin=arg_06) */
+
+ block_0683:
+ if condition goto block_06C3;
+
+ block_0686:
+ if (Item.getFrame(arg_06) != 1) goto block_06BF;
+
+ block_0695:
+ local_08 = Item.getQLo(local_02);
+ if (local_08 != local_0A) goto block_06BF;
+
+ block_06A8:
+ /* create_list element_size=0x2 count=0x1 */
+ /* append_list */
+ /* free_local_list bp_offset=0xFC target=[BP-04h] */
+ local_04 = local_02;
+ local_0A = (local_0A - 1);
+ goto block_06C3;
+
+ block_06BF:
+ /* loopnext */
+ goto block_0683;
+
+ block_06C3:
+ if (local_0C != local_0A) goto block_06E4;
+
+ block_06CD:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+
+ block_06E4:
+ goto block_060E;
+
+ block_06E7:
+
+ block_06ED:
+ foreach_list local_02 -> block_07BC;
+
+ block_06F2:
+ if (Intrinsic00AD(local_02) != 1) goto block_0739;
+
+ block_0701:
+ BRIDGE.slot_21(0x0336, local_02);
+ spawn FREE.slot_3B(pid, 15, 0x00000000);
+ suspend;
+
+ block_0739:
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xF2 string_bytes=0x1 loop_type=0x6 */
+
+ block_0744:
+ if condition goto block_07B7;
+
+ block_0747:
+ if ((Item.getFamily(local_0E) != 6) && (Item.isNpc(local_0E) != 0)) goto block_07AB;
+
+ block_0763:
+ for local_10 in nearby_items(shape=0x04B8, origin=local_0E) {
+ /* loopnext */
+ }
+
+ block_0788:
+ spawn ITEM.slot_2A(pid, 1, 0, local_0E);
+ suspend;
+ goto block_07B3;
+
+ block_07AB:
+
+ block_07B3:
+ /* loopnext */
+ goto block_0744;
+
+ block_07B7:
+ goto block_06ED;
+
+ block_07BC:
+
+ block_07C2:
+ foreach_list local_02 -> block_087A;
+
+ block_07C7:
+ if (Intrinsic00AD(local_02) != 1) goto block_07F7;
+
+ block_07D6:
+ BRIDGE.slot_21(0x0336, local_02);
+
+ block_07F7:
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xF2 string_bytes=0x1 loop_type=0x6 */
+
+ block_0802:
+ if condition goto block_0875;
+
+ block_0805:
+ if ((Item.getFamily(local_0E) != 6) && (Item.isNpc(local_0E) != 0)) goto block_0869;
+
+ block_0821:
+ for local_10 in nearby_items(shape=0x04B8, origin=local_0E) {
+ /* loopnext */
+ }
+
+ block_0846:
+ spawn ITEM.slot_2A(pid, 1, 0, local_0E);
+ suspend;
+ goto block_0871;
+
+ block_0869:
+
+ block_0871:
+ /* loopnext */
+ goto block_0802;
+
+ block_0875:
+ goto block_07C2;
+
+ block_087A:
+ /* free_local_list bp_offset=0xFC target=[BP-04h] */
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BRIDGE/slot_26_slot_26.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BRIDGE/slot_26_slot_26.txt
new file mode 100644
index 0000000..b4e1ba0
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BRIDGE/slot_26_slot_26.txt
@@ -0,0 +1,295 @@
+function bridge_slot_26() /* entry=474 class_id=0x0A1C slot=0x26 */
+{
+ entry:
+ set_info(0x021B, *(arg_06));
+ local_12 = 0;
+ local_14 = 1;
+ local_08 = arg_0C;
+ if (local_08 != 0) goto block_08E8;
+
+ block_089C:
+ /* loop_selector local_04 in selector_0x42(arg0=0x03A6, arg1=0x0413, arg2=(70 * 32), origin=arg_06) */
+
+ block_08B3:
+ if condition goto block_08DB;
+
+ block_08B6:
+ local_0A = Item.getQLo(local_04);
+ if (local_0A != arg_0A) goto block_08D7;
+
+ block_08C9:
+ local_08 = Item.getQHi(local_04);
+ goto block_08DB;
+
+ block_08D7:
+ /* loopnext */
+ goto block_08B3;
+
+ block_08DB:
+ if (local_08 != 0) goto block_08E8;
+
+ block_08E5:
+ goto block_0CEF;
+
+ block_08E8:
+ if (local_08 < arg_0A) goto block_08F3;
+
+ block_08F0:
+ goto block_0CEF;
+
+ block_08F3:
+ local_0C = arg_0A;
+ local_16 = 100;
+
+ block_08FB:
+ if (local_0C <= local_08) goto block_09F5;
+
+ block_0903:
+ local_0E = local_0C;
+ /* loop_selector local_04 in selector_0x42(arg0=0x03A6, arg1=0x0413, arg2=(70 * 32), origin=arg_06) */
+
+ block_091E:
+ if condition goto block_09A8;
+
+ block_0921:
+ local_0A = Item.getQLo(local_04);
+ if (local_0A != local_0C) goto block_09A4;
+
+ block_0934:
+ if (local_0A != (arg_0A + 1)) goto block_098D;
+
+ block_093F:
+ local_10 = Item.getQHi(local_04);
+ if (local_10 < 0) goto block_095A;
+
+ block_0952:
+ local_10 = (local_10 + 0x0100);
+
+ block_095A:
+ local_10 = (local_10 & 127);
+ local_12 = (local_10 & 7);
+ local_14 = (local_10 / 8);
+ if (local_14 != 0) goto block_097B;
+
+ block_0977:
+ local_14 = 1;
+
+ block_097B:
+ local_14 = (local_14 * 5);
+ if (local_12 != 0) goto block_098D;
+
+ block_098A:
+ goto block_0CEF;
+
+ block_098D:
+ /* create_list element_size=0x2 count=0x1 */
+ /* append_list */
+ /* free_local_list bp_offset=0xFA target=[BP-06h] */
+ local_06 = local_04;
+ local_0C = (1 + local_0C);
+ goto block_09A8;
+
+ block_09A4:
+ /* loopnext */
+ goto block_091E;
+
+ block_09A8:
+ if (local_0E != local_0C) goto block_09F2;
+
+ block_09B2:
+ if (local_16 != 0) goto block_09D4;
+
+ block_09BA:
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
+ suspend;
+ goto block_09F2;
+
+ block_09D4:
+ local_16 = (local_16 - 1);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+
+ block_09F2:
+ goto block_08FB;
+
+ block_09F5:
+ if (local_12 != 3) goto block_0B84;
+
+ block_09FD:
+ if 1 goto block_0B84;
+
+ block_0A02:
+ local_0A = 0;
+
+ block_0A0C:
+ foreach_list local_04 -> block_0A2A;
+
+ block_0A11:
+ if (Intrinsic00AD(local_04) != 0) goto block_0A27;
+
+ block_0A20:
+ local_0A = (1 + local_0A);
+
+ block_0A27:
+ goto block_0A0C;
+
+ block_0A2A:
+ if (local_0A != 0) goto block_0B6A;
+
+ block_0A32:
+
+ block_0A38:
+ foreach_list local_04 -> block_0A77;
+
+ block_0A3D:
+ if (local_0A != 0) goto block_0A5B;
+
+ block_0A45:
+ local_0C = Item.getFrame(local_04);
+ local_1D = local_04;
+ local_0A = 1;
+ goto block_0A74;
+
+ block_0A5B:
+ local_0E = Item.getFrame(local_04);
+ local_0C = local_0E;
+
+ block_0A74:
+ goto block_0A38;
+
+ block_0A77:
+
+ block_0A87:
+ foreach_list local_04 -> block_0B6A;
+
+ block_0A8C:
+ if (local_0A == 1) {
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xE3 string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ local_02 = local_1D;
+ FREE.slot_20(pid, 8);
+ spawn NPC.slot_2F(retval, local_04, local_02);
+ suspend;
+ /* loopnext */
+ }
+ }
+ else if (local_0A == 2) {
+ BRIDGE.slot_21(0x0336, local_04);
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xE3 string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ /* loopnext */
+ }
+ spawn FREE.slot_3B(pid, local_14, 0x00000000);
+ suspend;
+ if (Item.getFrame(local_04) == 1) {
+ BRIDGE.slot_21(0x03A6, local_04);
+ }
+ }
+
+ block_0B67:
+ goto block_0A87;
+
+ block_0B6A:
+ spawn FREE.slot_3B(pid, local_14, 0x00000000);
+ suspend;
+ goto block_09FD;
+
+ block_0B84:
+
+ block_0B8A:
+ foreach_list local_04 -> block_0BAB;
+
+ block_0B8F:
+ if (Intrinsic00AD(local_04) != 1) goto block_0BA8;
+
+ block_0B9E:
+
+ block_0BA8:
+ goto block_0B8A;
+
+ block_0BAB:
+ if 1 goto block_0CEF;
+
+ block_0BB0:
+
+ block_0BB6:
+ foreach_list local_04 -> block_0CEC;
+
+ block_0BBB:
+ if (Intrinsic00AD(local_04) != 0) goto block_0BCD;
+
+ block_0BCA:
+ goto block_0CEF;
+
+ block_0BCD:
+ local_0A = Item.getShape(local_04);
+ if ((local_0A != 0x0336) || (local_0A != 0x0290)) goto block_0BEB;
+
+ block_0BE8:
+ goto block_0CEF;
+
+ block_0BEB:
+ if (local_12 != 1) goto block_0C57;
+
+ block_0BF3:
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xE3 string_bytes=0x1 loop_type=0x6 */
+
+ block_0C08:
+ if condition goto block_0C31;
+
+ block_0C0B:
+ local_02 = local_1D;
+ FREE.slot_20(pid, 8);
+ spawn NPC.slot_2F(retval, local_04, local_02);
+ suspend;
+ /* loopnext */
+ goto block_0C08;
+
+ block_0C31:
+ spawn FREE.slot_3B(pid, local_14, 0x00000000);
+ suspend;
+ goto block_0CE9;
+
+ block_0C57:
+ if (local_12 != 2) goto block_0CE6;
+
+ block_0C5F:
+ BRIDGE.slot_21(0x0336, local_04);
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xE3 string_bytes=0x1 loop_type=0x6 */
+
+ block_0C8B:
+ if condition goto block_0C9A;
+
+ block_0C8E:
+ /* loopnext */
+ goto block_0C8B;
+
+ block_0C9A:
+ spawn FREE.slot_3B(pid, local_14, 0x00000000);
+ suspend;
+ if (Item.getFrame(local_04) != 1) goto block_0CE3;
+
+ block_0CC2:
+ BRIDGE.slot_21(0x03A6, local_04);
+
+ block_0CE3:
+ goto block_0CE9;
+
+ block_0CE6:
+ goto block_0CEF;
+
+ block_0CE9:
+ goto block_0BB6;
+
+ block_0CEC:
+ goto block_0BAB;
+
+ block_0CEF:
+ /* free_local_list bp_offset=0xFA target=[BP-06h] */
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BROKENCW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BROKENCW/slot_06_gotHit.txt
index 9a44051..75066aa 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BROKENCW/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/BROKENCW/slot_06_gotHit.txt
@@ -8,7 +8,7 @@ function brokencw_gotHit() /* entry=48 class_id=0x00D1 slot=0x06 */
if (Item.getShape(local_02) == 0x00D1) {
}
else if ((Item.getFamily(local_02) == 6) && (Item.isNpc(local_02) != 0)) {
- spawn class_0A0C_slot_2A(pid, 1, 0, local_02);
+ spawn ITEM.slot_2A(pid, 1, 0, local_02);
suspend;
}
/* loopnext */
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERACO/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERACO/slot_06_gotHit.txt
index ef181e2..d455ae0 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERACO/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERACO/slot_06_gotHit.txt
@@ -9,12 +9,12 @@ function cameraco_gotHit() /* entry=96 class_id=0x01B6 slot=0x06 */
return;
}
else {
- class_0A1D_slot_34(arg_0C, arg_0A);
+ FREE.slot_34(arg_0C, arg_0A);
if (retval && (Item.getFrame(arg_06) == 5)) {
- class_0A1D_slot_3C(0x021B, *(arg_06));
- spawn class_0A17_slot_20(pid, 1, *(arg_06), arg_06);
+ FREE.slot_3C(0x021B, *(arg_06));
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_2A(pid, 0, 0, arg_06);
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERACO/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERACO/slot_0F_enterFastArea.txt
index 6b5c31f..9037260 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERACO/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERACO/slot_0F_enterFastArea.txt
@@ -14,7 +14,7 @@ function cameraco_enterFastArea() /* entry=96 class_id=0x01B6 slot=0x0F */
if (!Item.isEntirelyOnScreen(arg_06)) goto block_0132;
block_0118:
- spawn class_0A1D_slot_3B(pid, local_02, 0x00000000);
+ spawn FREE.slot_3B(pid, local_02, 0x00000000);
suspend;
goto block_010B;
@@ -30,12 +30,12 @@ function cameraco_enterFastArea() /* entry=96 class_id=0x01B6 slot=0x0F */
if (!Item.isEntirelyOnScreen(arg_06)) goto block_0166;
block_014C:
- spawn class_0A1D_slot_3B(pid, local_02, 0x00000000);
+ spawn FREE.slot_3B(pid, local_02, 0x00000000);
suspend;
goto block_013F;
block_0166:
- spawn class_0A1D_slot_3B(pid, local_02, 0x00000000);
+ spawn FREE.slot_3B(pid, local_02, 0x00000000);
suspend;
if (World.getControlledNPCNum() != 0) goto block_0192;
@@ -61,11 +61,11 @@ function cameraco_enterFastArea() /* entry=96 class_id=0x01B6 slot=0x0F */
if ((local_06 > local_04) && (!(Item.getStatus(arg_06) & 4))) goto block_025A;
block_0215:
- spawn class_0A1D_slot_3B(pid, local_02, 0x00000000);
+ spawn FREE.slot_3B(pid, local_02, 0x00000000);
suspend;
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- class_0A0C_slot_24(4, arg_06);
+ ITEM.slot_24(4, arg_06);
block_025A:
goto block_02CB;
@@ -76,7 +76,7 @@ function cameraco_enterFastArea() /* entry=96 class_id=0x01B6 slot=0x0F */
block_026C:
local_0E = 1;
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
goto block_02B3;
@@ -85,7 +85,7 @@ function cameraco_enterFastArea() /* entry=96 class_id=0x01B6 slot=0x0F */
block_0295:
local_0E = -1;
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
goto block_02B3;
@@ -120,7 +120,7 @@ function cameraco_enterFastArea() /* entry=96 class_id=0x01B6 slot=0x0F */
block_0310:
local_0E = 1;
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
goto block_0357;
@@ -129,7 +129,7 @@ function cameraco_enterFastArea() /* entry=96 class_id=0x01B6 slot=0x0F */
block_0339:
local_0E = -1;
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
goto block_0357;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERACO/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERACO/slot_10_leaveFastArea.txt
index bf6104d..b4d2334 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERACO/slot_10_leaveFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERACO/slot_10_leaveFastArea.txt
@@ -2,7 +2,7 @@ function cameraco_leaveFastArea() /* entry=96 class_id=0x01B6 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A1D_slot_3C(0x021B, *(arg_06));
+ FREE.slot_3C(0x021B, *(arg_06));
/* bit_not */
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERAEW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERAEW/slot_06_gotHit.txt
index 8992a9f..ff65d24 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERAEW/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERAEW/slot_06_gotHit.txt
@@ -9,12 +9,12 @@ function cameraew_gotHit() /* entry=117 class_id=0x01D7 slot=0x06 */
return;
}
else {
- class_0A1D_slot_34(arg_0C, arg_0A);
+ FREE.slot_34(arg_0C, arg_0A);
if (retval && (Item.getFrame(arg_06) == 9)) {
- class_0A1D_slot_3C(0x021B, *(arg_06));
- spawn class_0A17_slot_20(pid, 1, *(arg_06), arg_06);
+ FREE.slot_3C(0x021B, *(arg_06));
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_2A(pid, 0, 0, arg_06);
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERAEW/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERAEW/slot_0F_enterFastArea.txt
index ff7b677..5fe03d2 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERAEW/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERAEW/slot_0F_enterFastArea.txt
@@ -14,7 +14,7 @@ function cameraew_enterFastArea() /* entry=117 class_id=0x01D7 slot=0x0F */
if (!Item.isEntirelyOnScreen(arg_06)) goto block_0132;
block_0118:
- spawn class_0A1D_slot_3B(pid, local_02, 0x00000000);
+ spawn FREE.slot_3B(pid, local_02, 0x00000000);
suspend;
goto block_010B;
@@ -30,12 +30,12 @@ function cameraew_enterFastArea() /* entry=117 class_id=0x01D7 slot=0x0F */
if (!Item.isEntirelyOnScreen(arg_06)) goto block_0166;
block_014C:
- spawn class_0A1D_slot_3B(pid, local_02, 0x00000000);
+ spawn FREE.slot_3B(pid, local_02, 0x00000000);
suspend;
goto block_013F;
block_0166:
- spawn class_0A1D_slot_3B(pid, local_02, 0x00000000);
+ spawn FREE.slot_3B(pid, local_02, 0x00000000);
suspend;
if (World.getControlledNPCNum() != 0) goto block_0192;
@@ -61,11 +61,11 @@ function cameraew_enterFastArea() /* entry=117 class_id=0x01D7 slot=0x0F */
if ((local_06 > local_04) && (!(Item.getStatus(arg_06) & 4))) goto block_0257;
block_0212:
- spawn class_0A1D_slot_3B(pid, local_02, 0x00000000);
+ spawn FREE.slot_3B(pid, local_02, 0x00000000);
suspend;
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- class_0A0C_slot_24(4, arg_06);
+ ITEM.slot_24(4, arg_06);
block_0257:
goto block_02C8;
@@ -76,7 +76,7 @@ function cameraew_enterFastArea() /* entry=117 class_id=0x01D7 slot=0x0F */
block_0269:
local_0E = 1;
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
goto block_02B0;
@@ -85,7 +85,7 @@ function cameraew_enterFastArea() /* entry=117 class_id=0x01D7 slot=0x0F */
block_0292:
local_0E = -1;
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
goto block_02B0;
@@ -120,7 +120,7 @@ function cameraew_enterFastArea() /* entry=117 class_id=0x01D7 slot=0x0F */
block_030A:
local_0E = 1;
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
goto block_0351;
@@ -129,7 +129,7 @@ function cameraew_enterFastArea() /* entry=117 class_id=0x01D7 slot=0x0F */
block_0333:
local_0E = -1;
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
goto block_0351;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERAEW/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERAEW/slot_10_leaveFastArea.txt
index 499cd42..71f3290 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERAEW/slot_10_leaveFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERAEW/slot_10_leaveFastArea.txt
@@ -2,7 +2,7 @@ function cameraew_leaveFastArea() /* entry=117 class_id=0x01D7 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A1D_slot_3C(0x021B, *(arg_06));
+ FREE.slot_3C(0x021B, *(arg_06));
/* bit_not */
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERANS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERANS/slot_06_gotHit.txt
index 46686a6..8b8a3e4 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERANS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERANS/slot_06_gotHit.txt
@@ -9,12 +9,12 @@ function camerans_gotHit() /* entry=98 class_id=0x01B8 slot=0x06 */
return;
}
else {
- class_0A1D_slot_34(arg_0C, arg_0A);
+ FREE.slot_34(arg_0C, arg_0A);
if (retval && (Item.getFrame(arg_06) == 9)) {
- class_0A1D_slot_3C(0x021B, *(arg_06));
- spawn class_0A17_slot_20(pid, 1, *(arg_06), arg_06);
+ FREE.slot_3C(0x021B, *(arg_06));
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
- spawn class_0A0C_slot_2A(pid, 0, 0, arg_06);
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERANS/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERANS/slot_0F_enterFastArea.txt
index 6442909..16972ef 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERANS/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERANS/slot_0F_enterFastArea.txt
@@ -14,7 +14,7 @@ function camerans_enterFastArea() /* entry=98 class_id=0x01B8 slot=0x0F */
if (!Item.isEntirelyOnScreen(arg_06)) goto block_0132;
block_0118:
- spawn class_0A1D_slot_3B(pid, local_02, 0x00000000);
+ spawn FREE.slot_3B(pid, local_02, 0x00000000);
suspend;
goto block_010B;
@@ -30,12 +30,12 @@ function camerans_enterFastArea() /* entry=98 class_id=0x01B8 slot=0x0F */
if (!Item.isEntirelyOnScreen(arg_06)) goto block_0166;
block_014C:
- spawn class_0A1D_slot_3B(pid, local_02, 0x00000000);
+ spawn FREE.slot_3B(pid, local_02, 0x00000000);
suspend;
goto block_013F;
block_0166:
- spawn class_0A1D_slot_3B(pid, local_02, 0x00000000);
+ spawn FREE.slot_3B(pid, local_02, 0x00000000);
suspend;
if (World.getControlledNPCNum() != 0) goto block_0192;
@@ -61,11 +61,11 @@ function camerans_enterFastArea() /* entry=98 class_id=0x01B8 slot=0x0F */
if ((local_06 > local_04) && (!(Item.getStatus(arg_06) & 4))) goto block_0257;
block_0212:
- spawn class_0A1D_slot_3B(pid, local_02, 0x00000000);
+ spawn FREE.slot_3B(pid, local_02, 0x00000000);
suspend;
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- class_0A0C_slot_24(4, arg_06);
+ ITEM.slot_24(4, arg_06);
block_0257:
goto block_02C8;
@@ -76,7 +76,7 @@ function camerans_enterFastArea() /* entry=98 class_id=0x01B8 slot=0x0F */
block_0269:
local_0E = 1;
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
goto block_02B0;
@@ -85,7 +85,7 @@ function camerans_enterFastArea() /* entry=98 class_id=0x01B8 slot=0x0F */
block_0292:
local_0E = -1;
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
goto block_02B0;
@@ -120,7 +120,7 @@ function camerans_enterFastArea() /* entry=98 class_id=0x01B8 slot=0x0F */
block_030A:
local_0E = 1;
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
goto block_0351;
@@ -129,7 +129,7 @@ function camerans_enterFastArea() /* entry=98 class_id=0x01B8 slot=0x0F */
block_0333:
local_0E = -1;
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
goto block_0351;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERANS/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERANS/slot_10_leaveFastArea.txt
index 55ca098..92fb3f6 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERANS/slot_10_leaveFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMERANS/slot_10_leaveFastArea.txt
@@ -2,7 +2,7 @@ function camerans_leaveFastArea() /* entry=98 class_id=0x01B8 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A1D_slot_3C(0x021B, *(arg_06));
+ FREE.slot_3C(0x021B, *(arg_06));
/* bit_not */
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMETRON/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMETRON/slot_0E_calledFromAnim.txt
index 61f85e8..6d305b2 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMETRON/slot_0E_calledFromAnim.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAMETRON/slot_0E_calledFromAnim.txt
@@ -4,6 +4,6 @@ function cametron_calledFromAnim() /* entry=175 class_id=0x0319 slot=0x0E */
process_exclude();
local_02 = *(arg_06);
set_info(1, 0);
- spawn class_0A10_slot_20(Intrinsic000D(arg_06), *(arg_06), local_02);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), local_02);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_EW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_EW/slot_06_gotHit.txt
index b31948a..9097bb1 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_EW/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_EW/slot_06_gotHit.txt
@@ -2,6 +2,6 @@ function cam_ew_gotHit() /* entry=99 class_id=0x01B9 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1A_slot_21(arg_0C, arg_0A, arg_06);
+ spawn WALLGUN2.slot_21(arg_0C, arg_0A, arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_EW/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_EW/slot_0A_equip.txt
index 3b75ab3..249e5aa 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_EW/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_EW/slot_0A_equip.txt
@@ -3,12 +3,12 @@ function cam_ew_equip() /* entry=99 class_id=0x01B9 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (World.getControlledNPCNum() == 0) {
- spawn class_0A19_slot_24(pid, arg_0A, World.getControlledNPCNum(), arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, World.getControlledNPCNum(), arg_06);
suspend;
return;
}
else {
- spawn class_0A19_slot_24(pid, arg_0A, global[0x001E], arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, global[0x001E], arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_EW/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_EW/slot_0B_unequip.txt
index 5efd9ef..f2c6b6e 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_EW/slot_0B_unequip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_EW/slot_0B_unequip.txt
@@ -6,7 +6,7 @@ function cam_ew_unequip() /* entry=99 class_id=0x01B9 slot=0x0B */
return;
}
else {
- spawn class_0A19_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_EW/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_EW/slot_0F_enterFastArea.txt
index 99f5c4a..f2aaea1 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_EW/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_EW/slot_0F_enterFastArea.txt
@@ -6,7 +6,7 @@ function cam_ew_enterFastArea() /* entry=99 class_id=0x01B9 slot=0x0F */
return;
}
else {
- spawn class_0A19_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_EW/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_EW/slot_10_leaveFastArea.txt
index 6e4fdeb..1690092 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_EW/slot_10_leaveFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_EW/slot_10_leaveFastArea.txt
@@ -3,7 +3,7 @@ function cam_ew_leaveFastArea() /* entry=99 class_id=0x01B9 slot=0x10 */
set_info(0x021C, *(arg_06));
process_exclude();
/* bit_not */
- class_0A1D_slot_3C(1, *(arg_06));
- class_0A1D_slot_3C(0x020A, *(arg_06));
+ FREE.slot_3C(1, *(arg_06));
+ FREE.slot_3C(0x020A, *(arg_06));
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_NS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_NS/slot_06_gotHit.txt
index 302a119..17cb0ae 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_NS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_NS/slot_06_gotHit.txt
@@ -2,6 +2,6 @@ function cam_ns_gotHit() /* entry=100 class_id=0x01BA slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1A_slot_21(arg_0C, arg_0A, arg_06);
+ spawn WALLGUN2.slot_21(arg_0C, arg_0A, arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_NS/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_NS/slot_0A_equip.txt
index 3e7104e..22160d1 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_NS/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_NS/slot_0A_equip.txt
@@ -3,12 +3,12 @@ function cam_ns_equip() /* entry=100 class_id=0x01BA slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (World.getControlledNPCNum() == 0) {
- spawn class_0A19_slot_24(pid, arg_0A, World.getControlledNPCNum(), arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, World.getControlledNPCNum(), arg_06);
suspend;
return;
}
else {
- spawn class_0A19_slot_24(pid, arg_0A, global[0x001E], arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, global[0x001E], arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_NS/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_NS/slot_0B_unequip.txt
index 649658a..7154ee1 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_NS/slot_0B_unequip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_NS/slot_0B_unequip.txt
@@ -6,7 +6,7 @@ function cam_ns_unequip() /* entry=100 class_id=0x01BA slot=0x0B */
return;
}
else {
- spawn class_0A19_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_NS/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_NS/slot_0F_enterFastArea.txt
index 7b3a06c..35bd25a 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_NS/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_NS/slot_0F_enterFastArea.txt
@@ -6,7 +6,7 @@ function cam_ns_enterFastArea() /* entry=100 class_id=0x01BA slot=0x0F */
return;
}
else {
- spawn class_0A19_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_NS/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_NS/slot_10_leaveFastArea.txt
index bd622aa..9f522a1 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_NS/slot_10_leaveFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CAM_NS/slot_10_leaveFastArea.txt
@@ -3,7 +3,7 @@ function cam_ns_leaveFastArea() /* entry=100 class_id=0x01BA slot=0x10 */
set_info(0x021C, *(arg_06));
process_exclude();
/* bit_not */
- class_0A1D_slot_3C(1, *(arg_06));
- class_0A1D_slot_3C(0x020A, *(arg_06));
+ FREE.slot_3C(1, *(arg_06));
+ FREE.slot_3C(0x020A, *(arg_06));
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CARD_EW/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CARD_EW/slot_01_use.txt
index caeac00..bff2bc5 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CARD_EW/slot_01_use.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CARD_EW/slot_01_use.txt
@@ -2,6 +2,6 @@ function card_ew_use() /* entry=177 class_id=0x031E slot=0x01 */
{
set_info(0x0207, *(arg_06));
process_exclude();
- spawn class_0A15_slot_22(arg_06);
+ spawn SWITCH.slot_22(arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CARD_EW/slot_11_cast.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CARD_EW/slot_11_cast.txt
index 2e156b3..2d42fc6 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CARD_EW/slot_11_cast.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CARD_EW/slot_11_cast.txt
@@ -2,13 +2,13 @@ function card_ew_cast() /* entry=177 class_id=0x031E slot=0x11 */
{
set_info(0x021D, *(arg_06));
process_exclude();
- spawn class_0A1D_slot_3B(pid, 60, 0x00000000);
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
suspend;
- spawn class_0A1D_slot_21(pid, 0x0183, 0x00000000);
+ spawn FREE.slot_21(pid, 0x0183, 0x00000000);
suspend;
- spawn class_0A1D_slot_3B(pid, 1, 0x00000000);
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
suspend;
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CARD_NS/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CARD_NS/slot_01_use.txt
index 7967e23..b21f87a 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CARD_NS/slot_01_use.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CARD_NS/slot_01_use.txt
@@ -2,6 +2,6 @@ function card_ns_use() /* entry=176 class_id=0x031D slot=0x01 */
{
set_info(0x0207, *(arg_06));
process_exclude();
- spawn class_0A15_slot_22(arg_06);
+ spawn SWITCH.slot_22(arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CARD_NS/slot_11_cast.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CARD_NS/slot_11_cast.txt
index 69dfcc5..eb98931 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CARD_NS/slot_11_cast.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CARD_NS/slot_11_cast.txt
@@ -2,13 +2,13 @@ function card_ns_cast() /* entry=176 class_id=0x031D slot=0x11 */
{
set_info(0x021D, *(arg_06));
process_exclude();
- spawn class_0A1D_slot_3B(pid, 60, 0x00000000);
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
suspend;
- spawn class_0A1D_slot_21(pid, 0x0183, 0x00000000);
+ spawn FREE.slot_21(pid, 0x0183, 0x00000000);
suspend;
- spawn class_0A1D_slot_3B(pid, 1, 0x00000000);
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
suspend;
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CATWALK1/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CATWALK1/slot_06_gotHit.txt
index 4fa9d04..3a66a9e 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CATWALK1/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CATWALK1/slot_06_gotHit.txt
@@ -2,12 +2,12 @@ function catwalk1_gotHit() /* entry=38 class_id=0x0096 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (retval == 4) {
return;
}
else {
- spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CATWALK2/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CATWALK2/slot_06_gotHit.txt
index c804abc..5d418f4 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CATWALK2/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CATWALK2/slot_06_gotHit.txt
@@ -3,12 +3,12 @@ function catwalk2_gotHit() /* entry=61 class_id=0x0132 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
local_02 = Item.getFrame(arg_06);
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (retval == 4) {
return;
}
else {
- spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHANGER/slot_07_hatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHANGER/slot_07_hatch.txt
new file mode 100644
index 0000000..f44405a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHANGER/slot_07_hatch.txt
@@ -0,0 +1,17 @@
+function changer_hatch() /* entry=427 class_id=0x0908 slot=0x07 */
+{
+ set_info(0x0210, *(arg_06));
+ process_exclude();
+ local_04 = Item.getQLo(arg_06);
+ local_08 = Egg.getEggId(arg_06);
+ if (!local_08) {
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x4C */
+ /* loop current_var=0xFE string_bytes=0x1A loop_type=0x2 */
+ while (!condition) {
+ local_06 = Item.getQLo(local_02);
+ /* loopnext */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEDITRO/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEDITRO/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..192d12f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEDITRO/slot_0E_calledFromAnim.txt
@@ -0,0 +1,8 @@
+function cheditro_calledFromAnim() /* entry=201 class_id=0x0385 slot=0x0E */
+{
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ local_02 = *(arg_06);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), local_02);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEMSUIT/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEMSUIT/slot_0E_calledFromAnim.txt
index d276bfe..f02cdbb 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEMSUIT/slot_0E_calledFromAnim.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEMSUIT/slot_0E_calledFromAnim.txt
@@ -2,6 +2,6 @@ function chemsuit_calledFromAnim() /* entry=167 class_id=0x02F6 slot=0x0E */
{
set_info(0x021A, *(arg_06));
process_exclude();
- spawn class_0A10_slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEST_EW/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEST_EW/slot_01_use.txt
new file mode 100644
index 0000000..17bdf8c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEST_EW/slot_01_use.txt
@@ -0,0 +1,63 @@
+function chest_ew_use() /* entry=321 class_id=0x0550 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06) <= 1) {
+ return;
+ }
+ else if (Item.getFrame(arg_06) == 1) {
+ FREE.slot_36(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 6, 0x054B, *(arg_06));
+ if (!retval) {
+ local_06 = 6;
+ while (local_06 > 10) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_06 = (1 + local_06);
+ }
+ }
+ else {
+ return;
+ }
+ }
+ else {
+ FREE.slot_36(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 1, 0x054B, *(arg_06));
+ if (!retval) {
+ local_06 = 1;
+ while (local_06 > 5) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_06 = (1 + local_06);
+ }
+ }
+ else {
+ return;
+ }
+ }
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ /* loop_selector local_02 in nearby_items(shape=0x0476, origin=arg_06) */
+ while (!condition) {
+ if (Item.getQLo(arg_06) == Item.getQLo(local_02)) {
+ FREE.slot_37(local_02);
+ local_04 = retval;
+ if ((((Item.getFamily(local_04) == 10) || (Item.getFamily(local_04) != 11)) || (Item.getFamily(local_04) != 12)) || (Item.getFamily(local_04) != 13)) {
+ if (MainActor.addItemCru(1, local_04)) {
+ /* global_address global_id=0x1E */
+ if (Actor.getMap() == 25) {
+ }
+ else {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ }
+ }
+ }
+ else {
+ spawn FREE.slot_3A(pid, local_04, 0x00000000);
+ suspend;
+ }
+ }
+ /* loopnext */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEST_EW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEST_EW/slot_06_gotHit.txt
new file mode 100644
index 0000000..d54d7d1
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEST_EW/slot_06_gotHit.txt
@@ -0,0 +1,29 @@
+function chest_ew_gotHit() /* entry=321 class_id=0x0550 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (retval) {
+ return;
+ }
+ else {
+ local_02 = Item.getFrame(arg_06);
+ if (local_02 >= 2) {
+ spawn ITEM.slot_29(pid, 0x008C, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
+ suspend;
+ ITEM.slot_24(0x1000, arg_06);
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEST_NS/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEST_NS/slot_01_use.txt
new file mode 100644
index 0000000..1600a10
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEST_NS/slot_01_use.txt
@@ -0,0 +1,65 @@
+function chest_ns_use() /* entry=320 class_id=0x054F slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06) <= 1) {
+ return;
+ }
+ else if (Item.getFrame(arg_06) == 1) {
+ FREE.slot_36(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 6, 0x054A, *(arg_06));
+ if (!retval) {
+ local_06 = 6;
+ while (local_06 > 10) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_06 = (1 + local_06);
+ }
+ }
+ else {
+ return;
+ }
+ }
+ else {
+ FREE.slot_36(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 1, 0x054A, *(arg_06));
+ if (!retval) {
+ local_06 = 1;
+ while (local_06 > 5) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_06 = (1 + local_06);
+ }
+ }
+ else {
+ return;
+ }
+ }
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ local_08 = (Item.getX(arg_06) + 56);
+ local_0A = (Item.getY(arg_06) + 64);
+ /* loop_selector local_02 in nearby_items(shape=0x0476, origin=arg_06) */
+ while (!condition) {
+ if (Item.getQLo(arg_06) == Item.getQLo(local_02)) {
+ FREE.slot_37(local_02);
+ local_04 = retval;
+ if ((((Item.getFamily(local_04) == 10) || (Item.getFamily(local_04) != 11)) || (Item.getFamily(local_04) != 12)) || (Item.getFamily(local_04) != 13)) {
+ if (MainActor.addItemCru(1, local_04)) {
+ /* global_address global_id=0x1E */
+ if (Actor.getMap() == 25) {
+ }
+ else {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ }
+ }
+ }
+ else {
+ spawn FREE.slot_3A(pid, local_04, 0x00000000);
+ suspend;
+ }
+ }
+ /* loopnext */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEST_NS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEST_NS/slot_06_gotHit.txt
new file mode 100644
index 0000000..e7ea52d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEST_NS/slot_06_gotHit.txt
@@ -0,0 +1,29 @@
+function chest_ns_gotHit() /* entry=320 class_id=0x054F slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (retval) {
+ return;
+ }
+ else {
+ local_02 = Item.getFrame(arg_06);
+ if (local_02 >= 2) {
+ spawn ITEM.slot_29(pid, 0x008C, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
+ suspend;
+ ITEM.slot_24(0x1000, arg_06);
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEST_OE/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEST_OE/slot_01_use.txt
new file mode 100644
index 0000000..b0c6df1
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEST_OE/slot_01_use.txt
@@ -0,0 +1,17 @@
+function chest_oe_use() /* entry=317 class_id=0x054B slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06) <= 9) {
+ return;
+ }
+ else {
+ spawn FREE.slot_49(pid, *(arg_06), 0x00000000);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ ITEM.slot_24(0x1000, arg_06);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEST_OE/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEST_OE/slot_06_gotHit.txt
new file mode 100644
index 0000000..107a795
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEST_OE/slot_06_gotHit.txt
@@ -0,0 +1,17 @@
+function chest_oe_gotHit() /* entry=317 class_id=0x054B slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (retval) {
+ return;
+ }
+ else if (Item.getFrame(arg_06) >= 10) {
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEST_ON/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEST_ON/slot_01_use.txt
new file mode 100644
index 0000000..398c698
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEST_ON/slot_01_use.txt
@@ -0,0 +1,17 @@
+function chest_on_use() /* entry=316 class_id=0x054A slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06) <= 9) {
+ return;
+ }
+ else {
+ spawn FREE.slot_49(pid, *(arg_06), 0x00000000);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ ITEM.slot_24(0x1000, arg_06);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEST_ON/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEST_ON/slot_06_gotHit.txt
new file mode 100644
index 0000000..d0c4f30
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CHEST_ON/slot_06_gotHit.txt
@@ -0,0 +1,17 @@
+function chest_on_gotHit() /* entry=316 class_id=0x054A slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (retval) {
+ return;
+ }
+ else if (Item.getFrame(arg_06) >= 10) {
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONGRESS/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONGRESS/slot_0E_calledFromAnim.txt
index cc42610..7e3abee 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONGRESS/slot_0E_calledFromAnim.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONGRESS/slot_0E_calledFromAnim.txt
@@ -2,6 +2,6 @@ function congress_calledFromAnim() /* entry=159 class_id=0x02DF slot=0x0E */
{
set_info(0x021A, *(arg_06));
process_exclude();
- spawn class_0A10_slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONTAIN/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONTAIN/slot_20_slot_20.txt
new file mode 100644
index 0000000..7b4271d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONTAIN/slot_20_slot_20.txt
@@ -0,0 +1,63 @@
+function contain_slot_20() /* entry=449 class_id=0x0A03 slot=0x20 */
+{
+ set_info(0x0001, *(arg_06));
+ FREE.slot_35(arg_0C, arg_0A);
+ ITEM.slot_26((retval < 1), 0x1000, arg_06);
+ if (retval == 1) {
+ return;
+ }
+ else {
+ spawn ITEM.slot_29(pid, 0x0096, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ local_04 = *(arg_06);
+ local_06 = Item.getQLo(arg_06);
+ if (!(global[0x0007])) {
+ return;
+ }
+ else {
+ /* pop_global global_id=0x7 size=0x1 */
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x44 */
+ /* loop current_var=0xFE string_bytes=0xA loop_type=0x2 */
+ while (!condition) {
+ if (local_06 == Item.getQLo(local_02)) {
+ if (Item.getShape(local_02) == 52) {
+ if (Item.getFrame(arg_06) == 0) {
+ suspend;
+ }
+ }
+ else if (Item.getShape(local_02) == 0x034B) {
+ spawn ITEM.slot_2A(pid, 1, 0, local_02);
+ suspend;
+ }
+ else if (Item.getShape(local_02) == 11) {
+ ITEM.slot_24(0x1000, local_02);
+ if (Item.getFrame(local_02)) {
+ spawn ITEM.slot_2A(pid, 0, 1, local_02);
+ suspend;
+ }
+ }
+ else if (Item.getShape(local_02) == 0x0127) {
+ ITEM.slot_24(0x1000, local_02);
+ if (Item.getFrame(local_02)) {
+ spawn ITEM.slot_2A(pid, 0, 1, local_02);
+ suspend;
+ }
+ }
+ }
+ /* loopnext */
+ }
+ /* pop_global global_id=0x7 size=0x1 */
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONT_EW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONT_EW/slot_06_gotHit.txt
index e62caaf..43f8356 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONT_EW/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONT_EW/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function cont_ew_gotHit() /* entry=4 class_id=0x000B slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A03_slot_20(pid, arg_0C, arg_0A, arg_06);
+ spawn CONTAIN.slot_20(pid, arg_0C, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONT_FL/slot_11_cast.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONT_FL/slot_11_cast.txt
index fec1760..5d97e84 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONT_FL/slot_11_cast.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONT_FL/slot_11_cast.txt
@@ -2,7 +2,7 @@ function cont_fl_cast() /* entry=11 class_id=0x0034 slot=0x11 */
{
set_info(0x021D, *(arg_06));
process_exclude();
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONT_NS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONT_NS/slot_06_gotHit.txt
index ec40459..c58bb10 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONT_NS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONT_NS/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function cont_ns_gotHit() /* entry=57 class_id=0x0127 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A03_slot_20(pid, arg_0C, arg_0A, arg_06);
+ spawn CONTAIN.slot_20(pid, arg_0C, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVEYOR/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVEYOR/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..de18624
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVEYOR/slot_10_leaveFastArea.txt
@@ -0,0 +1,7 @@
+function conveyor_leaveFastArea() /* entry=478 class_id=0x0A20 slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ FREE.slot_3C(0x0205, *(arg_06));
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVEYOR/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVEYOR/slot_20_slot_20.txt
new file mode 100644
index 0000000..4c8a73b
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVEYOR/slot_20_slot_20.txt
@@ -0,0 +1,108 @@
+function conveyor_slot_20() /* entry=478 class_id=0x0A20 slot=0x20 */
+{
+ entry:
+ set_info(0x0205, *(arg_06));
+ set_info(0x0205, *(arg_06));
+ local_02 = 0;
+ local_02 = Item.getFrame(arg_06);
+ if (Intrinsic0035(115, arg_06) != 0) goto block_0120;
+
+ block_0116:
+
+ block_0120:
+ suspend;
+ local_03 = 0;
+ if Item.getQHi(arg_06) goto block_0159;
+
+ block_0131:
+ local_02 = (local_02 - 1);
+ if (arg_0A < 0) goto block_0147;
+
+ block_0140:
+ arg_0A = (arg_0A * -1);
+
+ block_0147:
+ if (arg_0C < 0) goto block_0156;
+
+ block_014F:
+ arg_0C = (arg_0C * -1);
+
+ block_0156:
+ goto block_017E;
+
+ block_0159:
+ local_02 = (1 + local_02);
+ if (arg_0A > 0) goto block_016F;
+
+ block_0168:
+ arg_0A = (arg_0A * -1);
+
+ block_016F:
+ if (arg_0C > 0) goto block_017E;
+
+ block_0177:
+ arg_0C = (arg_0C * -1);
+
+ block_017E:
+ if (local_02 > 2) goto block_018A;
+
+ block_0186:
+ local_02 = 0;
+
+ block_018A:
+ if (local_02 < 0) goto block_0196;
+
+ block_0192:
+ local_02 = 2;
+
+ block_0196:
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFB string_bytes=0x1 loop_type=0x6 */
+
+ block_01A3:
+ if condition goto block_0262;
+
+ block_01A6:
+ local_09 = Item.getShape(local_05);
+ if ((local_09 != 0x0476) && (local_09 != 0x04D0)) goto block_025E;
+
+ block_01C1:
+ local_06 = Item.isOn(*(arg_06), local_05);
+ local_0E = (Item.getX(local_05) + arg_0A);
+ local_0C = (Item.getY(local_05) + arg_0C);
+ local_0A = Item.getZ(local_05);
+ if (!Item.legalMoveToPoint(0, 1, local_0E, local_05)) goto block_0235;
+
+ block_0212:
+
+ block_0235:
+ local_07 = Item.isOn(*(arg_06), local_05);
+ local_03 = 1;
+ if ((local_06 != 1) && (local_07 != 0)) goto block_025E;
+
+ block_0256:
+
+ block_025E:
+ /* loopnext */
+ goto block_01A3;
+
+ block_0262:
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ if (!local_03) goto block_0298;
+
+ block_0281:
+ goto block_02C0;
+
+ block_0298:
+ if (Intrinsic0035(115, arg_06) != 0) goto block_02B3;
+
+ block_02A9:
+
+ block_02B3:
+ goto block_0120;
+
+ block_02C0:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVEY_E/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVEY_E/slot_06_gotHit.txt
index 9b7f758..1ecc018 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVEY_E/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVEY_E/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function convey_e_gotHit() /* entry=63 class_id=0x0134 slot=0x06 */
if (!Item.getQHi(arg_06)) {
local_02 = 3;
}
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
return;
}
@@ -19,7 +19,7 @@ function convey_e_gotHit() /* entry=63 class_id=0x0134 slot=0x06 */
local_06 = 0;
}
if (!(local_05 && local_06)) {
- spawn class_0A20_slot_20(pid, local_02, local_01, arg_06);
+ spawn CONVEYOR.slot_20(pid, local_02, local_01, arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVEY_E/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVEY_E/slot_0A_equip.txt
index 11bde01..0bda4d8 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVEY_E/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVEY_E/slot_0A_equip.txt
@@ -3,17 +3,17 @@ function convey_e_equip() /* entry=63 class_id=0x0134 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (arg_0A == 0) {
- class_0A1D_slot_3C(0x0205, *(arg_06));
+ FREE.slot_3C(0x0205, *(arg_06));
return;
}
else if (arg_0A == 1) {
- class_0A1D_slot_3C(0x0205, *(arg_06));
- spawn class_0A20_slot_20(-3, 0, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn CONVEYOR.slot_20(-3, 0, arg_06);
return;
}
else if (arg_0A == 2) {
- class_0A1D_slot_3C(0x0205, *(arg_06));
- spawn class_0A20_slot_20(3, 0, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn CONVEYOR.slot_20(3, 0, arg_06);
return;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVEY_N/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVEY_N/slot_06_gotHit.txt
index e54c2a5..8376f5f 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVEY_N/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVEY_N/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function convey_n_gotHit() /* entry=22 class_id=0x006B slot=0x06 */
if (!Item.getQHi(arg_06)) {
local_01 = 3;
}
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
return;
}
@@ -19,7 +19,7 @@ function convey_n_gotHit() /* entry=22 class_id=0x006B slot=0x06 */
local_06 = 0;
}
if (!(local_05 && local_06)) {
- spawn class_0A20_slot_20(pid, local_02, local_01, arg_06);
+ spawn CONVEYOR.slot_20(pid, local_02, local_01, arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVEY_N/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVEY_N/slot_0A_equip.txt
index 0c6dda4..eb2e911 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVEY_N/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVEY_N/slot_0A_equip.txt
@@ -3,17 +3,17 @@ function convey_n_equip() /* entry=22 class_id=0x006B slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (arg_0A == 0) {
- class_0A1D_slot_3C(0x0205, *(arg_06));
+ FREE.slot_3C(0x0205, *(arg_06));
return;
}
else if (arg_0A == 1) {
- class_0A1D_slot_3C(0x0205, *(arg_06));
- spawn class_0A20_slot_20(0, -3, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn CONVEYOR.slot_20(0, -3, arg_06);
return;
}
else if (arg_0A == 2) {
- class_0A1D_slot_3C(0x0205, *(arg_06));
- spawn class_0A20_slot_20(0, 3, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn CONVEYOR.slot_20(0, 3, arg_06);
return;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVFLR/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVFLR/slot_06_gotHit.txt
index 7aaaa85..49e77bc 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVFLR/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVFLR/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function convflr_gotHit() /* entry=130 class_id=0x022C slot=0x06 */
if (!Item.getQHi(arg_06)) {
local_02 = 3;
}
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
return;
}
@@ -19,7 +19,7 @@ function convflr_gotHit() /* entry=130 class_id=0x022C slot=0x06 */
local_06 = 0;
}
if (!(local_05 && local_06)) {
- spawn class_0A20_slot_20(pid, local_02, local_01, arg_06);
+ spawn CONVEYOR.slot_20(pid, local_02, local_01, arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVFLR/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVFLR/slot_0A_equip.txt
index 7325324..acabdda 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVFLR/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVFLR/slot_0A_equip.txt
@@ -3,17 +3,17 @@ function convflr_equip() /* entry=130 class_id=0x022C slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (arg_0A == 0) {
- class_0A1D_slot_3C(0x0205, *(arg_06));
+ FREE.slot_3C(0x0205, *(arg_06));
return;
}
else if (arg_0A == 1) {
- class_0A1D_slot_3C(0x0205, *(arg_06));
- spawn class_0A20_slot_20(-3, 0, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn CONVEYOR.slot_20(-3, 0, arg_06);
return;
}
else if (arg_0A == 2) {
- class_0A1D_slot_3C(0x0205, *(arg_06));
- spawn class_0A20_slot_20(3, 0, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn CONVEYOR.slot_20(3, 0, arg_06);
return;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVFLR2/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVFLR2/slot_06_gotHit.txt
new file mode 100644
index 0000000..e16fa18
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVFLR2/slot_06_gotHit.txt
@@ -0,0 +1,27 @@
+function convflr2_gotHit() /* entry=326 class_id=0x0563 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_01 = -3;
+ local_02 = 0;
+ if (!Item.getQHi(arg_06)) {
+ local_01 = 3;
+ }
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ return;
+ }
+ else {
+ local_04 = arg_0A;
+ local_05 = Item.isOn(*(arg_06), local_04);
+ local_06 = 1;
+ if (Item.getQHi(arg_06) == 0x00FF) {
+ local_06 = 0;
+ }
+ if (!(local_05 && local_06)) {
+ spawn CONVEYOR.slot_20(pid, local_02, local_01, arg_06);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVFLR2/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVFLR2/slot_0A_equip.txt
new file mode 100644
index 0000000..1d13a83
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONVFLR2/slot_0A_equip.txt
@@ -0,0 +1,20 @@
+function convflr2_equip() /* entry=326 class_id=0x0563 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (arg_0A == 0) {
+ FREE.slot_3C(0x0205, *(arg_06));
+ return;
+ }
+ else if (arg_0A == 1) {
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn CONVEYOR.slot_20(0, -3, arg_06);
+ return;
+ }
+ else if (arg_0A == 2) {
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn CONVEYOR.slot_20(0, 3, arg_06);
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONV_EL/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONV_EL/slot_06_gotHit.txt
index 290e389..a2f1a9a 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONV_EL/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONV_EL/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function conv_el_gotHit() /* entry=146 class_id=0x0293 slot=0x06 */
if (!Item.getQHi(arg_06)) {
local_02 = 3;
}
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
return;
}
@@ -19,7 +19,7 @@ function conv_el_gotHit() /* entry=146 class_id=0x0293 slot=0x06 */
local_06 = 0;
}
if (!(local_05 && local_06)) {
- spawn class_0A20_slot_20(pid, local_02, local_01, arg_06);
+ spawn CONVEYOR.slot_20(pid, local_02, local_01, arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONV_EL/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONV_EL/slot_0A_equip.txt
index df6a3d4..ae61dbb 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONV_EL/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONV_EL/slot_0A_equip.txt
@@ -3,17 +3,17 @@ function conv_el_equip() /* entry=146 class_id=0x0293 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (arg_0A == 0) {
- class_0A1D_slot_3C(0x0205, *(arg_06));
+ FREE.slot_3C(0x0205, *(arg_06));
return;
}
else if (arg_0A == 1) {
- class_0A1D_slot_3C(0x0205, *(arg_06));
- spawn class_0A20_slot_20(-3, 0, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn CONVEYOR.slot_20(-3, 0, arg_06);
return;
}
else if (arg_0A == 2) {
- class_0A1D_slot_3C(0x0205, *(arg_06));
- spawn class_0A20_slot_20(3, 0, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn CONVEYOR.slot_20(3, 0, arg_06);
return;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONV_NL/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONV_NL/slot_06_gotHit.txt
index 5a81608..fe145a9 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONV_NL/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONV_NL/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function conv_nl_gotHit() /* entry=145 class_id=0x0292 slot=0x06 */
if (!Item.getQHi(arg_06)) {
local_01 = 3;
}
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
return;
}
@@ -19,7 +19,7 @@ function conv_nl_gotHit() /* entry=145 class_id=0x0292 slot=0x06 */
local_06 = 0;
}
if (!(local_05 && local_06)) {
- spawn class_0A20_slot_20(pid, local_02, local_01, arg_06);
+ spawn CONVEYOR.slot_20(pid, local_02, local_01, arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONV_NL/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONV_NL/slot_0A_equip.txt
index c8f7e42..04ca4af 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONV_NL/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CONV_NL/slot_0A_equip.txt
@@ -3,17 +3,17 @@ function conv_nl_equip() /* entry=145 class_id=0x0292 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (arg_0A == 0) {
- class_0A1D_slot_3C(0x0205, *(arg_06));
+ FREE.slot_3C(0x0205, *(arg_06));
return;
}
else if (arg_0A == 1) {
- class_0A1D_slot_3C(0x0205, *(arg_06));
- spawn class_0A20_slot_20(0, -3, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn CONVEYOR.slot_20(0, -3, arg_06);
return;
}
else if (arg_0A == 2) {
- class_0A1D_slot_3C(0x0205, *(arg_06));
- spawn class_0A20_slot_20(0, 3, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn CONVEYOR.slot_20(0, 3, arg_06);
return;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/COPY_EW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/COPY_EW/slot_06_gotHit.txt
new file mode 100644
index 0000000..35f8abb
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/COPY_EW/slot_06_gotHit.txt
@@ -0,0 +1,20 @@
+function copy_ew_gotHit() /* entry=235 class_id=0x0433 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_02 = Item.getFrame(arg_06);
+ local_04 = 2;
+ if (local_02 <= 1) {
+ return;
+ }
+ else {
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ spawn ITEM.slot_2A(pid, 0, 1, arg_06);
+ suspend;
+ FREE.slot_20(1);
+ FREE.slot_20(local_04, 10);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/COPY_NS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/COPY_NS/slot_06_gotHit.txt
new file mode 100644
index 0000000..867e449
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/COPY_NS/slot_06_gotHit.txt
@@ -0,0 +1,20 @@
+function copy_ns_gotHit() /* entry=236 class_id=0x0434 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_02 = Item.getFrame(arg_06);
+ local_04 = 2;
+ if (local_02 <= 1) {
+ return;
+ }
+ else {
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ spawn ITEM.slot_2A(pid, 0, 1, arg_06);
+ suspend;
+ FREE.slot_20(1);
+ FREE.slot_20(local_04, 10);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/COURIER/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/COURIER/slot_06_gotHit.txt
new file mode 100644
index 0000000..1c1cd63
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/COURIER/slot_06_gotHit.txt
@@ -0,0 +1,15 @@
+function courier_gotHit() /* entry=256 class_id=0x045D slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ if (arg_0A == 1) {
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
+ while (!condition) {
+ /* loopnext */
+ }
+ spawn ITEM.slot_2A(pid, 1, 1, arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/COURIER/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/COURIER/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..9fb45ab
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/COURIER/slot_0E_calledFromAnim.txt
@@ -0,0 +1,9 @@
+function courier_calledFromAnim() /* entry=256 class_id=0x045D slot=0x0E */
+{
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ local_02 = *(arg_06);
+ set_info(1, 0);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRAZYEW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRAZYEW/slot_06_gotHit.txt
new file mode 100644
index 0000000..8b84e13
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRAZYEW/slot_06_gotHit.txt
@@ -0,0 +1,13 @@
+function crazyew_gotHit() /* entry=250 class_id=0x0451 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ if (arg_0A >= 0x00FF) {
+ local_02 = arg_0A;
+ NPC.slot_2A(local_02);
+ if ((retval == 1) && (Actor.getCurrentActivityNo(local_02) != 12)) {
+ spawn NPC.slot_2C(local_02);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRAZYNS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRAZYNS/slot_06_gotHit.txt
new file mode 100644
index 0000000..e1fe8c2
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRAZYNS/slot_06_gotHit.txt
@@ -0,0 +1,13 @@
+function crazyns_gotHit() /* entry=356 class_id=0x05AE slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ if (arg_0A >= 0x00FF) {
+ local_02 = arg_0A;
+ NPC.slot_2A(local_02);
+ if ((retval == 1) && (Actor.getCurrentActivityNo(local_02) != 12)) {
+ spawn NPC.slot_2C(local_02);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRUMORPH/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRUMORPH/slot_0A_equip.txt
index cecfc7b..65f250f 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRUMORPH/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRUMORPH/slot_0A_equip.txt
@@ -2,34 +2,30 @@ function crumorph_equip() /* entry=174 class_id=0x0318 slot=0x0A */
{
set_info(0x0211, *(arg_06));
process_exclude();
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector local_02 in nearby_items(family=6, origin=arg_06) */
while (!condition) {
if (!Item.isNpc(local_02)) {
if (Intrinsic000D(local_02) == Item.getQLo(arg_06)) {
if (Actor.isDead(local_02) == 0) {
- class_0A0F_slot_2A(local_02);
+ NPC.slot_2A(local_02);
if (retval) {
return;
}
local_04 = Actor.getCurrentActivityNo(local_02);
- spawn class_0A1D_slot_3B(pid, 3, 0x00000000);
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
suspend;
- spawn class_0A0F_slot_28(pid, local_02);
+ spawn NPC.slot_28(pid, local_02);
suspend;
while (World.getControlledNPCNum() <= 1) {
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
if (Actor.isDead(local_02) == 0) {
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
else {
- spawn class_0A17_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRUSADER/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRUSADER/slot_01_use.txt
new file mode 100644
index 0000000..ce55c5b
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRUSADER/slot_01_use.txt
@@ -0,0 +1,12 @@
+function crusader_use() /* entry=418 class_id=0x0801 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ spawn FREE.slot_3B(pid, 0x00C8, 0x00000000);
+ suspend;
+ /* global_address global_id=0x1E */
+ while (Actor.isDead()) {
+ /* global_address global_id=0x1E */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRUSADER/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRUSADER/slot_04_cachein.txt
new file mode 100644
index 0000000..7a3b95c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRUSADER/slot_04_cachein.txt
@@ -0,0 +1,6 @@
+function crusader_cachein() /* entry=418 class_id=0x0801 slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRUSADER/slot_11_cast.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRUSADER/slot_11_cast.txt
new file mode 100644
index 0000000..05ab344
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRUSADER/slot_11_cast.txt
@@ -0,0 +1,6 @@
+function crusader_cast() /* entry=418 class_id=0x0801 slot=0x11 */
+{
+ set_info(0x021D, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRUZTRIG/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRUZTRIG/slot_06_gotHit.txt
new file mode 100644
index 0000000..05e61ba
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRUZTRIG/slot_06_gotHit.txt
@@ -0,0 +1,55 @@
+function cruztrig_gotHit() /* entry=191 class_id=0x0365 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ if (arg_0A == World.getControlledNPCNum()) {
+ return;
+ }
+ else if (Item.getMapNum(arg_06) == 0) {
+ local_02 = arg_0A;
+ if ((Item.getSurfaceWeight(arg_06) == 0) || (Item.isCentreOn(*(arg_06), local_02) != 0)) {
+ return;
+ }
+ else {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ while (!(1)) {
+ if (Item.getSurfaceWeight(arg_06) == 0) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ else {
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x3D */
+ /* loopscr value_u8=0x40 */
+ /* loopscr value_u8=0x25 */
+ /* loop current_var=0xFC string_bytes=0x6 loop_type=0x6 */
+ while (!condition) {
+ while (!(Item.getStatus(local_04) & 0x1000)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
+ suspend;
+ /* global_address global_id=0x1E */
+ if (Item.getZ() >= (Item.getZ(local_04) - 5)) {
+ ELEVAT.slot_21(Item.getZ(local_04), local_04);
+ if (!retval) {
+ spawn ELEVAT.slot_20(local_04);
+ }
+ }
+ /* loopnext */
+ }
+ return;
+ }
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRU_MINE/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRU_MINE/slot_01_use.txt
index 31ee67c..a6b5647 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRU_MINE/slot_01_use.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRU_MINE/slot_01_use.txt
@@ -13,7 +13,7 @@ function cru_mine_use() /* entry=55 class_id=0x011E slot=0x01 */
local_0D = Actor.getLastAnimSet();
/* global_address global_id=0x1E */
while (!Actor.isBusy()) {
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x1E */
@@ -139,18 +139,18 @@ function cru_mine_use() /* entry=55 class_id=0x011E slot=0x01 */
}
else {
while (!Kernel.getNumProcesses(0x0203, local_02)) {
- spawn class_0A1D_slot_3B(pid, 3, 0x00000000);
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
suspend;
}
- spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
local_0B = 1;
while (local_0B > 3) {
- spawn class_0A1D_slot_3B(pid, 3, 0x00000000);
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
suspend;
local_0B = (1 + local_0B);
}
- spawn class_011E_slot_20(local_02, arg_06);
+ spawn CRU_MINE.slot_20(local_02, arg_06);
}
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRU_MINE/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRU_MINE/slot_20_slot_20.txt
index fd5357a..c83b986 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRU_MINE/slot_20_slot_20.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRU_MINE/slot_20_slot_20.txt
@@ -9,11 +9,7 @@ function cru_mine_slot_20() /* entry=55 class_id=0x011E slot=0x20 */
block_0586:
local_02 = (1 + local_02);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xED string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector local_13 in nearby_items(family=6, origin=local_19) */
block_05A2:
if condition goto block_05DF;
@@ -42,7 +38,7 @@ function cru_mine_slot_20() /* entry=55 class_id=0x011E slot=0x20 */
local_02 = 0;
block_05F5:
- spawn class_0A1D_slot_3B(pid, 60, 0x00000000);
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
suspend;
goto block_0580;
@@ -62,11 +58,7 @@ function cru_mine_slot_20() /* entry=55 class_id=0x011E slot=0x20 */
if (!local_15) goto block_06AD;
block_063F:
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xED string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector local_13 in nearby_items(family=6, origin=local_19) */
block_0654:
if condition goto block_0691;
@@ -89,7 +81,7 @@ function cru_mine_slot_20() /* entry=55 class_id=0x011E slot=0x20 */
goto block_0654;
block_0691:
- spawn class_0A1D_slot_3B(pid, 60, 0x00000000);
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
suspend;
goto block_0639;
@@ -97,7 +89,7 @@ function cru_mine_slot_20() /* entry=55 class_id=0x011E slot=0x20 */
if Intrinsic0036(local_15, local_13) goto block_06D5;
block_06BB:
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
goto block_06AD;
@@ -163,7 +155,7 @@ function cru_mine_slot_20() /* entry=55 class_id=0x011E slot=0x20 */
block_0868:
local_0D = (local_0D - 4);
- spawn class_0A1D_slot_3B(pid, 1, 0x00000000);
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
suspend;
local_1C = 1;
goto block_0856;
@@ -176,7 +168,7 @@ function cru_mine_slot_20() /* entry=55 class_id=0x011E slot=0x20 */
block_08A9:
local_02 = (1 + local_02);
- spawn class_0A1D_slot_3B(pid, 4, 0x00000000);
+ spawn FREE.slot_3B(pid, 4, 0x00000000);
suspend;
goto block_0613;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRU_SPID/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRU_SPID/slot_01_use.txt
new file mode 100644
index 0000000..b873d17
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRU_SPID/slot_01_use.txt
@@ -0,0 +1,119 @@
+function cru_spid_use() /* entry=324 class_id=0x0560 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ /* global_address global_id=0x1E */
+ if (Actor.getMap() == 25) {
+ return;
+ }
+ else {
+ local_05 = *(arg_06);
+ set_info(0x00F0, 0);
+ /* global_address global_id=0x1E */
+ local_0D = Actor.getLastAnimSet();
+ /* global_address global_id=0x1E */
+ while (!Actor.isBusy()) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ /* global_address global_id=0x1E */
+ if (Actor.getDir() == 0) {
+ local_0F = -1;
+ local_11 = -3;
+ }
+ else if (Actor.getDir() == 1) {
+ local_0F = 0;
+ local_11 = -3;
+ }
+ else if (Actor.getDir() == 2) {
+ local_0F = 1;
+ local_11 = -3;
+ }
+ else if (Actor.getDir() == 3) {
+ local_0F = 2;
+ local_11 = -2;
+ }
+ else if (Actor.getDir() == 4) {
+ local_0F = 2;
+ local_11 = -1;
+ }
+ else if (Actor.getDir() == 5) {
+ local_0F = 2;
+ local_11 = 0;
+ }
+ else if (Actor.getDir() == 6) {
+ local_0F = 2;
+ local_11 = 2;
+ }
+ else if (Actor.getDir() == 7) {
+ local_0F = 0;
+ local_11 = 2;
+ }
+ else if (Actor.getDir() == 8) {
+ local_0F = -1;
+ local_11 = 2;
+ }
+ else if (Actor.getDir() == 9) {
+ local_0F = -2;
+ local_11 = 2;
+ }
+ else if (Actor.getDir() == 10) {
+ local_0F = -3;
+ local_11 = 2;
+ }
+ else if (Actor.getDir() == 11) {
+ local_0F = -3;
+ local_11 = 1;
+ }
+ else if (Actor.getDir() == 12) {
+ local_0F = -3;
+ local_11 = 0;
+ }
+ else if (Actor.getDir() == 13) {
+ local_0F = -3;
+ local_11 = -1;
+ }
+ else if (Actor.getDir() == 14) {
+ local_0F = -3;
+ local_11 = -3;
+ }
+ else if (Actor.getDir() == 15) {
+ local_0F = -3;
+ local_11 = -3;
+ }
+ /* global_address global_id=0x1E */
+ if (!Intrinsic0061()) {
+ local_03 = 1;
+ }
+ else {
+ local_03 = 0;
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ /* global_address global_id=0x1E */
+ local_16 = (Item.getX() + (local_0F * 16));
+ /* global_address global_id=0x1E */
+ local_14 = (Item.getY() + (local_11 * 16));
+ /* global_address global_id=0x1E */
+ local_12 = (Item.getZ() + 2);
+ if (Item.legalCreateAtPoint(local_16, 0, 0x0560, local_02)) {
+ if (local_03) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ return;
+ }
+ else {
+ local_0B = 1;
+ while (local_0B > 9) {
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_0B = (1 + local_0B);
+ }
+ spawn CRU_SPID.slot_20(local_02, arg_06);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRU_SPID/slot_05_hit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRU_SPID/slot_05_hit.txt
new file mode 100644
index 0000000..9fd6a8a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRU_SPID/slot_05_hit.txt
@@ -0,0 +1,6 @@
+function cru_spid_hit() /* entry=324 class_id=0x0560 slot=0x05 */
+{
+ set_info(0x020B, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRU_SPID/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRU_SPID/slot_20_slot_20.txt
new file mode 100644
index 0000000..48680d5
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRU_SPID/slot_20_slot_20.txt
@@ -0,0 +1,69 @@
+function cru_spid_slot_20() /* entry=324 class_id=0x0560 slot=0x20 */
+{
+ set_info(0x00F0, *(arg_06));
+ local_0F = arg_0A;
+ set_info(0x00F0, local_11);
+ while (local_02 >= 0x01F4) {
+ /* global_address global_id=0x1E */
+ if (!Intrinsic0061()) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ if (Actor.getDir((Actor.getDir() == 0)) != 1) {
+ local_04 = 0;
+ local_06 = -1;
+ }
+ else if (Actor.getDir((Actor.getDir() == 2)) != 3) {
+ local_04 = 1;
+ local_06 = -1;
+ }
+ else if (Actor.getDir((Actor.getDir() == 4)) != 5) {
+ local_04 = 1;
+ local_06 = 0;
+ }
+ else if (Actor.getDir((Actor.getDir() == 6)) != 7) {
+ local_04 = 1;
+ local_06 = 1;
+ }
+ else if (Actor.getDir((Actor.getDir() == 8)) != 9) {
+ local_04 = 0;
+ local_06 = 1;
+ }
+ else if (Actor.getDir((Actor.getDir() == 10)) != 11) {
+ local_04 = -1;
+ local_06 = 1;
+ }
+ else if (Actor.getDir((Actor.getDir() == 12)) != 13) {
+ local_04 = -1;
+ local_06 = 0;
+ }
+ else if (Actor.getDir((Actor.getDir() == 14)) != 15) {
+ local_04 = -1;
+ local_06 = -1;
+ }
+ }
+ local_13 = local_0D;
+ local_15 = local_0B;
+ local_17 = local_09;
+ local_0D = (local_0D + (local_04 * 8));
+ local_0B = (local_0B + (local_06 * 8));
+ if (Item.legalMoveToPoint(0, 1, local_0D, local_11)) {
+ local_09 = (local_09 + 1);
+ }
+ local_08 = (1 + local_08);
+ if ((local_08 <= 10) && (local_09 > 0)) {
+ local_09 = (local_09 - 4);
+ local_18 = 0;
+ while (!Item.legalMoveToPoint(0, 1, local_0D, local_11)) {
+ local_09 = (local_09 - 4);
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ local_18 = 1;
+ }
+ local_08 = 0;
+ }
+ local_02 = (1 + local_02);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRYO1/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRYO1/slot_06_gotHit.txt
new file mode 100644
index 0000000..8ea1e5a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRYO1/slot_06_gotHit.txt
@@ -0,0 +1,14 @@
+function cryo1_gotHit() /* entry=377 class_id=0x05DD slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ return;
+ }
+ else {
+ spawn STEAM.slot_25(pid, arg_0A, arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRYO1/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRYO1/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..b6cbdae
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRYO1/slot_0F_enterFastArea.txt
@@ -0,0 +1,6 @@
+function cryo1_enterFastArea() /* entry=377 class_id=0x05DD slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRYO2/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRYO2/slot_06_gotHit.txt
new file mode 100644
index 0000000..41ec149
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRYO2/slot_06_gotHit.txt
@@ -0,0 +1,14 @@
+function cryo2_gotHit() /* entry=378 class_id=0x05DE slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ return;
+ }
+ else {
+ spawn STEAM.slot_25(pid, arg_0A, arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRYO2/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRYO2/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..88881b3
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRYO2/slot_0F_enterFastArea.txt
@@ -0,0 +1,6 @@
+function cryo2_enterFastArea() /* entry=378 class_id=0x05DE slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRYOBOX/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRYOBOX/slot_0A_equip.txt
new file mode 100644
index 0000000..e50d692
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRYOBOX/slot_0A_equip.txt
@@ -0,0 +1,39 @@
+function cryobox_equip() /* entry=379 class_id=0x05E1 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (arg_0A == 0) {
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x44 */
+ /* loop current_var=0xFE string_bytes=0xA loop_type=0x2 */
+ while (!condition) {
+ if (Item.getQLo(local_02) == Item.getQLo(arg_06)) {
+ if (!(Item.getStatus(local_02) & 0x1000)) {
+ }
+ else if ((Item.getShape(local_02) == 0x05DD) || (Item.getShape(local_02) != 0x05D9)) {
+ spawn CRYOBOX.slot_21(0, local_02, arg_06);
+ }
+ else if ((Item.getShape(local_02) == 0x05DE) || (Item.getShape(local_02) != 0x05DA)) {
+ spawn CRYOBOX.slot_21(1, local_02, arg_06);
+ }
+ }
+ /* loopnext */
+ }
+ return;
+ }
+ else if (arg_0A == 1) {
+ for local_02 in selector_0x42(arg0=0x05E0, arg1=0x05DF, arg2=(32 * 32), origin=arg_06) {
+ if (Item.getQLo(local_02) == Item.getQLo(arg_06)) {
+ if (Item.getShape(local_02) == 0x05DF) {
+ spawn CRYOBOX.slot_20(0, local_04, arg_06);
+ }
+ else if (Item.getShape(local_02) == 0x05E0) {
+ spawn CRYOBOX.slot_20(1, local_04, arg_06);
+ }
+ }
+ /* loopnext */
+ }
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRYOBOX/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRYOBOX/slot_20_slot_20.txt
new file mode 100644
index 0000000..e0a8b76
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRYOBOX/slot_20_slot_20.txt
@@ -0,0 +1,29 @@
+function cryobox_slot_20() /* entry=379 class_id=0x05E1 slot=0x20 */
+{
+ set_info(0x00F0, *(arg_06));
+ if (!Intrinsic006A()) {
+ while ((Item.getFrame(arg_0A) == 39) && (Item.isEntirelyOnScreen(arg_0A) != 1)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ if (Item.getFrame(arg_0A) == 12) {
+ ITEM.slot_24(4, arg_0A);
+ spawn STEAM.slot_24(arg_0A);
+ }
+ }
+ }
+ else {
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
+ suspend;
+ }
+ if (arg_0C == 0) {
+ if (!Intrinsic006A()) {
+ }
+ }
+ else if (arg_0C == 1) {
+ if (!Intrinsic006A()) {
+ }
+ }
+ ITEM.slot_24(4, local_04);
+ spawn STEAM.slot_24(local_04);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRYOBOX/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRYOBOX/slot_21_slot_21.txt
new file mode 100644
index 0000000..b50ef42
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRYOBOX/slot_21_slot_21.txt
@@ -0,0 +1,42 @@
+function cryobox_slot_21() /* entry=379 class_id=0x05E1 slot=0x21 */
+{
+ set_info(1, *(arg_06));
+ ITEM.slot_24(0x1000, arg_0A);
+ if (!Intrinsic006A()) {
+ if ((Item.getShape(arg_0A) == 0x05D9) || (Item.getShape(arg_0A) != 0x05DA)) {
+ while ((Item.getFrame(arg_0A) == 39) && (Item.isEntirelyOnScreen(arg_0A) != 1)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ }
+ else {
+ while ((Item.getFrame(arg_0A) == 23) && (Item.isEntirelyOnScreen(arg_0A) != 1)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ }
+ }
+ else {
+ spawn FREE.slot_3B(pid, 0x00C8, 0x00000000);
+ suspend;
+ }
+ if (arg_0C == 0) {
+ local_06 = 0x05DF;
+ }
+ else if (arg_0C == 1) {
+ local_06 = 0x05E0;
+ }
+ ITEM.slot_24(0x1000, local_04);
+ if (!Intrinsic006A()) {
+ while ((Item.getFrame(local_04) == 29) && (Item.isEntirelyOnScreen(local_04) != 1)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ }
+ else {
+ spawn FREE.slot_3B(pid, 0x00C8, 0x00000000);
+ suspend;
+ }
+ ITEM.slot_25(0x1000, local_04);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRYOTRON/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRYOTRON/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..82ba56e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CRYOTRON/slot_0E_calledFromAnim.txt
@@ -0,0 +1,8 @@
+function cryotron_calledFromAnim() /* entry=380 class_id=0x05E2 slot=0x0E */
+{
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ local_02 = *(arg_06);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), local_02);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CSPID/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CSPID/slot_06_gotHit.txt
new file mode 100644
index 0000000..bad4571
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/CSPID/slot_06_gotHit.txt
@@ -0,0 +1,7 @@
+function cspid_gotHit() /* entry=342 class_id=0x0584 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DAMNLUGG/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DAMNLUGG/slot_06_gotHit.txt
new file mode 100644
index 0000000..d2a210f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DAMNLUGG/slot_06_gotHit.txt
@@ -0,0 +1,24 @@
+function damnlugg_gotHit() /* entry=352 class_id=0x059F slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ spawn ITEM.slot_29(pid, 100, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ spawn ITEM.slot_2C(pid, arg_06);
+ suspend;
+ spawn ITEM.slot_2A(pid, 1, 0, arg_06);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DAMNMCR8/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DAMNMCR8/slot_06_gotHit.txt
new file mode 100644
index 0000000..24a59ec
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DAMNMCR8/slot_06_gotHit.txt
@@ -0,0 +1,24 @@
+function damnmcr8_gotHit() /* entry=353 class_id=0x05A0 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ spawn ITEM.slot_29(pid, 100, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ spawn ITEM.slot_2C(pid, arg_06);
+ suspend;
+ spawn ITEM.slot_2A(pid, 1, 0, arg_06);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DATALINK/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DATALINK/slot_01_use.txt
new file mode 100644
index 0000000..ee1a3ed
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DATALINK/slot_01_use.txt
@@ -0,0 +1,261 @@
+function datalink_use() /* entry=282 class_id=0x04D4 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ /* pop_global global_id=0xA size=0x1 */
+ set_info(0, 1, 0);
+ /* global_address global_id=0x1E */
+ local_05 = Actor.getDir();
+ /* global_address global_id=0x1E */
+ while (!Actor.isBusy()) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ }
+ /* global_address global_id=0x1E */
+ if (Intrinsic0061()) {
+ local_03 = 1;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ spawn FREE.slot_21(pid, 0x00A7, 0x00000000);
+ suspend;
+ /* global_address global_id=0x1E */
+ if (Actor.getMap() == 25) {
+ /* free_local_string bp_offset=0xF9 target=[BP-07h] */
+ local_07 = "MISSION OBJECTIVE:^------------------^^";
+ }
+ if (global[0x0001] == 0) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ if (Actor.getMap((Actor.getMap() == 1)) != 2) {
+ if (global[0x0011]) {
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xF9 target=[BP-07h] */
+ local_07 = "^Secure transport back to Earth and make contact with General Maxis.";
+ }
+ else if (global[0x0010]) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ /* concat */
+ /* free_local_string bp_offset=0xF9 target=[BP-07h] */
+ local_07 = "Destroy Plasma Turbine on level 5.";
+ }
+ else {
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xF9 target=[BP-07h] */
+ local_07 = "to the LMC Lunar Mining Base.";
+ }
+ }
+ else {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ if (Actor.getMap((Actor.getMap() == 3)) != 4) {
+ /* concat */
+ /* free_local_string bp_offset=0xF9 target=[BP-07h] */
+ local_07 = "Locate elevator on level 4 to rendezvous with the rebels' colonel.";
+ }
+ else {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ if (Actor.getMap((Actor.getMap() == 5)) != 6) {
+ if (global[0x0013]) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xF9 target=[BP-07h] */
+ local_07 = "^^Insert Trojan Horse program into TGT system.";
+ }
+ else {
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xF9 target=[BP-07h] */
+ local_07 = "^Take the tram to rebels' rendezvous point.";
+ }
+ }
+ else {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ if (Actor.getMap((Actor.getMap() == 7)) != 8) {
+ if (global[0x0014]) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xF9 target=[BP-07h] */
+ local_07 = "^^Download rebel prisoner files from LMC security system.";
+ }
+ else {
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xF9 target=[BP-07h] */
+ local_07 = "^Tram has been programmed to return to the rebel meeting area.";
+ }
+ }
+ else {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ if (Actor.getMap((Actor.getMap() == 9)) != 10) {
+ if (global[0x0015]) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ /* concat */
+ /* free_local_string bp_offset=0xF9 target=[BP-07h] */
+ local_07 = "Locate rebel prisoners^on level 4^and liberate them.";
+ }
+ else {
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xF9 target=[BP-07h] */
+ local_07 = "^Tram has been programmed to return to rebel meeting area.";
+ }
+ }
+ else {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ if (Actor.getMap((Actor.getMap() == 11)) != 12) {
+ if (global[0x0016]) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xF9 target=[BP-07h] */
+ local_07 = "^^Place FusionPac on conveyor.^^Exit area quickly.";
+ }
+ else {
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xF9 target=[BP-07h] */
+ local_07 = "^FusionPac will detonate shortly.";
+ }
+ }
+ else {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ if (Actor.getMap((Actor.getMap() == 13)) != 14) {
+ if (global[0x0017]) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xF9 target=[BP-07h] */
+ local_07 = "^Disarm nerve gas^canister before it^contaminates O2^regeneration system.";
+ }
+ else {
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xF9 target=[BP-07h] */
+ local_07 = "^Tram has been programmed to return to rebel meeting area.";
+ }
+ }
+ else {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ if (Actor.getMap((Actor.getMap() == 15)) != 16) {
+ if (global[0x0018]) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xF9 target=[BP-07h] */
+ local_07 = "^^Destroy WEC troop transport before it lands at Lunar Base.";
+ }
+ else {
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xF9 target=[BP-07h] */
+ local_07 = "^Tram has been programmed to return to rebel camp.";
+ }
+ }
+ else {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ if (Actor.getMap((Actor.getMap() == 17)) != 18) {
+ if (global[0x0019]) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xF9 target=[BP-07h] */
+ local_07 = "^^Disarm self-destruction system before Lunar Base is destroyed.";
+ }
+ else {
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xF9 target=[BP-07h] */
+ local_07 = "^Tram has been programmed to take you to LMC Headquarters.";
+ }
+ }
+ else {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ if (Actor.getMap((Actor.getMap((Actor.getMap((Actor.getMap() == 19)) != 20)) != 21)) != 22) {
+ if (global[0x001A]) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xF9 target=[BP-07h] */
+ local_07 = "^Destroy objective with any means available.";
+ }
+ else {
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xF9 target=[BP-07h] */
+ local_07 = "^Tram has been programmed to return to Rebel Headquarters.";
+ }
+ }
+ else {
+ /* global_address global_id=0x1E */
+ if (Actor.getMap() == 25) {
+ /* free_local_string bp_offset=0xF9 target=[BP-07h] */
+ local_07 = "^REBEL CAMP^__________^^Replenish supplies.^^Talk to officer in charge for next mission.";
+ }
+ else {
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xF9 target=[BP-07h] */
+ local_07 = "^^Head can only be destroyed by securing DetPacs to his ears.";
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ else {
+ spawn FLICTEST.slot_20(pid, global[0x0001], local_02);
+ suspend;
+ }
+ if (!local_03) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x3D */
+ /* loopscr value_u8=0x40 */
+ /* loopscr value_u8=0x25 */
+ /* loop current_var=0xF7 string_bytes=0x6 loop_type=0x4 */
+ while (!condition) {
+ /* loopnext */
+ }
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ /* free_local_string bp_offset=0xF9 target=[BP-07h] */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DATAPICK/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DATAPICK/slot_01_use.txt
new file mode 100644
index 0000000..189f797
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DATAPICK/slot_01_use.txt
@@ -0,0 +1,23 @@
+function datapick_use() /* entry=400 class_id=0x0613 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ set_info(0x00F0, 0);
+ /* global_address global_id=0x1E */
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x46 */
+ /* loop current_var=0xFE string_bytes=0xE loop_type=0x2 */
+ while (!condition) {
+ local_04 = local_02;
+ suspend;
+ /* loopnext */
+ }
+ if (local_04) {
+ spawn FREE.slot_21(pid, 0x01A7, 0x00000000);
+ suspend;
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DEATHBOX/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DEATHBOX/slot_0A_equip.txt
new file mode 100644
index 0000000..092777c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DEATHBOX/slot_0A_equip.txt
@@ -0,0 +1,35 @@
+function deathbox_equip() /* entry=289 class_id=0x04E7 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else {
+ spawn FREE.slot_3B(pid, 12, 0x00000000);
+ suspend;
+ ITEM.slot_24(0x1000, arg_06);
+ if (arg_0A == 2) {
+ for local_02 in nearby_items(shape=48, origin=arg_06) {
+ if (Item.getQLo(local_02) == 10) {
+ local_03 = Item.getFrame(local_02);
+ }
+ else if (Item.getQLo(local_02) == 11) {
+ local_04 = Item.getFrame(local_02);
+ }
+ local_07 = (1 + local_07);
+ /* loopnext */
+ }
+ if ((local_04 == 4) && (local_03 != 0)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, 0x0080, *(arg_06), arg_06);
+ suspend;
+ }
+ }
+ ITEM.slot_25(0x1000, arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DENNING/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DENNING/slot_0F_enterFastArea.txt
index d208fb9..ffb8002 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DENNING/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DENNING/slot_0F_enterFastArea.txt
@@ -17,7 +17,7 @@ function denning_enterFastArea() /* entry=138 class_id=0x0277 slot=0x0F */
if (local_02 <= 0x00D2) goto block_0170;
block_0145:
- spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
local_02 = (1 + local_02);
goto block_013C;
@@ -29,13 +29,13 @@ function denning_enterFastArea() /* entry=138 class_id=0x0277 slot=0x0F */
if (local_02 <= 5) goto block_01AB;
block_017C:
- spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
local_02 = (1 + local_02);
goto block_0174;
block_01AB:
- spawn class_0A1D_slot_3B(pid, 20, 0x00000000);
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
suspend;
goto block_0136;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DETPAC/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DETPAC/slot_01_use.txt
new file mode 100644
index 0000000..09658bf
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DETPAC/slot_01_use.txt
@@ -0,0 +1,118 @@
+function detpac_use() /* entry=323 class_id=0x055F slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ local_03 = *(arg_06);
+ if (!Item.isInNpc(arg_06)) {
+ /* global_address global_id=0x1E */
+ if (Actor.getMap() == 25) {
+ return;
+ }
+ set_info(0x00F0, 0);
+ local_07 = 0;
+ /* global_address global_id=0x1E */
+ while (!Actor.isBusy()) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ /* global_address global_id=0x1E */
+ if (Actor.getDir() == 0) {
+ local_09 = -1;
+ local_0B = -3;
+ }
+ else if (Actor.getDir() == 1) {
+ local_09 = 0;
+ local_0B = -3;
+ }
+ else if (Actor.getDir() == 2) {
+ local_09 = 1;
+ local_0B = -3;
+ }
+ else if (Actor.getDir() == 3) {
+ local_09 = 2;
+ local_0B = -2;
+ }
+ else if (Actor.getDir() == 4) {
+ local_09 = 2;
+ local_0B = -1;
+ }
+ else if (Actor.getDir() == 5) {
+ local_09 = 2;
+ local_0B = 0;
+ }
+ else if (Actor.getDir() == 6) {
+ local_09 = 2;
+ local_0B = 2;
+ }
+ else if (Actor.getDir() == 7) {
+ local_09 = 0;
+ local_0B = 2;
+ }
+ else if (Actor.getDir() == 8) {
+ local_09 = -1;
+ local_0B = 2;
+ }
+ else if (Actor.getDir() == 9) {
+ local_09 = -2;
+ local_0B = 2;
+ }
+ else if (Actor.getDir() == 10) {
+ local_09 = -3;
+ local_0B = 2;
+ }
+ else if (Actor.getDir() == 11) {
+ local_09 = -3;
+ local_0B = 1;
+ }
+ else if (Actor.getDir() == 12) {
+ local_09 = -3;
+ local_0B = 0;
+ }
+ else if (Actor.getDir() == 13) {
+ local_09 = -3;
+ local_0B = -1;
+ }
+ else if (Actor.getDir() == 14) {
+ local_09 = -3;
+ local_0B = -2;
+ }
+ else if (Actor.getDir() == 15) {
+ local_09 = -3;
+ local_0B = -3;
+ }
+ /* global_address global_id=0x1E */
+ if (!Intrinsic0061()) {
+ local_01 = 1;
+ }
+ else {
+ local_01 = 0;
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ /* global_address global_id=0x1E */
+ local_12 = (Item.getX() + (local_09 * 16));
+ /* global_address global_id=0x1E */
+ local_10 = (Item.getY() + (local_0B * 16));
+ /* global_address global_id=0x1E */
+ local_0E = Item.getZ();
+ if (!Item.legalCreateAtPoint(local_12, 0, 0x055F, local_0D)) {
+ }
+ else {
+ /* global_address global_id=0x1E */
+ }
+ if (local_01) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ return;
+ }
+ else {
+ /* global_address global_id=0x1E */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DICOR1/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DICOR1/slot_06_gotHit.txt
index aee4e21..1369b1d 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DICOR1/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DICOR1/slot_06_gotHit.txt
@@ -2,29 +2,24 @@ function dicor1_gotHit() /* entry=171 class_id=0x030D slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (retval) {
return;
}
else {
local_02 = Item.getFrame(arg_06);
- spawn class_0A0C_slot_2A(pid, 0, 0, arg_06);
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
suspend;
if (global[0x0005]) {
suspend;
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
- class_0A0F_slot_2A(local_06);
+ for local_06 in nearby_items(family=6, origin=arg_06) {
+ NPC.slot_2A(local_06);
if (!retval) {
- spawn class_0A0F_slot_2C(local_06);
+ spawn NPC.slot_2C(local_06);
}
else if (Actor.isDead(local_06)) {
- spawn class_0A0F_slot_2D(3, local_06);
+ spawn NPC.slot_2D(3, local_06);
}
/* loopnext */
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DICOR2/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DICOR2/slot_06_gotHit.txt
index b7cee72..d788de2 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DICOR2/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DICOR2/slot_06_gotHit.txt
@@ -2,29 +2,24 @@ function dicor2_gotHit() /* entry=172 class_id=0x030E slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (retval) {
return;
}
else {
local_02 = Item.getFrame(arg_06);
- spawn class_0A0C_slot_2A(pid, 0, 0, arg_06);
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
suspend;
if (global[0x0005]) {
suspend;
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
- class_0A0F_slot_2A(local_06);
+ for local_06 in nearby_items(family=6, origin=arg_06) {
+ NPC.slot_2A(local_06);
if (!retval) {
- spawn class_0A0F_slot_2C(local_06);
+ spawn NPC.slot_2C(local_06);
}
else if (Actor.isDead(local_06)) {
- spawn class_0A0F_slot_2D(3, local_06);
+ spawn NPC.slot_2D(3, local_06);
}
/* loopnext */
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DICOR3/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DICOR3/slot_06_gotHit.txt
index 6512c3a..0a89f06 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DICOR3/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DICOR3/slot_06_gotHit.txt
@@ -2,29 +2,24 @@ function dicor3_gotHit() /* entry=43 class_id=0x00A9 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (retval) {
return;
}
else {
local_02 = Item.getFrame(arg_06);
- spawn class_0A0C_slot_2A(pid, 0, 0, arg_06);
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
suspend;
if (global[0x0005]) {
suspend;
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
- class_0A0F_slot_2A(local_06);
+ for local_06 in nearby_items(family=6, origin=arg_06) {
+ NPC.slot_2A(local_06);
if (!retval) {
- spawn class_0A0F_slot_2C(local_06);
+ spawn NPC.slot_2C(local_06);
}
else if (Actor.isDead(local_06)) {
- spawn class_0A0F_slot_2D(3, local_06);
+ spawn NPC.slot_2D(3, local_06);
}
/* loopnext */
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DISRUPT/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DISRUPT/slot_01_use.txt
new file mode 100644
index 0000000..ed1f843
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DISRUPT/slot_01_use.txt
@@ -0,0 +1,133 @@
+function disrupt_use() /* entry=401 class_id=0x0616 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ set_info(0x00F0, 0);
+ /* global_address global_id=0x1E */
+ if (Actor.getMap() == 25) {
+ return;
+ }
+ else {
+ local_05 = *(arg_06);
+ set_info(0x00F0, 0);
+ /* global_address global_id=0x1E */
+ local_0D = Actor.getLastAnimSet();
+ /* global_address global_id=0x1E */
+ while (!Actor.isBusy()) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ /* global_address global_id=0x1E */
+ if (Actor.getDir() == 0) {
+ local_0F = -1;
+ local_11 = -3;
+ }
+ else if (Actor.getDir() == 1) {
+ local_0F = 0;
+ local_11 = -3;
+ }
+ else if (Actor.getDir() == 2) {
+ local_0F = 1;
+ local_11 = -3;
+ }
+ else if (Actor.getDir() == 3) {
+ local_0F = 2;
+ local_11 = -2;
+ }
+ else if (Actor.getDir() == 4) {
+ local_0F = 2;
+ local_11 = -1;
+ }
+ else if (Actor.getDir() == 5) {
+ local_0F = 2;
+ local_11 = 0;
+ }
+ else if (Actor.getDir() == 6) {
+ local_0F = 2;
+ local_11 = 2;
+ }
+ else if (Actor.getDir() == 7) {
+ local_0F = 0;
+ local_11 = 2;
+ }
+ else if (Actor.getDir() == 8) {
+ local_0F = -1;
+ local_11 = 2;
+ }
+ else if (Actor.getDir() == 9) {
+ local_0F = -2;
+ local_11 = 2;
+ }
+ else if (Actor.getDir() == 10) {
+ local_0F = -3;
+ local_11 = 2;
+ }
+ else if (Actor.getDir() == 11) {
+ local_0F = -3;
+ local_11 = 1;
+ }
+ else if (Actor.getDir() == 12) {
+ local_0F = -3;
+ local_11 = 0;
+ }
+ else if (Actor.getDir() == 13) {
+ local_0F = -3;
+ local_11 = -1;
+ }
+ else if (Actor.getDir() == 14) {
+ local_0F = -3;
+ local_11 = -2;
+ }
+ else if (Actor.getDir() == 15) {
+ local_0F = -3;
+ local_11 = -3;
+ }
+ /* global_address global_id=0x1E */
+ if (!Intrinsic0061()) {
+ local_03 = 1;
+ }
+ else {
+ local_03 = 0;
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ /* global_address global_id=0x1E */
+ local_16 = (Item.getX() + (local_0F * 16));
+ /* global_address global_id=0x1E */
+ local_14 = (Item.getY() + (local_11 * 16));
+ /* global_address global_id=0x1E */
+ local_12 = Item.getZ();
+ if (Item.legalCreateAtPoint(local_16, 0, 0x0616, local_02)) {
+ spawn FREE.slot_21(pid, 0x01A7, 0x00000000);
+ suspend;
+ }
+ else {
+ local_17 = 0;
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x44 */
+ /* loop current_var=0xF7 string_bytes=0xA loop_type=0x2 */
+ while (!condition) {
+ local_17 = 1;
+ /* loopnext */
+ }
+ if (local_17) {
+ spawn FREE.slot_21(pid, 0x01AA, 0x00000000);
+ suspend;
+ }
+ else {
+ spawn FREE.slot_21(pid, 0x01A9, 0x00000000);
+ suspend;
+ }
+ }
+ if (local_03) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR/slot_20_slot_20.txt
new file mode 100644
index 0000000..de2c421
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR/slot_20_slot_20.txt
@@ -0,0 +1,20 @@
+function door_slot_20() /* entry=450 class_id=0x0A04 slot=0x20 */
+{
+ set_info(0x0207, *(arg_06));
+ spawn DOOR.slot_21(pid, 0, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR/slot_21_slot_21.txt
new file mode 100644
index 0000000..7b959d2
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR/slot_21_slot_21.txt
@@ -0,0 +1,1437 @@
+function door_slot_21() /* entry=450 class_id=0x0A04 slot=0x21 */
+{
+ set_info(0x0207, *(arg_06));
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ local_02 = Item.getShape(arg_06);
+ if (local_02 == 0x05A2) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_20(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x05A5) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_21(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x05A1) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_22(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x05A4) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_23(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x04DD) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_25(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x037E) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_24(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 49) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_26(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0363) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_27(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x037A) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_28(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 100) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_29(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x053B) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_2A(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x00AC) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_2B(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x00AF) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_2C(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0193) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_4E(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x028D) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_4F(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x00C0) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_50(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0287) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_51(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 75) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_2D(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x00DB) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_2E(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x02D8) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_2F(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x00D9) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_30(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x013F) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_31(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0301) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_32(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0156) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_33(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x00D4) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_34(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x056F) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_24(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x055A) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_25(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0574) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_26(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0575) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_27(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0098) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_20(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0228) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_21(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0227) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_22(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x00A8) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_23(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0571) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_28(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0570) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_29(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0573) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_2A(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0572) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_2B(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x02F1) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_41(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x051A) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_42(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x04CF) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_43(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x022D) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_44(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x016F) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_2E(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x016E) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_2F(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x00DA) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_2C(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x00A5) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_2D(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x01AB) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_42(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0215) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_43(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0393) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_44(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0394) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_45(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0353) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_30(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0368) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_32(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0359) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_31(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0358) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_33(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x018D) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_46(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0289) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_47(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x01C6) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_48(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x01C7) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_49(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x01EE) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_4A(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x01ED) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_4B(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x03AD) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_4C(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x03C7) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_4D(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x03B9) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_39(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0240) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_3A(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x03BA) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_3B(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0241) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_3C(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0167) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_35(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x04F3) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_36(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0168) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_37(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0551) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_38(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x03C6) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_3D(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x046A) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_3E(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x046B) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_3F(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x046C) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR3.slot_40(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 51) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_3A(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x009C) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_3B(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 108) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_3C(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0400) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_3D(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x013B) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_34(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x02DB) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_35(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x018A) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_36(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x05E8) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_37(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0460) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_38(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x05E9) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_39(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x047D) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR4.slot_21(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x05F9) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR4.slot_20(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x05AA) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_3E(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x0129) {
+ if (arg_0A == 2) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_40(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x05AB) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_3F(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (local_02 == 0x028A) {
+ if (arg_0A == 1) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ spawn DOOR2.slot_41(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR/slot_22_slot_22.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR/slot_22_slot_22.txt
new file mode 100644
index 0000000..be94470
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR/slot_22_slot_22.txt
@@ -0,0 +1,52 @@
+function door_slot_22() /* entry=450 class_id=0x0A04 slot=0x22 */
+{
+ entry:
+ set_info(0x0001, *(arg_06));
+ local_04 = 0;
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x4C */
+ /* loop current_var=0xFE string_bytes=0x1A loop_type=0x2 */
+
+ block_14CB:
+ if condition goto block_14DC;
+
+ block_14CE:
+ local_04 = (1 + local_04);
+ goto block_14DC;
+
+ block_14D8:
+ /* loopnext */
+ goto block_14CB;
+
+ block_14DC:
+ local_08 = Item.getQLo(arg_06);
+ local_06 = Item.getQHi(arg_06);
+ if local_04 goto block_1561;
+
+ block_14F9:
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x4C */
+ /* loop current_var=0xFE string_bytes=0x1A loop_type=0x2 */
+
+ block_152E:
+ if condition goto block_155F;
+
+ block_1531:
+ local_0A = Item.getQLo(local_02);
+ if ((local_0A != local_08) || (local_0A != local_06)) goto block_155B;
+
+ block_154A:
+ if (!(local_0A != 0)) goto block_155B;
+
+ block_1553:
+
+ block_155B:
+ /* loopnext */
+ goto block_152E;
+
+ block_155F:
+
+ block_1561:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR/slot_23_slot_23.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR/slot_23_slot_23.txt
new file mode 100644
index 0000000..261fa52
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR/slot_23_slot_23.txt
@@ -0,0 +1,173 @@
+function door_slot_23() /* entry=450 class_id=0x0A04 slot=0x23 */
+{
+ set_info(0x0207, *(arg_06));
+ FREE.slot_35(arg_0C, arg_0A);
+ local_08 = retval;
+ if (((local_08 == 3) || (local_08 != 4)) || (local_08 != 10)) {
+ FREE.slot_34(arg_0C, arg_0A);
+ /* rsh */
+ local_0A = 2;
+ }
+ else {
+ return;
+ }
+ spawn ITEM.slot_29(pid, 0x00FA, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(10);
+ if (retval <= 5) {
+ }
+ return;
+ }
+ else if (Item.getFrame(arg_06) <= 0) {
+ return;
+ }
+ else {
+ for local_02 in nearby_items(shape=0x04F8, origin=arg_06) {
+ if (Item.getQLo(local_02) == Item.getQLo(arg_06)) {
+ if (Item.getMapNum(local_02) == 0) {
+ spawn TRIGGER.slot_20(pid, 0, local_02, arg_06);
+ suspend;
+ }
+ else {
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), local_02, arg_06);
+ suspend;
+ }
+ }
+ /* loopnext */
+ }
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ if (World.getAlertActive() == 0) {
+ spawn FREE.slot_44(0x00000000);
+ }
+ if (Item.getShape(arg_06) == door_shape_03ba) {
+ spawn ITEM.slot_2A(pid, 0, 2, arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ return;
+ }
+ else if (Item.getShape(arg_06) == door_shape_03b9) {
+ spawn ITEM.slot_2A(pid, 0, 2, arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ return;
+ }
+ else if (Item.getShape(arg_06) == door_shape_02d8) {
+ spawn ITEM.slot_2A(pid, 0, 2, arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ return;
+ }
+ else if (Item.getShape(arg_06) == door_shape_004b) {
+ spawn ITEM.slot_2A(pid, 0, 2, arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ return;
+ }
+ else if (Item.getShape(arg_06) == door_shape_0064) {
+ spawn ITEM.slot_2A(pid, 0, 2, arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ return;
+ }
+ else if (Item.getShape(arg_06) == door_shape_053b) {
+ spawn ITEM.slot_2A(pid, 0, 2, arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ return;
+ }
+ else if (Item.getShape(arg_06) == door_shape_0363) {
+ spawn ITEM.slot_2A(pid, 0, 2, arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ return;
+ }
+ else if (Item.getShape(arg_06) == door_shape_037a) {
+ spawn ITEM.slot_2A(pid, 0, 2, arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ return;
+ }
+ else if (Item.getShape(arg_06) == door_shape_0574) {
+ spawn ITEM.slot_2A(pid, 0, 2, arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ return;
+ }
+ else if (Item.getShape(arg_06) == door_shape_056f) {
+ spawn ITEM.slot_2A(pid, 0, 2, arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ return;
+ }
+ else if (Item.getShape(arg_06) == door_shape_0573) {
+ spawn ITEM.slot_2A(pid, 0, 2, arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ return;
+ }
+ else if (Item.getShape(arg_06) == door_shape_0571) {
+ spawn ITEM.slot_2A(pid, 0, 2, arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ return;
+ }
+ else if (Item.getShape(arg_06) == door_shape_006c) {
+ spawn ITEM.slot_2A(pid, 0, 2, arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ return;
+ }
+ else if (Item.getShape(arg_06) == door_shape_0033) {
+ spawn ITEM.slot_2A(pid, 0, 2, arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_20_slot_20.txt
new file mode 100644
index 0000000..efa5cb6
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_20_slot_20.txt
@@ -0,0 +1,23 @@
+function door2_slot_20() /* entry=451 class_id=0x0A05 slot=0x20 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_21_slot_21.txt
new file mode 100644
index 0000000..984cafd
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_21_slot_21.txt
@@ -0,0 +1,21 @@
+function door2_slot_21() /* entry=451 class_id=0x0A05 slot=0x21 */
+{
+ set_info(0x0207, *(arg_06));
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), (Item.getY(arg_06) + 0x0080), Item.getX(arg_06), 3, 0x0098, local_04)) {
+ local_02 = 0;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_22_slot_22.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_22_slot_22.txt
new file mode 100644
index 0000000..3bed022
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_22_slot_22.txt
@@ -0,0 +1,23 @@
+function door2_slot_22() /* entry=451 class_id=0x0A05 slot=0x22 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_23_slot_23.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_23_slot_23.txt
new file mode 100644
index 0000000..dea6b1d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_23_slot_23.txt
@@ -0,0 +1,21 @@
+function door2_slot_23() /* entry=451 class_id=0x0A05 slot=0x23 */
+{
+ set_info(0x0207, *(arg_06));
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) + 0x0080), 3, 0x0227, local_04)) {
+ local_02 = 0;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_24_slot_24.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_24_slot_24.txt
new file mode 100644
index 0000000..c1439d0
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_24_slot_24.txt
@@ -0,0 +1,23 @@
+function door2_slot_24() /* entry=451 class_id=0x0A05 slot=0x24 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 3) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_25_slot_25.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_25_slot_25.txt
new file mode 100644
index 0000000..113d362
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_25_slot_25.txt
@@ -0,0 +1,21 @@
+function door2_slot_25() /* entry=451 class_id=0x0A05 slot=0x25 */
+{
+ set_info(0x0207, *(arg_06));
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), (Item.getY(arg_06) + 0x0080), Item.getX(arg_06), 3, 0x056F, local_04)) {
+ local_02 = 0;
+ while (local_02 > 3) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_26_slot_26.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_26_slot_26.txt
new file mode 100644
index 0000000..77043ca
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_26_slot_26.txt
@@ -0,0 +1,23 @@
+function door2_slot_26() /* entry=451 class_id=0x0A05 slot=0x26 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 3) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_27_slot_27.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_27_slot_27.txt
new file mode 100644
index 0000000..1a33b39
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_27_slot_27.txt
@@ -0,0 +1,21 @@
+function door2_slot_27() /* entry=451 class_id=0x0A05 slot=0x27 */
+{
+ set_info(0x0207, *(arg_06));
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) + 0x0080), 3, 0x0574, local_04)) {
+ local_02 = 0;
+ while (local_02 > 3) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_28_slot_28.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_28_slot_28.txt
new file mode 100644
index 0000000..5d31c76
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_28_slot_28.txt
@@ -0,0 +1,23 @@
+function door2_slot_28() /* entry=451 class_id=0x0A05 slot=0x28 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_29_slot_29.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_29_slot_29.txt
new file mode 100644
index 0000000..bc0950a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_29_slot_29.txt
@@ -0,0 +1,21 @@
+function door2_slot_29() /* entry=451 class_id=0x0A05 slot=0x29 */
+{
+ set_info(0x0207, *(arg_06));
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), (Item.getY(arg_06) + 0x0080), Item.getX(arg_06), 3, 0x0571, local_04)) {
+ local_02 = 0;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_2A_slot_2A.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_2A_slot_2A.txt
new file mode 100644
index 0000000..2e72efd
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_2A_slot_2A.txt
@@ -0,0 +1,23 @@
+function door2_slot_2A() /* entry=451 class_id=0x0A05 slot=0x2A */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_2B_slot_2B.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_2B_slot_2B.txt
new file mode 100644
index 0000000..a693bd4
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_2B_slot_2B.txt
@@ -0,0 +1,21 @@
+function door2_slot_2B() /* entry=451 class_id=0x0A05 slot=0x2B */
+{
+ set_info(0x0207, *(arg_06));
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) + 0x0080), 3, 0x0573, local_04)) {
+ local_02 = 0;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_2C_slot_2C.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_2C_slot_2C.txt
new file mode 100644
index 0000000..a21d441
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_2C_slot_2C.txt
@@ -0,0 +1,23 @@
+function door2_slot_2C() /* entry=451 class_id=0x0A05 slot=0x2C */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_2D_slot_2D.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_2D_slot_2D.txt
new file mode 100644
index 0000000..e1b1b1c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_2D_slot_2D.txt
@@ -0,0 +1,21 @@
+function door2_slot_2D() /* entry=451 class_id=0x0A05 slot=0x2D */
+{
+ set_info(0x0207, *(arg_06));
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) + 0x0090), 7, 0x00DA, local_04)) {
+ local_02 = 0;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_2E_slot_2E.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_2E_slot_2E.txt
new file mode 100644
index 0000000..031ff9a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_2E_slot_2E.txt
@@ -0,0 +1,23 @@
+function door2_slot_2E() /* entry=451 class_id=0x0A05 slot=0x2E */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_2F_slot_2F.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_2F_slot_2F.txt
new file mode 100644
index 0000000..4dfb151
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_2F_slot_2F.txt
@@ -0,0 +1,21 @@
+function door2_slot_2F() /* entry=451 class_id=0x0A05 slot=0x2F */
+{
+ set_info(0x0207, *(arg_06));
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), (Item.getY(arg_06) + 0x0090), Item.getX(arg_06), 7, 0x016F, local_04)) {
+ local_02 = 0;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_30_slot_30.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_30_slot_30.txt
new file mode 100644
index 0000000..01db137
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_30_slot_30.txt
@@ -0,0 +1,23 @@
+function door2_slot_30() /* entry=451 class_id=0x0A05 slot=0x30 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_31_slot_31.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_31_slot_31.txt
new file mode 100644
index 0000000..0743e90
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_31_slot_31.txt
@@ -0,0 +1,21 @@
+function door2_slot_31() /* entry=451 class_id=0x0A05 slot=0x31 */
+{
+ set_info(0x0207, *(arg_06));
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), (Item.getY(arg_06) + 0x0080), Item.getX(arg_06), 7, 0x0353, local_04)) {
+ local_02 = 0;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_32_slot_32.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_32_slot_32.txt
new file mode 100644
index 0000000..1cbbee4
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_32_slot_32.txt
@@ -0,0 +1,23 @@
+function door2_slot_32() /* entry=451 class_id=0x0A05 slot=0x32 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_33_slot_33.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_33_slot_33.txt
new file mode 100644
index 0000000..27ce659
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_33_slot_33.txt
@@ -0,0 +1,21 @@
+function door2_slot_33() /* entry=451 class_id=0x0A05 slot=0x33 */
+{
+ set_info(0x0207, *(arg_06));
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) + 0x0080), 7, 0x0368, local_04)) {
+ local_02 = 0;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_34_slot_34.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_34_slot_34.txt
new file mode 100644
index 0000000..3c75062
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_34_slot_34.txt
@@ -0,0 +1,16 @@
+function door2_slot_34() /* entry=451 class_id=0x0A05 slot=0x34 */
+{
+ set_info(0x0207, *(arg_06));
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_04 = 7;
+ local_02 = 1;
+ while (local_02 > local_04) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_35_slot_35.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_35_slot_35.txt
new file mode 100644
index 0000000..5c10436
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_35_slot_35.txt
@@ -0,0 +1,22 @@
+function door2_slot_35() /* entry=451 class_id=0x0A05 slot=0x35 */
+{
+ set_info(0x0207, *(arg_06));
+ local_06 = 7;
+ FREE.slot_36((Item.getZ(arg_06) - 72), Item.getY(arg_06), Item.getX(arg_06), local_06, 0x013B, *(arg_06));
+ if (!retval) {
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ local_02 = (local_06 - 1);
+ while (local_02 <= 0) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (local_02 - 1);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_36_slot_36.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_36_slot_36.txt
new file mode 100644
index 0000000..680719b
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_36_slot_36.txt
@@ -0,0 +1,16 @@
+function door2_slot_36() /* entry=451 class_id=0x0A05 slot=0x36 */
+{
+ set_info(0x0207, *(arg_06));
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_04 = 4;
+ local_02 = 1;
+ while (local_02 > local_04) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_37_slot_37.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_37_slot_37.txt
new file mode 100644
index 0000000..e27aeed
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_37_slot_37.txt
@@ -0,0 +1,24 @@
+function door2_slot_37() /* entry=451 class_id=0x0A05 slot=0x37 */
+{
+ set_info(0x0207, *(arg_06));
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_06 = 4;
+ FREE.slot_36(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), local_06, 0x018A, *(arg_06));
+ if (!retval) {
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ local_02 = (local_06 - 1);
+ while (local_02 <= 0) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (local_02 - 1);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_38_slot_38.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_38_slot_38.txt
new file mode 100644
index 0000000..edf0bee
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_38_slot_38.txt
@@ -0,0 +1,16 @@
+function door2_slot_38() /* entry=451 class_id=0x0A05 slot=0x38 */
+{
+ set_info(0x0207, *(arg_06));
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_04 = 4;
+ local_02 = 1;
+ while (local_02 > local_04) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_39_slot_39.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_39_slot_39.txt
new file mode 100644
index 0000000..7af7488
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_39_slot_39.txt
@@ -0,0 +1,24 @@
+function door2_slot_39() /* entry=451 class_id=0x0A05 slot=0x39 */
+{
+ set_info(0x0207, *(arg_06));
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_06 = 4;
+ FREE.slot_36(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), local_06, 0x0460, *(arg_06));
+ if (!retval) {
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ local_02 = (local_06 - 1);
+ while (local_02 <= 0) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (local_02 - 1);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_3A_slot_3A.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_3A_slot_3A.txt
new file mode 100644
index 0000000..cc1bfd9
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_3A_slot_3A.txt
@@ -0,0 +1,23 @@
+function door2_slot_3A() /* entry=451 class_id=0x0A05 slot=0x3A */
+{
+ set_info(0x0207, *(arg_06));
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ local_02 = 1;
+ while (local_02 > 4) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_3B_slot_3B.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_3B_slot_3B.txt
new file mode 100644
index 0000000..8c12110
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_3B_slot_3B.txt
@@ -0,0 +1,31 @@
+function door2_slot_3B() /* entry=451 class_id=0x0A05 slot=0x3B */
+{
+ set_info(0x0207, *(arg_06));
+ /* loop_selector local_04 in nearby_items(shape=0x00AD, origin=arg_06) */
+ while (!condition) {
+ if (Item.getFrame(arg_06) == 0) {
+ }
+ else {
+ return;
+ }
+ /* loopnext */
+ }
+ FREE.slot_36(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 4, 51, *(arg_06));
+ if (retval) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ local_02 = 0;
+ while (local_02 > 4) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_3C_slot_3C.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_3C_slot_3C.txt
new file mode 100644
index 0000000..fd64e8e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_3C_slot_3C.txt
@@ -0,0 +1,23 @@
+function door2_slot_3C() /* entry=451 class_id=0x0A05 slot=0x3C */
+{
+ set_info(0x0207, *(arg_06));
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ local_02 = 1;
+ while (local_02 > 4) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_3D_slot_3D.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_3D_slot_3D.txt
new file mode 100644
index 0000000..dd5eaeb
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_3D_slot_3D.txt
@@ -0,0 +1,31 @@
+function door2_slot_3D() /* entry=451 class_id=0x0A05 slot=0x3D */
+{
+ set_info(0x0207, *(arg_06));
+ /* loop_selector local_04 in nearby_items(shape=0x0401, origin=arg_06) */
+ while (!condition) {
+ if (Item.getFrame(arg_06) == 0) {
+ }
+ else {
+ return;
+ }
+ /* loopnext */
+ }
+ FREE.slot_36(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 4, 108, *(arg_06));
+ if (retval) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ local_02 = 0;
+ while (local_02 > 4) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_3E_slot_3E.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_3E_slot_3E.txt
new file mode 100644
index 0000000..3f8658d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_3E_slot_3E.txt
@@ -0,0 +1,23 @@
+function door2_slot_3E() /* entry=451 class_id=0x0A05 slot=0x3E */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 8) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_3F_slot_3F.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_3F_slot_3F.txt
new file mode 100644
index 0000000..47605f8
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_3F_slot_3F.txt
@@ -0,0 +1,21 @@
+function door2_slot_3F() /* entry=451 class_id=0x0A05 slot=0x3F */
+{
+ set_info(0x0207, *(arg_06));
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), (Item.getY(arg_06) + 0x0080), Item.getX(arg_06), 9, 0x05AA, local_04)) {
+ local_02 = 0;
+ while (local_02 > 8) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_40_slot_40.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_40_slot_40.txt
new file mode 100644
index 0000000..19bb935
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_40_slot_40.txt
@@ -0,0 +1,23 @@
+function door2_slot_40() /* entry=451 class_id=0x0A05 slot=0x40 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 8) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_41_slot_41.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_41_slot_41.txt
new file mode 100644
index 0000000..0644e29
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_41_slot_41.txt
@@ -0,0 +1,21 @@
+function door2_slot_41() /* entry=451 class_id=0x0A05 slot=0x41 */
+{
+ set_info(0x0207, *(arg_06));
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) + 0x0080), 9, 0x0129, local_04)) {
+ local_02 = 0;
+ while (local_02 > 8) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_42_slot_42.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_42_slot_42.txt
new file mode 100644
index 0000000..bab3e76
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_42_slot_42.txt
@@ -0,0 +1,23 @@
+function door2_slot_42() /* entry=451 class_id=0x0A05 slot=0x42 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 1;
+ while (local_02 > 8) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_43_slot_43.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_43_slot_43.txt
new file mode 100644
index 0000000..f75660f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_43_slot_43.txt
@@ -0,0 +1,21 @@
+function door2_slot_43() /* entry=451 class_id=0x0A05 slot=0x43 */
+{
+ set_info(0x0207, *(arg_06));
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) + 0x0080), 8, 0x01AB, local_04)) {
+ local_02 = 0;
+ while (local_02 > 8) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_44_slot_44.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_44_slot_44.txt
new file mode 100644
index 0000000..2a01061
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_44_slot_44.txt
@@ -0,0 +1,23 @@
+function door2_slot_44() /* entry=451 class_id=0x0A05 slot=0x44 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 1;
+ while (local_02 > 8) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_45_slot_45.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_45_slot_45.txt
new file mode 100644
index 0000000..b61112f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_45_slot_45.txt
@@ -0,0 +1,21 @@
+function door2_slot_45() /* entry=451 class_id=0x0A05 slot=0x45 */
+{
+ set_info(0x0207, *(arg_06));
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), (Item.getY(arg_06) + 0x0080), Item.getX(arg_06), 8, 0x0393, local_04)) {
+ local_02 = 0;
+ while (local_02 > 8) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_46_slot_46.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_46_slot_46.txt
new file mode 100644
index 0000000..d9b4ce5
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_46_slot_46.txt
@@ -0,0 +1,15 @@
+function door2_slot_46() /* entry=451 class_id=0x0A05 slot=0x46 */
+{
+ set_info(0x0207, *(arg_06));
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 1;
+ while (local_02 > 3) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_47_slot_47.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_47_slot_47.txt
new file mode 100644
index 0000000..ee0ba7e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_47_slot_47.txt
@@ -0,0 +1,22 @@
+function door2_slot_47() /* entry=451 class_id=0x0A05 slot=0x47 */
+{
+ set_info(0x0207, *(arg_06));
+ FREE.slot_36(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) + 0x0080), 3, 0x018D, *(arg_06));
+ if (!retval) {
+ local_02 = 0;
+ while (local_02 > 3) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_48_slot_48.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_48_slot_48.txt
new file mode 100644
index 0000000..aa18513
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_48_slot_48.txt
@@ -0,0 +1,15 @@
+function door2_slot_48() /* entry=451 class_id=0x0A05 slot=0x48 */
+{
+ set_info(0x0207, *(arg_06));
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 1;
+ while (local_02 > 3) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_49_slot_49.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_49_slot_49.txt
new file mode 100644
index 0000000..813f7f0
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_49_slot_49.txt
@@ -0,0 +1,22 @@
+function door2_slot_49() /* entry=451 class_id=0x0A05 slot=0x49 */
+{
+ set_info(0x0207, *(arg_06));
+ FREE.slot_36(Item.getZ(arg_06), (Item.getY(arg_06) + 0x0080), Item.getX(arg_06), 3, 0x01C6, *(arg_06));
+ if (!retval) {
+ local_02 = 0;
+ while (local_02 > 3) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_4A_slot_4A.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_4A_slot_4A.txt
new file mode 100644
index 0000000..a904566
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_4A_slot_4A.txt
@@ -0,0 +1,18 @@
+function door2_slot_4A() /* entry=451 class_id=0x0A05 slot=0x4A */
+{
+ set_info(0x0207, *(arg_06));
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ set_info(1, 0);
+ local_04 = 7;
+ local_02 = 1;
+ while (local_02 > local_04) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ local_06 = Item.getQLo(arg_06);
+ /* word_to_dword */
+ /* pop_result */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_4B_slot_4B.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_4B_slot_4B.txt
new file mode 100644
index 0000000..9a74036
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_4B_slot_4B.txt
@@ -0,0 +1,48 @@
+function door2_slot_4B() /* entry=451 class_id=0x0A05 slot=0x4B */
+{
+ set_info(0x0207, *(arg_06));
+ set_info(1, 0);
+ local_0C = 7;
+ local_08 = *(arg_06);
+ local_0E = Item.getX(arg_06);
+ local_10 = Item.getY(arg_06);
+ local_12 = Item.getZ(arg_06);
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x3D */
+ /* loopscr value_u8=0x40 */
+ /* loopscr value_u8=0x25 */
+ /* loop current_var=0xFE string_bytes=0x6 loop_type=0x6 */
+ while (!condition) {
+ if (Item.getFrame(local_02) == 0) {
+ local_14 = Item.getX(local_02);
+ local_16 = Item.getY(local_02);
+ local_1C = Item.getZ(local_02);
+ }
+ else {
+ local_18 = Item.getX(local_02);
+ local_1A = Item.getY(local_02);
+ local_1E = Item.getZ(local_02);
+ }
+ /* loopnext */
+ }
+ local_20 = Item.getQLo(arg_06);
+ if (Item.legalCreateAtCoords((local_12 - 80), local_10, local_0E, 7, 0x01EE, local_04) == 1) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_0A = 1;
+ while (local_0A > local_0C) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_0A = (1 + local_0A);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_4C_slot_4C.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_4C_slot_4C.txt
new file mode 100644
index 0000000..ae2689f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_4C_slot_4C.txt
@@ -0,0 +1,18 @@
+function door2_slot_4C() /* entry=451 class_id=0x0A05 slot=0x4C */
+{
+ set_info(0x0207, *(arg_06));
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ set_info(1, 0);
+ local_04 = 7;
+ local_02 = 1;
+ while (local_02 > local_04) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ local_06 = Item.getQLo(arg_06);
+ /* word_to_dword */
+ /* pop_result */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_4D_slot_4D.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_4D_slot_4D.txt
new file mode 100644
index 0000000..01726b0
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_4D_slot_4D.txt
@@ -0,0 +1,48 @@
+function door2_slot_4D() /* entry=451 class_id=0x0A05 slot=0x4D */
+{
+ set_info(0x0207, *(arg_06));
+ set_info(1, 0);
+ local_0A = 7;
+ local_06 = *(arg_06);
+ local_0C = Item.getX(arg_06);
+ local_0E = Item.getY(arg_06);
+ local_10 = Item.getZ(arg_06);
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x3D */
+ /* loopscr value_u8=0x40 */
+ /* loopscr value_u8=0x25 */
+ /* loop current_var=0xFE string_bytes=0x6 loop_type=0x6 */
+ while (!condition) {
+ if (Item.getFrame(local_02) == 0) {
+ local_12 = Item.getX(local_02);
+ local_14 = Item.getY(local_02);
+ local_1A = Item.getZ(local_02);
+ }
+ else {
+ local_16 = Item.getX(local_02);
+ local_18 = Item.getY(local_02);
+ local_1C = Item.getZ(local_02);
+ }
+ /* loopnext */
+ }
+ local_1E = Item.getQLo(arg_06);
+ if (Item.legalCreateAtCoords((local_10 - 80), local_0E, local_0C, local_0A, 0x03AD, local_04) == 1) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_08 = 1;
+ while (local_08 > local_0A) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_08 = (1 + local_08);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_4E_slot_4E.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_4E_slot_4E.txt
new file mode 100644
index 0000000..c8a972b
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_4E_slot_4E.txt
@@ -0,0 +1,23 @@
+function door2_slot_4E() /* entry=451 class_id=0x0A05 slot=0x4E */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 6) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_4F_slot_4F.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_4F_slot_4F.txt
new file mode 100644
index 0000000..891c7f8
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_4F_slot_4F.txt
@@ -0,0 +1,26 @@
+function door2_slot_4F() /* entry=451 class_id=0x0A05 slot=0x4F */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) == 0) {
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), (Item.getY(arg_06) - 64), Item.getX(arg_06), 0, 0x032A, local_04)) {
+ for local_04 in nearby_items(shape=0x028D, origin=arg_06) {
+ /* loopnext */
+ }
+ local_02 = 0;
+ while (local_02 > 6) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_50_slot_50.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_50_slot_50.txt
new file mode 100644
index 0000000..8fb0346
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_50_slot_50.txt
@@ -0,0 +1,23 @@
+function door2_slot_50() /* entry=451 class_id=0x0A05 slot=0x50 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 6) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_51_slot_51.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_51_slot_51.txt
new file mode 100644
index 0000000..7870143
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR2/slot_51_slot_51.txt
@@ -0,0 +1,26 @@
+function door2_slot_51() /* entry=451 class_id=0x0A05 slot=0x51 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) == 0) {
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) - 64), 0, 0x0120, local_04)) {
+ for local_04 in nearby_items(shape=0x0287, origin=arg_06) {
+ /* loopnext */
+ }
+ local_02 = 0;
+ while (local_02 > 6) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_20_slot_20.txt
new file mode 100644
index 0000000..3b0140d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_20_slot_20.txt
@@ -0,0 +1,23 @@
+function door3_slot_20() /* entry=452 class_id=0x0A06 slot=0x20 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 6) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_21_slot_21.txt
new file mode 100644
index 0000000..55d2dcf
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_21_slot_21.txt
@@ -0,0 +1,26 @@
+function door3_slot_21() /* entry=452 class_id=0x0A06 slot=0x21 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) == 0) {
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), (Item.getY(arg_06) - 64), Item.getX(arg_06), 0, 0x032A, local_04)) {
+ for local_04 in nearby_items(shape=0x05A5, origin=arg_06) {
+ /* loopnext */
+ }
+ local_02 = 0;
+ while (local_02 > 6) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_22_slot_22.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_22_slot_22.txt
new file mode 100644
index 0000000..efd9e2b
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_22_slot_22.txt
@@ -0,0 +1,23 @@
+function door3_slot_22() /* entry=452 class_id=0x0A06 slot=0x22 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 6) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_23_slot_23.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_23_slot_23.txt
new file mode 100644
index 0000000..d0aa2e9
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_23_slot_23.txt
@@ -0,0 +1,26 @@
+function door3_slot_23() /* entry=452 class_id=0x0A06 slot=0x23 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) == 0) {
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) - 64), 0, 0x0120, local_04)) {
+ for local_04 in nearby_items(shape=0x05A4, origin=arg_06) {
+ /* loopnext */
+ }
+ local_02 = 0;
+ while (local_02 > 6) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_24_slot_24.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_24_slot_24.txt
new file mode 100644
index 0000000..0dc5f39
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_24_slot_24.txt
@@ -0,0 +1,23 @@
+function door3_slot_24() /* entry=452 class_id=0x0A06 slot=0x24 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 6) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_25_slot_25.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_25_slot_25.txt
new file mode 100644
index 0000000..e574e28
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_25_slot_25.txt
@@ -0,0 +1,23 @@
+function door3_slot_25() /* entry=452 class_id=0x0A06 slot=0x25 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 6) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_26_slot_26.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_26_slot_26.txt
new file mode 100644
index 0000000..0920819
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_26_slot_26.txt
@@ -0,0 +1,66 @@
+function door3_slot_26() /* entry=452 class_id=0x0A06 slot=0x26 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) == 0) {
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) + 112), 0, 4, local_04)) {
+ local_02 = 0;
+ while (local_02 > 6) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (Item.getFrame(arg_06) == 1) {
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), (Item.getY(arg_06) + 112), Item.getX(arg_06), 0, 0x0084, local_04)) {
+ local_02 = 0;
+ while (local_02 > 6) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (Item.getFrame(arg_06) == 2) {
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) + 0x0080), 0, 0x0120, local_04)) {
+ local_02 = 0;
+ while (local_02 > 6) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else if (Item.getFrame(arg_06) == 3) {
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), (Item.getY(arg_06) + 0x0080), Item.getX(arg_06), 0, 0x032A, local_04)) {
+ local_02 = 0;
+ while (local_02 > 6) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_27_slot_27.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_27_slot_27.txt
new file mode 100644
index 0000000..96fed9f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_27_slot_27.txt
@@ -0,0 +1,23 @@
+function door3_slot_27() /* entry=452 class_id=0x0A06 slot=0x27 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 6) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_28_slot_28.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_28_slot_28.txt
new file mode 100644
index 0000000..0367c52
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_28_slot_28.txt
@@ -0,0 +1,23 @@
+function door3_slot_28() /* entry=452 class_id=0x0A06 slot=0x28 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 6) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_29_slot_29.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_29_slot_29.txt
new file mode 100644
index 0000000..21babdc
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_29_slot_29.txt
@@ -0,0 +1,23 @@
+function door3_slot_29() /* entry=452 class_id=0x0A06 slot=0x29 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 6) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_2A_slot_2A.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_2A_slot_2A.txt
new file mode 100644
index 0000000..2472cd0
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_2A_slot_2A.txt
@@ -0,0 +1,23 @@
+function door3_slot_2A() /* entry=452 class_id=0x0A06 slot=0x2A */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 6) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_2B_slot_2B.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_2B_slot_2B.txt
new file mode 100644
index 0000000..95095d6
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_2B_slot_2B.txt
@@ -0,0 +1,21 @@
+function door3_slot_2B() /* entry=452 class_id=0x0A06 slot=0x2B */
+{
+ set_info(0x0207, *(arg_06));
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) + 0x0080), 0, 0x0120, local_04)) {
+ local_02 = 0;
+ while (local_02 > 6) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_2C_slot_2C.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_2C_slot_2C.txt
new file mode 100644
index 0000000..1bc58bf
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_2C_slot_2C.txt
@@ -0,0 +1,21 @@
+function door3_slot_2C() /* entry=452 class_id=0x0A06 slot=0x2C */
+{
+ set_info(0x0207, *(arg_06));
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), (Item.getY(arg_06) + 0x0080), Item.getX(arg_06), 0, 0x032A, local_04)) {
+ local_02 = 0;
+ while (local_02 > 6) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_2D_slot_2D.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_2D_slot_2D.txt
new file mode 100644
index 0000000..dccb32c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_2D_slot_2D.txt
@@ -0,0 +1,23 @@
+function door3_slot_2D() /* entry=452 class_id=0x0A06 slot=0x2D */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 3) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_2E_slot_2E.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_2E_slot_2E.txt
new file mode 100644
index 0000000..783e732
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_2E_slot_2E.txt
@@ -0,0 +1,26 @@
+function door3_slot_2E() /* entry=452 class_id=0x0A06 slot=0x2E */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) == 0) {
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), (Item.getY(arg_06) - 64), Item.getX(arg_06), 0, 0x0140, local_04)) {
+ for local_04 in nearby_items(shape=0x00DB, origin=arg_06) {
+ /* loopnext */
+ }
+ local_02 = 0;
+ while (local_02 > 3) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_2F_slot_2F.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_2F_slot_2F.txt
new file mode 100644
index 0000000..bbf1d9d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_2F_slot_2F.txt
@@ -0,0 +1,23 @@
+function door3_slot_2F() /* entry=452 class_id=0x0A06 slot=0x2F */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 3) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_30_slot_30.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_30_slot_30.txt
new file mode 100644
index 0000000..5b09481
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_30_slot_30.txt
@@ -0,0 +1,26 @@
+function door3_slot_30() /* entry=452 class_id=0x0A06 slot=0x30 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) == 0) {
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) - 64), 0, 0x0281, local_04)) {
+ for local_04 in nearby_items(shape=0x00D9, origin=arg_06) {
+ /* loopnext */
+ }
+ local_02 = 0;
+ while (local_02 > 3) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_31_slot_31.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_31_slot_31.txt
new file mode 100644
index 0000000..d9fb43c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_31_slot_31.txt
@@ -0,0 +1,23 @@
+function door3_slot_31() /* entry=452 class_id=0x0A06 slot=0x31 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 6) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_32_slot_32.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_32_slot_32.txt
new file mode 100644
index 0000000..a69c51f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_32_slot_32.txt
@@ -0,0 +1,26 @@
+function door3_slot_32() /* entry=452 class_id=0x0A06 slot=0x32 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) == 0) {
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), (Item.getY(arg_06) - 64), Item.getX(arg_06), 0, 0x0140, local_04)) {
+ for local_04 in nearby_items(shape=0x0301, origin=arg_06) {
+ /* loopnext */
+ }
+ local_02 = 0;
+ while (local_02 > 6) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_33_slot_33.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_33_slot_33.txt
new file mode 100644
index 0000000..746d86c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_33_slot_33.txt
@@ -0,0 +1,23 @@
+function door3_slot_33() /* entry=452 class_id=0x0A06 slot=0x33 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 6) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_34_slot_34.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_34_slot_34.txt
new file mode 100644
index 0000000..e62fc1f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_34_slot_34.txt
@@ -0,0 +1,26 @@
+function door3_slot_34() /* entry=452 class_id=0x0A06 slot=0x34 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) == 0) {
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) - 64), 0, 0x0281, local_04)) {
+ for local_04 in nearby_items(shape=0x00D4, origin=arg_06) {
+ /* loopnext */
+ }
+ local_02 = 0;
+ while (local_02 > 6) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_35_slot_35.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_35_slot_35.txt
new file mode 100644
index 0000000..529e69c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_35_slot_35.txt
@@ -0,0 +1,23 @@
+function door3_slot_35() /* entry=452 class_id=0x0A06 slot=0x35 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_36_slot_36.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_36_slot_36.txt
new file mode 100644
index 0000000..0cf5dea
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_36_slot_36.txt
@@ -0,0 +1,21 @@
+function door3_slot_36() /* entry=452 class_id=0x0A06 slot=0x36 */
+{
+ set_info(0x0207, *(arg_06));
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 7, 0x0167, local_04)) {
+ local_02 = 0;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_37_slot_37.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_37_slot_37.txt
new file mode 100644
index 0000000..6b6875f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_37_slot_37.txt
@@ -0,0 +1,23 @@
+function door3_slot_37() /* entry=452 class_id=0x0A06 slot=0x37 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_38_slot_38.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_38_slot_38.txt
new file mode 100644
index 0000000..af24e69
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_38_slot_38.txt
@@ -0,0 +1,21 @@
+function door3_slot_38() /* entry=452 class_id=0x0A06 slot=0x38 */
+{
+ set_info(0x0207, *(arg_06));
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 7, 0x0168, local_04)) {
+ local_02 = 0;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_39_slot_39.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_39_slot_39.txt
new file mode 100644
index 0000000..b2b725b
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_39_slot_39.txt
@@ -0,0 +1,23 @@
+function door3_slot_39() /* entry=452 class_id=0x0A06 slot=0x39 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_3A_slot_3A.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_3A_slot_3A.txt
new file mode 100644
index 0000000..4623a6e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_3A_slot_3A.txt
@@ -0,0 +1,23 @@
+function door3_slot_3A() /* entry=452 class_id=0x0A06 slot=0x3A */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) == 1) {
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), (Item.getY(arg_06) + 0x0080), Item.getX(arg_06), 0, 0x0236, local_04)) {
+ local_02 = 0;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_3B_slot_3B.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_3B_slot_3B.txt
new file mode 100644
index 0000000..0edeacc
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_3B_slot_3B.txt
@@ -0,0 +1,23 @@
+function door3_slot_3B() /* entry=452 class_id=0x0A06 slot=0x3B */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_3C_slot_3C.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_3C_slot_3C.txt
new file mode 100644
index 0000000..77da647
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_3C_slot_3C.txt
@@ -0,0 +1,23 @@
+function door3_slot_3C() /* entry=452 class_id=0x0A06 slot=0x3C */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) == 1) {
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) + 0x0080), 0, 0x0233, local_04)) {
+ local_02 = 0;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_3D_slot_3D.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_3D_slot_3D.txt
new file mode 100644
index 0000000..dba3cb6
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_3D_slot_3D.txt
@@ -0,0 +1,23 @@
+function door3_slot_3D() /* entry=452 class_id=0x0A06 slot=0x3D */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 9) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_3E_slot_3E.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_3E_slot_3E.txt
new file mode 100644
index 0000000..7b5a207
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_3E_slot_3E.txt
@@ -0,0 +1,32 @@
+function door3_slot_3E() /* entry=452 class_id=0x0A06 slot=0x3E */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) == 1) {
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), (Item.getY(arg_06) + 0x0080), Item.getX(arg_06), 0, 0x0236, local_04)) {
+ for local_04 in nearby_items(shape=0x046A, origin=arg_06) {
+ if ((Item.getFrame(local_04) == 1) && (Item.getQLo(local_04) != Item.getQLo(arg_06))) {
+ local_06 = local_04;
+ }
+ /* loopnext */
+ }
+ if (local_06) {
+ return;
+ }
+ local_02 = 0;
+ while (local_02 > 9) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_3F_slot_3F.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_3F_slot_3F.txt
new file mode 100644
index 0000000..4bd4e8a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_3F_slot_3F.txt
@@ -0,0 +1,23 @@
+function door3_slot_3F() /* entry=452 class_id=0x0A06 slot=0x3F */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 9) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_40_slot_40.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_40_slot_40.txt
new file mode 100644
index 0000000..fc7ff61
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_40_slot_40.txt
@@ -0,0 +1,32 @@
+function door3_slot_40() /* entry=452 class_id=0x0A06 slot=0x40 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) == 1) {
+ if (!Item.legalCreateAtCoords(Item.getZ(arg_06), Item.getY(arg_06), (Item.getX(arg_06) + 0x0080), 0, 0x0233, local_04)) {
+ for local_04 in nearby_items(shape=0x046C, origin=arg_06) {
+ if ((Item.getFrame(local_04) == 1) && (Item.getQLo(local_04) != Item.getQLo(arg_06))) {
+ local_06 = local_04;
+ }
+ /* loopnext */
+ }
+ if (local_06) {
+ return;
+ }
+ local_02 = 0;
+ while (local_02 > 9) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_41_slot_41.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_41_slot_41.txt
new file mode 100644
index 0000000..5317e72
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_41_slot_41.txt
@@ -0,0 +1,23 @@
+function door3_slot_41() /* entry=452 class_id=0x0A06 slot=0x41 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 8) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_42_slot_42.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_42_slot_42.txt
new file mode 100644
index 0000000..62f4662
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_42_slot_42.txt
@@ -0,0 +1,36 @@
+function door3_slot_42() /* entry=452 class_id=0x0A06 slot=0x42 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) == 0) {
+ for local_04 in nearby_items(shape=0x051A, origin=arg_06) {
+ if ((Item.getFrame(local_04) == 1) && (Item.getQLo(local_04) != Item.getQLo(arg_06))) {
+ local_06 = local_04;
+ }
+ /* loopnext */
+ }
+ if (local_06) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x4 target=[SP+04h] */
+ suspend;
+ return;
+ }
+ FREE.slot_36(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 8, 0x02F1, *(arg_06));
+ if (!retval) {
+ local_02 = 0;
+ while (local_02 > 8) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_43_slot_43.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_43_slot_43.txt
new file mode 100644
index 0000000..d2439c4
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_43_slot_43.txt
@@ -0,0 +1,23 @@
+function door3_slot_43() /* entry=452 class_id=0x0A06 slot=0x43 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) <= 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 0;
+ while (local_02 > 8) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_44_slot_44.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_44_slot_44.txt
new file mode 100644
index 0000000..5569d38
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR3/slot_44_slot_44.txt
@@ -0,0 +1,36 @@
+function door3_slot_44() /* entry=452 class_id=0x0A06 slot=0x44 */
+{
+ set_info(0x0207, *(arg_06));
+ if (Item.getFrame(arg_06) == 0) {
+ for local_04 in nearby_items(shape=0x022D, origin=arg_06) {
+ if ((Item.getFrame(local_04) == 1) && (Item.getQLo(local_04) != Item.getQLo(arg_06))) {
+ local_06 = local_04;
+ }
+ /* loopnext */
+ }
+ if (local_06) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x4 target=[SP+04h] */
+ suspend;
+ return;
+ }
+ FREE.slot_36(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 8, 0x04CF, *(arg_06));
+ if (!retval) {
+ local_02 = 0;
+ while (local_02 > 8) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR4/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR4/slot_20_slot_20.txt
new file mode 100644
index 0000000..5f328d3
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR4/slot_20_slot_20.txt
@@ -0,0 +1,15 @@
+function door4_slot_20() /* entry=453 class_id=0x0A07 slot=0x20 */
+{
+ set_info(0x0207, *(arg_06));
+ spawn DOOR.slot_22(pid, arg_06);
+ suspend;
+ local_02 = 1;
+ while (local_02 > 4) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR4/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR4/slot_21_slot_21.txt
new file mode 100644
index 0000000..a8ed0b0
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOR4/slot_21_slot_21.txt
@@ -0,0 +1,28 @@
+function door4_slot_21() /* entry=453 class_id=0x0A07 slot=0x21 */
+{
+ set_info(0x0207, *(arg_06));
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x45 */
+ /* loop current_var=0xFC string_bytes=0xC loop_type=0x2 */
+ while (!condition) {
+ /* loopnext */
+ }
+ FREE.slot_36(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 4, 0x05F9, *(arg_06));
+ if (retval) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ local_02 = 0;
+ while (local_02 > 4) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOREGG/slot_07_hatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOREGG/slot_07_hatch.txt
new file mode 100644
index 0000000..5126121
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOREGG/slot_07_hatch.txt
@@ -0,0 +1,8 @@
+function dooregg_hatch() /* entry=429 class_id=0x090A slot=0x07 */
+{
+ set_info(0x0210, *(arg_06));
+ process_exclude();
+ spawn DOOREGG.slot_20(pid, arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOREGG/slot_15_unhatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOREGG/slot_15_unhatch.txt
new file mode 100644
index 0000000..c186d44
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOREGG/slot_15_unhatch.txt
@@ -0,0 +1,8 @@
+function dooregg_unhatch() /* entry=429 class_id=0x090A slot=0x15 */
+{
+ set_info(0x0239, *(arg_06));
+ process_exclude();
+ spawn DOOREGG.slot_21(pid, arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOREGG/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOREGG/slot_20_slot_20.txt
new file mode 100644
index 0000000..930bedb
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOREGG/slot_20_slot_20.txt
@@ -0,0 +1,12 @@
+function dooregg_slot_20() /* entry=429 class_id=0x090A slot=0x20 */
+{
+ set_info(0x0001, *(arg_06));
+ /* loop_selector local_02 in nearby_items(family=1, origin=arg_06) */
+ while (!condition) {
+ if (Item.getQLo(local_02) == Egg.getEggId(arg_06)) {
+ spawn DOOR.slot_21(1, local_02);
+ }
+ /* loopnext */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOREGG/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOREGG/slot_21_slot_21.txt
new file mode 100644
index 0000000..f4acc38
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DOOREGG/slot_21_slot_21.txt
@@ -0,0 +1,12 @@
+function dooregg_slot_21() /* entry=429 class_id=0x090A slot=0x21 */
+{
+ set_info(0x0001, *(arg_06));
+ /* loop_selector local_02 in nearby_items(family=1, origin=arg_06) */
+ while (!condition) {
+ if (Item.getQLo(local_02) == Egg.getEggId(arg_06)) {
+ spawn DOOR.slot_21(2, local_02);
+ }
+ /* loopnext */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_EW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_EW/slot_06_gotHit.txt
index 319951c..a62b76d 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_EW/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_EW/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function duck_ew_gotHit() /* entry=87 class_id=0x019A slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
local_02 = Item.getQHi(arg_06);
if (Item.getFrame(arg_06) <= 0) {
@@ -13,19 +13,19 @@ function duck_ew_gotHit() /* entry=87 class_id=0x019A slot=0x06 */
return;
}
else {
- spawn class_0A0C_slot_29(pid, 120, arg_0C, arg_0A, arg_06);
+ spawn ITEM.slot_29(pid, 120, arg_0C, arg_0A, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A1D_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- class_0A0C_slot_25(0x1000, arg_06);
- class_0A1D_slot_3C(0x0205, *(arg_06));
- spawn class_0A0C_slot_2A(pid, 0, 0, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_EW/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_EW/slot_0A_equip.txt
index 964a2f8..97f66ee 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_EW/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_EW/slot_0A_equip.txt
@@ -11,32 +11,32 @@ function duck_ew_equip() /* entry=87 class_id=0x019A slot=0x0A */
}
local_02 = 0;
while (local_02 > 4) {
- spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
- class_0A0C_slot_25(0x1000, arg_06);
- class_0A1D_slot_3C(0x0205, *(arg_06));
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
return;
}
else if (Item.getFrame(arg_06) == 0) {
local_02 = 0;
while (local_02 > 4) {
- spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
}
if (arg_0A == 1) {
- spawn class_019A_slot_20(arg_06);
+ spawn DUCK_EW.slot_20(arg_06);
return;
}
else if (arg_0A <= 1) {
- spawn class_019A_slot_20(arg_06);
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn DUCK_EW.slot_20(arg_06);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
- class_0A0C_slot_25(0x1000, arg_06);
- class_0A1D_slot_3C(0x0205, *(arg_06));
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
return;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_EW/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_EW/slot_10_leaveFastArea.txt
index ce7019b..097a826 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_EW/slot_10_leaveFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_EW/slot_10_leaveFastArea.txt
@@ -3,8 +3,8 @@ function duck_ew_leaveFastArea() /* entry=87 class_id=0x019A slot=0x10 */
set_info(0x021C, *(arg_06));
process_exclude();
if (Item.getFrame(arg_06) >= 5) {
- class_0A0C_slot_25(0x1000, arg_06);
- class_0A1D_slot_3C(0x0205, *(arg_06));
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_EW/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_EW/slot_20_slot_20.txt
index 4ef40ee..6de25cd 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_EW/slot_20_slot_20.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_EW/slot_20_slot_20.txt
@@ -8,7 +8,7 @@ function duck_ew_slot_20() /* entry=87 class_id=0x019A slot=0x20 */
goto block_02B3;
block_00F7:
- class_0A0C_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
local_02 = Item.getFrame(arg_06);
local_04 = Item.getQHi(arg_06);
@@ -48,14 +48,14 @@ function duck_ew_slot_20() /* entry=87 class_id=0x019A slot=0x20 */
if (local_04 != 3) goto block_023D;
block_01D0:
- spawn class_0A1D_slot_3B(pid, 100, 0x00000000);
+ spawn FREE.slot_3B(pid, 100, 0x00000000);
suspend;
goto block_0290;
block_023D:
block_0290:
- spawn class_0A1D_slot_3B(pid, ((5 - World.gameDifficulty()) * 20), 0x00000000);
+ spawn FREE.slot_3B(pid, ((5 - World.gameDifficulty()) * 20), 0x00000000);
suspend;
goto block_0119;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_NS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_NS/slot_06_gotHit.txt
index 0cea94c..1095622 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_NS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_NS/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function duck_ns_gotHit() /* entry=85 class_id=0x0196 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
local_02 = Item.getQHi(arg_06);
if (Item.getFrame(arg_06) <= 0) {
@@ -13,19 +13,19 @@ function duck_ns_gotHit() /* entry=85 class_id=0x0196 slot=0x06 */
return;
}
else {
- spawn class_0A0C_slot_29(pid, 120, arg_0C, arg_0A, arg_06);
+ spawn ITEM.slot_29(pid, 120, arg_0C, arg_0A, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A1D_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- class_0A0C_slot_25(0x1000, arg_06);
- class_0A1D_slot_3C(0x0205, *(arg_06));
- spawn class_0A0C_slot_2A(pid, 0, 0, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_NS/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_NS/slot_0A_equip.txt
index 2e94ec4..f4f4b67 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_NS/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_NS/slot_0A_equip.txt
@@ -11,32 +11,32 @@ function duck_ns_equip() /* entry=85 class_id=0x0196 slot=0x0A */
}
local_02 = 0;
while (local_02 > 4) {
- spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
- class_0A0C_slot_25(0x1000, arg_06);
- class_0A1D_slot_3C(0x0205, *(arg_06));
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
return;
}
else if (Item.getFrame(arg_06) == 0) {
local_02 = 0;
while (local_02 > 4) {
- spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
}
if (arg_0A == 1) {
- spawn class_0196_slot_20(arg_06);
+ spawn DUCK_NS.slot_20(arg_06);
return;
}
else if (arg_0A <= 1) {
- spawn class_0196_slot_20(arg_06);
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn DUCK_NS.slot_20(arg_06);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
- class_0A0C_slot_25(0x1000, arg_06);
- class_0A1D_slot_3C(0x0205, *(arg_06));
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
return;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_NS/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_NS/slot_10_leaveFastArea.txt
index 62be58d..f6b25c2 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_NS/slot_10_leaveFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_NS/slot_10_leaveFastArea.txt
@@ -3,8 +3,8 @@ function duck_ns_leaveFastArea() /* entry=85 class_id=0x0196 slot=0x10 */
set_info(0x021C, *(arg_06));
process_exclude();
if (Item.getFrame(arg_06) >= 5) {
- class_0A0C_slot_25(0x1000, arg_06);
- class_0A1D_slot_3C(0x0205, *(arg_06));
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_NS/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_NS/slot_20_slot_20.txt
index d3bf7d2..5d98415 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_NS/slot_20_slot_20.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/DUCK_NS/slot_20_slot_20.txt
@@ -8,7 +8,7 @@ function duck_ns_slot_20() /* entry=85 class_id=0x0196 slot=0x20 */
goto block_02B0;
block_00F7:
- class_0A0C_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
local_02 = Item.getFrame(arg_06);
local_04 = Item.getQHi(arg_06);
@@ -48,14 +48,14 @@ function duck_ns_slot_20() /* entry=85 class_id=0x0196 slot=0x20 */
if (local_04 != 3) goto block_023D;
block_01D0:
- spawn class_0A1D_slot_3B(pid, 100, 0x00000000);
+ spawn FREE.slot_3B(pid, 100, 0x00000000);
suspend;
goto block_028D;
block_023D:
block_028D:
- spawn class_0A1D_slot_3B(pid, ((5 - World.gameDifficulty()) * 20), 0x00000000);
+ spawn FREE.slot_3B(pid, ((5 - World.gameDifficulty()) * 20), 0x00000000);
suspend;
goto block_0119;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_BARREL/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_BARREL/slot_06_gotHit.txt
index 701f343..bc37462 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_BARREL/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_BARREL/slot_06_gotHit.txt
@@ -2,11 +2,11 @@ function d_barrel_gotHit() /* entry=129 class_id=0x022B slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (retval == 4) {
- class_0A1D_slot_20(10);
+ FREE.slot_20(10);
if (retval <= 5) {
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_CHEM/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_CHEM/slot_01_use.txt
new file mode 100644
index 0000000..79853e8
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_CHEM/slot_01_use.txt
@@ -0,0 +1,17 @@
+function d_chem_use() /* entry=264 class_id=0x04B9 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else {
+ spawn FREE.slot_49(pid, *(arg_06), 0x00000000);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ ITEM.slot_24(0x1000, arg_06);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_CHEM/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_CHEM/slot_06_gotHit.txt
new file mode 100644
index 0000000..e9f9722
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_CHEM/slot_06_gotHit.txt
@@ -0,0 +1,19 @@
+function d_chem_gotHit() /* entry=264 class_id=0x04B9 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
+ return;
+ }
+ else {
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
+ while (!condition) {
+ if (Item.getShape(local_02) == 0x0111) {
+ }
+ /* loopnext */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_CONG/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_CONG/slot_01_use.txt
new file mode 100644
index 0000000..5faf758
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_CONG/slot_01_use.txt
@@ -0,0 +1,17 @@
+function d_cong_use() /* entry=265 class_id=0x04BA slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else {
+ spawn FREE.slot_49(pid, *(arg_06), 0x00000000);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ ITEM.slot_24(0x1000, arg_06);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_CONG/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_CONG/slot_06_gotHit.txt
new file mode 100644
index 0000000..3493795
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_CONG/slot_06_gotHit.txt
@@ -0,0 +1,19 @@
+function d_cong_gotHit() /* entry=265 class_id=0x04BA slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
+ return;
+ }
+ else {
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
+ while (!condition) {
+ if (Item.getShape(local_02) == 0x0111) {
+ }
+ /* loopnext */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_COUR/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_COUR/slot_06_gotHit.txt
new file mode 100644
index 0000000..feea0b6
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_COUR/slot_06_gotHit.txt
@@ -0,0 +1,22 @@
+function d_cour_gotHit() /* entry=270 class_id=0x04C2 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ if (UCMachine.rndRange(100, 0) <= 50) {
+ return;
+ }
+ else {
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
+ while (!condition) {
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
+ suspend;
+ spawn ITEM.slot_2A(pid, 1, 0, local_02);
+ suspend;
+ /* loopnext */
+ }
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_EM_GUY/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_EM_GUY/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..a979291
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_EM_GUY/slot_0E_calledFromAnim.txt
@@ -0,0 +1,7 @@
+function d_em_guy_calledFromAnim() /* entry=351 class_id=0x059C slot=0x0E */
+{
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_EM_GUY/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_EM_GUY/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..deb8bb7
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_EM_GUY/slot_0F_enterFastArea.txt
@@ -0,0 +1,9 @@
+function d_em_guy_enterFastArea() /* entry=351 class_id=0x059C slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_ENFOR2/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_ENFOR2/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..4716c04
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_ENFOR2/slot_0E_calledFromAnim.txt
@@ -0,0 +1,9 @@
+function d_enfor2_calledFromAnim() /* entry=410 class_id=0x062E slot=0x0E */
+{
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ local_02 = *(arg_06);
+ set_info(1, 0);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_ENFORC/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_ENFORC/slot_01_use.txt
new file mode 100644
index 0000000..a0674ba
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_ENFORC/slot_01_use.txt
@@ -0,0 +1,17 @@
+function d_enforc_use() /* entry=322 class_id=0x055D slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else {
+ spawn FREE.slot_49(pid, *(arg_06), 0x00000000);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ ITEM.slot_24(0x1000, arg_06);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_ENFORC/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_ENFORC/slot_06_gotHit.txt
new file mode 100644
index 0000000..ed1fa8b
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_ENFORC/slot_06_gotHit.txt
@@ -0,0 +1,19 @@
+function d_enforc_gotHit() /* entry=322 class_id=0x055D slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
+ return;
+ }
+ else {
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
+ while (!condition) {
+ if (Item.getShape(local_02) == 0x0111) {
+ }
+ /* loopnext */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_ESTORM/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_ESTORM/slot_01_use.txt
new file mode 100644
index 0000000..7dc8b6f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_ESTORM/slot_01_use.txt
@@ -0,0 +1,17 @@
+function d_estorm_use() /* entry=280 class_id=0x04D2 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else {
+ spawn FREE.slot_49(pid, *(arg_06), 0x00000000);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ ITEM.slot_24(0x1000, arg_06);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_ESTORM/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_ESTORM/slot_06_gotHit.txt
new file mode 100644
index 0000000..aff3d69
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_ESTORM/slot_06_gotHit.txt
@@ -0,0 +1,19 @@
+function d_estorm_gotHit() /* entry=280 class_id=0x04D2 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
+ return;
+ }
+ else {
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
+ while (!condition) {
+ if (Item.getShape(local_02) == 0x0111) {
+ }
+ /* loopnext */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_FLAMEX/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_FLAMEX/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..af2ecab
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_FLAMEX/slot_0E_calledFromAnim.txt
@@ -0,0 +1,7 @@
+function d_flamex_calledFromAnim() /* entry=416 class_id=0x0656 slot=0x0E */
+{
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_FLAMEX/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_FLAMEX/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..627282e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_FLAMEX/slot_0F_enterFastArea.txt
@@ -0,0 +1,9 @@
+function d_flamex_enterFastArea() /* entry=416 class_id=0x0656 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_FREIGH/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_FREIGH/slot_01_use.txt
index 0da00a4..cf1b9db 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_FREIGH/slot_01_use.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_FREIGH/slot_01_use.txt
@@ -6,11 +6,11 @@ function d_freigh_use() /* entry=187 class_id=0x0360 slot=0x01 */
return;
}
else {
- spawn class_0A1D_slot_49(pid, *(arg_06), 0x00000000);
+ spawn FREE.slot_49(pid, *(arg_06), 0x00000000);
suspend;
/* dword_to_word */
if (!process_result) {
- class_0A0C_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
}
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_FREIGH/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_FREIGH/slot_06_gotHit.txt
index acbe43b..47cf4de 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_FREIGH/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_FREIGH/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function d_freigh_gotHit() /* entry=187 class_id=0x0360 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_GRENAD/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_GRENAD/slot_01_use.txt
new file mode 100644
index 0000000..8624321
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_GRENAD/slot_01_use.txt
@@ -0,0 +1,17 @@
+function d_grenad_use() /* entry=318 class_id=0x054D slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else {
+ spawn FREE.slot_49(pid, *(arg_06), 0x00000000);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ ITEM.slot_24(0x1000, arg_06);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_GRENAD/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_GRENAD/slot_06_gotHit.txt
new file mode 100644
index 0000000..46fc237
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_GRENAD/slot_06_gotHit.txt
@@ -0,0 +1,19 @@
+function d_grenad_gotHit() /* entry=318 class_id=0x054D slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
+ return;
+ }
+ else {
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
+ while (!condition) {
+ if (Item.getShape(local_02) == 0x0111) {
+ }
+ /* loopnext */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_HQ2/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_HQ2/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..487493f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_HQ2/slot_0E_calledFromAnim.txt
@@ -0,0 +1,9 @@
+function d_hq2_calledFromAnim() /* entry=395 class_id=0x0606 slot=0x0E */
+{
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ local_02 = *(arg_06);
+ set_info(1, 0);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_HQGUAR/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_HQGUAR/slot_01_use.txt
new file mode 100644
index 0000000..fb5ed3d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_HQGUAR/slot_01_use.txt
@@ -0,0 +1,17 @@
+function d_hqguar_use() /* entry=389 class_id=0x05FD slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else {
+ spawn FREE.slot_49(pid, *(arg_06), 0x00000000);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ ITEM.slot_24(0x1000, arg_06);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_HQGUAR/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_HQGUAR/slot_06_gotHit.txt
new file mode 100644
index 0000000..c9ab9f2
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_HQGUAR/slot_06_gotHit.txt
@@ -0,0 +1,19 @@
+function d_hqguar_gotHit() /* entry=389 class_id=0x05FD slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
+ return;
+ }
+ else {
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
+ while (!condition) {
+ if (Item.getShape(local_02) == 0x0111) {
+ }
+ /* loopnext */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_KNENFO/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_KNENFO/slot_01_use.txt
new file mode 100644
index 0000000..6a94142
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_KNENFO/slot_01_use.txt
@@ -0,0 +1,17 @@
+function d_knenfo_use() /* entry=413 class_id=0x0633 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else {
+ spawn FREE.slot_49(pid, *(arg_06), 0x00000000);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ ITEM.slot_24(0x1000, arg_06);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_KNENFO/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_KNENFO/slot_06_gotHit.txt
new file mode 100644
index 0000000..21ddeb2
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_KNENFO/slot_06_gotHit.txt
@@ -0,0 +1,19 @@
+function d_knenfo_gotHit() /* entry=413 class_id=0x0633 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
+ return;
+ }
+ else {
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
+ while (!condition) {
+ if (Item.getShape(local_02) == 0x0111) {
+ }
+ /* loopnext */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_KNHQ/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_KNHQ/slot_01_use.txt
new file mode 100644
index 0000000..8f010d3
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_KNHQ/slot_01_use.txt
@@ -0,0 +1,17 @@
+function d_knhq_use() /* entry=398 class_id=0x060C slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else {
+ spawn FREE.slot_49(pid, *(arg_06), 0x00000000);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ ITEM.slot_24(0x1000, arg_06);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_KNHQ/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_KNHQ/slot_06_gotHit.txt
new file mode 100644
index 0000000..c617a01
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_KNHQ/slot_06_gotHit.txt
@@ -0,0 +1,19 @@
+function d_knhq_gotHit() /* entry=398 class_id=0x060C slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
+ return;
+ }
+ else {
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
+ while (!condition) {
+ if (Item.getShape(local_02) == 0x0111) {
+ }
+ /* loopnext */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_KNSTOR/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_KNSTOR/slot_01_use.txt
new file mode 100644
index 0000000..9c03d19
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_KNSTOR/slot_01_use.txt
@@ -0,0 +1,17 @@
+function d_knstor_use() /* entry=412 class_id=0x0632 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else {
+ spawn FREE.slot_49(pid, *(arg_06), 0x00000000);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ ITEM.slot_24(0x1000, arg_06);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_KNSTOR/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_KNSTOR/slot_06_gotHit.txt
new file mode 100644
index 0000000..a4d654f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_KNSTOR/slot_06_gotHit.txt
@@ -0,0 +1,19 @@
+function d_knstor_gotHit() /* entry=412 class_id=0x0632 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
+ return;
+ }
+ else {
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
+ while (!condition) {
+ if (Item.getShape(local_02) == 0x0111) {
+ }
+ /* loopnext */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_LMC2/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_LMC2/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..7211901
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_LMC2/slot_0E_calledFromAnim.txt
@@ -0,0 +1,9 @@
+function d_lmc2_calledFromAnim() /* entry=374 class_id=0x05D5 slot=0x0E */
+{
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ local_02 = *(arg_06);
+ set_info(1, 0);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_LMC_KN/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_LMC_KN/slot_01_use.txt
new file mode 100644
index 0000000..3db6052
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_LMC_KN/slot_01_use.txt
@@ -0,0 +1,17 @@
+function d_lmc_kn_use() /* entry=396 class_id=0x0607 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else {
+ spawn FREE.slot_49(pid, *(arg_06), 0x00000000);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ ITEM.slot_24(0x1000, arg_06);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_LMC_KN/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_LMC_KN/slot_06_gotHit.txt
new file mode 100644
index 0000000..bfbb37e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_LMC_KN/slot_06_gotHit.txt
@@ -0,0 +1,19 @@
+function d_lmc_kn_gotHit() /* entry=396 class_id=0x0607 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
+ return;
+ }
+ else {
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
+ while (!condition) {
+ if (Item.getShape(local_02) == 0x0111) {
+ }
+ /* loopnext */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_LMC_ST/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_LMC_ST/slot_01_use.txt
new file mode 100644
index 0000000..c098027
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_LMC_ST/slot_01_use.txt
@@ -0,0 +1,17 @@
+function d_lmc_st_use() /* entry=397 class_id=0x0608 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else {
+ spawn FREE.slot_49(pid, *(arg_06), 0x00000000);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ ITEM.slot_24(0x1000, arg_06);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_LMC_ST/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_LMC_ST/slot_06_gotHit.txt
new file mode 100644
index 0000000..e7b928e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_LMC_ST/slot_06_gotHit.txt
@@ -0,0 +1,19 @@
+function d_lmc_st_gotHit() /* entry=397 class_id=0x0608 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
+ return;
+ }
+ else {
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
+ while (!condition) {
+ if (Item.getShape(local_02) == 0x0111) {
+ }
+ /* loopnext */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_LNR/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_LNR/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..16005fb
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_LNR/slot_0E_calledFromAnim.txt
@@ -0,0 +1,7 @@
+function d_lnr_calledFromAnim() /* entry=409 class_id=0x062D slot=0x0E */
+{
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_LNR/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_LNR/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..60e3f55
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_LNR/slot_0F_enterFastArea.txt
@@ -0,0 +1,9 @@
+function d_lnr_enterFastArea() /* entry=409 class_id=0x062D slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_MAINT/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_MAINT/slot_01_use.txt
new file mode 100644
index 0000000..3b085f0
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_MAINT/slot_01_use.txt
@@ -0,0 +1,17 @@
+function d_maint_use() /* entry=266 class_id=0x04BB slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else {
+ spawn FREE.slot_49(pid, *(arg_06), 0x00000000);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ ITEM.slot_24(0x1000, arg_06);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_MAINT/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_MAINT/slot_06_gotHit.txt
new file mode 100644
index 0000000..7ebf3bb
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_MAINT/slot_06_gotHit.txt
@@ -0,0 +1,19 @@
+function d_maint_gotHit() /* entry=266 class_id=0x04BB slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
+ return;
+ }
+ else {
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
+ while (!condition) {
+ if (Item.getShape(local_02) == 0x0111) {
+ }
+ /* loopnext */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_NMINE/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_NMINE/slot_01_use.txt
new file mode 100644
index 0000000..ca5bb57
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_NMINE/slot_01_use.txt
@@ -0,0 +1,17 @@
+function d_nmine_use() /* entry=399 class_id=0x0610 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else {
+ spawn FREE.slot_49(pid, *(arg_06), 0x00000000);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ ITEM.slot_24(0x1000, arg_06);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_NMINE/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_NMINE/slot_06_gotHit.txt
new file mode 100644
index 0000000..f33dd27
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_NMINE/slot_06_gotHit.txt
@@ -0,0 +1,19 @@
+function d_nmine_gotHit() /* entry=399 class_id=0x0610 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
+ return;
+ }
+ else {
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
+ while (!condition) {
+ if (Item.getShape(local_02) == 0x0111) {
+ }
+ /* loopnext */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_OWORK/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_OWORK/slot_01_use.txt
new file mode 100644
index 0000000..05bb772
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_OWORK/slot_01_use.txt
@@ -0,0 +1,17 @@
+function d_owork_use() /* entry=267 class_id=0x04BC slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else {
+ spawn FREE.slot_49(pid, *(arg_06), 0x00000000);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ ITEM.slot_24(0x1000, arg_06);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_OWORK/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_OWORK/slot_06_gotHit.txt
new file mode 100644
index 0000000..b248feb
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_OWORK/slot_06_gotHit.txt
@@ -0,0 +1,19 @@
+function d_owork_gotHit() /* entry=267 class_id=0x04BC slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
+ return;
+ }
+ else {
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
+ while (!condition) {
+ if (Item.getShape(local_02) == 0x0111) {
+ }
+ /* loopnext */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_PLASMA/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_PLASMA/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..e13fec9
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_PLASMA/slot_0E_calledFromAnim.txt
@@ -0,0 +1,7 @@
+function d_plasma_calledFromAnim() /* entry=347 class_id=0x058F slot=0x0E */
+{
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_PLASMA/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_PLASMA/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..a680328
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_PLASMA/slot_0F_enterFastArea.txt
@@ -0,0 +1,9 @@
+function d_plasma_enterFastArea() /* entry=347 class_id=0x058F slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_ROBO/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_ROBO/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..9f369c0
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_ROBO/slot_0E_calledFromAnim.txt
@@ -0,0 +1,9 @@
+function d_robo_calledFromAnim() /* entry=357 class_id=0x05B1 slot=0x0E */
+{
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ local_02 = *(arg_06);
+ set_info(1, 0);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_SCIEN/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_SCIEN/slot_01_use.txt
new file mode 100644
index 0000000..e53f370
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_SCIEN/slot_01_use.txt
@@ -0,0 +1,17 @@
+function d_scien_use() /* entry=268 class_id=0x04BD slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else {
+ spawn FREE.slot_49(pid, *(arg_06), 0x00000000);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ ITEM.slot_24(0x1000, arg_06);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_SCIEN/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_SCIEN/slot_06_gotHit.txt
new file mode 100644
index 0000000..7065715
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_SCIEN/slot_06_gotHit.txt
@@ -0,0 +1,19 @@
+function d_scien_gotHit() /* entry=268 class_id=0x04BD slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
+ return;
+ }
+ else {
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
+ while (!condition) {
+ if (Item.getShape(local_02) == 0x0111) {
+ }
+ /* loopnext */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_SITMAN/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_SITMAN/slot_0E_calledFromAnim.txt
index 1dcec9a..4957aeb 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_SITMAN/slot_0E_calledFromAnim.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_SITMAN/slot_0E_calledFromAnim.txt
@@ -4,6 +4,6 @@ function d_sitman_calledFromAnim() /* entry=37 class_id=0x0095 slot=0x0E */
process_exclude();
local_02 = *(arg_06);
set_info(1, 0);
- spawn class_0A10_slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_SKELET/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_SKELET/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..2e521d1
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_SKELET/slot_0E_calledFromAnim.txt
@@ -0,0 +1,7 @@
+function d_skelet_calledFromAnim() /* entry=349 class_id=0x0596 slot=0x0E */
+{
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_SKELET/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_SKELET/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..3739818
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_SKELET/slot_0F_enterFastArea.txt
@@ -0,0 +1,9 @@
+function d_skelet_enterFastArea() /* entry=349 class_id=0x0596 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_STORM/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_STORM/slot_01_use.txt
new file mode 100644
index 0000000..d6b6d5f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_STORM/slot_01_use.txt
@@ -0,0 +1,17 @@
+function d_storm_use() /* entry=269 class_id=0x04BE slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else {
+ spawn FREE.slot_49(pid, *(arg_06), 0x00000000);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ ITEM.slot_24(0x1000, arg_06);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_STORM/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_STORM/slot_06_gotHit.txt
new file mode 100644
index 0000000..6651f16
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_STORM/slot_06_gotHit.txt
@@ -0,0 +1,19 @@
+function d_storm_gotHit() /* entry=269 class_id=0x04BE slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
+ return;
+ }
+ else {
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
+ while (!condition) {
+ if (Item.getShape(local_02) == 0x0111) {
+ }
+ /* loopnext */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_STORM2/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_STORM2/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..776ec3e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_STORM2/slot_0E_calledFromAnim.txt
@@ -0,0 +1,9 @@
+function d_storm2_calledFromAnim() /* entry=411 class_id=0x0631 slot=0x0E */
+{
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ local_02 = *(arg_06);
+ set_info(1, 0);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_SUSAN/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_SUSAN/slot_06_gotHit.txt
new file mode 100644
index 0000000..7acec25
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_SUSAN/slot_06_gotHit.txt
@@ -0,0 +1,22 @@
+function d_susan_gotHit() /* entry=271 class_id=0x04C4 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ if (UCMachine.rndRange(100, 0) <= 50) {
+ return;
+ }
+ else {
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
+ while (!condition) {
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
+ suspend;
+ spawn ITEM.slot_2A(pid, 1, 0, local_02);
+ suspend;
+ /* loopnext */
+ }
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_TANKEW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_TANKEW/slot_06_gotHit.txt
new file mode 100644
index 0000000..ebfaccd
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_TANKEW/slot_06_gotHit.txt
@@ -0,0 +1,27 @@
+function d_tankew_gotHit() /* entry=257 class_id=0x045F slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (retval) {
+ return;
+ }
+ else {
+ for local_02 in nearby_items(family=6, origin=arg_06) {
+ NPC.slot_2A(local_02);
+ if (!retval) {
+ spawn NPC.slot_2C(local_02);
+ }
+ else if (Actor.isDead(local_02)) {
+ spawn NPC.slot_2D(6, local_02);
+ }
+ /* loopnext */
+ }
+ if (global[0x0005]) {
+ suspend;
+ }
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_TANKNS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_TANKNS/slot_06_gotHit.txt
new file mode 100644
index 0000000..caa933f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_TANKNS/slot_06_gotHit.txt
@@ -0,0 +1,27 @@
+function d_tankns_gotHit() /* entry=258 class_id=0x0461 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (retval) {
+ return;
+ }
+ else {
+ for local_02 in nearby_items(family=6, origin=arg_06) {
+ NPC.slot_2A(local_02);
+ if (!retval) {
+ spawn NPC.slot_2C(local_02);
+ }
+ else if (Actor.isDead(local_02)) {
+ spawn NPC.slot_2D(6, local_02);
+ }
+ /* loopnext */
+ }
+ if (global[0x0005]) {
+ suspend;
+ }
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_THERM/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_THERM/slot_01_use.txt
new file mode 100644
index 0000000..65b0906
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/D_THERM/slot_01_use.txt
@@ -0,0 +1,17 @@
+function d_therm_use() /* entry=272 class_id=0x04C5 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else {
+ spawn FREE.slot_49(pid, *(arg_06), 0x00000000);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ ITEM.slot_24(0x1000, arg_06);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EBRIDGE/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EBRIDGE/slot_0A_equip.txt
new file mode 100644
index 0000000..c54ce57
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EBRIDGE/slot_0A_equip.txt
@@ -0,0 +1,8 @@
+function ebridge_equip() /* entry=208 class_id=0x03A6 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ spawn BRIDGE.slot_20(pid, arg_0A, arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EBRIDGE/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EBRIDGE/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..0c03ea5
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EBRIDGE/slot_0F_enterFastArea.txt
@@ -0,0 +1,20 @@
+function ebridge_enterFastArea() /* entry=208 class_id=0x03A6 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ local_02 = Item.getQLo(arg_06);
+ if (local_02 == 0) {
+ return;
+ }
+ else {
+ local_04 = Item.getQHi(arg_06);
+ if ((local_04 >= 1) || (local_04 > 127)) {
+ return;
+ }
+ else {
+ spawn BRIDGE.slot_26(pid, local_04, local_02, arg_06);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EBRIDGE2/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EBRIDGE2/slot_0A_equip.txt
new file mode 100644
index 0000000..f11f186
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EBRIDGE2/slot_0A_equip.txt
@@ -0,0 +1,8 @@
+function ebridge2_equip() /* entry=226 class_id=0x0413 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ spawn BRIDGE.slot_20(pid, arg_0A, arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EBRIDGE2/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EBRIDGE2/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..2c8adbb
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EBRIDGE2/slot_0F_enterFastArea.txt
@@ -0,0 +1,20 @@
+function ebridge2_enterFastArea() /* entry=226 class_id=0x0413 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ local_02 = Item.getQLo(arg_06);
+ if (local_02 == 0) {
+ return;
+ }
+ else {
+ local_04 = Item.getQHi(arg_06);
+ if ((local_04 >= 1) || (local_04 > 127)) {
+ return;
+ }
+ else {
+ spawn BRIDGE.slot_26(pid, local_04, local_02, arg_06);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EGRENADE/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EGRENADE/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..30e8fa1
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EGRENADE/slot_0E_calledFromAnim.txt
@@ -0,0 +1,9 @@
+function egrenade_calledFromAnim() /* entry=305 class_id=0x0528 slot=0x0E */
+{
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ local_02 = *(arg_06);
+ set_info(1, 0);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), local_02);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEEW16/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEEW16/slot_0A_equip.txt
index 72c2fca..7f6759f 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEEW16/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEEW16/slot_0A_equip.txt
@@ -3,20 +3,15 @@ function eleew16_equip() /* entry=3 class_id=0x0007 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (!arg_0A) {
- spawn class_0007_enterFastArea(pid, arg_06);
+ spawn ELEEW16.enterFastArea(pid, arg_06);
suspend;
return;
}
else {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_02 in nearby_items(shape=0x044E, origin=arg_06) {
/* loopnext */
}
- class_0A0C_slot_25(0x1000, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEEW16/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEEW16/slot_0F_enterFastArea.txt
index 7336cdc..43b2a5d 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEEW16/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEEW16/slot_0F_enterFastArea.txt
@@ -7,7 +7,7 @@ function eleew16_enterFastArea() /* entry=3 class_id=0x0007 slot=0x0F */
}
else {
local_0A = Item.getQLo(arg_06);
- class_0A0C_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
local_04 = (Item.getX(arg_06) + 64);
local_06 = Item.getY(arg_06);
local_08 = Item.getZ(arg_06);
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEEW4/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEEW4/slot_0A_equip.txt
index bb76133..3e134c4 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEEW4/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEEW4/slot_0A_equip.txt
@@ -3,20 +3,15 @@ function eleew4_equip() /* entry=92 class_id=0x01A7 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (!arg_0A) {
- spawn class_01A7_enterFastArea(pid, arg_06);
+ spawn ELEEW4.enterFastArea(pid, arg_06);
suspend;
return;
}
else {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_02 in nearby_items(shape=0x044E, origin=arg_06) {
/* loopnext */
}
- class_0A0C_slot_25(0x1000, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEEW4/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEEW4/slot_0F_enterFastArea.txt
index 8a896bb..0162c5b 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEEW4/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEEW4/slot_0F_enterFastArea.txt
@@ -10,7 +10,7 @@ function eleew4_enterFastArea() /* entry=92 class_id=0x01A7 slot=0x0F */
local_06 = Item.getY(arg_06);
local_08 = Item.getZ(arg_06);
local_0A = Item.getQLo(arg_06);
- class_0A0C_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEEW8/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEEW8/slot_0A_equip.txt
index d50c003..80aa158 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEEW8/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEEW8/slot_0A_equip.txt
@@ -3,20 +3,15 @@ function eleew8_equip() /* entry=56 class_id=0x0126 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (!arg_0A) {
- spawn class_0126_enterFastArea(pid, arg_06);
+ spawn ELEEW8.enterFastArea(pid, arg_06);
suspend;
return;
}
else {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_02 in nearby_items(shape=0x044E, origin=arg_06) {
/* loopnext */
}
- class_0A0C_slot_25(0x1000, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEEW8/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEEW8/slot_0F_enterFastArea.txt
index a592976..c5a7df2 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEEW8/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEEW8/slot_0F_enterFastArea.txt
@@ -7,7 +7,7 @@ function eleew8_enterFastArea() /* entry=56 class_id=0x0126 slot=0x0F */
}
else {
local_0A = Item.getQLo(arg_06);
- class_0A0C_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
local_04 = (Item.getX(arg_06) + 64);
local_06 = Item.getY(arg_06);
local_08 = Item.getZ(arg_06);
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELENS16/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELENS16/slot_0A_equip.txt
index d6ef74e..05f3405 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELENS16/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELENS16/slot_0A_equip.txt
@@ -3,20 +3,15 @@ function elens16_equip() /* entry=2 class_id=0x0006 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (!arg_0A) {
- spawn class_0006_enterFastArea(pid, arg_06);
+ spawn ELENS16.enterFastArea(pid, arg_06);
suspend;
return;
}
else {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_02 in nearby_items(shape=0x044D, origin=arg_06) {
/* loopnext */
}
- class_0A0C_slot_25(0x1000, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELENS16/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELENS16/slot_0F_enterFastArea.txt
index 8ce170e..f83b3e2 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELENS16/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELENS16/slot_0F_enterFastArea.txt
@@ -7,7 +7,7 @@ function elens16_enterFastArea() /* entry=2 class_id=0x0006 slot=0x0F */
}
else {
local_0A = Item.getQLo(arg_06);
- class_0A0C_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
local_04 = Item.getX(arg_06);
local_06 = (Item.getY(arg_06) + 64);
local_08 = Item.getZ(arg_06);
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELENS4/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELENS4/slot_0A_equip.txt
index f589f18..84d5cad 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELENS4/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELENS4/slot_0A_equip.txt
@@ -3,20 +3,15 @@ function elens4_equip() /* entry=93 class_id=0x01A8 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (!arg_0A) {
- spawn class_01A8_enterFastArea(pid, arg_06);
+ spawn ELENS4.enterFastArea(pid, arg_06);
suspend;
return;
}
else {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_02 in nearby_items(shape=0x044D, origin=arg_06) {
/* loopnext */
}
- class_0A0C_slot_25(0x1000, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELENS4/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELENS4/slot_0F_enterFastArea.txt
index e636225..b24d2cf 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELENS4/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELENS4/slot_0F_enterFastArea.txt
@@ -7,7 +7,7 @@ function elens4_enterFastArea() /* entry=93 class_id=0x01A8 slot=0x0F */
}
else {
local_0A = Item.getQLo(arg_06);
- class_0A0C_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
local_04 = Item.getX(arg_06);
local_06 = (Item.getY(arg_06) + 64);
local_08 = Item.getZ(arg_06);
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELENS8/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELENS8/slot_0A_equip.txt
index 0075bb1..c7dafe8 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELENS8/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELENS8/slot_0A_equip.txt
@@ -3,20 +3,15 @@ function elens8_equip() /* entry=58 class_id=0x0128 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (!arg_0A) {
- spawn class_0128_enterFastArea(pid, arg_06);
+ spawn ELENS8.enterFastArea(pid, arg_06);
suspend;
return;
}
else {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_02 in nearby_items(shape=0x044D, origin=arg_06) {
/* loopnext */
}
- class_0A0C_slot_25(0x1000, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELENS8/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELENS8/slot_0F_enterFastArea.txt
index b98a161..3740632 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELENS8/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELENS8/slot_0F_enterFastArea.txt
@@ -7,7 +7,7 @@ function elens8_enterFastArea() /* entry=58 class_id=0x0128 slot=0x0F */
}
else {
local_0A = Item.getQLo(arg_06);
- class_0A0C_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
local_04 = Item.getX(arg_06);
local_06 = (Item.getY(arg_06) + 64);
local_08 = Item.getZ(arg_06);
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVAT/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVAT/slot_20_slot_20.txt
new file mode 100644
index 0000000..327c3d5
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVAT/slot_20_slot_20.txt
@@ -0,0 +1,23 @@
+function elevat_slot_20() /* entry=454 class_id=0x0A08 slot=0x20 */
+{
+ set_info(0x0001, *(arg_06));
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else if (Item.getNpcNum(arg_06)) {
+ return;
+ }
+ else {
+ ELEVAT.slot_22(Item.getZ(arg_06), arg_06);
+ if (!retval) {
+ spawn ELEVAT.slot_23(pid, arg_06);
+ suspend;
+ return;
+ }
+ else {
+ spawn ELEVAT.slot_24(pid, arg_06);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVAT/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVAT/slot_21_slot_21.txt
new file mode 100644
index 0000000..3426c9b
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVAT/slot_21_slot_21.txt
@@ -0,0 +1,4 @@
+function elevat_slot_21() /* entry=454 class_id=0x0A08 slot=0x21 */
+{
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVAT/slot_22_slot_22.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVAT/slot_22_slot_22.txt
new file mode 100644
index 0000000..524197e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVAT/slot_22_slot_22.txt
@@ -0,0 +1,4 @@
+function elevat_slot_22() /* entry=454 class_id=0x0A08 slot=0x22 */
+{
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVAT/slot_23_slot_23.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVAT/slot_23_slot_23.txt
new file mode 100644
index 0000000..486abb5
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVAT/slot_23_slot_23.txt
@@ -0,0 +1,42 @@
+function elevat_slot_23() /* entry=454 class_id=0x0A08 slot=0x23 */
+{
+ set_info(0x0001, *(arg_06));
+ local_06 = Item.getZ(arg_06);
+ local_08 = Item.getQHi(arg_06);
+ local_0A = ((Item.getQHi(arg_06) - local_06) / 2);
+ local_05 = 1;
+ while (local_05 > local_0A) {
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ if (Item.getShape(local_02) == 0x04FE) {
+ local_0E = (1 + local_0E);
+ }
+ /* loopnext */
+ }
+ local_0C = 1;
+ while (local_0C > local_0E) {
+ local_02 = Item.getEtherealTop();
+ local_0C = (1 + local_0C);
+ }
+ local_0E = 0;
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ local_05 = (1 + local_05);
+ }
+ if (!((local_08 - local_06) & 1)) {
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ local_0E = (1 + local_0E);
+ /* loopnext */
+ }
+ local_0C = 1;
+ while (local_0C > local_0E) {
+ local_02 = Item.getEtherealTop();
+ local_0C = (1 + local_0C);
+ }
+ }
+ /* bit_not */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVAT/slot_24_slot_24.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVAT/slot_24_slot_24.txt
new file mode 100644
index 0000000..74c1034
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVAT/slot_24_slot_24.txt
@@ -0,0 +1,73 @@
+function elevat_slot_24() /* entry=454 class_id=0x0A08 slot=0x24 */
+{
+ set_info(0x0001, *(arg_06));
+ local_05 = Item.getZ(arg_06);
+ ELEVAT.slot_21(arg_06);
+ local_07 = retval;
+ local_09 = ((local_05 - local_07) / 2);
+ local_02 = 1;
+ while (local_02 > local_09) {
+ local_10 = Item.getX(arg_06);
+ local_0E = Item.getY(arg_06);
+ local_0C = (Item.getZ(arg_06) - 2);
+ local_18 = 0;
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xF5 string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ if (!Item.isCentreOn(*(arg_06), local_0B)) {
+ if (local_0B >= 0x0100) {
+ if (!Item.isCompletelyOn(*(arg_06), local_0B)) {
+ local_18 = (1 + local_18);
+ }
+ else {
+ local_18 = (1 + local_18);
+ }
+ }
+ else {
+ local_18 = (1 + local_18);
+ }
+ }
+ /* loopnext */
+ }
+ if (!Item.legalMoveToPoint(0, 0, local_10, arg_06)) {
+ local_04 = 1;
+ while (local_04 > local_18) {
+ local_0B = Item.getEtherealTop();
+ local_04 = (1 + local_04);
+ }
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ }
+ else {
+ local_04 = 1;
+ while (local_04 > local_18) {
+ local_0B = Item.getEtherealTop();
+ local_04 = (1 + local_04);
+ }
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ spawn ELEVAT.slot_23(pid, arg_06);
+ suspend;
+ return;
+ }
+ local_18 = 0;
+ local_02 = (1 + local_02);
+ }
+ if (!((local_05 - local_07) & 1)) {
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xF5 string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ if (!Item.isCentreOn(*(arg_06), local_0B)) {
+ local_18 = (1 + local_18);
+ }
+ /* loopnext */
+ }
+ local_04 = 1;
+ while (local_04 > local_18) {
+ local_0B = Item.getEtherealTop();
+ local_04 = (1 + local_04);
+ }
+ }
+ /* bit_not */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVAT/slot_25_slot_25.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVAT/slot_25_slot_25.txt
new file mode 100644
index 0000000..4a9977d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVAT/slot_25_slot_25.txt
@@ -0,0 +1,37 @@
+function elevat_slot_25() /* entry=454 class_id=0x0A08 slot=0x25 */
+{
+ set_info(0x0001, *(arg_06));
+ local_04 = 5;
+ /* loop_selector local_02 in nearby_items(shape=0x02DE, origin=arg_06) */
+ while (!condition) {
+ FREE.slot_48((Item.getX(arg_06) - Item.getX(local_02)));
+ local_06 = retval;
+ FREE.slot_48((Item.getY(arg_06) - Item.getY(local_02)));
+ local_08 = retval;
+ if ((local_06 >= 2) && (local_08 < 2)) {
+ if ((Item.getStatus(local_02) & 0x1000) == 0) {
+ if (Item.getFrame(local_02) == 0) {
+ local_03 = 1;
+ while (local_03 > local_04) {
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ local_03 = (1 + local_03);
+ }
+ }
+ else {
+ local_03 = local_04;
+ while (local_03 <= 0) {
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ local_03 = (local_03 - 1);
+ }
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ /* bit_not */
+ }
+ }
+ /* loopnext */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVATOR/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVATOR/slot_06_gotHit.txt
index 6544223..c3c7ba1 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVATOR/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVATOR/slot_06_gotHit.txt
@@ -4,9 +4,9 @@ function elevator_gotHit() /* entry=83 class_id=0x0190 slot=0x06 */
process_exclude();
if (arg_0A >= 0x0100) {
local_02 = arg_0A;
- class_0A0F_slot_2A(local_02);
+ NPC.slot_2A(local_02);
if (!retval) {
- spawn class_0A0C_slot_2A(pid, 0, 2, local_02);
+ spawn ITEM.slot_2A(pid, 0, 2, local_02);
suspend;
while (Actor.isDead(local_02)) {
}
@@ -23,10 +23,10 @@ function elevator_gotHit() /* entry=83 class_id=0x0190 slot=0x06 */
}
else {
/* pop_global global_id=0x9 size=0x1 */
- class_0A1D_slot_3C(0x0220, 0);
+ FREE.slot_3C(0x0220, 0);
/* global_address global_id=0x1E */
while (!Actor.isBusy()) {
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x1E */
@@ -70,55 +70,55 @@ function elevator_gotHit() /* entry=83 class_id=0x0190 slot=0x06 */
}
else if (local_06 >= 0x00C8) {
/* global_address global_id=0x1E */
- spawn class_0190_slot_20(Actor.getMap(pid, local_06), local_08, arg_06);
+ spawn ELEVATOR.slot_20(Actor.getMap(pid, local_06), local_08, arg_06);
suspend;
}
else if (local_06 == 0x00C8) {
- spawn class_0190_slot_20(pid, 18, 24, local_08, arg_06);
+ spawn ELEVATOR.slot_20(pid, 18, 24, local_08, arg_06);
suspend;
}
else if (local_06 == 0x00C9) {
- spawn class_0190_slot_20(pid, 0x00C9, 5, local_08, arg_06);
+ spawn ELEVATOR.slot_20(pid, 0x00C9, 5, local_08, arg_06);
suspend;
}
else if (local_06 == 0x00CA) {
- spawn class_0190_slot_20(pid, 0x00CA, 10, local_08, arg_06);
+ spawn ELEVATOR.slot_20(pid, 0x00CA, 10, local_08, arg_06);
suspend;
}
else if (local_06 == 0x00CB) {
- spawn class_0190_slot_20(pid, 0x00CB, 10, local_08, arg_06);
+ spawn ELEVATOR.slot_20(pid, 0x00CB, 10, local_08, arg_06);
suspend;
}
else if (local_06 == 0x00CC) {
- spawn class_0190_slot_20(pid, 0x00CC, 2, local_08, arg_06);
+ spawn ELEVATOR.slot_20(pid, 0x00CC, 2, local_08, arg_06);
suspend;
}
else if (local_06 == 0x00CD) {
- spawn class_0190_slot_20(pid, 0x00CD, 8, local_08, arg_06);
+ spawn ELEVATOR.slot_20(pid, 0x00CD, 8, local_08, arg_06);
suspend;
}
else if (local_06 == 0x00CE) {
- spawn class_0190_slot_20(pid, 0x00CE, 6, local_08, arg_06);
+ spawn ELEVATOR.slot_20(pid, 0x00CE, 6, local_08, arg_06);
suspend;
}
else if (local_06 == 0x00CF) {
- spawn class_0190_slot_20(pid, 0x00CF, 16, local_08, arg_06);
+ spawn ELEVATOR.slot_20(pid, 0x00CF, 16, local_08, arg_06);
suspend;
}
else if (local_06 == 0x00D0) {
- spawn class_0190_slot_20(pid, 0x00D0, 18, local_08, arg_06);
+ spawn ELEVATOR.slot_20(pid, 0x00D0, 18, local_08, arg_06);
suspend;
}
else if (local_06 == 0x00D1) {
- spawn class_0190_slot_20(pid, 99, 14, local_08, arg_06);
+ spawn ELEVATOR.slot_20(pid, 99, 14, local_08, arg_06);
suspend;
}
/* global_address global_id=0x1E */
while (!Actor.isBusy()) {
- spawn class_0A1D_slot_3B(pid, 5, 0x00000000);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
}
- class_0A1D_slot_3C(0x0220, 0);
+ FREE.slot_3C(0x0220, 0);
}
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVATOR/slot_09_release.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVATOR/slot_09_release.txt
index 961bd52..64bcd53 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVATOR/slot_09_release.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVATOR/slot_09_release.txt
@@ -4,14 +4,12 @@ function elevator_release() /* entry=83 class_id=0x0190 slot=0x09 */
process_exclude();
local_02 = Item.getSurfaceWeight(arg_06);
if (local_02 == 0) {
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector local_04 in selector_0x42(arg0=0x0289, arg1=0x01C7, arg2=(10 * 32), origin=global[0x001E]) */
while (!condition) {
local_06 = local_04;
- spawn class_0A04_slot_21(pid, 2, local_06);
+ spawn DOOR.slot_21(pid, 2, local_06);
suspend;
/* loopnext */
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVATOR/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVATOR/slot_20_slot_20.txt
index 5eb4bbb..027dd04 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVATOR/slot_20_slot_20.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVATOR/slot_20_slot_20.txt
@@ -1,9 +1,7 @@
function elevator_slot_20() /* entry=83 class_id=0x0190 slot=0x20 */
{
set_info(1, 0);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector local_06 in selector_0x42(arg0=0x0289, arg1=0x01C7, arg2=(10 * 32), origin=arg_06) */
while (!condition) {
local_0A = local_06;
/* loopnext */
@@ -36,98 +34,93 @@ function elevator_slot_20() /* entry=83 class_id=0x0190 slot=0x20 */
/* global_address global_id=0x1E */
suspend;
}
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
- spawn class_0A04_slot_21(pid, 2, local_0A);
+ spawn DOOR.slot_21(pid, 2, local_0A);
suspend;
- spawn class_0A1D_slot_3B(pid, 100, 0x00000000);
+ spawn FREE.slot_3B(pid, 100, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector local_06 in selector_0x42(arg0=0x01C4, arg1=0x0186, arg2=(20 * 32), origin=arg_06) */
while (!condition) {
local_02 = local_06;
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_06 in selector_0x42(arg0=0x01C5, arg1=0x0184, arg2=(20 * 32), origin=arg_06) {
local_04 = local_06;
/* loopnext */
}
if (!(local_02 && local_04)) {
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
/* global_address global_id=0x1E */
/* global_address global_id=0x1E */
/* global_address global_id=0x1E */
while (!Intrinsic0035(0x00F4)) {
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x1E */
if (!arg_0A) {
local_08 = 5;
while (local_08 > 7) {
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
local_08 = (1 + local_08);
}
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
}
else {
local_08 = 1;
while (local_08 > 4) {
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
local_08 = (1 + local_08);
}
}
}
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
suspend;
- spawn class_0A1D_slot_45(pid, 0x00000000);
+ spawn FREE.slot_45(pid, 0x00000000);
suspend;
/* global_address global_id=0x1E */
if (!Actor.getMap(arg_0C)) {
local_0D = 1;
- class_0A1D_slot_22();
+ FREE.slot_22();
if (arg_0C == 5) {
suspend;
- spawn class_0A1D_slot_3B(pid, 120, 0x00000000);
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
suspend;
/* str_to_ptr */
/* free_stack_string value_u8=0x0 target=[SP+00h] */
return;
}
if (arg_0C == 6) {
- spawn class_0A1D_slot_3B(pid, 60, 0x00000000);
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
suspend;
- spawn class_0A0A_slot_20(pid, 19, local_0F);
+ spawn FLICTEST.slot_20(pid, 19, local_0F);
suspend;
}
}
if ((arg_0C == 2) && (arg_0E != 0x0082)) {
suspend;
- spawn class_0A1D_slot_3B(pid, 120, 0x00000000);
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
suspend;
/* str_to_ptr */
/* free_stack_string value_u8=0x0 target=[SP+00h] */
}
if ((arg_0C == 16) && (arg_0E != 100)) {
suspend;
- spawn class_0A1D_slot_3B(pid, 120, 0x00000000);
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
suspend;
/* str_to_ptr */
/* free_stack_string value_u8=0x0 target=[SP+00h] */
- spawn class_0A1D_slot_2A(0x00000000);
+ spawn FREE.slot_2A(0x00000000);
}
if ((arg_0C == 14) && (arg_0E != 0x00C7)) {
suspend;
- spawn class_0A1D_slot_3B(pid, 120, 0x00000000);
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
suspend;
}
suspend;
@@ -139,20 +132,15 @@ function elevator_slot_20() /* entry=83 class_id=0x0190 slot=0x20 */
/* global_address global_id=0x1E */
}
if (!local_0D) {
- class_0A1D_slot_23();
+ FREE.slot_23();
/* global_address global_id=0x1E */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_06 in nearby_items(shape=0x0190, origin=global[0x001E]) {
/* global_address global_id=0x1E */
/* global_address global_id=0x1E */
/* global_address global_id=0x1E */
suspend;
- class_0A1D_slot_3C(12, local_06);
+ FREE.slot_3C(12, local_06);
/* loopnext */
}
if (arg_0E == 18) {
@@ -160,19 +148,14 @@ function elevator_slot_20() /* entry=83 class_id=0x0190 slot=0x20 */
suspend;
}
suspend;
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector local_06 in selector_0x42(arg0=0x01C4, arg1=0x0186, arg2=(10 * 32), origin=global[0x001E]) */
while (!condition) {
local_02 = local_06;
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_06 in selector_0x42(arg0=0x01C5, arg1=0x0184, arg2=(10 * 32), origin=global[0x001E]) {
local_04 = local_06;
/* loopnext */
}
@@ -181,14 +164,14 @@ function elevator_slot_20() /* entry=83 class_id=0x0190 slot=0x20 */
/* global_address global_id=0x1E */
/* global_address global_id=0x1E */
while (!Intrinsic0035(0x00F2)) {
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x1E */
if (!arg_0A) {
local_08 = 1;
while (local_08 > 4) {
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
local_08 = (1 + local_08);
}
@@ -196,22 +179,20 @@ function elevator_slot_20() /* entry=83 class_id=0x0190 slot=0x20 */
else {
local_08 = 0;
while (local_08 > 3) {
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
local_08 = (1 + local_08);
}
}
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
}
- spawn class_0A1D_slot_3B(pid, 120, 0x00000000);
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector local_06 in selector_0x42(arg0=0x018D, arg1=0x01C6, arg2=(10 * 32), origin=global[0x001E]) */
while (!condition) {
local_0A = local_06;
- spawn class_0A04_slot_21(pid, 1, local_0A);
+ spawn DOOR.slot_21(pid, 1, local_0A);
suspend;
/* loopnext */
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVPLAT/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVPLAT/slot_0A_equip.txt
index 9952e1b..9882b2c 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVPLAT/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELEVPLAT/slot_0A_equip.txt
@@ -19,7 +19,7 @@ function elevplat_equip() /* entry=60 class_id=0x012F slot=0x0A */
}
else if (!arg_0A) {
}
- spawn class_0A08_slot_20(pid, arg_06);
+ spawn ELEVAT.slot_20(pid, arg_06);
suspend;
if (global[0x0000] == 1) {
/* loopscr value_u8=0x24 */
@@ -28,7 +28,7 @@ function elevplat_equip() /* entry=60 class_id=0x012F slot=0x0A */
/* loopscr value_u8=0x25 */
/* loop current_var=0xFA string_bytes=0x6 loop_type=0x6 */
while (!condition) {
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
/* loopnext */
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELITE/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELITE/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..34f094c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELITE/slot_0E_calledFromAnim.txt
@@ -0,0 +1,9 @@
+function elite_calledFromAnim() /* entry=279 class_id=0x04D1 slot=0x0E */
+{
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ local_02 = *(arg_06);
+ set_info(1, 0);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELY/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELY/slot_0F_enterFastArea.txt
index ce132b3..37acb41 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELY/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ELY/slot_0F_enterFastArea.txt
@@ -12,13 +12,13 @@ function ely_enterFastArea() /* entry=186 class_id=0x035D slot=0x0F */
if (local_02 <= 0x00A1) goto block_0119;
block_00EE:
- spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
local_02 = (1 + local_02);
goto block_00E5;
block_0119:
- spawn class_0A1D_slot_3B(pid, 0x008C, 0x00000000);
+ spawn FREE.slot_3B(pid, 0x008C, 0x00000000);
suspend;
local_02 = 0;
@@ -26,13 +26,13 @@ function ely_enterFastArea() /* entry=186 class_id=0x035D slot=0x0F */
if (local_02 <= 10) goto block_016C;
block_013D:
- spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
local_02 = (1 + local_02);
goto block_0135;
block_016C:
- spawn class_0A1D_slot_3B(pid, 120, 0x00000000);
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
suspend;
goto block_00DF;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ENERGY/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ENERGY/slot_01_use.txt
new file mode 100644
index 0000000..50f5de1
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ENERGY/slot_01_use.txt
@@ -0,0 +1,51 @@
+function energy_use() /* entry=341 class_id=0x0582 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ set_info(0x00F0, 0);
+ /* global_address global_id=0x1E */
+ if (MainActor.getMaxEnergy() == 0x09C4) {
+ local_04 = 0x03E8;
+ }
+ else {
+ /* global_address global_id=0x1E */
+ if (MainActor.getMaxEnergy() == 0x1388) {
+ local_04 = 0x07D0;
+ }
+ else {
+ /* global_address global_id=0x1E */
+ if (MainActor.getMaxEnergy() == 0x2710) {
+ local_04 = 0x0BB8;
+ }
+ else {
+ /* global_address global_id=0x1E */
+ }
+ }
+ }
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ if (!MainActor.getMaxEnergy(Actor.getMana())) {
+ spawn FREE.slot_21(pid, 0x01A7, 0x00000000);
+ suspend;
+ return;
+ }
+ else {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ if (!MainActor.getMaxEnergy((Actor.getMana() + local_04))) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ spawn FREE.slot_21(pid, 0x010D, 0x00000000);
+ suspend;
+ }
+ else {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ spawn FREE.slot_21(pid, 0x010D, 0x00000000);
+ suspend;
+ }
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ENFORCER/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ENFORCER/slot_0E_calledFromAnim.txt
index 270796e..b332d10 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ENFORCER/slot_0E_calledFromAnim.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ENFORCER/slot_0E_calledFromAnim.txt
@@ -2,6 +2,6 @@ function enforcer_calledFromAnim() /* entry=95 class_id=0x01B4 slot=0x0E */
{
set_info(0x021A, *(arg_06));
process_exclude();
- spawn class_0A10_slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ESPACE/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ESPACE/slot_0A_equip.txt
index 5331e2c..a4c6cd0 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ESPACE/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ESPACE/slot_0A_equip.txt
@@ -2,7 +2,7 @@ function espace_equip() /* entry=178 class_id=0x0336 slot=0x0A */
{
set_info(0x0211, *(arg_06));
process_exclude();
- spawn class_0A1C_slot_20(pid, arg_0A, arg_06);
+ spawn BRIDGE.slot_20(pid, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ESPACE/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ESPACE/slot_0F_enterFastArea.txt
index 991271a..936ac20 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ESPACE/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ESPACE/slot_0F_enterFastArea.txt
@@ -16,7 +16,7 @@ function espace_enterFastArea() /* entry=178 class_id=0x0336 slot=0x0F */
return;
}
else {
- spawn class_0A1C_slot_26(pid, local_04, local_02, arg_06);
+ spawn BRIDGE.slot_26(pid, local_04, local_02, arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ESPACE2/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ESPACE2/slot_0A_equip.txt
index 5650904..f00808e 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ESPACE2/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ESPACE2/slot_0A_equip.txt
@@ -2,7 +2,7 @@ function espace2_equip() /* entry=144 class_id=0x0290 slot=0x0A */
{
set_info(0x0211, *(arg_06));
process_exclude();
- spawn class_0A1C_slot_20(pid, arg_0A, arg_06);
+ spawn BRIDGE.slot_20(pid, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ESPACE2/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ESPACE2/slot_0F_enterFastArea.txt
index c9f363c..8145019 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ESPACE2/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ESPACE2/slot_0F_enterFastArea.txt
@@ -16,7 +16,7 @@ function espace2_enterFastArea() /* entry=144 class_id=0x0290 slot=0x0F */
return;
}
else {
- spawn class_0A1C_slot_26(pid, local_04, local_02, arg_06);
+ spawn BRIDGE.slot_26(pid, local_04, local_02, arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EVENT/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EVENT/slot_0A_equip.txt
new file mode 100644
index 0000000..254402f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EVENT/slot_0A_equip.txt
@@ -0,0 +1,1322 @@
+function event_equip() /* entry=188 class_id=0x0361 slot=0x0A */
+{
+ entry:
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_1D = Item.getQLo(arg_06);
+ if (arg_0A != 0) goto block_0119;
+
+ block_00F2:
+ /* global_address global_id=0x1E */
+ goto block_218C;
+
+ block_0119:
+ if (arg_0A != 1) goto block_01F7;
+
+ block_0121:
+ /* global_address global_id=0x1E */
+ if Actor.isBusy() goto block_0148;
+
+ block_012E:
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ goto block_0121;
+
+ block_0148:
+ /* global_address global_id=0x1E */
+ local_1F = Camera.getX();
+ local_21 = Camera.getY();
+ local_23 = Item.getX(arg_06);
+ local_25 = Item.getY(arg_06);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ /* global_address global_id=0x1E */
+ goto block_218C;
+
+ block_01F7:
+ if (arg_0A != 2) goto block_028B;
+
+ block_01FF:
+ /* global_address global_id=0x1E */
+ if Actor.isBusy() goto block_0226;
+
+ block_020C:
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ goto block_01FF;
+
+ block_0226:
+ spawn FREE.slot_46(pid, Item.getY(arg_06), Item.getX(arg_06), 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ goto block_218C;
+
+ block_028B:
+ if (arg_0A != 3) goto block_02CD;
+
+ block_0293:
+ spawn FREE.slot_47(pid, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ goto block_218C;
+
+ block_02CD:
+ if (arg_0A != 5) goto block_02E4;
+
+ block_02D5:
+ goto block_218C;
+
+ block_02E4:
+ if (arg_0A != 6) goto block_02FB;
+
+ block_02EC:
+ goto block_218C;
+
+ block_02FB:
+ if (arg_0A != 7) goto block_0312;
+
+ block_0303:
+ goto block_218C;
+
+ block_0312:
+ if (arg_0A != 8) goto block_038A;
+
+ block_031A:
+ local_0F = Item.getQHi(arg_06);
+ if (local_0F != 0) goto block_034C;
+
+ block_032D:
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ goto block_0387;
+
+ block_034C:
+ local_11 = Item.getQLo(arg_06);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ suspend;
+
+ block_0387:
+ goto block_218C;
+
+ block_038A:
+ if (arg_0A != 9) goto block_0406;
+
+ block_0392:
+ local_0F = Item.getQLo(arg_06);
+ /* loop_selector local_02 in nearby_items(family=1, origin=arg_06) */
+
+ block_03B4:
+ if condition goto block_0401;
+
+ block_03B7:
+ if (((local_0F != Item.getQLo(local_02)) && (Item.getMapNum(local_02) != 0)) && (*(arg_06) != local_02)) goto block_03FD;
+
+ block_03DB:
+
+ block_03FD:
+ /* loopnext */
+ goto block_03B4;
+
+ block_0401:
+ goto block_218C;
+
+ block_0406:
+ if (arg_0A != 10) goto block_050F;
+
+ block_040E:
+ for local_02 in nearby_items(shape=0x033A, origin=arg_06) {
+ if (Item.getQLo(arg_06) == Item.getQLo(local_02)) {
+ if (Item.getFrame(local_02) == 0) {
+ local_04 = local_02;
+ }
+ }
+ /* loopnext */
+ }
+
+ block_0456:
+ for local_02 in nearby_items(shape=0x033A, origin=arg_06) {
+ if (Item.getQLo(arg_06) == Item.getQLo(local_02)) {
+ if (Item.getFrame(local_02) == 1) {
+ local_06 = local_02;
+ }
+ }
+ /* loopnext */
+ }
+
+ block_04A0:
+ if (local_04 && local_06) goto block_050C;
+
+ block_04AA:
+ local_0D = Item.getX(local_06);
+ local_0B = Item.getY(local_06);
+ local_09 = Item.getZ(local_06);
+
+ block_050C:
+ goto block_218C;
+
+ block_050F:
+ if (arg_0A != 15) goto block_0548;
+
+ block_0517:
+ /* global_address global_id=0x1E */
+ goto block_218C;
+
+ block_0548:
+ if (arg_0A != 16) goto block_0583;
+
+ block_0550:
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ goto block_218C;
+
+ block_0583:
+ if (arg_0A != 22) goto block_05C9;
+
+ block_058B:
+ for local_02 in nearby_items(family=1, origin=arg_06) {
+ if (Item.getQLo(local_02) == local_1D) {
+ ITEM.slot_25(0x1000, local_02);
+ }
+ /* loopnext */
+ }
+
+ block_05C4:
+ goto block_218C;
+
+ block_05C9:
+ if (arg_0A != 23) goto block_0600;
+
+ block_05D1:
+ for local_02 in nearby_items(family=1, origin=arg_06) {
+ ITEM.slot_25(0x1000, local_02);
+ /* loopnext */
+ }
+
+ block_05FB:
+ goto block_218C;
+
+ block_0600:
+ if (arg_0A != 30) goto block_0627;
+
+ block_0608:
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ goto block_218C;
+
+ block_0627:
+ if (arg_0A != 45) goto block_0741;
+
+ block_062F:
+ local_27 = (Item.getNpcNum(arg_06) * 5);
+
+ block_063D:
+ if 1 goto block_073E;
+
+ block_0642:
+ local_0F = 0;
+ FREE.slot_32((Item.getQHi(arg_06) != 0), *(arg_06), global[0x001E]);
+ if (retval > 50) goto block_066C;
+
+ block_0669:
+ goto block_218C;
+
+ block_066C:
+ for local_02 in nearby_items(family=6, origin=global[0x001E]) {
+ if (!Item.isNpc(local_02)) {
+ local_0F = (1 + local_0F);
+ }
+ /* loopnext */
+ }
+
+ block_069D:
+ if (local_0F <= 4) goto block_0724;
+
+ block_06A7:
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, local_27, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, local_27, 0x00000000);
+ suspend;
+ goto block_073B;
+
+ block_0724:
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
+ suspend;
+
+ block_073B:
+ goto block_063D;
+
+ block_073E:
+ goto block_218C;
+
+ block_0741:
+ if (arg_0A != 46) goto block_0865;
+
+ block_0749:
+ local_27 = (Item.getNpcNum(arg_06) * 5);
+
+ block_0757:
+ if 1 goto block_0862;
+
+ block_075C:
+ local_0F = 0;
+ FREE.slot_32((Item.getQHi(arg_06) != 0), *(arg_06), global[0x001E]);
+ if ((retval > 50) || (Item.isEntirelyOnScreen(arg_06) != 1)) goto block_0793;
+
+ block_0790:
+ goto block_218C;
+
+ block_0793:
+ for local_02 in nearby_items(family=6, origin=global[0x001E]) {
+ if (local_02 >= 0x00FF) {
+ local_0F = (1 + local_0F);
+ }
+ /* loopnext */
+ }
+
+ block_07C1:
+ if (local_0F <= 4) goto block_0848;
+
+ block_07CB:
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, local_27, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, local_27, 0x00000000);
+ suspend;
+ goto block_085F;
+
+ block_0848:
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
+ suspend;
+
+ block_085F:
+ goto block_0757;
+
+ block_0862:
+ goto block_218C;
+
+ block_0865:
+ if (arg_0A != 47) goto block_0A0D;
+
+ block_086D:
+ local_27 = Item.getNpcNum(arg_06);
+ local_11 = Item.getQHi(arg_06);
+
+ block_0883:
+ if 1 goto block_0A0A;
+
+ block_0888:
+ if (Item.getQHi(arg_06) != 1) goto block_0930;
+
+ block_0897:
+ local_0F = 1;
+
+ block_089B:
+ if (local_0F <= local_11) goto block_0923;
+
+ block_08A3:
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, (local_27 * 3), 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, (local_27 * 3), 0x00000000);
+ suspend;
+ local_0F = (1 + local_0F);
+ goto block_089B;
+
+ block_0923:
+ goto block_0A07;
+
+ block_0930:
+ if (Item.getQHi(arg_06) > 1) goto block_09B1;
+
+ block_093F:
+ local_0F = 1;
+
+ block_0943:
+ if (local_0F <= local_11) goto block_09AE;
+
+ block_094B:
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, local_27, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ local_0F = (1 + local_0F);
+ goto block_0943;
+
+ block_09AE:
+ goto block_0A07;
+
+ block_09B1:
+ local_0F = 1;
+
+ block_09B5:
+ if (local_0F <= local_11) goto block_0A04;
+
+ block_09BD:
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, local_27, 0x00000000);
+ suspend;
+ local_0F = (1 + local_0F);
+ goto block_09B5;
+
+ block_0A04:
+ goto block_218C;
+
+ block_0A07:
+ goto block_0883;
+
+ block_0A0A:
+ goto block_218C;
+
+ block_0A0D:
+ if (arg_0A != 48) goto block_0AE4;
+
+ block_0A15:
+ local_27 = Item.getNpcNum(arg_06);
+ local_11 = Item.getQHi(arg_06);
+ local_0F = 0;
+
+ block_0A2F:
+ if (local_0F <= local_11) goto block_0A7E;
+
+ block_0A37:
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, local_27, 0x00000000);
+ suspend;
+ local_0F = (1 + local_0F);
+ goto block_0A2F;
+
+ block_0A7E:
+ local_0F = 0;
+
+ block_0A82:
+ if (local_0F <= local_11) goto block_0AD4;
+
+ block_0A8A:
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, local_27, 0x00000000);
+ suspend;
+ local_0F = (1 + local_0F);
+ goto block_0A82;
+
+ block_0AD4:
+ goto block_218C;
+
+ block_0AE1:
+ goto block_218C;
+
+ block_0AE4:
+ if (arg_0A != 49) goto block_0BE1;
+
+ block_0AEC:
+ local_27 = Item.getNpcNum(arg_06);
+ local_11 = Item.getQHi(arg_06);
+
+ block_0B02:
+ if 1 goto block_0BDE;
+
+ block_0B07:
+ if Item.getQHi(arg_06) goto block_0B85;
+
+ block_0B13:
+ local_0F = 1;
+
+ block_0B17:
+ if (local_0F <= local_11) goto block_0B82;
+
+ block_0B1F:
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, local_27, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ local_0F = (1 + local_0F);
+ goto block_0B17;
+
+ block_0B82:
+ goto block_0BDB;
+
+ block_0B85:
+ local_0F = 1;
+
+ block_0B89:
+ if (local_0F <= local_11) goto block_0BD8;
+
+ block_0B91:
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, local_27, 0x00000000);
+ suspend;
+ local_0F = (1 + local_0F);
+ goto block_0B89;
+
+ block_0BD8:
+ goto block_218C;
+
+ block_0BDB:
+ goto block_0B02;
+
+ block_0BDE:
+ goto block_218C;
+
+ block_0BE1:
+ if (arg_0A != 50) goto block_0C23;
+
+ block_0BE9:
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xF8 string_bytes=0x1 loop_type=0x2 */
+
+ block_0BF8:
+ if condition goto block_0C1E;
+
+ block_0BFB:
+ if (Item.getQLo(local_08) != 100) goto block_0C1A;
+
+ block_0C0A:
+ spawn DOOR.slot_20(pid, local_08);
+ suspend;
+
+ block_0C1A:
+ /* loopnext */
+ goto block_0BF8;
+
+ block_0C1E:
+ goto block_218C;
+
+ block_0C23:
+ if (arg_0A != 51) goto block_0E2C;
+
+ block_0C2B:
+ for local_02 in selector_0x42(arg0=0x01C4, arg1=0x0186, arg2=(30 * 32), origin=arg_06) {
+ local_29 = local_02;
+ /* loopnext */
+ }
+
+ block_0C4D:
+ for local_02 in selector_0x42(arg0=0x01C5, arg1=0x0184, arg2=(30 * 32), origin=arg_06) {
+ local_2B = local_02;
+ /* loopnext */
+ }
+
+ block_0C71:
+ if (local_29 && local_2B) goto block_0DAA;
+
+ block_0C7B:
+
+ block_0C86:
+ if Intrinsic0035(0x00F2, local_2B) goto block_0CAF;
+
+ block_0C95:
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ goto block_0C86;
+
+ block_0CAF:
+ if local_2D goto block_0D22;
+
+ block_0CBF:
+ local_0F = 1;
+
+ block_0CD7:
+ if (local_0F <= 4) goto block_0D1F;
+
+ block_0CDF:
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
+ suspend;
+ local_0F = (1 + local_0F);
+ goto block_0CD7;
+
+ block_0D1F:
+ goto block_0D74;
+
+ block_0D22:
+ local_0F = 0;
+
+ block_0D26:
+ if (local_0F <= 3) goto block_0D74;
+
+ block_0D2E:
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
+ suspend;
+ local_0F = (1 + local_0F);
+ goto block_0D26;
+
+ block_0D74:
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
+ suspend;
+
+ block_0DAA:
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ /* loop_selector local_02 in selector_0x42(arg0=0x018D, arg1=0x01C6, arg2=(30 * 32), origin=arg_06) */
+
+ block_0DF0:
+ if condition goto block_0E0F;
+
+ block_0DF3:
+ local_08 = local_02;
+ spawn DOOR.slot_21(pid, 1, local_08);
+ suspend;
+ /* loopnext */
+ goto block_0DF0;
+
+ block_0E0F:
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
+ suspend;
+ goto block_218C;
+
+ block_0E2C:
+ if (arg_0A != 52) goto block_0EF5;
+
+ block_0E34:
+ local_27 = (Item.getNpcNum(arg_06) * 5);
+
+ block_0E42:
+ if 1 goto block_0EF2;
+
+ block_0E47:
+ for local_19 in nearby_items(family=6, origin=arg_06) {
+ if (!Item.isNpc(local_19)) {
+ if (Intrinsic000D(local_19) == Item.getQLo(arg_06)) {
+ if (Actor.isDead(local_19)) {
+ spawn FREE.slot_3B(pid, local_27, 0x00000000);
+ suspend;
+ }
+ }
+ }
+ /* loopnext */
+ }
+
+ block_0EEA:
+ goto block_218C;
+
+ block_0EEF:
+ goto block_0E42;
+
+ block_0EF2:
+ goto block_218C;
+
+ block_0EF5:
+ if (arg_0A != 53) goto block_0FBC;
+
+ block_0EFD:
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x44 */
+ /* loop current_var=0xE7 string_bytes=0xA loop_type=0x2 */
+
+ block_0F1A:
+ if condition goto block_0FB7;
+
+ block_0F1D:
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), local_02);
+ suspend;
+ /* loopnext */
+ goto block_0F1A;
+
+ block_0FB7:
+ goto block_218C;
+
+ block_0FBC:
+ if (arg_0A != 54) goto block_1004;
+
+ block_0FC4:
+ for local_19 in nearby_items(shape=0x04C8, origin=arg_06) {
+ /* loopnext */
+ }
+
+ block_0FFF:
+ goto block_218C;
+
+ block_1004:
+ if (arg_0A != 60) goto block_109D;
+
+ block_100C:
+ for local_19 in nearby_items(shape=0x04C8, origin=arg_06) {
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ /* loopnext */
+ }
+
+ block_1098:
+ goto block_218C;
+
+ block_109D:
+ if (arg_0A != 61) goto block_1136;
+
+ block_10A5:
+ for local_19 in nearby_items(shape=0x01CD, origin=arg_06) {
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ /* loopnext */
+ }
+
+ block_1131:
+ goto block_218C;
+
+ block_1136:
+ if (arg_0A != 62) goto block_11CF;
+
+ block_113E:
+ for local_19 in nearby_items(shape=0x01CD, origin=arg_06) {
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ /* loopnext */
+ }
+
+ block_11CA:
+ goto block_218C;
+
+ block_11CF:
+ if (arg_0A != 75) goto block_1227;
+
+ block_11D7:
+ for local_02 in nearby_items(family=6, origin=arg_06) {
+ if (Item.getQLo(local_02) == Item.getQLo(arg_06)) {
+ suspend;
+ }
+ /* loopnext */
+ }
+
+ block_1222:
+ goto block_218C;
+
+ block_1227:
+ if (arg_0A != 80) goto block_12E1;
+
+ block_122F:
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x44 */
+ /* loop current_var=0xFE string_bytes=0xA loop_type=0x2 */
+
+ block_124C:
+ if condition goto block_125B;
+
+ block_124F:
+ /* loopnext */
+ goto block_124C;
+
+ block_125B:
+ for local_02 in nearby_items(shape=0x054E, origin=arg_06) {
+ /* loopnext */
+ }
+
+ block_12DC:
+ goto block_218C;
+
+ block_12E1:
+ if (arg_0A != 85) goto block_13FB;
+
+ block_12E9:
+ local_27 = (Item.getNpcNum(arg_06) * 5);
+
+ block_12F7:
+ if 1 goto block_13F8;
+
+ block_12FC:
+ local_0F = 0;
+ FREE.slot_32((Item.getQHi(arg_06) != 0), *(arg_06), global[0x001E]);
+ if (retval > 50) goto block_1326;
+
+ block_1323:
+ goto block_218C;
+
+ block_1326:
+ for local_02 in nearby_items(family=6, origin=global[0x001E]) {
+ if (!Item.isNpc(local_02)) {
+ local_0F = (1 + local_0F);
+ }
+ /* loopnext */
+ }
+
+ block_1357:
+ if (local_0F <= 4) goto block_13DE;
+
+ block_1361:
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, local_27, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, local_27, 0x00000000);
+ suspend;
+ goto block_13F5;
+
+ block_13DE:
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
+ suspend;
+
+ block_13F5:
+ goto block_12F7;
+
+ block_13F8:
+ goto block_218C;
+
+ block_13FB:
+ if (arg_0A != 97) goto block_1473;
+
+ block_1403:
+ /* global_address global_id=0x1E */
+
+ block_1427:
+ if (!Ultima8Engine.moveKeyDownRecently()) goto block_144A;
+
+ block_1430:
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ goto block_1427;
+
+ block_144A:
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ goto block_218C;
+
+ block_1473:
+ if (arg_0A != 98) goto block_14A9;
+
+ block_147B:
+ for local_02 in nearby_items(shape=0x0361, origin=arg_06) {
+ /* loopnext */
+ }
+
+ block_14A4:
+ goto block_218C;
+
+ block_14A9:
+ if (arg_0A != 99) goto block_14DF;
+
+ block_14B1:
+ for local_02 in nearby_items(shape=0x0361, origin=arg_06) {
+ /* loopnext */
+ }
+
+ block_14DA:
+ goto block_218C;
+
+ block_14DF:
+ if (arg_0A != 100) goto block_1519;
+
+ block_14E7:
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ suspend;
+ goto block_218C;
+
+ block_1519:
+ if (arg_0A != 120) goto block_15C6;
+
+ block_1521:
+ local_2F = World.gameDifficulty();
+ local_31 = Item.getQLo(arg_06);
+ if (local_2F != 1) goto block_1556;
+
+ block_153B:
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ goto block_15B6;
+
+ block_1556:
+ if (local_2F != 2) goto block_1586;
+
+ block_155E:
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ goto block_15B6;
+
+ block_1586:
+ if (local_2F >= 3) goto block_15B6;
+
+ block_158E:
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ goto block_15B6;
+
+ block_15B6:
+ goto block_218C;
+
+ block_15C3:
+ goto block_218C;
+
+ block_15C6:
+ if (arg_0A != 125) goto block_168C;
+
+ block_15CE:
+ local_33 = World.gameDifficulty();
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x49 */
+ /* loop current_var=0xFE string_bytes=0x14 loop_type=0x2 */
+
+ block_1601:
+ if condition goto block_1684;
+
+ block_1604:
+ if (local_33 != 1) goto block_1623;
+
+ block_160C:
+ goto block_1680;
+
+ block_1623:
+ if (local_33 != 2) goto block_1642;
+
+ block_162B:
+ goto block_1680;
+
+ block_1642:
+ if (local_33 != 3) goto block_1661;
+
+ block_164A:
+ goto block_1680;
+
+ block_1661:
+ if (local_33 >= 4) goto block_1680;
+
+ block_1669:
+ goto block_1680;
+
+ block_1680:
+ /* loopnext */
+ goto block_1601;
+
+ block_1684:
+ goto block_218C;
+
+ block_1689:
+ goto block_218C;
+
+ block_168C:
+ if (arg_0A != 0x0091) goto block_17B7;
+
+ block_1695:
+ local_27 = (Item.getNpcNum(arg_06) * 5);
+ local_15 = World.gameDifficulty();
+ if (local_15 != 3) goto block_16B6;
+
+ block_16B2:
+ local_15 = 4;
+
+ block_16B6:
+ local_17 = ((Item.getQHi(arg_06) - 1) + local_15);
+
+ block_16C7:
+ if 1 goto block_17B4;
+
+ block_16CC:
+ local_0F = 0;
+ FREE.slot_32((local_17 != 0), *(arg_06), global[0x001E]);
+ if (retval > 50) goto block_16EF;
+
+ block_16EC:
+ goto block_218C;
+
+ block_16EF:
+ for local_02 in nearby_items(family=6, origin=global[0x001E]) {
+ if (!Item.isNpc(local_02)) {
+ local_0F = (1 + local_0F);
+ }
+ /* loopnext */
+ }
+
+ block_1720:
+ if (local_0F <= 4) goto block_179A;
+
+ block_172A:
+ local_17 = (local_17 - 1);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, local_27, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, local_27, 0x00000000);
+ suspend;
+ goto block_17B1;
+
+ block_179A:
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
+ suspend;
+
+ block_17B1:
+ goto block_16C7;
+
+ block_17B4:
+ goto block_218C;
+
+ block_17B7:
+ if (arg_0A != 0x0092) goto block_18EC;
+
+ block_17C0:
+ local_27 = (Item.getNpcNum(arg_06) * 5);
+ local_15 = World.gameDifficulty();
+ if (local_15 != 3) goto block_17E1;
+
+ block_17DD:
+ local_15 = 4;
+
+ block_17E1:
+ local_17 = ((Item.getQHi(arg_06) - 1) + local_15);
+
+ block_17F2:
+ if 1 goto block_18E9;
+
+ block_17F7:
+ local_0F = 0;
+ FREE.slot_32((local_17 != 0), *(arg_06), global[0x001E]);
+ if ((retval > 50) || (Item.isEntirelyOnScreen(arg_06) != 1)) goto block_1827;
+
+ block_1824:
+ goto block_218C;
+
+ block_1827:
+ for local_02 in nearby_items(family=6, origin=global[0x001E]) {
+ if (local_02 >= 0x00FF) {
+ local_0F = (1 + local_0F);
+ }
+ /* loopnext */
+ }
+
+ block_1855:
+ if (local_0F <= 4) goto block_18CF;
+
+ block_185F:
+ local_17 = (local_17 - 1);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, local_27, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, local_27, 0x00000000);
+ suspend;
+ goto block_18E6;
+
+ block_18CF:
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
+ suspend;
+
+ block_18E6:
+ goto block_17F2;
+
+ block_18E9:
+ goto block_218C;
+
+ block_18EC:
+ if (arg_0A != 0x0094) goto block_19D5;
+
+ block_18F5:
+ local_27 = Item.getNpcNum(arg_06);
+ local_11 = (Item.getQHi(arg_06) + 1);
+ local_13 = Item.getQLo(arg_06);
+ local_0F = local_13;
+
+ block_191D:
+ if (local_0F <= local_11) goto block_196C;
+
+ block_1925:
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, local_27, 0x00000000);
+ suspend;
+ local_0F = (1 + local_0F);
+ goto block_191D;
+
+ block_196C:
+ local_0F = local_13;
+
+ block_1970:
+ if (local_0F <= local_11) goto block_19C5;
+
+ block_1978:
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, local_27, 0x00000000);
+ suspend;
+ local_0F = (1 + local_0F);
+ goto block_1970;
+
+ block_19C5:
+ goto block_218C;
+
+ block_19D2:
+ goto block_218C;
+
+ block_19D5:
+ if (arg_0A != 0x0095) goto block_1AD3;
+
+ block_19DE:
+ local_27 = Item.getNpcNum(arg_06);
+ local_11 = Item.getQHi(arg_06);
+
+ block_19F4:
+ if 1 goto block_1AD0;
+
+ block_19F9:
+ if Item.getQHi(arg_06) goto block_1A77;
+
+ block_1A05:
+ local_0F = 1;
+
+ block_1A09:
+ if (local_0F <= local_11) goto block_1A74;
+
+ block_1A11:
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, local_27, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ local_0F = (1 + local_0F);
+ goto block_1A09;
+
+ block_1A74:
+ goto block_1ACD;
+
+ block_1A77:
+ local_0F = 1;
+
+ block_1A7B:
+ if (local_0F <= local_11) goto block_1ACA;
+
+ block_1A83:
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, local_27, 0x00000000);
+ suspend;
+ local_0F = (1 + local_0F);
+ goto block_1A7B;
+
+ block_1ACA:
+ goto block_218C;
+
+ block_1ACD:
+ goto block_19F4;
+
+ block_1AD0:
+ goto block_218C;
+
+ block_1AD3:
+ if (arg_0A != 0x0096) goto block_1AF7;
+
+ block_1ADC:
+ suspend;
+ goto block_218C;
+
+ block_1AF7:
+ if (arg_0A != 0x00C8) goto block_1F2E;
+
+ block_1B00:
+ for local_02 in selector_0x42(arg0=0x028C, arg1=0x05AC, arg2=(32 * 32), origin=arg_06) {
+ if (Item.getQLo(local_02) == Item.getQLo(arg_06)) {
+ if (Item.getQHi(local_02) <= 99) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ }
+ }
+ /* loopnext */
+ }
+
+ block_1BCD:
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x4B */
+ /* loop current_var=0xFE string_bytes=0x18 loop_type=0x2 */
+
+ block_1C01:
+ if condition goto block_1CB7;
+
+ block_1C04:
+ if (Item.getQLo(local_02) != Item.getQLo(arg_06)) goto block_1CB3;
+
+ block_1C1A:
+ if (Item.getQHi(local_02) > 99) goto block_1CB3;
+
+ block_1C29:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+
+ block_1CB3:
+ /* loopnext */
+ goto block_1C01;
+
+ block_1CB7:
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x48 */
+ /* loop current_var=0xFE string_bytes=0x12 loop_type=0x2 */
+
+ block_1CE2:
+ if condition goto block_1D6E;
+
+ block_1CE5:
+ if (Item.getQLo(local_02) != Item.getQLo(arg_06)) goto block_1D6A;
+
+ block_1CFB:
+ if (Item.getQHi(local_02) > 99) goto block_1D6A;
+
+ block_1D0A:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+
+ block_1D6A:
+ /* loopnext */
+ goto block_1CE2;
+
+ block_1D6E:
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x44 */
+ /* loop current_var=0xFE string_bytes=0xA loop_type=0x2 */
+
+ block_1D8D:
+ if condition goto block_1E3C;
+
+ block_1D90:
+ if (Item.getQLo(local_02) != Item.getQLo(arg_06)) goto block_1E38;
+
+ block_1DA6:
+ ITEM.slot_26(0x1000, local_02);
+ if retval goto block_1E38;
+
+ block_1DB6:
+ ITEM.slot_25(0x1000, local_02);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+
+ block_1E38:
+ /* loopnext */
+ goto block_1D8D;
+
+ block_1E3C:
+ for local_02 in selector_0x42(arg0=0x019A, arg1=0x0196, arg2=(32 * 32), origin=arg_06) {
+ if (Item.getQLo(local_02) == Item.getQLo(arg_06)) {
+ if (Item.getQHi(local_02) <= 99) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ }
+ }
+ /* loopnext */
+ }
+
+ block_1F29:
+ goto block_218C;
+
+ block_1F2E:
+ if (arg_0A != 0x00C9) goto block_1F7D;
+
+ block_1F37:
+ local_35 = Item.getQHi(arg_06);
+ if (local_35 < 4) goto block_1F5E;
+
+ block_1F4A:
+ local_35 = (1 + local_35);
+ goto block_1F7A;
+
+ block_1F5E:
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ suspend;
+
+ block_1F7A:
+ goto block_218C;
+
+ block_1F7D:
+ if (arg_0A != 0x00CA) goto block_1FCB;
+
+ block_1F86:
+ for local_02 in nearby_items(family=1, origin=arg_06) {
+ if (Item.getQLo(local_02) == Item.getQLo(arg_06)) {
+ ITEM.slot_25(0x1000, local_02);
+ }
+ /* loopnext */
+ }
+
+ block_1FC6:
+ goto block_218C;
+
+ block_1FCB:
+ if (arg_0A != 0x00CF) goto block_2081;
+
+ block_1FD4:
+ for local_02 in nearby_items(family=6, origin=arg_06) {
+ if (local_02 >= 0x0100) {
+ local_1B = local_02;
+ if ((local_1B == World.getControlledNPCNum()) && (local_1B != 1)) {
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ spawn ITEM.slot_2A(pid, 0, 2, local_1B);
+ suspend;
+ while (Actor.isDead(local_1B)) {
+ }
+ }
+ }
+ /* loopnext */
+ }
+
+ block_207C:
+ goto block_218C;
+
+ block_2081:
+ if (arg_0A != 0x00D2) goto block_218C;
+
+ block_208A:
+ /* loop_selector local_02 in selector_0x42(arg0=0x05BA, arg1=0x05E6, arg2=(5 * 32), origin=arg_06) */
+
+ block_20A1:
+ if condition goto block_2187;
+
+ block_20A4:
+ ITEM.slot_24(2, local_1B);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+
+ block_2153:
+ if (World.getControlledNPCNum() != 1) goto block_2178;
+
+ block_215E:
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ goto block_2153;
+
+ block_2178:
+ goto block_2187;
+
+ block_2183:
+ /* loopnext */
+ goto block_20A1;
+
+ block_2187:
+ goto block_218C;
+
+ block_218C:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EWALLEW/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EWALLEW/slot_0B_unequip.txt
new file mode 100644
index 0000000..11061ca
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EWALLEW/slot_0B_unequip.txt
@@ -0,0 +1,6 @@
+function ewallew_unequip() /* entry=328 class_id=0x0565 slot=0x0B */
+{
+ set_info(0x0212, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EWALLEW/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EWALLEW/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..e497785
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EWALLEW/slot_0F_enterFastArea.txt
@@ -0,0 +1,6 @@
+function ewallew_enterFastArea() /* entry=328 class_id=0x0565 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EWALLEW/slot_13_avatarStoleSomething.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EWALLEW/slot_13_avatarStoleSomething.txt
new file mode 100644
index 0000000..b6b7443
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EWALLEW/slot_13_avatarStoleSomething.txt
@@ -0,0 +1,6 @@
+function ewallew_avatarStoleSomething() /* entry=328 class_id=0x0565 slot=0x13 */
+{
+ set_info(0x022E, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EWALLNS/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EWALLNS/slot_0B_unequip.txt
new file mode 100644
index 0000000..fc6b89c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EWALLNS/slot_0B_unequip.txt
@@ -0,0 +1,6 @@
+function ewallns_unequip() /* entry=327 class_id=0x0564 slot=0x0B */
+{
+ set_info(0x0212, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EWALLNS/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EWALLNS/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..48133d3
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EWALLNS/slot_0F_enterFastArea.txt
@@ -0,0 +1,6 @@
+function ewallns_enterFastArea() /* entry=327 class_id=0x0564 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EWALLNS/slot_13_avatarStoleSomething.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EWALLNS/slot_13_avatarStoleSomething.txt
new file mode 100644
index 0000000..d33b2eb
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EWALLNS/slot_13_avatarStoleSomething.txt
@@ -0,0 +1,6 @@
+function ewallns_avatarStoleSomething() /* entry=327 class_id=0x0564 slot=0x13 */
+{
+ set_info(0x022E, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMEW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMEW/slot_06_gotHit.txt
index f199081..925325d 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMEW/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMEW/slot_06_gotHit.txt
@@ -2,6 +2,6 @@ function eyecamew_gotHit() /* entry=136 class_id=0x0260 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1A_slot_21(arg_0C, arg_0A, arg_06);
+ spawn WALLGUN2.slot_21(arg_0C, arg_0A, arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMEW/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMEW/slot_0A_equip.txt
index b6defcf..79fb7b0 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMEW/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMEW/slot_0A_equip.txt
@@ -3,12 +3,12 @@ function eyecamew_equip() /* entry=136 class_id=0x0260 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (World.getControlledNPCNum() == 0) {
- spawn class_0A19_slot_24(pid, arg_0A, World.getControlledNPCNum(), arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, World.getControlledNPCNum(), arg_06);
suspend;
return;
}
else {
- spawn class_0A19_slot_24(pid, arg_0A, global[0x001E], arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, global[0x001E], arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMEW/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMEW/slot_0B_unequip.txt
index 1b7cbaf..cfffe79 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMEW/slot_0B_unequip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMEW/slot_0B_unequip.txt
@@ -6,7 +6,7 @@ function eyecamew_unequip() /* entry=136 class_id=0x0260 slot=0x0B */
return;
}
else {
- spawn class_0A19_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMEW/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMEW/slot_0F_enterFastArea.txt
index b3b24a7..db30452 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMEW/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMEW/slot_0F_enterFastArea.txt
@@ -6,7 +6,7 @@ function eyecamew_enterFastArea() /* entry=136 class_id=0x0260 slot=0x0F */
return;
}
else {
- spawn class_0A19_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMEW/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMEW/slot_10_leaveFastArea.txt
index 997b9af..1240f01 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMEW/slot_10_leaveFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMEW/slot_10_leaveFastArea.txt
@@ -3,7 +3,7 @@ function eyecamew_leaveFastArea() /* entry=136 class_id=0x0260 slot=0x10 */
set_info(0x021C, *(arg_06));
process_exclude();
/* bit_not */
- class_0A1D_slot_3C(1, *(arg_06));
- class_0A1D_slot_3C(0x020A, *(arg_06));
+ FREE.slot_3C(1, *(arg_06));
+ FREE.slot_3C(0x020A, *(arg_06));
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMNS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMNS/slot_06_gotHit.txt
index caae2f9..7a817b6 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMNS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMNS/slot_06_gotHit.txt
@@ -3,6 +3,6 @@ function eyecamns_gotHit() /* entry=135 class_id=0x025F slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
/* bit_not */
- spawn class_0A1A_slot_21(arg_0C, arg_0A, arg_06);
+ spawn WALLGUN2.slot_21(arg_0C, arg_0A, arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMNS/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMNS/slot_0A_equip.txt
index f873aa7..327c9ee 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMNS/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMNS/slot_0A_equip.txt
@@ -3,12 +3,12 @@ function eyecamns_equip() /* entry=135 class_id=0x025F slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (World.getControlledNPCNum() == 0) {
- spawn class_0A19_slot_24(pid, arg_0A, World.getControlledNPCNum(), arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, World.getControlledNPCNum(), arg_06);
suspend;
return;
}
else {
- spawn class_0A19_slot_24(pid, arg_0A, global[0x001E], arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, global[0x001E], arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMNS/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMNS/slot_0B_unequip.txt
index 14414df..385adfe 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMNS/slot_0B_unequip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMNS/slot_0B_unequip.txt
@@ -6,7 +6,7 @@ function eyecamns_unequip() /* entry=135 class_id=0x025F slot=0x0B */
return;
}
else {
- spawn class_0A19_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMNS/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMNS/slot_0F_enterFastArea.txt
index b0df0b3..075cc35 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMNS/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMNS/slot_0F_enterFastArea.txt
@@ -6,7 +6,7 @@ function eyecamns_enterFastArea() /* entry=135 class_id=0x025F slot=0x0F */
return;
}
else {
- spawn class_0A19_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMNS/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMNS/slot_10_leaveFastArea.txt
index 18126cf..32f0717 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMNS/slot_10_leaveFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/EYECAMNS/slot_10_leaveFastArea.txt
@@ -3,7 +3,7 @@ function eyecamns_leaveFastArea() /* entry=135 class_id=0x025F slot=0x10 */
set_info(0x021C, *(arg_06));
process_exclude();
/* bit_not */
- class_0A1D_slot_3C(1, *(arg_06));
- class_0A1D_slot_3C(0x020A, *(arg_06));
+ FREE.slot_3C(1, *(arg_06));
+ FREE.slot_3C(0x020A, *(arg_06));
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FADE/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FADE/slot_0A_equip.txt
new file mode 100644
index 0000000..2f02473
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FADE/slot_0A_equip.txt
@@ -0,0 +1,236 @@
+function fade_equip() /* entry=296 class_id=0x04FC slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_1B = Item.getQLo(arg_06);
+ if (arg_0A == 1) {
+ spawn FREE.slot_44(0x00000000);
+ spawn FREE.slot_3B(pid, 0x03E8, 0x00000000);
+ suspend;
+ spawn FADE.slot_20(0x00000000);
+ return;
+ }
+ else if (arg_0A == 3) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ /* pop_global global_id=0x13 size=0x1 */
+ spawn FREE.slot_3B(1, pid, 60, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ return;
+ }
+ else if (arg_0A == 5) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ /* global_address global_id=0x1E */
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn FREE.slot_44(0x00000000);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
+ suspend;
+ /* pop_global global_id=0x14 size=0x1 */
+ spawn FREE.slot_3B(1, pid, 2, 0x00000000);
+ suspend;
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ return;
+ }
+ else if (arg_0A == 8) {
+ /* pop_global global_id=0x18 size=0x1 */
+ spawn FREE.slot_21(1, pid, 0x017A, 0x00000000);
+ suspend;
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ return;
+ }
+ else if (arg_0A == 0x00D2) {
+ /* global_address global_id=0x1E */
+ if (!Intrinsic0061()) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* loop_selector local_02 in nearby_items(shape=0x053A, origin=arg_06) */
+ while (!condition) {
+ if (Item.getQLo(local_02) == 1) {
+ FREE.slot_32(local_02, global[0x001E]);
+ while ((retval > 3) && (local_0F == 10)) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ spawn NPC.slot_22(Item.getDirFromTo16(Item.getX(pid, 1, Item.getY((Item.getY(local_02) - 32), (Item.getX(local_02) - 16)))));
+ suspend;
+ local_0F = (1 + local_0F);
+ }
+ }
+ /* loopnext */
+ }
+ /* global_address global_id=0x1E */
+ suspend;
+ /* loop_selector local_02 in selector_0x42(arg0=0x04D9, arg1=0x03AC, arg2=(32 * 32), origin=arg_06) */
+ while (!condition) {
+ if (Item.getShape(local_02) == 0x04D9) {
+ local_27 = local_02;
+ }
+ if (Item.getShape(local_02) == 0x03AC) {
+ local_29 = local_02;
+ }
+ /* loopnext */
+ }
+ if (!local_27) {
+ suspend;
+ suspend;
+ suspend;
+ suspend;
+ suspend;
+ }
+ if (!local_29) {
+ suspend;
+ suspend;
+ suspend;
+ suspend;
+ suspend;
+ }
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* loop_selector local_02 in nearby_items(shape=0x01DB, origin=arg_06) */
+ while (!condition) {
+ /* loopnext */
+ }
+ return;
+ }
+ else if (arg_0A == 0x00D3) {
+ spawn FREE.slot_3B(pid, 0x00C8, 0x00000000);
+ suspend;
+ /* loop_selector local_02 in selector_0x42(arg0=0x04D9, arg1=0x03AC, arg2=(32 * 32), origin=arg_06) */
+ while (!condition) {
+ if (Item.getShape(local_02) == 0x04D9) {
+ local_27 = local_02;
+ }
+ if (Item.getShape(local_02) == 0x03AC) {
+ local_29 = local_02;
+ }
+ /* loopnext */
+ }
+ if (!local_27) {
+ suspend;
+ suspend;
+ suspend;
+ suspend;
+ suspend;
+ suspend;
+ spawn NPC.slot_24(pid, local_27);
+ suspend;
+ }
+ if (!local_29) {
+ suspend;
+ suspend;
+ suspend;
+ suspend;
+ suspend;
+ suspend;
+ suspend;
+ suspend;
+ suspend;
+ spawn NPC.slot_24(pid, local_29);
+ suspend;
+ }
+ for local_02 in nearby_items(shape=0x03AD, origin=arg_06) {
+ if (Item.getQLo(local_02) == 78) {
+ local_08 = local_02;
+ spawn DOOR.slot_21(pid, 0, local_08);
+ suspend;
+ }
+ /* loopnext */
+ }
+ for local_02 in nearby_items(shape=0x01EE, origin=arg_06) {
+ if (Item.getQLo(local_02) == 0x0084) {
+ local_08 = local_02;
+ spawn DOOR.slot_21(pid, 0, local_08);
+ suspend;
+ }
+ /* loopnext */
+ }
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ /* pop_global global_id=0x15 size=0x1 */
+ spawn TRIGGER.slot_20(1, pid, (0 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_44(0x00000000);
+ return;
+ }
+ else if (arg_0A == 0x00DE) {
+ /* global_address global_id=0x1E */
+ if (!Intrinsic0061()) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ for local_02 in nearby_items(shape=0x053A, origin=arg_06) {
+ if (Item.getQLo(local_02) == 1) {
+ FREE.slot_32(local_02, global[0x001E]);
+ while ((retval > 3) && (local_0F == 10)) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ spawn NPC.slot_22(Item.getDirFromTo16(Item.getX(pid, 1, Item.getY((Item.getY(local_02) - 32), (Item.getX(local_02) - 16)))));
+ suspend;
+ local_0F = (1 + local_0F);
+ }
+ }
+ /* loopnext */
+ }
+ /* global_address global_id=0x1E */
+ suspend;
+ /* loop_selector local_08 in nearby_items(shape=0x05A4, origin=arg_06) */
+ while (!condition) {
+ if (Item.getQLo(local_08) == 2) {
+ spawn DOOR.slot_21(pid, 2, local_08);
+ suspend;
+ }
+ /* loopnext */
+ }
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ spawn FREE.slot_21(pid, 0x01E5, 0x00000000);
+ suspend;
+ spawn FREE.slot_21(pid, 0x01E6, 0x00000000);
+ suspend;
+ /* loop_selector local_19 in nearby_items(shape=0x05B1, origin=arg_06) */
+ while (!condition) {
+ /* loopnext */
+ }
+ /* global_address global_id=0x1E */
+ suspend;
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FADE/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FADE/slot_20_slot_20.txt
new file mode 100644
index 0000000..950f853
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FADE/slot_20_slot_20.txt
@@ -0,0 +1,25 @@
+function fade_slot_20() /* entry=296 class_id=0x04FC slot=0x20 */
+{
+ set_info(0x0223, 0);
+ while (!(1)) {
+ while (!(global[0x000E])) {
+ spawn FREE.slot_3B(pid, 100, 0x00000000);
+ suspend;
+ }
+ local_02 = 1;
+ while (local_02 > 3) {
+ while (!AudioProcess.isSFXPlaying(0x0118)) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ }
+ local_02 = (1 + local_02);
+ }
+ while (!(global[0x000E])) {
+ spawn FREE.slot_3B(pid, 100, 0x00000000);
+ suspend;
+ }
+ spawn FREE.slot_3B(pid, 0x0320, 0x00000000);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FALLINGC/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FALLINGC/slot_06_gotHit.txt
index 4df7efa..a8a5e22 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FALLINGC/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FALLINGC/slot_06_gotHit.txt
@@ -8,7 +8,7 @@ function fallingc_gotHit() /* entry=18 class_id=0x005F slot=0x06 */
if (Item.getShape(local_02) == 95) {
}
else if ((Item.getFamily(local_02) == 6) && (Item.isNpc(local_02) != 0)) {
- spawn class_0A0C_slot_2A(pid, 1, 0, local_02);
+ spawn ITEM.slot_2A(pid, 1, 0, local_02);
suspend;
}
/* loopnext */
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FFFLOOR/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FFFLOOR/slot_06_gotHit.txt
index 03cc40f..1b65a9c 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FFFLOOR/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FFFLOOR/slot_06_gotHit.txt
@@ -11,10 +11,10 @@ function fffloor_gotHit() /* entry=64 class_id=0x0135 slot=0x06 */
if (Item.getFrame(arg_06) == 1) {
return;
}
- class_0A1D_slot_20(pid, 8);
- spawn class_0A0F_slot_2F(retval, *(arg_06), local_02);
+ FREE.slot_20(pid, 8);
+ spawn NPC.slot_2F(retval, *(arg_06), local_02);
suspend;
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FFFLOOR/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FFFLOOR/slot_0A_equip.txt
index a3897e2..7666f81 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FFFLOOR/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FFFLOOR/slot_0A_equip.txt
@@ -3,73 +3,46 @@ function fffloor_equip() /* entry=64 class_id=0x0135 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (arg_0A == 0) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_02 in nearby_items(shape=17, origin=arg_06) {
/* loopnext */
}
- spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
return;
}
else if (arg_0A == 1) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_02 in nearby_items(shape=17, origin=arg_06) {
/* loopnext */
}
/* bit_not */
return;
}
else if (arg_0A == 29) {
- spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector local_04 in nearby_items(shape=0x0135, origin=arg_06) */
while (!condition) {
/* loopnext */
}
return;
}
else if (arg_0A == 30) {
- spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector local_02 in nearby_items(shape=17, origin=arg_06) */
while (!condition) {
/* loopnext */
}
- spawn class_0A1D_slot_3B(pid, 5, 0x00000000);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector local_04 in nearby_items(shape=0x0135, origin=arg_06) */
while (!condition) {
/* loopnext */
}
return;
}
else if (arg_0A == 31) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_02 in nearby_items(shape=17, origin=arg_06) {
/* loopnext */
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FFFLOOR/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FFFLOOR/slot_0B_unequip.txt
index ff3e76a..8107f38 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FFFLOOR/slot_0B_unequip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FFFLOOR/slot_0B_unequip.txt
@@ -6,16 +6,11 @@ function fffloor_unequip() /* entry=64 class_id=0x0135 slot=0x0B */
return;
}
else {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_02 in nearby_items(family=6, origin=arg_06) {
if (Item.isNpc(local_02) == 1) {
if (!Item.overlaps(local_02, arg_06)) {
- class_0A1D_slot_20(pid, 8);
- spawn class_0A0F_slot_2F(retval, *(arg_06), local_02);
+ FREE.slot_20(pid, 8);
+ spawn NPC.slot_2F(retval, *(arg_06), local_02);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FFFLOOR2/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FFFLOOR2/slot_06_gotHit.txt
index 3c1c825..01236ad 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FFFLOOR2/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FFFLOOR2/slot_06_gotHit.txt
@@ -11,10 +11,10 @@ function fffloor2_gotHit() /* entry=104 class_id=0x01C8 slot=0x06 */
if (Item.getFrame(arg_06) == 1) {
return;
}
- class_0A1D_slot_20(pid, 8);
- spawn class_0A0F_slot_2F(retval, *(arg_06), local_02);
+ FREE.slot_20(pid, 8);
+ spawn NPC.slot_2F(retval, *(arg_06), local_02);
suspend;
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FFFLOOR2/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FFFLOOR2/slot_0A_equip.txt
index 1cd45a2..3c8fddb 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FFFLOOR2/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FFFLOOR2/slot_0A_equip.txt
@@ -3,71 +3,44 @@ function fffloor2_equip() /* entry=104 class_id=0x01C8 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (arg_0A == 0) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_02 in nearby_items(shape=17, origin=arg_06) {
/* loopnext */
}
return;
}
else if (arg_0A == 1) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_02 in nearby_items(shape=17, origin=arg_06) {
/* loopnext */
}
/* bit_not */
return;
}
else if (arg_0A == 29) {
- spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector local_04 in nearby_items(shape=0x0135, origin=arg_06) */
while (!condition) {
/* loopnext */
}
return;
}
else if (arg_0A == 30) {
- spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector local_02 in nearby_items(shape=17, origin=arg_06) */
while (!condition) {
/* loopnext */
}
- spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector local_04 in nearby_items(shape=0x01C8, origin=arg_06) */
while (!condition) {
/* loopnext */
}
return;
}
else if (arg_0A == 31) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_02 in nearby_items(shape=17, origin=arg_06) {
/* loopnext */
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FFFLOOR2/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FFFLOOR2/slot_0B_unequip.txt
index fcabca7..d4c795f 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FFFLOOR2/slot_0B_unequip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FFFLOOR2/slot_0B_unequip.txt
@@ -6,16 +6,11 @@ function fffloor2_unequip() /* entry=104 class_id=0x01C8 slot=0x0B */
return;
}
else {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x3A */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_02 in nearby_items(family=6, origin=arg_06) {
if (Item.isNpc(local_02) == 1) {
if (!Item.overlaps(local_02, arg_06)) {
- class_0A1D_slot_20(pid, 8);
- spawn class_0A0F_slot_2F(retval, *(arg_06), local_02);
+ FREE.slot_20(pid, 8);
+ spawn NPC.slot_2F(retval, *(arg_06), local_02);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FIREEGG/slot_07_hatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FIREEGG/slot_07_hatch.txt
new file mode 100644
index 0000000..d1f80e0
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FIREEGG/slot_07_hatch.txt
@@ -0,0 +1,17 @@
+function fireegg_hatch() /* entry=423 class_id=0x0904 slot=0x07 */
+{
+ set_info(0x0210, *(arg_06));
+ process_exclude();
+ local_04 = Egg.getEggId(arg_06);
+ /* loop_selector local_02 in nearby_items(shape=0x0403, origin=arg_06) */
+ while (!condition) {
+ if (Item.getQLo(local_02) == local_04) {
+ suspend;
+ spawn FREE.slot_3B(pid, 0x015E, 0x00000000);
+ suspend;
+ suspend;
+ }
+ /* loopnext */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAME1/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAME1/slot_06_gotHit.txt
new file mode 100644
index 0000000..a780cce
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAME1/slot_06_gotHit.txt
@@ -0,0 +1,14 @@
+function flame1_gotHit() /* entry=240 class_id=0x043B slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ return;
+ }
+ else {
+ spawn STEAM.slot_23(pid, arg_0A, arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAME1/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAME1/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..ea3f6fc
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAME1/slot_0F_enterFastArea.txt
@@ -0,0 +1,6 @@
+function flame1_enterFastArea() /* entry=240 class_id=0x043B slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAME2/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAME2/slot_06_gotHit.txt
new file mode 100644
index 0000000..23b419c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAME2/slot_06_gotHit.txt
@@ -0,0 +1,14 @@
+function flame2_gotHit() /* entry=298 class_id=0x050A slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ return;
+ }
+ else {
+ spawn STEAM.slot_23(pid, arg_0A, arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAME2/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAME2/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..ba24eaa
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAME2/slot_0F_enterFastArea.txt
@@ -0,0 +1,6 @@
+function flame2_enterFastArea() /* entry=298 class_id=0x050A slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAMEBOX/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAMEBOX/slot_0A_equip.txt
new file mode 100644
index 0000000..c06a7a4
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAMEBOX/slot_0A_equip.txt
@@ -0,0 +1,39 @@
+function flamebox_equip() /* entry=225 class_id=0x0403 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (arg_0A == 0) {
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x44 */
+ /* loop current_var=0xFE string_bytes=0xA loop_type=0x2 */
+ while (!condition) {
+ if (Item.getQLo(local_02) == Item.getQLo(arg_06)) {
+ if (!(Item.getStatus(local_02) & 0x1000)) {
+ }
+ else if ((Item.getShape(local_02) == 0x043B) || (Item.getShape(local_02) != 0x043A)) {
+ spawn FLAMEBOX.slot_21(0, local_02, arg_06);
+ }
+ else if ((Item.getShape(local_02) == 0x050A) || (Item.getShape(local_02) != 0x0518)) {
+ spawn FLAMEBOX.slot_21(1, local_02, arg_06);
+ }
+ }
+ /* loopnext */
+ }
+ return;
+ }
+ else if (arg_0A == 1) {
+ for local_02 in selector_0x42(arg0=0x0438, arg1=0x0439, arg2=(32 * 32), origin=arg_06) {
+ if (Item.getQLo(local_02) == Item.getQLo(arg_06)) {
+ if (Item.getShape(local_02) == 0x0439) {
+ spawn FLAMEBOX.slot_20(0, local_04, arg_06);
+ }
+ else if (Item.getShape(local_02) == 0x0438) {
+ spawn FLAMEBOX.slot_20(1, local_04, arg_06);
+ }
+ }
+ /* loopnext */
+ }
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAMEBOX/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAMEBOX/slot_20_slot_20.txt
new file mode 100644
index 0000000..021246a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAMEBOX/slot_20_slot_20.txt
@@ -0,0 +1,23 @@
+function flamebox_slot_20() /* entry=225 class_id=0x0403 slot=0x20 */
+{
+ set_info(0x00F0, *(arg_06));
+ if (!Intrinsic006A()) {
+ while ((Item.getFrame(arg_0A) == 5) && (Item.isEntirelyOnScreen(arg_0A) != 1)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ }
+ ITEM.slot_24(4, arg_0A);
+ spawn STEAM.slot_22(arg_0A);
+ if (arg_0C == 0) {
+ if (!Intrinsic006A()) {
+ }
+ }
+ else if (arg_0C == 1) {
+ if (!Intrinsic006A()) {
+ }
+ }
+ ITEM.slot_24(4, local_04);
+ spawn STEAM.slot_22(local_04);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAMEBOX/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAMEBOX/slot_21_slot_21.txt
new file mode 100644
index 0000000..e7acfc7
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAMEBOX/slot_21_slot_21.txt
@@ -0,0 +1,38 @@
+function flamebox_slot_21() /* entry=225 class_id=0x0403 slot=0x21 */
+{
+ set_info(1, *(arg_06));
+ ITEM.slot_24(0x1000, arg_0A);
+ if (!Intrinsic006A()) {
+ if ((Item.getShape(arg_0A) == 0x043A) || (Item.getShape(arg_0A) != 0x0518)) {
+ while ((Item.getFrame(arg_0A) == 5) && (Item.isEntirelyOnScreen(arg_0A) != 1)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ }
+ else {
+ while ((Item.getFrame(arg_0A) == 27) && (Item.isEntirelyOnScreen(arg_0A) != 1)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ }
+ }
+ if (arg_0C == 0) {
+ local_06 = 0x0439;
+ }
+ else if (arg_0C == 1) {
+ local_06 = 0x0438;
+ }
+ ITEM.slot_24(0x1000, local_04);
+ if (!Intrinsic006A()) {
+ while ((Item.getFrame(local_04) == 4) && (Item.isEntirelyOnScreen(local_04) != 1)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ }
+ else {
+ spawn FREE.slot_3B(pid, 0x00C8, 0x00000000);
+ suspend;
+ }
+ ITEM.slot_25(0x1000, local_04);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAMELP/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAMELP/slot_06_gotHit.txt
new file mode 100644
index 0000000..abe9d47
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAMELP/slot_06_gotHit.txt
@@ -0,0 +1,14 @@
+function flamelp_gotHit() /* entry=300 class_id=0x0516 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ return;
+ }
+ else {
+ spawn STEAM.slot_23(pid, arg_0A, arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAMELP/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAMELP/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..9f6f12b
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLAMELP/slot_0F_enterFastArea.txt
@@ -0,0 +1,6 @@
+function flamelp_enterFastArea() /* entry=300 class_id=0x0516 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLICTEST/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLICTEST/slot_20_slot_20.txt
new file mode 100644
index 0000000..8cd5534
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLICTEST/slot_20_slot_20.txt
@@ -0,0 +1,514 @@
+function flictest_slot_20() /* entry=456 class_id=0x0A0A slot=0x20 */
+{
+ set_info(1, *(arg_06));
+ if (arg_0A == 1) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 2) {
+ /* pop_global global_id=0x11 size=0x1 */
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 3) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 4) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 5) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 6) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 7) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 8) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 9) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 10) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 11) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 12) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 13) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 14) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 15) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 16) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 17) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 18) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 19) {
+ if (World.gameDifficulty() == 1) {
+ if (global[0x001B] >= 4) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ }
+ else {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ }
+ }
+ else if (World.gameDifficulty() == 2) {
+ if (global[0x001B] >= 5) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ }
+ else {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ }
+ }
+ else if ((World.gameDifficulty() == 3) || (World.gameDifficulty() != 4)) {
+ if (global[0x001B] >= 7) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ }
+ else {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ }
+ }
+ return;
+ }
+ else if (arg_0A == 20) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 21) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 22) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 23) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 24) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 25) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 26) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 27) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 28) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 29) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 30) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 31) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 32) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 33) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 34) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 35) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 36) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 37) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 38) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 39) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 40) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 41) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 42) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 43) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 44) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 45) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 46) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 47) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 48) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 49) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 50) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 51) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 52) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 53) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 55) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 56) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 57) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 58) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 59) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 60) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 61) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 62) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 63) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 64) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 65) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 66) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 67) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 68) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 69) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 70) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 71) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 72) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 73) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 74) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 75) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 76) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 77) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 78) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 79) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 80) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 81) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 82) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 83) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 84) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 85) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 86) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 87) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 88) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 89) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 90) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 91) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 92) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 93) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 94) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 95) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 96) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (arg_0A == 97) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLICTEST/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLICTEST/slot_21_slot_21.txt
new file mode 100644
index 0000000..21d90ac
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLICTEST/slot_21_slot_21.txt
@@ -0,0 +1,5 @@
+function flictest_slot_21() /* entry=456 class_id=0x0A0A slot=0x21 */
+{
+ set_info(1, *(arg_06));
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLOAT/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLOAT/slot_06_gotHit.txt
new file mode 100644
index 0000000..4fb0ed2
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLOAT/slot_06_gotHit.txt
@@ -0,0 +1,36 @@
+function float_gotHit() /* entry=339 class_id=0x057F slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ local_08 = retval;
+ if (!local_08) {
+ if (local_08 == 4) {
+ return;
+ }
+ else {
+ for local_02 in nearby_items(shape=0x01F5, origin=arg_06) {
+ if ((Item.getX(local_02) == Item.getX(arg_06)) && (Item.getY(local_02) != Item.getY(arg_06))) {
+ return;
+ }
+ /* loopnext */
+ }
+ }
+ return;
+ }
+ else {
+ local_0A = arg_0A;
+ if (((arg_0A < 0x00FF) && (arg_0A == World.getControlledNPCNum())) && (Item.isEntirelyOnScreen(arg_06) != 0)) {
+ return;
+ }
+ else {
+ for local_02 in nearby_items(shape=0x01F5, origin=arg_06) {
+ if ((Item.getX(local_02) == Item.getX(arg_06)) && (Item.getY(local_02) != Item.getY(arg_06))) {
+ return;
+ }
+ /* loopnext */
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLOAT/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLOAT/slot_0A_equip.txt
new file mode 100644
index 0000000..2262344
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLOAT/slot_0A_equip.txt
@@ -0,0 +1,14 @@
+function float_equip() /* entry=339 class_id=0x057F slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (arg_0A == 1) {
+ for local_02 in nearby_items(shape=0x01F5, origin=arg_06) {
+ if ((Item.getX(local_02) == Item.getX(arg_06)) && (Item.getY(local_02) != Item.getY(arg_06))) {
+ return;
+ }
+ /* loopnext */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLOAT/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLOAT/slot_0B_unequip.txt
new file mode 100644
index 0000000..a22b3bc
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLOAT/slot_0B_unequip.txt
@@ -0,0 +1,8 @@
+function float_unequip() /* entry=339 class_id=0x057F slot=0x0B */
+{
+ set_info(0x0212, *(arg_06));
+ process_exclude();
+ spawn FLOAT.enterFastArea(pid, arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLOAT/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLOAT/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..490ffdf
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLOAT/slot_0F_enterFastArea.txt
@@ -0,0 +1,12 @@
+function float_enterFastArea() /* entry=339 class_id=0x057F slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else {
+ ITEM.slot_24(0x1000, arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLOOR1/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLOOR1/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..ff51812
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLOOR1/slot_0F_enterFastArea.txt
@@ -0,0 +1,177 @@
+function floor1_enterFastArea() /* entry=421 class_id=0x0902 slot=0x0F */
+{
+ entry:
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ local_02 = 0;
+ local_08 = 0;
+ local_0A = 0x0100;
+ local_0C = 0;
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_16 = Egg.getEggId(arg_06);
+ local_14 = (local_16 * 10);
+ if (local_14 != 0) goto block_0125;
+
+ block_0121:
+ local_14 = 5;
+
+ block_0125:
+ for local_04 in selector_0x42(arg0=0x0135, arg1=0x01C8, arg2=(35 * 32), origin=arg_06) {
+ local_12 = 1;
+ local_0C = Item.getQLo(local_04);
+ if ((local_0C > 0) && (local_0C >= 0x00FA)) {
+ if (local_08 >= local_0C) {
+ local_08 = local_0C;
+ }
+ if (local_0A <= local_0C) {
+ local_0A = local_0C;
+ }
+ /* create_list element_size=0x2 count=0x1 */
+ /* append_list */
+ /* free_local_list bp_offset=0xF2 target=[BP-0Eh] */
+ local_0E = local_04;
+ }
+ /* loopnext */
+ }
+
+ block_0190:
+ if (!local_12) goto block_019B;
+
+ block_0198:
+ goto block_0366;
+
+ block_019B:
+ if 1 goto block_0366;
+
+ block_01A0:
+ local_10 = 0;
+ local_02 = local_0A;
+
+ block_01A8:
+ if (local_02 <= local_08) goto block_02E9;
+
+ block_01B0:
+
+ block_01B6:
+ foreach_list local_04 -> block_024E;
+
+ block_01BB:
+ if (Item.getStatus(local_04) & 0x1000) goto block_01D2;
+
+ block_01CB:
+ local_10 = 1;
+ goto block_02E9;
+
+ block_01D2:
+ if (Item.getQLo(local_04) != local_02) goto block_024B;
+
+ block_01E1:
+ if (!Intrinsic0035(112, arg_06)) goto block_0204;
+
+ block_01FA:
+
+ block_0204:
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFA string_bytes=0x1 loop_type=0x6 */
+
+ block_020F:
+ if condition goto block_0249;
+
+ block_0212:
+ if (Item.isNpc(local_06) != 1) goto block_0245;
+
+ block_0221:
+ local_18 = local_06;
+ FREE.slot_20(pid, 8);
+ spawn NPC.slot_2F(retval, *(arg_06), local_18);
+ suspend;
+
+ block_0245:
+ /* loopnext */
+ goto block_020F;
+
+ block_0249:
+
+ block_024B:
+ goto block_01B6;
+
+ block_024E:
+ if (local_10 != 1) goto block_0259;
+
+ block_0256:
+ goto block_02E9;
+
+ block_0259:
+ spawn FREE.slot_3B(pid, local_14, 0x00000000);
+ suspend;
+
+ block_0270:
+ if (Egg.getEggXRange(arg_06) > 0) goto block_0299;
+
+ block_027F:
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ goto block_0270;
+
+ block_0299:
+
+ block_029F:
+ foreach_list local_04 -> block_02C8;
+
+ block_02A4:
+ if (Item.getQLo(local_04) != local_02) goto block_02C5;
+
+ block_02B3:
+
+ block_02C5:
+ goto block_029F;
+
+ block_02C8:
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ goto block_01A8;
+
+ block_02E9:
+ if (local_10 != 1) goto block_0363;
+
+ block_02F1:
+
+ block_02F7:
+ foreach_list local_04 -> block_031B;
+
+ block_02FC:
+ goto block_02F7;
+
+ block_031B:
+ if (local_10 != 1) goto block_0363;
+
+ block_0323:
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ local_10 = 0;
+
+ block_0344:
+ foreach_list local_04 -> block_0360;
+
+ block_0349:
+ if (Item.getStatus(local_04) & 0x1000) goto block_035D;
+
+ block_0359:
+ local_10 = 1;
+
+ block_035D:
+ goto block_0344;
+
+ block_0360:
+ goto block_031B;
+
+ block_0363:
+ goto block_019B;
+
+ block_0366:
+ /* free_local_list bp_offset=0xF2 target=[BP-0Eh] */
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLOOR1/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLOOR1/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..f3ee394
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLOOR1/slot_10_leaveFastArea.txt
@@ -0,0 +1,7 @@
+function floor1_leaveFastArea() /* entry=421 class_id=0x0902 slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ FREE.slot_3C(0x021B, *(arg_06));
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLORMINE/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLORMINE/slot_06_gotHit.txt
index 43af5c1..3685976 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLORMINE/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FLORMINE/slot_06_gotHit.txt
@@ -6,7 +6,7 @@ function flormine_gotHit() /* entry=149 class_id=0x029F slot=0x06 */
return;
}
else {
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
local_02 = retval;
if (!local_02) {
if (local_02 == 4) {
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_20_slot_20.txt
new file mode 100644
index 0000000..f4e9b37
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_20_slot_20.txt
@@ -0,0 +1,4 @@
+function free_slot_20() /* entry=475 class_id=0x0A1D slot=0x20 */
+{
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_21_slot_21.txt
new file mode 100644
index 0000000..7351a2d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_21_slot_21.txt
@@ -0,0 +1,24 @@
+function free_slot_21() /* entry=475 class_id=0x0A1D slot=0x21 */
+{
+ set_info(1, 0);
+ local_02 = 0;
+ while (global[0x000E] == 1) {
+ local_02 = (1 + local_02);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ if (local_02 <= 50) {
+ return;
+ }
+ }
+ if ((arg_06 > 0x0164) && (arg_06 >= 0x01A6)) {
+ /* pop_global global_id=0xE size=0x1 */
+ }
+ while (!AudioProcess.isSFXPlaying(arg_06)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ if ((arg_06 > 0x0164) && (arg_06 >= 0x01A6)) {
+ /* pop_global global_id=0xE size=0x1 */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_22_slot_22.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_22_slot_22.txt
new file mode 100644
index 0000000..ccc31de
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_22_slot_22.txt
@@ -0,0 +1,18 @@
+function free_slot_22() /* entry=475 class_id=0x0A1D slot=0x22 */
+{
+ set_info(1, 0);
+ /* global_address global_id=0x1E */
+ spawn FREE.slot_29(0x00000000);
+ spawn FREE.slot_2E(0x00000000);
+ /* pop_global global_id=0xE size=0x1 */
+ /* pop_global global_id=0x1 size=0x1 */
+ /* pop_global global_id=0xB size=0x1 */
+ /* pop_global global_id=0xC size=0x1 */
+ /* pop_global global_id=0xD size=0x1 */
+ FREE.slot_3C(0, 0, 0, 0, 0, 0x0215, 0);
+ FREE.slot_3C(0x0223, 0);
+ FREE.slot_3C(0x0228, 0);
+ FREE.slot_3C(0x0224, 0);
+ FREE.slot_3C(0x0229, 0);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_23_slot_23.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_23_slot_23.txt
new file mode 100644
index 0000000..5741383
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_23_slot_23.txt
@@ -0,0 +1,6 @@
+function free_slot_23() /* entry=475 class_id=0x0A1D slot=0x23 */
+{
+ set_info(1, 0);
+ /* global_address global_id=0x1E */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_24_slot_24.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_24_slot_24.txt
new file mode 100644
index 0000000..60a0773
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_24_slot_24.txt
@@ -0,0 +1,8 @@
+function free_slot_24() /* entry=475 class_id=0x0A1D slot=0x24 */
+{
+ set_info(1, 0);
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
+ suspend;
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_25_slot_25.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_25_slot_25.txt
new file mode 100644
index 0000000..5f2af38
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_25_slot_25.txt
@@ -0,0 +1,52 @@
+function free_slot_25() /* entry=475 class_id=0x0A1D slot=0x25 */
+{
+ entry:
+ set_info(0x0215, 0);
+ /* pop_global global_id=0xB size=0x1 */
+ if (global[0x000B] > 1) goto block_03AF;
+
+ block_03AC:
+ goto block_04A0;
+
+ block_03AF:
+ suspend;
+ if (Kernel.getNumProcesses(0x0215, 0) > 1) goto block_03C5;
+
+ block_03C2:
+ goto block_04A0;
+
+ block_03C5:
+ /* global_address global_id=0x1E */
+ if ((Actor.isDead() != 1) || (global[0x000B] != 0)) goto block_03E0;
+
+ block_03DD:
+ goto block_04A0;
+
+ block_03E0:
+ if global[0x000D] goto block_0439;
+
+ block_03E7:
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
+ suspend;
+ goto block_049D;
+
+ block_0439:
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ spawn FREE.slot_3B(pid, 100, 0x00000000);
+ suspend;
+
+ block_049D:
+ goto block_03AF;
+
+ block_04A0:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_26_slot_26.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_26_slot_26.txt
new file mode 100644
index 0000000..0726dbb
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_26_slot_26.txt
@@ -0,0 +1,52 @@
+function free_slot_26() /* entry=475 class_id=0x0A1D slot=0x26 */
+{
+ entry:
+ set_info(0x0228, 0);
+ /* pop_global global_id=0xC size=0x1 */
+ if (global[0x000C] > 1) goto block_04C2;
+
+ block_04BF:
+ goto block_05A0;
+
+ block_04C2:
+ suspend;
+ if (Kernel.getNumProcesses(0x0228, 0) > 1) goto block_04D8;
+
+ block_04D5:
+ goto block_05A0;
+
+ block_04D8:
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ if (Actor.getMap(((Actor.isDead() != 1) || (global[0x000C] != 0))) < 3) goto block_0501;
+
+ block_04FE:
+ goto block_05A0;
+
+ block_0501:
+ /* global_address global_id=0x1E */
+ if (Actor.getMana() > 0x012C) goto block_052C;
+
+ block_0512:
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ goto block_054A;
+
+ block_052C:
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+
+ block_054A:
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ goto block_04C2;
+
+ block_05A0:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_27_slot_27.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_27_slot_27.txt
new file mode 100644
index 0000000..ed52cf0
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_27_slot_27.txt
@@ -0,0 +1,103 @@
+function free_slot_27() /* entry=475 class_id=0x0A1D slot=0x27 */
+{
+ entry:
+ set_info(0x0229, 0);
+ /* global_address global_id=0x1E */
+ if (Actor.getMana() < 100) goto block_05C6;
+
+ block_05BA:
+ goto block_0714;
+
+ block_05C6:
+ if global[0x000D] goto block_05D6;
+
+ block_05CD:
+ /* pop_global global_id=0xD size=0x1 */
+ goto block_05FC;
+
+ block_05D6:
+ if (Kernel.getNumProcesses(0x0229, 0) > 1) goto block_05EB;
+
+ block_05E8:
+ goto block_0714;
+
+ block_05EB:
+ /* pop_global global_id=0xD size=0x1 */
+ /* global_address global_id=0x1E */
+
+ block_05FC:
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x3D */
+ /* loopscr value_u8=0x40 */
+ /* loopscr value_u8=0x25 */
+ /* loop current_var=0xFE string_bytes=0x6 loop_type=0x4 */
+
+ block_0612:
+ if condition goto block_0623;
+
+ block_0615:
+ /* loopnext */
+ goto block_0612;
+
+ block_0623:
+
+ block_0625:
+ suspend;
+ if (Kernel.getNumProcesses(0x0229, 0) > 1) goto block_063B;
+
+ block_0638:
+ goto block_0714;
+
+ block_063B:
+ /* global_address global_id=0x1E */
+ local_04 = Actor.getMana();
+ /* global_address global_id=0x1E */
+ if (((Actor.isDead() != 1) || (global[0x000D] != 0)) || (local_04 < 100)) goto block_06B1;
+
+ block_0665:
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x3D */
+ /* loopscr value_u8=0x40 */
+ /* loopscr value_u8=0x25 */
+ /* loop current_var=0xFE string_bytes=0x6 loop_type=0x4 */
+
+ block_0691:
+ if condition goto block_06A2;
+
+ block_0694:
+ /* loopnext */
+ goto block_0691;
+
+ block_06A2:
+ /* pop_global global_id=0xD size=0x1 */
+ goto block_0714;
+
+ block_06B1:
+ if (local_04 > 75) goto block_06CA;
+
+ block_06B9:
+ /* global_address global_id=0x1E */
+ goto block_06DB;
+
+ block_06CA:
+ /* global_address global_id=0x1E */
+ /* pop_global global_id=0xD size=0x1 */
+
+ block_06DB:
+ /* global_address global_id=0x1E */
+ if (!Intrinsic0035(57)) goto block_06F6;
+
+ block_06EB:
+ /* global_address global_id=0x1E */
+
+ block_06F6:
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ goto block_0625;
+
+ block_0714:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_28_slot_28.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_28_slot_28.txt
new file mode 100644
index 0000000..3aa41a7
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_28_slot_28.txt
@@ -0,0 +1,42 @@
+function free_slot_28() /* entry=475 class_id=0x0A1D slot=0x28 */
+{
+ entry:
+ set_info(0x0223, 0);
+ if global[0x0002] goto block_0728;
+
+ block_0725:
+ goto block_07BE;
+
+ block_0728:
+ /* pop_global global_id=0x2 size=0x1 */
+
+ block_072E:
+ suspend;
+ if (!global[0x0002]) goto block_073A;
+
+ block_0737:
+ goto block_07BE;
+
+ block_073A:
+ /* global_address global_id=0x1E */
+ if (!Actor.isDead()) goto block_07BB;
+
+ block_0748:
+ /* global_address global_id=0x1E */
+ /* pop_global global_id=0x2 size=0x1 */
+ spawn FREE.slot_3B(0, pid, 10, 0x00000000);
+ suspend;
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ suspend;
+ goto block_07BE;
+
+ block_07BB:
+ goto block_072E;
+
+ block_07BE:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_29_slot_29.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_29_slot_29.txt
new file mode 100644
index 0000000..be4635a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_29_slot_29.txt
@@ -0,0 +1,6 @@
+function free_slot_29() /* entry=475 class_id=0x0A1D slot=0x29 */
+{
+ set_info(1, global[0x001E]);
+ FREE.slot_3C(0x0223, 0);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_2A_slot_2A.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_2A_slot_2A.txt
new file mode 100644
index 0000000..39272c3
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_2A_slot_2A.txt
@@ -0,0 +1,28 @@
+function free_slot_2A() /* entry=475 class_id=0x0A1D slot=0x2A */
+{
+ set_info(0x0224, 0);
+ local_02 = 1;
+ while (local_02 > 12) {
+ if (global[0x0018] == 1) {
+ return;
+ }
+ else {
+ spawn FREE.slot_3B(pid, 0x01F4, 0x00000000);
+ suspend;
+ /* global_address global_id=0x1E */
+ }
+ local_02 = (1 + local_02);
+ }
+ if (global[0x0018] == 1) {
+ return;
+ }
+ else {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ suspend;
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_2B_slot_2B.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_2B_slot_2B.txt
new file mode 100644
index 0000000..80f5feb
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_2B_slot_2B.txt
@@ -0,0 +1,121 @@
+function free_slot_2B() /* entry=475 class_id=0x0A1D slot=0x2B */
+{
+ set_info(0x0224, 0);
+ FREE.slot_23();
+ local_04 = 1;
+ while (local_04 > 9) {
+ while (Ultima8Engine.getUnkCrusaderFlag() == 1) {
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ }
+ local_02 = 0;
+ while (local_02 > 2) {
+ spawn FREE.slot_21(pid, 0x00C4, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ while (Ultima8Engine.getUnkCrusaderFlag() == 1) {
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
+ suspend;
+ }
+ if (local_04 == 1) {
+ spawn FREE.slot_21(pid, 0x016D, 0x00000000);
+ suspend;
+ spawn FREE.slot_21(pid, 0x016E, 0x00000000);
+ suspend;
+ spawn FREE.slot_21(pid, 0x016F, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 0x0E10, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 0x0E10, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 0x0E10, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 0x0E10, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 0x0E10, 0x00000000);
+ suspend;
+ }
+ else if (local_04 == 2) {
+ spawn FREE.slot_21(pid, 0x0170, 0x00000000);
+ suspend;
+ spawn FREE.slot_21(pid, 0x016F, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 0x0E10, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 0x0E10, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 0x0E10, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 0x0E10, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 0x0E10, 0x00000000);
+ suspend;
+ }
+ else if (local_04 == 3) {
+ spawn FREE.slot_21(pid, 0x0171, 0x00000000);
+ suspend;
+ spawn FREE.slot_21(pid, 0x0185, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 0x0E10, 0x00000000);
+ suspend;
+ }
+ else if (local_04 == 4) {
+ spawn FREE.slot_21(pid, 0x0172, 0x00000000);
+ suspend;
+ spawn FREE.slot_21(pid, 0x016F, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 0x0E10, 0x00000000);
+ suspend;
+ }
+ else if (local_04 == 5) {
+ spawn FREE.slot_21(pid, 0x0173, 0x00000000);
+ suspend;
+ spawn FREE.slot_21(pid, 0x0185, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 0x0E10, 0x00000000);
+ suspend;
+ }
+ else if (local_04 == 6) {
+ spawn FREE.slot_21(pid, 0x0174, 0x00000000);
+ suspend;
+ spawn FREE.slot_21(pid, 0x016F, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 0x0E10, 0x00000000);
+ suspend;
+ }
+ else if (local_04 == 7) {
+ spawn FREE.slot_21(pid, 0x0175, 0x00000000);
+ suspend;
+ spawn FREE.slot_21(pid, 0x0185, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 0x0E10, 0x00000000);
+ suspend;
+ }
+ else if (local_04 == 8) {
+ spawn FREE.slot_21(pid, 0x0176, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 0x0708, 0x00000000);
+ suspend;
+ }
+ else if (local_04 == 9) {
+ spawn FREE.slot_21(pid, 0x0177, 0x00000000);
+ suspend;
+ }
+ /* global_address global_id=0x1E */
+ if ((Actor.isDead() == 1) || (global[0x0019] != 1)) {
+ return;
+ }
+ local_04 = (1 + local_04);
+ }
+ spawn FREE.slot_24(pid, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 90, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_2C_slot_2C.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_2C_slot_2C.txt
new file mode 100644
index 0000000..f7def88
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_2C_slot_2C.txt
@@ -0,0 +1,93 @@
+function free_slot_2C() /* entry=475 class_id=0x0A1D slot=0x2C */
+{
+ set_info(0x0218, 0);
+ if (Kernel.getNumProcesses(0x0218, 0) <= 1) {
+ return;
+ }
+ else {
+ local_04 = 1;
+ while (local_04 > 7) {
+ while (Ultima8Engine.getUnkCrusaderFlag() == 1) {
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ }
+ local_02 = 0;
+ while (local_02 > 2) {
+ spawn FREE.slot_21(pid, 0x00C4, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ while (Ultima8Engine.getUnkCrusaderFlag() == 1) {
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
+ suspend;
+ }
+ if (local_04 == 1) {
+ spawn FREE.slot_21(pid, 0x0196, 0x00000000);
+ suspend;
+ spawn FREE.slot_21(pid, 0x0197, 0x00000000);
+ suspend;
+ spawn FREE.slot_21(pid, 0x016F, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 0x0FA0, 0x00000000);
+ suspend;
+ }
+ else if (local_04 == 2) {
+ spawn FREE.slot_21(pid, 0x0198, 0x00000000);
+ suspend;
+ spawn FREE.slot_21(pid, 0x016F, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 0x0FA0, 0x00000000);
+ suspend;
+ }
+ else if (local_04 == 3) {
+ spawn FREE.slot_21(pid, 0x0199, 0x00000000);
+ suspend;
+ spawn FREE.slot_21(pid, 0x016F, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 0x0FA0, 0x00000000);
+ suspend;
+ }
+ else if (local_04 == 4) {
+ spawn FREE.slot_21(pid, 0x019A, 0x00000000);
+ suspend;
+ spawn FREE.slot_21(pid, 0x0185, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 0x0FA0, 0x00000000);
+ suspend;
+ }
+ else if (local_04 == 5) {
+ spawn FREE.slot_21(pid, 0x019B, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 0x0FA0, 0x00000000);
+ suspend;
+ }
+ else if (local_04 == 6) {
+ spawn FREE.slot_21(pid, 0x019C, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 0x03E8, 0x00000000);
+ suspend;
+ }
+ else if (local_04 == 7) {
+ spawn FREE.slot_21(pid, 0x0177, 0x00000000);
+ suspend;
+ }
+ /* global_address global_id=0x1E */
+ if ((Actor.isDead() == 1) || (Ultima8Engine.getUnkCrusaderFlag() != 1)) {
+ return;
+ }
+ local_04 = (1 + local_04);
+ }
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
+ suspend;
+ /* global_address global_id=0x1E */
+ spawn FREE.slot_3B(pid, 0x012C, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ suspend;
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_2D_slot_2D.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_2D_slot_2D.txt
new file mode 100644
index 0000000..0fa1628
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_2D_slot_2D.txt
@@ -0,0 +1,48 @@
+function free_slot_2D() /* entry=475 class_id=0x0A1D slot=0x2D */
+{
+ entry:
+ set_info(0x0224, 0);
+ if global[0x0002] goto block_1095;
+
+ block_1092:
+ goto block_117D;
+
+ block_1095:
+ /* pop_global global_id=0x2 size=0x1 */
+
+ block_109B:
+ suspend;
+ spawn FREE.slot_3B(pid, arg_06, 0x00000000);
+ suspend;
+ if (!global[0x0002]) goto block_10BE;
+
+ block_10BB:
+ goto block_117D;
+
+ block_10BE:
+ arg_06 = (arg_06 - 1);
+ if (arg_06 != 0) goto block_117A;
+
+ block_10D5:
+ spawn FREE.slot_24(pid, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 90, 0x00000000);
+ suspend;
+ /* pop_global global_id=0x2 size=0x1 */
+ /* global_address global_id=0x1E */
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ suspend;
+ goto block_117D;
+
+ block_117A:
+ goto block_109B;
+
+ block_117D:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_2E_slot_2E.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_2E_slot_2E.txt
new file mode 100644
index 0000000..294823a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_2E_slot_2E.txt
@@ -0,0 +1,7 @@
+function free_slot_2E() /* entry=475 class_id=0x0A1D slot=0x2E */
+{
+ set_info(0x0224, global[0x001E]);
+ /* pop_global global_id=0x2 size=0x1 */
+ FREE.slot_3C(0, 0x0224, 0);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_2F_slot_2F.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_2F_slot_2F.txt
new file mode 100644
index 0000000..c1e069e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_2F_slot_2F.txt
@@ -0,0 +1,27 @@
+function free_slot_2F() /* entry=475 class_id=0x0A1D slot=0x2F */
+{
+ /* param_pid_chg bp_offset=0x6 target=[BP+06h] copy_type=0x1 */
+ set_info(1, global[0x001E]);
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = arg_06;
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ FREE.slot_4A();
+ /* global_address global_id=0x1E */
+ while (!Actor.isInCombat()) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ /* global_address global_id=0x1E */
+ if (Actor.isDead()) {
+ /* global_address global_id=0x1E */
+ while (!Actor.isBusy()) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_30_slot_30.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_30_slot_30.txt
new file mode 100644
index 0000000..05a0758
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_30_slot_30.txt
@@ -0,0 +1,25 @@
+function free_slot_30() /* entry=475 class_id=0x0A1D slot=0x30 */
+{
+ local_02 = (arg_06 - arg_0B);
+ local_04 = (arg_08 - arg_0D);
+ local_06 = (arg_0A - arg_0F);
+ FREE.slot_48(local_02);
+ local_02 = retval;
+ FREE.slot_48(local_04);
+ local_04 = retval;
+ FREE.slot_48(local_06);
+ local_06 = retval;
+ if ((local_02 <= local_04) && (local_02 > local_06)) {
+ return;
+ }
+ else if ((local_04 <= local_02) && (local_04 > local_06)) {
+ return;
+ }
+ else if ((local_06 <= local_02) && (local_06 > local_04)) {
+ return;
+ }
+ else {
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_31_slot_31.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_31_slot_31.txt
new file mode 100644
index 0000000..abe7747
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_31_slot_31.txt
@@ -0,0 +1,43 @@
+function free_slot_31() /* entry=475 class_id=0x0A1D slot=0x31 */
+{
+ local_02 = arg_06;
+ local_04 = arg_08;
+ /* global_address global_id=0x1E */
+ local_06 = Actor.getMap();
+ if (!Item.isNpc(local_02)) {
+ local_08 = local_02;
+ if (Actor.getMap(local_08) == local_06) {
+ return;
+ }
+ }
+ else if (!Item.isNpc(local_04)) {
+ local_0A = local_04;
+ if (Actor.getMap(local_0A) == local_06) {
+ return;
+ }
+ }
+ else {
+ local_0C = (Item.getX(local_02) - Item.getX(local_04));
+ local_0E = (Item.getY(local_02) - Item.getY(local_04));
+ local_10 = (Item.getZ(local_02) - Item.getZ(local_04));
+ FREE.slot_48(local_0C);
+ local_0C = retval;
+ FREE.slot_48(local_0E);
+ local_0E = retval;
+ FREE.slot_48(local_10);
+ local_10 = retval;
+ if ((local_0C <= local_0E) && (local_0C > local_10)) {
+ return;
+ }
+ else if ((local_0E <= local_0C) && (local_0E > local_10)) {
+ return;
+ }
+ else if ((local_10 <= local_0C) && (local_10 > local_0E)) {
+ return;
+ }
+ else {
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_32_slot_32.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_32_slot_32.txt
new file mode 100644
index 0000000..fdd526a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_32_slot_32.txt
@@ -0,0 +1,7 @@
+function free_slot_32() /* entry=475 class_id=0x0A1D slot=0x32 */
+{
+ FREE.slot_31(arg_08, arg_06);
+ local_02 = retval;
+ local_02 = (local_02 / 32);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_33_slot_33.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_33_slot_33.txt
new file mode 100644
index 0000000..a007971
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_33_slot_33.txt
@@ -0,0 +1,18 @@
+function free_slot_33() /* entry=475 class_id=0x0A1D slot=0x33 */
+{
+ local_06 = 0x7D00;
+ local_04 = 0;
+ /* loop_selector local_02 in nearby_items(shape=arg_08, origin=global[0x001E]) */
+ while (!condition) {
+ if (Item.getFrame(local_02) == arg_0A) {
+ FREE.slot_31(local_02, global[0x001E]);
+ local_08 = retval;
+ if (local_08 >= local_06) {
+ local_06 = local_08;
+ local_04 = local_02;
+ }
+ }
+ /* loopnext */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_34_slot_34.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_34_slot_34.txt
new file mode 100644
index 0000000..797baad
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_34_slot_34.txt
@@ -0,0 +1,10 @@
+function free_slot_34() /* entry=475 class_id=0x0A1D slot=0x34 */
+{
+ if (arg_06 == 0x4000) {
+ return;
+ }
+ else {
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_35_slot_35.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_35_slot_35.txt
new file mode 100644
index 0000000..3688ac0
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_35_slot_35.txt
@@ -0,0 +1,12 @@
+function free_slot_35() /* entry=475 class_id=0x0A1D slot=0x35 */
+{
+ if (arg_06 == 0x4000) {
+ /* rsh */
+ arg_08 = 8;
+ return;
+ }
+ else {
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_36_slot_36.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_36_slot_36.txt
new file mode 100644
index 0000000..b225aa2
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_36_slot_36.txt
@@ -0,0 +1,17 @@
+function free_slot_36() /* entry=475 class_id=0x0A1D slot=0x36 */
+{
+ local_02 = arg_06;
+ if (Item.getFamilyOfType(arg_08) == Item.getFamily(local_02)) {
+ if (!Item.legalCreateAtCoords(arg_10, arg_0E, arg_0C, arg_0A, arg_08, local_04)) {
+ return;
+ }
+ else {
+ return;
+ }
+ return;
+ }
+ else {
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_37_slot_37.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_37_slot_37.txt
new file mode 100644
index 0000000..9ea119f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_37_slot_37.txt
@@ -0,0 +1,15 @@
+function free_slot_37() /* entry=475 class_id=0x0A1D slot=0x37 */
+{
+ set_info(1, 0);
+ local_02 = arg_06;
+ if (Item.getShape(local_02) == 0x0476) {
+ local_06 = Item.getNpcNum(local_02);
+ local_0A = (local_06 & 15);
+ local_08 = Item.getMapNum(local_02);
+ local_08 = (((local_06 & 0x00E0) * 8) + local_08);
+ if (local_08 == 0) {
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_38_slot_38.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_38_slot_38.txt
new file mode 100644
index 0000000..3179c47
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_38_slot_38.txt
@@ -0,0 +1,15 @@
+function free_slot_38() /* entry=475 class_id=0x0A1D slot=0x38 */
+{
+ set_info(1, 0);
+ local_02 = arg_06;
+ if (Item.getShape(local_02) == 0x0476) {
+ local_06 = Item.getNpcNum(local_02);
+ local_0A = (local_06 & 15);
+ local_08 = Item.getMapNum(local_02);
+ local_08 = (((local_06 & 0x00E0) * 8) + local_08);
+ if ((local_08 == 0) && (local_08 != arg_08)) {
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_39_slot_39.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_39_slot_39.txt
new file mode 100644
index 0000000..503354a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_39_slot_39.txt
@@ -0,0 +1,11 @@
+function free_slot_39() /* entry=475 class_id=0x0A1D slot=0x39 */
+{
+ set_info(1, 0);
+ local_02 = arg_06;
+ if (Item.getShape(local_02) == 0x0476) {
+ if (arg_08 == 0) {
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_3A_slot_3A.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_3A_slot_3A.txt
new file mode 100644
index 0000000..e614aeb
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_3A_slot_3A.txt
@@ -0,0 +1,19 @@
+function free_slot_3A() /* entry=475 class_id=0x0A1D slot=0x3A */
+{
+ set_info(1, 0);
+ local_02 = arg_06;
+ if (!local_02) {
+ local_0A = Item.getFrame(local_02);
+ local_08 = Item.getShape(local_02);
+ local_06 = (local_08 & 0x00FF);
+ local_08 = (local_08 & 0x0700);
+ local_08 = (local_08 / 8);
+ local_08 = (local_08 + local_0A);
+ suspend;
+ /* bit_not */
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_3B_slot_3B.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_3B_slot_3B.txt
new file mode 100644
index 0000000..41695e3
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_3B_slot_3B.txt
@@ -0,0 +1,32 @@
+function free_slot_3B() /* entry=475 class_id=0x0A1D slot=0x3B */
+{
+ entry:
+ set_info(9, 0);
+ local_08 = Ultima8Engine.getCurrentTimerTick();
+ local_04 = Ultima8Engine.getCurrentTimerTick();
+ if (arg_06 < 1) goto block_1868;
+
+ block_1865:
+ goto block_1891;
+
+ block_1868:
+ suspend;
+ local_08 = Ultima8Engine.getCurrentTimerTick();
+ /* ne_dword */
+ if local_04 goto block_188E;
+
+ block_1878:
+ local_04 = local_08;
+ arg_06 = (arg_06 - 1);
+ if (arg_06 < 1) goto block_188E;
+
+ block_188B:
+ goto block_1891;
+
+ block_188E:
+ goto block_1868;
+
+ block_1891:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_3C_slot_3C.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_3C_slot_3C.txt
new file mode 100644
index 0000000..0b46f70
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_3C_slot_3C.txt
@@ -0,0 +1,4 @@
+function free_slot_3C() /* entry=475 class_id=0x0A1D slot=0x3C */
+{
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_3D_slot_3D.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_3D_slot_3D.txt
new file mode 100644
index 0000000..341eefc
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_3D_slot_3D.txt
@@ -0,0 +1,14 @@
+function free_slot_3D() /* entry=475 class_id=0x0A1D slot=0x3D */
+{
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ if (Item.getY((Item.getY((Item.getX((Item.getX() >= (arg_06 - 0x0200))) > (arg_06 + 0x0200))) >= (arg_08 - 0x0200))) <= (arg_08 + 0x0200)) {
+ return;
+ }
+ else {
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_3E_slot_3E.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_3E_slot_3E.txt
new file mode 100644
index 0000000..0d0c0ce
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_3E_slot_3E.txt
@@ -0,0 +1,20 @@
+function free_slot_3E() /* entry=475 class_id=0x0A1D slot=0x3E */
+{
+ entry:
+ local_04 = 0;
+
+ block_1909:
+ foreach_slist local_02 -> block_1918;
+
+ block_190E:
+ local_04 = (1 + local_04);
+ goto block_1909;
+
+ block_1918:
+ goto block_191E;
+
+ block_191E:
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_3F_slot_3F.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_3F_slot_3F.txt
new file mode 100644
index 0000000..f5f15c1
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_3F_slot_3F.txt
@@ -0,0 +1,13 @@
+function free_slot_3F() /* entry=475 class_id=0x0A1D slot=0x3F */
+{
+ /* free_local_slist bp_offset=0xFE target=[BP-02h] */
+ local_02 = arg_06;
+ /* create_list element_size=0x2 count=0x1 */
+ /* free_local_slist bp_offset=0x6 target=[BP+06h] */
+ arg_06 = arg_08;
+ /* append_list */
+ /* free_local_slist bp_offset=0x6 target=[BP+06h] */
+ arg_06 = local_02;
+ /* free_local_slist bp_offset=0xFE target=[BP-02h] */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_40_slot_40.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_40_slot_40.txt
new file mode 100644
index 0000000..06b5917
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_40_slot_40.txt
@@ -0,0 +1,12 @@
+function free_slot_40() /* entry=475 class_id=0x0A1D slot=0x40 */
+{
+ /* free_local_slist bp_offset=0xFE target=[BP-02h] */
+ local_02 = arg_06;
+ /* free_local_slist bp_offset=0x6 target=[BP+06h] */
+ arg_06 = arg_08;
+ /* append_list */
+ /* free_local_slist bp_offset=0x6 target=[BP+06h] */
+ arg_06 = local_02;
+ /* free_local_slist bp_offset=0xFE target=[BP-02h] */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_41_slot_41.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_41_slot_41.txt
new file mode 100644
index 0000000..35d864a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_41_slot_41.txt
@@ -0,0 +1,12 @@
+function free_slot_41() /* entry=475 class_id=0x0A1D slot=0x41 */
+{
+ /* create_list element_size=0x2 count=0x1 */
+ /* remove_matching_indirect element_size=0x2 */
+ /* free_local_slist bp_offset=0x6 target=[BP+06h] */
+ arg_06 = arg_08;
+ /* create_list element_size=0x2 count=0x1 */
+ /* append_list */
+ /* free_local_slist bp_offset=0x6 target=[BP+06h] */
+ arg_06 = arg_08;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_42_slot_42.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_42_slot_42.txt
new file mode 100644
index 0000000..8d17bd1
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_42_slot_42.txt
@@ -0,0 +1,25 @@
+function free_slot_42() /* entry=475 class_id=0x0A1D slot=0x42 */
+{
+ entry:
+
+ block_1991:
+ foreach_slist local_02 -> block_19A6;
+
+ block_1996:
+ /* create_list element_size=0x2 count=0x1 */
+ /* remove_matching_indirect element_size=0x2 */
+ /* free_local_slist bp_offset=0x6 target=[BP+06h] */
+ arg_06 = local_02;
+ goto block_1991;
+
+ block_19A6:
+ /* append_list */
+ /* free_local_slist bp_offset=0x6 target=[BP+06h] */
+ arg_06 = arg_08;
+ goto block_19B5;
+
+ block_19B5:
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_43_slot_43.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_43_slot_43.txt
new file mode 100644
index 0000000..258a8f4
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_43_slot_43.txt
@@ -0,0 +1,19 @@
+function free_slot_43() /* entry=475 class_id=0x0A1D slot=0x43 */
+{
+ entry:
+ local_04 = 0;
+
+ block_19C5:
+ foreach_list local_02 -> block_19D4;
+
+ block_19CA:
+ local_04 = (1 + local_04);
+ goto block_19C5;
+
+ block_19D4:
+ goto block_19DA;
+
+ block_19DA:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_44_slot_44.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_44_slot_44.txt
new file mode 100644
index 0000000..b8691a3
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_44_slot_44.txt
@@ -0,0 +1,141 @@
+function free_slot_44() /* entry=475 class_id=0x0A1D slot=0x44 */
+{
+ entry:
+ set_info(0x022B, 0);
+ local_0A = 1;
+ if World.getAlertActive() goto block_19F3;
+
+ block_19F0:
+ goto block_1D08;
+
+ block_19F3:
+ if (((global[0x000F] != 2) || (global[0x000F] != 4)) || (global[0x000F] != 7)) goto block_1A19;
+
+ block_1A11:
+ local_04 = 0x0118;
+ goto block_1A64;
+
+ block_1A19:
+ if ((global[0x000F] != 1) || (global[0x000F] != 5)) goto block_1A33;
+
+ block_1A2B:
+ local_04 = 0x0119;
+ goto block_1A64;
+
+ block_1A33:
+ if ((global[0x000F] != 3) || (global[0x000F] != 9)) goto block_1A4D;
+
+ block_1A45:
+ local_04 = 0x00A0;
+ goto block_1A64;
+
+ block_1A4D:
+ if (global[0x000F] != 10) goto block_1A5F;
+
+ block_1A57:
+ local_04 = 0x0117;
+ goto block_1A64;
+
+ block_1A5F:
+ local_04 = 0x0096;
+
+ block_1A64:
+ local_02 = 0;
+
+ block_1A68:
+ if (local_02 <= 2) goto block_1A91;
+
+ block_1A70:
+ spawn FREE.slot_21(pid, local_04, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ goto block_1A68;
+
+ block_1A91:
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ if (UCMachine.rndRange((UCMachine.rndRange((UCMachine.rndRange((UCMachine.rndRange((UCMachine.rndRange(10, 0) != 0), 10, 0) != 1), 10, 0) != 2), 10, 0) != 3), 10, 0) != 4) goto block_1B10;
+
+ block_1AF5:
+ spawn FREE.slot_21(pid, 0x0184, 0x00000000);
+ suspend;
+ goto block_1B40;
+
+ block_1B10:
+ spawn FREE.slot_21(pid, 0x0184, 0x00000000);
+ suspend;
+ spawn FREE.slot_21(pid, 0x0186, 0x00000000);
+ suspend;
+
+ block_1B40:
+ for local_06 in nearby_items(shape=0x0561, origin=local_0A) {
+ if (!Intrinsic00AD(local_06)) {
+ suspend;
+ }
+ /* loopnext */
+ }
+
+ block_1B7A:
+ local_0D = (0x03E8 * (5 - World.gameDifficulty()));
+
+ block_1B8A:
+ suspend;
+ if (!World.getAlertActive()) goto block_1B97;
+
+ block_1B94:
+ goto block_1D08;
+
+ block_1B97:
+ local_0A = 1;
+ spawn FREE.slot_3B(pid, local_0D, 0x00000000);
+ suspend;
+ local_02 = 0;
+
+ block_1BB6:
+ if (local_02 <= 2) goto block_1BDF;
+
+ block_1BBE:
+ spawn FREE.slot_21(pid, local_04, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ goto block_1BB6;
+
+ block_1BDF:
+ if (UCMachine.rndRange((UCMachine.rndRange((UCMachine.rndRange((UCMachine.rndRange((UCMachine.rndRange(10, 0) != 0), 10, 0) != 1), 10, 0) != 2), 10, 0) != 4), 10, 0) != 5) goto block_1C47;
+
+ block_1C2C:
+ spawn FREE.slot_21(pid, 0x0182, 0x00000000);
+ suspend;
+ goto block_1CB2;
+
+ block_1C47:
+ if (UCMachine.rndRange((UCMachine.rndRange(10, 0) != 6), 10, 0) != 7) goto block_1C9A;
+
+ block_1C67:
+ spawn FREE.slot_21(pid, 0x0184, 0x00000000);
+ suspend;
+ spawn FREE.slot_21(pid, 0x018C, 0x00000000);
+ suspend;
+ goto block_1CB2;
+
+ block_1C9A:
+ spawn FREE.slot_21(pid, 0x0184, 0x00000000);
+ suspend;
+
+ block_1CB2:
+ for local_06 in nearby_items(shape=0x0561, origin=local_0A) {
+ if (!Intrinsic00AD(local_06)) {
+ suspend;
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
+ suspend;
+ }
+ /* loopnext */
+ }
+
+ block_1D03:
+ goto block_1B8A;
+
+ block_1D08:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_45_slot_45.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_45_slot_45.txt
new file mode 100644
index 0000000..2d7220c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_45_slot_45.txt
@@ -0,0 +1,52 @@
+function free_slot_45() /* entry=475 class_id=0x0A1D slot=0x45 */
+{
+ set_info(1, 0);
+ FREE.slot_3C(0x022B, 0);
+ if (Ultima8Engine.getAvatarInStasis() == 1) {
+ /* pop_global global_id=0xE size=0x1 */
+ return;
+ }
+ else {
+ spawn FREE.slot_21(pid, 0x0195, 0x00000000);
+ suspend;
+ local_02 = UCMachine.rndRange(100, 0);
+ if (local_02 >= 30) {
+ spawn FREE.slot_21(pid, 0x0187, 0x00000000);
+ suspend;
+ local_02 = UCMachine.rndRange(100, 0);
+ if (local_02 >= 50) {
+ spawn FREE.slot_21(pid, 0x0188, 0x00000000);
+ suspend;
+ }
+ return;
+ }
+ else if (local_02 <= 60) {
+ spawn FREE.slot_21(pid, 0x0188, 0x00000000);
+ suspend;
+ local_02 = UCMachine.rndRange(100, 0);
+ if (local_02 >= 30) {
+ spawn FREE.slot_21(pid, 0x0187, 0x00000000);
+ suspend;
+ }
+ if (local_02 <= 60) {
+ spawn FREE.slot_21(pid, 0x0189, 0x00000000);
+ suspend;
+ }
+ return;
+ }
+ else {
+ spawn FREE.slot_21(pid, 0x018A, 0x00000000);
+ suspend;
+ local_02 = UCMachine.rndRange(100, 0);
+ if (local_02 >= 30) {
+ spawn FREE.slot_21(pid, 0x0188, 0x00000000);
+ suspend;
+ }
+ if (local_02 <= 60) {
+ spawn FREE.slot_21(pid, 0x0189, 0x00000000);
+ suspend;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_46_slot_46.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_46_slot_46.txt
new file mode 100644
index 0000000..f393898
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_46_slot_46.txt
@@ -0,0 +1,6 @@
+function free_slot_46() /* entry=475 class_id=0x0A1D slot=0x46 */
+{
+ set_info(1, 0);
+ /* global_address global_id=0x1E */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_47_slot_47.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_47_slot_47.txt
new file mode 100644
index 0000000..bfdae5a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_47_slot_47.txt
@@ -0,0 +1,9 @@
+function free_slot_47() /* entry=475 class_id=0x0A1D slot=0x47 */
+{
+ set_info(1, 0);
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_48_slot_48.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_48_slot_48.txt
new file mode 100644
index 0000000..ae29ffc
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_48_slot_48.txt
@@ -0,0 +1,10 @@
+function free_slot_48() /* entry=475 class_id=0x0A1D slot=0x48 */
+{
+ if (arg_06 <= 0) {
+ return;
+ }
+ else {
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_49_slot_49.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_49_slot_49.txt
new file mode 100644
index 0000000..5315649
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_49_slot_49.txt
@@ -0,0 +1,19 @@
+function free_slot_49() /* entry=475 class_id=0x0A1D slot=0x49 */
+{
+ set_info(1, 0);
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
+ while (!condition) {
+ if (MainActor.addItemCru(1, local_02)) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ }
+ /* loopnext */
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_4A_slot_4A.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_4A_slot_4A.txt
new file mode 100644
index 0000000..7a76904
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREE/slot_4A_slot_4A.txt
@@ -0,0 +1,9 @@
+function free_slot_4A() /* entry=475 class_id=0x0A1D slot=0x4A */
+{
+ set_info(1, 0);
+ /* loop_selector local_02 in selector_0x42(arg0=0x0560, arg1=0x0584, arg2=(50 * 32), origin=global[0x001E]) */
+ while (!condition) {
+ /* loopnext */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREEZ/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREEZ/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..d02790c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREEZ/slot_0E_calledFromAnim.txt
@@ -0,0 +1,9 @@
+function freez_calledFromAnim() /* entry=375 class_id=0x05D6 slot=0x0E */
+{
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ local_02 = *(arg_06);
+ set_info(1, 0);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), local_02);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREEZEXP/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREEZEXP/slot_06_gotHit.txt
new file mode 100644
index 0000000..72270e7
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREEZEXP/slot_06_gotHit.txt
@@ -0,0 +1,7 @@
+function freezexp_gotHit() /* entry=384 class_id=0x05EF slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREEZEXP/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREEZEXP/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..091e43b
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREEZEXP/slot_0E_calledFromAnim.txt
@@ -0,0 +1,9 @@
+function freezexp_calledFromAnim() /* entry=384 class_id=0x05EF slot=0x0E */
+{
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ local_02 = *(arg_06);
+ set_info(1, 0);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), local_02);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREEZEXP/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREEZEXP/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..110cc14
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREEZEXP/slot_0F_enterFastArea.txt
@@ -0,0 +1,9 @@
+function freezexp_enterFastArea() /* entry=384 class_id=0x05EF slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREIGHTE/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREIGHTE/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..aa4e56f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FREIGHTE/slot_0E_calledFromAnim.txt
@@ -0,0 +1,7 @@
+function freighte_calledFromAnim() /* entry=200 class_id=0x0384 slot=0x0E */
+{
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRGUNEW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRGUNEW/slot_06_gotHit.txt
new file mode 100644
index 0000000..bfa7451
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRGUNEW/slot_06_gotHit.txt
@@ -0,0 +1,36 @@
+function frgunew_gotHit() /* entry=387 class_id=0x05F3 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_02 = Item.getFrame(arg_06);
+ local_04 = Item.getQHi(arg_06);
+ if (local_02 <= 9) {
+ return;
+ }
+ else if (local_04 <= 99) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ return;
+ }
+ else {
+ FREE.slot_35(arg_0C, arg_0A);
+ if ((retval <= 0) && (local_02 > 0)) {
+ spawn ITEM.slot_29(pid, 120, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
+ suspend;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRGUNEW/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRGUNEW/slot_0A_equip.txt
new file mode 100644
index 0000000..fd16706
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRGUNEW/slot_0A_equip.txt
@@ -0,0 +1,22 @@
+function frgunew_equip() /* entry=387 class_id=0x05F3 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_04 = Item.getFrame(arg_06);
+ if (arg_0A == 0) {
+ local_06 = Kernel.getNumProcesses(0x0205, *(arg_06));
+ if (!local_06) {
+ ITEM.slot_24(4, arg_06);
+ }
+ return;
+ }
+ else if (arg_0A == 1) {
+ spawn FRGUNEW.slot_20(arg_06);
+ return;
+ }
+ else {
+ spawn FRGUNEW.slot_20(arg_06);
+ ITEM.slot_24(4, arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRGUNEW/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRGUNEW/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..67d3d6c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRGUNEW/slot_10_leaveFastArea.txt
@@ -0,0 +1,10 @@
+function frgunew_leaveFastArea() /* entry=387 class_id=0x05F3 slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06) >= 10) {
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRGUNEW/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRGUNEW/slot_20_slot_20.txt
new file mode 100644
index 0000000..68ef552
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRGUNEW/slot_20_slot_20.txt
@@ -0,0 +1,93 @@
+function frgunew_slot_20() /* entry=387 class_id=0x05F3 slot=0x20 */
+{
+ entry:
+ set_info(0x0205, *(arg_06));
+ local_02 = Item.getFrame(arg_06);
+ local_04 = Item.getQHi(arg_06);
+ local_0A = Kernel.getNumProcesses(0x0205, *(arg_06));
+ ITEM.slot_26(0x1000, arg_06);
+ if (((retval != 1) || (local_0A > 1)) || (local_02 != 10)) goto block_012C;
+
+ block_0129:
+ goto block_031E;
+
+ block_012C:
+ ITEM.slot_24(0x1000, arg_06);
+ if (local_04 > 99) goto block_0147;
+
+ block_0140:
+ local_04 = (local_04 - 100);
+
+ block_0147:
+ suspend;
+ local_08 = 0;
+
+ block_0156:
+ if (local_08 <= 8) goto block_0189;
+
+ block_015E:
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_08 = (1 + local_08);
+ goto block_0156;
+
+ block_0189:
+ if (local_04 != 0) goto block_01B5;
+
+ block_0191:
+ goto block_0256;
+
+ block_01B5:
+ if (local_04 != 1) goto block_01E0;
+
+ block_01BD:
+ goto block_0256;
+
+ block_01E0:
+ if (local_04 != 2) goto block_020B;
+
+ block_01E8:
+ goto block_0256;
+
+ block_020B:
+ if (local_04 != 3) goto block_0236;
+
+ block_0213:
+ goto block_0256;
+
+ block_0236:
+
+ block_0256:
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_08 = 0;
+
+ block_029C:
+ if (local_08 <= 7) goto block_02D2;
+
+ block_02A4:
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_08 = (1 + local_08);
+ goto block_029C;
+
+ block_02D2:
+ ITEM.slot_26(4, arg_06);
+ if retval goto block_02FB;
+
+ block_02E1:
+ ITEM.slot_25(4, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
+ goto block_031E;
+
+ block_02FB:
+ spawn FREE.slot_3B(pid, ((5 - World.gameDifficulty()) * 10), 0x00000000);
+ suspend;
+ goto block_0147;
+
+ block_031E:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRGUNNS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRGUNNS/slot_06_gotHit.txt
new file mode 100644
index 0000000..8af1d3d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRGUNNS/slot_06_gotHit.txt
@@ -0,0 +1,36 @@
+function frgunns_gotHit() /* entry=388 class_id=0x05F4 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_02 = Item.getFrame(arg_06);
+ local_04 = Item.getQHi(arg_06);
+ if (local_02 <= 9) {
+ return;
+ }
+ else if (local_04 <= 99) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ return;
+ }
+ else {
+ FREE.slot_35(arg_0C, arg_0A);
+ if ((retval <= 0) && (local_02 > 0)) {
+ spawn ITEM.slot_29(pid, 120, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
+ suspend;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRGUNNS/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRGUNNS/slot_0A_equip.txt
new file mode 100644
index 0000000..054fa2c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRGUNNS/slot_0A_equip.txt
@@ -0,0 +1,22 @@
+function frgunns_equip() /* entry=388 class_id=0x05F4 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_04 = Item.getFrame(arg_06);
+ if (arg_0A == 0) {
+ local_06 = Kernel.getNumProcesses(0x0205, *(arg_06));
+ if (!local_06) {
+ ITEM.slot_24(4, arg_06);
+ }
+ return;
+ }
+ else if (arg_0A == 1) {
+ spawn FRGUNNS.slot_20(arg_06);
+ return;
+ }
+ else {
+ spawn FRGUNNS.slot_20(arg_06);
+ ITEM.slot_24(4, arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRGUNNS/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRGUNNS/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..82e18b4
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRGUNNS/slot_10_leaveFastArea.txt
@@ -0,0 +1,10 @@
+function frgunns_leaveFastArea() /* entry=388 class_id=0x05F4 slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06) >= 10) {
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRGUNNS/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRGUNNS/slot_20_slot_20.txt
new file mode 100644
index 0000000..3009967
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRGUNNS/slot_20_slot_20.txt
@@ -0,0 +1,93 @@
+function frgunns_slot_20() /* entry=388 class_id=0x05F4 slot=0x20 */
+{
+ entry:
+ set_info(0x0205, *(arg_06));
+ local_02 = Item.getFrame(arg_06);
+ local_04 = Item.getQHi(arg_06);
+ local_0A = Kernel.getNumProcesses(0x0205, *(arg_06));
+ ITEM.slot_26(0x1000, arg_06);
+ if (((retval != 1) || (local_0A > 1)) || (local_02 != 10)) goto block_012C;
+
+ block_0129:
+ goto block_031E;
+
+ block_012C:
+ ITEM.slot_24(0x1000, arg_06);
+ if (local_04 > 99) goto block_0147;
+
+ block_0140:
+ local_04 = (local_04 - 100);
+
+ block_0147:
+ suspend;
+ local_08 = 0;
+
+ block_0156:
+ if (local_08 <= 8) goto block_0189;
+
+ block_015E:
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_08 = (1 + local_08);
+ goto block_0156;
+
+ block_0189:
+ if (local_04 != 0) goto block_01B5;
+
+ block_0191:
+ goto block_0256;
+
+ block_01B5:
+ if (local_04 != 1) goto block_01E0;
+
+ block_01BD:
+ goto block_0256;
+
+ block_01E0:
+ if (local_04 != 2) goto block_020B;
+
+ block_01E8:
+ goto block_0256;
+
+ block_020B:
+ if (local_04 != 3) goto block_0236;
+
+ block_0213:
+ goto block_0256;
+
+ block_0236:
+
+ block_0256:
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_08 = 0;
+
+ block_029C:
+ if (local_08 <= 7) goto block_02D2;
+
+ block_02A4:
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_08 = (1 + local_08);
+ goto block_029C;
+
+ block_02D2:
+ ITEM.slot_26(4, arg_06);
+ if retval goto block_02FB;
+
+ block_02E1:
+ ITEM.slot_25(4, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
+ goto block_031E;
+
+ block_02FB:
+ spawn FREE.slot_3B(pid, ((5 - World.gameDifficulty()) * 10), 0x00000000);
+ suspend;
+ goto block_0147;
+
+ block_031E:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRI_EW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRI_EW/slot_06_gotHit.txt
index e5438b5..83fe93f 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRI_EW/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRI_EW/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function fri_ew_gotHit() /* entry=15 class_id=0x004B slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A04_slot_23(pid, arg_0C, arg_0A, arg_06);
+ spawn DOOR.slot_23(pid, arg_0C, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRI_NS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRI_NS/slot_06_gotHit.txt
index b2ea863..2a7e1f6 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRI_NS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FRI_NS/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function fri_ns_gotHit() /* entry=156 class_id=0x02D8 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A04_slot_23(pid, arg_0C, arg_0A, arg_06);
+ spawn DOOR.slot_23(pid, arg_0C, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FUSREACT/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FUSREACT/slot_06_gotHit.txt
index fa6b9ef..f21f5eb 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FUSREACT/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FUSREACT/slot_06_gotHit.txt
@@ -6,15 +6,11 @@ function fusreact_gotHit() /* entry=101 class_id=0x01BC slot=0x06 */
return;
}
else {
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
- spawn class_0A0C_slot_2A(pid, 0, 1, arg_06);
+ spawn ITEM.slot_2A(pid, 0, 1, arg_06);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector local_02 in nearby_items(shape=0x01C1, origin=arg_06) */
while (!condition) {
/* loopnext */
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FUS_PAC/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FUS_PAC/slot_01_use.txt
new file mode 100644
index 0000000..decf650
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/FUS_PAC/slot_01_use.txt
@@ -0,0 +1,115 @@
+function fus_pac_use() /* entry=206 class_id=0x039C slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ /* global_address global_id=0x1E */
+ if (Actor.getMap() == 25) {
+ return;
+ }
+ else {
+ local_05 = *(arg_06);
+ set_info(0x00F0, 0);
+ /* global_address global_id=0x1E */
+ local_0D = Actor.getLastAnimSet();
+ /* global_address global_id=0x1E */
+ while (!Actor.isBusy()) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ /* global_address global_id=0x1E */
+ if (Actor.getDir() == 0) {
+ local_0F = -1;
+ local_11 = -3;
+ }
+ else if (Actor.getDir() == 1) {
+ local_0F = 0;
+ local_11 = -3;
+ }
+ else if (Actor.getDir() == 2) {
+ local_0F = 1;
+ local_11 = -3;
+ }
+ else if (Actor.getDir() == 3) {
+ local_0F = 2;
+ local_11 = -2;
+ }
+ else if (Actor.getDir() == 4) {
+ local_0F = 2;
+ local_11 = 1;
+ }
+ else if (Actor.getDir() == 5) {
+ local_0F = 2;
+ local_11 = 0;
+ }
+ else if (Actor.getDir() == 6) {
+ local_0F = 2;
+ local_11 = 2;
+ }
+ else if (Actor.getDir() == 7) {
+ local_0F = 0;
+ local_11 = 2;
+ }
+ else if (Actor.getDir() == 8) {
+ local_0F = -1;
+ local_11 = 2;
+ }
+ else if (Actor.getDir() == 9) {
+ local_0F = -2;
+ local_11 = 2;
+ }
+ else if (Actor.getDir() == 10) {
+ local_0F = -3;
+ local_11 = 2;
+ }
+ else if (Actor.getDir() == 11) {
+ local_0F = -3;
+ local_11 = 1;
+ }
+ else if (Actor.getDir() == 12) {
+ local_0F = -3;
+ local_11 = 0;
+ }
+ else if (Actor.getDir() == 13) {
+ local_0F = -3;
+ local_11 = -1;
+ }
+ else if (Actor.getDir() == 14) {
+ local_0F = -3;
+ local_11 = -2;
+ }
+ else if (Actor.getDir() == 15) {
+ local_0F = -3;
+ local_11 = -3;
+ }
+ /* global_address global_id=0x1E */
+ if (!Intrinsic0061()) {
+ local_03 = 1;
+ }
+ else {
+ local_03 = 0;
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ /* global_address global_id=0x1E */
+ local_16 = (Item.getX() + (local_0F * 16));
+ /* global_address global_id=0x1E */
+ local_14 = (Item.getY() + (local_11 * 16));
+ /* global_address global_id=0x1E */
+ local_12 = Item.getZ();
+ if (Item.legalCreateAtPoint(local_16, 0, 0x039C, local_02)) {
+ if (local_03) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ return;
+ }
+ else if (local_03) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNEW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNEW/slot_06_gotHit.txt
index bafb75a..6e04381 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNEW/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNEW/slot_06_gotHit.txt
@@ -2,6 +2,6 @@ function gatgunew_gotHit() /* entry=54 class_id=0x0113 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1A_slot_21(arg_0C, arg_0A, arg_06);
+ spawn WALLGUN2.slot_21(arg_0C, arg_0A, arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNEW/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNEW/slot_0A_equip.txt
index 72c0233..f6fb34a 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNEW/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNEW/slot_0A_equip.txt
@@ -3,12 +3,12 @@ function gatgunew_equip() /* entry=54 class_id=0x0113 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (World.getControlledNPCNum() == 0) {
- spawn class_0A19_slot_24(pid, arg_0A, World.getControlledNPCNum(), arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, World.getControlledNPCNum(), arg_06);
suspend;
return;
}
else {
- spawn class_0A19_slot_24(pid, arg_0A, global[0x001E], arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, global[0x001E], arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNEW/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNEW/slot_0B_unequip.txt
index 5a652e2..90e359c 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNEW/slot_0B_unequip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNEW/slot_0B_unequip.txt
@@ -6,7 +6,7 @@ function gatgunew_unequip() /* entry=54 class_id=0x0113 slot=0x0B */
return;
}
else {
- spawn class_0A19_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNEW/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNEW/slot_0F_enterFastArea.txt
index 360ef68..398d4b1 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNEW/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNEW/slot_0F_enterFastArea.txt
@@ -6,7 +6,7 @@ function gatgunew_enterFastArea() /* entry=54 class_id=0x0113 slot=0x0F */
return;
}
else {
- spawn class_0A19_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNEW/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNEW/slot_10_leaveFastArea.txt
index 6095795..753d94e 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNEW/slot_10_leaveFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNEW/slot_10_leaveFastArea.txt
@@ -3,7 +3,7 @@ function gatgunew_leaveFastArea() /* entry=54 class_id=0x0113 slot=0x10 */
set_info(0x021C, *(arg_06));
process_exclude();
/* bit_not */
- class_0A1D_slot_3C(1, *(arg_06));
- class_0A1D_slot_3C(0x020A, *(arg_06));
+ FREE.slot_3C(1, *(arg_06));
+ FREE.slot_3C(0x020A, *(arg_06));
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNNS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNNS/slot_06_gotHit.txt
index 5e3e066..ab34b29 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNNS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNNS/slot_06_gotHit.txt
@@ -2,6 +2,6 @@ function gatgunns_gotHit() /* entry=51 class_id=0x0108 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1A_slot_21(arg_0C, arg_0A, arg_06);
+ spawn WALLGUN2.slot_21(arg_0C, arg_0A, arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNNS/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNNS/slot_0A_equip.txt
index ee815e1..b7b2136 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNNS/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNNS/slot_0A_equip.txt
@@ -3,12 +3,12 @@ function gatgunns_equip() /* entry=51 class_id=0x0108 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (World.getControlledNPCNum() == 0) {
- spawn class_0A19_slot_24(pid, arg_0A, World.getControlledNPCNum(), arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, World.getControlledNPCNum(), arg_06);
suspend;
return;
}
else {
- spawn class_0A19_slot_24(pid, arg_0A, global[0x001E], arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, global[0x001E], arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNNS/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNNS/slot_0B_unequip.txt
index da898ed..439ef7c 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNNS/slot_0B_unequip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNNS/slot_0B_unequip.txt
@@ -6,7 +6,7 @@ function gatgunns_unequip() /* entry=51 class_id=0x0108 slot=0x0B */
return;
}
else {
- spawn class_0A19_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNNS/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNNS/slot_0F_enterFastArea.txt
index ce4ea1c..abf6fc0 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNNS/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNNS/slot_0F_enterFastArea.txt
@@ -6,7 +6,7 @@ function gatgunns_enterFastArea() /* entry=51 class_id=0x0108 slot=0x0F */
return;
}
else {
- spawn class_0A19_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNNS/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNNS/slot_10_leaveFastArea.txt
index db48332..7c34974 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNNS/slot_10_leaveFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GATGUNNS/slot_10_leaveFastArea.txt
@@ -3,7 +3,7 @@ function gatgunns_leaveFastArea() /* entry=51 class_id=0x0108 slot=0x10 */
set_info(0x021C, *(arg_06));
process_exclude();
/* bit_not */
- class_0A1D_slot_3C(1, *(arg_06));
- class_0A1D_slot_3C(0x020A, *(arg_06));
+ FREE.slot_3C(1, *(arg_06));
+ FREE.slot_3C(0x020A, *(arg_06));
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GBOX_EW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GBOX_EW/slot_06_gotHit.txt
new file mode 100644
index 0000000..d109ded
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GBOX_EW/slot_06_gotHit.txt
@@ -0,0 +1,31 @@
+function gbox_ew_gotHit() /* entry=304 class_id=0x0527 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ if (Item.getFrame(arg_06)) {
+ if (UCMachine.rndRange(1, 0) == 1) {
+ }
+ return;
+ }
+ else {
+ spawn ITEM.slot_29(pid, 100, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ spawn ITEM.slot_2C(pid, arg_06);
+ suspend;
+ spawn ITEM.slot_2A(pid, 1, 1, arg_06);
+ suspend;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GBOX_NS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GBOX_NS/slot_06_gotHit.txt
new file mode 100644
index 0000000..0eaf669
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GBOX_NS/slot_06_gotHit.txt
@@ -0,0 +1,31 @@
+function gbox_ns_gotHit() /* entry=303 class_id=0x0526 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ if (Item.getFrame(arg_06)) {
+ if (UCMachine.rndRange(1, 0) == 1) {
+ }
+ return;
+ }
+ else {
+ spawn ITEM.slot_29(pid, 100, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ spawn ITEM.slot_2C(pid, arg_06);
+ suspend;
+ spawn ITEM.slot_2A(pid, 1, 1, arg_06);
+ suspend;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GENERATR/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GENERATR/slot_06_gotHit.txt
new file mode 100644
index 0000000..af6fadd
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GENERATR/slot_06_gotHit.txt
@@ -0,0 +1,8 @@
+function generatr_gotHit() /* entry=219 class_id=0x03C1 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GLASS_EW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GLASS_EW/slot_06_gotHit.txt
index 43ee5eb..d35aa03 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GLASS_EW/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GLASS_EW/slot_06_gotHit.txt
@@ -3,28 +3,28 @@ function glass_ew_gotHit() /* entry=140 class_id=0x027B slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
local_04 = arg_0A;
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (retval) {
return;
}
else {
local_08 = *(arg_06);
- spawn class_0A0C_slot_29(pid, 1, arg_0C, arg_0A, arg_06);
+ spawn ITEM.slot_29(pid, 1, arg_0C, arg_0A, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A1D_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- spawn class_0A04_slot_22(pid, local_08);
+ spawn DOOR.slot_22(pid, local_08);
suspend;
if (Item.getFrame(arg_06)) {
local_06 = 1;
while (local_06 > 3) {
- spawn class_0A1D_slot_3B(pid, 5, 0x00000000);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_06 = (1 + local_06);
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GLASS_NS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GLASS_NS/slot_06_gotHit.txt
index f6711b9..29b7a1a 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GLASS_NS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GLASS_NS/slot_06_gotHit.txt
@@ -3,28 +3,28 @@ function glass_ns_gotHit() /* entry=165 class_id=0x02F3 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
local_04 = arg_0A;
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (retval) {
return;
}
else {
local_08 = *(arg_06);
- spawn class_0A0C_slot_29(pid, 1, arg_0C, arg_0A, arg_06);
+ spawn ITEM.slot_29(pid, 1, arg_0C, arg_0A, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A1D_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- spawn class_0A04_slot_22(pid, local_08);
+ spawn DOOR.slot_22(pid, local_08);
suspend;
if (Item.getFrame(arg_06)) {
local_06 = 1;
while (local_06 > 3) {
- spawn class_0A1D_slot_3B(pid, 5, 0x00000000);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_06 = (1 + local_06);
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GLDIV_EW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GLDIV_EW/slot_06_gotHit.txt
new file mode 100644
index 0000000..dcbd2ca
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GLDIV_EW/slot_06_gotHit.txt
@@ -0,0 +1,35 @@
+function gldiv_ew_gotHit() /* entry=313 class_id=0x0541 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_04 = arg_0A;
+ FREE.slot_35(arg_0C, arg_0A);
+ if (retval) {
+ return;
+ }
+ else {
+ local_08 = *(arg_06);
+ spawn ITEM.slot_29(pid, 1, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, local_08);
+ suspend;
+ if (Item.getFrame(arg_06)) {
+ local_06 = 1;
+ while (local_06 > 2) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_06 = (1 + local_06);
+ }
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GLDIV_NS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GLDIV_NS/slot_06_gotHit.txt
new file mode 100644
index 0000000..b26fe0b
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GLDIV_NS/slot_06_gotHit.txt
@@ -0,0 +1,35 @@
+function gldiv_ns_gotHit() /* entry=314 class_id=0x0542 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_04 = arg_0A;
+ FREE.slot_35(arg_0C, arg_0A);
+ if (retval) {
+ return;
+ }
+ else {
+ local_08 = *(arg_06);
+ spawn ITEM.slot_29(pid, 1, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ spawn DOOR.slot_22(pid, local_08);
+ suspend;
+ if (Item.getFrame(arg_06)) {
+ local_06 = 1;
+ while (local_06 > 2) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_06 = (1 + local_06);
+ }
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNEW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNEW/slot_06_gotHit.txt
new file mode 100644
index 0000000..b5eef70
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNEW/slot_06_gotHit.txt
@@ -0,0 +1,7 @@
+function govgunew_gotHit() /* entry=207 class_id=0x03A1 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ spawn WALLGUN2.slot_21(arg_0C, arg_0A, arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNEW/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNEW/slot_0A_equip.txt
new file mode 100644
index 0000000..4f842e1
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNEW/slot_0A_equip.txt
@@ -0,0 +1,15 @@
+function govgunew_equip() /* entry=207 class_id=0x03A1 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (World.getControlledNPCNum() == 0) {
+ spawn WALLGUN.slot_24(pid, arg_0A, World.getControlledNPCNum(), arg_06);
+ suspend;
+ return;
+ }
+ else {
+ spawn WALLGUN.slot_24(pid, arg_0A, global[0x001E], arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNEW/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNEW/slot_0B_unequip.txt
new file mode 100644
index 0000000..bb04734
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNEW/slot_0B_unequip.txt
@@ -0,0 +1,12 @@
+function govgunew_unequip() /* entry=207 class_id=0x03A1 slot=0x0B */
+{
+ set_info(0x0212, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 4)) {
+ return;
+ }
+ else {
+ spawn WALLGUN.slot_27(arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNEW/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNEW/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..cbd075e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNEW/slot_0F_enterFastArea.txt
@@ -0,0 +1,12 @@
+function govgunew_enterFastArea() /* entry=207 class_id=0x03A1 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 4)) {
+ return;
+ }
+ else {
+ spawn WALLGUN.slot_27(arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNEW/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNEW/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..ef6fecd
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNEW/slot_10_leaveFastArea.txt
@@ -0,0 +1,9 @@
+function govgunew_leaveFastArea() /* entry=207 class_id=0x03A1 slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ /* bit_not */
+ FREE.slot_3C(1, *(arg_06));
+ FREE.slot_3C(0x020A, *(arg_06));
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNNS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNNS/slot_06_gotHit.txt
new file mode 100644
index 0000000..6533683
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNNS/slot_06_gotHit.txt
@@ -0,0 +1,7 @@
+function govgunns_gotHit() /* entry=204 class_id=0x0399 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ spawn WALLGUN2.slot_21(arg_0C, arg_0A, arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNNS/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNNS/slot_0A_equip.txt
new file mode 100644
index 0000000..21ce145
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNNS/slot_0A_equip.txt
@@ -0,0 +1,15 @@
+function govgunns_equip() /* entry=204 class_id=0x0399 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (World.getControlledNPCNum() == 0) {
+ spawn WALLGUN.slot_24(pid, arg_0A, World.getControlledNPCNum(), arg_06);
+ suspend;
+ return;
+ }
+ else {
+ spawn WALLGUN.slot_24(pid, arg_0A, global[0x001E], arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNNS/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNNS/slot_0B_unequip.txt
new file mode 100644
index 0000000..4bfe752
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNNS/slot_0B_unequip.txt
@@ -0,0 +1,12 @@
+function govgunns_unequip() /* entry=204 class_id=0x0399 slot=0x0B */
+{
+ set_info(0x0212, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 4)) {
+ return;
+ }
+ else {
+ spawn WALLGUN.slot_27(arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNNS/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNNS/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..1299bf3
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNNS/slot_0F_enterFastArea.txt
@@ -0,0 +1,12 @@
+function govgunns_enterFastArea() /* entry=204 class_id=0x0399 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 4)) {
+ return;
+ }
+ else {
+ spawn WALLGUN.slot_27(arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNNS/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNNS/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..257a528
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GOVGUNNS/slot_10_leaveFastArea.txt
@@ -0,0 +1,9 @@
+function govgunns_leaveFastArea() /* entry=204 class_id=0x0399 slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ /* bit_not */
+ FREE.slot_3C(1, *(arg_06));
+ FREE.slot_3C(0x020A, *(arg_06));
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GRATE_EW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GRATE_EW/slot_06_gotHit.txt
index b0f5a0a..cc9b1a5 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GRATE_EW/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GRATE_EW/slot_06_gotHit.txt
@@ -2,13 +2,13 @@ function grate_ew_gotHit() /* entry=53 class_id=0x0110 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
local_02 = retval;
if (((local_02 == 4) && (local_02 != 3)) && (local_02 != 10)) {
return;
}
else {
- spawn class_0A0C_slot_29(pid, 0x00C8, arg_0C, arg_0A, arg_06);
+ spawn ITEM.slot_29(pid, 0x00C8, arg_0C, arg_0A, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GRATE_NS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GRATE_NS/slot_06_gotHit.txt
new file mode 100644
index 0000000..bec35bf
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GRATE_NS/slot_06_gotHit.txt
@@ -0,0 +1,32 @@
+function grate_ns_gotHit() /* entry=346 class_id=0x058D slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ local_02 = retval;
+ if (((local_02 == 4) && (local_02 != 3)) && (local_02 != 10)) {
+ return;
+ }
+ else {
+ spawn ITEM.slot_29(pid, 0x00C8, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ return;
+ }
+ else {
+ local_10 = Item.getQLo(arg_06);
+ local_0A = Item.getX(arg_06);
+ local_0C = Item.getY(arg_06);
+ local_0E = Item.getZ(arg_06);
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x4C */
+ /* loop current_var=0xF8 string_bytes=0x1A loop_type=0x2 */
+ while (!condition) {
+ local_12 = Item.getQLo(local_08);
+ /* loopnext */
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GRAVITON/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GRAVITON/slot_01_use.txt
new file mode 100644
index 0000000..872d2a3
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GRAVITON/slot_01_use.txt
@@ -0,0 +1,6 @@
+function graviton_use() /* entry=309 class_id=0x0530 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GRENEGG/slot_07_hatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GRENEGG/slot_07_hatch.txt
new file mode 100644
index 0000000..0cd8274
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GRENEGG/slot_07_hatch.txt
@@ -0,0 +1,24 @@
+function grenegg_hatch() /* entry=428 class_id=0x0909 slot=0x07 */
+{
+ set_info(0x0210, *(arg_06));
+ process_exclude();
+ /* loop_selector local_02 in nearby_items(shape=0x033A, origin=arg_06) */
+ while (!condition) {
+ if (Item.getFrame(local_02) == 0) {
+ local_04 = local_02;
+ }
+ /* loopnext */
+ }
+ for local_02 in nearby_items(shape=0x033A, origin=arg_06) {
+ if (Item.getFrame(local_02) == 0) {
+ local_06 = local_02;
+ }
+ /* loopnext */
+ }
+ if (!(local_04 && local_06)) {
+ local_0D = Item.getX(local_06);
+ local_0B = Item.getY(local_06);
+ local_09 = Item.getZ(local_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GTELEPAD/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GTELEPAD/slot_06_gotHit.txt
index 241896e..df441a5 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GTELEPAD/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GTELEPAD/slot_06_gotHit.txt
@@ -3,7 +3,7 @@ function gtelepad_gotHit() /* entry=52 class_id=0x010D slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
local_02 = arg_0A;
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GTELEPAD/slot_09_release.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GTELEPAD/slot_09_release.txt
index 8391600..de55c04 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GTELEPAD/slot_09_release.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/GTELEPAD/slot_09_release.txt
@@ -2,7 +2,7 @@ function gtelepad_release() /* entry=52 class_id=0x010D slot=0x09 */
{
set_info(0x020D, *(arg_06));
process_exclude();
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
@@ -21,7 +21,7 @@ function gtelepad_release() /* entry=52 class_id=0x010D slot=0x09 */
if (local_04 == 1) {
/* global_address global_id=0x1E */
while (!Item.isOn(*(arg_06))) {
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/G_POOL/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/G_POOL/slot_06_gotHit.txt
index 589c27d..4f9e861 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/G_POOL/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/G_POOL/slot_06_gotHit.txt
@@ -3,9 +3,9 @@ function g_pool_gotHit() /* entry=75 class_id=0x015D slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
local_02 = arg_0A;
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (retval == 4) {
- spawn class_0A0C_slot_2A(pid, 1, 1, arg_06);
+ spawn ITEM.slot_2A(pid, 1, 1, arg_06);
suspend;
}
if ((arg_0A <= 0x0100) && (arg_0A == World.getControlledNPCNum())) {
@@ -15,10 +15,10 @@ function g_pool_gotHit() /* entry=75 class_id=0x015D slot=0x06 */
while (!(1)) {
/* global_address global_id=0x1E */
if (!Item.isCentreOn(*(arg_06))) {
- class_0A1D_slot_20(8, 20);
+ FREE.slot_20(8, 20);
/* global_address global_id=0x1E */
/* global_address global_id=0x1E */
- spawn class_0A1D_slot_3B(pid, 60, 0x00000000);
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
suspend;
}
else {
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOLO/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOLO/slot_01_use.txt
new file mode 100644
index 0000000..a1faa9f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOLO/slot_01_use.txt
@@ -0,0 +1,27 @@
+function holo_use() /* entry=355 class_id=0x05AD slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06) == 0) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ return;
+ }
+ else if (Item.getFrame(arg_06) == 1) {
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x3D */
+ /* loopscr value_u8=0x40 */
+ /* loopscr value_u8=0x25 */
+ /* loop current_var=0xFE string_bytes=0x6 loop_type=0x6 */
+ while (!condition) {
+ /* loopnext */
+ }
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ return;
+ }
+ else {
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOLO/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOLO/slot_06_gotHit.txt
new file mode 100644
index 0000000..14dea81
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOLO/slot_06_gotHit.txt
@@ -0,0 +1,24 @@
+function holo_gotHit() /* entry=355 class_id=0x05AD slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06) <= 1) {
+ return;
+ }
+ else {
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ spawn ITEM.slot_2A(pid, 0, 1, arg_06);
+ suspend;
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x3D */
+ /* loopscr value_u8=0x40 */
+ /* loopscr value_u8=0x25 */
+ /* loop current_var=0xFE string_bytes=0x6 loop_type=0x6 */
+ while (!condition) {
+ /* loopnext */
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOLO/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOLO/slot_0A_equip.txt
new file mode 100644
index 0000000..b7c8dfd
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOLO/slot_0A_equip.txt
@@ -0,0 +1,27 @@
+function holo_equip() /* entry=355 class_id=0x05AD slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06) == 2) {
+ return;
+ }
+ else if (arg_0A == 0) {
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x3D */
+ /* loopscr value_u8=0x40 */
+ /* loopscr value_u8=0x25 */
+ /* loop current_var=0xFE string_bytes=0x6 loop_type=0x6 */
+ while (!condition) {
+ /* loopnext */
+ }
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ return;
+ }
+ else if (arg_0A == 1) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOLO/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOLO/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..06659c7
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOLO/slot_0F_enterFastArea.txt
@@ -0,0 +1,6 @@
+function holo_enterFastArea() /* entry=355 class_id=0x05AD slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER/slot_20_slot_20.txt
new file mode 100644
index 0000000..0b576bd
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER/slot_20_slot_20.txt
@@ -0,0 +1,395 @@
+function hover_slot_20() /* entry=457 class_id=0x0A0B slot=0x20 */
+{
+ set_info(1, 0);
+ local_19 = arg_0A;
+ local_1B = Item.getX(local_19);
+ local_1D = Item.getY(local_19);
+ local_1E = Item.getZ(local_19);
+ FREE.slot_48((arg_0C - local_1B));
+ local_20 = retval;
+ FREE.slot_48((arg_0E - local_1D));
+ local_22 = retval;
+ FREE.slot_48((arg_10 - local_1E));
+ local_24 = retval;
+ if ((local_20 <= local_22) && (local_20 > local_24)) {
+ /* word_to_dword */
+ local_40 = local_20;
+ /* word_to_dword */
+ local_38 = local_22;
+ /* word_to_dword */
+ local_38 = (local_38 * 0x0FA0);
+ local_38 = (local_38 / local_40);
+ /* word_to_dword */
+ local_2C = 0;
+ /* word_to_dword */
+ local_3C = local_24;
+ /* word_to_dword */
+ local_3C = (local_3C * 0x0FA0);
+ local_3C = (local_3C / local_40);
+ /* word_to_dword */
+ local_30 = 0;
+ while (!(1)) {
+ if ((Item.getStatus(local_19) & 0x1000) == 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ local_11 = (arg_0C - local_1B);
+ local_13 = (arg_0E - local_1D);
+ local_15 = (arg_10 - local_1E);
+ local_0B = 0;
+ local_0D = 0;
+ local_0F = 0;
+ if ((local_11 >= 4) && (local_11 > -4)) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ local_0B = 4;
+ if (local_11 >= 0) {
+ local_0B = -4;
+ }
+ if (!local_13) {
+ local_2C = (local_2C + local_38);
+ /* word_to_dword */
+ /* gt_dword */
+ if (!(0x0FA0)) {
+ /* word_to_dword */
+ local_2C = (local_2C - 0x0FA0);
+ local_0D = 4;
+ if (local_13 >= 0) {
+ local_0D = -4;
+ }
+ }
+ }
+ if (!local_15) {
+ local_30 = (local_30 + local_3C);
+ /* word_to_dword */
+ /* gt_dword */
+ if (!(0x0FA0)) {
+ /* word_to_dword */
+ local_30 = (local_30 - 0x0FA0);
+ local_0F = 4;
+ if (local_15 >= 0) {
+ local_0F = -4;
+ }
+ }
+ }
+ local_07 = 0;
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xE9 string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ if (Item.getShape(local_17) == 0x033A) {
+ if (local_17 >= 0x00FF) {
+ local_42 = local_17;
+ if (!Actor.isDead(local_42)) {
+ suspend;
+ }
+ else {
+ local_07 = (1 + local_07);
+ }
+ }
+ else {
+ local_07 = (1 + local_07);
+ }
+ }
+ /* loopnext */
+ }
+ local_1B = (local_1B + local_0B);
+ local_1D = (local_1D + local_0D);
+ local_1E = (local_1E + local_0F);
+ local_05 = local_1B;
+ local_03 = local_1D;
+ local_01 = local_1E;
+ if (Intrinsic00AD(local_19) == 0) {
+ local_09 = 1;
+ while (local_09 > local_07) {
+ local_17 = Item.getEtherealTop();
+ local_09 = (1 + local_09);
+ }
+ }
+ else if (!Item.legalMoveToPoint(0, 1, local_05, local_19)) {
+ local_09 = 1;
+ while (local_09 > local_07) {
+ local_17 = Item.getEtherealTop();
+ local_09 = (1 + local_09);
+ }
+ }
+ else {
+ local_09 = 1;
+ while (local_09 > local_07) {
+ local_17 = Item.getEtherealTop();
+ local_09 = (1 + local_09);
+ }
+ if (!(Item.getQHi(local_19) & 16)) {
+ /* bit_not */
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ local_1B = (local_1B - local_0B);
+ local_1D = (local_1D - local_0D);
+ local_1E = (local_1E - local_0F);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ }
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ }
+ return;
+ }
+ else if ((local_22 <= local_20) && (local_22 > local_24)) {
+ /* word_to_dword */
+ local_40 = local_22;
+ /* word_to_dword */
+ local_34 = local_20;
+ /* word_to_dword */
+ local_34 = (local_34 * 0x0FA0);
+ local_34 = (local_34 / local_40);
+ /* word_to_dword */
+ local_28 = 0;
+ /* word_to_dword */
+ local_3C = local_24;
+ /* word_to_dword */
+ local_3C = (local_3C * 0x0FA0);
+ local_3C = (local_3C / local_40);
+ /* word_to_dword */
+ local_30 = 0;
+ while (!(1)) {
+ if ((Item.getStatus(local_19) & 0x1000) == 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ local_11 = (arg_0C - local_1B);
+ local_13 = (arg_0E - local_1D);
+ local_15 = (arg_10 - local_1E);
+ local_0B = 0;
+ local_0D = 0;
+ local_0F = 0;
+ if ((local_13 >= 4) && (local_13 > -4)) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ if (!local_11) {
+ local_28 = (local_28 + local_34);
+ /* word_to_dword */
+ /* gt_dword */
+ if (!(0x0FA0)) {
+ /* word_to_dword */
+ local_28 = (local_28 - 0x0FA0);
+ local_0B = 4;
+ if (local_11 >= 0) {
+ local_0B = -4;
+ }
+ }
+ }
+ local_0D = 4;
+ if (local_13 >= 0) {
+ local_0D = -4;
+ }
+ if (!local_15) {
+ local_30 = (local_30 + local_3C);
+ /* word_to_dword */
+ /* gt_dword */
+ if (!(0x0FA0)) {
+ /* word_to_dword */
+ local_30 = (local_30 - 0x0FA0);
+ local_0F = 4;
+ if (local_15 >= 0) {
+ local_0F = -4;
+ }
+ }
+ }
+ local_07 = 0;
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xE9 string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ if (Item.getShape(local_17) == 0x033A) {
+ if (local_17 >= 0x00FF) {
+ local_42 = local_17;
+ if (!Actor.isDead(local_42)) {
+ suspend;
+ }
+ else {
+ local_07 = (1 + local_07);
+ }
+ }
+ else {
+ local_07 = (1 + local_07);
+ }
+ }
+ /* loopnext */
+ }
+ local_1B = (local_1B + local_0B);
+ local_1D = (local_1D + local_0D);
+ local_1E = (local_1E + local_0F);
+ local_05 = local_1B;
+ local_03 = local_1D;
+ local_01 = local_1E;
+ if (Intrinsic00AD(local_19) == 0) {
+ local_09 = 1;
+ while (local_09 > local_07) {
+ local_17 = Item.getEtherealTop();
+ local_09 = (1 + local_09);
+ }
+ }
+ else if (!Item.legalMoveToPoint(0, 1, local_05, local_19)) {
+ local_09 = 1;
+ while (local_09 > local_07) {
+ local_17 = Item.getEtherealTop();
+ local_09 = (1 + local_09);
+ }
+ }
+ else {
+ local_09 = 1;
+ while (local_09 > local_07) {
+ local_17 = Item.getEtherealTop();
+ local_09 = (1 + local_09);
+ }
+ if (!(Item.getQHi(local_19) & 16)) {
+ /* bit_not */
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ local_1B = (local_1B - local_0B);
+ local_1D = (local_1D - local_0D);
+ local_1E = (local_1E - local_0F);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ }
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ }
+ return;
+ }
+ else {
+ /* word_to_dword */
+ local_40 = local_24;
+ /* word_to_dword */
+ local_34 = local_20;
+ /* word_to_dword */
+ local_34 = (local_34 * 0x0FA0);
+ local_34 = (local_34 / local_40);
+ /* word_to_dword */
+ local_28 = 0;
+ /* word_to_dword */
+ local_38 = local_22;
+ /* word_to_dword */
+ local_38 = (local_38 * 0x0FA0);
+ local_38 = (local_38 / local_40);
+ /* word_to_dword */
+ local_2C = 0;
+ while (!(1)) {
+ if ((Item.getStatus(local_19) & 0x1000) == 0) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ local_11 = (arg_0C - local_1B);
+ local_13 = (arg_0E - local_1D);
+ local_15 = (arg_10 - local_1E);
+ local_0B = 0;
+ local_0D = 0;
+ local_0F = 0;
+ if ((local_15 >= 4) && (local_15 > -4)) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ if (!local_11) {
+ local_28 = (local_28 + local_34);
+ /* word_to_dword */
+ /* gt_dword */
+ if (!(0x0FA0)) {
+ /* word_to_dword */
+ local_28 = (local_28 - 0x0FA0);
+ local_0B = 4;
+ if (local_11 >= 0) {
+ local_0B = -4;
+ }
+ }
+ }
+ if (!local_13) {
+ local_2C = (local_2C + local_38);
+ /* word_to_dword */
+ /* gt_dword */
+ if (!(0x0FA0)) {
+ /* word_to_dword */
+ local_2C = (local_2C - 0x0FA0);
+ local_0D = 4;
+ if (local_13 >= 0) {
+ local_0D = -4;
+ }
+ }
+ }
+ local_0F = 4;
+ if (local_15 >= 0) {
+ local_0F = -4;
+ }
+ local_07 = 0;
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xE9 string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ if (Item.getShape(local_17) == 0x033A) {
+ if (local_17 >= 0x00FF) {
+ local_42 = local_17;
+ if (!Actor.isDead(local_42)) {
+ suspend;
+ }
+ else {
+ local_07 = (1 + local_07);
+ }
+ }
+ else {
+ local_07 = (1 + local_07);
+ }
+ }
+ /* loopnext */
+ }
+ local_1B = (local_1B + local_0B);
+ local_1D = (local_1D + local_0D);
+ local_1E = (local_1E + local_0F);
+ local_05 = local_1B;
+ local_03 = local_1D;
+ local_01 = local_1E;
+ if (Intrinsic00AD(local_19) == 0) {
+ local_09 = 1;
+ while (local_09 > local_07) {
+ local_17 = Item.getEtherealTop();
+ local_09 = (1 + local_09);
+ }
+ }
+ else if (!Item.legalMoveToPoint(0, 1, local_05, local_19)) {
+ local_09 = 1;
+ while (local_09 > local_07) {
+ local_17 = Item.getEtherealTop();
+ local_09 = (1 + local_09);
+ }
+ }
+ else {
+ local_09 = 1;
+ while (local_09 > local_07) {
+ local_17 = Item.getEtherealTop();
+ local_09 = (1 + local_09);
+ }
+ if (!(Item.getQHi(local_19) & 16)) {
+ /* bit_not */
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ local_1B = (local_1B - local_0B);
+ local_1D = (local_1D - local_0D);
+ local_1E = (local_1E - local_0F);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ }
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER/slot_21_slot_21.txt
new file mode 100644
index 0000000..5aaa7b4
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER/slot_21_slot_21.txt
@@ -0,0 +1,115 @@
+function hover_slot_21() /* entry=457 class_id=0x0A0B slot=0x21 */
+{
+ entry:
+ set_info(1, 0);
+ local_13 = arg_0A;
+ local_02 = Item.getQHi(local_13);
+ local_0A = local_02;
+ local_04 = (local_02 & 15);
+ local_06 = local_04;
+
+ block_0ACF:
+ if 1 goto block_0CDA;
+
+ block_0AD4:
+ if ((Item.getStatus(local_13) & 0x1000) != 0) goto block_0B0A;
+
+ block_0AE7:
+ spawn HOVER.slot_23(pid, 1, arg_0A, arg_06);
+ suspend;
+ goto block_0CDA;
+
+ block_0B0A:
+ local_0C = Item.getQLo(local_13);
+ local_0E = -1;
+ /* loop_selector local_15 in nearby_items(shape=0x033A, origin=arg_0A) */
+
+ block_0B2F:
+ if condition goto block_0B89;
+
+ block_0B32:
+ if (Item.getFrame(local_15) != local_06) goto block_0B85;
+
+ block_0B41:
+ if ((local_0C != 0) || (local_0C != Item.getQLo(local_15))) goto block_0B85;
+
+ block_0B56:
+ local_0E = Item.getX(local_15);
+ local_10 = Item.getY(local_15);
+ local_11 = Item.getZ(local_15);
+ local_08 = Item.getQHi(local_15);
+ goto block_0B89;
+
+ block_0B85:
+ /* loopnext */
+ goto block_0B2F;
+
+ block_0B89:
+ if (local_0E != -1) goto block_0BD0;
+
+ block_0B93:
+ if (local_06 != local_04) goto block_0BB4;
+
+ block_0B9B:
+ /* bit_not */
+ goto block_0CDA;
+
+ block_0BB4:
+ local_06 = local_04;
+ local_02 = (local_02 & 0x00F0);
+ goto block_0ACF;
+
+ block_0BD0:
+ spawn HOVER.slot_20(pid, local_11, local_10, local_0E, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result != 1) goto block_0BFF;
+
+ block_0BF2:
+ goto block_0CDA;
+
+ block_0BFF:
+ spawn HOVER.slot_24(pid, local_06, arg_0A, arg_06);
+ suspend;
+ if ((Item.getStatus(local_13) & 0x1000) != 0) goto block_0C4B;
+
+ block_0C28:
+ spawn HOVER.slot_23(pid, 1, arg_0A, arg_06);
+ suspend;
+ goto block_0CDA;
+
+ block_0C4B:
+ if (local_02 & 0x0080) goto block_0C6E;
+
+ block_0C54:
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), local_15, arg_06);
+ suspend;
+
+ block_0C6E:
+ if (local_08 != 0) goto block_0C90;
+
+ block_0C76:
+ spawn FREE.slot_3B(pid, (local_08 * 10), 0x00000000);
+ suspend;
+
+ block_0C90:
+ local_02 = Item.getQHi(local_13);
+ if ((local_02 & 15) != local_06) goto block_0CB3;
+
+ block_0CA6:
+ local_06 = ((local_06 + 1) & 15);
+ goto block_0CC2;
+
+ block_0CB3:
+ local_04 = (local_02 & 15);
+ local_06 = local_04;
+ local_0A = local_02;
+
+ block_0CC2:
+ local_02 = (local_02 & 0x00F0);
+ goto block_0ACF;
+
+ block_0CDA:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER/slot_22_slot_22.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER/slot_22_slot_22.txt
new file mode 100644
index 0000000..4cb8caf
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER/slot_22_slot_22.txt
@@ -0,0 +1,37 @@
+function hover_slot_22() /* entry=457 class_id=0x0A0B slot=0x22 */
+{
+ set_info(0x021B, *(arg_06));
+ if (arg_0A == 0x00FF) {
+ if ((Item.getStatus(arg_06) & 0x1000) == 0) {
+ spawn HOVER.slot_21(*(arg_06), arg_06);
+ }
+ return;
+ }
+ else if (arg_0A == 0x00FE) {
+ /* bit_not */
+ return;
+ }
+ else if (arg_0A == 0x00FD) {
+ /* bit_not */
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
+ suspend;
+ local_02 = Item.getQHi(arg_06);
+ spawn HOVER.slot_20(pid, 0, Item.getY(arg_06), Item.getX(arg_06), *(arg_06), arg_06);
+ suspend;
+ /* bit_not */
+ return;
+ }
+ else if (arg_0A == 0x00FC) {
+ /* bit_not */
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
+ suspend;
+ spawn HOVER.slot_23(pid, 0, *(arg_06), arg_06);
+ suspend;
+ return;
+ }
+ else if ((Item.getStatus(arg_06) & 0x1000) == 0) {
+ spawn HOVER.slot_21(pid, *(arg_06), arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER/slot_23_slot_23.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER/slot_23_slot_23.txt
new file mode 100644
index 0000000..4b809f1
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER/slot_23_slot_23.txt
@@ -0,0 +1,33 @@
+function hover_slot_23() /* entry=457 class_id=0x0A0B slot=0x23 */
+{
+ set_info(1, 0);
+ local_06 = arg_0A;
+ if ((arg_0C == 1) && (Intrinsic00AD(local_06) != 1)) {
+ return;
+ }
+ else {
+ local_0E = (Item.getQHi(local_06) & 15);
+ local_10 = Item.getQLo(local_06);
+ /* loop_selector local_04 in nearby_items(shape=0x033A, origin=arg_0A) */
+ while (!condition) {
+ if (Item.getFrame(local_04) == local_0E) {
+ if ((local_10 == 0) || (local_10 != Item.getQLo(local_04))) {
+ local_12 = Item.getX(local_04);
+ local_14 = Item.getY(local_04);
+ local_15 = Item.getZ(local_04);
+ local_08 = (local_12 - Item.getX(local_06));
+ local_0A = (local_14 - Item.getY(local_06));
+ local_0C = (local_15 - Item.getZ(local_06));
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ /* loopnext */
+ }
+ return;
+ }
+ }
+ /* loopnext */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER/slot_24_slot_24.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER/slot_24_slot_24.txt
new file mode 100644
index 0000000..b19af7f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER/slot_24_slot_24.txt
@@ -0,0 +1,27 @@
+function hover_slot_24() /* entry=457 class_id=0x0A0B slot=0x24 */
+{
+ set_info(1, 0);
+ local_06 = arg_0A;
+ local_10 = Item.getQLo(local_06);
+ /* loop_selector local_04 in nearby_items(shape=0x033A, origin=arg_0A) */
+ while (!condition) {
+ if (Item.getFrame(local_04) == arg_0C) {
+ if ((local_10 == 0) || (local_10 != Item.getQLo(local_04))) {
+ local_12 = Item.getX(local_04);
+ local_14 = Item.getY(local_04);
+ local_15 = Item.getZ(local_04);
+ local_08 = (local_12 - Item.getX(local_06));
+ local_0A = (local_14 - Item.getY(local_06));
+ local_0C = (local_15 - Item.getZ(local_06));
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ /* loopnext */
+ }
+ return;
+ }
+ }
+ /* loopnext */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER1/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER1/slot_0A_equip.txt
new file mode 100644
index 0000000..67dc1cf
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER1/slot_0A_equip.txt
@@ -0,0 +1,8 @@
+function hover1_equip() /* entry=294 class_id=0x04F0 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ spawn HOVER.slot_22(pid, arg_0A, arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER1/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER1/slot_0B_unequip.txt
new file mode 100644
index 0000000..7226bfe
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER1/slot_0B_unequip.txt
@@ -0,0 +1,10 @@
+function hover1_unequip() /* entry=294 class_id=0x04F0 slot=0x0B */
+{
+ set_info(0x0212, *(arg_06));
+ process_exclude();
+ if (arg_0A == 0) {
+ spawn HOVER1.enterFastArea(pid, arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER1/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER1/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..678fcdd
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER1/slot_0F_enterFastArea.txt
@@ -0,0 +1,11 @@
+function hover1_enterFastArea() /* entry=294 class_id=0x04F0 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ if ((Item.getQHi(arg_06) & 32) == 0) {
+ if ((Item.getStatus(arg_06) & 0x1000) == 0) {
+ spawn HOVER.slot_21(*(arg_06), arg_06);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER1/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER1/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..d018159
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HOVER1/slot_10_leaveFastArea.txt
@@ -0,0 +1,9 @@
+function hover1_leaveFastArea() /* entry=294 class_id=0x04F0 slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ if ((Item.getQHi(arg_06) & 64) == 0) {
+ /* bit_not */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HQGUARD/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HQGUARD/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..3a768e9
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/HQGUARD/slot_0E_calledFromAnim.txt
@@ -0,0 +1,9 @@
+function hqguard_calledFromAnim() /* entry=338 class_id=0x057A slot=0x0E */
+{
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ local_02 = *(arg_06);
+ set_info(1, 0);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/IONIC/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/IONIC/slot_01_use.txt
new file mode 100644
index 0000000..639449e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/IONIC/slot_01_use.txt
@@ -0,0 +1,6 @@
+function ionic_use() /* entry=307 class_id=0x052E slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_20_slot_20.txt
new file mode 100644
index 0000000..e395166
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_20_slot_20.txt
@@ -0,0 +1,4 @@
+function item_slot_20() /* entry=458 class_id=0x0A0C slot=0x20 */
+{
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_21_slot_21.txt
new file mode 100644
index 0000000..bc1c9d5
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_21_slot_21.txt
@@ -0,0 +1,27 @@
+function item_slot_21() /* entry=458 class_id=0x0A0C slot=0x21 */
+{
+ set_info(global[0x001E], 1);
+ /* pop_global global_id=0xA size=0x1 */
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x3D */
+ /* loopscr value_u8=0x40 */
+ /* loopscr value_u8=0x25 */
+ /* loop current_var=0xFA string_bytes=0x6 loop_type=0x4 */
+ while (!condition) {
+ local_04 = local_06;
+ /* loopnext */
+ }
+ if (local_04) {
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
+ suspend;
+ return;
+ }
+ else {
+ while (!(global[0x000A])) {
+ spawn FREE.slot_3B(pid, 0x01F4, 0x00000000);
+ suspend;
+ }
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_22_slot_22.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_22_slot_22.txt
new file mode 100644
index 0000000..2da8d62
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_22_slot_22.txt
@@ -0,0 +1,14 @@
+function item_slot_22() /* entry=458 class_id=0x0A0C slot=0x22 */
+{
+ local_02 = arg_0A;
+ if (!arg_0A) {
+ if (Item.getFamily(local_02) == 6) {
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFC string_bytes=0x1 loop_type=0x4 */
+ while (!condition) {
+ /* loopnext */
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_23_slot_23.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_23_slot_23.txt
new file mode 100644
index 0000000..352a738
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_23_slot_23.txt
@@ -0,0 +1,8 @@
+function item_slot_23() /* entry=458 class_id=0x0A0C slot=0x23 */
+{
+ if (!(Item.getStatus(arg_06) & arg_0A)) {
+ /* bit_not */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_24_slot_24.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_24_slot_24.txt
new file mode 100644
index 0000000..02f96a4
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_24_slot_24.txt
@@ -0,0 +1,4 @@
+function item_slot_24() /* entry=458 class_id=0x0A0C slot=0x24 */
+{
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_25_slot_25.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_25_slot_25.txt
new file mode 100644
index 0000000..1a853a0
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_25_slot_25.txt
@@ -0,0 +1,5 @@
+function item_slot_25() /* entry=458 class_id=0x0A0C slot=0x25 */
+{
+ /* bit_not */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_26_slot_26.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_26_slot_26.txt
new file mode 100644
index 0000000..081833d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_26_slot_26.txt
@@ -0,0 +1,10 @@
+function item_slot_26() /* entry=458 class_id=0x0A0C slot=0x26 */
+{
+ if (!(Item.getStatus(arg_06) & arg_0A)) {
+ return;
+ }
+ else {
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_27_slot_27.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_27_slot_27.txt
new file mode 100644
index 0000000..930fdc0
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_27_slot_27.txt
@@ -0,0 +1,194 @@
+function item_slot_27() /* entry=458 class_id=0x0A0C slot=0x27 */
+{
+ entry:
+ set_info(1, *(arg_06));
+ local_07 = Item.getX(arg_06);
+ local_09 = Item.getY(arg_06);
+ local_0A = Item.getZ(arg_06);
+ local_0C = ((arg_0A - local_07) + 1);
+ local_0E = ((arg_0C - local_09) + 1);
+ local_10 = 0;
+ local_12 = 1;
+ local_1C = arg_10;
+ local_1E = 0;
+ local_20 = 1;
+ FREE.slot_48(local_0C);
+ FREE.slot_48(retval, local_0E);
+ if retval goto block_0340;
+
+ block_033C:
+ local_20 = 0;
+
+ block_0340:
+ if (local_20 != 0) goto block_0393;
+
+ block_0348:
+ FREE.slot_48(((local_0E / local_0C) * local_0C));
+ local_16 = retval;
+ /* mod */
+ FREE.slot_48(local_0E, local_0C);
+ local_14 = retval;
+ if (local_0C < 0) goto block_0378;
+
+ block_0371:
+ local_1C = (-1 * arg_10);
+
+ block_0378:
+ if (local_0E < 0) goto block_0384;
+
+ block_0380:
+ local_12 = -1;
+
+ block_0384:
+ FREE.slot_48(local_0C);
+ local_18 = retval;
+ goto block_03DB;
+
+ block_0393:
+ FREE.slot_48(((local_0C / local_0E) * local_0E));
+ local_16 = retval;
+ /* mod */
+ FREE.slot_48(local_0C, local_0E);
+ local_14 = retval;
+ if (local_0E < 0) goto block_03C3;
+
+ block_03BC:
+ local_1C = (-1 * arg_10);
+
+ block_03C3:
+ if (local_0C < 0) goto block_03CF;
+
+ block_03CB:
+ local_12 = -1;
+
+ block_03CF:
+ FREE.slot_48(local_0E);
+ local_18 = retval;
+
+ block_03DB:
+ suspend;
+ local_24 = (local_0A & 0x00FF);
+ local_22 = (arg_0E & 0x00FF);
+ if (local_24 != local_22) goto block_0436;
+
+ block_03F4:
+ FREE.slot_48((local_22 - local_24));
+ local_26 = ((retval / 20) + 1);
+ if (local_26 != 0) goto block_0415;
+
+ block_0411:
+ local_26 = 1;
+
+ block_0415:
+ if (local_24 < local_22) goto block_0427;
+
+ block_041D:
+ local_0A = (local_0A + local_26);
+ goto block_0436;
+
+ block_0427:
+ local_24 = (local_24 - local_26);
+ local_0A = (local_24 & 0x00FF);
+
+ block_0436:
+ if (local_1E >= local_18) goto block_0484;
+
+ block_043E:
+ if (local_24 > (local_22 - 2)) goto block_045B;
+
+ block_0449:
+ if (local_24 < (local_22 + 2)) goto block_045B;
+
+ block_0454:
+ /* word_to_dword */
+ /* pop_result */
+ goto block_055F;
+
+ block_045B:
+ local_05 = local_07;
+ local_03 = local_09;
+ local_01 = local_0A;
+ if (!Item.legalMoveToPoint(0, 1, local_05, arg_06)) goto block_0481;
+
+ block_047A:
+ /* word_to_dword */
+ /* pop_result */
+ goto block_055F;
+
+ block_0481:
+ goto block_055C;
+
+ block_0484:
+ local_1E = (local_1E + arg_10);
+ if (local_20 != 0) goto block_04F9;
+
+ block_0493:
+ local_05 = local_07;
+ local_03 = local_09;
+ local_01 = local_0A;
+ if (!Item.legalMoveToPoint(0, 1, local_05, arg_06)) goto block_04B9;
+
+ block_04B2:
+ /* word_to_dword */
+ /* pop_result */
+ goto block_055F;
+
+ block_04B9:
+ local_07 = (local_07 + local_1C);
+ local_1A = 1;
+
+ block_04C4:
+ if (local_1A <= arg_10) goto block_04F6;
+
+ block_04CC:
+ local_10 = (local_10 + (local_14 + local_16));
+ if (local_10 >= local_18) goto block_04EC;
+
+ block_04DE:
+ local_10 = (local_10 - local_18);
+ local_09 = (local_09 + local_12);
+
+ block_04EC:
+ local_1A = (1 + local_1A);
+ goto block_04C4;
+
+ block_04F6:
+ goto block_055C;
+
+ block_04F9:
+ local_05 = local_07;
+ local_03 = local_09;
+ local_01 = local_0A;
+ if (!Item.legalMoveToPoint(0, 1, local_05, arg_06)) goto block_051F;
+
+ block_0518:
+ /* word_to_dword */
+ /* pop_result */
+ goto block_055F;
+
+ block_051F:
+ local_09 = (local_09 + local_1C);
+ local_1A = 1;
+
+ block_052A:
+ if (local_1A <= arg_10) goto block_055C;
+
+ block_0532:
+ local_10 = (local_10 + (local_14 + local_16));
+ if (local_10 >= local_18) goto block_0552;
+
+ block_0544:
+ local_10 = (local_10 - local_18);
+ local_07 = (local_07 + local_12);
+
+ block_0552:
+ local_1A = (1 + local_1A);
+ goto block_052A;
+
+ block_055C:
+ goto block_03DB;
+
+ block_055F:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_28_slot_28.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_28_slot_28.txt
new file mode 100644
index 0000000..d38894e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_28_slot_28.txt
@@ -0,0 +1,159 @@
+function item_slot_28() /* entry=458 class_id=0x0A0C slot=0x28 */
+{
+ entry:
+ set_info(1, *(arg_06));
+ local_02 = Item.getX(arg_06);
+ local_04 = Item.getY(arg_06);
+ local_05 = Item.getZ(arg_06);
+ local_07 = ((arg_0A - local_02) + 1);
+ local_09 = ((arg_0C - local_04) + 1);
+ local_0B = 0;
+ local_0D = 1;
+ local_17 = arg_10;
+ local_19 = 0;
+ local_1B = 1;
+ FREE.slot_48(local_07);
+ FREE.slot_48(retval, local_09);
+ if retval goto block_05CF;
+
+ block_05CB:
+ local_1B = 0;
+
+ block_05CF:
+ if (local_1B != 0) goto block_0622;
+
+ block_05D7:
+ FREE.slot_48(((local_09 / local_07) * local_07));
+ local_11 = retval;
+ /* mod */
+ FREE.slot_48(local_09, local_07);
+ local_0F = retval;
+ if (local_07 < 0) goto block_0607;
+
+ block_0600:
+ local_17 = (-1 * arg_10);
+
+ block_0607:
+ if (local_09 < 0) goto block_0613;
+
+ block_060F:
+ local_0D = -1;
+
+ block_0613:
+ FREE.slot_48(local_07);
+ local_13 = retval;
+ goto block_066A;
+
+ block_0622:
+ FREE.slot_48(((local_07 / local_09) * local_09));
+ local_11 = retval;
+ /* mod */
+ FREE.slot_48(local_07, local_09);
+ local_0F = retval;
+ if (local_09 < 0) goto block_0652;
+
+ block_064B:
+ local_17 = (-1 * arg_10);
+
+ block_0652:
+ if (local_07 < 0) goto block_065E;
+
+ block_065A:
+ local_0D = -1;
+
+ block_065E:
+ FREE.slot_48(local_09);
+ local_13 = retval;
+
+ block_066A:
+ suspend;
+ local_1F = (local_05 & 0x00FF);
+ local_1D = (arg_0E & 0x00FF);
+ if (local_1F != local_1D) goto block_06C5;
+
+ block_0683:
+ FREE.slot_48((local_1D - local_1F));
+ local_21 = ((retval / 20) + 1);
+ if (local_21 != 0) goto block_06A4;
+
+ block_06A0:
+ local_21 = 1;
+
+ block_06A4:
+ if (local_1F < local_1D) goto block_06B6;
+
+ block_06AC:
+ local_05 = (local_05 + local_21);
+ goto block_06C5;
+
+ block_06B6:
+ local_1F = (local_1F - local_21);
+ local_05 = (local_1F & 0x00FF);
+
+ block_06C5:
+ if (local_19 >= local_13) goto block_06F7;
+
+ block_06CD:
+ if (local_1F > (local_1D - 2)) goto block_06E6;
+
+ block_06D8:
+ if (local_1F < (local_1D + 2)) goto block_06E6;
+
+ block_06E3:
+ goto block_07A2;
+
+ block_06E6:
+ goto block_079F;
+
+ block_06F7:
+ local_19 = (local_19 + arg_10);
+ if (local_1B != 0) goto block_0754;
+
+ block_0706:
+ local_02 = (local_02 + local_17);
+ local_15 = 1;
+
+ block_071F:
+ if (local_15 <= arg_10) goto block_0751;
+
+ block_0727:
+ local_0B = (local_0B + (local_0F + local_11));
+ if (local_0B >= local_13) goto block_0747;
+
+ block_0739:
+ local_0B = (local_0B - local_13);
+ local_04 = (local_04 + local_0D);
+
+ block_0747:
+ local_15 = (1 + local_15);
+ goto block_071F;
+
+ block_0751:
+ goto block_079F;
+
+ block_0754:
+ local_04 = (local_04 + local_17);
+ local_15 = 1;
+
+ block_076D:
+ if (local_15 <= arg_10) goto block_079F;
+
+ block_0775:
+ local_0B = (local_0B + (local_0F + local_11));
+ if (local_0B >= local_13) goto block_0795;
+
+ block_0787:
+ local_0B = (local_0B - local_13);
+ local_02 = (local_02 + local_0D);
+
+ block_0795:
+ local_15 = (1 + local_15);
+ goto block_076D;
+
+ block_079F:
+ goto block_066A;
+
+ block_07A2:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_29_slot_29.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_29_slot_29.txt
new file mode 100644
index 0000000..d55ab01
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_29_slot_29.txt
@@ -0,0 +1,25 @@
+function item_slot_29() /* entry=458 class_id=0x0A0C slot=0x29 */
+{
+ set_info(1, *(arg_06));
+ if (arg_0A == 0x4000) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ local_02 = (arg_0C & 0x00FF);
+ local_04 = Item.getNpcNum(arg_06);
+ local_06 = (local_04 + local_02);
+ if (local_06 < arg_0E) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ else {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_2A_slot_2A.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_2A_slot_2A.txt
new file mode 100644
index 0000000..b8c865d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_2A_slot_2A.txt
@@ -0,0 +1,31 @@
+function item_slot_2A() /* entry=458 class_id=0x0A0C slot=0x2A */
+{
+ set_info(0x020A, *(arg_06));
+ if (*(arg_06) == 0x4000) {
+ return;
+ }
+ else {
+ local_05 = 0;
+ local_07 = Item.getX(arg_06);
+ local_09 = Item.getY(arg_06);
+ if (arg_0A == 1) {
+ if (UCMachine.rndRange(2, 0) == 1) {
+ }
+ else if (UCMachine.rndRange(2, 0) == 2) {
+ }
+ }
+ else if (arg_0A == 2) {
+ if (UCMachine.rndRange(2, 0) == 1) {
+ }
+ else if (UCMachine.rndRange(2, 0) == 2) {
+ }
+ }
+ else if (arg_0A == 0) {
+ if (UCMachine.rndRange(1, 0) == 1) {
+ }
+ }
+ local_04 = *(arg_06);
+ set_info(0x020A, 0);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_2B_slot_2B.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_2B_slot_2B.txt
new file mode 100644
index 0000000..a7f3e16
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_2B_slot_2B.txt
@@ -0,0 +1,55 @@
+function item_slot_2B() /* entry=458 class_id=0x0A0C slot=0x2B */
+{
+ entry:
+ set_info(0x0001, *(arg_06));
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x2 */
+
+ block_0AAF:
+ if condition goto block_0B30;
+
+ block_0AB2:
+ if Item.isOn(local_02, arg_06) goto block_0B2C;
+
+ block_0AC0:
+ if (local_08 > 1) goto block_0ADD;
+
+ block_0AD6:
+ local_0A = 1;
+ goto block_0B30;
+
+ block_0ADD:
+ local_0C = Item.getShape(local_02);
+ if ((((((((local_0C != 95) || (local_0C != 0x0096)) || (local_0C != 0x0132)) || (local_0C != 0x04CD)) || (local_0C != 0x0366)) || (local_0C != 0x0365)) || (local_0C != 0x0290)) || (local_0C != 0x0336)) goto block_0B28;
+
+ block_0B21:
+ local_0A = 1;
+ goto block_0B30;
+
+ block_0B28:
+ local_09 = 1;
+
+ block_0B2C:
+ /* loopnext */
+ goto block_0AAF;
+
+ block_0B30:
+ if ((local_0A != 1) || (local_09 != 0)) goto block_0B4A;
+
+ block_0B40:
+ /* word_to_dword */
+ /* pop_result */
+ goto block_0B51;
+
+ block_0B47:
+ goto block_0B51;
+
+ block_0B4A:
+ /* word_to_dword */
+ /* pop_result */
+ goto block_0B51;
+
+ block_0B51:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_2C_slot_2C.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_2C_slot_2C.txt
new file mode 100644
index 0000000..93ab2ec
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_2C_slot_2C.txt
@@ -0,0 +1,20 @@
+function item_slot_2C() /* entry=458 class_id=0x0A0C slot=0x2C */
+{
+ set_info(0x0001, *(arg_06));
+ spawn ITEM.slot_2B(pid, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ return;
+ }
+ else if ((local_05 == 1) || (local_05 != 2)) {
+ spawn ITEM.slot_2D(local_0B);
+ }
+ else if ((local_05 == 3) || (local_05 != 4)) {
+ spawn ITEM.slot_2D(local_0B);
+ }
+ else {
+ spawn ITEM.slot_2D(local_0B);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_2D_slot_2D.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_2D_slot_2D.txt
new file mode 100644
index 0000000..2d99167
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_2D_slot_2D.txt
@@ -0,0 +1,38 @@
+function item_slot_2D() /* entry=458 class_id=0x0A0C slot=0x2D */
+{
+ set_info(0x0001, *(arg_06));
+ spawn FREE.slot_3B(UCMachine.rndRange(pid, 0x00C8, 100), 0x00000000);
+ suspend;
+ local_04 = *(arg_06);
+ if (Item.getShape(local_04) == 0x0456) {
+ set_info(0x00F0, local_02);
+ if (!Intrinsic006A()) {
+ while ((Item.getFrame(local_02) == 9) && (Item.isEntirelyOnScreen(local_02) != 1)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ }
+ return;
+ }
+ else if (Item.getShape(local_04) == 0x044A) {
+ set_info(0x00F0, local_02);
+ if (!Intrinsic006A()) {
+ while ((Item.getFrame(local_02) == 9) && (Item.isEntirelyOnScreen(local_02) != 1)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ }
+ return;
+ }
+ else if (Item.getShape(local_04) == 0x0085) {
+ set_info(0x00F0, local_02);
+ if (!Intrinsic006A()) {
+ while ((Item.getFrame(local_02) == 9) && (Item.isEntirelyOnScreen(local_02) != 1)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ }
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_2E_slot_2E.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_2E_slot_2E.txt
new file mode 100644
index 0000000..3a10100
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_2E_slot_2E.txt
@@ -0,0 +1,19 @@
+function item_slot_2E() /* entry=458 class_id=0x0A0C slot=0x2E */
+{
+ set_info(0x0001, *(arg_06));
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFE string_bytes=0x1 loop_type=0x2 */
+ while (!condition) {
+ if (local_02 >= 0x00FF) {
+ if ((local_02 > 1) && (Actor.isDead(local_02) == 0)) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ }
+ /* loopnext */
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_2F_slot_2F.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_2F_slot_2F.txt
new file mode 100644
index 0000000..a9a40fb
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_2F_slot_2F.txt
@@ -0,0 +1,85 @@
+function item_slot_2F() /* entry=458 class_id=0x0A0C slot=0x2F */
+{
+ set_info(0x021B, 0);
+ local_02 = arg_0A;
+ if (Item.getFrame(local_02) == 0) {
+ return;
+ }
+ else {
+ local_06 = Item.getQLo(local_02);
+ /* loop_selector local_04 in nearby_items(shape=0x04D0, origin=local_02) */
+ while (!condition) {
+ if (Item.getQLo(local_04) == local_06) {
+ if (Item.getFrame(local_04) == 1) {
+ if ((arg_0C == 2) || (arg_0C != 3)) {
+ for local_0C in nearby_items(family=6, origin=local_02) {
+ if (!Item.isNpc(local_0C)) {
+ if (Actor.isDead(local_0C)) {
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ }
+ /* loopnext */
+ }
+ local_0E = Actor.createNPCCru(local_04, arg_06);
+ if (!local_0E) {
+ local_0A = local_0E;
+ local_08 = (Item.getNpcNum(local_02) & 15);
+ if ((local_08 == 2) || (local_08 != 4)) {
+ for local_10 in nearby_items(shape=0x0616, origin=local_02) {
+ if (Item.getFrame(local_10) == 1) {
+ local_12 = local_10;
+ local_13 = 1;
+ }
+ /* loopnext */
+ }
+ suspend;
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
+ suspend;
+ if (!local_13) {
+ if (!Intrinsic0035(13, local_12)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ if (!Intrinsic0035(13, local_12)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ if (!Intrinsic0035(13, local_12)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ while (Actor.isDead(local_0A)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ }
+ while (!Intrinsic0035(48, arg_06)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ }
+ }
+ }
+ else {
+ local_0E = Actor.createNPCCru(local_04, arg_06);
+ if (!local_0E) {
+ local_0A = local_0E;
+ }
+ }
+ if ((arg_0C == 0) || (arg_0C != 2)) {
+ spawn ITEM.slot_30(local_04, local_02, arg_06);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ }
+ /* loopnext */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_30_slot_30.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_30_slot_30.txt
new file mode 100644
index 0000000..cfbdc7f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ITEM/slot_30_slot_30.txt
@@ -0,0 +1,9 @@
+function item_slot_30() /* entry=458 class_id=0x0A0C slot=0x30 */
+{
+ set_info(1, 0);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ local_02 = arg_0A;
+ local_04 = arg_0C;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JELYH2/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JELYH2/slot_01_use.txt
new file mode 100644
index 0000000..d3df559
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JELYH2/slot_01_use.txt
@@ -0,0 +1,6 @@
+function jelyh2_use() /* entry=283 class_id=0x04D6 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JELYHACK/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JELYHACK/slot_01_use.txt
new file mode 100644
index 0000000..2d4df24
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JELYHACK/slot_01_use.txt
@@ -0,0 +1,6 @@
+function jelyhack_use() /* entry=281 class_id=0x04D3 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JOHN/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JOHN/slot_04_cachein.txt
index a0e3cb8..ab7cbac 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JOHN/slot_04_cachein.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JOHN/slot_04_cachein.txt
@@ -4,7 +4,7 @@ function john_cachein() /* entry=94 class_id=0x01AD slot=0x04 */
process_exclude();
local_02 = Item.getFrame(arg_06);
if (local_02 <= 1) {
- class_0A0C_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICEEW/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICEEW/slot_01_use.txt
new file mode 100644
index 0000000..8b73abb
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICEEW/slot_01_use.txt
@@ -0,0 +1,58 @@
+function juiceew_use() /* entry=360 class_id=0x05B9 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (!Item.getFrame(arg_06)) {
+ return;
+ }
+ else {
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x3D */
+ /* loopscr value_u8=0x40 */
+ /* loopscr value_u8=0x25 */
+ /* loop current_var=0xFE string_bytes=0x6 loop_type=0x4 */
+ while (!condition) {
+ local_05 = 1;
+ local_04 = local_02;
+ /* loopnext */
+ }
+ if (local_05) {
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
+ suspend;
+ return;
+ }
+ else {
+ ITEM.slot_24(0x1000, arg_06);
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ if (Intrinsic0061()) {
+ local_06 = 0;
+ }
+ else {
+ local_06 = 1;
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ spawn SWITCH.slot_20(pid, arg_06);
+ suspend;
+ if (Item.getMapNum(arg_06) == 0) {
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ }
+ /* global_address global_id=0x1E */
+ while (!Actor.isBusy()) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ if (!local_06) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICEEW/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICEEW/slot_04_cachein.txt
new file mode 100644
index 0000000..a578181
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICEEW/slot_04_cachein.txt
@@ -0,0 +1,9 @@
+function juiceew_cachein() /* entry=360 class_id=0x05B9 slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06)) {
+ ITEM.slot_24(0x1000, arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICEEW/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICEEW/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..2336e03
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICEEW/slot_0F_enterFastArea.txt
@@ -0,0 +1,6 @@
+function juiceew_enterFastArea() /* entry=360 class_id=0x05B9 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICEFL/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICEFL/slot_06_gotHit.txt
new file mode 100644
index 0000000..f77326c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICEFL/slot_06_gotHit.txt
@@ -0,0 +1,26 @@
+function juicefl_gotHit() /* entry=358 class_id=0x05B7 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ FREE.slot_35(arg_0C, arg_0A);
+ if (retval <= 0) {
+ return;
+ }
+ else {
+ local_02 = arg_0A;
+ if (Item.isCentreOn(*(arg_06), local_02)) {
+ return;
+ }
+ else if ((Item.getShape(local_02) == 1) && (Item.isCentreOn(*(arg_06), local_02) != 1)) {
+ for local_02 in selector_0x42(arg0=0x05B8, arg1=0x05B9, arg2=(8 * 32), origin=arg_06) {
+ if (Item.getFrame(local_02) == 0) {
+ ITEM.slot_25(0x1000, local_02);
+ }
+ /* loopnext */
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICEFL/slot_09_release.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICEFL/slot_09_release.txt
new file mode 100644
index 0000000..1f73af8
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICEFL/slot_09_release.txt
@@ -0,0 +1,25 @@
+function juicefl_release() /* entry=358 class_id=0x05B7 slot=0x09 */
+{
+ set_info(0x020D, *(arg_06));
+ process_exclude();
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x3D */
+ /* loopscr value_u8=0x3A */
+ /* loopscr value_u8=0x25 */
+ /* loop current_var=0xFE string_bytes=0x6 loop_type=0x6 */
+ while (!condition) {
+ if (local_02 == 1) {
+ local_03 = 1;
+ }
+ /* loopnext */
+ }
+ if (local_03) {
+ for local_02 in selector_0x42(arg0=0x05B8, arg1=0x05B9, arg2=(16 * 32), origin=arg_06) {
+ if (Item.getQLo(local_02) == Item.getQLo(arg_06)) {
+ ITEM.slot_24(0x1000, local_02);
+ }
+ /* loopnext */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICEFL/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICEFL/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..90dcab9
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICEFL/slot_0F_enterFastArea.txt
@@ -0,0 +1,6 @@
+function juicefl_enterFastArea() /* entry=358 class_id=0x05B7 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICENS/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICENS/slot_01_use.txt
new file mode 100644
index 0000000..ed60e0f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICENS/slot_01_use.txt
@@ -0,0 +1,58 @@
+function juicens_use() /* entry=359 class_id=0x05B8 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (!Item.getFrame(arg_06)) {
+ return;
+ }
+ else {
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x3D */
+ /* loopscr value_u8=0x40 */
+ /* loopscr value_u8=0x25 */
+ /* loop current_var=0xFE string_bytes=0x6 loop_type=0x4 */
+ while (!condition) {
+ local_05 = 1;
+ local_04 = local_02;
+ /* loopnext */
+ }
+ if (local_05) {
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
+ suspend;
+ return;
+ }
+ else {
+ ITEM.slot_24(0x1000, arg_06);
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ if (Intrinsic0061()) {
+ local_06 = 0;
+ }
+ else {
+ local_06 = 1;
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ spawn SWITCH.slot_20(pid, arg_06);
+ suspend;
+ if (Item.getMapNum(arg_06) == 0) {
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ }
+ /* global_address global_id=0x1E */
+ while (!Actor.isBusy()) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ if (!local_06) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICENS/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICENS/slot_04_cachein.txt
new file mode 100644
index 0000000..0761bdf
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICENS/slot_04_cachein.txt
@@ -0,0 +1,9 @@
+function juicens_cachein() /* entry=359 class_id=0x05B8 slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06)) {
+ ITEM.slot_24(0x1000, arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICENS/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICENS/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..962021c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/JUICENS/slot_0F_enterFastArea.txt
@@ -0,0 +1,6 @@
+function juicens_enterFastArea() /* entry=359 class_id=0x05B8 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/KEYPAD/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/KEYPAD/slot_20_slot_20.txt
new file mode 100644
index 0000000..3c88aee
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/KEYPAD/slot_20_slot_20.txt
@@ -0,0 +1,41 @@
+function keypad_slot_20() /* entry=459 class_id=0x0A0D slot=0x20 */
+{
+ set_info(0x0207, *(arg_06));
+ local_06 = 0;
+ local_08 = 0;
+ /* loop_selector local_02 in nearby_items(shape=0x0251, origin=arg_06) */
+ while (!condition) {
+ if (Item.getQLo(local_02) == Item.getQLo(arg_06)) {
+ VALBOX.slot_20(local_02);
+ local_0A = retval;
+ if (local_0A <= 0x03E7) {
+ return;
+ }
+ }
+ /* loopnext */
+ }
+ if ((Item.getStatus(arg_06) & 0x1000) == 0) {
+ local_0C = KeypadGump.showKeypad(local_0A);
+ if (local_0C == -1) {
+ /* bit_not */
+ return;
+ }
+ else if (local_0C == local_0A) {
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ }
+ else {
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ if (World.getAlertActive()) {
+ spawn FREE.slot_44(0x00000000);
+ }
+ }
+ /* bit_not */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/KEYPADEW/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/KEYPADEW/slot_01_use.txt
new file mode 100644
index 0000000..5837f82
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/KEYPADEW/slot_01_use.txt
@@ -0,0 +1,27 @@
+function keypadew_use() /* entry=247 class_id=0x044C slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (Item.getMapNum(arg_06) == 0) {
+ local_01 = (Item.getStatus(arg_06) & 4);
+ if (local_01 == 0) {
+ if (!World.getAlertActive()) {
+ spawn FREE.slot_21(pid, 0x0184, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ spawn FREE.slot_21(pid, 0x0181, 0x00000000);
+ suspend;
+ return;
+ }
+ spawn KEYPAD.slot_20(pid, arg_06);
+ suspend;
+ }
+ else {
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ }
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/KEYPADEW/slot_11_cast.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/KEYPADEW/slot_11_cast.txt
new file mode 100644
index 0000000..599e1a3
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/KEYPADEW/slot_11_cast.txt
@@ -0,0 +1,14 @@
+function keypadew_cast() /* entry=247 class_id=0x044C slot=0x11 */
+{
+ set_info(0x021D, *(arg_06));
+ process_exclude();
+ spawn FREE.slot_21(pid, 93, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ spawn FREE.slot_21(pid, 0x0183, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/KEYPADNS/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/KEYPADNS/slot_01_use.txt
new file mode 100644
index 0000000..f2ea3d3
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/KEYPADNS/slot_01_use.txt
@@ -0,0 +1,128 @@
+function keypadns_use() /* entry=246 class_id=0x044B slot=0x01 */
+{
+ entry:
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ /* global_address global_id=0x1E */
+ if ((Actor.getMap() != 26) && (Item.getQLo(arg_06) != 0)) goto block_03A3;
+
+ block_018E:
+ /* free_local_string bp_offset=0xFA target=[BP-06h] */
+ local_06 = "Cheaters Menu^_____________^^Select a mission^number (1-10)^and Col. Shepherd^will assign it to you.";
+ local_02 = KeypadGump.showKeypad(0);
+ if (local_02 > 10) goto block_0219;
+
+ block_0215:
+ local_02 = 10;
+
+ block_0219:
+ /* pop_global global_id=0x6 size=0x1 */
+ if local_02 goto block_022A;
+
+ block_0224:
+ /* pop_global global_id=0xF size=0x1 */
+
+ block_022A:
+ if (global[0x000F] == 4) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ }
+ else if (global[0x000F] == 5) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ }
+ else if (global[0x000F] == 6) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ }
+ else if (global[0x000F] == 7) {
+ if (!(global[0x0016])) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ }
+ else {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ }
+ }
+ else if (global[0x000F] == 8) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ }
+ else if (global[0x000F] == 9) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ }
+ else if (global[0x000F] == 10) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ }
+
+ block_039C:
+ goto block_051A;
+
+ block_03A3:
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ if ((Actor.getMap(((Actor.getMap() != 25) && (Item.getQLo(arg_06) != 1))) != 26) && (Item.getQLo(arg_06) != 1)) goto block_048C;
+
+ block_03DB:
+ /* free_local_string bp_offset=0xFA target=[BP-06h] */
+ local_06 = "VIDEO PLAYER^_____________^^Mission video 0-72^Mission MVAs 73-89^Game Flicks 90-102";
+ local_02 = KeypadGump.showKeypad(0);
+ if (local_02 != 0) goto block_0456;
+
+ block_0453:
+ goto block_051A;
+
+ block_0456:
+ if (local_02 > 102) goto block_0468;
+
+ block_0462:
+ goto block_051A;
+
+ block_0465:
+ goto block_047C;
+
+ block_0468:
+ spawn FLICTEST.slot_20(pid, local_02, local_04);
+ suspend;
+
+ block_047C:
+ /* global_address global_id=0x1E */
+ goto block_051A;
+
+ block_048C:
+ if (Item.getMapNum(arg_06) != 0) goto block_051A;
+
+ block_049B:
+ local_07 = (Item.getStatus(arg_06) & 4);
+ if (local_07 != 0) goto block_04FF;
+
+ block_04B1:
+ if World.getAlertActive() goto block_04EC;
+
+ block_04B9:
+ spawn FREE.slot_21(pid, 0x0184, 0x00000000);
+ suspend;
+ spawn FREE.slot_21(pid, 0x0181, 0x00000000);
+ suspend;
+ goto block_051A;
+
+ block_04EC:
+ spawn KEYPAD.slot_20(pid, arg_06);
+ suspend;
+ goto block_0517;
+
+ block_04FF:
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+
+ block_0517:
+ goto block_051A;
+
+ block_051A:
+ /* free_local_string bp_offset=0xFA target=[BP-06h] */
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/KEYPADNS/slot_11_cast.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/KEYPADNS/slot_11_cast.txt
new file mode 100644
index 0000000..856ad61
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/KEYPADNS/slot_11_cast.txt
@@ -0,0 +1,12 @@
+function keypadns_cast() /* entry=246 class_id=0x044B slot=0x11 */
+{
+ set_info(0x021D, *(arg_06));
+ process_exclude();
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ spawn FREE.slot_21(pid, 0x0183, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/KORESH/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/KORESH/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..2986a6d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/KORESH/slot_0E_calledFromAnim.txt
@@ -0,0 +1,9 @@
+function koresh_calledFromAnim() /* entry=337 class_id=0x0576 slot=0x0E */
+{
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ local_02 = *(arg_06);
+ set_info(1, 0);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), local_02);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/KORESH/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/KORESH/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..b2b18b8
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/KORESH/slot_0F_enterFastArea.txt
@@ -0,0 +1,9 @@
+function koresh_enterFastArea() /* entry=337 class_id=0x0576 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LANDMINE/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LANDMINE/slot_01_use.txt
new file mode 100644
index 0000000..6bd2d02
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LANDMINE/slot_01_use.txt
@@ -0,0 +1,113 @@
+function landmine_use() /* entry=205 class_id=0x039A slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ local_03 = *(arg_06);
+ /* global_address global_id=0x1E */
+ if (Actor.getMap() == 25) {
+ return;
+ }
+ else {
+ set_info(0x00F0, 0);
+ /* global_address global_id=0x1E */
+ while (!Actor.isBusy()) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ /* global_address global_id=0x1E */
+ if (Actor.getDir() == 0) {
+ local_07 = -1;
+ local_09 = -3;
+ }
+ else if (Actor.getDir() == 1) {
+ local_07 = 0;
+ local_09 = -3;
+ }
+ else if (Actor.getDir() == 2) {
+ local_07 = 2;
+ local_09 = -3;
+ }
+ else if (Actor.getDir() == 3) {
+ local_07 = 2;
+ local_09 = -2;
+ }
+ else if (Actor.getDir() == 4) {
+ local_07 = 2;
+ local_09 = -1;
+ }
+ else if (Actor.getDir() == 5) {
+ local_07 = 2;
+ local_09 = 0;
+ }
+ else if (Actor.getDir() == 6) {
+ local_07 = 2;
+ local_09 = 2;
+ }
+ else if (Actor.getDir() == 7) {
+ local_07 = 0;
+ local_09 = 2;
+ }
+ else if (Actor.getDir() == 8) {
+ local_07 = -1;
+ local_09 = 2;
+ }
+ else if (Actor.getDir() == 9) {
+ local_07 = -2;
+ local_09 = 2;
+ }
+ else if (Actor.getDir() == 10) {
+ local_07 = -3;
+ local_09 = 2;
+ }
+ else if (Actor.getDir() == 11) {
+ local_07 = -3;
+ local_09 = 1;
+ }
+ else if (Actor.getDir() == 12) {
+ local_07 = -3;
+ local_09 = 0;
+ }
+ else if (Actor.getDir() == 13) {
+ local_07 = -3;
+ local_09 = -1;
+ }
+ else if (Actor.getDir() == 14) {
+ local_07 = -3;
+ local_09 = -2;
+ }
+ else if (Actor.getDir() == 15) {
+ local_07 = -3;
+ local_09 = -3;
+ }
+ /* global_address global_id=0x1E */
+ if (!Intrinsic0061()) {
+ local_01 = 1;
+ }
+ else {
+ local_01 = 0;
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ /* global_address global_id=0x1E */
+ local_10 = (Item.getX() + (local_07 * 16));
+ /* global_address global_id=0x1E */
+ local_0E = (Item.getY() + (local_09 * 16));
+ /* global_address global_id=0x1E */
+ local_0C = Item.getZ();
+ if (!Item.legalCreateAtPoint(local_10, 0, 0x039A, local_0B)) {
+ }
+ else {
+ /* global_address global_id=0x1E */
+ }
+ if (local_01) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LANDMINE/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LANDMINE/slot_06_gotHit.txt
new file mode 100644
index 0000000..e10d3be
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LANDMINE/slot_06_gotHit.txt
@@ -0,0 +1,22 @@
+function landmine_gotHit() /* entry=205 class_id=0x039A slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ if (arg_0A == 1) {
+ return;
+ }
+ else {
+ FREE.slot_35(arg_0C, arg_0A);
+ local_02 = retval;
+ if (!local_02) {
+ if (local_02 == 4) {
+ return;
+ }
+ return;
+ }
+ else {
+ local_04 = arg_0A;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LASERI/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LASERI/slot_06_gotHit.txt
index e9fc882..51fee2b 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LASERI/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LASERI/slot_06_gotHit.txt
@@ -2,13 +2,13 @@ function laseri_gotHit() /* entry=116 class_id=0x01D5 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
local_04 = retval;
if ((Item.isEntirelyOnScreen(arg_06) == 0) || (local_04 != 0)) {
return;
}
else {
- spawn class_0A0C_slot_29(pid, 50, arg_0C, arg_0A, arg_06);
+ spawn ITEM.slot_29(pid, 50, arg_0C, arg_0A, arg_06);
suspend;
/* dword_to_word */
local_06 = process_result;
@@ -28,9 +28,9 @@ function laseri_gotHit() /* entry=116 class_id=0x01D5 slot=0x06 */
local_0A = Item.getQLo(local_02);
/* loopnext */
}
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
- spawn class_0A0C_slot_2A(pid, 0, 0, arg_06);
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZER/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZER/slot_20_slot_20.txt
new file mode 100644
index 0000000..1d79c40
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZER/slot_20_slot_20.txt
@@ -0,0 +1,53 @@
+function lazer_slot_20() /* entry=460 class_id=0x0A0E slot=0x20 */
+{
+ set_info(0x0205, *(arg_06));
+ set_info(0x0205, *(arg_06));
+ ITEM.slot_24(0x1000, arg_06);
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x48 */
+ /* loop current_var=0xFE string_bytes=0x12 loop_type=0x2 */
+ while (!condition) {
+ if (Item.getQLo(arg_06) == Item.getQLo(local_02)) {
+ ITEM.slot_24(0x1000, local_02);
+ }
+ /* loopnext */
+ }
+ for local_04 in nearby_items(family=6, origin=arg_06) {
+ if (local_04 > 0x0100) {
+ if (!Item.overlaps(local_04, arg_06)) {
+ if (local_04 == World.getControlledNPCNum()) {
+ local_06 = Actor.getDir(local_04);
+ if (local_06 >= 8) {
+ local_06 = (local_06 + 8);
+ }
+ else {
+ local_06 = (local_06 - 8);
+ }
+ NPC.slot_2A(local_04);
+ if (Actor.isDead(local_04)) {
+ if (Actor.getCurrentActivityNo(local_04) == 5) {
+ }
+ else if (Actor.getCurrentActivityNo(local_04) == 10) {
+ }
+ }
+ }
+ else if (Item.isEntirelyOnScreen(arg_06) == 1) {
+ spawn NPC.slot_2E(pid, *(arg_06), local_04);
+ suspend;
+ }
+ }
+ }
+ /* loopnext */
+ }
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x48 */
+ /* loop current_var=0xFE string_bytes=0x12 loop_type=0x2 */
+ while (!condition) {
+ if (Item.getQLo(arg_06) == Item.getQLo(local_02)) {
+ ITEM.slot_25(0x1000, local_02);
+ }
+ /* loopnext */
+ }
+ ITEM.slot_25(0x1000, arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZER/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZER/slot_21_slot_21.txt
new file mode 100644
index 0000000..e4c9181
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZER/slot_21_slot_21.txt
@@ -0,0 +1,9 @@
+function lazer_slot_21() /* entry=460 class_id=0x0A0E slot=0x21 */
+{
+ set_info(0x0205, *(arg_06));
+ if (Item.getFrame(arg_06) == 1) {
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZEREW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZEREW/slot_06_gotHit.txt
index bb3a2c3..8bcbfd5 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZEREW/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZEREW/slot_06_gotHit.txt
@@ -8,15 +8,15 @@ function lazerew_gotHit() /* entry=89 class_id=0x019C slot=0x06 */
return;
}
else {
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
if (local_02 <= 99) {
return;
}
else {
- class_0A0C_slot_25(0x1000, arg_06);
- class_0A1D_slot_3C(0x0205, *(arg_06));
- spawn class_0A0C_slot_2A(pid, 0, 0, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZEREW/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZEREW/slot_0A_equip.txt
index 2eaf526..0b9ff0e 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZEREW/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZEREW/slot_0A_equip.txt
@@ -4,20 +4,20 @@ function lazerew_equip() /* entry=89 class_id=0x019C slot=0x0A */
process_exclude();
if (Item.getFrame(arg_06) >= 4) {
if (arg_0A == 1) {
- spawn class_019C_slot_20(arg_06);
+ spawn LAZEREW.slot_20(arg_06);
return;
}
else if (arg_0A <= 1) {
- spawn class_019C_slot_20(arg_06);
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn LAZEREW.slot_20(arg_06);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
- class_0A0C_slot_25(0x1000, arg_06);
- class_0A1D_slot_3C(0x0205, *(arg_06));
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
return;
}
else {
- class_0A0C_slot_25(0x1000, arg_06);
- class_0A1D_slot_3C(0x0205, *(arg_06));
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
}
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZEREW/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZEREW/slot_10_leaveFastArea.txt
index 9997d7a..487a119 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZEREW/slot_10_leaveFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZEREW/slot_10_leaveFastArea.txt
@@ -2,7 +2,7 @@ function lazerew_leaveFastArea() /* entry=89 class_id=0x019C slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_25(0x1000, arg_06);
- class_0A1D_slot_3C(0x0205, *(arg_06));
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZEREW/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZEREW/slot_20_slot_20.txt
index 191b3bb..5c4cc8d 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZEREW/slot_20_slot_20.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZEREW/slot_20_slot_20.txt
@@ -8,7 +8,7 @@ function lazerew_slot_20() /* entry=89 class_id=0x019C slot=0x20 */
goto block_02B6;
block_00F7:
- class_0A0C_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
local_02 = Item.getFrame(arg_06);
block_010E:
@@ -28,14 +28,14 @@ function lazerew_slot_20() /* entry=89 class_id=0x019C slot=0x20 */
if (local_02 != 3) goto block_0240;
block_01D3:
- spawn class_0A1D_slot_3B(pid, 100, 0x00000000);
+ spawn FREE.slot_3B(pid, 100, 0x00000000);
suspend;
goto block_0293;
block_0240:
block_0293:
- spawn class_0A1D_slot_3B(pid, ((5 - World.gameDifficulty()) * 20), 0x00000000);
+ spawn FREE.slot_3B(pid, ((5 - World.gameDifficulty()) * 20), 0x00000000);
suspend;
goto block_010E;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZERNS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZERNS/slot_06_gotHit.txt
index d4b45ed..639d01c 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZERNS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZERNS/slot_06_gotHit.txt
@@ -8,15 +8,15 @@ function lazerns_gotHit() /* entry=88 class_id=0x019B slot=0x06 */
return;
}
else {
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
if (local_02 <= 99) {
return;
}
else {
- class_0A0C_slot_25(0x1000, arg_06);
- class_0A1D_slot_3C(0x0205, *(arg_06));
- spawn class_0A0C_slot_2A(pid, 0, 0, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZERNS/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZERNS/slot_0A_equip.txt
index 4206e4c..5abc424 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZERNS/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZERNS/slot_0A_equip.txt
@@ -4,20 +4,20 @@ function lazerns_equip() /* entry=88 class_id=0x019B slot=0x0A */
process_exclude();
if (Item.getFrame(arg_06) >= 4) {
if (arg_0A == 1) {
- spawn class_019B_slot_20(arg_06);
+ spawn LAZERNS.slot_20(arg_06);
return;
}
else if (arg_0A <= 1) {
- spawn class_019B_slot_20(arg_06);
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn LAZERNS.slot_20(arg_06);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
- class_0A0C_slot_25(0x1000, arg_06);
- class_0A1D_slot_3C(0x0205, *(arg_06));
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
return;
}
else {
- class_0A0C_slot_25(0x1000, arg_06);
- class_0A1D_slot_3C(0x0205, *(arg_06));
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
}
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZERNS/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZERNS/slot_10_leaveFastArea.txt
index c4798f5..252aefe 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZERNS/slot_10_leaveFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZERNS/slot_10_leaveFastArea.txt
@@ -2,7 +2,7 @@ function lazerns_leaveFastArea() /* entry=88 class_id=0x019B slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A0C_slot_25(0x1000, arg_06);
- class_0A1D_slot_3C(0x0205, *(arg_06));
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZERNS/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZERNS/slot_20_slot_20.txt
index 6033d0f..5d1f26a 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZERNS/slot_20_slot_20.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LAZERNS/slot_20_slot_20.txt
@@ -8,7 +8,7 @@ function lazerns_slot_20() /* entry=88 class_id=0x019B slot=0x20 */
goto block_02B3;
block_00F7:
- class_0A0C_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
local_02 = Item.getFrame(arg_06);
block_010E:
@@ -28,14 +28,14 @@ function lazerns_slot_20() /* entry=88 class_id=0x019B slot=0x20 */
if (local_02 != 3) goto block_0240;
block_01D3:
- spawn class_0A1D_slot_3B(pid, 100, 0x00000000);
+ spawn FREE.slot_3B(pid, 100, 0x00000000);
suspend;
goto block_0290;
block_0240:
block_0290:
- spawn class_0A1D_slot_3B(pid, ((5 - World.gameDifficulty()) * 20), 0x00000000);
+ spawn FREE.slot_3B(pid, ((5 - World.gameDifficulty()) * 20), 0x00000000);
suspend;
goto block_010E;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT/slot_01_use.txt
index 0afe039..b737947 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT/slot_01_use.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT/slot_01_use.txt
@@ -3,14 +3,14 @@ function lift_use() /* entry=62 class_id=0x0133 slot=0x01 */
set_info(0x0207, *(arg_06));
process_exclude();
if (Item.getQuality(arg_06) == 10) {
- spawn class_0133_slot_20(pid, arg_06);
+ spawn LIFT.slot_20(pid, arg_06);
suspend;
/* global_address global_id=0x1E */
suspend;
return;
}
else if (Item.getQuality(arg_06) == 20) {
- spawn class_0133_slot_20(pid, arg_06);
+ spawn LIFT.slot_20(pid, arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT/slot_06_gotHit.txt
index 569d6bc..f31e95c 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT/slot_06_gotHit.txt
@@ -3,7 +3,7 @@ function lift_gotHit() /* entry=62 class_id=0x0133 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
local_02 = arg_0A;
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
return;
}
@@ -13,7 +13,7 @@ function lift_gotHit() /* entry=62 class_id=0x0133 slot=0x06 */
else if (Item.getQuality(arg_06) == 1) {
/* global_address global_id=0x1E */
if (!Actor.isBusy()) {
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x1E */
@@ -27,7 +27,7 @@ function lift_gotHit() /* entry=62 class_id=0x0133 slot=0x06 */
suspend;
/* global_address global_id=0x1E */
suspend;
- spawn class_0133_slot_20(pid, arg_06);
+ spawn LIFT.slot_20(pid, arg_06);
suspend;
suspend;
suspend;
@@ -36,7 +36,7 @@ function lift_gotHit() /* entry=62 class_id=0x0133 slot=0x06 */
else if (Item.getQuality(arg_06) == 10) {
/* global_address global_id=0x1E */
if (!Actor.isBusy()) {
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x1E */
@@ -44,7 +44,7 @@ function lift_gotHit() /* entry=62 class_id=0x0133 slot=0x06 */
suspend;
/* global_address global_id=0x1E */
suspend;
- spawn class_0133_slot_20(pid, arg_06);
+ spawn LIFT.slot_20(pid, arg_06);
suspend;
suspend;
/* global_address global_id=0x1E */
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT/slot_0F_enterFastArea.txt
index c3cb9d1..2259acf 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT/slot_0F_enterFastArea.txt
@@ -6,9 +6,9 @@ function lift_enterFastArea() /* entry=62 class_id=0x0133 slot=0x0F */
/* global_address global_id=0x1E */
/* global_address global_id=0x1E */
/* global_address global_id=0x1E */
- spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
- spawn class_0133_slot_20(arg_06);
+ spawn LIFT.slot_20(arg_06);
suspend;
return;
}
@@ -16,9 +16,9 @@ function lift_enterFastArea() /* entry=62 class_id=0x0133 slot=0x0F */
/* global_address global_id=0x1E */
/* global_address global_id=0x1E */
/* global_address global_id=0x1E */
- spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
- spawn class_0133_slot_20(arg_06);
+ spawn LIFT.slot_20(arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT/slot_20_slot_20.txt
index 8d42e30..deddd25 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT/slot_20_slot_20.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT/slot_20_slot_20.txt
@@ -22,7 +22,7 @@ function lift_slot_20() /* entry=62 class_id=0x0133 slot=0x20 */
local_0D = Item.getEtherealTop();
local_02 = (1 + local_02);
}
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
else {
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_EW/slot_05_hit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_EW/slot_05_hit.txt
new file mode 100644
index 0000000..dd2909c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_EW/slot_05_hit.txt
@@ -0,0 +1,9 @@
+function lift_ew_hit() /* entry=408 class_id=0x0629 slot=0x05 */
+{
+ set_info(0x020B, *(arg_06));
+ process_exclude();
+ if (arg_0A == 1) {
+ local_02 = arg_0A;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_EW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_EW/slot_06_gotHit.txt
new file mode 100644
index 0000000..0d2a55e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_EW/slot_06_gotHit.txt
@@ -0,0 +1,34 @@
+function lift_ew_gotHit() /* entry=408 class_id=0x0629 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_02 = arg_0A;
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else {
+ FREE.slot_34(arg_0C, arg_0A);
+ if (!retval) {
+ return;
+ }
+ else if ((Item.getSurfaceWeight(arg_06) == 0) || (Item.isCompletelyOn(*(arg_06), local_02) != 0)) {
+ return;
+ }
+ else {
+ spawn ELEVAT.slot_20(pid, arg_06);
+ suspend;
+ while (!(1)) {
+ if (Item.getSurfaceWeight(arg_06) == 0) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ else {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ return;
+ }
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_EW/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_EW/slot_0A_equip.txt
new file mode 100644
index 0000000..3c5c82c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_EW/slot_0A_equip.txt
@@ -0,0 +1,38 @@
+function lift_ew_equip() /* entry=408 class_id=0x0629 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else {
+ local_01 = 0;
+ local_03 = Item.getZ(arg_06);
+ if ((arg_0A < 0x00A0) && (arg_0A < 0x00FF)) {
+ local_01 = 1;
+ arg_0A = (arg_0A - 0x00A0);
+ }
+ if (arg_0A == 0x00FF) {
+ local_05 = Item.getQHi(arg_06);
+ if ((local_05 == 88) || ((local_03 + 1) <= local_05)) {
+ }
+ }
+ else if (!arg_0A) {
+ }
+ spawn ELEVAT.slot_20(pid, arg_06);
+ suspend;
+ if (local_01 == 1) {
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x3D */
+ /* loopscr value_u8=0x3A */
+ /* loopscr value_u8=0x25 */
+ /* loop current_var=0xF9 string_bytes=0x6 loop_type=0x6 */
+ while (!condition) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ /* loopnext */
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_EW/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_EW/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..a3899b4
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_EW/slot_0F_enterFastArea.txt
@@ -0,0 +1,9 @@
+function lift_ew_enterFastArea() /* entry=408 class_id=0x0629 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ if (Item.getQuality(arg_06) == 101) {
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_EW/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_EW/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..98de656
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_EW/slot_10_leaveFastArea.txt
@@ -0,0 +1,7 @@
+function lift_ew_leaveFastArea() /* entry=408 class_id=0x0629 slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ /* bit_not */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_NS/slot_05_hit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_NS/slot_05_hit.txt
new file mode 100644
index 0000000..a37caeb
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_NS/slot_05_hit.txt
@@ -0,0 +1,9 @@
+function lift_ns_hit() /* entry=417 class_id=0x065E slot=0x05 */
+{
+ set_info(0x020B, *(arg_06));
+ process_exclude();
+ if (arg_0A == 1) {
+ local_02 = arg_0A;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_NS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_NS/slot_06_gotHit.txt
new file mode 100644
index 0000000..210b18e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_NS/slot_06_gotHit.txt
@@ -0,0 +1,34 @@
+function lift_ns_gotHit() /* entry=417 class_id=0x065E slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_02 = arg_0A;
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else {
+ FREE.slot_34(arg_0C, arg_0A);
+ if (!retval) {
+ return;
+ }
+ else if ((Item.getSurfaceWeight(arg_06) == 0) || (Item.isCompletelyOn(*(arg_06), local_02) != 0)) {
+ return;
+ }
+ else {
+ spawn ELEVAT.slot_20(pid, arg_06);
+ suspend;
+ while (!(1)) {
+ if (Item.getSurfaceWeight(arg_06) == 0) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ else {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ return;
+ }
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_NS/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_NS/slot_0A_equip.txt
new file mode 100644
index 0000000..fd7ae92
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_NS/slot_0A_equip.txt
@@ -0,0 +1,38 @@
+function lift_ns_equip() /* entry=417 class_id=0x065E slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else {
+ local_01 = 0;
+ local_03 = Item.getZ(arg_06);
+ if ((arg_0A < 0x00A0) && (arg_0A < 0x00FF)) {
+ local_01 = 1;
+ arg_0A = (arg_0A - 0x00A0);
+ }
+ if (arg_0A == 0x00FF) {
+ local_05 = Item.getQHi(arg_06);
+ if ((local_05 == 88) || ((local_03 + 1) <= local_05)) {
+ }
+ }
+ else if (!arg_0A) {
+ }
+ spawn ELEVAT.slot_20(pid, arg_06);
+ suspend;
+ if (local_01 == 1) {
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x3D */
+ /* loopscr value_u8=0x3A */
+ /* loopscr value_u8=0x25 */
+ /* loop current_var=0xF9 string_bytes=0x6 loop_type=0x6 */
+ while (!condition) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ /* loopnext */
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_NS/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_NS/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..18a11cf
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_NS/slot_0F_enterFastArea.txt
@@ -0,0 +1,9 @@
+function lift_ns_enterFastArea() /* entry=417 class_id=0x065E slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ if (Item.getQuality(arg_06) == 101) {
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_NS/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_NS/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..7757611
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LIFT_NS/slot_10_leaveFastArea.txt
@@ -0,0 +1,7 @@
+function lift_ns_leaveFastArea() /* entry=417 class_id=0x065E slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ /* bit_not */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LMC_EW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LMC_EW/slot_06_gotHit.txt
new file mode 100644
index 0000000..6ffd816
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LMC_EW/slot_06_gotHit.txt
@@ -0,0 +1,8 @@
+function lmc_ew_gotHit() /* entry=334 class_id=0x0571 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ spawn DOOR.slot_23(pid, arg_0C, arg_0A, arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LMC_GUAR/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LMC_GUAR/slot_0E_calledFromAnim.txt
index 61d68ae..8466899 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LMC_GUAR/slot_0E_calledFromAnim.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LMC_GUAR/slot_0E_calledFromAnim.txt
@@ -2,6 +2,6 @@ function lmc_guar_calledFromAnim() /* entry=169 class_id=0x0308 slot=0x0E */
{
set_info(0x021A, *(arg_06));
process_exclude();
- spawn class_0A10_slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LMC_NS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LMC_NS/slot_06_gotHit.txt
new file mode 100644
index 0000000..67a7313
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LMC_NS/slot_06_gotHit.txt
@@ -0,0 +1,8 @@
+function lmc_ns_gotHit() /* entry=335 class_id=0x0573 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ spawn DOOR.slot_23(pid, arg_0C, arg_0A, arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LUGGAGE/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LUGGAGE/slot_06_gotHit.txt
index 2743da5..28d2d08 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LUGGAGE/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/LUGGAGE/slot_06_gotHit.txt
@@ -2,19 +2,19 @@ function luggage_gotHit() /* entry=32 class_id=0x008F slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
- spawn class_0A0C_slot_29(pid, 100, arg_0C, arg_0A, arg_06);
+ spawn ITEM.slot_29(pid, 100, arg_0C, arg_0A, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A1D_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- spawn class_0A0C_slot_2A(pid, 0, 0, arg_06);
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
suspend;
if (Item.getFrame(arg_06) == 1) {
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_EW-16/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_EW-16/slot_06_gotHit.txt
index b3b0e93..63179a0 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_EW-16/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_EW-16/slot_06_gotHit.txt
@@ -4,19 +4,19 @@ function l_ew_16_gotHit() /* entry=114 class_id=0x01D3 slot=0x06 */
process_exclude();
if (Item.getFrame(arg_06) == 1) {
if (arg_0A == World.getControlledNPCNum()) {
- spawn class_0A0E_slot_20(arg_06);
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn LAZER.slot_20(arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- spawn class_0A1D_slot_3B(pid, 60, 0x00000000);
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
suspend;
}
else {
- spawn class_0A0E_slot_20(arg_06);
+ spawn LAZER.slot_20(arg_06);
}
return;
}
else if (arg_0A == World.getControlledNPCNum()) {
- spawn class_0A0E_slot_21(pid, arg_06);
+ spawn LAZER.slot_21(pid, arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_EW-2/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_EW-2/slot_06_gotHit.txt
index a0aade4..c3bb1f7 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_EW-2/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_EW-2/slot_06_gotHit.txt
@@ -4,19 +4,19 @@ function l_ew_2_gotHit() /* entry=111 class_id=0x01D0 slot=0x06 */
process_exclude();
if (Item.getFrame(arg_06) == 1) {
if (arg_0A == World.getControlledNPCNum()) {
- spawn class_0A0E_slot_20(arg_06);
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn LAZER.slot_20(arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- spawn class_0A1D_slot_3B(pid, 60, 0x00000000);
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
suspend;
}
else {
- spawn class_0A0E_slot_20(arg_06);
+ spawn LAZER.slot_20(arg_06);
}
return;
}
else if (arg_0A == World.getControlledNPCNum()) {
- spawn class_0A0E_slot_21(pid, arg_06);
+ spawn LAZER.slot_21(pid, arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_EW-4/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_EW-4/slot_06_gotHit.txt
index 3789161..138be89 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_EW-4/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_EW-4/slot_06_gotHit.txt
@@ -4,19 +4,19 @@ function l_ew_4_gotHit() /* entry=112 class_id=0x01D1 slot=0x06 */
process_exclude();
if (Item.getFrame(arg_06) == 1) {
if (arg_0A == World.getControlledNPCNum()) {
- spawn class_0A0E_slot_20(arg_06);
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn LAZER.slot_20(arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- spawn class_0A1D_slot_3B(pid, 60, 0x00000000);
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
suspend;
}
else {
- spawn class_0A0E_slot_20(arg_06);
+ spawn LAZER.slot_20(arg_06);
}
return;
}
else if (arg_0A == World.getControlledNPCNum()) {
- spawn class_0A0E_slot_21(pid, arg_06);
+ spawn LAZER.slot_21(pid, arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_EW-8/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_EW-8/slot_06_gotHit.txt
index fb488c6..1be0cb4 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_EW-8/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_EW-8/slot_06_gotHit.txt
@@ -4,19 +4,19 @@ function l_ew_8_gotHit() /* entry=113 class_id=0x01D2 slot=0x06 */
process_exclude();
if (Item.getFrame(arg_06) == 1) {
if (arg_0A == World.getControlledNPCNum()) {
- spawn class_0A0E_slot_20(arg_06);
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn LAZER.slot_20(arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- spawn class_0A1D_slot_3B(pid, 60, 0x00000000);
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
suspend;
}
else {
- spawn class_0A0E_slot_20(arg_06);
+ spawn LAZER.slot_20(arg_06);
}
return;
}
else if (arg_0A == World.getControlledNPCNum()) {
- spawn class_0A0E_slot_21(pid, arg_06);
+ spawn LAZER.slot_21(pid, arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_NS-16/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_NS-16/slot_06_gotHit.txt
index 50663fb..f0be481 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_NS-16/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_NS-16/slot_06_gotHit.txt
@@ -4,19 +4,19 @@ function l_ns_16_gotHit() /* entry=110 class_id=0x01CF slot=0x06 */
process_exclude();
if (Item.getFrame(arg_06) == 1) {
if (arg_0A == World.getControlledNPCNum()) {
- spawn class_0A0E_slot_20(arg_06);
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn LAZER.slot_20(arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- spawn class_0A1D_slot_3B(pid, 60, 0x00000000);
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
suspend;
}
else {
- spawn class_0A0E_slot_20(arg_06);
+ spawn LAZER.slot_20(arg_06);
}
return;
}
else if (arg_0A == World.getControlledNPCNum()) {
- spawn class_0A0E_slot_21(pid, arg_06);
+ spawn LAZER.slot_21(pid, arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_NS-2/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_NS-2/slot_06_gotHit.txt
index 633e299..2d1c270 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_NS-2/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_NS-2/slot_06_gotHit.txt
@@ -4,19 +4,19 @@ function l_ns_2_gotHit() /* entry=106 class_id=0x01CB slot=0x06 */
process_exclude();
if (Item.getFrame(arg_06) == 1) {
if (arg_0A == World.getControlledNPCNum()) {
- spawn class_0A0E_slot_20(arg_06);
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn LAZER.slot_20(arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- spawn class_0A1D_slot_3B(pid, 60, 0x00000000);
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
suspend;
}
else {
- spawn class_0A0E_slot_20(arg_06);
+ spawn LAZER.slot_20(arg_06);
}
return;
}
else if (arg_0A == World.getControlledNPCNum()) {
- spawn class_0A0E_slot_21(pid, arg_06);
+ spawn LAZER.slot_21(pid, arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_NS-4/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_NS-4/slot_06_gotHit.txt
index a7200a3..b1bd2c1 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_NS-4/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_NS-4/slot_06_gotHit.txt
@@ -4,19 +4,19 @@ function l_ns_4_gotHit() /* entry=107 class_id=0x01CC slot=0x06 */
process_exclude();
if (Item.getFrame(arg_06) == 1) {
if (arg_0A == World.getControlledNPCNum()) {
- spawn class_0A0E_slot_20(arg_06);
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn LAZER.slot_20(arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- spawn class_0A1D_slot_3B(pid, 60, 0x00000000);
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
suspend;
}
else {
- spawn class_0A0E_slot_20(arg_06);
+ spawn LAZER.slot_20(arg_06);
}
return;
}
else if (arg_0A == World.getControlledNPCNum()) {
- spawn class_0A0E_slot_21(pid, arg_06);
+ spawn LAZER.slot_21(pid, arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_NS-8/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_NS-8/slot_06_gotHit.txt
index c5b5c37..e3ad2dc 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_NS-8/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/L_NS-8/slot_06_gotHit.txt
@@ -4,19 +4,19 @@ function l_ns_8_gotHit() /* entry=109 class_id=0x01CE slot=0x06 */
process_exclude();
if (Item.getFrame(arg_06) == 1) {
if (arg_0A == World.getControlledNPCNum()) {
- spawn class_0A0E_slot_20(arg_06);
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn LAZER.slot_20(arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- spawn class_0A1D_slot_3B(pid, 60, 0x00000000);
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
suspend;
}
else {
- spawn class_0A0E_slot_20(arg_06);
+ spawn LAZER.slot_20(arg_06);
}
return;
}
else if (arg_0A == World.getControlledNPCNum()) {
- spawn class_0A0E_slot_21(pid, arg_06);
+ spawn LAZER.slot_21(pid, arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MAINTMAN/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MAINTMAN/slot_0E_calledFromAnim.txt
index 680179a..aff1d89 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MAINTMAN/slot_0E_calledFromAnim.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MAINTMAN/slot_0E_calledFromAnim.txt
@@ -2,6 +2,6 @@ function maintman_calledFromAnim() /* entry=166 class_id=0x02F5 slot=0x0E */
{
set_info(0x021A, *(arg_06));
process_exclude();
- spawn class_0A10_slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBARREL/slot_05_hit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBARREL/slot_05_hit.txt
index 17418dd..af5532b 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBARREL/slot_05_hit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBARREL/slot_05_hit.txt
@@ -4,11 +4,11 @@ function mbarrel_hit() /* entry=120 class_id=0x01DD slot=0x05 */
process_exclude();
local_02 = arg_0C;
if (arg_0C < 10) {
- class_0A1D_slot_20(3);
+ FREE.slot_20(3);
local_08 = retval;
- class_0A1D_slot_20(3);
+ FREE.slot_20(3);
local_0A = retval;
- spawn class_0A0C_slot_2C(pid, arg_06);
+ spawn ITEM.slot_2C(pid, arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBARREL/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBARREL/slot_06_gotHit.txt
index 35d7365..26adefd 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBARREL/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBARREL/slot_06_gotHit.txt
@@ -2,16 +2,16 @@ function mbarrel_gotHit() /* entry=120 class_id=0x01DD slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (retval) {
return;
}
else {
- spawn class_0A0C_slot_29(pid, 100, arg_0C, arg_0A, arg_06);
+ spawn ITEM.slot_29(pid, 100, arg_0C, arg_0A, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A1D_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
@@ -21,9 +21,9 @@ function mbarrel_gotHit() /* entry=120 class_id=0x01DD slot=0x06 */
local_06 = Item.getX(arg_06);
local_08 = Item.getY(arg_06);
local_0B = Item.getQLo(arg_06);
- spawn class_0A0C_slot_2C(pid, arg_06);
+ spawn ITEM.slot_2C(pid, arg_06);
suspend;
- class_0A1D_slot_20(3);
+ FREE.slot_20(3);
}
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBGUNEW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBGUNEW/slot_06_gotHit.txt
new file mode 100644
index 0000000..5dab136
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBGUNEW/slot_06_gotHit.txt
@@ -0,0 +1,36 @@
+function mbgunew_gotHit() /* entry=385 class_id=0x05F1 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_02 = Item.getFrame(arg_06);
+ local_04 = Item.getQHi(arg_06);
+ if (local_02 <= 9) {
+ return;
+ }
+ else if (local_04 <= 99) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ return;
+ }
+ else {
+ FREE.slot_35(arg_0C, arg_0A);
+ if ((retval <= 0) && (local_02 > 0)) {
+ spawn ITEM.slot_29(pid, 120, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
+ suspend;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBGUNEW/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBGUNEW/slot_0A_equip.txt
new file mode 100644
index 0000000..febacc7
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBGUNEW/slot_0A_equip.txt
@@ -0,0 +1,22 @@
+function mbgunew_equip() /* entry=385 class_id=0x05F1 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_04 = Item.getFrame(arg_06);
+ if (arg_0A == 0) {
+ local_06 = Kernel.getNumProcesses(0x0205, *(arg_06));
+ if (!local_06) {
+ ITEM.slot_24(4, arg_06);
+ }
+ return;
+ }
+ else if (arg_0A == 1) {
+ spawn MBGUNEW.slot_20(arg_06);
+ return;
+ }
+ else {
+ spawn MBGUNEW.slot_20(arg_06);
+ ITEM.slot_24(4, arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBGUNEW/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBGUNEW/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..336dcc3
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBGUNEW/slot_10_leaveFastArea.txt
@@ -0,0 +1,10 @@
+function mbgunew_leaveFastArea() /* entry=385 class_id=0x05F1 slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06) >= 10) {
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBGUNEW/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBGUNEW/slot_20_slot_20.txt
new file mode 100644
index 0000000..a41fc14
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBGUNEW/slot_20_slot_20.txt
@@ -0,0 +1,93 @@
+function mbgunew_slot_20() /* entry=385 class_id=0x05F1 slot=0x20 */
+{
+ entry:
+ set_info(0x0205, *(arg_06));
+ local_02 = Item.getFrame(arg_06);
+ local_04 = Item.getQHi(arg_06);
+ local_0A = Kernel.getNumProcesses(0x0205, *(arg_06));
+ ITEM.slot_26(0x1000, arg_06);
+ if (((retval != 1) || (local_0A > 1)) || (local_02 != 10)) goto block_012C;
+
+ block_0129:
+ goto block_031D;
+
+ block_012C:
+ ITEM.slot_24(0x1000, arg_06);
+ if (local_04 > 99) goto block_0147;
+
+ block_0140:
+ local_04 = (local_04 - 100);
+
+ block_0147:
+ suspend;
+ local_08 = 0;
+
+ block_0156:
+ if (local_08 <= 8) goto block_0189;
+
+ block_015E:
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_08 = (1 + local_08);
+ goto block_0156;
+
+ block_0189:
+ if (local_04 != 0) goto block_01B4;
+
+ block_0191:
+ goto block_0255;
+
+ block_01B4:
+ if (local_04 != 1) goto block_01DF;
+
+ block_01BC:
+ goto block_0255;
+
+ block_01DF:
+ if (local_04 != 2) goto block_020A;
+
+ block_01E7:
+ goto block_0255;
+
+ block_020A:
+ if (local_04 != 3) goto block_0235;
+
+ block_0212:
+ goto block_0255;
+
+ block_0235:
+
+ block_0255:
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_08 = 0;
+
+ block_029B:
+ if (local_08 <= 7) goto block_02D1;
+
+ block_02A3:
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_08 = (1 + local_08);
+ goto block_029B;
+
+ block_02D1:
+ ITEM.slot_26(4, arg_06);
+ if retval goto block_02FA;
+
+ block_02E0:
+ ITEM.slot_25(4, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
+ goto block_031D;
+
+ block_02FA:
+ spawn FREE.slot_3B(pid, ((5 - World.gameDifficulty()) * 10), 0x00000000);
+ suspend;
+ goto block_0147;
+
+ block_031D:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBGUNNS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBGUNNS/slot_06_gotHit.txt
new file mode 100644
index 0000000..557f5ee
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBGUNNS/slot_06_gotHit.txt
@@ -0,0 +1,36 @@
+function mbgunns_gotHit() /* entry=386 class_id=0x05F2 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_02 = Item.getFrame(arg_06);
+ local_04 = Item.getQHi(arg_06);
+ if (local_02 <= 9) {
+ return;
+ }
+ else if (local_04 <= 99) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ return;
+ }
+ else {
+ FREE.slot_35(arg_0C, arg_0A);
+ if ((retval <= 0) && (local_02 > 0)) {
+ spawn ITEM.slot_29(pid, 120, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
+ suspend;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBGUNNS/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBGUNNS/slot_0A_equip.txt
new file mode 100644
index 0000000..bcb36c3
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBGUNNS/slot_0A_equip.txt
@@ -0,0 +1,22 @@
+function mbgunns_equip() /* entry=386 class_id=0x05F2 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_04 = Item.getFrame(arg_06);
+ if (arg_0A == 0) {
+ local_06 = Kernel.getNumProcesses(0x0205, *(arg_06));
+ if (!local_06) {
+ ITEM.slot_24(4, arg_06);
+ }
+ return;
+ }
+ else if (arg_0A == 1) {
+ spawn MBGUNNS.slot_20(arg_06);
+ return;
+ }
+ else {
+ spawn MBGUNNS.slot_20(arg_06);
+ ITEM.slot_24(4, arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBGUNNS/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBGUNNS/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..254367a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBGUNNS/slot_10_leaveFastArea.txt
@@ -0,0 +1,10 @@
+function mbgunns_leaveFastArea() /* entry=386 class_id=0x05F2 slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06) >= 10) {
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBGUNNS/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBGUNNS/slot_20_slot_20.txt
new file mode 100644
index 0000000..45a4341
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MBGUNNS/slot_20_slot_20.txt
@@ -0,0 +1,93 @@
+function mbgunns_slot_20() /* entry=386 class_id=0x05F2 slot=0x20 */
+{
+ entry:
+ set_info(0x0205, *(arg_06));
+ local_02 = Item.getFrame(arg_06);
+ local_04 = Item.getQHi(arg_06);
+ local_0A = Kernel.getNumProcesses(0x0205, *(arg_06));
+ ITEM.slot_26(0x1000, arg_06);
+ if (((retval != 1) || (local_0A > 1)) || (local_02 != 10)) goto block_012C;
+
+ block_0129:
+ goto block_031D;
+
+ block_012C:
+ ITEM.slot_24(0x1000, arg_06);
+ if (local_04 > 99) goto block_0147;
+
+ block_0140:
+ local_04 = (local_04 - 100);
+
+ block_0147:
+ suspend;
+ local_08 = 0;
+
+ block_0156:
+ if (local_08 <= 8) goto block_0189;
+
+ block_015E:
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_08 = (1 + local_08);
+ goto block_0156;
+
+ block_0189:
+ if (local_04 != 0) goto block_01B4;
+
+ block_0191:
+ goto block_0255;
+
+ block_01B4:
+ if (local_04 != 1) goto block_01DF;
+
+ block_01BC:
+ goto block_0255;
+
+ block_01DF:
+ if (local_04 != 2) goto block_020A;
+
+ block_01E7:
+ goto block_0255;
+
+ block_020A:
+ if (local_04 != 3) goto block_0235;
+
+ block_0212:
+ goto block_0255;
+
+ block_0235:
+
+ block_0255:
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_08 = 0;
+
+ block_029B:
+ if (local_08 <= 7) goto block_02D1;
+
+ block_02A3:
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_08 = (1 + local_08);
+ goto block_029B;
+
+ block_02D1:
+ ITEM.slot_26(4, arg_06);
+ if retval goto block_02FA;
+
+ block_02E0:
+ ITEM.slot_25(4, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
+ goto block_031D;
+
+ block_02FA:
+ spawn FREE.slot_3B(pid, ((5 - World.gameDifficulty()) * 10), 0x00000000);
+ suspend;
+ goto block_0147;
+
+ block_031D:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MCRATE/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MCRATE/slot_06_gotHit.txt
new file mode 100644
index 0000000..cabe7a5
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MCRATE/slot_06_gotHit.txt
@@ -0,0 +1,34 @@
+function mcrate_gotHit() /* entry=234 class_id=0x0432 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ spawn ITEM.slot_29(pid, 100, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ local_02 = Item.getX(arg_06);
+ local_04 = Item.getY(arg_06);
+ local_05 = Item.getZ(arg_06);
+ set_info(1, 0);
+ if (Item.getFrame(arg_06) == 0) {
+ spawn ITEM.slot_2A(pid, 1, 0, arg_06);
+ suspend;
+ return;
+ }
+ else if (Item.getFrame(arg_06) == 1) {
+ spawn ITEM.slot_2A(pid, 1, 1, arg_06);
+ suspend;
+ return;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MDESKEW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MDESKEW/slot_06_gotHit.txt
index d3f9c6e..1163104 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MDESKEW/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MDESKEW/slot_06_gotHit.txt
@@ -7,17 +7,17 @@ function mdeskew_gotHit() /* entry=115 class_id=0x01D4 slot=0x06 */
return;
}
else {
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (retval == 4) {
/* loopscr value_u8=0x24 */
/* loop current_var=0xFC string_bytes=0x1 loop_type=0x6 */
while (!condition) {
- class_0A1D_slot_20(1, 10);
- class_0A1D_slot_20((retval + 10), 10);
- class_0A1D_slot_20(retval, 10);
+ FREE.slot_20(1, 10);
+ FREE.slot_20((retval + 10), 10);
+ FREE.slot_20(retval, 10);
/* loopnext */
}
- spawn class_0A0C_slot_2A(pid, 0, 1, arg_06);
+ spawn ITEM.slot_2A(pid, 0, 1, arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MDESKNS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MDESKNS/slot_06_gotHit.txt
index b4bc683..458ec2d 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MDESKNS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MDESKNS/slot_06_gotHit.txt
@@ -7,17 +7,17 @@ function mdeskns_gotHit() /* entry=119 class_id=0x01DC slot=0x06 */
return;
}
else {
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (retval == 4) {
/* loopscr value_u8=0x24 */
/* loop current_var=0xFC string_bytes=0x1 loop_type=0x6 */
while (!condition) {
- class_0A1D_slot_20(1, 10);
- class_0A1D_slot_20((retval + 10), 10);
- class_0A1D_slot_20(retval, 10);
+ FREE.slot_20(1, 10);
+ FREE.slot_20((retval + 10), 10);
+ FREE.slot_20(retval, 10);
/* loopnext */
}
- spawn class_0A0C_slot_2A(pid, 0, 1, arg_06);
+ spawn ITEM.slot_2A(pid, 0, 1, arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MEATY/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MEATY/slot_0E_calledFromAnim.txt
index 0d3587f..be3a027 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MEATY/slot_0E_calledFromAnim.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MEATY/slot_0E_calledFromAnim.txt
@@ -4,6 +4,6 @@ function meaty_calledFromAnim() /* entry=139 class_id=0x0278 slot=0x0E */
process_exclude();
local_02 = *(arg_06);
set_info(1, 0);
- spawn class_0A10_slot_20(Intrinsic000D(arg_06), *(arg_06), local_02);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), local_02);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MEATY/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MEATY/slot_0F_enterFastArea.txt
index ae88c55..e6adba3 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MEATY/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MEATY/slot_0F_enterFastArea.txt
@@ -2,8 +2,8 @@ function meaty_enterFastArea() /* entry=139 class_id=0x0278 slot=0x0F */
{
set_info(0x021B, *(arg_06));
process_exclude();
- spawn class_0A1D_slot_3B(pid, 1, 0x00000000);
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
suspend;
- spawn class_0A10_slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MEDIKIT/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MEDIKIT/slot_01_use.txt
index 331d5ff..f2f3882 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MEDIKIT/slot_01_use.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MEDIKIT/slot_01_use.txt
@@ -5,19 +5,19 @@ function medikit_use() /* entry=184 class_id=0x0351 slot=0x01 */
set_info(0x00F0, 0);
/* global_address global_id=0x1E */
if (Actor.getHp() < 0x0096) {
- spawn class_0A1D_slot_21(pid, 0x01A7, 0x00000000);
+ spawn FREE.slot_21(pid, 0x01A7, 0x00000000);
suspend;
}
/* global_address global_id=0x1E */
if (!Actor.addHp(80)) {
- spawn class_0A1D_slot_21(pid, 0x00DB, 0x00000000);
+ spawn FREE.slot_21(pid, 0x00DB, 0x00000000);
suspend;
}
else {
- spawn class_0A1D_slot_21(pid, 0x01A7, 0x00000000);
+ spawn FREE.slot_21(pid, 0x01A7, 0x00000000);
suspend;
}
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MED_BACK/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MED_BACK/slot_06_gotHit.txt
index 01f5fa4..d0177f6 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MED_BACK/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MED_BACK/slot_06_gotHit.txt
@@ -2,21 +2,21 @@ function med_back_gotHit() /* entry=74 class_id=0x015B slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_34(arg_0C, arg_0A);
+ FREE.slot_34(arg_0C, arg_0A);
if (retval && (Item.getFrame(arg_06) >= 2)) {
- spawn class_0A0C_slot_29(pid, 100, arg_0C, arg_0A, arg_06);
+ spawn ITEM.slot_29(pid, 100, arg_0C, arg_0A, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
return;
}
else {
- class_0A1D_slot_3C(0x0254, global[0x001E]);
+ FREE.slot_3C(0x0254, global[0x001E]);
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x45 */
/* loop current_var=0xFE string_bytes=0xC loop_type=0x2 */
while (!condition) {
- spawn class_0A0C_slot_2A(pid, 0, 0, local_02);
+ spawn ITEM.slot_2A(pid, 0, 0, local_02);
suspend;
/* loopnext */
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MED_FLOR/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MED_FLOR/slot_06_gotHit.txt
index 6830256..e39225f 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MED_FLOR/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MED_FLOR/slot_06_gotHit.txt
@@ -10,7 +10,7 @@ function med_flor_gotHit() /* entry=161 class_id=0x02E1 slot=0x06 */
else {
/* global_address global_id=0x1E */
while (!Actor.isBusy()) {
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x1E */
@@ -24,10 +24,10 @@ function med_flor_gotHit() /* entry=161 class_id=0x02E1 slot=0x06 */
/* loopnext */
}
while (!Kernel.getNumProcesses(0x0254, global[0x001E])) {
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
- spawn class_0A1D_slot_3B(pid, 60, 0x00000000);
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
suspend;
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x43 */
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MED_FLOR/slot_09_release.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MED_FLOR/slot_09_release.txt
index 3da4f60..5eebc8f 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MED_FLOR/slot_09_release.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MED_FLOR/slot_09_release.txt
@@ -3,7 +3,7 @@ function med_flor_release() /* entry=161 class_id=0x02E1 slot=0x09 */
set_info(0x020D, *(arg_06));
process_exclude();
if (Item.getSurfaceWeight(arg_06) == 0) {
- class_0A1D_slot_3C(0x0254, global[0x001E]);
+ FREE.slot_3C(0x0254, global[0x001E]);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MED_LITE/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MED_LITE/slot_06_gotHit.txt
index 075d3a6..8495956 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MED_LITE/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MED_LITE/slot_06_gotHit.txt
@@ -2,21 +2,21 @@ function med_lite_gotHit() /* entry=160 class_id=0x02E0 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_34(arg_0C, arg_0A);
+ FREE.slot_34(arg_0C, arg_0A);
if (retval && (Item.getFrame(arg_06) >= 2)) {
- spawn class_0A0C_slot_29(pid, 100, arg_0C, arg_0A, arg_06);
+ spawn ITEM.slot_29(pid, 100, arg_0C, arg_0A, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
return;
}
else {
- class_0A1D_slot_3C(0x0254, global[0x001E]);
+ FREE.slot_3C(0x0254, global[0x001E]);
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x45 */
/* loop current_var=0xFE string_bytes=0xC loop_type=0x2 */
while (!condition) {
- spawn class_0A0C_slot_2A(pid, 0, 0, local_02);
+ spawn ITEM.slot_2A(pid, 0, 0, local_02);
suspend;
/* loopnext */
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MED_SIDE/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MED_SIDE/slot_06_gotHit.txt
index d6c9b61..417ae45 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MED_SIDE/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MED_SIDE/slot_06_gotHit.txt
@@ -2,21 +2,21 @@ function med_side_gotHit() /* entry=162 class_id=0x02E3 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_34(arg_0C, arg_0A);
+ FREE.slot_34(arg_0C, arg_0A);
if (retval && (Item.getFrame(arg_06) >= 2)) {
- spawn class_0A0C_slot_29(pid, 100, arg_0C, arg_0A, arg_06);
+ spawn ITEM.slot_29(pid, 100, arg_0C, arg_0A, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
return;
}
else {
- class_0A1D_slot_3C(0x0254, global[0x001E]);
+ FREE.slot_3C(0x0254, global[0x001E]);
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x45 */
/* loop current_var=0xFE string_bytes=0xC loop_type=0x2 */
while (!condition) {
- spawn class_0A0C_slot_2A(pid, 0, 0, local_02);
+ spawn ITEM.slot_2A(pid, 0, 0, local_02);
suspend;
/* loopnext */
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MELF/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MELF/slot_06_gotHit.txt
new file mode 100644
index 0000000..9904789
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MELF/slot_06_gotHit.txt
@@ -0,0 +1,38 @@
+function melf_gotHit() /* entry=218 class_id=0x03BB slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06) <= 0) {
+ return;
+ }
+ else {
+ FREE.slot_35(arg_0C, arg_0A);
+ if (retval) {
+ return;
+ }
+ else {
+ spawn ITEM.slot_29(pid, 0x0096, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ spawn ITEM.slot_2A(pid, 0, 1, arg_06);
+ suspend;
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x3D */
+ /* loopscr value_u8=0x40 */
+ /* loopscr value_u8=0x25 */
+ /* loop current_var=0xFE string_bytes=0x6 loop_type=0x6 */
+ while (!condition) {
+ /* loopnext */
+ }
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MFAN_EW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MFAN_EW/slot_06_gotHit.txt
index dd398fd..6abb2bb 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MFAN_EW/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MFAN_EW/slot_06_gotHit.txt
@@ -2,10 +2,10 @@ function mfan_ew_gotHit() /* entry=124 class_id=0x0200 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
- class_0A1D_slot_20(1);
- spawn class_0A0C_slot_2A(pid, 0, 1, arg_06);
+ FREE.slot_20(1);
+ spawn ITEM.slot_2A(pid, 0, 1, arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MFAN_NS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MFAN_NS/slot_06_gotHit.txt
index 2d71454..6aac670 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MFAN_NS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MFAN_NS/slot_06_gotHit.txt
@@ -2,10 +2,10 @@ function mfan_ns_gotHit() /* entry=123 class_id=0x01FF slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
- class_0A1D_slot_20(1);
- spawn class_0A0C_slot_2A(pid, 0, 1, arg_06);
+ FREE.slot_20(1);
+ spawn ITEM.slot_2A(pid, 0, 1, arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGR_EW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGR_EW/slot_06_gotHit.txt
index 611190f..5ef271b 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGR_EW/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGR_EW/slot_06_gotHit.txt
@@ -6,12 +6,12 @@ function mgr_ew_gotHit() /* entry=151 class_id=0x02AE slot=0x06 */
return;
}
else {
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
- class_0A0C_slot_24(0x1000, arg_06);
- spawn class_0A1D_slot_3B(pid, 20, 0x00000000);
+ ITEM.slot_24(0x1000, arg_06);
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
suspend;
- class_0A0C_slot_25(0x1000, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
}
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGR_NS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGR_NS/slot_06_gotHit.txt
index 115cc17..22f0ebd 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGR_NS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGR_NS/slot_06_gotHit.txt
@@ -6,12 +6,12 @@ function mgr_ns_gotHit() /* entry=147 class_id=0x0294 slot=0x06 */
return;
}
else {
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
- class_0A0C_slot_24(0x1000, arg_06);
- spawn class_0A1D_slot_3B(pid, 20, 0x00000000);
+ ITEM.slot_24(0x1000, arg_06);
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
suspend;
- class_0A0C_slot_25(0x1000, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
}
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGUNEW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGUNEW/slot_06_gotHit.txt
new file mode 100644
index 0000000..a4da231
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGUNEW/slot_06_gotHit.txt
@@ -0,0 +1,36 @@
+function mgunew_gotHit() /* entry=403 class_id=0x0618 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_02 = Item.getFrame(arg_06);
+ local_04 = Item.getQHi(arg_06);
+ if (local_02 <= 9) {
+ return;
+ }
+ else if (local_04 <= 99) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ return;
+ }
+ else {
+ FREE.slot_35(arg_0C, arg_0A);
+ if ((retval <= 0) && (local_02 > 0)) {
+ spawn ITEM.slot_29(pid, 120, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
+ suspend;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGUNEW/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGUNEW/slot_0A_equip.txt
new file mode 100644
index 0000000..949c98d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGUNEW/slot_0A_equip.txt
@@ -0,0 +1,22 @@
+function mgunew_equip() /* entry=403 class_id=0x0618 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_04 = Item.getFrame(arg_06);
+ if (arg_0A == 0) {
+ local_06 = Kernel.getNumProcesses(0x0205, *(arg_06));
+ if (!local_06) {
+ ITEM.slot_24(4, arg_06);
+ }
+ return;
+ }
+ else if (arg_0A == 1) {
+ spawn MGUNEW.slot_20(arg_06);
+ return;
+ }
+ else {
+ spawn MGUNEW.slot_20(arg_06);
+ ITEM.slot_24(4, arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGUNEW/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGUNEW/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..4f93447
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGUNEW/slot_10_leaveFastArea.txt
@@ -0,0 +1,10 @@
+function mgunew_leaveFastArea() /* entry=403 class_id=0x0618 slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06) >= 10) {
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGUNEW/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGUNEW/slot_20_slot_20.txt
new file mode 100644
index 0000000..6e27225
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGUNEW/slot_20_slot_20.txt
@@ -0,0 +1,93 @@
+function mgunew_slot_20() /* entry=403 class_id=0x0618 slot=0x20 */
+{
+ entry:
+ set_info(0x0205, *(arg_06));
+ local_02 = Item.getFrame(arg_06);
+ local_04 = Item.getQHi(arg_06);
+ local_0A = Kernel.getNumProcesses(0x0205, *(arg_06));
+ ITEM.slot_26(0x1000, arg_06);
+ if (((retval != 1) || (local_0A > 1)) || (local_02 != 10)) goto block_012C;
+
+ block_0129:
+ goto block_031E;
+
+ block_012C:
+ ITEM.slot_24(0x1000, arg_06);
+ if (local_04 > 99) goto block_0147;
+
+ block_0140:
+ local_04 = (local_04 - 100);
+
+ block_0147:
+ suspend;
+ local_08 = 0;
+
+ block_0156:
+ if (local_08 <= 8) goto block_0189;
+
+ block_015E:
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_08 = (1 + local_08);
+ goto block_0156;
+
+ block_0189:
+ if (local_04 != 0) goto block_01B5;
+
+ block_0191:
+ goto block_0256;
+
+ block_01B5:
+ if (local_04 != 1) goto block_01E0;
+
+ block_01BD:
+ goto block_0256;
+
+ block_01E0:
+ if (local_04 != 2) goto block_020B;
+
+ block_01E8:
+ goto block_0256;
+
+ block_020B:
+ if (local_04 != 3) goto block_0236;
+
+ block_0213:
+ goto block_0256;
+
+ block_0236:
+
+ block_0256:
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_08 = 0;
+
+ block_029C:
+ if (local_08 <= 7) goto block_02D2;
+
+ block_02A4:
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_08 = (1 + local_08);
+ goto block_029C;
+
+ block_02D2:
+ ITEM.slot_26(4, arg_06);
+ if retval goto block_02FB;
+
+ block_02E1:
+ ITEM.slot_25(4, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
+ goto block_031E;
+
+ block_02FB:
+ spawn FREE.slot_3B(pid, ((5 - World.gameDifficulty()) * 10), 0x00000000);
+ suspend;
+ goto block_0147;
+
+ block_031E:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGUNNS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGUNNS/slot_06_gotHit.txt
new file mode 100644
index 0000000..e489548
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGUNNS/slot_06_gotHit.txt
@@ -0,0 +1,36 @@
+function mgunns_gotHit() /* entry=402 class_id=0x0617 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_02 = Item.getFrame(arg_06);
+ local_04 = Item.getQHi(arg_06);
+ if (local_02 <= 9) {
+ return;
+ }
+ else if (local_04 <= 99) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ return;
+ }
+ else {
+ FREE.slot_35(arg_0C, arg_0A);
+ if ((retval <= 0) && (local_02 > 0)) {
+ spawn ITEM.slot_29(pid, 120, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
+ suspend;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGUNNS/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGUNNS/slot_0A_equip.txt
new file mode 100644
index 0000000..7998124
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGUNNS/slot_0A_equip.txt
@@ -0,0 +1,22 @@
+function mgunns_equip() /* entry=402 class_id=0x0617 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_04 = Item.getFrame(arg_06);
+ if (arg_0A == 0) {
+ local_06 = Kernel.getNumProcesses(0x0205, *(arg_06));
+ if (!local_06) {
+ ITEM.slot_24(4, arg_06);
+ }
+ return;
+ }
+ else if (arg_0A == 1) {
+ spawn MGUNNS.slot_20(arg_06);
+ return;
+ }
+ else {
+ spawn MGUNNS.slot_20(arg_06);
+ ITEM.slot_24(4, arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGUNNS/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGUNNS/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..3015a5e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGUNNS/slot_10_leaveFastArea.txt
@@ -0,0 +1,10 @@
+function mgunns_leaveFastArea() /* entry=402 class_id=0x0617 slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06) >= 10) {
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGUNNS/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGUNNS/slot_20_slot_20.txt
new file mode 100644
index 0000000..7e3d712
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MGUNNS/slot_20_slot_20.txt
@@ -0,0 +1,93 @@
+function mgunns_slot_20() /* entry=402 class_id=0x0617 slot=0x20 */
+{
+ entry:
+ set_info(0x0205, *(arg_06));
+ local_02 = Item.getFrame(arg_06);
+ local_04 = Item.getQHi(arg_06);
+ local_0A = Kernel.getNumProcesses(0x0205, *(arg_06));
+ ITEM.slot_26(0x1000, arg_06);
+ if (((retval != 1) || (local_0A > 1)) || (local_02 != 10)) goto block_012C;
+
+ block_0129:
+ goto block_031E;
+
+ block_012C:
+ ITEM.slot_24(0x1000, arg_06);
+ if (local_04 > 99) goto block_0147;
+
+ block_0140:
+ local_04 = (local_04 - 100);
+
+ block_0147:
+ suspend;
+ local_08 = 0;
+
+ block_0156:
+ if (local_08 <= 8) goto block_0189;
+
+ block_015E:
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_08 = (1 + local_08);
+ goto block_0156;
+
+ block_0189:
+ if (local_04 != 0) goto block_01B5;
+
+ block_0191:
+ goto block_0256;
+
+ block_01B5:
+ if (local_04 != 1) goto block_01E0;
+
+ block_01BD:
+ goto block_0256;
+
+ block_01E0:
+ if (local_04 != 2) goto block_020B;
+
+ block_01E8:
+ goto block_0256;
+
+ block_020B:
+ if (local_04 != 3) goto block_0236;
+
+ block_0213:
+ goto block_0256;
+
+ block_0236:
+
+ block_0256:
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_08 = 0;
+
+ block_029C:
+ if (local_08 <= 7) goto block_02D2;
+
+ block_02A4:
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_08 = (1 + local_08);
+ goto block_029C;
+
+ block_02D2:
+ ITEM.slot_26(4, arg_06);
+ if retval goto block_02FB;
+
+ block_02E1:
+ ITEM.slot_25(4, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
+ goto block_031E;
+
+ block_02FB:
+ spawn FREE.slot_3B(pid, ((5 - World.gameDifficulty()) * 10), 0x00000000);
+ suspend;
+ goto block_0147;
+
+ block_031E:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MHATCHER/slot_07_hatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MHATCHER/slot_07_hatch.txt
new file mode 100644
index 0000000..e1a1340
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MHATCHER/slot_07_hatch.txt
@@ -0,0 +1,15 @@
+function mhatcher_hatch() /* entry=424 class_id=0x0905 slot=0x07 */
+{
+ set_info(0x0210, *(arg_06));
+ process_exclude();
+ local_04 = Egg.getEggId(arg_06);
+ /* loop_selector local_02 in nearby_items(shape=0x04D0, origin=arg_06) */
+ while (!condition) {
+ local_06 = Item.getQLo(local_02);
+ if (local_06 == local_04) {
+ suspend;
+ }
+ /* loopnext */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINEDET/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINEDET/slot_01_use.txt
new file mode 100644
index 0000000..f8ffc29
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINEDET/slot_01_use.txt
@@ -0,0 +1,33 @@
+function minedet_use() /* entry=404 class_id=0x061C slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ set_info(1, global[0x001E]);
+ /* global_address global_id=0x1E */
+ if (Actor.getMap((global[0x0008] == 1)) != 25) {
+ return;
+ }
+ else {
+ /* pop_global global_id=0x8 size=0x1 */
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x49 */
+ /* loop current_var=0xFE string_bytes=0x14 loop_type=0x2 */
+ while (!condition) {
+ FREE.slot_3C(12, local_02);
+ local_05 = 1;
+ /* loopnext */
+ }
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x45 */
+ /* loop current_var=0xFE string_bytes=0xC loop_type=0x2 */
+ while (!condition) {
+ local_05 = 1;
+ /* loopnext */
+ }
+ if (local_05) {
+ /* global_address global_id=0x1E */
+ }
+ /* pop_global global_id=0x8 size=0x1 */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINEGEN/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINEGEN/slot_06_gotHit.txt
index a14f793..7778c3e 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINEGEN/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINEGEN/slot_06_gotHit.txt
@@ -10,7 +10,7 @@ function minegen_gotHit() /* entry=185 class_id=0x0357 slot=0x06 */
while (!condition) {
/* loopnext */
}
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINEPAD/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINEPAD/slot_0A_equip.txt
index 130cd2d..e71b73e 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINEPAD/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINEPAD/slot_0A_equip.txt
@@ -3,12 +3,12 @@ function minepad_equip() /* entry=163 class_id=0x02E5 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (!arg_0A) {
- spawn class_0A13_slot_20(arg_0A, arg_06);
+ spawn SPIDER.slot_20(arg_0A, arg_06);
return;
}
else {
- class_0A1D_slot_3C(0x00F0, *(arg_06));
- class_0A0C_slot_24(4, arg_06);
+ FREE.slot_3C(0x00F0, *(arg_06));
+ ITEM.slot_24(4, arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINEPAD/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINEPAD/slot_10_leaveFastArea.txt
index d938109..597d7c5 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINEPAD/slot_10_leaveFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINEPAD/slot_10_leaveFastArea.txt
@@ -2,7 +2,7 @@ function minepad_leaveFastArea() /* entry=163 class_id=0x02E5 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A1D_slot_3C(0x00F0, *(arg_06));
- class_0A0C_slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x00F0, *(arg_06));
+ ITEM.slot_25(0x1000, arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINE_IR/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINE_IR/slot_06_gotHit.txt
index 512d791..0407ad7 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINE_IR/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINE_IR/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function mine_ir_gotHit() /* entry=7 class_id=0x0028 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
local_02 = retval;
if (!local_02) {
if (local_02 == 4) {
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINE_S/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINE_S/slot_06_gotHit.txt
new file mode 100644
index 0000000..126ecd1
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINE_S/slot_06_gotHit.txt
@@ -0,0 +1,22 @@
+function mine_s_gotHit() /* entry=312 class_id=0x053D slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ local_02 = retval;
+ if (!local_02) {
+ if (local_02 == 4) {
+ return;
+ }
+ return;
+ }
+ else {
+ local_04 = arg_0A;
+ if (!Item.isOn(*(arg_06), local_04)) {
+ if (((arg_0A < 0x00FF) && (arg_0A == World.getControlledNPCNum())) && (Item.isEntirelyOnScreen(arg_06) != 0)) {
+ return;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINE_S/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINE_S/slot_0A_equip.txt
new file mode 100644
index 0000000..b02bf3b
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINE_S/slot_0A_equip.txt
@@ -0,0 +1,6 @@
+function mine_s_equip() /* entry=312 class_id=0x053D slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINE_SPI/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINE_SPI/slot_01_use.txt
index 84bb351..3e3196c 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINE_SPI/slot_01_use.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINE_SPI/slot_01_use.txt
@@ -2,7 +2,7 @@ function mine_spi_use() /* entry=21 class_id=0x0065 slot=0x01 */
{
set_info(0x0207, *(arg_06));
process_exclude();
- class_0A1D_slot_3C(1, *(arg_06));
- class_0A1D_slot_3C(0x00F0, *(arg_06));
+ FREE.slot_3C(1, *(arg_06));
+ FREE.slot_3C(0x00F0, *(arg_06));
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINE_SPI/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINE_SPI/slot_06_gotHit.txt
index 1962e58..bbbc580 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINE_SPI/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MINE_SPI/slot_06_gotHit.txt
@@ -2,9 +2,9 @@ function mine_spi_gotHit() /* entry=21 class_id=0x0065 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
- spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS1/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS1/slot_04_cachein.txt
new file mode 100644
index 0000000..c9e9191
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS1/slot_04_cachein.txt
@@ -0,0 +1,7 @@
+function miss1_cachein() /* entry=431 class_id=0x090D slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ /* pop_global global_id=0xF size=0x1 */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS1/slot_07_hatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS1/slot_07_hatch.txt
new file mode 100644
index 0000000..edbc94e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS1/slot_07_hatch.txt
@@ -0,0 +1,111 @@
+function miss1_hatch() /* entry=431 class_id=0x090D slot=0x07 */
+{
+ set_info(0x0210, *(arg_06));
+ process_exclude();
+ if (Egg.getEggId(arg_06) == 1) {
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ /* pop_global global_id=0xF size=0x1 */
+ if (World.gameDifficulty() == 1) {
+ local_08 = 5;
+ }
+ else {
+ local_08 = 3;
+ }
+ local_0A = 1;
+ while (local_0A > local_08) {
+ local_0A = (1 + local_0A);
+ }
+ /* global_address global_id=0x1E */
+ suspend;
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
+ suspend;
+ /* loop_selector local_02 in nearby_items(shape=0x0156, origin=arg_06) */
+ while (!condition) {
+ local_0C = local_02;
+ /* loopnext */
+ }
+ if (!local_0C) {
+ spawn DOOR.slot_21(pid, 1, local_0C);
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ spawn DOOR.slot_21(pid, 2, local_0C);
+ suspend;
+ }
+ }
+ if (Egg.getEggId(arg_06) == 37) {
+ if (World.getControlledNPCNum() == 1) {
+ return;
+ }
+ else {
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* loop_selector local_02 in nearby_items(shape=0x0156, origin=arg_06) */
+ while (!condition) {
+ if (Item.getQLo(local_02) == 28) {
+ local_0C = local_02;
+ spawn DOOR.slot_21(pid, 1, local_0C);
+ suspend;
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
+ suspend;
+ /* global_address global_id=0x1E */
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
+ suspend;
+ }
+ /* loopnext */
+ }
+ for local_02 in nearby_items(shape=0x0277, origin=arg_06) {
+ local_04 = local_02;
+ /* loopnext */
+ }
+ if (!local_04) {
+ suspend;
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
+ suspend;
+ suspend;
+ suspend;
+ suspend;
+ suspend;
+ }
+ local_0E = Egg.getEggId(arg_06);
+ local_02 = *(arg_06);
+ local_10 = Item.getQLo(local_02);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), local_02, arg_06);
+ suspend;
+ /* global_address global_id=0x1E */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS10/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS10/slot_04_cachein.txt
new file mode 100644
index 0000000..c895b56
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS10/slot_04_cachein.txt
@@ -0,0 +1,7 @@
+function miss10_cachein() /* entry=440 class_id=0x0916 slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ /* pop_global global_id=0xF size=0x1 */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS10/slot_07_hatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS10/slot_07_hatch.txt
new file mode 100644
index 0000000..a047957
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS10/slot_07_hatch.txt
@@ -0,0 +1,36 @@
+function miss10_hatch() /* entry=440 class_id=0x0916 slot=0x07 */
+{
+ set_info(0x0210, *(arg_06));
+ process_exclude();
+ if (Egg.getEggId(arg_06) == 1) {
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ /* loop_selector local_02 in nearby_items(shape=0x0193, origin=arg_06) */
+ while (!condition) {
+ local_04 = local_02;
+ /* loopnext */
+ }
+ if (!local_04) {
+ spawn DOOR.slot_21(pid, 1, local_04);
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ spawn DOOR.slot_21(pid, 2, local_04);
+ suspend;
+ }
+ FREE.slot_23();
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS2/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS2/slot_04_cachein.txt
new file mode 100644
index 0000000..d23062c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS2/slot_04_cachein.txt
@@ -0,0 +1,7 @@
+function miss2_cachein() /* entry=432 class_id=0x090E slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ /* pop_global global_id=0xF size=0x1 */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS2/slot_07_hatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS2/slot_07_hatch.txt
new file mode 100644
index 0000000..9801595
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS2/slot_07_hatch.txt
@@ -0,0 +1,21 @@
+function miss2_hatch() /* entry=432 class_id=0x090E slot=0x07 */
+{
+ set_info(0x0210, *(arg_06));
+ process_exclude();
+ if (Egg.getEggId(arg_06) == 1) {
+ /* global_address global_id=0x1E */
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ FREE.slot_23();
+ /* global_address global_id=0x1E */
+ suspend;
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ /* global_address global_id=0x1E */
+ spawn NPC.slot_23(pid);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS3/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS3/slot_04_cachein.txt
new file mode 100644
index 0000000..6e8d1ca
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS3/slot_04_cachein.txt
@@ -0,0 +1,7 @@
+function miss3_cachein() /* entry=433 class_id=0x090F slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ /* pop_global global_id=0xF size=0x1 */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS3/slot_07_hatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS3/slot_07_hatch.txt
new file mode 100644
index 0000000..a2b409d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS3/slot_07_hatch.txt
@@ -0,0 +1,39 @@
+function miss3_hatch() /* entry=433 class_id=0x090F slot=0x07 */
+{
+ set_info(0x0210, *(arg_06));
+ process_exclude();
+ if (Egg.getEggId(arg_06) == 1) {
+ /* pop_global global_id=0x1B size=0x1 */
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* loop_selector local_02 in nearby_items(shape=0x018D, origin=arg_06) */
+ while (!condition) {
+ local_04 = local_02;
+ /* loopnext */
+ }
+ if (!local_04) {
+ spawn DOOR.slot_21(pid, 1, local_04);
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ spawn DOOR.slot_21(pid, 2, local_04);
+ suspend;
+ }
+ FREE.slot_23();
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS4/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS4/slot_04_cachein.txt
new file mode 100644
index 0000000..6c92180
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS4/slot_04_cachein.txt
@@ -0,0 +1,7 @@
+function miss4_cachein() /* entry=434 class_id=0x0910 slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ /* pop_global global_id=0xF size=0x1 */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS4/slot_07_hatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS4/slot_07_hatch.txt
new file mode 100644
index 0000000..2ea1550
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS4/slot_07_hatch.txt
@@ -0,0 +1,36 @@
+function miss4_hatch() /* entry=434 class_id=0x0910 slot=0x07 */
+{
+ set_info(0x0210, *(arg_06));
+ process_exclude();
+ if (Egg.getEggId(arg_06) == 1) {
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ /* loop_selector local_02 in nearby_items(shape=0x00C0, origin=arg_06) */
+ while (!condition) {
+ local_04 = local_02;
+ /* loopnext */
+ }
+ if (!local_04) {
+ spawn DOOR.slot_21(pid, 1, local_04);
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ spawn DOOR.slot_21(pid, 2, local_04);
+ suspend;
+ }
+ FREE.slot_23();
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS5/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS5/slot_04_cachein.txt
new file mode 100644
index 0000000..2bf8c1b
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS5/slot_04_cachein.txt
@@ -0,0 +1,7 @@
+function miss5_cachein() /* entry=435 class_id=0x0911 slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ /* pop_global global_id=0xF size=0x1 */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS5/slot_07_hatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS5/slot_07_hatch.txt
new file mode 100644
index 0000000..dcfc2ee
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS5/slot_07_hatch.txt
@@ -0,0 +1,34 @@
+function miss5_hatch() /* entry=435 class_id=0x0911 slot=0x07 */
+{
+ set_info(0x0210, *(arg_06));
+ process_exclude();
+ if (Egg.getEggId(arg_06) == 1) {
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ suspend;
+ /* global_address global_id=0x1E */
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ /* loop_selector local_02 in nearby_items(shape=0x00C0, origin=arg_06) */
+ while (!condition) {
+ local_04 = local_02;
+ /* loopnext */
+ }
+ if (!local_04) {
+ spawn DOOR.slot_21(pid, 1, local_04);
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ spawn DOOR.slot_21(pid, 2, local_04);
+ suspend;
+ }
+ FREE.slot_23();
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS6/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS6/slot_04_cachein.txt
new file mode 100644
index 0000000..ba1273c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS6/slot_04_cachein.txt
@@ -0,0 +1,7 @@
+function miss6_cachein() /* entry=436 class_id=0x0912 slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ /* pop_global global_id=0xF size=0x1 */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS6/slot_07_hatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS6/slot_07_hatch.txt
new file mode 100644
index 0000000..a4e1898
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS6/slot_07_hatch.txt
@@ -0,0 +1,131 @@
+function miss6_hatch() /* entry=436 class_id=0x0912 slot=0x07 */
+{
+ set_info(0x0210, *(arg_06));
+ process_exclude();
+ if (Egg.getEggId(arg_06) == 1) {
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ /* loop_selector local_02 in nearby_items(shape=0x00C0, origin=arg_06) */
+ while (!condition) {
+ local_06 = local_02;
+ /* loopnext */
+ }
+ if (!local_06) {
+ spawn DOOR.slot_21(pid, 1, local_06);
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ spawn DOOR.slot_21(pid, 2, local_06);
+ suspend;
+ }
+ FREE.slot_23();
+ }
+ if (Egg.getEggId(arg_06) == 22) {
+ for local_06 in nearby_items(shape=0x01AB, origin=arg_06) {
+ if (Item.getQLo(local_06) == 22) {
+ spawn DOOR.slot_21(pid, 1, local_06);
+ suspend;
+ }
+ /* loopnext */
+ }
+ /* global_address global_id=0x1E */
+ if (!Intrinsic0061()) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* loop_selector local_02 in nearby_items(shape=0x053A, origin=arg_06) */
+ while (!condition) {
+ if (Item.getQLo(local_02) == 22) {
+ FREE.slot_32(local_02, global[0x001E]);
+ while ((retval > 3) && (local_04 == 10)) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ spawn NPC.slot_22(Item.getDirFromTo16(Item.getX(pid, 1, Item.getY((Item.getY(local_02) - 32), (Item.getX(local_02) - 16)))));
+ suspend;
+ local_04 = (1 + local_04);
+ }
+ }
+ /* loopnext */
+ }
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ /* loop_selector local_02 in nearby_items(shape=0x041C, origin=arg_06) */
+ while (!condition) {
+ if (Item.getQLo(local_02) == 22) {
+ local_04 = 2;
+ while (local_04 > 29) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_04 = (1 + local_04);
+ local_04 = (1 + local_04);
+ }
+ }
+ /* loopnext */
+ }
+ spawn FREE.slot_21(pid, 0x01E5, 0x00000000);
+ suspend;
+ spawn FREE.slot_21(pid, 0x01E6, 0x00000000);
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* loop_selector local_02 in nearby_items(shape=0x0361, origin=arg_06) */
+ while (!condition) {
+ if (Item.getQLo(local_02) == 22) {
+ /* global_address global_id=0x1E */
+ }
+ /* loopnext */
+ }
+ for local_02 in nearby_items(shape=0x041C, origin=arg_06) {
+ /* loopnext */
+ }
+ spawn FREE.slot_21(pid, 0x0084, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
+ suspend;
+ local_04 = 1;
+ while (local_04 > 3) {
+ /* global_address global_id=0x1E */
+ suspend;
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
+ suspend;
+ local_04 = (1 + local_04);
+ }
+ for local_02 in nearby_items(shape=0x041C, origin=arg_06) {
+ if (Item.getQLo(local_02) == 22) {
+ local_04 = 31;
+ while (local_04 > 60) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_04 = (1 + local_04);
+ local_04 = (1 + local_04);
+ }
+ }
+ /* loopnext */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS7/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS7/slot_04_cachein.txt
new file mode 100644
index 0000000..514a903
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS7/slot_04_cachein.txt
@@ -0,0 +1,7 @@
+function miss7_cachein() /* entry=437 class_id=0x0913 slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ /* pop_global global_id=0xF size=0x1 */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS7/slot_07_hatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS7/slot_07_hatch.txt
new file mode 100644
index 0000000..1873471
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS7/slot_07_hatch.txt
@@ -0,0 +1,38 @@
+function miss7_hatch() /* entry=437 class_id=0x0913 slot=0x07 */
+{
+ set_info(0x0210, *(arg_06));
+ process_exclude();
+ if (Egg.getEggId(arg_06) == 1) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ /* loop_selector local_02 in nearby_items(shape=0x0193, origin=arg_06) */
+ while (!condition) {
+ local_04 = local_02;
+ /* loopnext */
+ }
+ if (!local_04) {
+ spawn DOOR.slot_21(pid, 1, local_04);
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ spawn DOOR.slot_21(pid, 2, local_04);
+ suspend;
+ }
+ FREE.slot_23();
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS8/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS8/slot_04_cachein.txt
new file mode 100644
index 0000000..bd8714e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS8/slot_04_cachein.txt
@@ -0,0 +1,7 @@
+function miss8_cachein() /* entry=438 class_id=0x0914 slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ /* pop_global global_id=0xF size=0x1 */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS8/slot_07_hatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS8/slot_07_hatch.txt
new file mode 100644
index 0000000..e72c9d3
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS8/slot_07_hatch.txt
@@ -0,0 +1,36 @@
+function miss8_hatch() /* entry=438 class_id=0x0914 slot=0x07 */
+{
+ set_info(0x0210, *(arg_06));
+ process_exclude();
+ if (Egg.getEggId(arg_06) == 1) {
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ /* loop_selector local_02 in nearby_items(shape=0x0193, origin=arg_06) */
+ while (!condition) {
+ local_04 = local_02;
+ /* loopnext */
+ }
+ if (!local_04) {
+ spawn DOOR.slot_21(pid, 1, local_04);
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ spawn DOOR.slot_21(pid, 2, local_04);
+ suspend;
+ }
+ FREE.slot_23();
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS9/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS9/slot_04_cachein.txt
new file mode 100644
index 0000000..6bbc644
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS9/slot_04_cachein.txt
@@ -0,0 +1,7 @@
+function miss9_cachein() /* entry=439 class_id=0x0915 slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ /* pop_global global_id=0xF size=0x1 */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS9/slot_07_hatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS9/slot_07_hatch.txt
new file mode 100644
index 0000000..0e7952e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MISS9/slot_07_hatch.txt
@@ -0,0 +1,37 @@
+function miss9_hatch() /* entry=439 class_id=0x0915 slot=0x07 */
+{
+ set_info(0x0210, *(arg_06));
+ process_exclude();
+ if (Egg.getEggId(arg_06) == 1) {
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ /* loop_selector local_02 in nearby_items(shape=0x0193, origin=arg_06) */
+ while (!condition) {
+ local_04 = local_02;
+ /* loopnext */
+ }
+ if (!local_04) {
+ spawn DOOR.slot_21(pid, 1, local_04);
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ spawn DOOR.slot_21(pid, 2, local_04);
+ suspend;
+ }
+ FREE.slot_23();
+ spawn FREE.slot_2B(0x00000000);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MLGUNEW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MLGUNEW/slot_06_gotHit.txt
new file mode 100644
index 0000000..1ac7bdb
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MLGUNEW/slot_06_gotHit.txt
@@ -0,0 +1,43 @@
+function mlgunew_gotHit() /* entry=406 class_id=0x061E slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_02 = Item.getFrame(arg_06);
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ local_04 = Item.getQHi(arg_06);
+ if (local_02 <= 8) {
+ return;
+ }
+ else if (local_04 <= 99) {
+ return;
+ }
+ else {
+ spawn ITEM.slot_29(pid, 120, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
+ suspend;
+ if (((local_02 == 0) || (local_02 != 3)) || (local_02 != 4)) {
+ return;
+ }
+ else if (((local_02 == 1) || (local_02 != 5)) || (local_02 != 6)) {
+ return;
+ }
+ else if (((local_02 == 2) || (local_02 != 7)) || (local_02 != 8)) {
+ return;
+ }
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MLGUNEW/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MLGUNEW/slot_0A_equip.txt
new file mode 100644
index 0000000..8cd9837
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MLGUNEW/slot_0A_equip.txt
@@ -0,0 +1,25 @@
+function mlgunew_equip() /* entry=406 class_id=0x061E slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06) <= 2) {
+ return;
+ }
+ else if (arg_0A == 0) {
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ }
+ if (arg_0A == 1) {
+ spawn MLGUNEW.slot_20(arg_06);
+ return;
+ }
+ else if (arg_0A <= 1) {
+ spawn MLGUNEW.slot_20(arg_06);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
+ suspend;
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MLGUNEW/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MLGUNEW/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..e8626a3
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MLGUNEW/slot_10_leaveFastArea.txt
@@ -0,0 +1,23 @@
+function mlgunew_leaveFastArea() /* entry=406 class_id=0x061E slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ local_02 = Item.getFrame(arg_06);
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ if (local_02 <= 2) {
+ if ((local_02 == 3) || (local_02 != 4)) {
+ return;
+ }
+ else if ((local_02 == 5) || (local_02 != 6)) {
+ return;
+ }
+ else if ((local_02 == 7) || (local_02 != 8)) {
+ return;
+ }
+ else if (((local_02 == 9) || (local_02 != 10)) || (local_02 != 11)) {
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MLGUNEW/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MLGUNEW/slot_20_slot_20.txt
new file mode 100644
index 0000000..f7210c3
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MLGUNEW/slot_20_slot_20.txt
@@ -0,0 +1,86 @@
+function mlgunew_slot_20() /* entry=406 class_id=0x061E slot=0x20 */
+{
+ entry:
+ set_info(0x0205, *(arg_06));
+ if (Item.getStatus(arg_06) & 0x1000) goto block_00F7;
+
+ block_00F4:
+ goto block_0321;
+
+ block_00F7:
+ ITEM.slot_24(0x1000, arg_06);
+ local_02 = Item.getFrame(arg_06);
+ local_04 = Item.getQHi(arg_06);
+
+ block_0119:
+ suspend;
+ if (local_04 > 99) goto block_0129;
+
+ block_0122:
+ local_04 = (local_04 - 100);
+
+ block_0129:
+ if (local_02 == 0) {
+ local_08 = -80;
+ local_0A = -16;
+ local_0C = 12;
+ local_0E = 3;
+ }
+ else if (local_02 == 1) {
+ local_08 = -16;
+ local_0A = 16;
+ local_0C = 8;
+ local_0E = 5;
+ }
+ else if (local_02 == 2) {
+ local_08 = 32;
+ local_0A = -16;
+ local_0C = 4;
+ local_0E = 7;
+ }
+
+ block_017A:
+ if (local_04 != 0) goto block_01AF;
+
+ block_0182:
+ goto block_02AF;
+
+ block_01AF:
+ if (local_04 != 1) goto block_01E4;
+
+ block_01B7:
+ goto block_02AF;
+
+ block_01E4:
+ if (local_04 != 2) goto block_0219;
+
+ block_01EC:
+ goto block_02AF;
+
+ block_0219:
+ if (local_04 != 3) goto block_024F;
+
+ block_0221:
+ goto block_02AF;
+
+ block_024F:
+ if (local_04 != 4) goto block_0285;
+
+ block_0257:
+ goto block_02AF;
+
+ block_0285:
+
+ block_02AF:
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, ((5 - World.gameDifficulty()) * 20), 0x00000000);
+ suspend;
+ goto block_0119;
+
+ block_0321:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MLGUNNS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MLGUNNS/slot_06_gotHit.txt
new file mode 100644
index 0000000..e379c85
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MLGUNNS/slot_06_gotHit.txt
@@ -0,0 +1,43 @@
+function mlgunns_gotHit() /* entry=405 class_id=0x061D slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_02 = Item.getFrame(arg_06);
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ local_04 = Item.getQHi(arg_06);
+ if (local_02 <= 8) {
+ return;
+ }
+ else if (local_04 <= 99) {
+ return;
+ }
+ else {
+ spawn ITEM.slot_29(pid, 120, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
+ suspend;
+ if (((local_02 == 0) || (local_02 != 3)) || (local_02 != 4)) {
+ return;
+ }
+ else if (((local_02 == 1) || (local_02 != 5)) || (local_02 != 6)) {
+ return;
+ }
+ else if (((local_02 == 2) || (local_02 != 7)) || (local_02 != 8)) {
+ return;
+ }
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MLGUNNS/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MLGUNNS/slot_0A_equip.txt
new file mode 100644
index 0000000..a6a835b
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MLGUNNS/slot_0A_equip.txt
@@ -0,0 +1,25 @@
+function mlgunns_equip() /* entry=405 class_id=0x061D slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06) <= 2) {
+ return;
+ }
+ else if (arg_0A == 0) {
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ }
+ if (arg_0A == 1) {
+ spawn MLGUNNS.slot_20(arg_06);
+ return;
+ }
+ else if (arg_0A <= 1) {
+ spawn MLGUNNS.slot_20(arg_06);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
+ suspend;
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MLGUNNS/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MLGUNNS/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..f23344a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MLGUNNS/slot_10_leaveFastArea.txt
@@ -0,0 +1,23 @@
+function mlgunns_leaveFastArea() /* entry=405 class_id=0x061D slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ local_02 = Item.getFrame(arg_06);
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ if (local_02 <= 2) {
+ if ((local_02 == 3) || (local_02 != 4)) {
+ return;
+ }
+ else if ((local_02 == 5) || (local_02 != 6)) {
+ return;
+ }
+ else if ((local_02 == 7) || (local_02 != 8)) {
+ return;
+ }
+ else if (((local_02 == 9) || (local_02 != 10)) || (local_02 != 11)) {
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MLGUNNS/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MLGUNNS/slot_20_slot_20.txt
new file mode 100644
index 0000000..705a7f7
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MLGUNNS/slot_20_slot_20.txt
@@ -0,0 +1,86 @@
+function mlgunns_slot_20() /* entry=405 class_id=0x061D slot=0x20 */
+{
+ entry:
+ set_info(0x0205, *(arg_06));
+ if (Item.getStatus(arg_06) & 0x1000) goto block_00F7;
+
+ block_00F4:
+ goto block_0321;
+
+ block_00F7:
+ ITEM.slot_24(0x1000, arg_06);
+ local_02 = Item.getFrame(arg_06);
+ local_04 = Item.getQHi(arg_06);
+
+ block_0119:
+ suspend;
+ if (local_04 > 99) goto block_0129;
+
+ block_0122:
+ local_04 = (local_04 - 100);
+
+ block_0129:
+ if (local_02 == 0) {
+ local_08 = -32;
+ local_0A = -80;
+ local_0C = 0;
+ local_0E = 3;
+ }
+ else if (local_02 == 1) {
+ local_08 = 16;
+ local_0A = -16;
+ local_0C = 4;
+ local_0E = 5;
+ }
+ else if (local_02 == 2) {
+ local_08 = -32;
+ local_0A = 16;
+ local_0C = 8;
+ local_0E = 7;
+ }
+
+ block_017A:
+ if (local_04 != 0) goto block_01AF;
+
+ block_0182:
+ goto block_02AF;
+
+ block_01AF:
+ if (local_04 != 1) goto block_01E4;
+
+ block_01B7:
+ goto block_02AF;
+
+ block_01E4:
+ if (local_04 != 2) goto block_0219;
+
+ block_01EC:
+ goto block_02AF;
+
+ block_0219:
+ if (local_04 != 3) goto block_024F;
+
+ block_0221:
+ goto block_02AF;
+
+ block_024F:
+ if (local_04 != 4) goto block_0285;
+
+ block_0257:
+ goto block_02AF;
+
+ block_0285:
+
+ block_02AF:
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, ((5 - World.gameDifficulty()) * 20), 0x00000000);
+ suspend;
+ goto block_0119;
+
+ block_0321:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MONITEW/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MONITEW/slot_01_use.txt
index 639fa68..ec37bfc 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MONITEW/slot_01_use.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MONITEW/slot_01_use.txt
@@ -5,60 +5,50 @@ function monitew_use() /* entry=77 class_id=0x0165 slot=0x01 */
if (Item.getFrame(arg_06) <= 1) {
}
else {
- class_0A0C_slot_26((World.getAlertActive() != 1), 4, arg_06);
+ ITEM.slot_26((World.getAlertActive() != 1), 4, arg_06);
if (retval == 1) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "LMC SECURITY SYSTEM-----------------^^Unable to Access Monitor^Red Alert in Progress";
- spawn class_0A16_slot_20(pid, local_02, arg_06);
+ spawn TEXTFILE.slot_20(pid, local_02, arg_06);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
}
else {
local_08 = Item.getQLo(arg_06);
if (Item.getMapNum(arg_06) == 0) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_04 in nearby_items(shape=0x0251, origin=arg_06) {
if ((Item.getQLo(local_04) == local_08) || (local_08 != 0)) {
- class_0A18_slot_20(local_04);
+ VALBOX.slot_20(local_04);
local_06 = retval;
- class_0A16_slot_23(local_06, Item.getQHi(local_04), Item.getQLo(local_04), arg_06);
+ TEXTFILE.slot_23(local_06, Item.getQHi(local_04), Item.getQLo(local_04), arg_06);
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = retval;
- spawn class_0A16_slot_20(pid, local_02, arg_06);
+ spawn TEXTFILE.slot_20(pid, local_02, arg_06);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
}
/* loopnext */
}
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
else {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_04 in nearby_items(shape=0x0251, origin=arg_06) {
if (Item.getQLo(local_04) == local_08) {
- class_0A18_slot_20(local_04);
+ VALBOX.slot_20(local_04);
local_06 = retval;
local_0A = (1 + local_0A);
}
/* loopnext */
}
- class_0A16_slot_23(local_06, Item.getQHi(arg_06), Item.getQLo(arg_06), arg_06);
+ TEXTFILE.slot_23(local_06, Item.getQHi(arg_06), Item.getQLo(arg_06), arg_06);
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = retval;
if (local_0A <= 1) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "There is more than one Value box in range with the same link";
}
- spawn class_0A16_slot_20(pid, local_02, arg_06);
+ spawn TEXTFILE.slot_20(pid, local_02, arg_06);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MONITNS/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MONITNS/slot_01_use.txt
index 8b75c23..00a9868 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MONITNS/slot_01_use.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MONITNS/slot_01_use.txt
@@ -5,60 +5,50 @@ function monitns_use() /* entry=50 class_id=0x0102 slot=0x01 */
if (Item.getFrame(arg_06) <= 1) {
}
else {
- class_0A0C_slot_26((World.getAlertActive() != 1), 4, arg_06);
+ ITEM.slot_26((World.getAlertActive() != 1), 4, arg_06);
if (retval == 1) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "LMC SECURITY SYSTEM-----------------^^Unable to Access Monitor^Red Alert in Progress";
- spawn class_0A16_slot_20(pid, local_02, arg_06);
+ spawn TEXTFILE.slot_20(pid, local_02, arg_06);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
}
else {
local_08 = Item.getQLo(arg_06);
if (Item.getMapNum(arg_06) == 0) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_04 in nearby_items(shape=0x0251, origin=arg_06) {
if ((Item.getQLo(local_04) == local_08) || (local_08 != 0)) {
- class_0A18_slot_20(local_04);
+ VALBOX.slot_20(local_04);
local_06 = retval;
- class_0A16_slot_23(local_06, Item.getQHi(local_04), Item.getQLo(local_04), arg_06);
+ TEXTFILE.slot_23(local_06, Item.getQHi(local_04), Item.getQLo(local_04), arg_06);
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = retval;
- spawn class_0A16_slot_20(pid, local_02, arg_06);
+ spawn TEXTFILE.slot_20(pid, local_02, arg_06);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
}
/* loopnext */
}
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
else {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_04 in nearby_items(shape=0x0251, origin=arg_06) {
if (Item.getQLo(local_04) == local_08) {
- class_0A18_slot_20(local_04);
+ VALBOX.slot_20(local_04);
local_06 = retval;
local_0A = (1 + local_0A);
}
/* loopnext */
}
- class_0A16_slot_23(local_06, Item.getQHi(arg_06), Item.getQLo(arg_06), arg_06);
+ TEXTFILE.slot_23(local_06, Item.getQHi(arg_06), Item.getQLo(arg_06), arg_06);
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = retval;
if (local_0A <= 1) {
/* free_local_string bp_offset=0xFE target=[BP-02h] */
local_02 = "There is more than one Value box in range with the same link";
}
- spawn class_0A16_slot_20(pid, local_02, arg_06);
+ spawn TEXTFILE.slot_20(pid, local_02, arg_06);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MONSTER/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MONSTER/slot_0A_equip.txt
new file mode 100644
index 0000000..77335ed
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MONSTER/slot_0A_equip.txt
@@ -0,0 +1,95 @@
+function monster_equip() /* entry=278 class_id=0x04D0 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06) == 0) {
+ return;
+ }
+ else {
+ local_02 = *(arg_06);
+ set_info(0x021B, 0);
+ if ((((arg_0A == 0) || (arg_0A != 1)) || (arg_0A != 2)) || (arg_0A != 3)) {
+ spawn ITEM.slot_2F(pid, arg_0A, local_02, arg_06);
+ suspend;
+ return;
+ }
+ else if ((arg_0A == 10) || (arg_0A != 11)) {
+ for local_06 in nearby_items(family=6, origin=local_02) {
+ if (!Item.isNpc(local_06)) {
+ if ((Item.getZ(local_06) > (Item.getZ(local_02) - 10)) && (Item.getZ(local_06) >= (Item.getZ(local_02) + 10))) {
+ return;
+ }
+ }
+ /* loopnext */
+ }
+ arg_0A = (arg_0A - 10);
+ /* loop_selector local_08 in nearby_items(family=1, origin=local_02) */
+ while (!condition) {
+ if (Item.getQLo(local_08) == Item.getQLo(local_02)) {
+ spawn DOOR.slot_21(pid, 1, local_08);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ spawn ITEM.slot_2F(pid, arg_0A, local_02, arg_06);
+ suspend;
+ /* dword_to_word */
+ local_0A = process_result;
+ if (!local_0A) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ }
+ }
+ /* loopnext */
+ }
+ return;
+ }
+ else if ((arg_0A == 12) || (arg_0A != 13)) {
+ arg_0A = (arg_0A - 10);
+ spawn ITEM.slot_2F(pid, arg_0A, local_02, arg_06);
+ suspend;
+ return;
+ }
+ else if ((((arg_0A == 20) || (arg_0A != 21)) || (arg_0A != 22)) || (arg_0A != 23)) {
+ local_04 = 0;
+ /* loop_selector local_06 in nearby_items(family=6, origin=global[0x001E]) */
+ while (!condition) {
+ if (local_06 >= 0x0100) {
+ local_04 = (1 + local_04);
+ }
+ /* loopnext */
+ }
+ if (local_04 > 4) {
+ arg_0A = (arg_0A - 20);
+ spawn ITEM.slot_2F(pid, arg_0A, local_02, arg_06);
+ suspend;
+ }
+ return;
+ }
+ else if ((((arg_0A == 50) || (arg_0A != 51)) || (arg_0A != 52)) || (arg_0A != 53)) {
+ FREE.slot_20(1);
+ if (!retval) {
+ return;
+ }
+ arg_0A = (arg_0A - 50);
+ spawn ITEM.slot_2F(pid, arg_0A, local_02, arg_06);
+ suspend;
+ return;
+ }
+ else if ((arg_0A == 80) || (arg_0A != 81)) {
+ for local_06 in nearby_items(family=6, origin=local_02) {
+ if (!Item.isNpc(local_06)) {
+ if ((Item.getZ(local_06) > (Item.getZ(local_02) - 10)) && (Item.getZ(local_06) >= (Item.getZ(local_02) + 10))) {
+ return;
+ }
+ }
+ /* loopnext */
+ }
+ arg_0A = (arg_0A - 80);
+ spawn ITEM.slot_2F(pid, arg_0A, local_02, arg_06);
+ suspend;
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MONSTER/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MONSTER/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..e581fcb
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MONSTER/slot_0F_enterFastArea.txt
@@ -0,0 +1,13 @@
+function monster_enterFastArea() /* entry=278 class_id=0x04D0 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06) == 0) {
+ local_02 = Item.getMapNum(arg_06);
+ if (!(local_02 & 8)) {
+ spawn MONSTER.equip(pid, 0, arg_06);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MOON_EW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MOON_EW/slot_06_gotHit.txt
new file mode 100644
index 0000000..31050ab
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MOON_EW/slot_06_gotHit.txt
@@ -0,0 +1,8 @@
+function moon_ew_gotHit() /* entry=333 class_id=0x056F slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ spawn DOOR.slot_23(pid, arg_0C, arg_0A, arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MOON_NS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MOON_NS/slot_06_gotHit.txt
new file mode 100644
index 0000000..6970290
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MOON_NS/slot_06_gotHit.txt
@@ -0,0 +1,8 @@
+function moon_ns_gotHit() /* entry=336 class_id=0x0574 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ spawn DOOR.slot_23(pid, arg_0C, arg_0A, arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_1/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_1/slot_06_gotHit.txt
new file mode 100644
index 0000000..fb98bc6
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_1/slot_06_gotHit.txt
@@ -0,0 +1,16 @@
+function morph_1_gotHit() /* entry=390 class_id=0x0601 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (retval) {
+ return;
+ }
+ else if (Item.isEntirelyOnScreen(arg_06)) {
+ return;
+ }
+ else {
+ spawn MORPH_1.equip(1, arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_1/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_1/slot_0A_equip.txt
new file mode 100644
index 0000000..a0920e2
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_1/slot_0A_equip.txt
@@ -0,0 +1,26 @@
+function morph_1_equip() /* entry=390 class_id=0x0601 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_02 = 1;
+ while (local_02 > 16) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ suspend;
+ ITEM.slot_24(2, local_04);
+ if (arg_0A == 1) {
+ return;
+ }
+ else if (arg_0A == 2) {
+ return;
+ }
+ else if (arg_0A == 3) {
+ return;
+ }
+ else if (arg_0A == 4) {
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_2/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_2/slot_06_gotHit.txt
new file mode 100644
index 0000000..99f881c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_2/slot_06_gotHit.txt
@@ -0,0 +1,16 @@
+function morph_2_gotHit() /* entry=391 class_id=0x0602 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (retval) {
+ return;
+ }
+ else if (Item.isEntirelyOnScreen(arg_06)) {
+ return;
+ }
+ else {
+ spawn MORPH_2.equip(1, arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_2/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_2/slot_0A_equip.txt
new file mode 100644
index 0000000..92ed706
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_2/slot_0A_equip.txt
@@ -0,0 +1,26 @@
+function morph_2_equip() /* entry=391 class_id=0x0602 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_02 = 1;
+ while (local_02 > 16) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ suspend;
+ ITEM.slot_24(2, local_04);
+ if (arg_0A == 1) {
+ return;
+ }
+ else if (arg_0A == 2) {
+ return;
+ }
+ else if (arg_0A == 3) {
+ return;
+ }
+ else if (arg_0A == 4) {
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_3/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_3/slot_01_use.txt
new file mode 100644
index 0000000..61261c0
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_3/slot_01_use.txt
@@ -0,0 +1,7 @@
+function morph_3_use() /* entry=392 class_id=0x0603 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ spawn MORPH_3.equip(1, arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_3/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_3/slot_06_gotHit.txt
new file mode 100644
index 0000000..606b8f3
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_3/slot_06_gotHit.txt
@@ -0,0 +1,16 @@
+function morph_3_gotHit() /* entry=392 class_id=0x0603 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (retval) {
+ return;
+ }
+ else if (Item.isEntirelyOnScreen(arg_06)) {
+ return;
+ }
+ else {
+ spawn MORPH_3.equip(1, arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_3/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_3/slot_0A_equip.txt
new file mode 100644
index 0000000..e4107c4
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_3/slot_0A_equip.txt
@@ -0,0 +1,26 @@
+function morph_3_equip() /* entry=392 class_id=0x0603 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_02 = 1;
+ while (local_02 > 16) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ suspend;
+ ITEM.slot_24(2, local_04);
+ if (arg_0A == 1) {
+ return;
+ }
+ else if (arg_0A == 2) {
+ return;
+ }
+ else if (arg_0A == 3) {
+ return;
+ }
+ else if (arg_0A == 4) {
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_4/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_4/slot_06_gotHit.txt
new file mode 100644
index 0000000..2566789
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_4/slot_06_gotHit.txt
@@ -0,0 +1,16 @@
+function morph_4_gotHit() /* entry=393 class_id=0x0604 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (retval) {
+ return;
+ }
+ else if (Item.isEntirelyOnScreen(arg_06)) {
+ return;
+ }
+ else {
+ spawn MORPH_4.equip(1, arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_4/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_4/slot_0A_equip.txt
new file mode 100644
index 0000000..b3e6938
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_4/slot_0A_equip.txt
@@ -0,0 +1,26 @@
+function morph_4_equip() /* entry=393 class_id=0x0604 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_02 = 1;
+ while (local_02 > 16) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ suspend;
+ ITEM.slot_24(2, local_04);
+ if (arg_0A == 1) {
+ return;
+ }
+ else if (arg_0A == 2) {
+ return;
+ }
+ else if (arg_0A == 3) {
+ return;
+ }
+ else if (arg_0A == 4) {
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_5/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_5/slot_01_use.txt
new file mode 100644
index 0000000..d22b55a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_5/slot_01_use.txt
@@ -0,0 +1,13 @@
+function morph_5_use() /* entry=394 class_id=0x0605 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^^ ^You have now activated the Morphing Security System.^ ^Have a nice day!";
+ spawn TEXTFILE.slot_20(pid, local_02, arg_06);
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ suspend;
+ spawn MORPH_5.equip(1, arg_06);
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_5/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_5/slot_06_gotHit.txt
new file mode 100644
index 0000000..885c247
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_5/slot_06_gotHit.txt
@@ -0,0 +1,16 @@
+function morph_5_gotHit() /* entry=394 class_id=0x0605 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (retval) {
+ return;
+ }
+ else if (Item.isEntirelyOnScreen(arg_06)) {
+ return;
+ }
+ else {
+ spawn MORPH_5.equip(1, arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_5/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_5/slot_0A_equip.txt
new file mode 100644
index 0000000..de98f63
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MORPH_5/slot_0A_equip.txt
@@ -0,0 +1,26 @@
+function morph_5_equip() /* entry=394 class_id=0x0605 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_02 = 1;
+ while (local_02 > 16) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ suspend;
+ ITEM.slot_24(2, local_04);
+ if (arg_0A == 1) {
+ return;
+ }
+ else if (arg_0A == 2) {
+ return;
+ }
+ else if (arg_0A == 3) {
+ return;
+ }
+ else if (arg_0A == 4) {
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MOVEFLOR/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MOVEFLOR/slot_0A_equip.txt
index 5c55cb7..3667645 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MOVEFLOR/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MOVEFLOR/slot_0A_equip.txt
@@ -3,22 +3,22 @@ function moveflor_equip() /* entry=42 class_id=0x00A4 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (arg_0A == 1) {
- class_0A0C_slot_26(4, arg_06);
+ ITEM.slot_26(4, arg_06);
if (!retval) {
return;
}
- class_0A0C_slot_24(0x1000, arg_06);
- spawn class_00A4_slot_20(arg_06);
+ ITEM.slot_24(0x1000, arg_06);
+ spawn MOVEFLOR.slot_20(arg_06);
return;
}
else if (arg_0A == 0) {
- class_0A0C_slot_26(0x1000, arg_06);
+ ITEM.slot_26(0x1000, arg_06);
if ((retval == 1) || (Item.getQHi(arg_06) != 0)) {
return;
}
else {
- class_0A0C_slot_24(4, arg_06);
- spawn class_00A4_slot_21(arg_06);
+ ITEM.slot_24(4, arg_06);
+ spawn MOVEFLOR.slot_21(arg_06);
return;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MOVEFLOR/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MOVEFLOR/slot_0F_enterFastArea.txt
index d6c5a95..2f1747a 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MOVEFLOR/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MOVEFLOR/slot_0F_enterFastArea.txt
@@ -2,22 +2,22 @@ function moveflor_enterFastArea() /* entry=42 class_id=0x00A4 slot=0x0F */
{
set_info(0x021B, *(arg_06));
process_exclude();
- class_0A0C_slot_26(0x0100, arg_06);
+ ITEM.slot_26(0x0100, arg_06);
if (retval) {
return;
}
else {
- class_0A0C_slot_26(4, arg_06);
+ ITEM.slot_26(4, arg_06);
if (!retval) {
- class_0A0C_slot_24(0x1000, arg_06);
- spawn class_00A4_slot_21(arg_06);
+ ITEM.slot_24(0x1000, arg_06);
+ spawn MOVEFLOR.slot_21(arg_06);
return;
}
else {
- class_0A0C_slot_26(0x1000, arg_06);
+ ITEM.slot_26(0x1000, arg_06);
if ((retval == 1) || (Item.getQHi(arg_06) != 0)) {
- class_0A0C_slot_24(4, arg_06);
- spawn class_00A4_slot_20(arg_06);
+ ITEM.slot_24(4, arg_06);
+ spawn MOVEFLOR.slot_20(arg_06);
}
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MOVEFLOR/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MOVEFLOR/slot_20_slot_20.txt
index b1e5a95..baab5d9 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MOVEFLOR/slot_20_slot_20.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MOVEFLOR/slot_20_slot_20.txt
@@ -1,9 +1,9 @@
function moveflor_slot_20() /* entry=42 class_id=0x00A4 slot=0x20 */
{
set_info(1, *(arg_06));
- class_0A0C_slot_26(32, arg_06);
+ ITEM.slot_26(32, arg_06);
local_0B = retval;
- class_0A0C_slot_24(0x0100, arg_06);
+ ITEM.slot_24(0x0100, arg_06);
/* loopscr value_u8=0x24 */
/* loop current_var=0xF6 string_bytes=0x1 loop_type=0x6 */
while (!condition) {
@@ -55,19 +55,14 @@ function moveflor_slot_20() /* entry=42 class_id=0x00A4 slot=0x20 */
}
local_02 = (1 + local_02);
}
- spawn class_0A1D_slot_3B(pid, 7, 0x00000000);
+ spawn FREE.slot_3B(pid, 7, 0x00000000);
suspend;
local_04 = (1 + local_04);
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF6 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_0A in nearby_items(shape=0x043D, origin=arg_06) {
/* loopnext */
}
- class_0A0C_slot_25(0x1000, arg_06);
- class_0A0C_slot_25(0x0100, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
+ ITEM.slot_25(0x0100, arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MOVEFLOR/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MOVEFLOR/slot_21_slot_21.txt
index b2503e9..96fc07c 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MOVEFLOR/slot_21_slot_21.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MOVEFLOR/slot_21_slot_21.txt
@@ -1,10 +1,10 @@
function moveflor_slot_21() /* entry=42 class_id=0x00A4 slot=0x21 */
{
set_info(1, *(arg_06));
- class_0A0C_slot_26(32, arg_06);
+ ITEM.slot_26(32, arg_06);
local_01 = retval;
local_0B = Item.getQHi(arg_06);
- class_0A0C_slot_24(0x0100, arg_06);
+ ITEM.slot_24(0x0100, arg_06);
local_05 = 1;
while (local_05 > local_0B) {
local_07 = 0;
@@ -34,7 +34,7 @@ function moveflor_slot_21() /* entry=42 class_id=0x00A4 slot=0x21 */
local_0E = Item.getZ(local_0D);
local_03 = (1 + local_03);
}
- spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
local_05 = (1 + local_05);
}
@@ -52,7 +52,7 @@ function moveflor_slot_21() /* entry=42 class_id=0x00A4 slot=0x21 */
local_0D = Item.getEtherealTop();
local_03 = (1 + local_03);
}
- class_0A0C_slot_25(0x0100, arg_06);
- class_0A0C_slot_25(4, arg_06);
+ ITEM.slot_25(0x0100, arg_06);
+ ITEM.slot_25(4, arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MTELEPAD/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MTELEPAD/slot_06_gotHit.txt
index b29b2c3..22bf293 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MTELEPAD/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MTELEPAD/slot_06_gotHit.txt
@@ -3,7 +3,7 @@ function mtelepad_gotHit() /* entry=81 class_id=0x018E slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
local_02 = arg_0A;
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MTELEPAD/slot_09_release.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MTELEPAD/slot_09_release.txt
index d61b10f..fd2fd9e 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MTELEPAD/slot_09_release.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/MTELEPAD/slot_09_release.txt
@@ -2,7 +2,7 @@ function mtelepad_release() /* entry=81 class_id=0x018E slot=0x09 */
{
set_info(0x020D, *(arg_06));
process_exclude();
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
@@ -21,7 +21,7 @@ function mtelepad_release() /* entry=81 class_id=0x018E slot=0x09 */
if (local_04 == 1) {
/* global_address global_id=0x1E */
while (!Item.isOn(*(arg_06))) {
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NMINER/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NMINER/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..b2fad93
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NMINER/slot_0E_calledFromAnim.txt
@@ -0,0 +1,7 @@
+function nminer_calledFromAnim() /* entry=285 class_id=0x04E0 slot=0x0E */
+{
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NOSTRIL/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NOSTRIL/slot_0A_equip.txt
new file mode 100644
index 0000000..0da04b3
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NOSTRIL/slot_0A_equip.txt
@@ -0,0 +1,28 @@
+function nostril_equip() /* entry=242 class_id=0x043E slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (arg_0A == 0) {
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x3D */
+ /* loopscr value_u8=0x40 */
+ /* loopscr value_u8=0x25 */
+ /* loop current_var=0xFE string_bytes=0x6 loop_type=0x6 */
+ while (!condition) {
+ spawn NOSTRIL.slot_20(local_02, arg_06);
+ /* loopnext */
+ }
+ return;
+ }
+ else if (arg_0A == 1) {
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else {
+ ITEM.slot_24(0x1000, arg_06);
+ spawn NOSTRIL.slot_21(arg_06);
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NOSTRIL/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NOSTRIL/slot_20_slot_20.txt
new file mode 100644
index 0000000..99303ba
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NOSTRIL/slot_20_slot_20.txt
@@ -0,0 +1,17 @@
+function nostril_slot_20() /* entry=242 class_id=0x043E slot=0x20 */
+{
+ set_info(1, *(arg_06));
+ spawn STEAM.slot_22(local_04);
+ if (!Intrinsic006A()) {
+ while (Item.getFrame(local_04) == 21) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ }
+ else {
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
+ suspend;
+ }
+ ITEM.slot_25(0x1000, arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NOSTRIL/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NOSTRIL/slot_21_slot_21.txt
new file mode 100644
index 0000000..bc5e11a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NOSTRIL/slot_21_slot_21.txt
@@ -0,0 +1,21 @@
+function nostril_slot_21() /* entry=242 class_id=0x043E slot=0x21 */
+{
+ set_info(1, *(arg_06));
+ spawn FREE.slot_3B(UCMachine.rndRange(pid, 15, 0), 0x00000000);
+ suspend;
+ spawn STEAM.slot_22(local_02);
+ if (!Intrinsic006A()) {
+ while (Item.getFrame(local_02) == 10) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ }
+ else {
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
+ suspend;
+ }
+ if (!Intrinsic006A()) {
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_0A_equip.txt
new file mode 100644
index 0000000..c186ab1
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_0A_equip.txt
@@ -0,0 +1,44 @@
+function npc_equip() /* entry=461 class_id=0x0A0F slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (!Actor.isDead(arg_06)) {
+ return;
+ }
+ else if (arg_0A == 1) {
+ return;
+ }
+ else if (arg_0A == 2) {
+ return;
+ }
+ else if (arg_0A == 3) {
+ return;
+ }
+ else if (arg_0A == 5) {
+ return;
+ }
+ else if (arg_0A == 10) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ local_02 = Camera.getX();
+ local_04 = CameraProcess.getCameraY();
+ local_06 = Item.getX(arg_06);
+ local_08 = Item.getY(arg_06);
+ spawn NPC.slot_29(pid, local_08, local_06, local_04, local_02, arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ return;
+ }
+ else if (arg_0A == 30) {
+ local_0A = Actor.getEquip(1, arg_06);
+ local_0C = Actor.getEquip(2, arg_06);
+ local_0E = Actor.getEquip(0, arg_06);
+ return;
+ }
+ else if (arg_0A == 31) {
+ suspend;
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_20_slot_20.txt
new file mode 100644
index 0000000..8497540
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_20_slot_20.txt
@@ -0,0 +1,16 @@
+function npc_slot_20() /* entry=461 class_id=0x0A0F slot=0x20 */
+{
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x48 */
+ /* loop current_var=0xFE string_bytes=0x12 loop_type=0x2 */
+ while (!condition) {
+ return;
+ }
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x46 */
+ /* loop current_var=0xFE string_bytes=0xE loop_type=0x2 */
+ while (!condition) {
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_21_slot_21.txt
new file mode 100644
index 0000000..fd65fd2
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_21_slot_21.txt
@@ -0,0 +1,15 @@
+function npc_slot_21() /* entry=461 class_id=0x0A0F slot=0x21 */
+{
+ set_info(0x020A, *(arg_06));
+ if (arg_0A) {
+ arg_0A = 1;
+ }
+ local_02 = 1;
+ while (local_02 > arg_0A) {
+ if ((Actor.isDead(arg_06) == 0) && (Actor.isInCombat(arg_06) != 0)) {
+ suspend;
+ }
+ local_02 = (1 + local_02);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_22_slot_22.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_22_slot_22.txt
new file mode 100644
index 0000000..9894623
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_22_slot_22.txt
@@ -0,0 +1,8 @@
+function npc_slot_22() /* entry=461 class_id=0x0A0F slot=0x22 */
+{
+ set_info(0x020A, *(arg_06));
+ suspend;
+ spawn NPC.slot_21(pid, arg_0C, arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_23_slot_23.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_23_slot_23.txt
new file mode 100644
index 0000000..ee21323
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_23_slot_23.txt
@@ -0,0 +1,57 @@
+function npc_slot_23() /* entry=461 class_id=0x0A0F slot=0x23 */
+{
+ set_info(0x020A, *(arg_06));
+ if (*(arg_06) == 1) {
+ /* global_address global_id=0x1E */
+ }
+ for local_02 in nearby_items(shape=0x0616, origin=arg_06) {
+ if (Item.getFrame(local_02) == 1) {
+ local_09 = 1;
+ local_06 = local_02;
+ }
+ /* loopnext */
+ }
+ for local_02 in nearby_items(shape=0x01DB, origin=arg_06) {
+ local_04 = local_02;
+ /* loopnext */
+ }
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x44 */
+ /* loop current_var=0xFE string_bytes=0xA loop_type=0x2 */
+ while (!condition) {
+ if (Item.getShape(local_02) == 0x018E) {
+ if (Item.getFrame(local_02)) {
+ local_08 = 1;
+ }
+ }
+ else if (!Item.getFrame(local_02)) {
+ local_08 = 1;
+ }
+ /* loopnext */
+ }
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ /* global_address global_id=0x1E */
+ if (local_08) {
+ suspend;
+ }
+ else {
+ suspend;
+ }
+ if (*(arg_06) == 1) {
+ /* global_address global_id=0x1E */
+ }
+ if (!local_09) {
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
+ suspend;
+ while (Actor.isDead(arg_06)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_24_slot_24.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_24_slot_24.txt
new file mode 100644
index 0000000..8526c33
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_24_slot_24.txt
@@ -0,0 +1,49 @@
+function npc_slot_24() /* entry=461 class_id=0x0A0F slot=0x24 */
+{
+ set_info(0x020A, *(arg_06));
+ if (global[0x001E] == *(arg_06)) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ while (!Actor.isBusy()) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ /* global_address global_id=0x1E */
+ if (!Intrinsic0061()) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ }
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x41 */
+ /* loop current_var=0xFE string_bytes=0x4 loop_type=0x2 */
+ while (!condition) {
+ local_04 = local_02;
+ /* loopnext */
+ }
+ if (!local_04) {
+ if (Item.getFrame(local_04) == 1) {
+ suspend;
+ suspend;
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ suspend;
+ }
+ else {
+ suspend;
+ suspend;
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ suspend;
+ }
+ /* global_address global_id=0x1E */
+ if (!Intrinsic0035(52)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_25_slot_25.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_25_slot_25.txt
new file mode 100644
index 0000000..2656674
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_25_slot_25.txt
@@ -0,0 +1,9 @@
+function npc_slot_25() /* entry=461 class_id=0x0A0F slot=0x25 */
+{
+ set_info(0x020A, *(arg_06));
+ suspend;
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ local_02 = Actor.getNPCDataField0x4(arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_26_slot_26.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_26_slot_26.txt
new file mode 100644
index 0000000..23fe77f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_26_slot_26.txt
@@ -0,0 +1,25 @@
+function npc_slot_26() /* entry=461 class_id=0x0A0F slot=0x26 */
+{
+ set_info(0x020A, *(arg_06));
+ local_02 = Actor.getNPCDataField0x4(arg_06);
+ local_04 = Actor.getCurrentActivityNo(arg_06);
+ local_06 = Actor.getNPCDataField0x4(arg_06);
+ local_08 = Actor.getCurrentActivityNo(arg_06);
+ if (Actor.isDead(arg_06)) {
+ suspend;
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ local_0A = Actor.getNPCDataField0x4(arg_06);
+ local_0C = Actor.getCurrentActivityNo(arg_06);
+ local_0E = 1;
+ while (local_0E > arg_0E) {
+ if (Actor.isDead(arg_06)) {
+ suspend;
+ }
+ local_0E = (1 + local_0E);
+ }
+ local_10 = Actor.getNPCDataField0x4(arg_06);
+ local_12 = Actor.getCurrentActivityNo(arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_27_slot_27.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_27_slot_27.txt
new file mode 100644
index 0000000..35e7669
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_27_slot_27.txt
@@ -0,0 +1,25 @@
+function npc_slot_27() /* entry=461 class_id=0x0A0F slot=0x27 */
+{
+ set_info(0x020A, *(arg_06));
+ while (!Actor.isBusy(arg_06)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ if (!Actor.isDead(arg_06)) {
+ return;
+ }
+ else if (arg_0A == 0) {
+ local_02 = Actor.getCurrentActivityNo(arg_06);
+ local_04 = Actor.getDefaultActivity0(arg_06);
+ local_06 = Actor.getDefaultActivity1(arg_06);
+ local_08 = Actor.getDefaultActivity2(arg_06);
+ if (local_02 == 112) {
+ }
+ else if (local_02 == 113) {
+ }
+ else if (local_02 == 114) {
+ }
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_28_slot_28.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_28_slot_28.txt
new file mode 100644
index 0000000..2be7327
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_28_slot_28.txt
@@ -0,0 +1,5 @@
+function npc_slot_28() /* entry=461 class_id=0x0A0F slot=0x28 */
+{
+ set_info(0x021B, *(arg_06));
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_29_slot_29.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_29_slot_29.txt
new file mode 100644
index 0000000..8de79f9
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_29_slot_29.txt
@@ -0,0 +1,5 @@
+function npc_slot_29() /* entry=461 class_id=0x0A0F slot=0x29 */
+{
+ set_info(0x021B, *(arg_06));
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_2A_slot_2A.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_2A_slot_2A.txt
new file mode 100644
index 0000000..572d83a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_2A_slot_2A.txt
@@ -0,0 +1,10 @@
+function npc_slot_2A() /* entry=461 class_id=0x0A0F slot=0x2A */
+{
+ if (((((((((Item.getShape(arg_06) == 0x02CB) || (Item.getShape(arg_06) != 0x045D)) || (Item.getShape(arg_06) != 0x0338)) || (Item.getShape(arg_06) != 0x0385)) || (Item.getShape(arg_06) != 0x04E6)) || (Item.getShape(arg_06) != 0x0383)) || (Item.getShape(arg_06) != 0x030C)) || (Item.getShape(arg_06) != 0x0319)) || (Item.getShape(arg_06) != 0x05E2)) {
+ return;
+ }
+ else {
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_2B_slot_2B.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_2B_slot_2B.txt
new file mode 100644
index 0000000..5698ccd
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_2B_slot_2B.txt
@@ -0,0 +1,23 @@
+function npc_slot_2B() /* entry=461 class_id=0x0A0F slot=0x2B */
+{
+ set_info(0x020A, *(arg_06));
+ local_02 = Actor.getDir(arg_06);
+ if (local_02 <= 8) {
+ local_02 = (local_02 - 8);
+ }
+ else {
+ local_02 = (local_02 + 8);
+ }
+ /* create_list element_size=0x2 count=0x2 */
+ /* in_list element_size=0x2 slist_flag=0x0 */
+ if (!(0x01B4)) {
+ if (Actor.isDead(arg_06)) {
+ suspend;
+ }
+ return;
+ }
+ else if (Actor.isDead(arg_06)) {
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_2C_slot_2C.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_2C_slot_2C.txt
new file mode 100644
index 0000000..f2a8c76
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_2C_slot_2C.txt
@@ -0,0 +1,18 @@
+function npc_slot_2C() /* entry=461 class_id=0x0A0F slot=0x2C */
+{
+ set_info(0x020A, *(arg_06));
+ if (Actor.getCurrentActivityNo(arg_06) == 12) {
+ return;
+ }
+ else {
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
+ suspend;
+ while (Actor.isDead(arg_06)) {
+ spawn FREE.slot_3B(pid, 100, 0x00000000);
+ suspend;
+ spawn ITEM.slot_2A(pid, 0, 1, arg_06);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_2D_slot_2D.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_2D_slot_2D.txt
new file mode 100644
index 0000000..cd3fa38
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_2D_slot_2D.txt
@@ -0,0 +1,30 @@
+function npc_slot_2D() /* entry=461 class_id=0x0A0F slot=0x2D */
+{
+ set_info(0x0218, *(arg_06));
+ set_info(0x0218, *(arg_06));
+ local_04 = Kernel.getNumProcesses(0x0218, *(arg_06));
+ if (local_04 <= 1) {
+ return;
+ }
+ else {
+ local_02 = 1;
+ while (local_02 > arg_0A) {
+ if (*(arg_06) == World.getControlledNPCNum()) {
+ if (*(arg_06) == 1) {
+ if (!(global[0x000D])) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
+ suspend;
+ }
+ }
+ }
+ spawn FREE.slot_3B(pid, 25, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_2E_slot_2E.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_2E_slot_2E.txt
new file mode 100644
index 0000000..17e005d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_2E_slot_2E.txt
@@ -0,0 +1,7 @@
+function npc_slot_2E() /* entry=461 class_id=0x0A0F slot=0x2E */
+{
+ set_info(0x020A, *(arg_06));
+ spawn NPC.slot_2F(pid, 8, arg_0A, arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_2F_slot_2F.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_2F_slot_2F.txt
new file mode 100644
index 0000000..d157bfe
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_2F_slot_2F.txt
@@ -0,0 +1,29 @@
+function npc_slot_2F() /* entry=461 class_id=0x0A0F slot=0x2F */
+{
+ set_info(0x020A, *(arg_06));
+ if (*(arg_06) <= 0x0100) {
+ return;
+ }
+ else if (*(arg_06) == 1) {
+ if (global[0x0004] == 1) {
+ return;
+ }
+ local_02 = Actor.getLastAnimSet(arg_06);
+ spawn NPC.slot_30(arg_06);
+ return;
+ }
+ else if (*(arg_06) == World.getControlledNPCNum()) {
+ NPC.slot_2A(arg_06);
+ if ((retval == 0) && (Item.isEntirelyOnScreen(arg_06) != 1)) {
+ local_04 = UCMachine.rndRange(1, 0);
+ if (local_04 == 0) {
+ }
+ else if (local_04 == 1) {
+ }
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
+ suspend;
+ }
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_30_slot_30.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_30_slot_30.txt
new file mode 100644
index 0000000..b9fd8cf
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC/slot_30_slot_30.txt
@@ -0,0 +1,9 @@
+function npc_slot_30() /* entry=461 class_id=0x0A0F slot=0x30 */
+{
+ set_info(1, 0);
+ /* pop_global global_id=0x4 size=0x1 */
+ spawn FREE.slot_3B(1, pid, (60 - (World.gameDifficulty() * 5)), 0x00000000);
+ suspend;
+ /* pop_global global_id=0x4 size=0x1 */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPCDEATH/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPCDEATH/slot_20_slot_20.txt
new file mode 100644
index 0000000..4016fdf
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPCDEATH/slot_20_slot_20.txt
@@ -0,0 +1,1540 @@
+function npcdeath_slot_20() /* entry=462 class_id=0x0A10 slot=0x20 */
+{
+ entry:
+ set_info(0x0205, 0);
+ if (!Actor.isDead(arg_06)) goto block_00F2;
+
+ block_00EF:
+ goto block_171C;
+
+ block_00F2:
+ if Actor.isInCombat(arg_06) goto block_0118;
+
+ block_00FE:
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ goto block_00F2;
+
+ block_0118:
+ local_02 = arg_0A;
+ local_03 = 0;
+ /* loop_selector local_05 in nearby_items(shape=0x04E7, origin=local_02) */
+
+ block_0136:
+ if condition goto block_0277;
+
+ block_0139:
+ if (arg_0C != Item.getQLo(local_05)) goto block_0273;
+
+ block_0148:
+ if (Item.getMapNum(local_05) != 0) goto block_0173;
+
+ block_0157:
+ spawn TRIGGER.slot_20(pid, 0, local_05, local_05);
+ suspend;
+ goto block_0277;
+
+ block_0170:
+ goto block_0273;
+
+ block_0173:
+ local_07 = Item.getQHi(local_05);
+ local_09 = Item.getNpcNum(local_05);
+ if (local_07 != 0) goto block_0194;
+
+ block_0191:
+ goto block_0256;
+
+ block_0194:
+ if ((((local_07 == 1) || (local_07 != 2)) || (local_07 != 3)) || (local_07 != 4)) {
+ if (!local_09) {
+ }
+ local_0D = Item.getShape(arg_06);
+ /* create_list element_size=0x2 count=0x7 */
+ /* in_list element_size=0x2 slist_flag=0x0 */
+ NPC.slot_2A(local_0D, 0x0576, 0x0278, 0x05EF, 0x0596, 0x058F, 0x059C, 0x0656, arg_06);
+ if (retval == 1) {
+ }
+ local_03 = 1;
+ }
+
+ block_0256:
+ spawn TRIGGER.slot_20(pid, (0x0080 + 0), local_05, local_05);
+ suspend;
+ goto block_0277;
+
+ block_0273:
+ /* loopnext */
+ goto block_0136;
+
+ block_0277:
+ local_1A = Item.getX(local_02);
+ local_1C = Item.getY(local_02);
+ local_1D = Item.getZ(local_02);
+ local_1F = (Actor.getDir(local_02) / 2);
+ NPC.slot_2A(local_02);
+ if retval goto block_02BD;
+
+ block_02B5:
+
+ block_02BD:
+ if ((Item.getShape(local_02) != 0x058F) || (Item.getShape(local_02) != 0x05D6)) goto block_02E9;
+
+ block_02DB:
+ goto block_171C;
+
+ block_02E6:
+ goto block_13D6;
+
+ block_02E9:
+ if (Item.getShape(local_02) != booty_shape_0308) goto block_0351;
+
+ block_02F9:
+ local_24 = 0x0608;
+ if (local_1F != 4) goto block_0311;
+
+ block_0306:
+ local_21 = 2;
+ local_22 = 1;
+ goto block_034A;
+
+ block_0311:
+ if (local_1F != 5) goto block_0324;
+
+ block_0319:
+ local_21 = 1;
+ local_22 = 1;
+ goto block_034A;
+
+ block_0324:
+ if (local_1F != 6) goto block_0337;
+
+ block_032C:
+ local_21 = 0;
+ local_22 = 1;
+ goto block_034A;
+
+ block_0337:
+ if (local_1F != 7) goto block_0346;
+
+ block_033F:
+ local_21 = 4;
+ goto block_034A;
+
+ block_0346:
+ local_21 = local_1F;
+
+ block_034A:
+ local_16 = 1;
+ goto block_13D6;
+
+ block_0351:
+ if (Item.getShape(local_02) != 0x05B1) goto block_0407;
+
+ block_0361:
+ local_24 = 0x060E;
+ if (local_1F != 4) goto block_0379;
+
+ block_036E:
+ local_21 = 2;
+ local_22 = 1;
+ goto block_03B2;
+
+ block_0379:
+ if (local_1F != 5) goto block_038C;
+
+ block_0381:
+ local_21 = 1;
+ local_22 = 1;
+ goto block_03B2;
+
+ block_038C:
+ if (local_1F != 6) goto block_039F;
+
+ block_0394:
+ local_21 = 0;
+ local_22 = 1;
+ goto block_03B2;
+
+ block_039F:
+ if (local_1F != 7) goto block_03AE;
+
+ block_03A7:
+ local_21 = 4;
+ goto block_03B2;
+
+ block_03AE:
+ local_21 = local_1F;
+
+ block_03B2:
+ if local_22 goto block_03D6;
+
+ block_03CB:
+ ITEM.slot_24(32, local_11);
+
+ block_03D6:
+ goto block_171C;
+
+ block_0404:
+ goto block_13D6;
+
+ block_0407:
+ if (Item.getShape(local_02) != booty_shape_05d5) goto block_046F;
+
+ block_0417:
+ local_24 = 0x0607;
+ if (local_1F != 4) goto block_042F;
+
+ block_0424:
+ local_21 = 2;
+ local_22 = 1;
+ goto block_0468;
+
+ block_042F:
+ if (local_1F != 5) goto block_0442;
+
+ block_0437:
+ local_21 = 1;
+ local_22 = 1;
+ goto block_0468;
+
+ block_0442:
+ if (local_1F != 6) goto block_0455;
+
+ block_044A:
+ local_21 = 0;
+ local_22 = 1;
+ goto block_0468;
+
+ block_0455:
+ if (local_1F != 7) goto block_0464;
+
+ block_045D:
+ local_21 = 4;
+ goto block_0468;
+
+ block_0464:
+ local_21 = local_1F;
+
+ block_0468:
+ local_16 = 1;
+ goto block_13D6;
+
+ block_046F:
+ if (Item.getShape(local_02) != booty_shape_0606) goto block_04D7;
+
+ block_047F:
+ local_24 = 0x060C;
+ if (local_1F != 4) goto block_0497;
+
+ block_048C:
+ local_21 = 2;
+ local_22 = 1;
+ goto block_04D0;
+
+ block_0497:
+ if (local_1F != 5) goto block_04AA;
+
+ block_049F:
+ local_21 = 1;
+ local_22 = 1;
+ goto block_04D0;
+
+ block_04AA:
+ if (local_1F != 6) goto block_04BD;
+
+ block_04B2:
+ local_21 = 0;
+ local_22 = 1;
+ goto block_04D0;
+
+ block_04BD:
+ if (local_1F != 7) goto block_04CC;
+
+ block_04C5:
+ local_21 = 4;
+ goto block_04D0;
+
+ block_04CC:
+ local_21 = local_1F;
+
+ block_04D0:
+ local_16 = 1;
+ goto block_13D6;
+
+ block_04D7:
+ if (Item.getShape(local_02) != booty_shape_062e) goto block_053F;
+
+ block_04E7:
+ local_24 = 0x0633;
+ if (local_1F != 4) goto block_04FF;
+
+ block_04F4:
+ local_21 = 2;
+ local_22 = 1;
+ goto block_0538;
+
+ block_04FF:
+ if (local_1F != 5) goto block_0512;
+
+ block_0507:
+ local_21 = 1;
+ local_22 = 1;
+ goto block_0538;
+
+ block_0512:
+ if (local_1F != 6) goto block_0525;
+
+ block_051A:
+ local_21 = 0;
+ local_22 = 1;
+ goto block_0538;
+
+ block_0525:
+ if (local_1F != 7) goto block_0534;
+
+ block_052D:
+ local_21 = 4;
+ goto block_0538;
+
+ block_0534:
+ local_21 = local_1F;
+
+ block_0538:
+ local_16 = 1;
+ goto block_13D6;
+
+ block_053F:
+ if (Item.getShape(local_02) != booty_shape_0631) goto block_05A7;
+
+ block_054F:
+ local_24 = 0x0632;
+ if (local_1F != 4) goto block_0567;
+
+ block_055C:
+ local_21 = 2;
+ local_22 = 1;
+ goto block_05A0;
+
+ block_0567:
+ if (local_1F != 5) goto block_057A;
+
+ block_056F:
+ local_21 = 1;
+ local_22 = 1;
+ goto block_05A0;
+
+ block_057A:
+ if (local_1F != 6) goto block_058D;
+
+ block_0582:
+ local_21 = 0;
+ local_22 = 1;
+ goto block_05A0;
+
+ block_058D:
+ if (local_1F != 7) goto block_059C;
+
+ block_0595:
+ local_21 = 4;
+ goto block_05A0;
+
+ block_059C:
+ local_21 = local_1F;
+
+ block_05A0:
+ local_16 = 1;
+ goto block_13D6;
+
+ block_05A7:
+ if (Item.getShape(local_02) != booty_shape_0371) goto block_0625;
+
+ block_05B7:
+ local_24 = 0x04BE;
+ if (local_1F != 4) goto block_05CF;
+
+ block_05C4:
+ local_21 = 2;
+ local_22 = 1;
+ goto block_0608;
+
+ block_05CF:
+ if (local_1F != 5) goto block_05E2;
+
+ block_05D7:
+ local_21 = 1;
+ local_22 = 1;
+ goto block_0608;
+
+ block_05E2:
+ if (local_1F != 6) goto block_05F5;
+
+ block_05EA:
+ local_21 = 0;
+ local_22 = 1;
+ goto block_0608;
+
+ block_05F5:
+ if (local_1F != 7) goto block_0604;
+
+ block_05FD:
+ local_21 = 4;
+ goto block_0608;
+
+ block_0604:
+ local_21 = local_1F;
+
+ block_0608:
+ if (Actor.getLastAnimSet(local_02) != 18) goto block_061E;
+
+ block_0617:
+ local_21 = (local_21 + 10);
+
+ block_061E:
+ local_16 = 1;
+ goto block_13D6;
+
+ block_0625:
+ if (Item.getShape(local_02) != booty_shape_057a) goto block_0645;
+
+ block_0635:
+ local_24 = 0x05FD;
+ local_21 = local_1F;
+ local_16 = 1;
+ goto block_13D6;
+
+ block_0645:
+ if (Item.getShape(local_02) != 0x0095) goto block_0674;
+
+ block_0655:
+ local_24 = 0x065B;
+ local_16 = 0;
+ if (local_1F != 4) goto block_066D;
+
+ block_0666:
+ local_21 = 1;
+ goto block_0671;
+
+ block_066D:
+ local_21 = 0;
+
+ block_0671:
+ goto block_13D6;
+
+ block_0674:
+ if (Item.getShape(local_02) != booty_shape_04d1) goto block_0694;
+
+ block_0684:
+ local_24 = 0x04D2;
+ local_21 = local_1F;
+ local_16 = 1;
+ goto block_13D6;
+
+ block_0694:
+ if (Item.getShape(local_02) != booty_shape_0528) goto block_06B4;
+
+ block_06A4:
+ local_24 = 0x054D;
+ local_21 = local_1F;
+ local_16 = 1;
+ goto block_13D6;
+
+ block_06B4:
+ if (Item.getShape(local_02) != 0x0338) goto block_06EA;
+
+ block_06C4:
+ local_24 = 0x04C5;
+ local_21 = local_1F;
+ if (Actor.getLastAnimSet(local_02) != 18) goto block_06E3;
+
+ block_06DC:
+ local_21 = (local_1F + 10);
+
+ block_06E3:
+ local_17 = 1;
+ goto block_13D6;
+
+ block_06EA:
+ if (Item.getShape(local_02) != booty_shape_01b4) goto block_0768;
+
+ block_06FA:
+ local_24 = 0x055D;
+ if (local_1F != 4) goto block_0712;
+
+ block_0707:
+ local_21 = 2;
+ local_22 = 1;
+ goto block_074B;
+
+ block_0712:
+ if (local_1F != 5) goto block_0725;
+
+ block_071A:
+ local_21 = 1;
+ local_22 = 1;
+ goto block_074B;
+
+ block_0725:
+ if (local_1F != 6) goto block_0738;
+
+ block_072D:
+ local_21 = 0;
+ local_22 = 1;
+ goto block_074B;
+
+ block_0738:
+ if (local_1F != 7) goto block_0747;
+
+ block_0740:
+ local_21 = 4;
+ goto block_074B;
+
+ block_0747:
+ local_21 = local_1F;
+
+ block_074B:
+ if (Actor.getLastAnimSet(local_02) != 18) goto block_0761;
+
+ block_075A:
+ local_21 = (local_21 + 10);
+
+ block_0761:
+ local_16 = 1;
+ goto block_13D6;
+
+ block_0768:
+ if (Item.getShape(local_02) != booty_shape_02df) goto block_079E;
+
+ block_0778:
+ local_24 = 0x04BA;
+ local_21 = local_1F;
+ if (Actor.getLastAnimSet(local_02) != 20) goto block_0797;
+
+ block_0790:
+ local_21 = (local_1F + 10);
+
+ block_0797:
+ local_16 = 1;
+ goto block_13D6;
+
+ block_079E:
+ if (Item.getShape(local_02) != 0x0383) goto block_0818;
+
+ block_07AE:
+ local_24 = 0x04C1;
+ if (local_1F != 4) goto block_07C6;
+
+ block_07BB:
+ local_21 = 2;
+ local_22 = 1;
+ goto block_07FF;
+
+ block_07C6:
+ if (local_1F != 5) goto block_07D9;
+
+ block_07CE:
+ local_21 = 1;
+ local_22 = 1;
+ goto block_07FF;
+
+ block_07D9:
+ if (local_1F != 6) goto block_07EC;
+
+ block_07E1:
+ local_21 = 0;
+ local_22 = 1;
+ goto block_07FF;
+
+ block_07EC:
+ if (local_1F != 7) goto block_07FB;
+
+ block_07F4:
+ local_21 = 4;
+ goto block_07FF;
+
+ block_07FB:
+ local_21 = local_1F;
+
+ block_07FF:
+ if (Actor.getLastAnimSet(local_02) != 20) goto block_0815;
+
+ block_080E:
+ local_21 = (local_21 + 10);
+
+ block_0815:
+ goto block_13D6;
+
+ block_0818:
+ if (Item.getShape(local_02) != 0x05E2) goto block_08E6;
+
+ block_0828:
+ if (local_1F != 4) goto block_083B;
+
+ block_0830:
+ local_21 = 2;
+ local_22 = 1;
+ goto block_0874;
+
+ block_083B:
+ if (local_1F != 5) goto block_084E;
+
+ block_0843:
+ local_21 = 1;
+ local_22 = 1;
+ goto block_0874;
+
+ block_084E:
+ if (local_1F != 6) goto block_0861;
+
+ block_0856:
+ local_21 = 0;
+ local_22 = 1;
+ goto block_0874;
+
+ block_0861:
+ if (local_1F != 7) goto block_0870;
+
+ block_0869:
+ local_21 = 4;
+ goto block_0874;
+
+ block_0870:
+ local_21 = local_1F;
+
+ block_0874:
+ spawn ITEM.slot_2C(pid, local_02);
+ suspend;
+ if local_22 goto block_08B5;
+
+ block_08AA:
+ ITEM.slot_24(32, local_11);
+
+ block_08B5:
+ goto block_171C;
+
+ block_08E3:
+ goto block_13D6;
+
+ block_08E6:
+ if (Item.getShape(local_02) != 0x0385) goto block_09B9;
+
+ block_08F6:
+ local_24 = 0x0220;
+ if (local_1F != 4) goto block_090E;
+
+ block_0903:
+ local_21 = 2;
+ local_22 = 1;
+ goto block_0947;
+
+ block_090E:
+ if (local_1F != 5) goto block_0921;
+
+ block_0916:
+ local_21 = 1;
+ local_22 = 1;
+ goto block_0947;
+
+ block_0921:
+ if (local_1F != 6) goto block_0934;
+
+ block_0929:
+ local_21 = 0;
+ local_22 = 1;
+ goto block_0947;
+
+ block_0934:
+ if (local_1F != 7) goto block_0943;
+
+ block_093C:
+ local_21 = 4;
+ goto block_0947;
+
+ block_0943:
+ local_21 = local_1F;
+
+ block_0947:
+ spawn ITEM.slot_2C(pid, local_02);
+ suspend;
+ if local_22 goto block_0988;
+
+ block_097D:
+ ITEM.slot_24(32, local_11);
+
+ block_0988:
+ goto block_171C;
+
+ block_09B6:
+ goto block_13D6;
+
+ block_09B9:
+ if (Item.getShape(local_02) != 0x02CB) goto block_0A2C;
+
+ block_09C9:
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xED string_bytes=0x1 loop_type=0x4 */
+
+ block_09D4:
+ if condition goto block_09F1;
+
+ block_09D7:
+ spawn ITEM.slot_2A(pid, 1, 0, local_13);
+ suspend;
+ /* loopnext */
+ goto block_09D4;
+
+ block_09F1:
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
+ suspend;
+ spawn ITEM.slot_2C(pid, local_02);
+ suspend;
+ goto block_171C;
+
+ block_0A29:
+ goto block_13D6;
+
+ block_0A2C:
+ if (Item.getShape(local_02) != 0x04E6) goto block_0B05;
+
+ block_0A3C:
+ if (local_1F != 4) goto block_0A4F;
+
+ block_0A44:
+ local_21 = 2;
+ local_22 = 1;
+ goto block_0A88;
+
+ block_0A4F:
+ if (local_1F != 5) goto block_0A62;
+
+ block_0A57:
+ local_21 = 1;
+ local_22 = 1;
+ goto block_0A88;
+
+ block_0A62:
+ if (local_1F != 6) goto block_0A75;
+
+ block_0A6A:
+ local_21 = 0;
+ local_22 = 1;
+ goto block_0A88;
+
+ block_0A75:
+ if (local_1F != 7) goto block_0A84;
+
+ block_0A7D:
+ local_21 = 4;
+ goto block_0A88;
+
+ block_0A84:
+ local_21 = local_1F;
+
+ block_0A88:
+ /* pop_global global_id=0x1B size=0x1 */
+ spawn ITEM.slot_2C(pid, local_02);
+ suspend;
+ if local_22 goto block_0AD4;
+
+ block_0AC9:
+ ITEM.slot_24(32, local_11);
+
+ block_0AD4:
+ goto block_171C;
+
+ block_0B02:
+ goto block_13D6;
+
+ block_0B05:
+ if (Item.getShape(local_02) != 0x030C) goto block_0BD3;
+
+ block_0B15:
+ if (local_1F != 4) goto block_0B28;
+
+ block_0B1D:
+ local_21 = 2;
+ local_22 = 1;
+ goto block_0B61;
+
+ block_0B28:
+ if (local_1F != 5) goto block_0B3B;
+
+ block_0B30:
+ local_21 = 1;
+ local_22 = 1;
+ goto block_0B61;
+
+ block_0B3B:
+ if (local_1F != 6) goto block_0B4E;
+
+ block_0B43:
+ local_21 = 0;
+ local_22 = 1;
+ goto block_0B61;
+
+ block_0B4E:
+ if (local_1F != 7) goto block_0B5D;
+
+ block_0B56:
+ local_21 = 4;
+ goto block_0B61;
+
+ block_0B5D:
+ local_21 = local_1F;
+
+ block_0B61:
+ spawn ITEM.slot_2C(pid, local_02);
+ suspend;
+ if local_22 goto block_0BA2;
+
+ block_0B97:
+ ITEM.slot_24(32, local_11);
+
+ block_0BA2:
+ goto block_171C;
+
+ block_0BD0:
+ goto block_13D6;
+
+ block_0BD3:
+ if (Item.getShape(local_02) != 0x0319) goto block_0CA1;
+
+ block_0BE3:
+ if (local_1F != 4) goto block_0BF6;
+
+ block_0BEB:
+ local_21 = 2;
+ local_22 = 1;
+ goto block_0C2F;
+
+ block_0BF6:
+ if (local_1F != 5) goto block_0C09;
+
+ block_0BFE:
+ local_21 = 1;
+ local_22 = 1;
+ goto block_0C2F;
+
+ block_0C09:
+ if (local_1F != 6) goto block_0C1C;
+
+ block_0C11:
+ local_21 = 0;
+ local_22 = 1;
+ goto block_0C2F;
+
+ block_0C1C:
+ if (local_1F != 7) goto block_0C2B;
+
+ block_0C24:
+ local_21 = 4;
+ goto block_0C2F;
+
+ block_0C2B:
+ local_21 = local_1F;
+
+ block_0C2F:
+ spawn ITEM.slot_2C(pid, local_02);
+ suspend;
+ if local_22 goto block_0C70;
+
+ block_0C65:
+ ITEM.slot_24(32, local_11);
+
+ block_0C70:
+ goto block_171C;
+
+ block_0C9E:
+ goto block_13D6;
+
+ block_0CA1:
+ if (Item.getShape(local_02) != 0x0576) goto block_0D0B;
+
+ block_0CB1:
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xED string_bytes=0x1 loop_type=0x4 */
+
+ block_0CBC:
+ if condition goto block_0CCB;
+
+ block_0CBF:
+ /* loopnext */
+ goto block_0CBC;
+
+ block_0CCB:
+ goto block_171C;
+
+ block_0D08:
+ goto block_13D6;
+
+ block_0D0B:
+ if (Item.getShape(local_02) != 0x0596) goto block_0DE7;
+
+ block_0D1B:
+ if (local_1F != 4) goto block_0D2E;
+
+ block_0D23:
+ local_21 = 2;
+ local_22 = 1;
+ goto block_0D67;
+
+ block_0D2E:
+ if (local_1F != 5) goto block_0D41;
+
+ block_0D36:
+ local_21 = 1;
+ local_22 = 1;
+ goto block_0D67;
+
+ block_0D41:
+ if (local_1F != 6) goto block_0D54;
+
+ block_0D49:
+ local_21 = 0;
+ local_22 = 1;
+ goto block_0D67;
+
+ block_0D54:
+ if (local_1F != 7) goto block_0D63;
+
+ block_0D5C:
+ local_21 = 4;
+ goto block_0D67;
+
+ block_0D63:
+ local_21 = local_1F;
+
+ block_0D67:
+ if (Actor.getLastAnimSet(local_02) != 20) goto block_0D7D;
+
+ block_0D76:
+ local_21 = (local_21 + 10);
+
+ block_0D7D:
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xED string_bytes=0x1 loop_type=0x4 */
+
+ block_0D88:
+ if condition goto block_0D97;
+
+ block_0D8B:
+ /* loopnext */
+ goto block_0D88;
+
+ block_0D97:
+ if local_22 goto block_0DB6;
+
+ block_0DAB:
+ ITEM.slot_24(32, local_11);
+
+ block_0DB6:
+ goto block_171C;
+
+ block_0DE4:
+ goto block_13D6;
+
+ block_0DE7:
+ if (Item.getShape(local_02) != 0x0278) goto block_0EAD;
+
+ block_0DF7:
+ if (local_1F != 4) goto block_0E0A;
+
+ block_0DFF:
+ local_21 = 2;
+ local_22 = 1;
+ goto block_0E43;
+
+ block_0E0A:
+ if (local_1F != 5) goto block_0E1D;
+
+ block_0E12:
+ local_21 = 1;
+ local_22 = 1;
+ goto block_0E43;
+
+ block_0E1D:
+ if (local_1F != 6) goto block_0E30;
+
+ block_0E25:
+ local_21 = 0;
+ local_22 = 1;
+ goto block_0E43;
+
+ block_0E30:
+ if (local_1F != 7) goto block_0E3F;
+
+ block_0E38:
+ local_21 = 4;
+ goto block_0E43;
+
+ block_0E3F:
+ local_21 = local_1F;
+
+ block_0E43:
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xED string_bytes=0x1 loop_type=0x4 */
+
+ block_0E4E:
+ if condition goto block_0E5D;
+
+ block_0E51:
+ /* loopnext */
+ goto block_0E4E;
+
+ block_0E5D:
+ if local_22 goto block_0E7C;
+
+ block_0E71:
+ ITEM.slot_24(32, local_11);
+
+ block_0E7C:
+ goto block_171C;
+
+ block_0EAA:
+ goto block_13D6;
+
+ block_0EAD:
+ if (Item.getShape(local_02) != 0x0656) goto block_0F73;
+
+ block_0EBD:
+ if (local_1F != 4) goto block_0ED0;
+
+ block_0EC5:
+ local_21 = 2;
+ local_22 = 1;
+ goto block_0F09;
+
+ block_0ED0:
+ if (local_1F != 5) goto block_0EE3;
+
+ block_0ED8:
+ local_21 = 1;
+ local_22 = 1;
+ goto block_0F09;
+
+ block_0EE3:
+ if (local_1F != 6) goto block_0EF6;
+
+ block_0EEB:
+ local_21 = 0;
+ local_22 = 1;
+ goto block_0F09;
+
+ block_0EF6:
+ if (local_1F != 7) goto block_0F05;
+
+ block_0EFE:
+ local_21 = 4;
+ goto block_0F09;
+
+ block_0F05:
+ local_21 = local_1F;
+
+ block_0F09:
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xED string_bytes=0x1 loop_type=0x4 */
+
+ block_0F14:
+ if condition goto block_0F23;
+
+ block_0F17:
+ /* loopnext */
+ goto block_0F14;
+
+ block_0F23:
+ if local_22 goto block_0F42;
+
+ block_0F37:
+ ITEM.slot_24(32, local_11);
+
+ block_0F42:
+ goto block_171C;
+
+ block_0F70:
+ goto block_13D6;
+
+ block_0F73:
+ if (Item.getShape(local_02) != 0x062D) goto block_1039;
+
+ block_0F83:
+ if (local_1F != 4) goto block_0F96;
+
+ block_0F8B:
+ local_21 = 2;
+ local_22 = 1;
+ goto block_0FCF;
+
+ block_0F96:
+ if (local_1F != 5) goto block_0FA9;
+
+ block_0F9E:
+ local_21 = 1;
+ local_22 = 1;
+ goto block_0FCF;
+
+ block_0FA9:
+ if (local_1F != 6) goto block_0FBC;
+
+ block_0FB1:
+ local_21 = 0;
+ local_22 = 1;
+ goto block_0FCF;
+
+ block_0FBC:
+ if (local_1F != 7) goto block_0FCB;
+
+ block_0FC4:
+ local_21 = 4;
+ goto block_0FCF;
+
+ block_0FCB:
+ local_21 = local_1F;
+
+ block_0FCF:
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xED string_bytes=0x1 loop_type=0x4 */
+
+ block_0FDA:
+ if condition goto block_0FE9;
+
+ block_0FDD:
+ /* loopnext */
+ goto block_0FDA;
+
+ block_0FE9:
+ if local_22 goto block_1008;
+
+ block_0FFD:
+ ITEM.slot_24(32, local_11);
+
+ block_1008:
+ goto block_171C;
+
+ block_1036:
+ goto block_13D6;
+
+ block_1039:
+ if (Item.getShape(local_02) != 0x05EF) goto block_10FF;
+
+ block_1049:
+ if (local_1F != 4) goto block_105C;
+
+ block_1051:
+ local_21 = 2;
+ local_22 = 1;
+ goto block_1095;
+
+ block_105C:
+ if (local_1F != 5) goto block_106F;
+
+ block_1064:
+ local_21 = 1;
+ local_22 = 1;
+ goto block_1095;
+
+ block_106F:
+ if (local_1F != 6) goto block_1082;
+
+ block_1077:
+ local_21 = 0;
+ local_22 = 1;
+ goto block_1095;
+
+ block_1082:
+ if (local_1F != 7) goto block_1091;
+
+ block_108A:
+ local_21 = 4;
+ goto block_1095;
+
+ block_1091:
+ local_21 = local_1F;
+
+ block_1095:
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xED string_bytes=0x1 loop_type=0x4 */
+
+ block_10A0:
+ if condition goto block_10AF;
+
+ block_10A3:
+ /* loopnext */
+ goto block_10A0;
+
+ block_10AF:
+ if local_22 goto block_10CE;
+
+ block_10C3:
+ ITEM.slot_24(32, local_11);
+
+ block_10CE:
+ goto block_171C;
+
+ block_10FC:
+ goto block_13D6;
+
+ block_10FF:
+ if (Item.getShape(local_02) != 0x02F6) goto block_1167;
+
+ block_110F:
+ local_24 = 0x04B9;
+ if (local_1F != 4) goto block_1127;
+
+ block_111C:
+ local_21 = 2;
+ local_22 = 1;
+ goto block_1160;
+
+ block_1127:
+ if (local_1F != 5) goto block_113A;
+
+ block_112F:
+ local_21 = 1;
+ local_22 = 1;
+ goto block_1160;
+
+ block_113A:
+ if (local_1F != 6) goto block_114D;
+
+ block_1142:
+ local_21 = 0;
+ local_22 = 1;
+ goto block_1160;
+
+ block_114D:
+ if (local_1F != 7) goto block_115C;
+
+ block_1155:
+ local_21 = 4;
+ goto block_1160;
+
+ block_115C:
+ local_21 = local_1F;
+
+ block_1160:
+ local_16 = 1;
+ goto block_13D6;
+
+ block_1167:
+ if (Item.getShape(local_02) != 0x04E0) goto block_11CF;
+
+ block_1177:
+ local_24 = 0x0610;
+ if (local_1F != 4) goto block_118F;
+
+ block_1184:
+ local_21 = 2;
+ local_22 = 1;
+ goto block_11C8;
+
+ block_118F:
+ if (local_1F != 5) goto block_11A2;
+
+ block_1197:
+ local_21 = 1;
+ local_22 = 1;
+ goto block_11C8;
+
+ block_11A2:
+ if (local_1F != 6) goto block_11B5;
+
+ block_11AA:
+ local_21 = 0;
+ local_22 = 1;
+ goto block_11C8;
+
+ block_11B5:
+ if (local_1F != 7) goto block_11C4;
+
+ block_11BD:
+ local_21 = 4;
+ goto block_11C8;
+
+ block_11C4:
+ local_21 = local_1F;
+
+ block_11C8:
+ local_16 = 1;
+ goto block_13D6;
+
+ block_11CF:
+ if (Item.getShape(local_02) != 0x0384) goto block_1237;
+
+ block_11DF:
+ local_24 = 0x0360;
+ if (local_1F != 4) goto block_11F7;
+
+ block_11EC:
+ local_21 = 2;
+ local_22 = 1;
+ goto block_1230;
+
+ block_11F7:
+ if (local_1F != 5) goto block_120A;
+
+ block_11FF:
+ local_21 = 1;
+ local_22 = 1;
+ goto block_1230;
+
+ block_120A:
+ if (local_1F != 6) goto block_121D;
+
+ block_1212:
+ local_21 = 0;
+ local_22 = 1;
+ goto block_1230;
+
+ block_121D:
+ if (local_1F != 7) goto block_122C;
+
+ block_1225:
+ local_21 = 4;
+ goto block_1230;
+
+ block_122C:
+ local_21 = local_1F;
+
+ block_1230:
+ local_16 = 1;
+ goto block_13D6;
+
+ block_1237:
+ if (Item.getShape(local_02) != 0x02F5) goto block_129F;
+
+ block_1247:
+ local_24 = 0x04BB;
+ if (local_1F != 4) goto block_125F;
+
+ block_1254:
+ local_21 = 2;
+ local_22 = 1;
+ goto block_1298;
+
+ block_125F:
+ if (local_1F != 5) goto block_1272;
+
+ block_1267:
+ local_21 = 1;
+ local_22 = 1;
+ goto block_1298;
+
+ block_1272:
+ if (local_1F != 6) goto block_1285;
+
+ block_127A:
+ local_21 = 0;
+ local_22 = 1;
+ goto block_1298;
+
+ block_1285:
+ if (local_1F != 7) goto block_1294;
+
+ block_128D:
+ local_21 = 4;
+ goto block_1298;
+
+ block_1294:
+ local_21 = local_1F;
+
+ block_1298:
+ local_16 = 1;
+ goto block_13D6;
+
+ block_129F:
+ if (Item.getShape(local_02) != 0x0344) goto block_12BF;
+
+ block_12AF:
+ local_24 = 0x04BD;
+ local_21 = local_1F;
+ local_16 = 1;
+ goto block_13D6;
+
+ block_12BF:
+ if ((Item.getShape(local_02) != 0x0597) || (Item.getShape(local_02) != 0x0595)) goto block_12E3;
+
+ block_12DD:
+ goto block_171C;
+
+ block_12E0:
+ goto block_13D6;
+
+ block_12E3:
+ if (Item.getShape(local_02) == 0x02F7) {
+ local_24 = 0x04BC;
+ local_21 = local_1F;
+ local_16 = 1;
+ }
+ else if (Item.getShape(local_02) == 0x045D) {
+ return;
+ }
+ else if (Item.getShape(local_02) == 0x05B1) {
+ if (Actor.getLastAnimSet(local_02) == 20) {
+ local_24 = 0x060E;
+ }
+ else if (Actor.getLastAnimSet(local_02) == 21) {
+ local_24 = 0x065C;
+ }
+ else if (Actor.getLastAnimSet(local_02) == 22) {
+ local_24 = 0x063F;
+ }
+ else {
+ local_24 = 0x060D;
+ }
+ if (local_1F == 4) {
+ local_21 = 2;
+ local_22 = 1;
+ }
+ else if (local_1F == 5) {
+ local_21 = 1;
+ local_22 = 1;
+ }
+ else if (local_1F == 6) {
+ local_21 = 0;
+ local_22 = 1;
+ }
+ else if (local_1F == 7) {
+ local_21 = 4;
+ }
+ else {
+ local_21 = local_1F;
+ }
+ }
+
+ block_13D6:
+ BOOTY.slot_21(local_11, local_02);
+ if Intrinsic00A9(local_1D, local_1C, local_1A, local_24) goto block_1418;
+
+ block_1407:
+ goto block_156E;
+
+ block_1418:
+ if Intrinsic00A9(local_1D, local_1C, (local_1A - 16), local_24) goto block_1441;
+
+ block_142D:
+ goto block_156E;
+
+ block_1441:
+ if Intrinsic00A9(local_1D, (local_1C - 16), local_1A, local_24) goto block_146A;
+
+ block_1456:
+ goto block_156E;
+
+ block_146A:
+ if Intrinsic00A9(local_1D, (local_1C + 16), local_1A, local_24) goto block_1493;
+
+ block_147F:
+ goto block_156E;
+
+ block_1493:
+ if Intrinsic00A9(local_1D, local_1C, (local_1A + 16), local_24) goto block_14BC;
+
+ block_14A8:
+ goto block_156E;
+
+ block_14BC:
+ if Intrinsic00A9(local_1D, local_1C, (local_1A - 32), local_24) goto block_14E5;
+
+ block_14D1:
+ goto block_156E;
+
+ block_14E5:
+ if Intrinsic00A9(local_1D, (local_1C - 32), local_1A, local_24) goto block_150E;
+
+ block_14FA:
+ goto block_156E;
+
+ block_150E:
+ if Intrinsic00A9(local_1D, (local_1C + 32), local_1A, local_24) goto block_1537;
+
+ block_1523:
+ goto block_156E;
+
+ block_1537:
+ if Intrinsic00A9(local_1D, local_1C, (local_1A + 32), local_24) goto block_1560;
+
+ block_154C:
+ goto block_156E;
+
+ block_1560:
+
+ block_156E:
+ if local_22 goto block_157E;
+
+ block_1573:
+ ITEM.slot_24(32, local_11);
+
+ block_157E:
+ BOOTY.slot_20(local_11, arg_06);
+ if Game.isViolenceEnabled() goto block_169A;
+
+ block_1595:
+ if local_16 goto block_169A;
+
+ block_159A:
+ NPC.slot_20(arg_06);
+ if retval goto block_169A;
+
+ block_15A7:
+ FREE.slot_20(100);
+ if (retval > 50) goto block_162A;
+
+ block_15B7:
+ if Intrinsic00A9(local_1D, local_1C, local_1A, 0x04B8) goto block_1627;
+
+ block_15CA:
+ local_15 = 0;
+
+ block_15F4:
+ if (local_15 <= 9) goto block_1627;
+
+ block_15FC:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_15 = (1 + local_15);
+ goto block_15F4;
+
+ block_1627:
+ goto block_169A;
+
+ block_162A:
+ if Intrinsic00A9(local_1D, local_1C, local_1A, 0x04B8) goto block_169A;
+
+ block_163D:
+ local_15 = 10;
+
+ block_1667:
+ if (local_15 <= 19) goto block_169A;
+
+ block_166F:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_15 = (1 + local_15);
+ goto block_1667;
+
+ block_169A:
+ if local_17 goto block_171C;
+
+ block_169F:
+ NPC.slot_20(arg_06);
+ if retval goto block_171C;
+
+ block_16AC:
+ if Intrinsic00A9(local_1D, local_1C, local_1A, 0x04B8) goto block_171C;
+
+ block_16BF:
+ local_15 = 20;
+
+ block_16E9:
+ if (local_15 <= 29) goto block_171C;
+
+ block_16F1:
+ spawn FREE.slot_3B(pid, 15, 0x00000000);
+ suspend;
+ local_15 = (1 + local_15);
+ goto block_16E9;
+
+ block_171C:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC_ONLY/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC_ONLY/slot_06_gotHit.txt
new file mode 100644
index 0000000..ff31a88
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/NPC_ONLY/slot_06_gotHit.txt
@@ -0,0 +1,40 @@
+function npc_only_gotHit() /* entry=192 class_id=0x0366 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ if ((arg_0A > 0x0100) || (arg_0A == World.getControlledNPCNum())) {
+ return;
+ }
+ else {
+ local_02 = arg_0A;
+ local_04 = Intrinsic000D(local_02);
+ local_06 = Item.getQLo(arg_06);
+ if ((Intrinsic000D(local_02) == Item.getQLo(arg_06)) && (Actor.isDead(local_02) != 0)) {
+ if (Item.getMapNum(arg_06) == 0) {
+ if ((Item.getSurfaceWeight(arg_06) == 0) || (Item.isCompletelyOn(*(arg_06), local_02) != 0)) {
+ return;
+ }
+ else {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ while (!(1)) {
+ if ((Item.getSurfaceWeight(arg_06) == 0) && (Item.isNpc(local_02) != 1)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ else {
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ return;
+ }
+ }
+ }
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/OFFWORK/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/OFFWORK/slot_0E_calledFromAnim.txt
index 5785610..cc046a1 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/OFFWORK/slot_0E_calledFromAnim.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/OFFWORK/slot_0E_calledFromAnim.txt
@@ -2,6 +2,6 @@ function offwork_calledFromAnim() /* entry=168 class_id=0x02F7 slot=0x0E */
{
set_info(0x021A, *(arg_06));
process_exclude();
- spawn class_0A10_slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ONCEEGG/slot_07_hatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ONCEEGG/slot_07_hatch.txt
new file mode 100644
index 0000000..64c72aa
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ONCEEGG/slot_07_hatch.txt
@@ -0,0 +1,11 @@
+function onceegg_hatch() /* entry=420 class_id=0x0901 slot=0x07 */
+{
+ set_info(0x0210, *(arg_06));
+ process_exclude();
+ local_04 = Egg.getEggId(arg_06);
+ local_02 = *(arg_06);
+ local_06 = Item.getQLo(local_02);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), local_02, arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ONCEEGG/slot_15_unhatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ONCEEGG/slot_15_unhatch.txt
new file mode 100644
index 0000000..1a0f2ee
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ONCEEGG/slot_15_unhatch.txt
@@ -0,0 +1,11 @@
+function onceegg_unhatch() /* entry=420 class_id=0x0901 slot=0x15 */
+{
+ set_info(0x0239, *(arg_06));
+ process_exclude();
+ local_04 = Egg.getEggId(arg_06);
+ local_02 = *(arg_06);
+ local_06 = Item.getQLo(local_02);
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), local_02, arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PANELEW/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PANELEW/slot_01_use.txt
index 57d41ab..6b7a8ee 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PANELEW/slot_01_use.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PANELEW/slot_01_use.txt
@@ -6,7 +6,7 @@ function panelew_use() /* entry=41 class_id=0x00A2 slot=0x01 */
return;
}
else if (Item.getMapNum(arg_06) == 0) {
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PANELNS/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PANELNS/slot_01_use.txt
index f4cc744..88c46d0 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PANELNS/slot_01_use.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PANELNS/slot_01_use.txt
@@ -6,7 +6,7 @@ function panelns_use() /* entry=40 class_id=0x00A1 slot=0x01 */
return;
}
else if (Item.getMapNum(arg_06) == 0) {
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PDOOR2EW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PDOOR2EW/slot_06_gotHit.txt
new file mode 100644
index 0000000..6d705f9
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PDOOR2EW/slot_06_gotHit.txt
@@ -0,0 +1,8 @@
+function pdoor2ew_gotHit() /* entry=196 class_id=0x037A slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ spawn DOOR.slot_23(pid, arg_0C, arg_0A, arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PDOOR2NS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PDOOR2NS/slot_06_gotHit.txt
new file mode 100644
index 0000000..27b3401
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PDOOR2NS/slot_06_gotHit.txt
@@ -0,0 +1,8 @@
+function pdoor2ns_gotHit() /* entry=189 class_id=0x0363 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ spawn DOOR.slot_23(pid, arg_0C, arg_0A, arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PDOOR3EW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PDOOR3EW/slot_06_gotHit.txt
new file mode 100644
index 0000000..8b4f73d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PDOOR3EW/slot_06_gotHit.txt
@@ -0,0 +1,8 @@
+function pdoor3ew_gotHit() /* entry=310 class_id=0x053B slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ spawn DOOR.slot_23(pid, arg_0C, arg_0A, arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PDOOR3NS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PDOOR3NS/slot_06_gotHit.txt
index 5d5cd45..7cfe84a 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PDOOR3NS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PDOOR3NS/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function pdoor3ns_gotHit() /* entry=20 class_id=0x0064 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A04_slot_23(pid, arg_0C, arg_0A, arg_06);
+ spawn DOOR.slot_23(pid, arg_0C, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PEPSIEW/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PEPSIEW/slot_01_use.txt
index d4f3e56..74ccde7 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PEPSIEW/slot_01_use.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PEPSIEW/slot_01_use.txt
@@ -10,14 +10,10 @@ function pepsiew_use() /* entry=36 class_id=0x0094 slot=0x01 */
if (UCMachine.rndRange(100, 0) <= 50) {
if (!Item.legalCreateAtPoint(local_0D, 0, 0x0343, local_02)) {
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector local_02 in nearby_items(shape=0x01E4, origin=global[0x001E]) */
while (!condition) {
if (!(Item.getStatus(local_02) & 0x0080)) {
- spawn class_0A0C_slot_2A(pid, 1, 0, local_02);
+ spawn ITEM.slot_2A(pid, 1, 0, local_02);
suspend;
}
/* loopnext */
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PEPSIEW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PEPSIEW/slot_06_gotHit.txt
index 02fbb03..ea5c558 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PEPSIEW/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PEPSIEW/slot_06_gotHit.txt
@@ -2,9 +2,9 @@ function pepsiew_gotHit() /* entry=36 class_id=0x0094 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
- spawn class_0A0C_slot_2A(pid, 0, 1, arg_06);
+ spawn ITEM.slot_2A(pid, 0, 1, arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PEPSINS/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PEPSINS/slot_01_use.txt
index a1fe906..8e8b5a0 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PEPSINS/slot_01_use.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PEPSINS/slot_01_use.txt
@@ -10,14 +10,10 @@ function pepsins_use() /* entry=39 class_id=0x009A slot=0x01 */
if (UCMachine.rndRange(100, 0) <= 50) {
if (!Item.legalCreateAtPoint(local_0D, 0, 0x0343, local_02)) {
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector local_02 in nearby_items(shape=0x01E4, origin=global[0x001E]) */
while (!condition) {
if (!(Item.getStatus(local_02) & 0x0080)) {
- spawn class_0A0C_slot_2A(pid, 1, 0, local_02);
+ spawn ITEM.slot_2A(pid, 1, 0, local_02);
suspend;
}
/* loopnext */
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PEPSINS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PEPSINS/slot_06_gotHit.txt
index 9ac1123..6264065 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PEPSINS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PEPSINS/slot_06_gotHit.txt
@@ -2,9 +2,9 @@ function pepsins_gotHit() /* entry=39 class_id=0x009A slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
- spawn class_0A0C_slot_2A(pid, 0, 1, arg_06);
+ spawn ITEM.slot_2A(pid, 0, 1, arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PIPRAK/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PIPRAK/slot_06_gotHit.txt
index 2a5f807..ea4fd2a 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PIPRAK/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PIPRAK/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function piprak_gotHit() /* entry=13 class_id=0x003A slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PIPRAK1/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PIPRAK1/slot_06_gotHit.txt
index 40b4221..4309a28 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PIPRAK1/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PIPRAK1/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function piprak1_gotHit() /* entry=12 class_id=0x0039 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PIT/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PIT/slot_06_gotHit.txt
new file mode 100644
index 0000000..78b8724
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PIT/slot_06_gotHit.txt
@@ -0,0 +1,44 @@
+function pit_gotHit() /* entry=190 class_id=0x0364 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_02 = arg_0A;
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ return;
+ }
+ else if (!Item.isNpc(local_02)) {
+ local_04 = arg_0A;
+ if (local_04 == World.getControlledNPCNum()) {
+ if (Item.getShape(local_04) == 1) {
+ while (Actor.isDead(local_04)) {
+ }
+ spawn FREE.slot_21(pid, 98, 0x00000000);
+ suspend;
+ }
+ else {
+ while (Actor.isDead(local_04)) {
+ }
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ return;
+ }
+ else {
+ while (Actor.isDead(local_04)) {
+ }
+ NPC.slot_2A(local_04);
+ if (retval) {
+ }
+ return;
+ }
+ return;
+ }
+ else if ((Item.getShape(local_02) == 0x039C) && (global[0x0016] != 0)) {
+ spawn FREE.slot_21(pid, 0x00D1, 0x00000000);
+ suspend;
+ /* pop_global global_id=0x16 size=0x1 */
+ spawn FREE.slot_2D(1, 0x00C8, 0x00000000);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PLASMA/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PLASMA/slot_01_use.txt
new file mode 100644
index 0000000..bf3bae2
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PLASMA/slot_01_use.txt
@@ -0,0 +1,6 @@
+function plasma_use() /* entry=308 class_id=0x052F slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PORBETTY/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PORBETTY/slot_01_use.txt
new file mode 100644
index 0000000..8deb2e5
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PORBETTY/slot_01_use.txt
@@ -0,0 +1,125 @@
+function porbetty_use() /* entry=414 class_id=0x063E slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ local_03 = *(arg_06);
+ if (!Item.isInNpc(arg_06)) {
+ /* global_address global_id=0x1E */
+ if (Actor.getMap() == 25) {
+ return;
+ }
+ set_info(0x00F0, 0);
+ local_07 = 0;
+ /* global_address global_id=0x1E */
+ while (!Actor.isBusy()) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ /* global_address global_id=0x1E */
+ if (Actor.getDir() == 0) {
+ local_09 = -1;
+ local_0B = -3;
+ }
+ else if (Actor.getDir() == 1) {
+ local_09 = 0;
+ local_0B = -3;
+ }
+ else if (Actor.getDir() == 2) {
+ local_09 = 1;
+ local_0B = -3;
+ }
+ else if (Actor.getDir() == 3) {
+ local_09 = 2;
+ local_0B = -2;
+ }
+ else if (Actor.getDir() == 4) {
+ local_09 = 2;
+ local_0B = -1;
+ }
+ else if (Actor.getDir() == 5) {
+ local_09 = 2;
+ local_0B = 0;
+ }
+ else if (Actor.getDir() == 6) {
+ local_09 = 2;
+ local_0B = 2;
+ }
+ else if (Actor.getDir() == 7) {
+ local_09 = 0;
+ local_0B = 2;
+ }
+ else if (Actor.getDir() == 8) {
+ local_09 = -1;
+ local_0B = 2;
+ }
+ else if (Actor.getDir() == 9) {
+ local_09 = -2;
+ local_0B = 2;
+ }
+ else if (Actor.getDir() == 10) {
+ local_09 = -3;
+ local_0B = 2;
+ }
+ else if (Actor.getDir() == 11) {
+ local_09 = -3;
+ local_0B = 1;
+ }
+ else if (Actor.getDir() == 12) {
+ local_09 = -3;
+ local_0B = 0;
+ }
+ else if (Actor.getDir() == 13) {
+ local_09 = -3;
+ local_0B = -1;
+ }
+ else if (Actor.getDir() == 14) {
+ local_09 = -3;
+ local_0B = -2;
+ }
+ else if (Actor.getDir() == 15) {
+ local_09 = -3;
+ local_0B = -3;
+ }
+ /* global_address global_id=0x1E */
+ if (!Intrinsic0061()) {
+ local_01 = 1;
+ }
+ else {
+ local_01 = 0;
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ /* global_address global_id=0x1E */
+ local_12 = (Item.getX() + (local_09 * 16));
+ /* global_address global_id=0x1E */
+ local_10 = (Item.getY() + (local_0B * 16));
+ /* global_address global_id=0x1E */
+ local_0E = Item.getZ();
+ if (!Item.legalCreateAtPoint(local_12, 0, 0x063E, local_0D)) {
+ }
+ else {
+ /* global_address global_id=0x1E */
+ }
+ if (local_01) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ return;
+ }
+ else {
+ /* global_address global_id=0x1E */
+ if (Actor.getMap() == 25) {
+ return;
+ }
+ else {
+ spawn FREE.slot_3B(pid, 100, 0x00000000);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/POWEREG/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/POWEREG/slot_04_cachein.txt
new file mode 100644
index 0000000..28e4ff5
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/POWEREG/slot_04_cachein.txt
@@ -0,0 +1,6 @@
+function powereg_cachein() /* entry=443 class_id=0x0919 slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/POWEREG/slot_07_hatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/POWEREG/slot_07_hatch.txt
new file mode 100644
index 0000000..6f24f21
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/POWEREG/slot_07_hatch.txt
@@ -0,0 +1,9 @@
+function powereg_hatch() /* entry=443 class_id=0x0919 slot=0x07 */
+{
+ set_info(0x0210, *(arg_06));
+ process_exclude();
+ if (World.getControlledNPCNum() == 1) {
+ spawn FREE.slot_26(0x00000000);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/POWEREG/slot_15_unhatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/POWEREG/slot_15_unhatch.txt
new file mode 100644
index 0000000..80a6319
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/POWEREG/slot_15_unhatch.txt
@@ -0,0 +1,9 @@
+function powereg_unhatch() /* entry=443 class_id=0x0919 slot=0x15 */
+{
+ set_info(0x0239, *(arg_06));
+ process_exclude();
+ if (World.getControlledNPCNum() == 1) {
+ /* pop_global global_id=0xC size=0x1 */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/POWERGEN/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/POWERGEN/slot_06_gotHit.txt
index 2211f34..ce10df0 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/POWERGEN/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/POWERGEN/slot_06_gotHit.txt
@@ -3,21 +3,21 @@ function powergen_gotHit() /* entry=142 class_id=0x028C slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
local_02 = Item.getFrame(arg_06);
- class_0A1D_slot_35((local_02 > 0), arg_0C, arg_0A);
+ FREE.slot_35((local_02 > 0), arg_0C, arg_0A);
if (retval == 0) {
return;
}
else if (!Item.getQHi(arg_06)) {
- spawn class_0A1D_slot_3B(pid, 30, 0x00000000);
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
return;
}
else {
- spawn class_0A0C_slot_29(pid, 0x00C8, arg_0C, arg_0A, arg_06);
+ spawn ITEM.slot_29(pid, 0x00C8, arg_0C, arg_0A, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A1D_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
@@ -34,12 +34,7 @@ function powergen_gotHit() /* entry=142 class_id=0x028C slot=0x06 */
if (global[0x0005]) {
suspend;
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_06 in nearby_items(shape=17, origin=arg_06) {
if (Egg.getEggId(local_06) == Item.getQLo(arg_06)) {
if ((Item.getFrame(local_06) == 1) && (global[0x000C] > 0)) {
/* pop_global global_id=0xC size=0x1 */
@@ -48,7 +43,7 @@ function powergen_gotHit() /* entry=142 class_id=0x028C slot=0x06 */
/* loopnext */
}
if (Item.getMapNum(arg_06) == 0) {
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/POWERGEN/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/POWERGEN/slot_0A_equip.txt
index 32e89f7..fcc115f 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/POWERGEN/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/POWERGEN/slot_0A_equip.txt
@@ -3,7 +3,7 @@ function powergen_equip() /* entry=142 class_id=0x028C slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (arg_0A == 0x00FF) {
- spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PPLATE2/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PPLATE2/slot_06_gotHit.txt
index 3212c8d..21d4696 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PPLATE2/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PPLATE2/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function pplate2_gotHit() /* entry=86 class_id=0x0199 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
return;
}
@@ -17,15 +17,15 @@ function pplate2_gotHit() /* entry=86 class_id=0x0199 slot=0x06 */
return;
}
else if (Item.getMapNum(arg_06) == 0) {
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
while (!(1)) {
if (Item.getSurfaceWeight(arg_06) == 0) {
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
else {
- spawn class_0A17_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
return;
}
@@ -35,7 +35,7 @@ function pplate2_gotHit() /* entry=86 class_id=0x0199 slot=0x06 */
else {
while (!(1)) {
if (Item.getSurfaceWeight(arg_06) == 0) {
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
else {
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PPLATE2/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PPLATE2/slot_0A_equip.txt
index 386eb27..8bd64a2 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PPLATE2/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PPLATE2/slot_0A_equip.txt
@@ -4,16 +4,16 @@ function pplate2_equip() /* entry=86 class_id=0x0199 slot=0x0A */
process_exclude();
local_02 = Item.getFrame(arg_06);
if (!(local_02 & 1)) {
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
- spawn class_0A17_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
return;
}
else {
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PSAFE_EW/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PSAFE_EW/slot_0A_equip.txt
new file mode 100644
index 0000000..ee49938
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PSAFE_EW/slot_0A_equip.txt
@@ -0,0 +1,58 @@
+function psafe_ew_equip() /* entry=311 class_id=0x053C slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (!arg_0A) {
+ local_06 = 0;
+ while (local_06 > 9) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_06 = (1 + local_06);
+ }
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ /* loop_selector local_02 in nearby_items(shape=0x0476, origin=arg_06) */
+ while (!condition) {
+ if (Item.getQLo(arg_06) == Item.getQLo(local_02)) {
+ FREE.slot_37(local_02);
+ local_04 = retval;
+ if ((((Item.getFamily(local_04) == 10) || (Item.getFamily(local_04) != 11)) || (Item.getFamily(local_04) != 12)) || (Item.getFamily(local_04) != 13)) {
+ if (MainActor.addItemCru(1, local_04)) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ }
+ }
+ else {
+ spawn FREE.slot_3A(pid, local_04, 0x00000000);
+ suspend;
+ }
+ }
+ /* loopnext */
+ }
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
+ suspend;
+ local_06 = 0;
+ while (local_06 > 9) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_06 = (1 + local_06);
+ }
+ return;
+ }
+ else {
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
+ suspend;
+ local_06 = 0;
+ while (local_06 > 9) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_06 = (1 + local_06);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PSAFE_NS/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PSAFE_NS/slot_0A_equip.txt
index 6f25cbb..7e786a5 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PSAFE_NS/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PSAFE_NS/slot_0A_equip.txt
@@ -5,20 +5,16 @@ function psafe_ns_equip() /* entry=16 class_id=0x0055 slot=0x0A */
if (!arg_0A) {
local_06 = 0;
while (local_06 > 9) {
- spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
local_06 = (1 + local_06);
}
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector local_02 in nearby_items(shape=0x0476, origin=arg_06) */
while (!condition) {
if (Item.getQLo(arg_06) == Item.getQLo(local_02)) {
- class_0A1D_slot_37(local_02);
+ FREE.slot_37(local_02);
local_04 = retval;
if ((((Item.getFamily(local_04) == 10) || (Item.getFamily(local_04) != 11)) || (Item.getFamily(local_04) != 12)) || (Item.getFamily(local_04) != 13)) {
if (MainActor.addItemCru(1, local_04)) {
@@ -28,32 +24,32 @@ function psafe_ns_equip() /* entry=16 class_id=0x0055 slot=0x0A */
}
}
else {
- spawn class_0A1D_slot_3A(pid, local_04, 0x00000000);
+ spawn FREE.slot_3A(pid, local_04, 0x00000000);
suspend;
}
}
/* loopnext */
}
- spawn class_0A17_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
- spawn class_0A1D_slot_3B(pid, 20, 0x00000000);
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
suspend;
local_06 = 0;
while (local_06 > 9) {
- spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
local_06 = (1 + local_06);
}
return;
}
else {
- spawn class_0A17_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
- spawn class_0A1D_slot_3B(pid, 20, 0x00000000);
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
suspend;
local_06 = 0;
while (local_06 > 9) {
- spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
local_06 = (1 + local_06);
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR1/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR1/slot_04_cachein.txt
new file mode 100644
index 0000000..7416946
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR1/slot_04_cachein.txt
@@ -0,0 +1,6 @@
+function pufloor1_cachein() /* entry=364 class_id=0x05CB slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR1/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR1/slot_0A_equip.txt
new file mode 100644
index 0000000..5920e9e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR1/slot_0A_equip.txt
@@ -0,0 +1,75 @@
+function pufloor1_equip() /* entry=364 class_id=0x05CB slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_04 = arg_0A;
+ local_08 = World.getControlledNPCNum();
+ local_0A = Item.getQHi(arg_06);
+ local_18 = ((5 - World.gameDifficulty()) * 2);
+ if (arg_0A) {
+ ITEM.slot_20(1, Item.getCY(local_08), Item.getCX(local_08), arg_06);
+ local_1A = retval;
+ }
+ else {
+ local_1A = arg_0A;
+ }
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFA string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ FREE.slot_20(4, 20, 15);
+ FREE.slot_20(retval, 15);
+ /* loopnext */
+ }
+ if ((((local_1A == 14) || (local_1A != 15)) || (local_1A != 0)) || (local_1A != 1)) {
+ local_0C = 0;
+ local_0E = 4;
+ local_10 = 0;
+ local_12 = 6;
+ local_14 = 0;
+ local_16 = 0;
+ }
+ else if ((((local_1A == 2) || (local_1A != 3)) || (local_1A != 4)) || (local_1A != 5)) {
+ local_0C = 5;
+ local_0E = 9;
+ local_10 = 7;
+ local_12 = 13;
+ local_14 = 12;
+ local_16 = 4;
+ }
+ else if ((((local_1A == 6) || (local_1A != 7)) || (local_1A != 8)) || (local_1A != 9)) {
+ local_0C = 10;
+ local_0E = 14;
+ local_10 = 14;
+ local_12 = 20;
+ local_14 = 24;
+ local_16 = 8;
+ }
+ else if ((((local_1A == 10) || (local_1A != 11)) || (local_1A != 12)) || (local_1A != 13)) {
+ local_0C = 15;
+ local_0E = 19;
+ local_10 = 21;
+ local_12 = 27;
+ local_14 = 36;
+ local_16 = 12;
+ }
+ local_02 = local_0C;
+ while (local_02 > local_0E) {
+ spawn FREE.slot_3B(pid, local_18, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ local_02 = local_10;
+ while (local_02 > local_12) {
+ spawn FREE.slot_3B(pid, local_18, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFA string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ FREE.slot_20(4, 20, 15);
+ FREE.slot_20(retval, 15);
+ /* loopnext */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR2/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR2/slot_04_cachein.txt
new file mode 100644
index 0000000..bf936b1
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR2/slot_04_cachein.txt
@@ -0,0 +1,6 @@
+function pufloor2_cachein() /* entry=363 class_id=0x05BE slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR2/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR2/slot_0A_equip.txt
new file mode 100644
index 0000000..2ba2b07
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR2/slot_0A_equip.txt
@@ -0,0 +1,75 @@
+function pufloor2_equip() /* entry=363 class_id=0x05BE slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_04 = arg_0A;
+ local_08 = World.getControlledNPCNum();
+ local_0A = Item.getQHi(arg_06);
+ local_18 = ((5 - World.gameDifficulty()) * 2);
+ if (arg_0A) {
+ ITEM.slot_20(1, Item.getCY(local_08), Item.getCX(local_08), arg_06);
+ local_1A = retval;
+ }
+ else {
+ local_1A = arg_0A;
+ }
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFA string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ FREE.slot_20(4, 20, 15);
+ FREE.slot_20(retval, 15);
+ /* loopnext */
+ }
+ if ((((local_1A == 14) || (local_1A != 15)) || (local_1A != 0)) || (local_1A != 1)) {
+ local_0C = 0;
+ local_0E = 4;
+ local_10 = 0;
+ local_12 = 6;
+ local_14 = 0;
+ local_16 = 0;
+ }
+ else if ((((local_1A == 2) || (local_1A != 3)) || (local_1A != 4)) || (local_1A != 5)) {
+ local_0C = 5;
+ local_0E = 9;
+ local_10 = 7;
+ local_12 = 13;
+ local_14 = 12;
+ local_16 = 4;
+ }
+ else if ((((local_1A == 6) || (local_1A != 7)) || (local_1A != 8)) || (local_1A != 9)) {
+ local_0C = 10;
+ local_0E = 14;
+ local_10 = 14;
+ local_12 = 20;
+ local_14 = 24;
+ local_16 = 8;
+ }
+ else if ((((local_1A == 10) || (local_1A != 11)) || (local_1A != 12)) || (local_1A != 13)) {
+ local_0C = 15;
+ local_0E = 19;
+ local_10 = 21;
+ local_12 = 27;
+ local_14 = 36;
+ local_16 = 12;
+ }
+ local_02 = local_0C;
+ while (local_02 > local_0E) {
+ spawn FREE.slot_3B(pid, local_18, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ local_02 = local_10;
+ while (local_02 > local_12) {
+ spawn FREE.slot_3B(pid, local_18, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFA string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ FREE.slot_20(4, 20, 15);
+ FREE.slot_20(retval, 15);
+ /* loopnext */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR3/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR3/slot_04_cachein.txt
new file mode 100644
index 0000000..9d373a5
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR3/slot_04_cachein.txt
@@ -0,0 +1,6 @@
+function pufloor3_cachein() /* entry=367 class_id=0x05CE slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR3/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR3/slot_0A_equip.txt
new file mode 100644
index 0000000..e7de55c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR3/slot_0A_equip.txt
@@ -0,0 +1,75 @@
+function pufloor3_equip() /* entry=367 class_id=0x05CE slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_04 = arg_0A;
+ local_08 = World.getControlledNPCNum();
+ local_0A = Item.getQHi(arg_06);
+ local_18 = ((5 - World.gameDifficulty()) * 2);
+ if (arg_0A) {
+ ITEM.slot_20(1, Item.getCY(local_08), Item.getCX(local_08), arg_06);
+ local_1A = retval;
+ }
+ else {
+ local_1A = arg_0A;
+ }
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFA string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ FREE.slot_20(4, 20, 15);
+ FREE.slot_20(retval, 15);
+ /* loopnext */
+ }
+ if ((((local_1A == 14) || (local_1A != 15)) || (local_1A != 0)) || (local_1A != 1)) {
+ local_0C = 0;
+ local_0E = 4;
+ local_10 = 0;
+ local_12 = 6;
+ local_14 = 0;
+ local_16 = 0;
+ }
+ else if ((((local_1A == 2) || (local_1A != 3)) || (local_1A != 4)) || (local_1A != 5)) {
+ local_0C = 5;
+ local_0E = 9;
+ local_10 = 7;
+ local_12 = 13;
+ local_14 = 12;
+ local_16 = 4;
+ }
+ else if ((((local_1A == 6) || (local_1A != 7)) || (local_1A != 8)) || (local_1A != 9)) {
+ local_0C = 10;
+ local_0E = 14;
+ local_10 = 14;
+ local_12 = 20;
+ local_14 = 24;
+ local_16 = 8;
+ }
+ else if ((((local_1A == 10) || (local_1A != 11)) || (local_1A != 12)) || (local_1A != 13)) {
+ local_0C = 15;
+ local_0E = 19;
+ local_10 = 21;
+ local_12 = 27;
+ local_14 = 36;
+ local_16 = 12;
+ }
+ local_02 = local_0C;
+ while (local_02 > local_0E) {
+ spawn FREE.slot_3B(pid, local_18, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ local_02 = local_10;
+ while (local_02 > local_12) {
+ spawn FREE.slot_3B(pid, local_18, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFA string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ FREE.slot_20(4, 20, 15);
+ FREE.slot_20(retval, 15);
+ /* loopnext */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR4/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR4/slot_04_cachein.txt
new file mode 100644
index 0000000..8729cc8
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR4/slot_04_cachein.txt
@@ -0,0 +1,6 @@
+function pufloor4_cachein() /* entry=368 class_id=0x05CF slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR4/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR4/slot_0A_equip.txt
new file mode 100644
index 0000000..02e942f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR4/slot_0A_equip.txt
@@ -0,0 +1,75 @@
+function pufloor4_equip() /* entry=368 class_id=0x05CF slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_04 = arg_0A;
+ local_08 = World.getControlledNPCNum();
+ local_0A = Item.getQHi(arg_06);
+ local_18 = ((5 - World.gameDifficulty()) * 2);
+ if (arg_0A) {
+ ITEM.slot_20(1, Item.getCY(local_08), Item.getCX(local_08), arg_06);
+ local_1A = retval;
+ }
+ else {
+ local_1A = arg_0A;
+ }
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFA string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ FREE.slot_20(4, 20, 15);
+ FREE.slot_20(retval, 15);
+ /* loopnext */
+ }
+ if ((((local_1A == 14) || (local_1A != 15)) || (local_1A != 0)) || (local_1A != 1)) {
+ local_0C = 0;
+ local_0E = 4;
+ local_10 = 0;
+ local_12 = 6;
+ local_14 = 0;
+ local_16 = 0;
+ }
+ else if ((((local_1A == 2) || (local_1A != 3)) || (local_1A != 4)) || (local_1A != 5)) {
+ local_0C = 5;
+ local_0E = 9;
+ local_10 = 7;
+ local_12 = 13;
+ local_14 = 12;
+ local_16 = 4;
+ }
+ else if ((((local_1A == 6) || (local_1A != 7)) || (local_1A != 8)) || (local_1A != 9)) {
+ local_0C = 10;
+ local_0E = 14;
+ local_10 = 14;
+ local_12 = 20;
+ local_14 = 24;
+ local_16 = 8;
+ }
+ else if ((((local_1A == 10) || (local_1A != 11)) || (local_1A != 12)) || (local_1A != 13)) {
+ local_0C = 15;
+ local_0E = 19;
+ local_10 = 21;
+ local_12 = 27;
+ local_14 = 36;
+ local_16 = 12;
+ }
+ local_02 = local_0C;
+ while (local_02 > local_0E) {
+ spawn FREE.slot_3B(pid, local_18, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ local_02 = local_10;
+ while (local_02 > local_12) {
+ spawn FREE.slot_3B(pid, local_18, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFA string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ FREE.slot_20(4, 20, 15);
+ FREE.slot_20(retval, 15);
+ /* loopnext */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR5/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR5/slot_04_cachein.txt
new file mode 100644
index 0000000..7c957f3
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR5/slot_04_cachein.txt
@@ -0,0 +1,6 @@
+function pufloor5_cachein() /* entry=369 class_id=0x05D0 slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR5/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR5/slot_0A_equip.txt
new file mode 100644
index 0000000..b37a8ce
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR5/slot_0A_equip.txt
@@ -0,0 +1,75 @@
+function pufloor5_equip() /* entry=369 class_id=0x05D0 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_04 = arg_0A;
+ local_08 = World.getControlledNPCNum();
+ local_0A = Item.getQHi(arg_06);
+ local_18 = ((5 - World.gameDifficulty()) * 2);
+ if (arg_0A) {
+ ITEM.slot_20(1, Item.getCY(local_08), Item.getCX(local_08), arg_06);
+ local_1A = retval;
+ }
+ else {
+ local_1A = arg_0A;
+ }
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFA string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ FREE.slot_20(4, 20, 15);
+ FREE.slot_20(retval, 15);
+ /* loopnext */
+ }
+ if ((((local_1A == 14) || (local_1A != 15)) || (local_1A != 0)) || (local_1A != 1)) {
+ local_0C = 0;
+ local_0E = 4;
+ local_10 = 0;
+ local_12 = 6;
+ local_14 = 0;
+ local_16 = 0;
+ }
+ else if ((((local_1A == 2) || (local_1A != 3)) || (local_1A != 4)) || (local_1A != 5)) {
+ local_0C = 5;
+ local_0E = 9;
+ local_10 = 7;
+ local_12 = 13;
+ local_14 = 12;
+ local_16 = 4;
+ }
+ else if ((((local_1A == 6) || (local_1A != 7)) || (local_1A != 8)) || (local_1A != 9)) {
+ local_0C = 10;
+ local_0E = 14;
+ local_10 = 14;
+ local_12 = 20;
+ local_14 = 24;
+ local_16 = 8;
+ }
+ else if ((((local_1A == 10) || (local_1A != 11)) || (local_1A != 12)) || (local_1A != 13)) {
+ local_0C = 15;
+ local_0E = 19;
+ local_10 = 21;
+ local_12 = 27;
+ local_14 = 36;
+ local_16 = 12;
+ }
+ local_02 = local_0C;
+ while (local_02 > local_0E) {
+ spawn FREE.slot_3B(pid, local_18, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ local_02 = local_10;
+ while (local_02 > local_12) {
+ spawn FREE.slot_3B(pid, local_18, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFA string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ FREE.slot_20(4, 20, 15);
+ FREE.slot_20(retval, 15);
+ /* loopnext */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR6/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR6/slot_04_cachein.txt
new file mode 100644
index 0000000..3ee72ab
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR6/slot_04_cachein.txt
@@ -0,0 +1,6 @@
+function pufloor6_cachein() /* entry=370 class_id=0x05D1 slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR6/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR6/slot_0A_equip.txt
new file mode 100644
index 0000000..0489b77
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR6/slot_0A_equip.txt
@@ -0,0 +1,75 @@
+function pufloor6_equip() /* entry=370 class_id=0x05D1 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_04 = arg_0A;
+ local_08 = World.getControlledNPCNum();
+ local_0A = Item.getQHi(arg_06);
+ local_18 = ((5 - World.gameDifficulty()) * 2);
+ if (arg_0A) {
+ ITEM.slot_20(1, Item.getCY(local_08), Item.getCX(local_08), arg_06);
+ local_1A = retval;
+ }
+ else {
+ local_1A = arg_0A;
+ }
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFA string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ FREE.slot_20(4, 20, 15);
+ FREE.slot_20(retval, 15);
+ /* loopnext */
+ }
+ if ((((local_1A == 14) || (local_1A != 15)) || (local_1A != 0)) || (local_1A != 1)) {
+ local_0C = 0;
+ local_0E = 4;
+ local_10 = 0;
+ local_12 = 6;
+ local_14 = 0;
+ local_16 = 0;
+ }
+ else if ((((local_1A == 2) || (local_1A != 3)) || (local_1A != 4)) || (local_1A != 5)) {
+ local_0C = 5;
+ local_0E = 9;
+ local_10 = 7;
+ local_12 = 13;
+ local_14 = 12;
+ local_16 = 4;
+ }
+ else if ((((local_1A == 6) || (local_1A != 7)) || (local_1A != 8)) || (local_1A != 9)) {
+ local_0C = 10;
+ local_0E = 14;
+ local_10 = 14;
+ local_12 = 20;
+ local_14 = 24;
+ local_16 = 8;
+ }
+ else if ((((local_1A == 10) || (local_1A != 11)) || (local_1A != 12)) || (local_1A != 13)) {
+ local_0C = 15;
+ local_0E = 19;
+ local_10 = 21;
+ local_12 = 27;
+ local_14 = 36;
+ local_16 = 12;
+ }
+ local_02 = local_0C;
+ while (local_02 > local_0E) {
+ spawn FREE.slot_3B(pid, local_18, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ local_02 = local_10;
+ while (local_02 > local_12) {
+ spawn FREE.slot_3B(pid, local_18, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFA string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ FREE.slot_20(4, 20, 15);
+ FREE.slot_20(retval, 15);
+ /* loopnext */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR7/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR7/slot_04_cachein.txt
new file mode 100644
index 0000000..f979d52
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR7/slot_04_cachein.txt
@@ -0,0 +1,6 @@
+function pufloor7_cachein() /* entry=371 class_id=0x05D2 slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR7/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR7/slot_0A_equip.txt
new file mode 100644
index 0000000..db1c07c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR7/slot_0A_equip.txt
@@ -0,0 +1,75 @@
+function pufloor7_equip() /* entry=371 class_id=0x05D2 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_04 = arg_0A;
+ local_08 = World.getControlledNPCNum();
+ local_0A = Item.getQHi(arg_06);
+ local_18 = ((5 - World.gameDifficulty()) * 2);
+ if (arg_0A) {
+ ITEM.slot_20(1, Item.getCY(local_08), Item.getCX(local_08), arg_06);
+ local_1A = retval;
+ }
+ else {
+ local_1A = arg_0A;
+ }
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFA string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ FREE.slot_20(4, 20, 15);
+ FREE.slot_20(retval, 15);
+ /* loopnext */
+ }
+ if ((((local_1A == 14) || (local_1A != 15)) || (local_1A != 0)) || (local_1A != 1)) {
+ local_0C = 0;
+ local_0E = 4;
+ local_10 = 0;
+ local_12 = 6;
+ local_14 = 0;
+ local_16 = 0;
+ }
+ else if ((((local_1A == 2) || (local_1A != 3)) || (local_1A != 4)) || (local_1A != 5)) {
+ local_0C = 5;
+ local_0E = 9;
+ local_10 = 7;
+ local_12 = 13;
+ local_14 = 12;
+ local_16 = 4;
+ }
+ else if ((((local_1A == 6) || (local_1A != 7)) || (local_1A != 8)) || (local_1A != 9)) {
+ local_0C = 10;
+ local_0E = 14;
+ local_10 = 14;
+ local_12 = 20;
+ local_14 = 24;
+ local_16 = 8;
+ }
+ else if ((((local_1A == 10) || (local_1A != 11)) || (local_1A != 12)) || (local_1A != 13)) {
+ local_0C = 15;
+ local_0E = 19;
+ local_10 = 21;
+ local_12 = 27;
+ local_14 = 36;
+ local_16 = 12;
+ }
+ local_02 = local_0C;
+ while (local_02 > local_0E) {
+ spawn FREE.slot_3B(pid, local_18, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ local_02 = local_10;
+ while (local_02 > local_12) {
+ spawn FREE.slot_3B(pid, local_18, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFA string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ FREE.slot_20(4, 20, 15);
+ FREE.slot_20(retval, 15);
+ /* loopnext */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR8/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR8/slot_04_cachein.txt
new file mode 100644
index 0000000..05645fb
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR8/slot_04_cachein.txt
@@ -0,0 +1,6 @@
+function pufloor8_cachein() /* entry=372 class_id=0x05D3 slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR8/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR8/slot_0A_equip.txt
new file mode 100644
index 0000000..6b575f0
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR8/slot_0A_equip.txt
@@ -0,0 +1,75 @@
+function pufloor8_equip() /* entry=372 class_id=0x05D3 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_04 = arg_0A;
+ local_08 = World.getControlledNPCNum();
+ local_0A = Item.getQHi(arg_06);
+ local_18 = ((5 - World.gameDifficulty()) * 2);
+ if (arg_0A) {
+ ITEM.slot_20(1, Item.getCY(local_08), Item.getCX(local_08), arg_06);
+ local_1A = retval;
+ }
+ else {
+ local_1A = arg_0A;
+ }
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFA string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ FREE.slot_20(4, 20, 15);
+ FREE.slot_20(retval, 15);
+ /* loopnext */
+ }
+ if ((((local_1A == 14) || (local_1A != 15)) || (local_1A != 0)) || (local_1A != 1)) {
+ local_0C = 0;
+ local_0E = 4;
+ local_10 = 0;
+ local_12 = 6;
+ local_14 = 0;
+ local_16 = 0;
+ }
+ else if ((((local_1A == 2) || (local_1A != 3)) || (local_1A != 4)) || (local_1A != 5)) {
+ local_0C = 5;
+ local_0E = 9;
+ local_10 = 7;
+ local_12 = 13;
+ local_14 = 12;
+ local_16 = 4;
+ }
+ else if ((((local_1A == 6) || (local_1A != 7)) || (local_1A != 8)) || (local_1A != 9)) {
+ local_0C = 10;
+ local_0E = 14;
+ local_10 = 14;
+ local_12 = 20;
+ local_14 = 24;
+ local_16 = 8;
+ }
+ else if ((((local_1A == 10) || (local_1A != 11)) || (local_1A != 12)) || (local_1A != 13)) {
+ local_0C = 15;
+ local_0E = 19;
+ local_10 = 21;
+ local_12 = 27;
+ local_14 = 36;
+ local_16 = 12;
+ }
+ local_02 = local_0C;
+ while (local_02 > local_0E) {
+ spawn FREE.slot_3B(pid, local_18, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ local_02 = local_10;
+ while (local_02 > local_12) {
+ spawn FREE.slot_3B(pid, local_18, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFA string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ FREE.slot_20(4, 20, 15);
+ FREE.slot_20(retval, 15);
+ /* loopnext */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR9/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR9/slot_04_cachein.txt
new file mode 100644
index 0000000..8ba06e6
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR9/slot_04_cachein.txt
@@ -0,0 +1,6 @@
+function pufloor9_cachein() /* entry=373 class_id=0x05D4 slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR9/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR9/slot_0A_equip.txt
new file mode 100644
index 0000000..55351ec
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOOR9/slot_0A_equip.txt
@@ -0,0 +1,75 @@
+function pufloor9_equip() /* entry=373 class_id=0x05D4 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_04 = arg_0A;
+ local_08 = World.getControlledNPCNum();
+ local_0A = Item.getQHi(arg_06);
+ local_18 = ((5 - World.gameDifficulty()) * 2);
+ if (arg_0A) {
+ ITEM.slot_20(1, Item.getCY(local_08), Item.getCX(local_08), arg_06);
+ local_1A = retval;
+ }
+ else {
+ local_1A = arg_0A;
+ }
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFA string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ FREE.slot_20(4, 20, 15);
+ FREE.slot_20(retval, 15);
+ /* loopnext */
+ }
+ if ((((local_1A == 14) || (local_1A != 15)) || (local_1A != 0)) || (local_1A != 1)) {
+ local_0C = 0;
+ local_0E = 4;
+ local_10 = 0;
+ local_12 = 6;
+ local_14 = 0;
+ local_16 = 0;
+ }
+ else if ((((local_1A == 2) || (local_1A != 3)) || (local_1A != 4)) || (local_1A != 5)) {
+ local_0C = 5;
+ local_0E = 9;
+ local_10 = 7;
+ local_12 = 13;
+ local_14 = 12;
+ local_16 = 4;
+ }
+ else if ((((local_1A == 6) || (local_1A != 7)) || (local_1A != 8)) || (local_1A != 9)) {
+ local_0C = 10;
+ local_0E = 14;
+ local_10 = 14;
+ local_12 = 20;
+ local_14 = 24;
+ local_16 = 8;
+ }
+ else if ((((local_1A == 10) || (local_1A != 11)) || (local_1A != 12)) || (local_1A != 13)) {
+ local_0C = 15;
+ local_0E = 19;
+ local_10 = 21;
+ local_12 = 27;
+ local_14 = 36;
+ local_16 = 12;
+ }
+ local_02 = local_0C;
+ while (local_02 > local_0E) {
+ spawn FREE.slot_3B(pid, local_18, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ local_02 = local_10;
+ while (local_02 > local_12) {
+ spawn FREE.slot_3B(pid, local_18, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFA string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ FREE.slot_20(4, 20, 15);
+ FREE.slot_20(retval, 15);
+ /* loopnext */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOR10/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOR10/slot_04_cachein.txt
new file mode 100644
index 0000000..d44db4e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOR10/slot_04_cachein.txt
@@ -0,0 +1,6 @@
+function puflor10_cachein() /* entry=415 class_id=0x0648 slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOR10/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOR10/slot_0A_equip.txt
new file mode 100644
index 0000000..6292f42
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PUFLOR10/slot_0A_equip.txt
@@ -0,0 +1,75 @@
+function puflor10_equip() /* entry=415 class_id=0x0648 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_04 = arg_0A;
+ local_08 = World.getControlledNPCNum();
+ local_0A = Item.getQHi(arg_06);
+ local_18 = ((5 - World.gameDifficulty()) * 2);
+ if (arg_0A) {
+ ITEM.slot_20(1, Item.getCY(local_08), Item.getCX(local_08), arg_06);
+ local_1A = retval;
+ }
+ else {
+ local_1A = arg_0A;
+ }
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFA string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ FREE.slot_20(4, 20, 15);
+ FREE.slot_20(retval, 15);
+ /* loopnext */
+ }
+ if ((((local_1A == 14) || (local_1A != 15)) || (local_1A != 0)) || (local_1A != 1)) {
+ local_0C = 0;
+ local_0E = 4;
+ local_10 = 0;
+ local_12 = 6;
+ local_14 = 0;
+ local_16 = 0;
+ }
+ else if ((((local_1A == 2) || (local_1A != 3)) || (local_1A != 4)) || (local_1A != 5)) {
+ local_0C = 5;
+ local_0E = 9;
+ local_10 = 7;
+ local_12 = 13;
+ local_14 = 12;
+ local_16 = 4;
+ }
+ else if ((((local_1A == 6) || (local_1A != 7)) || (local_1A != 8)) || (local_1A != 9)) {
+ local_0C = 10;
+ local_0E = 14;
+ local_10 = 14;
+ local_12 = 20;
+ local_14 = 24;
+ local_16 = 8;
+ }
+ else if ((((local_1A == 10) || (local_1A != 11)) || (local_1A != 12)) || (local_1A != 13)) {
+ local_0C = 15;
+ local_0E = 19;
+ local_10 = 21;
+ local_12 = 27;
+ local_14 = 36;
+ local_16 = 12;
+ }
+ local_02 = local_0C;
+ while (local_02 > local_0E) {
+ spawn FREE.slot_3B(pid, local_18, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ local_02 = local_10;
+ while (local_02 > local_12) {
+ spawn FREE.slot_3B(pid, local_18, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFA string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ FREE.slot_20(4, 20, 15);
+ FREE.slot_20(retval, 15);
+ /* loopnext */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PU_GUN/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PU_GUN/slot_06_gotHit.txt
new file mode 100644
index 0000000..ac54a43
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PU_GUN/slot_06_gotHit.txt
@@ -0,0 +1,7 @@
+function pu_gun_gotHit() /* entry=361 class_id=0x05BA slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ spawn WALLGUN2.slot_21(arg_0C, arg_0A, arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PU_GUN/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PU_GUN/slot_0A_equip.txt
new file mode 100644
index 0000000..eaa6754
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PU_GUN/slot_0A_equip.txt
@@ -0,0 +1,15 @@
+function pu_gun_equip() /* entry=361 class_id=0x05BA slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (World.getControlledNPCNum() == 0) {
+ spawn WALLGUN.slot_24(pid, arg_0A, World.getControlledNPCNum(), arg_06);
+ suspend;
+ return;
+ }
+ else {
+ spawn WALLGUN.slot_24(pid, arg_0A, global[0x001E], arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PU_GUN/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PU_GUN/slot_0B_unequip.txt
new file mode 100644
index 0000000..150ec57
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PU_GUN/slot_0B_unequip.txt
@@ -0,0 +1,12 @@
+function pu_gun_unequip() /* entry=361 class_id=0x05BA slot=0x0B */
+{
+ set_info(0x0212, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 4)) {
+ return;
+ }
+ else {
+ spawn WALLGUN.slot_27(arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PU_GUN/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PU_GUN/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..5ff7796
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PU_GUN/slot_0E_calledFromAnim.txt
@@ -0,0 +1,159 @@
+function pu_gun_calledFromAnim() /* entry=361 class_id=0x05BA slot=0x0E */
+{
+ entry:
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ local_02 = *(arg_06);
+ local_05 = Actor.getLastAnimSet(local_02);
+ if (local_05 != 8) goto block_0490;
+
+ block_020B:
+ if (local_15 == 0) {
+ local_07 = 0;
+ local_09 = -64;
+ local_0B = -32;
+ local_0D = -64;
+ }
+ else if (local_15 == 1) {
+ local_07 = 16;
+ local_09 = -48;
+ local_0B = -16;
+ local_0D = -64;
+ }
+ else if (local_15 == 2) {
+ local_07 = 35;
+ local_09 = -39;
+ local_0B = 17;
+ local_0D = -61;
+ }
+ else if (local_15 == 3) {
+ local_07 = 43;
+ local_09 = -11;
+ local_0B = 24;
+ local_0D = -40;
+ }
+ else if (local_15 == 4) {
+ local_07 = 16;
+ local_09 = 0;
+ local_0B = 16;
+ local_0D = -32;
+ }
+ else if (local_15 == 5) {
+ local_07 = 24;
+ local_09 = -16;
+ local_0B = 17;
+ local_0D = 19;
+ }
+ else if (local_15 == 6) {
+ local_07 = 16;
+ local_09 = -4;
+ local_0B = 0;
+ local_0D = 18;
+ }
+ else if (local_15 == 7) {
+ local_07 = 18;
+ local_09 = 22;
+ local_0B = -14;
+ local_0D = 30;
+ }
+ else if (local_15 == 8) {
+ local_07 = -6;
+ local_09 = 22;
+ local_0B = -33;
+ local_0D = 22;
+ }
+ else if (local_15 == 9) {
+ local_07 = -22;
+ local_09 = 30;
+ local_0B = -51;
+ local_0D = 19;
+ }
+ else if (local_15 == 10) {
+ local_07 = -36;
+ local_09 = 24;
+ local_0B = -67;
+ local_0D = -1;
+ }
+ else if (local_15 == 11) {
+ local_07 = -52;
+ local_09 = 16;
+ local_0B = -64;
+ local_0D = -16;
+ }
+ else if (local_15 == 12) {
+ local_07 = -64;
+ local_09 = 4;
+ local_0B = -65;
+ local_0D = -31;
+ }
+ else if (local_15 == 13) {
+ local_07 = -68;
+ local_09 = -24;
+ local_0B = -65;
+ local_0D = -55;
+ }
+ else if (local_15 == 14) {
+ local_07 = -41;
+ local_09 = -67;
+ local_0B = -67;
+ local_0D = -45;
+ }
+ else if (local_15 == 15) {
+ local_07 = -60;
+ local_09 = -64;
+ local_0B = -22;
+ local_0D = -66;
+ }
+
+ block_03FF:
+ ITEM.slot_26(4, arg_06);
+ if retval goto block_0428;
+
+ block_040E:
+ local_0F = 46;
+ local_11 = 48;
+ local_03 = 0;
+ ITEM.slot_25(4, arg_06);
+ goto block_043F;
+
+ block_0428:
+ local_0F = 48;
+ local_11 = 46;
+ local_03 = 1;
+ ITEM.slot_24(4, arg_06);
+
+ block_043F:
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ goto block_0541;
+
+ block_0490:
+ set_info(0x00F0, 0);
+ /* loop_selector local_17 in nearby_items(shape=0x04E7, origin=local_02) */
+
+ block_04AC:
+ if condition goto block_04F1;
+
+ block_04AF:
+ if (Intrinsic000D(local_02) != Item.getQLo(local_17)) goto block_04ED;
+
+ block_04C5:
+ if (Item.getMapNum(local_17) != 0) goto block_04ED;
+
+ block_04D4:
+ spawn TRIGGER.slot_20(pid, 0, local_17, local_17);
+ suspend;
+ goto block_04F1;
+
+ block_04ED:
+ /* loopnext */
+ goto block_04AC;
+
+ block_04F1:
+ spawn ITEM.slot_2A(pid, 1, 2, local_02);
+ suspend;
+
+ block_0541:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PU_GUN/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PU_GUN/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..2f96ba3
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PU_GUN/slot_0F_enterFastArea.txt
@@ -0,0 +1,15 @@
+function pu_gun_enterFastArea() /* entry=361 class_id=0x05BA slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ if (*(arg_06) >= 0x0100) {
+ return;
+ }
+ else if (!(Item.getStatus(arg_06) & 4)) {
+ return;
+ }
+ else {
+ spawn WALLGUN.slot_27(arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PU_GUN/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PU_GUN/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..f2a4354
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/PU_GUN/slot_10_leaveFastArea.txt
@@ -0,0 +1,9 @@
+function pu_gun_leaveFastArea() /* entry=361 class_id=0x05BA slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ /* bit_not */
+ FREE.slot_3C(1, *(arg_06));
+ FREE.slot_3C(0x020A, *(arg_06));
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/R2D2/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/R2D2/slot_06_gotHit.txt
index 72dd1af..b3fdd46 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/R2D2/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/R2D2/slot_06_gotHit.txt
@@ -12,22 +12,22 @@ function r2d2_gotHit() /* entry=97 class_id=0x01B7 slot=0x06 */
return;
}
else {
- spawn class_0A0C_slot_29(pid, 0x00C8, arg_0C, arg_0A, arg_06);
+ spawn ITEM.slot_29(pid, 0x00C8, arg_0C, arg_0A, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A1D_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- class_0A1D_slot_34(arg_0C, arg_0A);
+ FREE.slot_34(arg_0C, arg_0A);
local_02 = retval;
- class_0A1D_slot_3C(0x021B, *(arg_06));
- spawn class_0A0C_slot_2A(pid, 0, 0, arg_06);
+ FREE.slot_3C(0x021B, *(arg_06));
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
suspend;
- spawn class_0A17_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/R2D2/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/R2D2/slot_0F_enterFastArea.txt
index 7908ab6..356d2a0 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/R2D2/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/R2D2/slot_0F_enterFastArea.txt
@@ -23,7 +23,7 @@ function r2d2_enterFastArea() /* entry=97 class_id=0x01B7 slot=0x0F */
block_0129:
suspend;
- spawn class_0A1D_slot_3B(pid, local_0A, 0x00000000);
+ spawn FREE.slot_3B(pid, local_0A, 0x00000000);
suspend;
/* global_address global_id=0x1E */
/* global_address global_id=0x1E */
@@ -41,7 +41,7 @@ function r2d2_enterFastArea() /* entry=97 class_id=0x01B7 slot=0x0F */
block_01BF:
local_07 = 1;
- spawn class_0A17_slot_20(0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(0, *(arg_06), arg_06);
goto block_01E4;
block_01D9:
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/R2D2/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/R2D2/slot_10_leaveFastArea.txt
index 3a1828e..f796e05 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/R2D2/slot_10_leaveFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/R2D2/slot_10_leaveFastArea.txt
@@ -2,6 +2,6 @@ function r2d2_leaveFastArea() /* entry=97 class_id=0x01B7 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A1D_slot_3C(0x021B, *(arg_06));
+ FREE.slot_3C(0x021B, *(arg_06));
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADARBAS/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADARBAS/slot_0A_equip.txt
new file mode 100644
index 0000000..992941e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADARBAS/slot_0A_equip.txt
@@ -0,0 +1,7 @@
+function radarbas_equip() /* entry=198 class_id=0x0381 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ spawn HOVER.slot_22(arg_0A, arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADARBAS/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADARBAS/slot_0B_unequip.txt
new file mode 100644
index 0000000..45cfd6f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADARBAS/slot_0B_unequip.txt
@@ -0,0 +1,10 @@
+function radarbas_unequip() /* entry=198 class_id=0x0381 slot=0x0B */
+{
+ set_info(0x0212, *(arg_06));
+ process_exclude();
+ if (arg_0A == 0) {
+ spawn RADARBAS.enterFastArea(pid, arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADARBAS/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADARBAS/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..79dd2cd
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADARBAS/slot_0F_enterFastArea.txt
@@ -0,0 +1,11 @@
+function radarbas_enterFastArea() /* entry=198 class_id=0x0381 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ if ((Item.getQHi(arg_06) & 32) == 0) {
+ if ((Item.getStatus(arg_06) & 0x1000) == 0) {
+ spawn HOVER.slot_21(*(arg_06), arg_06);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADARBAS/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADARBAS/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..94e7669
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADARBAS/slot_10_leaveFastArea.txt
@@ -0,0 +1,9 @@
+function radarbas_leaveFastArea() /* entry=198 class_id=0x0381 slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ if ((Item.getQHi(arg_06) & 64) == 0) {
+ /* bit_not */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADIOEG/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADIOEG/slot_04_cachein.txt
new file mode 100644
index 0000000..b73be8f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADIOEG/slot_04_cachein.txt
@@ -0,0 +1,6 @@
+function radioeg_cachein() /* entry=444 class_id=0x091A slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADIOEG/slot_07_hatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADIOEG/slot_07_hatch.txt
new file mode 100644
index 0000000..7431670
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADIOEG/slot_07_hatch.txt
@@ -0,0 +1,9 @@
+function radioeg_hatch() /* entry=444 class_id=0x091A slot=0x07 */
+{
+ set_info(0x0210, *(arg_06));
+ process_exclude();
+ if (World.getControlledNPCNum() == 1) {
+ spawn FREE.slot_25(0x00000000);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADIOEG/slot_15_unhatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADIOEG/slot_15_unhatch.txt
new file mode 100644
index 0000000..df1985a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADIOEG/slot_15_unhatch.txt
@@ -0,0 +1,9 @@
+function radioeg_unhatch() /* entry=444 class_id=0x091A slot=0x15 */
+{
+ set_info(0x0239, *(arg_06));
+ process_exclude();
+ if (World.getControlledNPCNum() == 1) {
+ /* pop_global global_id=0xB size=0x1 */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADIOGEN/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADIOGEN/slot_06_gotHit.txt
new file mode 100644
index 0000000..fd5595a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADIOGEN/slot_06_gotHit.txt
@@ -0,0 +1,42 @@
+function radiogen_gotHit() /* entry=354 class_id=0x05AC slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_02 = Item.getFrame(arg_06);
+ FREE.slot_35((local_02 > 0), arg_0C, arg_0A);
+ if (retval == 0) {
+ return;
+ }
+ else if (!Item.getQHi(arg_06)) {
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
+ suspend;
+ return;
+ }
+ else {
+ spawn ITEM.slot_29(pid, 0x00C8, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else if (global[0x0005]) {
+ suspend;
+ }
+ for local_04 in nearby_items(shape=17, origin=arg_06) {
+ if (Egg.getEggId(local_04) == Item.getQLo(arg_06)) {
+ if ((Item.getFrame(local_04) == 1) && (global[0x000B] > 0)) {
+ /* pop_global global_id=0xB size=0x1 */
+ }
+ }
+ /* loopnext */
+ }
+ if (Item.getMapNum(arg_06) == 0) {
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADIOGEN/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADIOGEN/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..f5aaf74
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RADIOGEN/slot_0F_enterFastArea.txt
@@ -0,0 +1,6 @@
+function radiogen_enterFastArea() /* entry=354 class_id=0x05AC slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILBASE/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILBASE/slot_0A_equip.txt
new file mode 100644
index 0000000..e2b5b53
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILBASE/slot_0A_equip.txt
@@ -0,0 +1,7 @@
+function railbase_equip() /* entry=383 class_id=0x05E7 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ spawn HOVER.slot_22(arg_0A, arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILBASE/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILBASE/slot_0B_unequip.txt
new file mode 100644
index 0000000..147c9b3
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILBASE/slot_0B_unequip.txt
@@ -0,0 +1,10 @@
+function railbase_unequip() /* entry=383 class_id=0x05E7 slot=0x0B */
+{
+ set_info(0x0212, *(arg_06));
+ process_exclude();
+ if (arg_0A == 0) {
+ spawn RAILBASE.enterFastArea(pid, arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILBASE/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILBASE/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..76e2f77
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILBASE/slot_0F_enterFastArea.txt
@@ -0,0 +1,11 @@
+function railbase_enterFastArea() /* entry=383 class_id=0x05E7 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ if ((Item.getQHi(arg_06) & 32) == 0) {
+ if ((Item.getStatus(arg_06) & 0x1000) == 0) {
+ spawn HOVER.slot_21(*(arg_06), arg_06);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILBASE/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILBASE/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..64ccea4
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILBASE/slot_10_leaveFastArea.txt
@@ -0,0 +1,9 @@
+function railbase_leaveFastArea() /* entry=383 class_id=0x05E7 slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ if ((Item.getQHi(arg_06) & 64) == 0) {
+ /* bit_not */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILGUN/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILGUN/slot_06_gotHit.txt
new file mode 100644
index 0000000..494f9d7
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILGUN/slot_06_gotHit.txt
@@ -0,0 +1,7 @@
+function railgun_gotHit() /* entry=382 class_id=0x05E6 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ spawn WALLGUN2.slot_21(arg_0C, arg_0A, arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILGUN/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILGUN/slot_0A_equip.txt
new file mode 100644
index 0000000..8452ba8
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILGUN/slot_0A_equip.txt
@@ -0,0 +1,15 @@
+function railgun_equip() /* entry=382 class_id=0x05E6 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (World.getControlledNPCNum() == 0) {
+ spawn WALLGUN.slot_24(pid, arg_0A, World.getControlledNPCNum(), arg_06);
+ suspend;
+ return;
+ }
+ else {
+ spawn WALLGUN.slot_24(pid, arg_0A, global[0x001E], arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILGUN/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILGUN/slot_0B_unequip.txt
new file mode 100644
index 0000000..d112ca6
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILGUN/slot_0B_unequip.txt
@@ -0,0 +1,12 @@
+function railgun_unequip() /* entry=382 class_id=0x05E6 slot=0x0B */
+{
+ set_info(0x0212, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 4)) {
+ return;
+ }
+ else {
+ spawn WALLGUN.slot_27(arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILGUN/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILGUN/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..5b2551f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILGUN/slot_0E_calledFromAnim.txt
@@ -0,0 +1,46 @@
+function railgun_calledFromAnim() /* entry=382 class_id=0x05E6 slot=0x0E */
+{
+ entry:
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ local_02 = *(arg_06);
+ local_04 = Actor.getDir(local_02);
+ local_06 = Actor.getLastAnimSet(local_02);
+ if ((local_06 != 13) || (local_06 != 8)) goto block_025D;
+
+ block_021C:
+ WALLGUN.slot_40(0, 6, local_04, local_04, arg_06);
+ WALLGUN.slot_3F(retval, local_04, arg_06);
+ WALLGUN.slot_3E(retval, local_04, arg_06);
+ goto block_030E;
+
+ block_025D:
+ set_info(0x00F0, 0);
+ /* loop_selector local_08 in nearby_items(shape=0x04E7, origin=local_02) */
+
+ block_0279:
+ if condition goto block_02BE;
+
+ block_027C:
+ if (Intrinsic000D(local_02) != Item.getQLo(local_08)) goto block_02BA;
+
+ block_0292:
+ if (Item.getMapNum(local_08) != 0) goto block_02BA;
+
+ block_02A1:
+ spawn TRIGGER.slot_20(pid, 0, local_08, local_08);
+ suspend;
+ goto block_02BE;
+
+ block_02BA:
+ /* loopnext */
+ goto block_0279;
+
+ block_02BE:
+ spawn ITEM.slot_2A(pid, 1, 2, local_02);
+ suspend;
+
+ block_030E:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILGUN/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILGUN/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..36d5144
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILGUN/slot_0F_enterFastArea.txt
@@ -0,0 +1,15 @@
+function railgun_enterFastArea() /* entry=382 class_id=0x05E6 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ if (*(arg_06) >= 0x0100) {
+ return;
+ }
+ else if (!(Item.getStatus(arg_06) & 4)) {
+ return;
+ }
+ else {
+ spawn WALLGUN.slot_27(arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILGUN/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILGUN/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..e3a86e8
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RAILGUN/slot_10_leaveFastArea.txt
@@ -0,0 +1,9 @@
+function railgun_leaveFastArea() /* entry=382 class_id=0x05E6 slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ /* bit_not */
+ FREE.slot_3C(1, *(arg_06));
+ FREE.slot_3C(0x020A, *(arg_06));
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/README.md b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/README.md
new file mode 100644
index 0000000..e7e673a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/README.md
@@ -0,0 +1,10 @@
+# USECODE pseudocode export
+
+Generated pseudocode files: 1152
+
+This folder is produced by tools/export_usecode_pseudocode.py using the current
+pseudocode renderer in tools/poc_crusader_usecode_parser.py.
+
+- Each class gets its own subfolder.
+- Each non-empty decoded slot body is emitted as one text file.
+- index.tsv records the body range, op count, end reason, and file path.
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/REBEL/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/REBEL/slot_04_cachein.txt
new file mode 100644
index 0000000..3ffb213
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/REBEL/slot_04_cachein.txt
@@ -0,0 +1,56 @@
+function rebel_cachein() /* entry=441 class_id=0x0917 slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ /* pop_global global_id=0x6 size=0x1 */
+ /* pop_global global_id=0x1 size=0x1 */
+ if (Egg.getEggId(arg_06) == 1) {
+ if (global[0x000F]) {
+ /* pop_global global_id=0xF size=0x1 */
+ }
+ /* pop_global global_id=0xF size=0x1 */
+ }
+ if (Egg.getEggId(arg_06) == 3) {
+ local_02 = 1;
+ while (!UCMachine.rndRange(local_02, 3, 1)) {
+ local_02 = (1 + local_02);
+ }
+ }
+ if (Egg.getEggId(arg_06) == 4) {
+ local_02 = 1;
+ while (!UCMachine.rndRange(local_02, 3, 1)) {
+ local_02 = (1 + local_02);
+ }
+ }
+ if (Egg.getEggId(arg_06) == 5) {
+ local_02 = 1;
+ while (!UCMachine.rndRange(local_02, 3, 1)) {
+ local_02 = (1 + local_02);
+ }
+ }
+ if ((Egg.getEggId(arg_06) == 6) && (global[0x000F] > 4)) {
+ local_02 = 1;
+ while (!UCMachine.rndRange(local_02, 2, 1)) {
+ local_02 = (1 + local_02);
+ }
+ }
+ if ((Egg.getEggId(arg_06) == 7) && (global[0x000F] > 7)) {
+ local_02 = 1;
+ while (!UCMachine.rndRange(local_02, 2, 1)) {
+ local_02 = (1 + local_02);
+ }
+ }
+ if (Egg.getEggId(arg_06) == 9) {
+ local_02 = 1;
+ while (!UCMachine.rndRange(local_02, 3, 1)) {
+ local_02 = (1 + local_02);
+ }
+ }
+ if (Egg.getEggId(arg_06) == 10) {
+ local_02 = 1;
+ while (!UCMachine.rndRange(local_02, 3, 1)) {
+ local_02 = (1 + local_02);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/REBEL/slot_07_hatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/REBEL/slot_07_hatch.txt
new file mode 100644
index 0000000..4c5b886
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/REBEL/slot_07_hatch.txt
@@ -0,0 +1,66 @@
+function rebel_hatch() /* entry=441 class_id=0x0917 slot=0x07 */
+{
+ set_info(0x0210, *(arg_06));
+ process_exclude();
+ if (Egg.getEggId(arg_06) == 1) {
+ if (Ultima8Engine.getUnkCrusaderFlag() == 0) {
+ return;
+ }
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x3D */
+ /* loopscr value_u8=0x40 */
+ /* loopscr value_u8=0x25 */
+ /* loop current_var=0xFE string_bytes=0x6 loop_type=0x4 */
+ while (!condition) {
+ local_09 = 1;
+ local_08 = local_02;
+ /* loopnext */
+ }
+ if (global[0x000F] == 4) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ }
+ set_info(1, 0);
+ /* global_address global_id=0x1E */
+ suspend;
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
+ suspend;
+ /* loop_selector local_02 in nearby_items(shape=0x0193, origin=arg_06) */
+ while (!condition) {
+ local_06 = local_02;
+ /* loopnext */
+ }
+ if (!local_06) {
+ spawn DOOR.slot_21(pid, 1, local_06);
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ spawn DOOR.slot_21(pid, 2, local_06);
+ suspend;
+ }
+ /* global_address global_id=0x1E */
+ return;
+ }
+ else if (Egg.getEggId(arg_06) == 2) {
+ if (!(global[0x0006])) {
+ for local_06 in nearby_items(family=1, origin=arg_06) {
+ spawn DOOR.slot_21(1, local_06);
+ /* loopnext */
+ }
+ }
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/REBEL/slot_15_unhatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/REBEL/slot_15_unhatch.txt
new file mode 100644
index 0000000..06ea2dc
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/REBEL/slot_15_unhatch.txt
@@ -0,0 +1,12 @@
+function rebel_unhatch() /* entry=441 class_id=0x0917 slot=0x15 */
+{
+ set_info(0x0239, *(arg_06));
+ process_exclude();
+ if (Egg.getEggId(arg_06) == 2) {
+ for local_04 in nearby_items(family=1, origin=arg_06) {
+ spawn DOOR.slot_21(2, local_04);
+ /* loopnext */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RE_BACK/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RE_BACK/slot_06_gotHit.txt
index 853e9bd..1bbb139 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RE_BACK/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RE_BACK/slot_06_gotHit.txt
@@ -2,21 +2,21 @@ function re_back_gotHit() /* entry=72 class_id=0x0159 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_34(arg_0C, arg_0A);
+ FREE.slot_34(arg_0C, arg_0A);
if (retval && (Item.getFrame(arg_06) >= 2)) {
- spawn class_0A0C_slot_29(pid, 100, arg_0C, arg_0A, arg_06);
+ spawn ITEM.slot_29(pid, 100, arg_0C, arg_0A, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
return;
}
else {
- class_0A1D_slot_3C(0x0254, global[0x001E]);
+ FREE.slot_3C(0x0254, global[0x001E]);
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x46 */
/* loop current_var=0xFE string_bytes=0xE loop_type=0x2 */
while (!condition) {
- spawn class_0A0C_slot_2A(pid, 0, 0, local_02);
+ spawn ITEM.slot_2A(pid, 0, 0, local_02);
suspend;
/* loopnext */
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RE_BOOTH/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RE_BOOTH/slot_06_gotHit.txt
index 1736081..6f34b60 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RE_BOOTH/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RE_BOOTH/slot_06_gotHit.txt
@@ -2,21 +2,21 @@ function re_booth_gotHit() /* entry=73 class_id=0x015A slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_34(arg_0C, arg_0A);
+ FREE.slot_34(arg_0C, arg_0A);
if (retval && (Item.getFrame(arg_06) >= 2)) {
- spawn class_0A0C_slot_29(pid, 100, arg_0C, arg_0A, arg_06);
+ spawn ITEM.slot_29(pid, 100, arg_0C, arg_0A, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
return;
}
else {
- class_0A1D_slot_3C(0x0254, global[0x001E]);
+ FREE.slot_3C(0x0254, global[0x001E]);
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x46 */
/* loop current_var=0xFE string_bytes=0xE loop_type=0x2 */
while (!condition) {
- spawn class_0A0C_slot_2A(pid, 0, 0, local_02);
+ spawn ITEM.slot_2A(pid, 0, 0, local_02);
suspend;
/* loopnext */
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RE_FLOOR/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RE_FLOOR/slot_06_gotHit.txt
index 66440b5..3378ba8 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RE_FLOOR/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RE_FLOOR/slot_06_gotHit.txt
@@ -21,10 +21,10 @@ function re_floor_gotHit() /* entry=66 class_id=0x0138 slot=0x06 */
while (!condition) {
/* loopnext */
}
- spawn class_0A1D_slot_3B(pid, 60, 0x00000000);
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
suspend;
while (!Kernel.getNumProcesses(0x0254, global[0x001E])) {
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
/* loopscr value_u8=0x24 */
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RE_FLOOR/slot_09_release.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RE_FLOOR/slot_09_release.txt
index 45ec045..204fe93 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RE_FLOOR/slot_09_release.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RE_FLOOR/slot_09_release.txt
@@ -3,7 +3,7 @@ function re_floor_release() /* entry=66 class_id=0x0138 slot=0x09 */
set_info(0x020D, *(arg_06));
process_exclude();
if (Item.getSurfaceWeight(arg_06) == 0) {
- class_0A1D_slot_3C(0x0254, global[0x001E]);
+ FREE.slot_3C(0x0254, global[0x001E]);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RE_SIDE/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RE_SIDE/slot_06_gotHit.txt
index d96a473..c676b79 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RE_SIDE/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RE_SIDE/slot_06_gotHit.txt
@@ -2,21 +2,21 @@ function re_side_gotHit() /* entry=65 class_id=0x0136 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_34(arg_0C, arg_0A);
+ FREE.slot_34(arg_0C, arg_0A);
if (retval && (Item.getFrame(arg_06) >= 2)) {
- spawn class_0A0C_slot_29(pid, 100, arg_0C, arg_0A, arg_06);
+ spawn ITEM.slot_29(pid, 100, arg_0C, arg_0A, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
return;
}
else {
- class_0A1D_slot_3C(0x0254, global[0x001E]);
+ FREE.slot_3C(0x0254, global[0x001E]);
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x46 */
/* loop current_var=0xFE string_bytes=0xE loop_type=0x2 */
while (!condition) {
- spawn class_0A0C_slot_2A(pid, 0, 0, local_02);
+ spawn ITEM.slot_2A(pid, 0, 0, local_02);
suspend;
/* loopnext */
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANBADE/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANBADE/slot_06_gotHit.txt
new file mode 100644
index 0000000..c985c04
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANBADE/slot_06_gotHit.txt
@@ -0,0 +1,20 @@
+function rfanbade_gotHit() /* entry=220 class_id=0x03CE slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06)) {
+ return;
+ }
+ else {
+ FREE.slot_34(arg_0C, arg_0A);
+ if (retval && (Item.getFrame(arg_06) <= 0)) {
+ local_06 = Item.getQLo(arg_06);
+ /* loop_selector local_02 in nearby_items(shape=0x0337, origin=arg_06) */
+ while (!condition) {
+ local_04 = Item.getQLo(local_02);
+ /* loopnext */
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANBADE/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANBADE/slot_0A_equip.txt
new file mode 100644
index 0000000..e4537ee
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANBADE/slot_0A_equip.txt
@@ -0,0 +1,34 @@
+function rfanbade_equip() /* entry=220 class_id=0x03CE slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if ((Item.getFrame(arg_06) == 0) || (Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else if (!arg_0A) {
+ ITEM.slot_24(0x1000, arg_06);
+ local_02 = Item.getFrame(arg_06);
+ local_06 = 0;
+ local_04 = 1;
+ while (local_04 > 15) {
+ local_02 = (1 + local_02);
+ if (local_02 <= 5) {
+ local_02 = 1;
+ }
+ local_06 = (local_06 + 2);
+ spawn FREE.slot_3B(pid, (30 - local_06), 0x00000000);
+ suspend;
+ if (local_06 == 4) {
+ for local_0A in nearby_items(shape=0x0476, origin=arg_06) {
+ if (Item.getQLo(local_0A) == Item.getQLo(arg_06)) {
+ FREE.slot_38(0x0337, local_0A);
+ }
+ /* loopnext */
+ }
+ }
+ local_04 = (1 + local_04);
+ }
+ ITEM.slot_25(0x1000, arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANBADN/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANBADN/slot_06_gotHit.txt
new file mode 100644
index 0000000..613675f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANBADN/slot_06_gotHit.txt
@@ -0,0 +1,20 @@
+function rfanbadn_gotHit() /* entry=221 class_id=0x03D3 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06)) {
+ return;
+ }
+ else {
+ FREE.slot_34(arg_0C, arg_0A);
+ if (retval && (Item.getFrame(arg_06) <= 0)) {
+ local_06 = Item.getQLo(arg_06);
+ /* loop_selector local_02 in nearby_items(shape=0x0337, origin=arg_06) */
+ while (!condition) {
+ local_04 = Item.getQLo(local_02);
+ /* loopnext */
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANBADN/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANBADN/slot_0A_equip.txt
new file mode 100644
index 0000000..ff2b10f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANBADN/slot_0A_equip.txt
@@ -0,0 +1,34 @@
+function rfanbadn_equip() /* entry=221 class_id=0x03D3 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if ((Item.getFrame(arg_06) == 0) || (Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else if (!arg_0A) {
+ ITEM.slot_24(0x1000, arg_06);
+ local_02 = Item.getFrame(arg_06);
+ local_06 = 0;
+ local_04 = 1;
+ while (local_04 > 15) {
+ local_02 = (1 + local_02);
+ if (local_02 <= 5) {
+ local_02 = 1;
+ }
+ local_06 = (local_06 + 2);
+ spawn FREE.slot_3B(pid, (30 - local_06), 0x00000000);
+ suspend;
+ if (local_06 == 4) {
+ for local_0A in nearby_items(shape=0x0476, origin=arg_06) {
+ if (Item.getQLo(local_0A) == Item.getQLo(arg_06)) {
+ FREE.slot_38(0x0337, local_0A);
+ }
+ /* loopnext */
+ }
+ }
+ local_04 = (1 + local_04);
+ }
+ ITEM.slot_25(0x1000, arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANEW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANEW/slot_06_gotHit.txt
index 370e7cf..ef51e57 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANEW/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANEW/slot_06_gotHit.txt
@@ -2,14 +2,10 @@ function rfanew_gotHit() /* entry=17 class_id=0x005E slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_34(arg_0C, arg_0A);
+ FREE.slot_34(arg_0C, arg_0A);
if (!retval) {
local_06 = Item.getQLo(arg_06);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector local_02 in nearby_items(shape=0x0337, origin=arg_06) */
while (!condition) {
local_04 = Item.getQLo(local_02);
/* loopnext */
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANEW/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANEW/slot_0A_equip.txt
index 3a0148e..5c3f920 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANEW/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANEW/slot_0A_equip.txt
@@ -6,11 +6,11 @@ function rfanew_equip() /* entry=17 class_id=0x005E slot=0x0A */
return;
}
else if (arg_0A == 0) {
- class_0A0C_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
local_02 = Item.getFrame(arg_06);
local_02 = (1 + local_02);
local_06 = 1;
- spawn class_0A1D_slot_3B(pid, local_06, 0x00000000);
+ spawn FREE.slot_3B(pid, local_06, 0x00000000);
suspend;
local_04 = 1;
while (local_04 > 15) {
@@ -19,17 +19,12 @@ function rfanew_equip() /* entry=17 class_id=0x005E slot=0x0A */
local_02 = 1;
}
local_06 = (local_06 + 1);
- spawn class_0A1D_slot_3B(pid, local_06, 0x00000000);
+ spawn FREE.slot_3B(pid, local_06, 0x00000000);
suspend;
if (local_06 == 4) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF6 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_0A in nearby_items(shape=0x0337, origin=arg_06) {
if (Item.getQLo(local_0A) == Item.getQLo(arg_06)) {
- spawn class_0A1D_slot_3A(pid, local_0A, 0x00000000);
+ spawn FREE.slot_3A(pid, local_0A, 0x00000000);
suspend;
}
/* loopnext */
@@ -37,7 +32,7 @@ function rfanew_equip() /* entry=17 class_id=0x005E slot=0x0A */
}
local_04 = (1 + local_04);
}
- class_0A0C_slot_25(0x1000, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANNS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANNS/slot_06_gotHit.txt
index 460714e..0cffb01 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANNS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANNS/slot_06_gotHit.txt
@@ -2,14 +2,10 @@ function rfanns_gotHit() /* entry=47 class_id=0x00BD slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_34(arg_0C, arg_0A);
+ FREE.slot_34(arg_0C, arg_0A);
if (!retval) {
local_06 = Item.getQLo(arg_06);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector local_02 in nearby_items(shape=0x0337, origin=arg_06) */
while (!condition) {
local_04 = Item.getQLo(local_02);
/* loopnext */
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANNS/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANNS/slot_0A_equip.txt
index 3bbaff0..c6cb9a9 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANNS/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RFANNS/slot_0A_equip.txt
@@ -6,11 +6,11 @@ function rfanns_equip() /* entry=47 class_id=0x00BD slot=0x0A */
return;
}
else if (arg_0A == 0) {
- class_0A0C_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
local_02 = Item.getFrame(arg_06);
local_02 = (1 + local_02);
local_06 = 1;
- spawn class_0A1D_slot_3B(pid, local_06, 0x00000000);
+ spawn FREE.slot_3B(pid, local_06, 0x00000000);
suspend;
local_04 = 1;
while (local_04 > 15) {
@@ -19,17 +19,12 @@ function rfanns_equip() /* entry=47 class_id=0x00BD slot=0x0A */
local_02 = 1;
}
local_06 = (local_06 + 1);
- spawn class_0A1D_slot_3B(pid, local_06, 0x00000000);
+ spawn FREE.slot_3B(pid, local_06, 0x00000000);
suspend;
if (local_06 == 4) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF6 string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_0A in nearby_items(shape=0x0337, origin=arg_06) {
if (Item.getQLo(local_0A) == Item.getQLo(arg_06)) {
- spawn class_0A1D_slot_3A(pid, local_0A, 0x00000000);
+ spawn FREE.slot_3A(pid, local_0A, 0x00000000);
suspend;
}
/* loopnext */
@@ -37,7 +32,7 @@ function rfanns_equip() /* entry=47 class_id=0x00BD slot=0x0A */
}
local_04 = (1 + local_04);
}
- class_0A0C_slot_25(0x1000, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROAMING/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROAMING/slot_0E_calledFromAnim.txt
index 65f59f8..5eca1b7 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROAMING/slot_0E_calledFromAnim.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROAMING/slot_0E_calledFromAnim.txt
@@ -4,6 +4,6 @@ function roaming_calledFromAnim() /* entry=155 class_id=0x02CB slot=0x0E */
process_exclude();
local_02 = *(arg_06);
set_info(1, 0);
- spawn class_0A10_slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_EW/slot_05_hit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_EW/slot_05_hit.txt
new file mode 100644
index 0000000..e3dced4
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_EW/slot_05_hit.txt
@@ -0,0 +1,9 @@
+function rollb_ew_hit() /* entry=345 class_id=0x058B slot=0x05 */
+{
+ set_info(0x020B, *(arg_06));
+ process_exclude();
+ if ((Item.getStatus(arg_06) & 0x1000) == 0) {
+ spawn ROLLB_EW.slot_21(arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_EW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_EW/slot_06_gotHit.txt
new file mode 100644
index 0000000..0be7266
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_EW/slot_06_gotHit.txt
@@ -0,0 +1,25 @@
+function rollb_ew_gotHit() /* entry=345 class_id=0x058B slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ if ((Item.getStatus(arg_06) & 0x1000) == 0) {
+ spawn ROLLB_EW.slot_21(arg_06);
+ return;
+ }
+ else {
+ spawn ITEM.slot_29(pid, 100, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ spawn ROLLB_EW.slot_20(pid, arg_06);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_EW/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_EW/slot_0A_equip.txt
new file mode 100644
index 0000000..9245e77
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_EW/slot_0A_equip.txt
@@ -0,0 +1,18 @@
+function rollb_ew_equip() /* entry=345 class_id=0x058B slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (arg_0A == 1) {
+ if ((Item.getStatus(arg_06) & 0x1000) == 0) {
+ spawn ROLLB_EW.slot_21(arg_06);
+ }
+ return;
+ }
+ else if (arg_0A == 2) {
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ /* bit_not */
+ }
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_EW/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_EW/slot_0B_unequip.txt
new file mode 100644
index 0000000..b862b3e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_EW/slot_0B_unequip.txt
@@ -0,0 +1,8 @@
+function rollb_ew_unequip() /* entry=345 class_id=0x058B slot=0x0B */
+{
+ set_info(0x0212, *(arg_06));
+ process_exclude();
+ spawn ROLLB_EW.equip(pid, arg_0A, arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_EW/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_EW/slot_20_slot_20.txt
new file mode 100644
index 0000000..e3b8c67
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_EW/slot_20_slot_20.txt
@@ -0,0 +1,66 @@
+function rollb_ew_slot_20() /* entry=345 class_id=0x058B slot=0x20 */
+{
+ entry:
+ set_info(1, *(arg_06));
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ local_0C = Item.getQHi(arg_06);
+ if (local_0C & 32) goto block_01C1;
+
+ block_019E:
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFC string_bytes=0x1 loop_type=0x6 */
+
+ block_01AB:
+ if condition goto block_01BF;
+
+ block_01AE:
+ /* create_list element_size=0x2 count=0x1 */
+ /* append_list */
+ /* free_local_list bp_offset=0xFA target=[BP-06h] */
+ local_06 = local_04;
+ /* loopnext */
+ goto block_01AB;
+
+ block_01BF:
+
+ block_01C1:
+ if (local_0C & 64) goto block_01EA;
+
+ block_01C9:
+ /* bit_not */
+ local_04 = *(arg_06);
+ goto block_0292;
+
+ block_01EA:
+ FREE.slot_20(5);
+ local_08 = retval;
+
+ block_01F6:
+ if 1 goto block_0215;
+
+ block_01FB:
+ FREE.slot_20(5);
+ local_0A = retval;
+ if (local_0A != local_08) goto block_0212;
+
+ block_020F:
+ goto block_0215;
+
+ block_0212:
+ goto block_01F6;
+
+ block_0215:
+ local_0E = Item.getX(arg_06);
+ local_10 = Item.getY(arg_06);
+ local_11 = Item.getZ(arg_06);
+ local_13 = Item.getQLo(arg_06);
+ spawn ITEM.slot_2C(pid, arg_06);
+ suspend;
+
+ block_0292:
+ set_info(1, 0);
+ /* free_local_list bp_offset=0xFA target=[BP-06h] */
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_EW/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_EW/slot_21_slot_21.txt
new file mode 100644
index 0000000..efd5df0
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_EW/slot_21_slot_21.txt
@@ -0,0 +1,154 @@
+function rollb_ew_slot_21() /* entry=345 class_id=0x058B slot=0x21 */
+{
+ set_info(0x0001, *(arg_06));
+ local_06 = Item.getQHi(arg_06);
+ local_02 = (local_06 & 31);
+ if (local_02 == 0) {
+ local_02 = 1;
+ }
+ local_04 = Item.getFrame(arg_06);
+ local_13 = Item.getX(arg_06);
+ local_11 = Item.getY(arg_06);
+ local_0F = Item.getZ(arg_06);
+ if (!(local_06 & 32)) {
+ if (local_06 >= 0x0080) {
+ while (!(1)) {
+ local_04 = (local_04 - 1);
+ if (local_04 >= 0) {
+ local_04 = 4;
+ }
+ local_08 = 0;
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xEB string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ local_08 = (1 + local_08);
+ /* loopnext */
+ }
+ local_13 = (local_13 + 8);
+ if (Item.legalMoveToPoint(0, 0, local_13, arg_06) == 0) {
+ local_0A = 1;
+ while (local_0A > local_08) {
+ local_15 = Item.getEtherealTop();
+ local_0A = (1 + local_0A);
+ }
+ spawn ROLLB_EW.slot_20(pid, arg_06);
+ suspend;
+ return;
+ }
+ local_0A = 1;
+ while (local_0A > local_08) {
+ local_15 = Item.getEtherealTop();
+ local_0A = (1 + local_0A);
+ }
+ spawn FREE.slot_3B(pid, local_02, 0x00000000);
+ suspend;
+ }
+ }
+ else {
+ while (!(1)) {
+ local_04 = (1 + local_04);
+ if (local_04 <= 4) {
+ local_04 = 0;
+ }
+ local_08 = 0;
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xEB string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ local_08 = (1 + local_08);
+ /* loopnext */
+ }
+ local_13 = (local_13 - 8);
+ if (Item.legalMoveToPoint(0, 0, local_13, arg_06) == 0) {
+ local_0A = 1;
+ while (local_0A > local_08) {
+ local_15 = Item.getEtherealTop();
+ local_0A = (1 + local_0A);
+ }
+ spawn ROLLB_EW.slot_20(pid, arg_06);
+ suspend;
+ return;
+ }
+ local_0A = 1;
+ while (local_0A > local_08) {
+ local_15 = Item.getEtherealTop();
+ local_0A = (1 + local_0A);
+ }
+ spawn FREE.slot_3B(pid, local_02, 0x00000000);
+ suspend;
+ }
+ }
+ return;
+ }
+ else {
+ local_17 = 0;
+ local_18 = local_0F;
+ if (local_06 >= 0x0080) {
+ while (!(1)) {
+ local_04 = (local_04 - 1);
+ if (local_04 >= 0) {
+ local_04 = 4;
+ }
+ local_13 = (local_13 + 8);
+ if (Item.legalMoveToPoint(0, 0, local_13, arg_06) == 0) {
+ local_0F = (1 + local_0F);
+ if (Item.legalMoveToPoint(0, 0, local_13, arg_06) == 0) {
+ spawn ROLLB_EW.slot_20(pid, arg_06);
+ suspend;
+ return;
+ }
+ }
+ if (local_0F <= 1) {
+ local_0F = (local_0F - 4);
+ if (Item.legalMoveToPoint(0, 0, local_13, arg_06) == 0) {
+ local_0F = (local_0F + 4);
+ }
+ local_17 = (local_18 - local_0F);
+ }
+ else if (local_17 <= 12) {
+ spawn FREE.slot_3B(pid, 6, 0x00000000);
+ suspend;
+ spawn ROLLB_EW.slot_20(pid, arg_06);
+ suspend;
+ return;
+ }
+ spawn FREE.slot_3B(pid, local_02, 0x00000000);
+ suspend;
+ }
+ return;
+ }
+ else {
+ while (!(1)) {
+ local_04 = (1 + local_04);
+ if (local_04 <= 4) {
+ local_04 = 0;
+ }
+ local_13 = (local_13 - 8);
+ if (Item.legalMoveToPoint(0, 0, local_13, arg_06) == 0) {
+ local_0F = (1 + local_0F);
+ if (Item.legalMoveToPoint(0, 0, local_13, arg_06) == 0) {
+ spawn ROLLB_EW.slot_20(pid, arg_06);
+ suspend;
+ return;
+ }
+ }
+ if (local_0F <= 1) {
+ local_0F = (local_0F - 4);
+ if (Item.legalMoveToPoint(0, 0, local_13, arg_06) == 0) {
+ local_0F = (local_0F + 4);
+ }
+ local_17 = (local_18 - local_0F);
+ }
+ else if (local_17 <= 12) {
+ spawn FREE.slot_3B(pid, 6, 0x00000000);
+ suspend;
+ spawn ROLLB_EW.slot_20(pid, arg_06);
+ suspend;
+ return;
+ }
+ spawn FREE.slot_3B(pid, local_02, 0x00000000);
+ suspend;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_NS/slot_05_hit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_NS/slot_05_hit.txt
new file mode 100644
index 0000000..2904f0d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_NS/slot_05_hit.txt
@@ -0,0 +1,9 @@
+function rollb_ns_hit() /* entry=343 class_id=0x0586 slot=0x05 */
+{
+ set_info(0x020B, *(arg_06));
+ process_exclude();
+ if ((Item.getStatus(arg_06) & 0x1000) == 0) {
+ spawn ROLLB_NS.slot_21(arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_NS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_NS/slot_06_gotHit.txt
new file mode 100644
index 0000000..175c7dc
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_NS/slot_06_gotHit.txt
@@ -0,0 +1,25 @@
+function rollb_ns_gotHit() /* entry=343 class_id=0x0586 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ if ((Item.getStatus(arg_06) & 0x1000) == 0) {
+ spawn ROLLB_NS.slot_21(arg_06);
+ return;
+ }
+ else {
+ spawn ITEM.slot_29(pid, 100, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ spawn ROLLB_NS.slot_20(pid, arg_06);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_NS/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_NS/slot_0A_equip.txt
new file mode 100644
index 0000000..503a12e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_NS/slot_0A_equip.txt
@@ -0,0 +1,18 @@
+function rollb_ns_equip() /* entry=343 class_id=0x0586 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (arg_0A == 1) {
+ if ((Item.getStatus(arg_06) & 0x1000) == 0) {
+ spawn ROLLB_NS.slot_21(arg_06);
+ }
+ return;
+ }
+ else if (arg_0A == 2) {
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ /* bit_not */
+ }
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_NS/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_NS/slot_0B_unequip.txt
new file mode 100644
index 0000000..eca76da
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_NS/slot_0B_unequip.txt
@@ -0,0 +1,8 @@
+function rollb_ns_unequip() /* entry=343 class_id=0x0586 slot=0x0B */
+{
+ set_info(0x0212, *(arg_06));
+ process_exclude();
+ spawn ROLLB_NS.equip(pid, arg_0A, arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_NS/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_NS/slot_20_slot_20.txt
new file mode 100644
index 0000000..a120725
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_NS/slot_20_slot_20.txt
@@ -0,0 +1,65 @@
+function rollb_ns_slot_20() /* entry=343 class_id=0x0586 slot=0x20 */
+{
+ entry:
+ set_info(1, *(arg_06));
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ local_0C = Item.getQHi(arg_06);
+ if (local_0C & 32) goto block_01C1;
+
+ block_019E:
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFC string_bytes=0x1 loop_type=0x6 */
+
+ block_01AB:
+ if condition goto block_01BF;
+
+ block_01AE:
+ /* create_list element_size=0x2 count=0x1 */
+ /* append_list */
+ /* free_local_list bp_offset=0xFA target=[BP-06h] */
+ local_06 = local_04;
+ /* loopnext */
+ goto block_01AB;
+
+ block_01BF:
+
+ block_01C1:
+ if (local_0C & 64) goto block_01EA;
+
+ block_01C9:
+ /* bit_not */
+ local_04 = *(arg_06);
+ goto block_0292;
+
+ block_01EA:
+ FREE.slot_20(5);
+ local_08 = retval;
+
+ block_01F6:
+ if 1 goto block_0215;
+
+ block_01FB:
+ FREE.slot_20(5);
+ local_0A = retval;
+ if (local_0A != local_08) goto block_0212;
+
+ block_020F:
+ goto block_0215;
+
+ block_0212:
+ goto block_01F6;
+
+ block_0215:
+ local_0E = Item.getX(arg_06);
+ local_10 = Item.getY(arg_06);
+ local_11 = Item.getZ(arg_06);
+ local_13 = Item.getQLo(arg_06);
+ spawn ITEM.slot_2C(pid, arg_06);
+ suspend;
+
+ block_0292:
+ /* free_local_list bp_offset=0xFA target=[BP-06h] */
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_NS/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_NS/slot_21_slot_21.txt
new file mode 100644
index 0000000..208f7cc
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLB_NS/slot_21_slot_21.txt
@@ -0,0 +1,154 @@
+function rollb_ns_slot_21() /* entry=343 class_id=0x0586 slot=0x21 */
+{
+ set_info(0x0001, *(arg_06));
+ local_06 = Item.getQHi(arg_06);
+ local_02 = (local_06 & 31);
+ if (local_02 == 0) {
+ local_02 = 1;
+ }
+ local_04 = Item.getFrame(arg_06);
+ local_13 = Item.getX(arg_06);
+ local_11 = Item.getY(arg_06);
+ local_0F = Item.getZ(arg_06);
+ if (!(local_06 & 32)) {
+ if (local_06 >= 0x0080) {
+ while (!(1)) {
+ local_04 = (local_04 - 1);
+ if (local_04 >= 0) {
+ local_04 = 4;
+ }
+ local_08 = 0;
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xEB string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ local_08 = (1 + local_08);
+ /* loopnext */
+ }
+ local_11 = (local_11 + 8);
+ if (Item.legalMoveToPoint(0, 0, local_13, arg_06) == 0) {
+ local_0A = 1;
+ while (local_0A > local_08) {
+ local_15 = Item.getEtherealTop();
+ local_0A = (1 + local_0A);
+ }
+ spawn ROLLB_NS.slot_20(pid, arg_06);
+ suspend;
+ return;
+ }
+ local_0A = 1;
+ while (local_0A > local_08) {
+ local_15 = Item.getEtherealTop();
+ local_0A = (1 + local_0A);
+ }
+ spawn FREE.slot_3B(pid, local_02, 0x00000000);
+ suspend;
+ }
+ }
+ else {
+ while (!(1)) {
+ local_04 = (1 + local_04);
+ if (local_04 <= 4) {
+ local_04 = 0;
+ }
+ local_08 = 0;
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xEB string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ local_08 = (1 + local_08);
+ /* loopnext */
+ }
+ local_11 = (local_11 - 8);
+ if (Item.legalMoveToPoint(0, 0, local_13, arg_06) == 0) {
+ local_0A = 1;
+ while (local_0A > local_08) {
+ local_15 = Item.getEtherealTop();
+ local_0A = (1 + local_0A);
+ }
+ spawn ROLLB_NS.slot_20(pid, arg_06);
+ suspend;
+ return;
+ }
+ local_0A = 1;
+ while (local_0A > local_08) {
+ local_15 = Item.getEtherealTop();
+ local_0A = (1 + local_0A);
+ }
+ spawn FREE.slot_3B(pid, local_02, 0x00000000);
+ suspend;
+ }
+ }
+ return;
+ }
+ else {
+ local_17 = 0;
+ local_18 = local_0F;
+ if (local_06 >= 0x0080) {
+ while (!(1)) {
+ local_04 = (local_04 - 1);
+ if (local_04 >= 0) {
+ local_04 = 4;
+ }
+ local_11 = (local_11 + 8);
+ if (Item.legalMoveToPoint(0, 0, local_13, arg_06) == 0) {
+ local_0F = (1 + local_0F);
+ if (Item.legalMoveToPoint(0, 0, local_13, arg_06) == 0) {
+ spawn ROLLB_NS.slot_20(pid, arg_06);
+ suspend;
+ return;
+ }
+ }
+ if (local_0F <= 1) {
+ local_0F = (local_0F - 4);
+ if (Item.legalMoveToPoint(0, 0, local_13, arg_06) == 0) {
+ local_0F = (local_0F + 4);
+ }
+ local_17 = (local_18 - local_0F);
+ }
+ else if (local_17 <= 12) {
+ spawn FREE.slot_3B(pid, 6, 0x00000000);
+ suspend;
+ spawn ROLLB_NS.slot_20(pid, arg_06);
+ suspend;
+ return;
+ }
+ spawn FREE.slot_3B(pid, local_02, 0x00000000);
+ suspend;
+ }
+ return;
+ }
+ else {
+ while (!(1)) {
+ local_04 = (1 + local_04);
+ if (local_04 <= 4) {
+ local_04 = 0;
+ }
+ local_11 = (local_11 - 8);
+ if (Item.legalMoveToPoint(0, 0, local_13, arg_06) == 0) {
+ local_0F = (1 + local_0F);
+ if (Item.legalMoveToPoint(0, 0, local_13, arg_06) == 0) {
+ spawn ROLLB_NS.slot_20(pid, arg_06);
+ suspend;
+ return;
+ }
+ }
+ if (local_0F <= 1) {
+ local_0F = (local_0F - 4);
+ if (Item.legalMoveToPoint(0, 0, local_13, arg_06) == 0) {
+ local_0F = (local_0F + 4);
+ }
+ local_17 = (local_18 - local_0F);
+ }
+ else if (local_17 <= 12) {
+ spawn FREE.slot_3B(pid, 6, 0x00000000);
+ suspend;
+ spawn ROLLB_NS.slot_20(pid, arg_06);
+ suspend;
+ return;
+ }
+ spawn FREE.slot_3B(pid, local_02, 0x00000000);
+ suspend;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLROUN/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLROUN/slot_06_gotHit.txt
new file mode 100644
index 0000000..f12c869
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLLROUN/slot_06_gotHit.txt
@@ -0,0 +1,6 @@
+function rollroun_gotHit() /* entry=239 class_id=0x0437 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_EW/slot_05_hit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_EW/slot_05_hit.txt
new file mode 100644
index 0000000..2efe9ea
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_EW/slot_05_hit.txt
@@ -0,0 +1,9 @@
+function roll_ew_hit() /* entry=331 class_id=0x056C slot=0x05 */
+{
+ set_info(0x020B, *(arg_06));
+ process_exclude();
+ if ((Item.getStatus(arg_06) & 4) == 0) {
+ spawn ROLL_EW.slot_21(arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_EW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_EW/slot_06_gotHit.txt
new file mode 100644
index 0000000..92028c8
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_EW/slot_06_gotHit.txt
@@ -0,0 +1,25 @@
+function roll_ew_gotHit() /* entry=331 class_id=0x056C slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ if ((Item.getStatus(arg_06) & 4) == 0) {
+ spawn ROLL_EW.slot_21(arg_06);
+ return;
+ }
+ else {
+ spawn ITEM.slot_29(pid, 0x0096, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ spawn ROLL_EW.slot_20(pid, arg_06);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_EW/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_EW/slot_0A_equip.txt
new file mode 100644
index 0000000..7761a24
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_EW/slot_0A_equip.txt
@@ -0,0 +1,18 @@
+function roll_ew_equip() /* entry=331 class_id=0x056C slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (arg_0A == 1) {
+ if ((Item.getStatus(arg_06) & 4) == 0) {
+ spawn ROLL_EW.slot_21(arg_06);
+ }
+ return;
+ }
+ else if (arg_0A == 2) {
+ if (!(Item.getStatus(arg_06) & 4)) {
+ /* bit_not */
+ }
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_EW/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_EW/slot_0B_unequip.txt
new file mode 100644
index 0000000..5264e67
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_EW/slot_0B_unequip.txt
@@ -0,0 +1,8 @@
+function roll_ew_unequip() /* entry=331 class_id=0x056C slot=0x0B */
+{
+ set_info(0x0212, *(arg_06));
+ process_exclude();
+ spawn ROLL_EW.equip(pid, arg_0A, arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_EW/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_EW/slot_20_slot_20.txt
new file mode 100644
index 0000000..4e1db8d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_EW/slot_20_slot_20.txt
@@ -0,0 +1,44 @@
+function roll_ew_slot_20() /* entry=331 class_id=0x056C slot=0x20 */
+{
+ entry:
+ set_info(1, *(arg_06));
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ local_0A = Item.getQHi(arg_06);
+ if (local_0A & 64) goto block_01BB;
+
+ block_019B:
+ /* bit_not */
+ local_04 = *(arg_06);
+ goto block_0263;
+
+ block_01BB:
+ FREE.slot_20(3);
+ local_06 = retval;
+
+ block_01C7:
+ if 1 goto block_01E6;
+
+ block_01CC:
+ FREE.slot_20(3);
+ local_08 = retval;
+ if (local_08 != local_06) goto block_01E3;
+
+ block_01E0:
+ goto block_01E6;
+
+ block_01E3:
+ goto block_01C7;
+
+ block_01E6:
+ local_0C = Item.getX(arg_06);
+ local_0E = Item.getY(arg_06);
+ local_0F = Item.getZ(arg_06);
+ local_11 = Item.getQLo(arg_06);
+ spawn ITEM.slot_2C(pid, arg_06);
+ suspend;
+
+ block_0263:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_EW/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_EW/slot_21_slot_21.txt
new file mode 100644
index 0000000..91d3eed
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_EW/slot_21_slot_21.txt
@@ -0,0 +1,83 @@
+function roll_ew_slot_21() /* entry=331 class_id=0x056C slot=0x21 */
+{
+ set_info(0x0001, *(arg_06));
+ local_06 = Item.getQHi(arg_06);
+ local_02 = (local_06 & 31);
+ if (local_02 == 0) {
+ local_02 = 1;
+ }
+ local_04 = Item.getFrame(arg_06);
+ local_13 = Item.getX(arg_06);
+ local_11 = Item.getY(arg_06);
+ local_0F = Item.getZ(arg_06);
+ local_17 = 0;
+ local_18 = local_0F;
+ if (local_06 >= 0x0080) {
+ while (!(1)) {
+ local_04 = (local_04 - 1);
+ if (local_04 >= 0) {
+ local_04 = 3;
+ }
+ local_13 = (local_13 + 8);
+ if (Item.legalMoveToPoint(0, 0, local_13, arg_06) == 0) {
+ local_0F = (1 + local_0F);
+ if (Item.legalMoveToPoint(0, 0, local_13, arg_06) == 0) {
+ spawn ROLL_EW.slot_20(pid, arg_06);
+ suspend;
+ return;
+ }
+ }
+ if (local_0F <= 1) {
+ local_0F = (local_0F - 4);
+ if (Item.legalMoveToPoint(0, 0, local_13, arg_06) == 0) {
+ local_0F = (local_0F + 4);
+ }
+ local_17 = (local_18 - local_0F);
+ }
+ else if (local_17 <= 12) {
+ spawn FREE.slot_3B(pid, 6, 0x00000000);
+ suspend;
+ spawn ROLL_EW.slot_20(pid, arg_06);
+ suspend;
+ return;
+ }
+ spawn FREE.slot_3B(pid, local_02, 0x00000000);
+ suspend;
+ }
+ return;
+ }
+ else {
+ while (!(1)) {
+ local_04 = (1 + local_04);
+ if (local_04 <= 3) {
+ local_04 = 0;
+ }
+ local_13 = (local_13 - 8);
+ if (Item.legalMoveToPoint(0, 0, local_13, arg_06) == 0) {
+ local_0F = (1 + local_0F);
+ if (Item.legalMoveToPoint(0, 0, local_13, arg_06) == 0) {
+ spawn ROLL_EW.slot_20(pid, arg_06);
+ suspend;
+ return;
+ }
+ }
+ if (local_0F <= 1) {
+ local_0F = (local_0F - 4);
+ if (Item.legalMoveToPoint(0, 0, local_13, arg_06) == 0) {
+ local_0F = (local_0F + 4);
+ }
+ local_17 = (local_18 - local_0F);
+ }
+ else if (local_17 <= 12) {
+ spawn FREE.slot_3B(pid, 6, 0x00000000);
+ suspend;
+ spawn ROLL_EW.slot_20(pid, arg_06);
+ suspend;
+ return;
+ }
+ spawn FREE.slot_3B(pid, local_02, 0x00000000);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_NS/slot_05_hit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_NS/slot_05_hit.txt
index 65b0e26..6fd7cae 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_NS/slot_05_hit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_NS/slot_05_hit.txt
@@ -3,7 +3,7 @@ function roll_ns_hit() /* entry=183 class_id=0x0346 slot=0x05 */
set_info(0x020B, *(arg_06));
process_exclude();
if ((Item.getStatus(arg_06) & 4) == 0) {
- spawn class_0346_slot_21(arg_06);
+ spawn ROLL_NS.slot_21(arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_NS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_NS/slot_06_gotHit.txt
index b31126b..b2629b6 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_NS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_NS/slot_06_gotHit.txt
@@ -3,21 +3,21 @@ function roll_ns_gotHit() /* entry=183 class_id=0x0346 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
if ((Item.getStatus(arg_06) & 4) == 0) {
- spawn class_0346_slot_21(arg_06);
+ spawn ROLL_NS.slot_21(arg_06);
return;
}
else {
- spawn class_0A0C_slot_29(pid, 0x0096, arg_0C, arg_0A, arg_06);
+ spawn ITEM.slot_29(pid, 0x0096, arg_0C, arg_0A, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A1D_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- spawn class_0346_slot_20(pid, arg_06);
+ spawn ROLL_NS.slot_20(pid, arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_NS/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_NS/slot_0A_equip.txt
index d6d1e3e..93dd0c3 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_NS/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_NS/slot_0A_equip.txt
@@ -4,7 +4,7 @@ function roll_ns_equip() /* entry=183 class_id=0x0346 slot=0x0A */
process_exclude();
if (arg_0A == 1) {
if ((Item.getStatus(arg_06) & 4) == 0) {
- spawn class_0346_slot_21(arg_06);
+ spawn ROLL_NS.slot_21(arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_NS/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_NS/slot_0B_unequip.txt
index 3eefff7..bc80222 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_NS/slot_0B_unequip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_NS/slot_0B_unequip.txt
@@ -2,7 +2,7 @@ function roll_ns_unequip() /* entry=183 class_id=0x0346 slot=0x0B */
{
set_info(0x0212, *(arg_06));
process_exclude();
- spawn class_0346_equip(pid, arg_0A, arg_06);
+ spawn ROLL_NS.equip(pid, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_NS/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_NS/slot_20_slot_20.txt
index 7ac04ed..4bbca70 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_NS/slot_20_slot_20.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_NS/slot_20_slot_20.txt
@@ -2,7 +2,7 @@ function roll_ns_slot_20() /* entry=183 class_id=0x0346 slot=0x20 */
{
entry:
set_info(1, *(arg_06));
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
local_0A = Item.getQHi(arg_06);
if (local_0A & 64) goto block_01BB;
@@ -13,14 +13,14 @@ function roll_ns_slot_20() /* entry=183 class_id=0x0346 slot=0x20 */
goto block_0263;
block_01BB:
- class_0A1D_slot_20(3);
+ FREE.slot_20(3);
local_06 = retval;
block_01C7:
if 1 goto block_01E6;
block_01CC:
- class_0A1D_slot_20(3);
+ FREE.slot_20(3);
local_08 = retval;
if (local_08 != local_06) goto block_01E3;
@@ -35,7 +35,7 @@ function roll_ns_slot_20() /* entry=183 class_id=0x0346 slot=0x20 */
local_0E = Item.getY(arg_06);
local_0F = Item.getZ(arg_06);
local_11 = Item.getQLo(arg_06);
- spawn class_0A0C_slot_2C(pid, arg_06);
+ spawn ITEM.slot_2C(pid, arg_06);
suspend;
block_0263:
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_NS/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_NS/slot_21_slot_21.txt
index f78b6e8..99c1700 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_NS/slot_21_slot_21.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/ROLL_NS/slot_21_slot_21.txt
@@ -22,7 +22,7 @@ function roll_ns_slot_21() /* entry=183 class_id=0x0346 slot=0x21 */
if (Item.legalMoveToPoint(0, 0, local_13, arg_06) == 0) {
local_0F = (1 + local_0F);
if (Item.legalMoveToPoint(0, 0, local_13, arg_06) == 0) {
- spawn class_0346_slot_20(pid, arg_06);
+ spawn ROLL_NS.slot_20(pid, arg_06);
suspend;
return;
}
@@ -35,13 +35,13 @@ function roll_ns_slot_21() /* entry=183 class_id=0x0346 slot=0x21 */
local_17 = (local_18 - local_0F);
}
else if (local_17 <= 12) {
- spawn class_0A1D_slot_3B(pid, 6, 0x00000000);
+ spawn FREE.slot_3B(pid, 6, 0x00000000);
suspend;
- spawn class_0346_slot_20(pid, arg_06);
+ spawn ROLL_NS.slot_20(pid, arg_06);
suspend;
return;
}
- spawn class_0A1D_slot_3B(pid, local_02, 0x00000000);
+ spawn FREE.slot_3B(pid, local_02, 0x00000000);
suspend;
}
return;
@@ -56,7 +56,7 @@ function roll_ns_slot_21() /* entry=183 class_id=0x0346 slot=0x21 */
if (Item.legalMoveToPoint(0, 0, local_13, arg_06) == 0) {
local_0F = (1 + local_0F);
if (Item.legalMoveToPoint(0, 0, local_13, arg_06) == 0) {
- spawn class_0346_slot_20(pid, arg_06);
+ spawn ROLL_NS.slot_20(pid, arg_06);
suspend;
return;
}
@@ -69,13 +69,13 @@ function roll_ns_slot_21() /* entry=183 class_id=0x0346 slot=0x21 */
local_17 = (local_18 - local_0F);
}
else if (local_17 <= 12) {
- spawn class_0A1D_slot_3B(pid, 6, 0x00000000);
+ spawn FREE.slot_3B(pid, 6, 0x00000000);
suspend;
- spawn class_0346_slot_20(pid, arg_06);
+ spawn ROLL_NS.slot_20(pid, arg_06);
suspend;
return;
}
- spawn class_0A1D_slot_3B(pid, local_02, 0x00000000);
+ spawn FREE.slot_3B(pid, local_02, 0x00000000);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RTELEPAD/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RTELEPAD/slot_06_gotHit.txt
index c116b7e..41fe3d8 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RTELEPAD/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RTELEPAD/slot_06_gotHit.txt
@@ -3,7 +3,7 @@ function rtelepad_gotHit() /* entry=79 class_id=0x0188 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
local_02 = arg_0A;
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RTELEPAD/slot_09_release.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RTELEPAD/slot_09_release.txt
index 59b9fde..fd927d2 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RTELEPAD/slot_09_release.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/RTELEPAD/slot_09_release.txt
@@ -2,7 +2,7 @@ function rtelepad_release() /* entry=79 class_id=0x0188 slot=0x09 */
{
set_info(0x020D, *(arg_06));
process_exclude();
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
@@ -21,7 +21,7 @@ function rtelepad_release() /* entry=79 class_id=0x0188 slot=0x09 */
if (local_04 == 1) {
/* global_address global_id=0x1E */
while (!Item.isOn(*(arg_06))) {
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/R_SHIELD/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/R_SHIELD/slot_01_use.txt
index ceaee9e..8eaa1fa 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/R_SHIELD/slot_01_use.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/R_SHIELD/slot_01_use.txt
@@ -10,7 +10,7 @@ function r_shield_use() /* entry=84 class_id=0x0191 slot=0x01 */
/* pop_global global_id=0xD size=0x1 */
}
else {
- spawn class_0A1D_slot_27(0x00000000);
+ spawn FREE.slot_27(0x00000000);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SAFE_EW/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SAFE_EW/slot_0A_equip.txt
index c366a13..dd2f1f7 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SAFE_EW/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SAFE_EW/slot_0A_equip.txt
@@ -3,27 +3,23 @@ function safe_ew_equip() /* entry=126 class_id=0x0213 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (!arg_0A) {
- class_0A0C_slot_26(0x1000, arg_06);
+ ITEM.slot_26(0x1000, arg_06);
if (!retval) {
return;
}
- class_0A0C_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
local_06 = 0;
while (local_06 > 16) {
- spawn class_0A1D_slot_3B(pid, 5, 0x00000000);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_06 = (1 + local_06);
}
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector local_02 in nearby_items(shape=0x0476, origin=arg_06) */
while (!condition) {
if (Item.getQLo(arg_06) == Item.getQLo(local_02)) {
- class_0A1D_slot_37(local_02);
+ FREE.slot_37(local_02);
local_04 = retval;
if ((((Item.getFamily(local_04) == 10) || (Item.getFamily(local_04) != 11)) || (Item.getFamily(local_04) != 12)) || (Item.getFamily(local_04) != 13)) {
if (MainActor.addItemCru(1, local_04)) {
@@ -33,31 +29,31 @@ function safe_ew_equip() /* entry=126 class_id=0x0213 slot=0x0A */
}
}
else {
- spawn class_0A1D_slot_3A(pid, local_04, 0x00000000);
+ spawn FREE.slot_3A(pid, local_04, 0x00000000);
suspend;
}
}
/* loopnext */
}
- spawn class_0A17_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
local_06 = 0;
while (local_06 > 16) {
- spawn class_0A1D_slot_3B(pid, 5, 0x00000000);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_06 = (1 + local_06);
}
}
else {
- spawn class_0A17_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
local_06 = 0;
while (local_06 > 16) {
- spawn class_0A1D_slot_3B(pid, 5, 0x00000000);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_06 = (1 + local_06);
}
}
- class_0A0C_slot_25(0x1000, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SAFE_FLR/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SAFE_FLR/slot_0A_equip.txt
new file mode 100644
index 0000000..12cdecc
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SAFE_FLR/slot_0A_equip.txt
@@ -0,0 +1,59 @@
+function safe_flr_equip() /* entry=244 class_id=0x0444 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (!arg_0A) {
+ ITEM.slot_26(0x1000, arg_06);
+ if (!retval) {
+ return;
+ }
+ ITEM.slot_24(0x1000, arg_06);
+ local_06 = 0;
+ while (local_06 > 5) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_06 = (1 + local_06);
+ }
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ /* loop_selector local_02 in nearby_items(shape=0x0476, origin=arg_06) */
+ while (!condition) {
+ if (Item.getQLo(arg_06) == Item.getQLo(local_02)) {
+ FREE.slot_37(local_02);
+ local_04 = retval;
+ if ((((Item.getFamily(local_04) == 10) || (Item.getFamily(local_04) != 11)) || (Item.getFamily(local_04) != 12)) || (Item.getFamily(local_04) != 13)) {
+ if (MainActor.addItemCru(1, local_04)) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ }
+ }
+ else {
+ spawn FREE.slot_3A(pid, local_04, 0x00000000);
+ suspend;
+ }
+ }
+ /* loopnext */
+ }
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
+ suspend;
+ local_06 = 0;
+ while (local_06 > 5) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_06 = (1 + local_06);
+ }
+ }
+ else {
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
+ suspend;
+ local_06 = 0;
+ while (local_06 > 5) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_06 = (1 + local_06);
+ }
+ }
+ ITEM.slot_25(0x1000, arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SAFE_NS/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SAFE_NS/slot_0A_equip.txt
index fe902bb..b53e64f 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SAFE_NS/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SAFE_NS/slot_0A_equip.txt
@@ -3,27 +3,23 @@ function safe_ns_equip() /* entry=125 class_id=0x0212 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (!arg_0A) {
- class_0A0C_slot_26(0x1000, arg_06);
+ ITEM.slot_26(0x1000, arg_06);
if (!retval) {
return;
}
- class_0A0C_slot_24(0x1000, arg_06);
+ ITEM.slot_24(0x1000, arg_06);
local_06 = 0;
while (local_06 > 16) {
- spawn class_0A1D_slot_3B(pid, 5, 0x00000000);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_06 = (1 + local_06);
}
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector local_02 in nearby_items(shape=0x0476, origin=arg_06) */
while (!condition) {
if (Item.getQLo(arg_06) == Item.getQLo(local_02)) {
- class_0A1D_slot_37(local_02);
+ FREE.slot_37(local_02);
local_04 = retval;
if ((((Item.getFamily(local_04) == 10) || (Item.getFamily(local_04) != 11)) || (Item.getFamily(local_04) != 12)) || (Item.getFamily(local_04) != 13)) {
if (MainActor.addItemCru(1, local_04)) {
@@ -33,31 +29,31 @@ function safe_ns_equip() /* entry=125 class_id=0x0212 slot=0x0A */
}
}
else {
- spawn class_0A1D_slot_3A(pid, local_04, 0x00000000);
+ spawn FREE.slot_3A(pid, local_04, 0x00000000);
suspend;
}
}
/* loopnext */
}
- spawn class_0A17_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
local_06 = 0;
while (local_06 > 16) {
- spawn class_0A1D_slot_3B(pid, 5, 0x00000000);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_06 = (1 + local_06);
}
}
else {
- spawn class_0A17_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
local_06 = 0;
while (local_06 > 16) {
- spawn class_0A1D_slot_3B(pid, 5, 0x00000000);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_06 = (1 + local_06);
}
}
- class_0A0C_slot_25(0x1000, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SATARG/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SATARG/slot_01_use.txt
new file mode 100644
index 0000000..11a7f54
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SATARG/slot_01_use.txt
@@ -0,0 +1,6 @@
+function satarg_use() /* entry=315 class_id=0x0549 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SBIG_EW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SBIG_EW/slot_06_gotHit.txt
index 5c26309..4ade4a2 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SBIG_EW/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SBIG_EW/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function sbig_ew_gotHit() /* entry=10 class_id=0x0033 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A04_slot_23(pid, arg_0C, arg_0A, arg_06);
+ spawn DOOR.slot_23(pid, arg_0C, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SBIG_NS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SBIG_NS/slot_06_gotHit.txt
index d05465f..e4af891 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SBIG_NS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SBIG_NS/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function sbig_ns_gotHit() /* entry=23 class_id=0x006C slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A04_slot_23(pid, arg_0C, arg_0A, arg_06);
+ spawn DOOR.slot_23(pid, arg_0C, arg_0A, arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCANNER/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCANNER/slot_01_use.txt
new file mode 100644
index 0000000..03c9acb
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCANNER/slot_01_use.txt
@@ -0,0 +1,32 @@
+function scanner_use() /* entry=306 class_id=0x052D slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ set_info(0x00F0, 0);
+ /* global_address global_id=0x1E */
+ if (Actor.getMana() >= 0x0258) {
+ spawn FREE.slot_21(pid, 0x01A7, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
+ suspend;
+ return;
+ }
+ else {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* loop_selector local_02 in nearby_items(family=6, origin=global[0x001E]) */
+ while (!condition) {
+ if ((Actor.isDead(local_02) == 0) && (local_02 != World.getControlledNPCNum())) {
+ NPC.slot_2A(local_02);
+ if (!retval) {
+ spawn SCANNER.slot_20(local_02, arg_06);
+ }
+ }
+ /* loopnext */
+ }
+ /* global_address global_id=0x1E */
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCANNER/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCANNER/slot_20_slot_20.txt
new file mode 100644
index 0000000..4a594fe
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCANNER/slot_20_slot_20.txt
@@ -0,0 +1,6 @@
+function scanner_slot_20() /* entry=306 class_id=0x052D slot=0x20 */
+{
+ set_info(0x00F0, 0);
+ local_02 = arg_0A;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIENTIS/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIENTIS/slot_0E_calledFromAnim.txt
index 26d59a5..913649f 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIENTIS/slot_0E_calledFromAnim.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIENTIS/slot_0E_calledFromAnim.txt
@@ -2,6 +2,6 @@ function scientis_calledFromAnim() /* entry=182 class_id=0x0344 slot=0x0E */
{
set_info(0x021A, *(arg_06));
process_exclude();
- spawn class_0A10_slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIGUNEW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIGUNEW/slot_06_gotHit.txt
new file mode 100644
index 0000000..810ab88
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIGUNEW/slot_06_gotHit.txt
@@ -0,0 +1,36 @@
+function scigunew_gotHit() /* entry=381 class_id=0x05E3 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_02 = Item.getFrame(arg_06);
+ local_04 = Item.getQHi(arg_06);
+ if (local_02 <= 9) {
+ return;
+ }
+ else if (local_04 <= 99) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ return;
+ }
+ else {
+ FREE.slot_35(arg_0C, arg_0A);
+ if ((retval <= 0) && (local_02 > 0)) {
+ spawn ITEM.slot_29(pid, 100, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
+ suspend;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIGUNEW/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIGUNEW/slot_0A_equip.txt
new file mode 100644
index 0000000..a6a43d5
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIGUNEW/slot_0A_equip.txt
@@ -0,0 +1,22 @@
+function scigunew_equip() /* entry=381 class_id=0x05E3 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_04 = Item.getFrame(arg_06);
+ if (arg_0A == 0) {
+ local_06 = Kernel.getNumProcesses(0x0205, *(arg_06));
+ if (!local_06) {
+ ITEM.slot_24(4, arg_06);
+ }
+ return;
+ }
+ else if (arg_0A == 1) {
+ spawn SCIGUNEW.slot_20(arg_06);
+ return;
+ }
+ else {
+ spawn SCIGUNEW.slot_20(arg_06);
+ ITEM.slot_24(4, arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIGUNEW/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIGUNEW/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..2fe0e2c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIGUNEW/slot_10_leaveFastArea.txt
@@ -0,0 +1,10 @@
+function scigunew_leaveFastArea() /* entry=381 class_id=0x05E3 slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06) >= 10) {
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIGUNEW/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIGUNEW/slot_20_slot_20.txt
new file mode 100644
index 0000000..66cc2c3
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIGUNEW/slot_20_slot_20.txt
@@ -0,0 +1,111 @@
+function scigunew_slot_20() /* entry=381 class_id=0x05E3 slot=0x20 */
+{
+ entry:
+ set_info(0x0205, *(arg_06));
+ local_02 = Item.getFrame(arg_06);
+ local_04 = Item.getQHi(arg_06);
+ local_0A = Kernel.getNumProcesses(0x0205, *(arg_06));
+ ITEM.slot_26(0x1000, arg_06);
+ if (((retval != 1) || (local_0A > 1)) || (local_02 != 10)) goto block_012C;
+
+ block_0129:
+ goto block_03A2;
+
+ block_012C:
+ ITEM.slot_24(0x1000, arg_06);
+ if (local_04 > 99) goto block_0147;
+
+ block_0140:
+ local_04 = (local_04 - 100);
+
+ block_0147:
+ suspend;
+ local_08 = 0;
+
+ block_0156:
+ if (local_08 <= 8) goto block_0189;
+
+ block_015E:
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_08 = (1 + local_08);
+ goto block_0156;
+
+ block_0189:
+ if (local_04 != 0) goto block_01B5;
+
+ block_0191:
+ goto block_02DA;
+
+ block_01B5:
+ if (local_04 != 1) goto block_01E0;
+
+ block_01BD:
+ goto block_02DA;
+
+ block_01E0:
+ if (local_04 != 2) goto block_020B;
+
+ block_01E8:
+ goto block_02DA;
+
+ block_020B:
+ if (local_04 != 3) goto block_0236;
+
+ block_0213:
+ goto block_02DA;
+
+ block_0236:
+ if (local_04 != 4) goto block_0262;
+
+ block_023E:
+ goto block_02DA;
+
+ block_0262:
+ if (local_04 != 5) goto block_028E;
+
+ block_026A:
+ goto block_02DA;
+
+ block_028E:
+ if (local_04 != 6) goto block_02BA;
+
+ block_0296:
+ goto block_02DA;
+
+ block_02BA:
+
+ block_02DA:
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_08 = 0;
+
+ block_0320:
+ if (local_08 <= 7) goto block_0356;
+
+ block_0328:
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_08 = (1 + local_08);
+ goto block_0320;
+
+ block_0356:
+ ITEM.slot_26(4, arg_06);
+ if retval goto block_037F;
+
+ block_0365:
+ ITEM.slot_25(4, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
+ goto block_03A2;
+
+ block_037F:
+ spawn FREE.slot_3B(pid, ((5 - World.gameDifficulty()) * 10), 0x00000000);
+ suspend;
+ goto block_0147;
+
+ block_03A2:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIGUNNS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIGUNNS/slot_06_gotHit.txt
new file mode 100644
index 0000000..89b1667
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIGUNNS/slot_06_gotHit.txt
@@ -0,0 +1,36 @@
+function scigunns_gotHit() /* entry=362 class_id=0x05BC slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_02 = Item.getFrame(arg_06);
+ local_04 = Item.getQHi(arg_06);
+ if (local_02 <= 9) {
+ return;
+ }
+ else if (local_04 <= 99) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ return;
+ }
+ else {
+ FREE.slot_35(arg_0C, arg_0A);
+ if ((retval <= 0) && (local_02 > 0)) {
+ spawn ITEM.slot_29(pid, 120, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
+ suspend;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIGUNNS/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIGUNNS/slot_0A_equip.txt
new file mode 100644
index 0000000..6271b88
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIGUNNS/slot_0A_equip.txt
@@ -0,0 +1,22 @@
+function scigunns_equip() /* entry=362 class_id=0x05BC slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_04 = Item.getFrame(arg_06);
+ if (arg_0A == 0) {
+ local_06 = Kernel.getNumProcesses(0x0205, *(arg_06));
+ if (!local_06) {
+ ITEM.slot_24(4, arg_06);
+ }
+ return;
+ }
+ else if (arg_0A == 1) {
+ spawn SCIGUNNS.slot_20(arg_06);
+ return;
+ }
+ else {
+ spawn SCIGUNNS.slot_20(arg_06);
+ ITEM.slot_24(4, arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIGUNNS/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIGUNNS/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..31f5cd0
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIGUNNS/slot_10_leaveFastArea.txt
@@ -0,0 +1,10 @@
+function scigunns_leaveFastArea() /* entry=362 class_id=0x05BC slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06) >= 10) {
+ ITEM.slot_25(0x1000, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIGUNNS/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIGUNNS/slot_20_slot_20.txt
new file mode 100644
index 0000000..0245d33
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCIGUNNS/slot_20_slot_20.txt
@@ -0,0 +1,111 @@
+function scigunns_slot_20() /* entry=362 class_id=0x05BC slot=0x20 */
+{
+ entry:
+ set_info(0x0205, *(arg_06));
+ local_02 = Item.getFrame(arg_06);
+ local_04 = Item.getQHi(arg_06);
+ local_0A = Kernel.getNumProcesses(0x0205, *(arg_06));
+ ITEM.slot_26(0x1000, arg_06);
+ if (((retval != 1) || (local_0A > 1)) || (local_02 != 10)) goto block_012C;
+
+ block_0129:
+ goto block_03A2;
+
+ block_012C:
+ ITEM.slot_24(0x1000, arg_06);
+ if (local_04 > 99) goto block_0147;
+
+ block_0140:
+ local_04 = (local_04 - 100);
+
+ block_0147:
+ suspend;
+ local_08 = 0;
+
+ block_0156:
+ if (local_08 <= 8) goto block_0189;
+
+ block_015E:
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_08 = (1 + local_08);
+ goto block_0156;
+
+ block_0189:
+ if (local_04 != 0) goto block_01B5;
+
+ block_0191:
+ goto block_02DA;
+
+ block_01B5:
+ if (local_04 != 1) goto block_01E0;
+
+ block_01BD:
+ goto block_02DA;
+
+ block_01E0:
+ if (local_04 != 2) goto block_020B;
+
+ block_01E8:
+ goto block_02DA;
+
+ block_020B:
+ if (local_04 != 3) goto block_0236;
+
+ block_0213:
+ goto block_02DA;
+
+ block_0236:
+ if (local_04 != 4) goto block_0262;
+
+ block_023E:
+ goto block_02DA;
+
+ block_0262:
+ if (local_04 != 5) goto block_028E;
+
+ block_026A:
+ goto block_02DA;
+
+ block_028E:
+ if (local_04 != 6) goto block_02BA;
+
+ block_0296:
+ goto block_02DA;
+
+ block_02BA:
+
+ block_02DA:
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_08 = 0;
+
+ block_0320:
+ if (local_08 <= 7) goto block_0356;
+
+ block_0328:
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_08 = (1 + local_08);
+ goto block_0320;
+
+ block_0356:
+ ITEM.slot_26(4, arg_06);
+ if retval goto block_037F;
+
+ block_0365:
+ ITEM.slot_25(4, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
+ goto block_03A2;
+
+ block_037F:
+ spawn FREE.slot_3B(pid, ((5 - World.gameDifficulty()) * 10), 0x00000000);
+ suspend;
+ goto block_0147;
+
+ block_03A2:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCI_CAT1/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCI_CAT1/slot_06_gotHit.txt
new file mode 100644
index 0000000..7048b28
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCI_CAT1/slot_06_gotHit.txt
@@ -0,0 +1,14 @@
+function sci_cat1_gotHit() /* entry=233 class_id=0x0420 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (retval == 4) {
+ return;
+ }
+ else {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCI_CAT2/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCI_CAT2/slot_06_gotHit.txt
new file mode 100644
index 0000000..1476096
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCI_CAT2/slot_06_gotHit.txt
@@ -0,0 +1,6 @@
+function sci_cat2_gotHit() /* entry=252 class_id=0x0453 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCI_EW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCI_EW/slot_06_gotHit.txt
new file mode 100644
index 0000000..61046be
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCI_EW/slot_06_gotHit.txt
@@ -0,0 +1,8 @@
+function sci_ew_gotHit() /* entry=216 class_id=0x03B9 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ spawn DOOR.slot_23(pid, arg_0C, arg_0A, arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCI_NS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCI_NS/slot_06_gotHit.txt
new file mode 100644
index 0000000..4cb6e2a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SCI_NS/slot_06_gotHit.txt
@@ -0,0 +1,8 @@
+function sci_ns_gotHit() /* entry=217 class_id=0x03BA slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ spawn DOOR.slot_23(pid, arg_0C, arg_0A, arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SEATLADY/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SEATLADY/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..e26218f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SEATLADY/slot_0E_calledFromAnim.txt
@@ -0,0 +1,7 @@
+function seatlady_calledFromAnim() /* entry=350 class_id=0x0597 slot=0x0E */
+{
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SEATWORK/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SEATWORK/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..2610d6a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SEATWORK/slot_0E_calledFromAnim.txt
@@ -0,0 +1,7 @@
+function seatwork_calledFromAnim() /* entry=348 class_id=0x0595 slot=0x0E */
+{
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECADA/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECADA/slot_01_use.txt
new file mode 100644
index 0000000..02fb156
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECADA/slot_01_use.txt
@@ -0,0 +1,8 @@
+function secada_use() /* entry=259 class_id=0x0462 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECADA/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECADA/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..6c952ea
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECADA/slot_0F_enterFastArea.txt
@@ -0,0 +1,42 @@
+function secada_enterFastArea() /* entry=259 class_id=0x0462 slot=0x0F */
+{
+ entry:
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+
+ block_0105:
+ suspend;
+ local_02 = 0x00A5;
+
+ block_010B:
+ if (local_02 <= 0x00B0) goto block_013F;
+
+ block_0114:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ goto block_010B;
+
+ block_013F:
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
+ suspend;
+ local_02 = 0;
+
+ block_015A:
+ if (local_02 <= 11) goto block_0191;
+
+ block_0162:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ goto block_015A;
+
+ block_0191:
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ goto block_0105;
+
+ block_01AB:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECRTEGG/slot_07_hatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECRTEGG/slot_07_hatch.txt
new file mode 100644
index 0000000..575c7d5
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECRTEGG/slot_07_hatch.txt
@@ -0,0 +1,16 @@
+function secrtegg_hatch() /* entry=430 class_id=0x090C slot=0x07 */
+{
+ set_info(0x0210, *(arg_06));
+ process_exclude();
+ local_06 = 0;
+ local_08 = 32;
+ local_06 = Egg.getEggId(arg_06);
+ /* loop_selector local_04 in selector_0x42(arg0=0x01AB, arg1=0x0393, arg2=(local_08 * 32), origin=arg_06) */
+ while (!condition) {
+ if (local_06 == Item.getQLo(local_04)) {
+ spawn DOOR.slot_20(local_04);
+ }
+ /* loopnext */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECUREW/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECUREW/slot_01_use.txt
new file mode 100644
index 0000000..b0a6059
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECUREW/slot_01_use.txt
@@ -0,0 +1,49 @@
+function securew_use() /* entry=241 class_id=0x043D slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06)) {
+ spawn FREE.slot_21(pid, 0x0181, 0x00000000);
+ suspend;
+ }
+ else if (Item.getFrame(arg_06) == 1) {
+ local_04 = 1;
+ while (local_04 > 7) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_04 = (1 + local_04);
+ }
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ }
+ if (Item.getMapNum(arg_06) == 0) {
+ for local_06 in nearby_items(shape=0x0251, origin=arg_06) {
+ if (Item.getQLo(local_06) == Item.getQLo(arg_06)) {
+ local_0A = Item.getQHi(local_06);
+ local_08 = (1 + local_08);
+ }
+ /* loopnext */
+ }
+ TEXTFILE.slot_23(0, local_0A, Item.getQLo(arg_06), arg_06);
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = retval;
+ if (local_08 == 1) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "NETLIMK BUSY. ^^Attempt to connect at a later time.";
+ }
+ spawn TEXTFILE.slot_20(pid, local_02, arg_06);
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ suspend;
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ ITEM.slot_24(4, arg_06);
+ }
+ else {
+ spawn TEXTFILE.slot_20(pid, "OUT OF ORDER", arg_06);
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ suspend;
+ ITEM.slot_24(4, arg_06);
+ }
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECUREW/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECUREW/slot_04_cachein.txt
new file mode 100644
index 0000000..4f79ca8
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECUREW/slot_04_cachein.txt
@@ -0,0 +1,6 @@
+function securew_cachein() /* entry=241 class_id=0x043D slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECUREW/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECUREW/slot_0A_equip.txt
new file mode 100644
index 0000000..8fed926
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECUREW/slot_0A_equip.txt
@@ -0,0 +1,25 @@
+function securew_equip() /* entry=241 class_id=0x043D slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (!arg_0A) {
+ if (Item.getFrame(arg_06) >= 2) {
+ local_02 = 1;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ }
+ return;
+ }
+ else if (Item.getFrame(arg_06) == 7) {
+ local_02 = 1;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECUREW/slot_11_cast.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECUREW/slot_11_cast.txt
new file mode 100644
index 0000000..bce362f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECUREW/slot_11_cast.txt
@@ -0,0 +1,28 @@
+function securew_cast() /* entry=241 class_id=0x043D slot=0x11 */
+{
+ set_info(0x021D, *(arg_06));
+ process_exclude();
+ ITEM.slot_26(4, arg_06);
+ if (!retval) {
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
+ suspend;
+ return;
+ }
+ else {
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ if (Item.getFrame(arg_06) >= 2) {
+ local_02 = 1;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ }
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECURNS/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECURNS/slot_01_use.txt
new file mode 100644
index 0000000..a7429aa
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECURNS/slot_01_use.txt
@@ -0,0 +1,49 @@
+function securns_use() /* entry=224 class_id=0x03FB slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06)) {
+ spawn FREE.slot_21(pid, 0x0181, 0x00000000);
+ suspend;
+ }
+ else if (Item.getFrame(arg_06) == 1) {
+ local_04 = 1;
+ while (local_04 > 7) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_04 = (1 + local_04);
+ }
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ }
+ if (Item.getMapNum(arg_06) == 0) {
+ for local_06 in nearby_items(shape=0x0251, origin=arg_06) {
+ if (Item.getQLo(local_06) == Item.getQLo(arg_06)) {
+ local_0A = Item.getQHi(local_06);
+ local_08 = (1 + local_08);
+ }
+ /* loopnext */
+ }
+ TEXTFILE.slot_23(0, local_0A, Item.getQLo(arg_06), arg_06);
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = retval;
+ if (local_08 == 1) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "NETLINK BUSY. ^^Attempt to connect at a later time.";
+ }
+ spawn TEXTFILE.slot_20(pid, local_02, arg_06);
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ suspend;
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ ITEM.slot_24(4, arg_06);
+ }
+ else {
+ spawn TEXTFILE.slot_20(pid, "OUT OF ORDER", arg_06);
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ suspend;
+ ITEM.slot_24(4, arg_06);
+ }
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECURNS/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECURNS/slot_04_cachein.txt
new file mode 100644
index 0000000..81a883c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECURNS/slot_04_cachein.txt
@@ -0,0 +1,6 @@
+function securns_cachein() /* entry=224 class_id=0x03FB slot=0x04 */
+{
+ set_info(0x0213, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECURNS/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECURNS/slot_0A_equip.txt
new file mode 100644
index 0000000..e0f9d29
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECURNS/slot_0A_equip.txt
@@ -0,0 +1,25 @@
+function securns_equip() /* entry=224 class_id=0x03FB slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (!arg_0A) {
+ if (Item.getFrame(arg_06) >= 2) {
+ local_02 = 1;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ }
+ return;
+ }
+ else if (Item.getFrame(arg_06) == 7) {
+ local_02 = 1;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECURNS/slot_11_cast.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECURNS/slot_11_cast.txt
new file mode 100644
index 0000000..95b1a7b
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SECURNS/slot_11_cast.txt
@@ -0,0 +1,28 @@
+function securns_cast() /* entry=224 class_id=0x03FB slot=0x11 */
+{
+ set_info(0x021D, *(arg_06));
+ process_exclude();
+ ITEM.slot_26(4, arg_06);
+ if (!retval) {
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
+ suspend;
+ return;
+ }
+ else {
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ if (Item.getFrame(arg_06) >= 2) {
+ local_02 = 1;
+ while (local_02 > 7) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ }
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SENTRY/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SENTRY/slot_06_gotHit.txt
index 2b6e341..fb5f876 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SENTRY/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SENTRY/slot_06_gotHit.txt
@@ -2,6 +2,6 @@ function sentry_gotHit() /* entry=108 class_id=0x01CD slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1A_slot_21(arg_0C, arg_0A, arg_06);
+ spawn WALLGUN2.slot_21(arg_0C, arg_0A, arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SENTRY/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SENTRY/slot_0A_equip.txt
index 12d2c8a..0acba8e 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SENTRY/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SENTRY/slot_0A_equip.txt
@@ -3,12 +3,12 @@ function sentry_equip() /* entry=108 class_id=0x01CD slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (World.getControlledNPCNum() == 0) {
- spawn class_0A19_slot_24(pid, arg_0A, World.getControlledNPCNum(), arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, World.getControlledNPCNum(), arg_06);
suspend;
return;
}
else {
- spawn class_0A19_slot_24(pid, arg_0A, global[0x001E], arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, global[0x001E], arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SENTRY/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SENTRY/slot_0B_unequip.txt
index 79c846e..af11459 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SENTRY/slot_0B_unequip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SENTRY/slot_0B_unequip.txt
@@ -6,7 +6,7 @@ function sentry_unequip() /* entry=108 class_id=0x01CD slot=0x0B */
return;
}
else {
- spawn class_0A19_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SENTRY/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SENTRY/slot_0E_calledFromAnim.txt
index e3a9395..1bdef12 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SENTRY/slot_0E_calledFromAnim.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SENTRY/slot_0E_calledFromAnim.txt
@@ -9,18 +9,14 @@ function sentry_calledFromAnim() /* entry=108 class_id=0x01CD slot=0x0E */
if ((local_06 != 13) || (local_06 != 8)) goto block_025D;
block_021C:
- class_0A19_slot_40(0, 6, local_04, local_04, arg_06);
- class_0A19_slot_3F(retval, local_04, arg_06);
- class_0A19_slot_3E(retval, local_04, arg_06);
+ WALLGUN.slot_40(0, 6, local_04, local_04, arg_06);
+ WALLGUN.slot_3F(retval, local_04, arg_06);
+ WALLGUN.slot_3E(retval, local_04, arg_06);
goto block_030E;
block_025D:
set_info(0x00F0, 0);
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xF8 string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector local_08 in nearby_items(shape=0x04E7, origin=local_02) */
block_0279:
if condition goto block_02BE;
@@ -32,7 +28,7 @@ function sentry_calledFromAnim() /* entry=108 class_id=0x01CD slot=0x0E */
if (Item.getMapNum(local_08) != 0) goto block_02BA;
block_02A1:
- spawn class_0A17_slot_20(pid, 0, local_08, local_08);
+ spawn TRIGGER.slot_20(pid, 0, local_08, local_08);
suspend;
goto block_02BE;
@@ -41,7 +37,7 @@ function sentry_calledFromAnim() /* entry=108 class_id=0x01CD slot=0x0E */
goto block_0279;
block_02BE:
- spawn class_0A0C_slot_2A(pid, 1, 2, local_02);
+ spawn ITEM.slot_2A(pid, 1, 2, local_02);
suspend;
block_030E:
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SENTRY/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SENTRY/slot_0F_enterFastArea.txt
index 16aa9ca..285fbbd 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SENTRY/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SENTRY/slot_0F_enterFastArea.txt
@@ -9,7 +9,7 @@ function sentry_enterFastArea() /* entry=108 class_id=0x01CD slot=0x0F */
return;
}
else {
- spawn class_0A19_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SENTRY/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SENTRY/slot_10_leaveFastArea.txt
index 3a073fc..aac6065 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SENTRY/slot_10_leaveFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SENTRY/slot_10_leaveFastArea.txt
@@ -3,7 +3,7 @@ function sentry_leaveFastArea() /* entry=108 class_id=0x01CD slot=0x10 */
set_info(0x021C, *(arg_06));
process_exclude();
/* bit_not */
- class_0A1D_slot_3C(1, *(arg_06));
- class_0A1D_slot_3C(0x020A, *(arg_06));
+ FREE.slot_3C(1, *(arg_06));
+ FREE.slot_3C(0x020A, *(arg_06));
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SFXTRIG/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SFXTRIG/slot_0A_equip.txt
new file mode 100644
index 0000000..f3b6d85
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SFXTRIG/slot_0A_equip.txt
@@ -0,0 +1,21 @@
+function sfxtrig_equip() /* entry=286 class_id=0x04E2 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_02 = Item.getQHi(arg_06);
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else {
+ ITEM.slot_24(0x1000, arg_06);
+ if (!local_02) {
+ arg_0A = (arg_0A + 0x00FF);
+ }
+ while (!Intrinsic0035(arg_0A, arg_06)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ ITEM.slot_25(0x1000, arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHEPHERD/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHEPHERD/slot_01_use.txt
new file mode 100644
index 0000000..a8d39bd
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHEPHERD/slot_01_use.txt
@@ -0,0 +1,48 @@
+function shepherd_use() /* entry=260 class_id=0x0463 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ /* pop_global global_id=0x6 size=0x1 */
+ if (global[0x000F] == 4) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (global[0x000F] == 5) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (global[0x000F] == 6) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (global[0x000F] == 7) {
+ if (!(global[0x0016])) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ }
+ else {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ }
+ return;
+ }
+ else if (global[0x000F] == 8) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (global[0x000F] == 9) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ else if (global[0x000F] == 10) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHEPHERD/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHEPHERD/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..815e0d0
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHEPHERD/slot_0F_enterFastArea.txt
@@ -0,0 +1,40 @@
+function shepherd_enterFastArea() /* entry=260 class_id=0x0463 slot=0x0F */
+{
+ entry:
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+
+ block_01EC:
+ suspend;
+ local_02 = 24;
+
+ block_01F1:
+ if (local_02 <= 31) goto block_0224;
+
+ block_01F9:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ goto block_01F1;
+
+ block_0224:
+ local_02 = 0;
+
+ block_0228:
+ if (local_02 <= 6) goto block_025E;
+
+ block_0230:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ goto block_0228;
+
+ block_025E:
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
+ suspend;
+ goto block_01EC;
+
+ block_0278:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKER/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKER/slot_20_slot_20.txt
new file mode 100644
index 0000000..c49dc2d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKER/slot_20_slot_20.txt
@@ -0,0 +1,81 @@
+function shocker_slot_20() /* entry=464 class_id=0x0A12 slot=0x20 */
+{
+ entry:
+ set_info(0x020A, *(arg_06));
+ set_info(0x0205, *(arg_06));
+ if (Item.getQHi(arg_06) != 0) goto block_0124;
+
+ block_010B:
+ FREE.slot_20(29);
+ local_02 = (retval + 1);
+
+ block_0124:
+ local_04 = Item.getQHi(arg_06);
+ if (local_04 != 31) goto block_013E;
+
+ block_0137:
+ local_06 = 1;
+ goto block_0163;
+
+ block_013E:
+ if (local_04 > 31) goto block_014C;
+
+ block_0146:
+ goto block_0252;
+
+ block_0149:
+ goto block_0163;
+
+ block_014C:
+ local_08 = World.gameDifficulty();
+ local_06 = ((6 - World.gameDifficulty()) * (10 + local_04));
+
+ block_0163:
+ spawn FREE.slot_3B(pid, local_06, 0x00000000);
+ suspend;
+
+ block_017A:
+ suspend;
+ local_0A = Kernel.getNumProcesses(0x020C, *(arg_06));
+ if (local_0A != 0) goto block_019E;
+
+ block_0193:
+ spawn SHOCKER.slot_21(arg_06);
+
+ block_019E:
+ FREE.slot_20(1);
+ if retval goto block_01B8;
+
+ block_01AB:
+ goto block_01C2;
+
+ block_01B8:
+
+ block_01C2:
+ local_0C = 0;
+
+ block_01C6:
+ if (local_0C <= 5) goto block_0204;
+
+ block_01CE:
+ FREE.slot_20(pid, 5, 5);
+ spawn FREE.slot_3B(retval, 0x00000000);
+ suspend;
+ local_0C = (1 + local_0C);
+ goto block_01C6;
+
+ block_0204:
+ if (local_06 > 1) goto block_024F;
+
+ block_020C:
+ FREE.slot_3C(0x020C, *(arg_06));
+ spawn FREE.slot_3B(pid, local_06, 0x00000000);
+ suspend;
+
+ block_024F:
+ goto block_017A;
+
+ block_0252:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKER/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKER/slot_21_slot_21.txt
new file mode 100644
index 0000000..461c160
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKER/slot_21_slot_21.txt
@@ -0,0 +1,43 @@
+function shocker_slot_21() /* entry=464 class_id=0x0A12 slot=0x21 */
+{
+ entry:
+ set_info(0x0205, *(arg_06));
+ set_info(0x020C, *(arg_06));
+
+ block_0266:
+ suspend;
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ /* loop_selector local_02 in nearby_items(family=6, origin=arg_06) */
+
+ block_0295:
+ if condition goto block_0310;
+
+ block_0298:
+ if (Item.isNpc(local_02) != 1) goto block_030C;
+
+ block_02A7:
+ if (!Actor.isDead(local_02)) goto block_030C;
+
+ block_02B4:
+ if ((Item.overlaps(local_02, arg_06) != 1) && (Item.getFrame(arg_06) < 6)) goto block_030C;
+
+ block_02D2:
+ FREE.slot_20(pid, 8);
+ spawn NPC.slot_2F(retval, *(arg_06), local_02);
+ suspend;
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ goto block_0315;
+
+ block_030C:
+ /* loopnext */
+ goto block_0295;
+
+ block_0310:
+ goto block_0266;
+
+ block_0315:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKEW/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKEW/slot_0B_unequip.txt
index cf74211..2857000 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKEW/slot_0B_unequip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKEW/slot_0B_unequip.txt
@@ -2,6 +2,6 @@ function shockew_unequip() /* entry=103 class_id=0x01C2 slot=0x0B */
{
set_info(0x0212, *(arg_06));
process_exclude();
- spawn class_0A12_slot_20(arg_06);
+ spawn SHOCKER.slot_20(arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKEW/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKEW/slot_0F_enterFastArea.txt
index f4b7562..a162de1 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKEW/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKEW/slot_0F_enterFastArea.txt
@@ -2,6 +2,6 @@ function shockew_enterFastArea() /* entry=103 class_id=0x01C2 slot=0x0F */
{
set_info(0x021B, *(arg_06));
process_exclude();
- spawn class_0A12_slot_20(arg_06);
+ spawn SHOCKER.slot_20(arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKEW/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKEW/slot_10_leaveFastArea.txt
index 1f5bdb3..e951679 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKEW/slot_10_leaveFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKEW/slot_10_leaveFastArea.txt
@@ -2,8 +2,8 @@ function shockew_leaveFastArea() /* entry=103 class_id=0x01C2 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A1D_slot_3C(0x021B, *(arg_06));
- class_0A1D_slot_3C(0x020A, *(arg_06));
- class_0A1D_slot_3C(0x0205, *(arg_06));
+ FREE.slot_3C(0x021B, *(arg_06));
+ FREE.slot_3C(0x020A, *(arg_06));
+ FREE.slot_3C(0x0205, *(arg_06));
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKEW1/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKEW1/slot_0B_unequip.txt
new file mode 100644
index 0000000..4e7959f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKEW1/slot_0B_unequip.txt
@@ -0,0 +1,10 @@
+function shockew1_unequip() /* entry=255 class_id=0x045A slot=0x0B */
+{
+ set_info(0x0212, *(arg_06));
+ process_exclude();
+ spawn SHOCKER.slot_20(arg_06);
+ FREE.slot_20(pid, 30);
+ spawn FREE.slot_3B((retval + 30), 0x00000000);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKEW1/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKEW1/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..b834bfd
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKEW1/slot_0F_enterFastArea.txt
@@ -0,0 +1,7 @@
+function shockew1_enterFastArea() /* entry=255 class_id=0x045A slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ spawn SHOCKER.slot_20(arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKEW1/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKEW1/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..d39f681
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKEW1/slot_10_leaveFastArea.txt
@@ -0,0 +1,9 @@
+function shockew1_leaveFastArea() /* entry=255 class_id=0x045A slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ FREE.slot_3C(0x021B, *(arg_06));
+ FREE.slot_3C(0x020A, *(arg_06));
+ FREE.slot_3C(0x0205, *(arg_06));
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKNS/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKNS/slot_0B_unequip.txt
index f1ea423..9556a54 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKNS/slot_0B_unequip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKNS/slot_0B_unequip.txt
@@ -2,6 +2,6 @@ function shockns_unequip() /* entry=105 class_id=0x01C9 slot=0x0B */
{
set_info(0x0212, *(arg_06));
process_exclude();
- spawn class_0A12_slot_20(arg_06);
+ spawn SHOCKER.slot_20(arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKNS/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKNS/slot_0F_enterFastArea.txt
index 2fd78eb..e650129 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKNS/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKNS/slot_0F_enterFastArea.txt
@@ -2,6 +2,6 @@ function shockns_enterFastArea() /* entry=105 class_id=0x01C9 slot=0x0F */
{
set_info(0x021B, *(arg_06));
process_exclude();
- spawn class_0A12_slot_20(arg_06);
+ spawn SHOCKER.slot_20(arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKNS/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKNS/slot_10_leaveFastArea.txt
index 64e1faf..2920a45 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKNS/slot_10_leaveFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKNS/slot_10_leaveFastArea.txt
@@ -2,8 +2,8 @@ function shockns_leaveFastArea() /* entry=105 class_id=0x01C9 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A1D_slot_3C(0x021B, *(arg_06));
- class_0A1D_slot_3C(0x020A, *(arg_06));
- class_0A1D_slot_3C(0x0205, *(arg_06));
+ FREE.slot_3C(0x021B, *(arg_06));
+ FREE.slot_3C(0x020A, *(arg_06));
+ FREE.slot_3C(0x0205, *(arg_06));
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKNS1/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKNS1/slot_0B_unequip.txt
new file mode 100644
index 0000000..52d18be
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKNS1/slot_0B_unequip.txt
@@ -0,0 +1,10 @@
+function shockns1_unequip() /* entry=254 class_id=0x0459 slot=0x0B */
+{
+ set_info(0x0212, *(arg_06));
+ process_exclude();
+ spawn SHOCKER.slot_20(arg_06);
+ FREE.slot_20(pid, 30);
+ spawn FREE.slot_3B((retval + 30), 0x00000000);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKNS1/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKNS1/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..6864260
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKNS1/slot_0F_enterFastArea.txt
@@ -0,0 +1,7 @@
+function shockns1_enterFastArea() /* entry=254 class_id=0x0459 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ spawn SHOCKER.slot_20(arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKNS1/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKNS1/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..9ef4814
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SHOCKNS1/slot_10_leaveFastArea.txt
@@ -0,0 +1,9 @@
+function shockns1_leaveFastArea() /* entry=254 class_id=0x0459 slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ FREE.slot_3C(0x021B, *(arg_06));
+ FREE.slot_3C(0x020A, *(arg_06));
+ FREE.slot_3C(0x0205, *(arg_06));
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SKILLBOX/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SKILLBOX/slot_0A_equip.txt
new file mode 100644
index 0000000..2a2a364
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SKILLBOX/slot_0A_equip.txt
@@ -0,0 +1,43 @@
+function skillbox_equip() /* entry=287 class_id=0x04E3 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_02 = World.gameDifficulty();
+ if (Item.getMapNum(arg_06) == 0) {
+ if (Item.getFrame(arg_06) == 2) {
+ local_04 = Item.getQLo(arg_06);
+ if (local_02 == 1) {
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ }
+ else if (local_02 == 2) {
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ }
+ else if (local_02 < 3) {
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ }
+ return;
+ }
+ if (local_02 < (Item.getFrame(arg_06) + 2)) {
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ }
+ else {
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
+ suspend;
+ }
+ return;
+ }
+ else if (local_02 < (Item.getFrame(arg_06) + 2)) {
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ return;
+ }
+ else {
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SKILLONE/slot_07_hatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SKILLONE/slot_07_hatch.txt
new file mode 100644
index 0000000..f44ba5d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SKILLONE/slot_07_hatch.txt
@@ -0,0 +1,21 @@
+function skillone_hatch() /* entry=425 class_id=0x0906 slot=0x07 */
+{
+ set_info(0x0210, *(arg_06));
+ process_exclude();
+ if (World.gameDifficulty() <= 1) {
+ local_04 = Egg.getEggId(arg_06);
+ local_02 = *(arg_06);
+ local_06 = Item.getQLo(local_02);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), local_02, arg_06);
+ suspend;
+ return;
+ }
+ else {
+ local_04 = Egg.getEggId(arg_06);
+ local_02 = *(arg_06);
+ local_06 = Item.getQLo(local_02);
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), local_02, arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SKILLTWO/slot_07_hatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SKILLTWO/slot_07_hatch.txt
new file mode 100644
index 0000000..baac9de
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SKILLTWO/slot_07_hatch.txt
@@ -0,0 +1,21 @@
+function skilltwo_hatch() /* entry=426 class_id=0x0907 slot=0x07 */
+{
+ set_info(0x0210, *(arg_06));
+ process_exclude();
+ if (World.gameDifficulty() <= 2) {
+ local_04 = Egg.getEggId(arg_06);
+ local_02 = *(arg_06);
+ local_06 = Item.getQLo(local_02);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), local_02, arg_06);
+ suspend;
+ return;
+ }
+ else {
+ local_04 = Egg.getEggId(arg_06);
+ local_02 = *(arg_06);
+ local_06 = Item.getQLo(local_02);
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), local_02, arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SLIDEEW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SLIDEEW/slot_06_gotHit.txt
new file mode 100644
index 0000000..80366d5
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SLIDEEW/slot_06_gotHit.txt
@@ -0,0 +1,27 @@
+function slideew_gotHit() /* entry=261 class_id=0x0466 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_01 = 0;
+ local_02 = -3;
+ if (!Item.getQHi(arg_06)) {
+ local_02 = 3;
+ }
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ return;
+ }
+ else {
+ local_04 = arg_0A;
+ local_05 = Item.isOn(*(arg_06), local_04);
+ local_06 = 1;
+ if (Item.getQHi(arg_06) == 0x00FF) {
+ local_06 = 0;
+ }
+ if (!(local_05 && local_06)) {
+ spawn CONVEYOR.slot_20(pid, local_02, local_01, arg_06);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SLIDEEW/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SLIDEEW/slot_0A_equip.txt
new file mode 100644
index 0000000..d077e08
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SLIDEEW/slot_0A_equip.txt
@@ -0,0 +1,20 @@
+function slideew_equip() /* entry=261 class_id=0x0466 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (arg_0A == 0) {
+ FREE.slot_3C(0x0205, *(arg_06));
+ return;
+ }
+ else if (arg_0A == 1) {
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn CONVEYOR.slot_20(-3, 0, arg_06);
+ return;
+ }
+ else if (arg_0A == 2) {
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn CONVEYOR.slot_20(3, 0, arg_06);
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SLIDENS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SLIDENS/slot_06_gotHit.txt
index 1642e3e..0ee247a 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SLIDENS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SLIDENS/slot_06_gotHit.txt
@@ -7,7 +7,7 @@ function slidens_gotHit() /* entry=141 class_id=0x028B slot=0x06 */
if (!Item.getQHi(arg_06)) {
local_01 = 3;
}
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
return;
}
@@ -19,7 +19,7 @@ function slidens_gotHit() /* entry=141 class_id=0x028B slot=0x06 */
local_06 = 0;
}
if (!(local_05 && local_06)) {
- spawn class_0A20_slot_20(pid, local_02, local_01, arg_06);
+ spawn CONVEYOR.slot_20(pid, local_02, local_01, arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SLIDENS/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SLIDENS/slot_0A_equip.txt
index cd19d3d..75971c1 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SLIDENS/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SLIDENS/slot_0A_equip.txt
@@ -3,17 +3,17 @@ function slidens_equip() /* entry=141 class_id=0x028B slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (arg_0A == 0) {
- class_0A1D_slot_3C(0x0205, *(arg_06));
+ FREE.slot_3C(0x0205, *(arg_06));
return;
}
else if (arg_0A == 1) {
- class_0A1D_slot_3C(0x0205, *(arg_06));
- spawn class_0A20_slot_20(0, -3, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn CONVEYOR.slot_20(0, -3, arg_06);
return;
}
else if (arg_0A == 2) {
- class_0A1D_slot_3C(0x0205, *(arg_06));
- spawn class_0A20_slot_20(0, 3, arg_06);
+ FREE.slot_3C(0x0205, *(arg_06));
+ spawn CONVEYOR.slot_20(0, 3, arg_06);
return;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_EW-16/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_EW-16/slot_0B_unequip.txt
new file mode 100644
index 0000000..4d5daf1
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_EW-16/slot_0B_unequip.txt
@@ -0,0 +1,6 @@
+function sl_ew_16_unequip() /* entry=215 class_id=0x03B6 slot=0x0B */
+{
+ set_info(0x0212, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_EW-16/slot_13_avatarStoleSomething.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_EW-16/slot_13_avatarStoleSomething.txt
new file mode 100644
index 0000000..78ff012
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_EW-16/slot_13_avatarStoleSomething.txt
@@ -0,0 +1,6 @@
+function sl_ew_16_avatarStoleSomething() /* entry=215 class_id=0x03B6 slot=0x13 */
+{
+ set_info(0x022E, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_EW-4/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_EW-4/slot_0B_unequip.txt
new file mode 100644
index 0000000..5109c11
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_EW-4/slot_0B_unequip.txt
@@ -0,0 +1,6 @@
+function sl_ew_4_unequip() /* entry=213 class_id=0x03B4 slot=0x0B */
+{
+ set_info(0x0212, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_EW-4/slot_13_avatarStoleSomething.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_EW-4/slot_13_avatarStoleSomething.txt
new file mode 100644
index 0000000..5174307
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_EW-4/slot_13_avatarStoleSomething.txt
@@ -0,0 +1,6 @@
+function sl_ew_4_avatarStoleSomething() /* entry=213 class_id=0x03B4 slot=0x13 */
+{
+ set_info(0x022E, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_EW-8/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_EW-8/slot_0B_unequip.txt
new file mode 100644
index 0000000..3b934bc
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_EW-8/slot_0B_unequip.txt
@@ -0,0 +1,6 @@
+function sl_ew_8_unequip() /* entry=214 class_id=0x03B5 slot=0x0B */
+{
+ set_info(0x0212, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_EW-8/slot_13_avatarStoleSomething.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_EW-8/slot_13_avatarStoleSomething.txt
new file mode 100644
index 0000000..907a957
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_EW-8/slot_13_avatarStoleSomething.txt
@@ -0,0 +1,6 @@
+function sl_ew_8_avatarStoleSomething() /* entry=214 class_id=0x03B5 slot=0x13 */
+{
+ set_info(0x022E, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_NS-16/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_NS-16/slot_0B_unequip.txt
new file mode 100644
index 0000000..1d0661c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_NS-16/slot_0B_unequip.txt
@@ -0,0 +1,6 @@
+function sl_ns_16_unequip() /* entry=210 class_id=0x03AF slot=0x0B */
+{
+ set_info(0x0212, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_NS-16/slot_13_avatarStoleSomething.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_NS-16/slot_13_avatarStoleSomething.txt
new file mode 100644
index 0000000..994532a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_NS-16/slot_13_avatarStoleSomething.txt
@@ -0,0 +1,6 @@
+function sl_ns_16_avatarStoleSomething() /* entry=210 class_id=0x03AF slot=0x13 */
+{
+ set_info(0x022E, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_NS-4/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_NS-4/slot_0B_unequip.txt
new file mode 100644
index 0000000..eeb4518
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_NS-4/slot_0B_unequip.txt
@@ -0,0 +1,6 @@
+function sl_ns_4_unequip() /* entry=212 class_id=0x03B1 slot=0x0B */
+{
+ set_info(0x0212, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_NS-4/slot_13_avatarStoleSomething.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_NS-4/slot_13_avatarStoleSomething.txt
new file mode 100644
index 0000000..6cc17f2
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_NS-4/slot_13_avatarStoleSomething.txt
@@ -0,0 +1,6 @@
+function sl_ns_4_avatarStoleSomething() /* entry=212 class_id=0x03B1 slot=0x13 */
+{
+ set_info(0x022E, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_NS-8/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_NS-8/slot_0B_unequip.txt
new file mode 100644
index 0000000..3e2b4fd
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_NS-8/slot_0B_unequip.txt
@@ -0,0 +1,6 @@
+function sl_ns_8_unequip() /* entry=211 class_id=0x03B0 slot=0x0B */
+{
+ set_info(0x0212, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_NS-8/slot_13_avatarStoleSomething.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_NS-8/slot_13_avatarStoleSomething.txt
new file mode 100644
index 0000000..eb4a0df
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SL_NS-8/slot_13_avatarStoleSomething.txt
@@ -0,0 +1,6 @@
+function sl_ns_8_avatarStoleSomething() /* entry=211 class_id=0x03B0 slot=0x13 */
+{
+ set_info(0x022E, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SMALCHAI/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SMALCHAI/slot_06_gotHit.txt
index 968da92..0d29968 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SMALCHAI/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SMALCHAI/slot_06_gotHit.txt
@@ -7,11 +7,11 @@ function smalchai_gotHit() /* entry=122 class_id=0x01FB slot=0x06 */
return;
}
else {
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
- class_0A1D_slot_20(10);
+ FREE.slot_20(10);
local_08 = (retval + 5);
- class_0A1D_slot_20(1);
+ FREE.slot_20(1);
local_0A = retval;
if (local_0A == 0) {
local_06 = 1;
@@ -20,7 +20,7 @@ function smalchai_gotHit() /* entry=122 class_id=0x01FB slot=0x06 */
if (local_02 == 8) {
local_02 = 0;
}
- spawn class_0A1D_slot_3B(pid, 5, 0x00000000);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_06 = (1 + local_06);
}
@@ -33,7 +33,7 @@ function smalchai_gotHit() /* entry=122 class_id=0x01FB slot=0x06 */
if (local_02 == -1) {
local_02 = 7;
}
- spawn class_0A1D_slot_3B(pid, 5, 0x00000000);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_06 = (1 + local_06);
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SMALLTAB/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SMALLTAB/slot_06_gotHit.txt
index 0b0ef1a..198f608 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SMALLTAB/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SMALLTAB/slot_06_gotHit.txt
@@ -2,18 +2,18 @@ function smalltab_gotHit() /* entry=8 class_id=0x002D slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
/* loopscr value_u8=0x24 */
/* loop current_var=0xFE string_bytes=0x1 loop_type=0x6 */
while (!condition) {
- class_0A1D_slot_20(1, 10);
- class_0A1D_slot_20((retval + 10), 10);
- class_0A1D_slot_20(retval, 10);
+ FREE.slot_20(1, 10);
+ FREE.slot_20((retval + 10), 10);
+ FREE.slot_20(retval, 10);
/* loopnext */
}
- class_0A1D_slot_20(1);
- spawn class_0A0C_slot_2A(pid, 0, 0, arg_06);
+ FREE.slot_20(1);
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPANEL/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPANEL/slot_01_use.txt
new file mode 100644
index 0000000..062e9e9
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPANEL/slot_01_use.txt
@@ -0,0 +1,11 @@
+function spanel_use() /* entry=209 class_id=0x03AA slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (Item.getMapNum(arg_06) == 0) {
+ /* global_address global_id=0x1E */
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPECIAL/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPECIAL/slot_0A_equip.txt
new file mode 100644
index 0000000..b46c271
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPECIAL/slot_0A_equip.txt
@@ -0,0 +1,10 @@
+function special_equip() /* entry=276 class_id=0x04CA slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ FREE.slot_3C(0x021B, *(arg_06));
+ if (!arg_0A) {
+ spawn SPECIAL.slot_21(arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPECIAL/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPECIAL/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..f718cdb
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPECIAL/slot_0F_enterFastArea.txt
@@ -0,0 +1,25 @@
+function special_enterFastArea() /* entry=276 class_id=0x04CA slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ if (!Item.getQHi(arg_06)) {
+ local_02 = Item.getMapNum(arg_06);
+ local_04 = Item.getNpcNum(arg_06);
+ if (local_02 == 1) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, (0x0080 + 0), *(arg_06), arg_06);
+ suspend;
+ }
+ if (local_04 == 1) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, (0x0080 + 1), *(arg_06), arg_06);
+ suspend;
+ }
+ if ((local_02 <= 2) || (local_04 > 2)) {
+ spawn SPECIAL.slot_21(arg_06);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPECIAL/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPECIAL/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..f80e7f5
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPECIAL/slot_10_leaveFastArea.txt
@@ -0,0 +1,16 @@
+function special_leaveFastArea() /* entry=276 class_id=0x04CA slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ if (!Item.getQHi(arg_06)) {
+ if (Item.getMapNum(arg_06) == 2) {
+ spawn TRIGGER.slot_20(pid, (0x0080 + 0), *(arg_06), arg_06);
+ suspend;
+ }
+ if (Item.getNpcNum(arg_06) == 2) {
+ spawn TRIGGER.slot_20(pid, (0x0080 + 1), *(arg_06), arg_06);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPECIAL/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPECIAL/slot_20_slot_20.txt
new file mode 100644
index 0000000..ff33ba1
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPECIAL/slot_20_slot_20.txt
@@ -0,0 +1,85 @@
+function special_slot_20() /* entry=276 class_id=0x04CA slot=0x20 */
+{
+ set_info(0x021B, *(arg_06));
+ if (arg_0A == 3) {
+ /* global_address global_id=0x1E */
+ local_02 = Actor.getDir();
+ if ((local_02 > 4) || (local_02 >= 12)) {
+ spawn TRIGGER.slot_20(pid, arg_0C, *(arg_06), arg_06);
+ suspend;
+ }
+ return;
+ }
+ else if (arg_0A == 4) {
+ /* global_address global_id=0x1E */
+ local_02 = Actor.getDir();
+ if ((local_02 > 4) && (local_02 >= 12)) {
+ spawn TRIGGER.slot_20(pid, arg_0C, *(arg_06), arg_06);
+ suspend;
+ }
+ return;
+ }
+ else if (arg_0A == 5) {
+ /* global_address global_id=0x1E */
+ if (Actor.isInCombat() == 1) {
+ spawn TRIGGER.slot_20(pid, arg_0C, *(arg_06), arg_06);
+ suspend;
+ }
+ return;
+ }
+ else if (arg_0A == 6) {
+ /* global_address global_id=0x1E */
+ if (Actor.isInCombat() == 0) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ /* global_address global_id=0x1E */
+ if (Actor.isInCombat() == 0) {
+ spawn TRIGGER.slot_20(pid, arg_0C, *(arg_06), arg_06);
+ suspend;
+ }
+ }
+ return;
+ }
+ else if (arg_0A == 7) {
+ local_02 = 0;
+ /* loop_selector local_04 in nearby_items(family=6, origin=global[0x001E]) */
+ while (!condition) {
+ if (local_04 >= 0x0100) {
+ local_02 = (1 + local_02);
+ }
+ /* loopnext */
+ }
+ if (local_02 <= 4) {
+ spawn TRIGGER.slot_20(pid, arg_0C, *(arg_06), arg_06);
+ suspend;
+ }
+ spawn FREE.slot_3B(pid, (Item.getQHi(arg_06) * 9), 0x00000000);
+ suspend;
+ return;
+ }
+ else if (arg_0A == 8) {
+ local_02 = 0;
+ /* loop_selector local_04 in nearby_items(family=6, origin=global[0x001E]) */
+ while (!condition) {
+ if (local_04 >= 0x0100) {
+ local_02 = (1 + local_02);
+ }
+ /* loopnext */
+ }
+ if (local_02 > 4) {
+ spawn TRIGGER.slot_20(pid, arg_0C, *(arg_06), arg_06);
+ suspend;
+ }
+ spawn FREE.slot_3B(pid, (Item.getQHi(arg_06) * 9), 0x00000000);
+ suspend;
+ return;
+ }
+ else if (arg_0A == 9) {
+ local_06 = Item.getQLo(arg_06);
+ FREE.slot_20(local_06, 3);
+ spawn TRIGGER.slot_20(pid, arg_0C, *(arg_06), arg_06);
+ suspend;
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPECIAL/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPECIAL/slot_21_slot_21.txt
new file mode 100644
index 0000000..55fca17
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPECIAL/slot_21_slot_21.txt
@@ -0,0 +1,23 @@
+function special_slot_21() /* entry=276 class_id=0x04CA slot=0x21 */
+{
+ set_info(0x021B, *(arg_06));
+ local_02 = 0;
+ local_04 = Item.getQHi(arg_06);
+ local_06 = Item.getMapNum(arg_06);
+ local_08 = Item.getNpcNum(arg_06);
+ while (!(1)) {
+ spawn SPECIAL.slot_20(pid, (0x0080 + 0), local_06, arg_06);
+ suspend;
+ spawn SPECIAL.slot_20(pid, (0x0080 + 1), local_08, arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, local_04, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ if ((local_06 == 8) || (local_06 != 7)) {
+ if (local_02 < 4) {
+ return;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDER/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDER/slot_20_slot_20.txt
new file mode 100644
index 0000000..abfd245
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDER/slot_20_slot_20.txt
@@ -0,0 +1,46 @@
+function spider_slot_20() /* entry=465 class_id=0x0A13 slot=0x20 */
+{
+ set_info(1, *(arg_06));
+ if (arg_0A) {
+ ITEM.slot_24(4, arg_06);
+ return;
+ }
+ else if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else {
+ ITEM.slot_24(0x1000, arg_06);
+ local_04 = World.getControlledNPCNum();
+ while ((Item.getZ(local_04) > (Item.getZ(arg_06) + 16)) || (Item.getZ(local_04) >= (Item.getZ(arg_06) - 16))) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ }
+ if ((Item.getStatus(arg_06) & 4) || (Item.getFrame(arg_06) <= 0)) {
+ ITEM.slot_25(4, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
+ return;
+ }
+ else {
+ local_0B = 0;
+ while (local_0B > 2) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_0B = (1 + local_0B);
+ }
+ ITEM.slot_24(0x1000, local_02);
+ local_0B = 1;
+ while (local_0B > 2) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_0B = (1 + local_0B);
+ }
+ while (Intrinsic0036(local_04, arg_06) == 0) {
+ spawn FREE.slot_3B(pid, 100, 0x00000000);
+ suspend;
+ }
+ spawn SPIDER.slot_21(local_02);
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDER/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDER/slot_21_slot_21.txt
new file mode 100644
index 0000000..5d72c61
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDER/slot_21_slot_21.txt
@@ -0,0 +1,69 @@
+function spider_slot_21() /* entry=465 class_id=0x0A13 slot=0x21 */
+{
+ set_info(0x00F0, *(arg_06));
+ local_02 = World.getControlledNPCNum();
+ while (local_06 >= 0x01F4) {
+ while (Intrinsic0036(local_02, arg_06)) {
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
+ suspend;
+ }
+ ITEM.slot_20(1, Item.getCY(local_02), Item.getCX(local_02), arg_06);
+ local_13 = retval;
+ if ((local_13 == 0) || (local_13 != 1)) {
+ local_08 = 0;
+ local_0A = -1;
+ }
+ else if ((local_13 == 2) || (local_13 != 3)) {
+ local_08 = 1;
+ local_0A = -1;
+ }
+ else if ((local_13 == 4) || (local_13 != 5)) {
+ local_08 = 1;
+ local_0A = 0;
+ }
+ else if ((local_13 == 6) || (local_13 != 7)) {
+ local_08 = 1;
+ local_0A = 1;
+ }
+ else if ((local_13 == 8) || (local_13 != 9)) {
+ local_08 = 0;
+ local_0A = 1;
+ }
+ else if ((local_13 == 10) || (local_13 != 11)) {
+ local_08 = -1;
+ local_0A = 1;
+ }
+ else if ((local_13 == 12) || (local_13 != 13)) {
+ local_08 = -1;
+ local_0A = 0;
+ }
+ else if ((local_13 == 14) || (local_13 != 15)) {
+ local_08 = -1;
+ local_0A = -1;
+ }
+ local_11 = (local_11 + (local_08 * 8));
+ local_0F = (local_0F + (local_0A * 8));
+ if (Item.legalMoveToPoint(0, 1, local_11, arg_06)) {
+ local_0D = (local_0D + 1);
+ if (Item.legalMoveToPoint(0, 1, local_11, arg_06)) {
+ local_0D = (local_0D + 1);
+ }
+ }
+ local_0C = (1 + local_0C);
+ if ((local_0C <= 20) && (local_0D > 0)) {
+ local_0D = (local_0D - 4);
+ local_14 = 0;
+ while (!Item.legalMoveToPoint(0, 1, local_11, arg_06)) {
+ local_0D = (local_0D - 4);
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ local_14 = 1;
+ }
+ local_0C = 0;
+ }
+ local_06 = (1 + local_06);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDER/slot_22_slot_22.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDER/slot_22_slot_22.txt
new file mode 100644
index 0000000..614d22a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDER/slot_22_slot_22.txt
@@ -0,0 +1,103 @@
+function spider_slot_22() /* entry=465 class_id=0x0A13 slot=0x22 */
+{
+ entry:
+ set_info(1, *(arg_06));
+ if (!arg_0A) goto block_0569;
+
+ block_055B:
+ ITEM.slot_24(4, arg_06);
+ goto block_077B;
+
+ block_0569:
+ if (Item.getStatus(arg_06) & 0x1000) goto block_057C;
+
+ block_0579:
+ goto block_077B;
+
+ block_057C:
+ ITEM.slot_24(0x1000, arg_06);
+ local_0D = arg_0A;
+
+ block_058C:
+ if (local_0D >= 10) goto block_059E;
+
+ block_0594:
+ local_0D = (local_0D - 10);
+ goto block_058C;
+
+ block_059E:
+ suspend;
+ if (World.getControlledNPCNum() != 0) goto block_05B4;
+
+ block_05AA:
+ local_04 = World.getControlledNPCNum();
+ goto block_05BA;
+
+ block_05B4:
+ local_04 = global[0x001E];
+
+ block_05BA:
+ if ((Item.getZ(local_04) > (Item.getZ(arg_06) + 16)) || (Item.getZ(local_04) < (Item.getZ(arg_06) - 16))) goto block_0604;
+
+ block_05EA:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ goto block_05BA;
+
+ block_0604:
+ if ((Item.getStatus(arg_06) & 4) || (Item.getFrame(arg_06) > 0)) goto block_063A;
+
+ block_0620:
+ ITEM.slot_25(4, arg_06);
+ ITEM.slot_25(0x1000, arg_06);
+ goto block_077B;
+
+ block_063A:
+ local_0B = 0;
+
+ block_0681:
+ if (local_0B <= 5) goto block_06B4;
+
+ block_0689:
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_0B = (1 + local_0B);
+ goto block_0681;
+
+ block_06B4:
+ local_0B = 1;
+
+ block_06D8:
+ if (local_0B <= 4) goto block_070B;
+
+ block_06E0:
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ local_0B = (1 + local_0B);
+ goto block_06D8;
+
+ block_070B:
+ if (Intrinsic0036(local_04, arg_06) != 0) goto block_0736;
+
+ block_071C:
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ goto block_070B;
+
+ block_0736:
+ spawn SPIDER.slot_23(local_0D, local_04, local_02, local_02);
+ if (arg_0A < 99) goto block_0760;
+
+ block_0751:
+ ITEM.slot_25(0x1000, arg_06);
+ goto block_077B;
+
+ block_0760:
+ spawn FREE.slot_3B(pid, 0x01F4, 0x00000000);
+ suspend;
+ goto block_059E;
+
+ block_077B:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDER/slot_23_slot_23.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDER/slot_23_slot_23.txt
new file mode 100644
index 0000000..b777ef8
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDER/slot_23_slot_23.txt
@@ -0,0 +1,17 @@
+function spider_slot_23() /* entry=465 class_id=0x0A13 slot=0x23 */
+{
+ set_info(1, arg_0A);
+ local_02 = arg_0C;
+ while ((arg_0E - 1) <= 0) {
+ /* rsh */
+ local_04 = 1;
+ /* rsh */
+ local_06 = 1;
+ spawn SPIDER.slot_24((Item.getX(local_02) - Item.getX(arg_06)), (Item.getY(local_02) - Item.getY(arg_06)), pid, (World.gameDifficulty() + 5), Item.getZ(arg_06), (local_06 + Item.getY(arg_06)), (local_04 + Item.getX(arg_06)), arg_06);
+ suspend;
+ arg_0E = (arg_0E - 1);
+ }
+ spawn SPIDER.slot_24(pid, (World.gameDifficulty() + 5), Item.getZ(arg_06), Item.getY(local_02), Item.getX(local_02), arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDER/slot_24_slot_24.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDER/slot_24_slot_24.txt
new file mode 100644
index 0000000..9b88b74
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDER/slot_24_slot_24.txt
@@ -0,0 +1,196 @@
+function spider_slot_24() /* entry=465 class_id=0x0A13 slot=0x24 */
+{
+ entry:
+ set_info(0x00F0, *(arg_06));
+ local_07 = Item.getX(arg_06);
+ local_09 = Item.getY(arg_06);
+ local_0A = Item.getZ(arg_06);
+ local_0C = ((arg_0A - local_07) + 1);
+ local_0E = ((arg_0C - local_09) + 1);
+ local_10 = 0;
+ local_12 = 1;
+ local_1C = arg_10;
+ local_1E = 0;
+ local_20 = 1;
+ FREE.slot_48(local_0C);
+ FREE.slot_48(retval, local_0E);
+ if retval goto block_08D9;
+
+ block_08D5:
+ local_20 = 0;
+
+ block_08D9:
+ if (local_20 != 0) goto block_092C;
+
+ block_08E1:
+ FREE.slot_48(((local_0E / local_0C) * local_0C));
+ local_16 = retval;
+ /* mod */
+ FREE.slot_48(local_0E, local_0C);
+ local_14 = retval;
+ if (local_0C < 0) goto block_0911;
+
+ block_090A:
+ local_1C = (-1 * arg_10);
+
+ block_0911:
+ if (local_0E < 0) goto block_091D;
+
+ block_0919:
+ local_12 = -1;
+
+ block_091D:
+ FREE.slot_48(local_0C);
+ local_18 = retval;
+ goto block_0974;
+
+ block_092C:
+ FREE.slot_48(((local_0C / local_0E) * local_0E));
+ local_16 = retval;
+ /* mod */
+ FREE.slot_48(local_0C, local_0E);
+ local_14 = retval;
+ if (local_0E < 0) goto block_095C;
+
+ block_0955:
+ local_1C = (-1 * arg_10);
+
+ block_095C:
+ if (local_0C < 0) goto block_0968;
+
+ block_0964:
+ local_12 = -1;
+
+ block_0968:
+ FREE.slot_48(local_0E);
+ local_18 = retval;
+
+ block_0974:
+ suspend;
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ local_24 = (local_0A & 0x00FF);
+ local_22 = (arg_0E & 0x00FF);
+ if (local_24 != local_22) goto block_09E6;
+
+ block_09A4:
+ FREE.slot_48((local_22 - local_24));
+ local_26 = ((retval / 20) + 1);
+ if (local_26 != 0) goto block_09C5;
+
+ block_09C1:
+ local_26 = 1;
+
+ block_09C5:
+ if (local_24 < local_22) goto block_09D7;
+
+ block_09CD:
+ local_0A = (local_0A + local_26);
+ goto block_09E6;
+
+ block_09D7:
+ local_24 = (local_24 - local_26);
+ local_0A = (local_24 & 0x00FF);
+
+ block_09E6:
+ if (local_1E >= local_18) goto block_0A34;
+
+ block_09EE:
+ if (local_24 > (local_22 - 2)) goto block_0A0B;
+
+ block_09F9:
+ if (local_24 < (local_22 + 2)) goto block_0A0B;
+
+ block_0A04:
+ /* word_to_dword */
+ /* pop_result */
+ goto block_0B0F;
+
+ block_0A0B:
+ local_05 = local_07;
+ local_03 = local_09;
+ local_01 = local_0A;
+ if (!Item.legalMoveToPoint(0, 1, local_05, arg_06)) goto block_0A31;
+
+ block_0A2A:
+ /* word_to_dword */
+ /* pop_result */
+ goto block_0B0F;
+
+ block_0A31:
+ goto block_0B0C;
+
+ block_0A34:
+ local_1E = (local_1E + arg_10);
+ if (local_20 != 0) goto block_0AA9;
+
+ block_0A43:
+ local_05 = local_07;
+ local_03 = local_09;
+ local_01 = local_0A;
+ if (!Item.legalMoveToPoint(0, 1, local_05, arg_06)) goto block_0A69;
+
+ block_0A62:
+ /* word_to_dword */
+ /* pop_result */
+ goto block_0B0F;
+
+ block_0A69:
+ local_07 = (local_07 + local_1C);
+ local_1A = 1;
+
+ block_0A74:
+ if (local_1A <= arg_10) goto block_0AA6;
+
+ block_0A7C:
+ local_10 = (local_10 + (local_14 + local_16));
+ if (local_10 >= local_18) goto block_0A9C;
+
+ block_0A8E:
+ local_10 = (local_10 - local_18);
+ local_09 = (local_09 + local_12);
+
+ block_0A9C:
+ local_1A = (1 + local_1A);
+ goto block_0A74;
+
+ block_0AA6:
+ goto block_0B0C;
+
+ block_0AA9:
+ local_05 = local_07;
+ local_03 = local_09;
+ local_01 = local_0A;
+ if (!Item.legalMoveToPoint(0, 1, local_05, arg_06)) goto block_0ACF;
+
+ block_0AC8:
+ /* word_to_dword */
+ /* pop_result */
+ goto block_0B0F;
+
+ block_0ACF:
+ local_09 = (local_09 + local_1C);
+ local_1A = 1;
+
+ block_0ADA:
+ if (local_1A <= arg_10) goto block_0B0C;
+
+ block_0AE2:
+ local_10 = (local_10 + (local_14 + local_16));
+ if (local_10 >= local_18) goto block_0B02;
+
+ block_0AF4:
+ local_10 = (local_10 - local_18);
+ local_07 = (local_07 + local_12);
+
+ block_0B02:
+ local_1A = (1 + local_1A);
+ goto block_0ADA;
+
+ block_0B0C:
+ goto block_0974;
+
+ block_0B0F:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDPAD/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDPAD/slot_0A_equip.txt
new file mode 100644
index 0000000..b0eb355
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDPAD/slot_0A_equip.txt
@@ -0,0 +1,14 @@
+function spidpad_equip() /* entry=203 class_id=0x0397 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (!arg_0A) {
+ spawn SPIDER.slot_22(arg_0A, arg_06);
+ return;
+ }
+ else {
+ FREE.slot_3C(1, *(arg_06));
+ ITEM.slot_24(4, arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDPAD/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDPAD/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..955092a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDPAD/slot_10_leaveFastArea.txt
@@ -0,0 +1,8 @@
+function spidpad_leaveFastArea() /* entry=203 class_id=0x0397 slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ FREE.slot_3C(1, *(arg_06));
+ ITEM.slot_25(0x1000, arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDWALK/slot_05_hit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDWALK/slot_05_hit.txt
new file mode 100644
index 0000000..5bf9595
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDWALK/slot_05_hit.txt
@@ -0,0 +1,6 @@
+function spidwalk_hit() /* entry=202 class_id=0x0391 slot=0x05 */
+{
+ set_info(0x020B, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDWALK/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDWALK/slot_06_gotHit.txt
new file mode 100644
index 0000000..deaa758
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SPIDWALK/slot_06_gotHit.txt
@@ -0,0 +1,7 @@
+function spidwalk_gotHit() /* entry=202 class_id=0x0391 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SSBOX_EW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SSBOX_EW/slot_06_gotHit.txt
index f5a9524..81aa8dd 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SSBOX_EW/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SSBOX_EW/slot_06_gotHit.txt
@@ -2,27 +2,27 @@ function ssbox_ew_gotHit() /* entry=152 class_id=0x02B3 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
if (Item.getFrame(arg_06)) {
- spawn class_0A0C_slot_2A(pid, 0, 0, arg_06);
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
suspend;
return;
}
else {
- spawn class_0A0C_slot_29(pid, 100, arg_0C, arg_0A, arg_06);
+ spawn ITEM.slot_29(pid, 100, arg_0C, arg_0A, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A1D_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- spawn class_0A0C_slot_2C(pid, arg_06);
+ spawn ITEM.slot_2C(pid, arg_06);
suspend;
- spawn class_0A0C_slot_2A(pid, 1, 1, arg_06);
+ spawn ITEM.slot_2A(pid, 1, 1, arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SSBOX_NS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SSBOX_NS/slot_06_gotHit.txt
index 16f4168..8dcef49 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SSBOX_NS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SSBOX_NS/slot_06_gotHit.txt
@@ -2,27 +2,27 @@ function ssbox_ns_gotHit() /* entry=154 class_id=0x02CA slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
if (Item.getFrame(arg_06)) {
- spawn class_0A0C_slot_2A(pid, 0, 0, arg_06);
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
suspend;
return;
}
else {
- spawn class_0A0C_slot_29(pid, 100, arg_0C, arg_0A, arg_06);
+ spawn ITEM.slot_29(pid, 100, arg_0C, arg_0A, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
- class_0A1D_slot_20(1);
+ FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
- spawn class_0A0C_slot_2C(pid, arg_06);
+ spawn ITEM.slot_2C(pid, arg_06);
suspend;
- spawn class_0A0C_slot_2A(pid, 1, 1, arg_06);
+ spawn ITEM.slot_2A(pid, 1, 1, arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SSWITCHE/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SSWITCHE/slot_01_use.txt
new file mode 100644
index 0000000..716e24c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SSWITCHE/slot_01_use.txt
@@ -0,0 +1,138 @@
+function sswitche_use() /* entry=253 class_id=0x0457 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ local_01 = Item.getFrame(arg_06);
+ if (Item.getMapNum(arg_06) == 0) {
+ if (local_01 == 2) {
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ }
+ else if (local_01 >= 2) {
+ local_02 = ((local_01 + 1) & 1);
+ spawn TRIGGER.slot_20(pid, local_01, *(arg_06), arg_06);
+ suspend;
+ }
+ }
+ else {
+ local_1B = Item.getQLo(arg_06);
+ /* loop_selector local_07 in nearby_items(shape=0x0457, origin=arg_06) */
+ while (!condition) {
+ if (!(local_07 == *(arg_06))) {
+ if (Item.getMapNum(local_07) == 0) {
+ if (Item.getQLo(local_07) == 29) {
+ local_09 = local_07;
+ local_03 = Item.getFrame(local_09);
+ }
+ else if (Item.getQLo(local_07) == 30) {
+ local_0B = local_07;
+ local_04 = Item.getFrame(local_0B);
+ }
+ else if (Item.getQLo(local_07) == 31) {
+ local_0D = local_07;
+ local_05 = Item.getFrame(local_0D);
+ }
+ }
+ }
+ local_19 = (1 + local_19);
+ /* loopnext */
+ }
+ for local_11 in nearby_items(shape=0x0452, origin=arg_06) {
+ if (Item.getMapNum(local_11) == 0) {
+ if (Item.getQLo(local_11) == 29) {
+ local_13 = local_11;
+ }
+ else if (Item.getQLo(local_11) == 30) {
+ local_15 = local_11;
+ }
+ else if (Item.getQLo(local_11) == 31) {
+ local_17 = local_11;
+ }
+ }
+ /* loopnext */
+ }
+ if (local_1B == 29) {
+ local_03 = Item.getFrame(arg_06);
+ local_09 = *(arg_06);
+ if (!(local_0B && local_0D)) {
+ if (!local_03) {
+ local_03 = 0;
+ local_04 = 1;
+ }
+ else {
+ local_03 = 1;
+ local_04 = 0;
+ }
+ }
+ }
+ else if (local_1B == 30) {
+ local_04 = Item.getFrame(arg_06);
+ local_0B = *(arg_06);
+ if (!(local_09 && local_0D)) {
+ if (!local_04) {
+ local_04 = 0;
+ local_03 = 1;
+ local_05 = 1;
+ }
+ else {
+ local_04 = 1;
+ local_03 = 0;
+ local_05 = 0;
+ }
+ }
+ }
+ else if (local_1B == 31) {
+ local_05 = Item.getFrame(arg_06);
+ local_0D = *(arg_06);
+ if (!(local_09 && local_0B)) {
+ if (!local_05) {
+ local_05 = 0;
+ local_04 = 1;
+ }
+ else {
+ local_05 = 1;
+ local_04 = 0;
+ }
+ }
+ }
+ if (!local_03) {
+ if (!(local_04 || local_05)) {
+ return;
+ }
+ else {
+ for local_0F in nearby_items(shape=0x04C9, origin=arg_06) {
+ if (Item.getQLo(local_0F) == 29) {
+ suspend;
+ }
+ /* loopnext */
+ }
+ }
+ }
+ else if (!local_04) {
+ if (!local_05) {
+ return;
+ }
+ else {
+ for local_0F in nearby_items(shape=0x04C9, origin=arg_06) {
+ if (Item.getQLo(local_0F) == 30) {
+ suspend;
+ }
+ /* loopnext */
+ }
+ }
+ }
+ else if (!local_05) {
+ for local_0F in nearby_items(shape=0x04C9, origin=arg_06) {
+ if (Item.getQLo(local_0F) == 31) {
+ suspend;
+ }
+ /* loopnext */
+ }
+ }
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
+ suspend;
+ }
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SSWITCHE/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SSWITCHE/slot_06_gotHit.txt
new file mode 100644
index 0000000..75942e5
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SSWITCHE/slot_06_gotHit.txt
@@ -0,0 +1,21 @@
+function sswitche_gotHit() /* entry=253 class_id=0x0457 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ if (Item.isEntirelyOnScreen(arg_06)) {
+ return;
+ }
+ else {
+ FREE.slot_34(arg_0C, arg_0A);
+ if (retval == 4) {
+ if (arg_0A == 1) {
+ return;
+ }
+ else {
+ spawn SSWITCHE.use(pid, arg_06);
+ suspend;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SSWITCHN/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SSWITCHN/slot_01_use.txt
new file mode 100644
index 0000000..e8cd520
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SSWITCHN/slot_01_use.txt
@@ -0,0 +1,138 @@
+function sswitchn_use() /* entry=251 class_id=0x0452 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ local_01 = Item.getFrame(arg_06);
+ if (Item.getMapNum(arg_06) == 0) {
+ if (local_01 == 2) {
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ }
+ else if (local_01 >= 2) {
+ local_02 = ((local_01 + 1) & 1);
+ spawn TRIGGER.slot_20(pid, local_01, *(arg_06), arg_06);
+ suspend;
+ }
+ }
+ else {
+ local_1B = Item.getQLo(arg_06);
+ /* loop_selector local_07 in nearby_items(shape=0x0452, origin=arg_06) */
+ while (!condition) {
+ if (!(local_07 == *(arg_06))) {
+ if (Item.getMapNum(local_07) == 0) {
+ if (Item.getQLo(local_07) == 29) {
+ local_09 = local_07;
+ local_03 = Item.getFrame(local_09);
+ }
+ else if (Item.getQLo(local_07) == 30) {
+ local_0B = local_07;
+ local_04 = Item.getFrame(local_0B);
+ }
+ else if (Item.getQLo(local_07) == 31) {
+ local_0D = local_07;
+ local_05 = Item.getFrame(local_0D);
+ }
+ }
+ }
+ local_19 = (1 + local_19);
+ /* loopnext */
+ }
+ for local_11 in nearby_items(shape=0x0457, origin=arg_06) {
+ if (Item.getMapNum(local_11) == 0) {
+ if (Item.getQLo(local_11) == 29) {
+ local_13 = local_11;
+ }
+ else if (Item.getQLo(local_11) == 30) {
+ local_15 = local_11;
+ }
+ else if (Item.getQLo(local_11) == 31) {
+ local_17 = local_11;
+ }
+ }
+ /* loopnext */
+ }
+ if (local_1B == 29) {
+ local_03 = Item.getFrame(arg_06);
+ local_09 = *(arg_06);
+ if (!(local_0B && local_0D)) {
+ if (!local_03) {
+ local_03 = 0;
+ local_04 = 1;
+ }
+ else {
+ local_03 = 1;
+ local_04 = 0;
+ }
+ }
+ }
+ else if (local_1B == 30) {
+ local_04 = Item.getFrame(arg_06);
+ local_0B = *(arg_06);
+ if (!(local_09 && local_0D)) {
+ if (!local_04) {
+ local_04 = 0;
+ local_03 = 1;
+ local_05 = 1;
+ }
+ else {
+ local_04 = 1;
+ local_03 = 0;
+ local_05 = 0;
+ }
+ }
+ }
+ else if (local_1B == 31) {
+ local_05 = Item.getFrame(arg_06);
+ local_0D = *(arg_06);
+ if (!(local_09 && local_0B)) {
+ if (!local_05) {
+ local_05 = 0;
+ local_04 = 1;
+ }
+ else {
+ local_05 = 1;
+ local_04 = 0;
+ }
+ }
+ }
+ if (!local_03) {
+ if (!(local_04 || local_05)) {
+ return;
+ }
+ else {
+ for local_0F in nearby_items(shape=0x04C9, origin=arg_06) {
+ if (Item.getQLo(local_0F) == 29) {
+ suspend;
+ }
+ /* loopnext */
+ }
+ }
+ }
+ else if (!local_04) {
+ if (!local_05) {
+ return;
+ }
+ else {
+ for local_0F in nearby_items(shape=0x04C9, origin=arg_06) {
+ if (Item.getQLo(local_0F) == 30) {
+ suspend;
+ }
+ /* loopnext */
+ }
+ }
+ }
+ else if (!local_05) {
+ for local_0F in nearby_items(shape=0x04C9, origin=arg_06) {
+ if (Item.getQLo(local_0F) == 31) {
+ suspend;
+ }
+ /* loopnext */
+ }
+ }
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
+ suspend;
+ }
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SSWITCHN/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SSWITCHN/slot_06_gotHit.txt
new file mode 100644
index 0000000..094666d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SSWITCHN/slot_06_gotHit.txt
@@ -0,0 +1,21 @@
+function sswitchn_gotHit() /* entry=251 class_id=0x0452 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ if (Item.isEntirelyOnScreen(arg_06)) {
+ return;
+ }
+ else {
+ FREE.slot_34(arg_0C, arg_0A);
+ if (retval == 4) {
+ if (arg_0A == 1) {
+ return;
+ }
+ else {
+ spawn SSWITCHN.use(pid, arg_06);
+ suspend;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STABLE/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STABLE/slot_06_gotHit.txt
index 68b9a17..9e5dedc 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STABLE/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STABLE/slot_06_gotHit.txt
@@ -7,16 +7,11 @@ function stable_gotHit() /* entry=157 class_id=0x02DC slot=0x06 */
return;
}
else {
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_04 in nearby_items(shape=0x01DA, origin=arg_06) {
if (Item.getFrame(local_04) >= 1) {
- spawn class_0A0C_slot_2A(pid, 0, 1, local_04);
+ spawn ITEM.slot_2A(pid, 0, 1, local_04);
suspend;
}
/* loopnext */
@@ -24,25 +19,20 @@ function stable_gotHit() /* entry=157 class_id=0x02DC slot=0x06 */
/* loopscr value_u8=0x24 */
/* loop current_var=0xFC string_bytes=0x1 loop_type=0x6 */
while (!condition) {
- class_0A1D_slot_20(1, 10);
- class_0A1D_slot_20((retval + 10), 10);
- class_0A1D_slot_20(retval, 10);
+ FREE.slot_20(1, 10);
+ FREE.slot_20((retval + 10), 10);
+ FREE.slot_20(retval, 10);
/* loopnext */
}
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
- while (!condition) {
+ for local_04 in nearby_items(shape=0x02DC, origin=arg_06) {
local_02 = Item.getFrame(local_04);
if (local_02 >= 9) {
/* loopscr value_u8=0x24 */
/* loop current_var=0xFA string_bytes=0x1 loop_type=0x6 */
while (!condition) {
- class_0A1D_slot_20(1, 10);
- class_0A1D_slot_20((retval + 10), 10);
- class_0A1D_slot_20(retval, 10);
+ FREE.slot_20(1, 10);
+ FREE.slot_20((retval + 10), 10);
+ FREE.slot_20(retval, 10);
/* loopnext */
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STATICEW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STATICEW/slot_06_gotHit.txt
new file mode 100644
index 0000000..af4ad20
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STATICEW/slot_06_gotHit.txt
@@ -0,0 +1,7 @@
+function staticew_gotHit() /* entry=197 class_id=0x037F slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STATICEW/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STATICEW/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..892c6f4
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STATICEW/slot_0F_enterFastArea.txt
@@ -0,0 +1,6 @@
+function staticew_enterFastArea() /* entry=197 class_id=0x037F slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STATICNS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STATICNS/slot_06_gotHit.txt
index 0b883b4..98b8c71 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STATICNS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STATICNS/slot_06_gotHit.txt
@@ -2,6 +2,6 @@ function staticns_gotHit() /* entry=132 class_id=0x0254 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM/slot_20_slot_20.txt
new file mode 100644
index 0000000..5e661cc
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM/slot_20_slot_20.txt
@@ -0,0 +1,57 @@
+function steam_slot_20() /* entry=466 class_id=0x0A14 slot=0x20 */
+{
+ entry:
+ set_info(0x0001, *(arg_06));
+
+ block_0102:
+ suspend;
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ local_03 = 0;
+ /* loop_selector local_02 in nearby_items(family=6, origin=arg_06) */
+
+ block_0135:
+ if condition goto block_01BE;
+
+ block_0138:
+ if Item.isNpc(local_02) goto block_01BA;
+
+ block_0144:
+ if Item.overlaps(*(arg_06), local_02) goto block_01BA;
+
+ block_0154:
+ local_05 = local_02;
+ if (local_05 != World.getControlledNPCNum()) goto block_0194;
+
+ block_0163:
+ NPC.slot_2A(local_05);
+ if (!retval) goto block_0191;
+
+ block_0171:
+
+ block_0191:
+ goto block_01B6;
+
+ block_0194:
+
+ block_01B6:
+ local_03 = 1;
+
+ block_01BA:
+ /* loopnext */
+ goto block_0135;
+
+ block_01BE:
+ if (!local_03) goto block_01D4;
+
+ block_01C6:
+ ITEM.slot_25(4, arg_06);
+ goto block_01D7;
+
+ block_01D4:
+ goto block_0102;
+
+ block_01D7:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM/slot_21_slot_21.txt
new file mode 100644
index 0000000..c128cfc
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM/slot_21_slot_21.txt
@@ -0,0 +1,47 @@
+function steam_slot_21() /* entry=466 class_id=0x0A14 slot=0x21 */
+{
+ entry:
+ set_info(0x0001, *(arg_06));
+ local_02 = arg_0A;
+ if (Item.getStatus(arg_06) & 4) goto block_01F9;
+
+ block_01F6:
+ goto block_0292;
+
+ block_01F9:
+ ITEM.slot_24(4, arg_06);
+
+ block_0204:
+ suspend;
+ if (arg_0A < 0x00FF) goto block_0281;
+
+ block_020E:
+ if (arg_0A != World.getControlledNPCNum()) goto block_0240;
+
+ block_0219:
+ goto block_0270;
+
+ block_0240:
+ NPC.slot_2A(local_02);
+ if (!retval) goto block_0270;
+
+ block_024E:
+
+ block_0270:
+ spawn STEAM.slot_20(arg_06);
+ goto block_0292;
+
+ block_027E:
+ goto block_028F;
+
+ block_0281:
+ ITEM.slot_25(4, arg_06);
+ goto block_0292;
+
+ block_028F:
+ goto block_0204;
+
+ block_0292:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM/slot_22_slot_22.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM/slot_22_slot_22.txt
new file mode 100644
index 0000000..157ac9e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM/slot_22_slot_22.txt
@@ -0,0 +1,57 @@
+function steam_slot_22() /* entry=466 class_id=0x0A14 slot=0x22 */
+{
+ entry:
+ set_info(0x0001, *(arg_06));
+
+ block_029E:
+ suspend;
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
+ suspend;
+ local_03 = 0;
+ /* loop_selector local_02 in nearby_items(family=6, origin=arg_06) */
+
+ block_02D1:
+ if condition goto block_034B;
+
+ block_02D4:
+ if Item.isNpc(local_02) goto block_0347;
+
+ block_02E0:
+ if Item.overlaps(*(arg_06), local_02) goto block_0347;
+
+ block_02F0:
+ local_05 = local_02;
+ if (local_05 != World.getControlledNPCNum()) goto block_032A;
+
+ block_02FF:
+ NPC.slot_2A(local_05);
+ if (!retval) goto block_0327;
+
+ block_030D:
+
+ block_0327:
+ goto block_0343;
+
+ block_032A:
+
+ block_0343:
+ local_03 = 1;
+
+ block_0347:
+ /* loopnext */
+ goto block_02D1;
+
+ block_034B:
+ if (!local_03) goto block_0361;
+
+ block_0353:
+ ITEM.slot_25(4, arg_06);
+ goto block_0364;
+
+ block_0361:
+ goto block_029E;
+
+ block_0364:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM/slot_23_slot_23.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM/slot_23_slot_23.txt
new file mode 100644
index 0000000..6678001
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM/slot_23_slot_23.txt
@@ -0,0 +1,34 @@
+function steam_slot_23() /* entry=466 class_id=0x0A14 slot=0x23 */
+{
+ entry:
+ set_info(0x0001, *(arg_06));
+ local_02 = arg_0A;
+ if (Item.getStatus(arg_06) & 4) goto block_0386;
+
+ block_0383:
+ goto block_03D3;
+
+ block_0386:
+ ITEM.slot_24(4, arg_06);
+
+ block_0391:
+ suspend;
+ if (arg_0A < 0x00FF) goto block_03D0;
+
+ block_039B:
+ NPC.slot_2A(local_02);
+ if (!retval) goto block_03C2;
+
+ block_03A9:
+
+ block_03C2:
+ spawn STEAM.slot_22(arg_06);
+ goto block_03D3;
+
+ block_03D0:
+ goto block_0391;
+
+ block_03D3:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM/slot_24_slot_24.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM/slot_24_slot_24.txt
new file mode 100644
index 0000000..191e39f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM/slot_24_slot_24.txt
@@ -0,0 +1,57 @@
+function steam_slot_24() /* entry=466 class_id=0x0A14 slot=0x24 */
+{
+ entry:
+ set_info(0x0001, *(arg_06));
+
+ block_03DF:
+ suspend;
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ local_03 = 0;
+ /* loop_selector local_02 in nearby_items(family=6, origin=arg_06) */
+
+ block_0412:
+ if condition goto block_049D;
+
+ block_0415:
+ if Item.isNpc(local_02) goto block_0499;
+
+ block_0421:
+ if Item.overlaps(*(arg_06), local_02) goto block_0499;
+
+ block_0431:
+ local_05 = local_02;
+ if (local_05 != World.getControlledNPCNum()) goto block_0471;
+
+ block_0440:
+ NPC.slot_2A(local_05);
+ if (!retval) goto block_046E;
+
+ block_044E:
+
+ block_046E:
+ goto block_0495;
+
+ block_0471:
+
+ block_0495:
+ local_03 = 1;
+
+ block_0499:
+ /* loopnext */
+ goto block_0412;
+
+ block_049D:
+ if (!local_03) goto block_04B3;
+
+ block_04A5:
+ ITEM.slot_25(4, arg_06);
+ goto block_04B6;
+
+ block_04B3:
+ goto block_03DF;
+
+ block_04B6:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM/slot_25_slot_25.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM/slot_25_slot_25.txt
new file mode 100644
index 0000000..da66c1f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM/slot_25_slot_25.txt
@@ -0,0 +1,47 @@
+function steam_slot_25() /* entry=466 class_id=0x0A14 slot=0x25 */
+{
+ entry:
+ set_info(0x0001, *(arg_06));
+ local_02 = arg_0A;
+ if (Item.getStatus(arg_06) & 4) goto block_04D8;
+
+ block_04D5:
+ goto block_0573;
+
+ block_04D8:
+ ITEM.slot_24(4, arg_06);
+
+ block_04E3:
+ suspend;
+ if (arg_0A < 0x00FF) goto block_0562;
+
+ block_04ED:
+ if (arg_0A != World.getControlledNPCNum()) goto block_0521;
+
+ block_04F8:
+ goto block_0551;
+
+ block_0521:
+ NPC.slot_2A(local_02);
+ if (!retval) goto block_0551;
+
+ block_052F:
+
+ block_0551:
+ spawn STEAM.slot_24(arg_06);
+ goto block_0573;
+
+ block_055F:
+ goto block_0570;
+
+ block_0562:
+ ITEM.slot_25(4, arg_06);
+ goto block_0573;
+
+ block_0570:
+ goto block_04E3;
+
+ block_0573:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM1/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM1/slot_06_gotHit.txt
new file mode 100644
index 0000000..127ceeb
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM1/slot_06_gotHit.txt
@@ -0,0 +1,14 @@
+function steam1_gotHit() /* entry=295 class_id=0x04FA slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ return;
+ }
+ else {
+ spawn STEAM.slot_21(pid, arg_0A, arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM1/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM1/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..6d09c62
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM1/slot_0F_enterFastArea.txt
@@ -0,0 +1,6 @@
+function steam1_enterFastArea() /* entry=295 class_id=0x04FA slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM2/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM2/slot_06_gotHit.txt
new file mode 100644
index 0000000..650ae48
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM2/slot_06_gotHit.txt
@@ -0,0 +1,14 @@
+function steam2_gotHit() /* entry=299 class_id=0x0511 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ return;
+ }
+ else {
+ spawn STEAM.slot_21(pid, arg_0A, arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM2/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM2/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..5a04631
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAM2/slot_0F_enterFastArea.txt
@@ -0,0 +1,6 @@
+function steam2_enterFastArea() /* entry=299 class_id=0x0511 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAMBOX/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAMBOX/slot_0A_equip.txt
new file mode 100644
index 0000000..f9e3162
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAMBOX/slot_0A_equip.txt
@@ -0,0 +1,39 @@
+function steambox_equip() /* entry=297 class_id=0x0500 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (arg_0A == 0) {
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x44 */
+ /* loop current_var=0xFE string_bytes=0xA loop_type=0x2 */
+ while (!condition) {
+ if (Item.getQLo(local_02) == Item.getQLo(arg_06)) {
+ if (!(Item.getStatus(local_02) & 0x1000)) {
+ }
+ else if ((Item.getShape(local_02) == 0x04FA) || (Item.getShape(local_02) != 0x04F9)) {
+ spawn STEAMBOX.slot_21(0, local_02, arg_06);
+ }
+ else if ((Item.getShape(local_02) == 0x0511) || (Item.getShape(local_02) != 0x04FD)) {
+ spawn STEAMBOX.slot_21(1, local_02, arg_06);
+ }
+ }
+ /* loopnext */
+ }
+ return;
+ }
+ else if (arg_0A == 1) {
+ for local_02 in nearby_items(shape=0x03A9, origin=arg_06) {
+ if (Item.getQLo(local_02) == Item.getQLo(arg_06)) {
+ if (Item.getFrame(local_02) == 0) {
+ spawn STEAMBOX.slot_20(0, local_04, arg_06);
+ }
+ else if (Item.getFrame(local_02) == 1) {
+ spawn STEAMBOX.slot_20(1, local_04, arg_06);
+ }
+ }
+ /* loopnext */
+ }
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAMBOX/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAMBOX/slot_20_slot_20.txt
new file mode 100644
index 0000000..2e9150f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAMBOX/slot_20_slot_20.txt
@@ -0,0 +1,29 @@
+function steambox_slot_20() /* entry=297 class_id=0x0500 slot=0x20 */
+{
+ set_info(0x00F0, *(arg_06));
+ if (!Intrinsic006A()) {
+ while ((Item.getFrame(arg_0A) == 39) && (Item.isEntirelyOnScreen(arg_0A) != 1)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ if (Item.getFrame(arg_0A) == 12) {
+ ITEM.slot_24(4, arg_0A);
+ spawn STEAM.slot_20(arg_0A);
+ }
+ }
+ }
+ else {
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
+ suspend;
+ }
+ if (arg_0C == 0) {
+ if (!Intrinsic006A()) {
+ }
+ }
+ else if (arg_0C == 1) {
+ if (!Intrinsic006A()) {
+ }
+ }
+ ITEM.slot_24(4, local_04);
+ spawn STEAM.slot_20(local_04);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAMBOX/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAMBOX/slot_21_slot_21.txt
new file mode 100644
index 0000000..a374910
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAMBOX/slot_21_slot_21.txt
@@ -0,0 +1,36 @@
+function steambox_slot_21() /* entry=297 class_id=0x0500 slot=0x21 */
+{
+ set_info(1, *(arg_06));
+ ITEM.slot_24(0x1000, arg_0A);
+ if (!Intrinsic006A()) {
+ if ((Item.getShape(arg_0A) == 0x04F9) || (Item.getShape(arg_0A) != 0x04FD)) {
+ while ((Item.getFrame(arg_0A) == 39) && (Item.isEntirelyOnScreen(arg_06) != 1)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ }
+ else {
+ while ((Item.getFrame(arg_0A) == 23) && (Item.isEntirelyOnScreen(arg_0A) != 1)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ }
+ }
+ else {
+ spawn FREE.slot_3B(pid, 0x00C8, 0x00000000);
+ suspend;
+ }
+ ITEM.slot_24(0x1000, local_04);
+ if (!Intrinsic006A()) {
+ while ((Item.getFrame(local_04) == 29) && (Item.isEntirelyOnScreen(local_04) != 1)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ }
+ else {
+ spawn FREE.slot_3B(pid, 0x00C8, 0x00000000);
+ suspend;
+ }
+ ITEM.slot_25(0x1000, local_04);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAMEGG/slot_07_hatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAMEGG/slot_07_hatch.txt
new file mode 100644
index 0000000..a95ec6f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEAMEGG/slot_07_hatch.txt
@@ -0,0 +1,17 @@
+function steamegg_hatch() /* entry=422 class_id=0x0903 slot=0x07 */
+{
+ set_info(0x0210, *(arg_06));
+ process_exclude();
+ local_04 = Egg.getEggId(arg_06);
+ /* loop_selector local_02 in nearby_items(shape=0x0500, origin=arg_06) */
+ while (!condition) {
+ if (Item.getQLo(local_02) == local_04) {
+ suspend;
+ spawn FREE.slot_3B(pid, 0x015E, 0x00000000);
+ suspend;
+ suspend;
+ }
+ /* loopnext */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STELEPAD/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STELEPAD/slot_06_gotHit.txt
index e802d0d..55a9216 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STELEPAD/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STELEPAD/slot_06_gotHit.txt
@@ -3,7 +3,7 @@ function stelepad_gotHit() /* entry=49 class_id=0x00EF slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
local_02 = arg_0A;
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STELEPAD/slot_09_release.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STELEPAD/slot_09_release.txt
index 8bd35cd..af3d07e 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STELEPAD/slot_09_release.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STELEPAD/slot_09_release.txt
@@ -2,7 +2,7 @@ function stelepad_release() /* entry=49 class_id=0x00EF slot=0x09 */
{
set_info(0x020D, *(arg_06));
process_exclude();
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
@@ -21,7 +21,7 @@ function stelepad_release() /* entry=49 class_id=0x00EF slot=0x09 */
if (local_04 == 1) {
/* global_address global_id=0x1E */
while (!Item.isOn(*(arg_06))) {
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEPLEW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEPLEW/slot_06_gotHit.txt
new file mode 100644
index 0000000..9ddf608
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEPLEW/slot_06_gotHit.txt
@@ -0,0 +1,49 @@
+function steplew_gotHit() /* entry=365 class_id=0x05CC slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ return;
+ }
+ else {
+ local_02 = Item.getFrame(arg_06);
+ if (!(local_02 & 1)) {
+ return;
+ }
+ else {
+ local_04 = arg_0A;
+ if ((Item.getSurfaceWeight(arg_06) == 0) || (Item.isCentreOn(*(arg_06), local_04) != 0)) {
+ return;
+ }
+ else if (Item.getMapNum(arg_06) == 0) {
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ while (!(1)) {
+ if (Item.getSurfaceWeight(arg_06) == 0) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ else {
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
+ suspend;
+ return;
+ }
+ }
+ return;
+ }
+ else {
+ while (!(1)) {
+ if (Item.getSurfaceWeight(arg_06) == 0) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ else {
+ return;
+ }
+ }
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEPLEW/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEPLEW/slot_0A_equip.txt
new file mode 100644
index 0000000..1c847f1
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEPLEW/slot_0A_equip.txt
@@ -0,0 +1,20 @@
+function steplew_equip() /* entry=365 class_id=0x05CC slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_02 = Item.getFrame(arg_06);
+ if (!(local_02 & 1)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
+ suspend;
+ return;
+ }
+ else {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEPLNS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEPLNS/slot_06_gotHit.txt
new file mode 100644
index 0000000..c0208d0
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEPLNS/slot_06_gotHit.txt
@@ -0,0 +1,49 @@
+function steplns_gotHit() /* entry=366 class_id=0x05CD slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ return;
+ }
+ else {
+ local_02 = Item.getFrame(arg_06);
+ if (!(local_02 & 1)) {
+ return;
+ }
+ else {
+ local_04 = arg_0A;
+ if ((Item.getSurfaceWeight(arg_06) == 0) || (Item.isCentreOn(*(arg_06), local_04) != 0)) {
+ return;
+ }
+ else if (Item.getMapNum(arg_06) == 0) {
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ while (!(1)) {
+ if (Item.getSurfaceWeight(arg_06) == 0) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ else {
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
+ suspend;
+ return;
+ }
+ }
+ return;
+ }
+ else {
+ while (!(1)) {
+ if (Item.getSurfaceWeight(arg_06) == 0) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ else {
+ return;
+ }
+ }
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEPLNS/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEPLNS/slot_0A_equip.txt
new file mode 100644
index 0000000..1d93ccd
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STEPLNS/slot_0A_equip.txt
@@ -0,0 +1,20 @@
+function steplns_equip() /* entry=366 class_id=0x05CD slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ local_02 = Item.getFrame(arg_06);
+ if (!(local_02 & 1)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
+ suspend;
+ return;
+ }
+ else {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STORMTRO/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STORMTRO/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..c980278
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/STORMTRO/slot_0E_calledFromAnim.txt
@@ -0,0 +1,7 @@
+function stormtro_calledFromAnim() /* entry=194 class_id=0x0371 slot=0x0E */
+{
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SWITCH/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SWITCH/slot_20_slot_20.txt
new file mode 100644
index 0000000..ceb9564
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SWITCH/slot_20_slot_20.txt
@@ -0,0 +1,11 @@
+function switch_slot_20() /* entry=467 class_id=0x0A15 slot=0x20 */
+{
+ set_info(0x0207, *(arg_06));
+ local_02 = 0;
+ while (local_02 > 11) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SWITCH/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SWITCH/slot_21_slot_21.txt
new file mode 100644
index 0000000..76e9d21
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SWITCH/slot_21_slot_21.txt
@@ -0,0 +1,22 @@
+function switch_slot_21() /* entry=467 class_id=0x0A15 slot=0x21 */
+{
+ set_info(0x0207, *(arg_06));
+ if (!Item.getFrame(arg_06)) {
+ local_02 = 0;
+ while (local_02 > 5) {
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ return;
+ }
+ else {
+ local_02 = 0;
+ while (local_02 > 5) {
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ local_02 = (1 + local_02);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SWITCH/slot_22_slot_22.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SWITCH/slot_22_slot_22.txt
new file mode 100644
index 0000000..2a088e6
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SWITCH/slot_22_slot_22.txt
@@ -0,0 +1,47 @@
+function switch_slot_22() /* entry=467 class_id=0x0A15 slot=0x22 */
+{
+ set_info(0x0207, *(arg_06));
+ local_01 = MainActor.hasKeycard(Item.getQLo(arg_06));
+ if (Item.getFrame(arg_06) == 4) {
+ spawn FREE.slot_21(pid, 0x00AD, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ return;
+ }
+ else if (!World.getAlertActive()) {
+ spawn FREE.slot_21(pid, 0x0181, 0x00000000);
+ suspend;
+ if (UCMachine.rndRange(100, 0) <= 50) {
+ spawn FREE.slot_21(pid, 0x018D, 0x00000000);
+ suspend;
+ }
+ else {
+ spawn FREE.slot_21(pid, 0x018B, 0x00000000);
+ suspend;
+ }
+ return;
+ }
+ else if (!local_01) {
+ spawn FREE.slot_21(pid, 0x0183, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ return;
+ }
+ else {
+ spawn FREE.slot_21(pid, 0x0181, 0x00000000);
+ suspend;
+ spawn FREE.slot_21(pid, 0x018F, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SWITCHEW/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SWITCHEW/slot_01_use.txt
index 3cf8825..9d08dfd 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SWITCHEW/slot_01_use.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SWITCHEW/slot_01_use.txt
@@ -2,15 +2,15 @@ function switchew_use() /* entry=19 class_id=0x0061 slot=0x01 */
{
set_info(0x0207, *(arg_06));
process_exclude();
- spawn class_0A15_slot_21(arg_06);
+ spawn SWITCH.slot_21(arg_06);
if (Item.getMapNum(arg_06) == 0) {
if (Item.getFrame(arg_06) == 0) {
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
return;
}
else {
- spawn class_0A17_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SWITCHNS/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SWITCHNS/slot_01_use.txt
index ea2c6cc..e02890d 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SWITCHNS/slot_01_use.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/SWITCHNS/slot_01_use.txt
@@ -2,15 +2,15 @@ function switchns_use() /* entry=150 class_id=0x02A3 slot=0x01 */
{
set_info(0x0207, *(arg_06));
process_exclude();
- spawn class_0A15_slot_21(arg_06);
+ spawn SWITCH.slot_21(arg_06);
if (Item.getMapNum(arg_06) == 0) {
if (Item.getFrame(arg_06) == 0) {
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
return;
}
else {
- spawn class_0A17_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/S_CHAIR/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/S_CHAIR/slot_06_gotHit.txt
index f5fb04f..c8dfd7a 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/S_CHAIR/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/S_CHAIR/slot_06_gotHit.txt
@@ -7,11 +7,11 @@ function s_chair_gotHit() /* entry=121 class_id=0x01E2 slot=0x06 */
return;
}
else {
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
- class_0A1D_slot_20(10);
+ FREE.slot_20(10);
local_08 = (retval + 5);
- class_0A1D_slot_20(1);
+ FREE.slot_20(1);
local_0A = retval;
if (local_0A == 0) {
local_06 = 1;
@@ -20,7 +20,7 @@ function s_chair_gotHit() /* entry=121 class_id=0x01E2 slot=0x06 */
if (local_02 == 8) {
local_02 = 0;
}
- spawn class_0A1D_slot_3B(pid, 5, 0x00000000);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_06 = (1 + local_06);
}
@@ -33,7 +33,7 @@ function s_chair_gotHit() /* entry=121 class_id=0x01E2 slot=0x06 */
if (local_02 == -1) {
local_02 = 7;
}
- spawn class_0A1D_slot_3B(pid, 5, 0x00000000);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_06 = (1 + local_06);
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TELEPAD/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TELEPAD/slot_06_gotHit.txt
index d797f70..46ca844 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TELEPAD/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TELEPAD/slot_06_gotHit.txt
@@ -6,9 +6,9 @@ function telepad_gotHit() /* entry=118 class_id=0x01DB slot=0x06 */
local_04 = *(arg_06);
local_08 = Item.getQLo(local_04);
set_info(1, 0);
- spawn class_0A1D_slot_3B(pid, 1, 0x00000000);
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
suspend;
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if ((retval <= 0) || (Item.getFrame(local_04) > 1)) {
return;
}
@@ -36,35 +36,35 @@ function telepad_gotHit() /* entry=118 class_id=0x01DB slot=0x06 */
/* pop_global global_id=0x9 size=0x1 */
if ((local_08 > 0) && (local_08 >= 100)) {
/* global_address global_id=0x1E */
- spawn class_01DB_slot_20(Actor.getMap(local_08), arg_06);
+ spawn TELEPAD.slot_20(Actor.getMap(local_08), arg_06);
return;
}
else if (local_08 == 109) {
- spawn class_01DB_slot_20(109, 20, arg_06);
+ spawn TELEPAD.slot_20(109, 20, arg_06);
return;
}
else if (local_08 == 110) {
- spawn class_01DB_slot_20(111, 21, arg_06);
+ spawn TELEPAD.slot_20(111, 21, arg_06);
return;
}
else if (local_08 == 111) {
- spawn class_01DB_slot_20(65, 20, arg_06);
+ spawn TELEPAD.slot_20(65, 20, arg_06);
return;
}
else if (local_08 == 112) {
- spawn class_01DB_slot_20(66, 20, arg_06);
+ spawn TELEPAD.slot_20(66, 20, arg_06);
return;
}
else if (local_08 == 113) {
- spawn class_01DB_slot_20(30, 3, arg_06);
+ spawn TELEPAD.slot_20(30, 3, arg_06);
return;
}
else if (local_08 == 114) {
- spawn class_01DB_slot_20(30, 22, arg_06);
+ spawn TELEPAD.slot_20(30, 22, arg_06);
return;
}
else if (local_08 == 115) {
- spawn class_01DB_slot_20(115, 20, arg_06);
+ spawn TELEPAD.slot_20(115, 20, arg_06);
return;
}
else {
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TELEPAD/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TELEPAD/slot_20_slot_20.txt
index 4c24ec1..9149b9f 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TELEPAD/slot_20_slot_20.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TELEPAD/slot_20_slot_20.txt
@@ -9,13 +9,13 @@ function telepad_slot_20() /* entry=118 class_id=0x01DB slot=0x20 */
/* global_address global_id=0x1E */
/* pop_global global_id=0xB size=0x1 */
/* pop_global global_id=0xC size=0x1 */
- spawn class_0A1D_slot_3B(0, 0, pid, 0, 0x00000000);
+ spawn FREE.slot_3B(0, 0, pid, 0, 0x00000000);
suspend;
- class_0A1D_slot_3C(0x0215, 0);
- class_0A1D_slot_3C(0x0228, 0);
+ FREE.slot_3C(0x0215, 0);
+ FREE.slot_3C(0x0228, 0);
/* global_address global_id=0x1E */
while (!Actor.isBusy()) {
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x1E */
@@ -25,14 +25,14 @@ function telepad_slot_20() /* entry=118 class_id=0x01DB slot=0x20 */
suspend;
}
/* global_address global_id=0x1E */
- spawn class_0A0F_slot_24(pid);
+ spawn NPC.slot_24(pid);
suspend;
/* global_address global_id=0x1E */
if (Actor.getMap() == arg_0A) {
suspend;
- class_0A1D_slot_22();
+ FREE.slot_22();
if (arg_0A == 3) {
- spawn class_0A1D_slot_3B(pid, 120, 0x00000000);
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
suspend;
/* str_to_ptr */
/* free_stack_string value_u8=0x0 target=[SP+00h] */
@@ -43,7 +43,7 @@ function telepad_slot_20() /* entry=118 class_id=0x01DB slot=0x20 */
if (!arg_0A) {
suspend;
}
- class_0A1D_slot_23();
+ FREE.slot_23();
/* global_address global_id=0x1E */
/* global_address global_id=0x1E */
suspend;
@@ -52,7 +52,7 @@ function telepad_slot_20() /* entry=118 class_id=0x01DB slot=0x20 */
suspend;
}
/* global_address global_id=0x1E */
- spawn class_0A0F_slot_23(pid);
+ spawn NPC.slot_23(pid);
suspend;
/* global_address global_id=0x1E */
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TEXTFIL1/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TEXTFIL1/slot_20_slot_20.txt
new file mode 100644
index 0000000..2c05563
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TEXTFIL1/slot_20_slot_20.txt
@@ -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 *.*.*.* ^^<> ";
+ }
+ 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 *.*.*.* ^^<> ";
+ }
+ 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 = " ";
+ }
+ 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^ ";
+ }
+ }
+ 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^ ";
+ }
+ 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. ^^ ";
+ }
+ }
+ 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^ ";
+ }
+ }
+ 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: *^ ";
+ }
+ 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:*^ ";
+ }
+ 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 ^ ";
+ }
+ 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 ^. ";
+ }
+ 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 = "<> **^An intruder has ^been sighted. All ^alarm systems are ^ ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "Currently, all ^systems are normal.^Alarm systems are ^ ";
+ }
+ }
+ 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;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TEXTFIL2/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TEXTFIL2/slot_20_slot_20.txt
new file mode 100644
index 0000000..7c1b50e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TEXTFIL2/slot_20_slot_20.txt
@@ -0,0 +1,294 @@
+function textfil2_slot_20() /* entry=479 class_id=0x0A21 slot=0x20 */
+{
+ if (arg_0C == 110) {
+ if (!(arg_0A && arg_0E)) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY: ^^Accessing telepad ^13. Powering up the^grid. *.*.*.* ^ ";
+ }
+ }
+ else if (arg_0C == 111) {
+ if (!(arg_0A && arg_0E)) {
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "Steven ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC DETENTION: ^SECURED AREA ";
+ }
+ }
+ else if (arg_0C == 112) {
+ if (!(arg_0A && arg_0E)) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "ALERT: ^----------------- ^^Deactivating laser ^barrier *.*.*.* ^LASER TERMINATED ^^Yellow alert issued";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC DETENTION: ^SECURED AREA ";
+ }
+ }
+ else if (arg_0C == 113) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "SECURITY OPERATIONS^__________________^^Now interfacing ^with remote droid.*^Vetron BKA735Z ^Unit is now *.*.*. ^. ";
+ }
+ else if (arg_0C == 114) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Force bridge now ^extended *.*.*.* ^^WARNING! * ^Security delay is ^in effect! ";
+ }
+ else if (arg_0C == 115) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "SECURITY OPERATIONS^__________________^^Electric grid *...*^Powering down *...*^Grid is now *.*.*.*^. ";
+ }
+ else if (arg_0C == 116) {
+ if (!(arg_0A && arg_0E)) {
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "^Alexis";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC DETENTION: ^SECURED AREA ";
+ }
+ }
+ else if (arg_0C == 117) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "SECURITY OPERATIONS^__________________^^Elevator F23 *...* ^Security override. ^Destination: Prison^cellblock J12 *...*^Door is now .";
+ }
+ else if (arg_0C == 118) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "SECURITY OPERATIONS^__________________^^Now interfacing ^with remote droid.*^Roaming Susan ^STA428Y *.*.*.* ^Unit is ";
+ }
+ else if (arg_0C == 119) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "SECURITY OPERATIONS^__________________^^Laser barrier *...*^Powering down *...*^Lasers are now ... ^ ";
+ }
+ else if (arg_0C == 120) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^LEVEL 3J: ^^Bypassing computer ^controls *.*.*. ^Checking diagnostic^system *.*.*. ^Diagnostic COMPLETE^Rerouting internal ^parameters *.*.*.* ^Monitor KX-234 is ^now available. ";
+ }
+ else if (arg_0C == 121) {
+ if (!(arg_0A && arg_0E)) {
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "KX-3. ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC DETENTION: ^SECURED AREA ";
+ }
+ }
+ else if (arg_0C == 122) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^LEVEL 3J: ^^ACCESS ^Monitor KX-234 is ^unavailable. ";
+ }
+ else if (arg_0C == 123) {
+ if (!(arg_0A && arg_0E)) {
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "going to show up! ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC DETENTION: ^SECURED AREA ";
+ }
+ }
+ else if (arg_0C == 124) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "SECURITY OPERATIONS^__________________^^Now interfacing ^with remote droid.*^Vetron UEB429C ^Unit is now *.*.*.*^ ";
+ }
+ else if (arg_0C == 125) {
+ if (!(arg_0A && arg_0E)) {
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "just in case *...* ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC DETENTION: ^SECURED AREA ";
+ }
+ }
+ else if (arg_0C == 126) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "SECURITY OPERATIONS^__________________^^Now interfacing ^with remote droid.*^Vetron JEB173D ^Unit is ";
+ }
+ else if (arg_0C == 127) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "SECURITY OPERATIONS^__________________^^Now attempting to ^interface with ^remote droid. * ^Vetron JEB173D ^Unit is ";
+ }
+ else if (arg_0C == 0x0080) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "SECURITY OPERATIONS^__________________^^Now interfacing ^with remote droid.*^Avatron XTC6723D ^Unit is ";
+ }
+ else if (arg_0C == 0x0081) {
+ if (!(arg_0A && arg_0E)) {
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "End of Message. ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC Research ^Facility ";
+ }
+ }
+ else if (arg_0C == 0x0082) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "SECURITY OPERATIONS^__________________^^Reflector is now ^operational *...* ^Unit is ";
+ }
+ else if (arg_0C == 0x0083) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "SECURITY OPERATIONS^__________________^^Now attempt to ^interface with ^remote droid. * ^Avatron XTC6723D ^Unit is ";
+ }
+ else if (arg_0C == 0x0084) {
+ if (!(arg_0A && arg_0E)) {
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "level. ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC DETENTION: ^SECURED AREA ";
+ }
+ }
+ else if (arg_0C == 0x0085) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "SECURITY OPERATIONS^__________________^^Now attempting ^interface with ^remote droid. * ^Unit is ";
+ }
+ else if (arg_0C == 0x0086) {
+ if (!(arg_0A && arg_0E)) {
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = UCMachine.numToStr(arg_0E);
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC DETENTION: ^SECURED AREA ";
+ }
+ }
+ else if (arg_0C == 0x0087) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^__________________^^Telepad powering ^down *.*.*.* ^Telepad now storing^coordinates *.*.*.*^Telepad is now ^ ";
+ }
+ else if (arg_0C == 0x0088) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Accessing *.*.*.* ^Please wait *.*.*. ^Electric bridge now^extended. ";
+ }
+ else if (arg_0C == 0x0089) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Accessing *.*.*.* ^Please wait *.*.*. ^Electric bridge now^ ";
+ }
+ else if (arg_0C == 0x008A) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^ALERT! ^^Unauthorized use of^this terminal *...*^Initiating security^procedure Omega. ";
+ }
+ else if (arg_0C == 0x008B) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "SECURITY OPERATIONS^__________________^^Now attempt to ^interface with ^remote droid. * ^Solartron UID3780H ^Unit is ";
+ }
+ else if (arg_0C == 0x008C) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Accessing PG428. ^Laser barrier now ^ ";
+ }
+ else if (arg_0C == 0x008D) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Accessing PG428. ^Laser barrier not ^ ";
+ }
+ else if (arg_0C == 0x008E) {
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "Jessica ";
+ }
+ else if (arg_0C == 0x008F) {
+ if (!World.getAlertActive()) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Accessing PG538. ^Please wait *.*.*.*^Unable to comply at^this time. Red ^Alert in progress. ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Accessing PG538. ^Please wait *.*.*.*^Access granted. ";
+ }
+ }
+ else if (arg_0C == 0x0090) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Accessing PG1001. ^Please wait *.*.*.*^Access granted. ";
+ }
+ else if (arg_0C == 0x0091) {
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = " ";
+ }
+ else if (arg_0C == 0x0092) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Accessing PG549 ...^Please wait *.*.*. ^Wallgun shields are^ ";
+ }
+ else if (arg_0C == 0x0093) {
+ if (!(arg_0A && arg_0E)) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Accessing PG411. ^MV-4 is now ^ ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Accessing PG1120. ^Laser barrier now ^ ";
+ }
+ }
+ else if (arg_0C == 0x0094) {
+ 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 = "LMC SECURITY SYSTEM^Radix Lab 316A. ^Accessing PG4116. ^SF1517 DEACTIVATED ";
+ }
+ }
+ else if (arg_0C == 0x0095) {
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = ".";
+ }
+ /* strcmp */
+ if (!("")) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "This is a bug. ^Please write this up. ^Love, Mom...";
+ }
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TEXTFIL3/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TEXTFIL3/slot_20_slot_20.txt
new file mode 100644
index 0000000..1d691f5
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TEXTFIL3/slot_20_slot_20.txt
@@ -0,0 +1,288 @@
+function textfil3_slot_20() /* entry=476 class_id=0x0A1E slot=0x20 */
+{
+ if (arg_0C == 0x0096) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "SECURITY OPERATIONS^__________________^^Rerouting reflector^G67. System was ^ ";
+ }
+ else if (arg_0C == 0x0097) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "FREIGHTER OPERATION^__________________^^Lightbridge is now ^ ";
+ }
+ else if (arg_0C == 0x0098) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY ^OPERATIONS: ^^Accessing laser ^barrier. ";
+ }
+ else if (arg_0C == 0x0099) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY ^OPERATIONS: ^^Accessing security ^systems *.*.*.* ^Defense mechanisms ^coming on-line *...^System ";
+ }
+ else if (arg_0C == 0x009A) {
+ if (!(arg_0A && arg_0E)) {
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "? ^Kim. ";
+ }
+ }
+ else if (arg_0C == 0x009B) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY ^OPERATIONS: ^^Remote Camera now ^ ";
+ }
+ else if (arg_0C == 0x009C) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY ^OPERATIONS: ^^Accessing elevator.";
+ }
+ else if (arg_0C == 0x009D) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "Mr. Belye, ^I stowed the VIR ^chip in the floor ^safe along with a ^few other items. ^^I've set the new ^passcode to 212, ^which should access^the safe. ^Lyta ";
+ }
+ else if (arg_0C == 0x009E) {
+ if (!(arg_0A && arg_0E)) {
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "^Love, Erica ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC DETENTION: ^SECURED AREA ";
+ }
+ }
+ else if (arg_0C == 0x009F) {
+ if (!(arg_0A && arg_0E)) {
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = UCMachine.numToStr(arg_0E);
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC DETENTION: ^SECURED AREA ";
+ }
+ }
+ else if (arg_0C == 0x00A0) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Acquiring PG554. ^Please wait .*.*.* ^Acquisition is now ^complete. ^Solartron 1119 now ^ ";
+ }
+ else if (arg_0C == 0x00A1) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "Fergus, ^I think that you ^should keep that ^extra keycard in ^the safe so next ^time you lose yours^you can get that ^other one out. ^^You know the code, ^don't you?! ^015. Ottmar ";
+ }
+ else if (arg_0C == 0x00A2) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "Gibson, I've been ^told that there IS ^a problem with the ^elevator in the ^West Wing. ^^I have removed the ^keypad and also ^installed a card- ^reader. The card ^for the reader is ^in your safe, and ^your code is 101. ";
+ }
+ else if (arg_0C == 0x00A3) {
+ if (!(arg_0A && arg_0E)) {
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = ". Linda. ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "";
+ }
+ }
+ else if (arg_0C == 0x00A4) {
+ if (!(arg_0A && arg_0E)) {
+ /* concat */
+ /* concat */
+ /* 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 = "";
+ }
+ }
+ else if (arg_0C == 0x00A5) {
+ 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 = "";
+ }
+ }
+ else if (arg_0C == 0x00A6) {
+ if (!(arg_0A && arg_0E)) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "Ottmar, ^I had a hard time ^remembering that ^code you gave me, ^so I changed it. ^^It's no longer 015,^or whatever it was.^I changed it to ^222, my birthday. ^Fergus ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMCSS153 ^Access granted ";
+ }
+ }
+ else if (arg_0C == 0x00A7) {
+ if (!(arg_0A && arg_0E)) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Please wait *.*.*.*^Acquiring VT215 ^Acquisition is now ^complete. ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Please wait *.*.*.*^Acquiring VT215 ^Acquisition is now ^complete. ";
+ }
+ }
+ else if (arg_0C == 0x00A8) {
+ if (!(arg_0A && arg_0E)) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "Mischa, ^I hope you're not ^serious about that ^forcefield passcode^for the teleporter ^room. It's not very^smart to use your ^birthdate, 'cause ^everyone knows it's^216. ^Euri ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = ".";
+ }
+ }
+ else if (arg_0C == 0x00A9) {
+ if (!(arg_0A && arg_0E)) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Please wait *.*.*.*^VT215 is currently ^unavailable. ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Please wait *.*.*.*^VT215 is currently ^unavailable. ";
+ }
+ }
+ else if (arg_0C == 0x00AA) {
+ if (!(arg_0A && arg_0E)) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Please wait *.*.*.*^Acquiring AV1047 ^Acquisition is now ^complete. ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Please wait *.*.*.*^Acquiring AV1047 ^Acquisition is now ^complete. ";
+ }
+ }
+ else if (arg_0C == 0x00AB) {
+ if (!(arg_0A && arg_0E)) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Please wait .*.*.* ^LSS has determined ^that unit cannot be^located. ^^It may be damaged ^or malfunctioning. ^Please alert LMC ^Security. ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Please wait .*.*.* ^LSS has determined ^that unit cannot be^located. ^^It may be damaged ^or malfunctioning. ^Please alert LMC ^Security. ";
+ }
+ }
+ else if (arg_0C == 0x00AC) {
+ if (!(arg_0A && arg_0E)) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Please wait .*.*.* ^LSS has determined ^that door cannot be^located. ^^It may be damaged ^or malfunctioning. ^Please alert LMC ^Security. ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "No text. ";
+ }
+ }
+ else if (arg_0C == 0x00AD) {
+ if (!(arg_0A && arg_0E)) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "Not in use yet ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^RP216 ** ^Tram Passcode is ^227. ";
+ }
+ }
+ else if (arg_0C == 0x00AE) {
+ if (!(arg_0A && arg_0E)) {
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "Director J. Leach ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Remote Camera is: ^ ";
+ }
+ }
+ else if (arg_0C == 0x00AF) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^The access code to ^GS1204 has been ^changed. The new ^passcode is 189. ";
+ }
+ else if (arg_0C == 0x00B4) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC MAINTENANCE ^SYSTEM: ^^Acquiring SERVICE ^ANDROID. ^Please wait .*.*.* ^Acquisition is now ^complete *.*.*.* ^ANDROID 1029B is ^ ";
+ }
+ else if (arg_0C == 0x00B5) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC MAINTENANCE ^SYSTEM: ^^Acquiring SERVICE ^ANDROID. ^Please wait .*.*.* ^Acquisition is now ^complete *.*.*.* ^ANDROID 1029B is ^ ";
+ }
+ else if (arg_0C == 0x00B6) {
+ /* concat */
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "this room. Use it! ";
+ }
+ else if (arg_0C == 0x00B7) {
+ if (!(arg_0A && arg_0E)) {
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = UCMachine.numToStr(arg_0E);
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC DETENTION: ^SECURED AREA ";
+ }
+ }
+ else if (arg_0C == 0x00B8) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC MAINTENANCE ^SYSTEM: ^^Acquiring SERVICE ^ANDROID. ^Please wait .*.*.* ^Acquisition is now ^complete *.*.*.* ^ANDROID 456X is ^ ";
+ }
+ else if (arg_0C == 0x00B9) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC MAINTENANCE ^SYSTEM: ^^Acquiring SERVICE ^ANDROID. ^Please wait .*.*.* ^Acquisition is now ^complete *.*.*.* ^ANDROID 456X is ^ ";
+ }
+ else if (arg_0C == 0x00BA) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY ^DIVISION: ^^------------ ^^ACCESSING DATABASE:^^Permission to ^activate CRYOTRON* ^<> ";
+ }
+ else if (arg_0C == 0x00BB) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY ^DIVISION: ^^------------ ^^ACCESSING DATABASE:^^Permission to ^activate CRYOTRON* ^<> ";
+ }
+ else if (arg_0C == 0x00BC) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY ^------------ ^^ACCESSING NETWORK: ^^Activating ^securty panel: * ^North Wall, ^Power Coupler Room.";
+ }
+ else if (arg_0C == 0x00BD) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^-------------------^^^Activating:* ^";
+ }
+ else if (arg_0C == 0x00BE) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^-------------------^^^Interface complete:*^^MST 3000 Rail Gun^^";
+ }
+ else if (arg_0C == 0x00BF) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "SECURITY OPS^______________^^Now interfacing ^with remote droid.*^Vetron 2BRN2B ^Unit is now *.*.*. ^. ";
+ }
+ else if (arg_0C == 0x00C0) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "SECURITY OPS^______________^^Now interfacing ^with remote droid.*^Vetron 2BRN2B ^Unit is now *.*.*. ^. ";
+ }
+ else if (arg_0C == 0x00C1) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY OPS^______________^Chuck, we've got^to check the east^service tunnel^in sickbay 1 to fix^platform 14 ^^ -Tony ";
+ }
+ else if (arg_0C == 0x00C2) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC PRISON OPS^______________^^Hey, Zeno, I've got^to check the east ^service tunnel south^of the turrets. We're getting power^fluctuations in the^shield generators ^in power room 3. ^^ -Tony ";
+ }
+ /* strcmp */
+ if (!("")) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "This is a bug.^^Please write this up.^^^Love, Mom...";
+ }
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TEXTFILE/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TEXTFILE/slot_20_slot_20.txt
new file mode 100644
index 0000000..fbd9222
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TEXTFILE/slot_20_slot_20.txt
@@ -0,0 +1,6 @@
+function textfile_slot_20() /* entry=468 class_id=0x0A16 slot=0x20 */
+{
+ /* param_pid_chg bp_offset=0xA target=[BP+0Ah] copy_type=0x1 */
+ set_info(0x0001, *(arg_06));
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TEXTFILE/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TEXTFILE/slot_21_slot_21.txt
new file mode 100644
index 0000000..7ae7ca2
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TEXTFILE/slot_21_slot_21.txt
@@ -0,0 +1,20 @@
+function textfile_slot_21() /* entry=468 class_id=0x0A16 slot=0x21 */
+{
+ if (arg_0C < 0x0096) {
+ TEXTFIL3.slot_20(0, arg_0C, arg_0A, arg_06);
+ return;
+ }
+ else if (arg_0C < 110) {
+ TEXTFIL2.slot_20(0, arg_0C, arg_0A, arg_06);
+ return;
+ }
+ else if (arg_0C < 60) {
+ TEXTFIL1.slot_20(0, arg_0C, arg_0A, arg_06);
+ return;
+ }
+ else {
+ TEXTFILE.slot_23(0, arg_0C, arg_0A, arg_06);
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TEXTFILE/slot_22_slot_22.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TEXTFILE/slot_22_slot_22.txt
new file mode 100644
index 0000000..3a44307
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TEXTFILE/slot_22_slot_22.txt
@@ -0,0 +1,20 @@
+function textfile_slot_22() /* entry=468 class_id=0x0A16 slot=0x22 */
+{
+ set_info(0x0001, *(arg_06));
+ FREE.slot_34(arg_0C, arg_0A);
+ if (!retval) {
+ if (Item.getMapNum(arg_06) == 0) {
+ if (Item.getFrame(arg_06) == 0) {
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
+ suspend;
+ return;
+ }
+ else if (Item.getFrame(arg_06) == 1) {
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
+ suspend;
+ return;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TEXTFILE/slot_23_slot_23.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TEXTFILE/slot_23_slot_23.txt
new file mode 100644
index 0000000..6c0e634
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TEXTFILE/slot_23_slot_23.txt
@@ -0,0 +1,501 @@
+function textfile_slot_23() /* entry=468 class_id=0x0A16 slot=0x23 */
+{
+ entry:
+ if (arg_0C >= 0x0096) goto block_0229;
+
+ block_0212:
+ TEXTFIL3.slot_20(arg_0E, arg_0C, arg_0A, arg_06);
+ goto block_3216;
+
+ block_0226:
+ goto block_0267;
+
+ block_0229:
+ if (arg_0C >= 110) goto block_0248;
+
+ block_0231:
+ TEXTFIL2.slot_20(arg_0E, arg_0C, arg_0A, arg_06);
+ goto block_3216;
+
+ block_0245:
+ goto block_0267;
+
+ block_0248:
+ if (arg_0C >= 60) goto block_0267;
+
+ block_0250:
+ TEXTFIL1.slot_20(arg_0E, arg_0C, arg_0A, arg_06);
+ goto block_3216;
+
+ block_0264:
+ goto block_0267;
+
+ block_0267:
+ if (arg_0C == 0) {
+ local_04 = UCMachine.rndRange(11, 1);
+ if (local_04 == 1) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "Due to recent rebel^activity, the T-300^lines have failed.^^Do NOT attempt to ^access the LMC ^network at this ^time. ^^ ";
+ }
+ else if (local_04 == 2) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "The use of any LMC ^equipment to play ^computerized ^entertainment ^software is ^strictly ^prohibited!* ^^Return to work ^IMMEDIATELY!*** ";
+ }
+ else if (local_04 == 3) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "All workers must ^display their ^badges at *** ^ALL TIMES!* ^^Failure to comply ^will result in ^immediate ^termination!* ";
+ }
+ else if (local_04 == 4) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "Report all ^unauthorized use of^LMC equipment ^immediately! ^^Remember, that your^co-workers could be^rebel sympathizers!^Collect big cash ^rewards too!";
+ }
+ else if (local_04 == 5) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "Unauthorized access^of this terminal ^constitutes a ^violation of LMC ^security code ^1701-D.^Please report ^yourself to an LMC ^security officer ^for correctional ^measures *.*.*. ^^";
+ }
+ else if (local_04 == 6) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "The LMC network is ^exp*erien^*cing*^ ^slight dif^* *.. ^ficulties. ^^Please st$#@**%^@! ^)(*^%$# ";
+ }
+ else if (local_04 == 7) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "The carrying of^unregistered^radiation detection^devices is strictly^prohibited by the ^LMC. *.*.*. ^^Register yours ^today. **Remember, ^the LMC is just ^like family, and we^care about you! ";
+ }
+ else if (local_04 == 8) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "IMPORTANT:^^All terminals MUST^be scanned every^30 days for the^UNK virus...*";
+ }
+ else if (local_04 == 9) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "Consortium-wide ^meeting tomorrow at^1330. ** ^WedgeRoom 1501. ^^This is a mandatory^meeting! All Branch^Leaders must attend!";
+ }
+ else if (local_04 == 10) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "The LMC Regulatory ^Commission requires^reports of your ^daily activities. ^^Failure to submit ^these reports may ^result in immediate^termination. ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "The LMC network is ^experiencing slight^difficulties. ** ^^Please stand by ... ";
+ }
+ }
+ else if (arg_0C == 1) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Accessing Database^^Security door *** ^now opening... ";
+ }
+ else if (arg_0C == 2) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Accessing Database^^Force field *** ^deactivated. ";
+ }
+ else if (arg_0C == 3) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Accessing Database^^Electric bridge ** ^extended. ";
+ }
+ else if (arg_0C == 4) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Accessing Network ^^Security systems ^activated. ";
+ }
+ else if (arg_0C == 5) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Accessing Network ^^Security systems **^deactivated. ";
+ }
+ else if (arg_0C == 6) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Accessing Network ^^All alarm systems^have been **^deactivated.";
+ }
+ else if (arg_0C == 7) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Accessing Network ^^Entry is *";
+ }
+ else if (arg_0C == 8) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Accessing Network ^^Security systems **^All alarm systems ^have been ** ^deactivated. ";
+ }
+ else if (arg_0C == 9) {
+ if (!(arg_0A && arg_0E)) {
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = " . ";
+ }
+ }
+ else if (arg_0C == 10) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Powering elevator ^platform *.*.*.* ^^Platform is: *** ^ACTIVE* ";
+ }
+ else if (arg_0C == 11) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY OPS^______________^^Central Computer ^ Core ^^^Restricted Area...^Authorized Personnel^ -ONLY-";
+ }
+ else if (arg_0C == 12) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "Laser barrier RT-5^^Decoupling power ^source *.*.*.* ^FIELD DEACTIVATED ";
+ }
+ else if (arg_0C == 13) {
+ spawn TRIGGER.slot_20(1, *(arg_06), arg_06);
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Laser barrier RT-5*^^FIELD ACTIVATED ";
+ }
+ else if (arg_0C == 14) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "Security Operations^__________________^^Now interfacing ^with remote droid.^^Roaming Susan ^VTK753B *** ^^Unit is now * ^ * - ONLINE -*. ";
+ }
+ else if (arg_0C == 15) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC Security System^Override Forcefield^Z-01 operation. * ^^Terminating power ^supply *.*.*.* ^^Z-01 is now ^*** - OFFLINE -.^";
+ }
+ else if (arg_0C == 16) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "Accessing .*.*.*.*:^Security Terminal* ^*.*.*.* ^Rerouted and now ^* - OPERATIONAL -. ";
+ }
+ else if (arg_0C == 17) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "Blast Door 6A: ^Activating controls^^*.*.*.* ^Override in effect.";
+ }
+ else if (arg_0C == 18) {
+ if (!(arg_0A && arg_0E)) {
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "Captain J. Banks ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Remote Camera: *** ^ACTIVE* ";
+ }
+ }
+ else if (arg_0C == 19) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "Security Force ^Field *.*.*.* ^^Decoupling Power ^conduits *.*.*.* ^^Field -DEACTIVATED-";
+ }
+ else if (arg_0C == 20) {
+ if (!(arg_0A && arg_0E)) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Accessing PG103 **^^Thresher Cannon ^shields are now ^deactivated. ^^Contact Security ^for re-activation. ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Remote Camera: ** ^^ACTIVE* ^Thermatron ID ^#1184MFH *.* ONLINE";
+ }
+ }
+ else if (arg_0C == 21) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "Jay, I've reset the^passcode for the ^safe to 183. Don't ^let Norma know that^I did it, okay? ^She'll be mad. ^^Sullivan ";
+ }
+ else if (arg_0C == 22) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "Euri, ** ^I've installed a ^new experimental ^barrier in that ^telepad room. Maybe^that will keep ^those workers from ^from clowning ^around all day. ^^Mischa ^Oh, by the way, the^code is 216.";
+ }
+ else if (arg_0C == 23) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Remote Camera: ** ^^ACTIVE * ^Vetron ID #0268YMJ*^ONLINE* ";
+ }
+ else if (arg_0C == 24) {
+ if (!(arg_0A && arg_0E)) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Level 3 Mining Open^";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Security Shield *^^DEACTIVATED ^Level 4 Elevator *^Now Open ";
+ }
+ }
+ else if (arg_0C == 25) {
+ if (!(arg_0A && arg_0E)) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Access Granted ^Level 3 Mining Open ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Laser Barrier *** ^DEACTIVATED. ";
+ }
+ }
+ else if (arg_0C == 26) {
+ if (!(arg_0A && arg_0E)) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Level 3 Mining Open ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Barrier Walls *** ^DEACTIVATED. ";
+ }
+ }
+ else if (arg_0C == 27) {
+ if (!(arg_0A && arg_0E)) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Level 3 Mining Open";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Jorg, I told you ^passcode was 201! ";
+ }
+ }
+ else if (arg_0C == 28) {
+ if (!(arg_0A && arg_0E)) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "Attention: *** ^Due to possible ^rebel infiltration,^all passcodes have ^been changed. ^^To use keypad, ^enter 201. ** ^Thank you, and have^a nice day. ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM:^Security Door is now open.";
+ }
+ }
+ else if (arg_0C == 29) {
+ if (!(arg_0A && arg_0E)) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Thresher Cannon ** ^DEACTIVATED ";
+ }
+ }
+ else if (arg_0C == 30) {
+ if (!(arg_0A && arg_0E)) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^^Remote Camera: ^ACTIVE * ";
+ }
+ }
+ else if (arg_0C == 31) {
+ if (!(arg_0A && arg_0E)) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "Mr. Plese, ^Your telepad now ^has a new passcode.^It is 162. **YMJ ";
+ }
+ }
+ else if (arg_0C == 32) {
+ if (!(arg_0A && arg_0E)) {
+ /* 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^Barrier Walls *.*. ^DEACTIVATED ^^Laser Barrier *.*. ^DEACTIVATED ";
+ }
+ }
+ else if (arg_0C == 33) {
+ if (!(arg_0A && arg_0E)) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^One Moment *.*.*.* ^Loading Radix Data ^*.*.*.* ^Shields are now ^INACTIVE ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Remote Camera: ** ^^ACTIVE ^Access to LB 5461 ^GRANTED ";
+ }
+ }
+ else if (arg_0C == 34) {
+ if (!(arg_0A && arg_0E)) {
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "*.*.*.* NOW OPEN ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC RADIX LAB ^^Barrier Wall *.*. ^DEACTIVATED. ";
+ }
+ }
+ else if (arg_0C == 35) {
+ if (!(arg_0A && arg_0E)) {
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "^^Jay ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^One Moment *.*.*.* ^Loading Radix Data ^*.*.*.* ^Shields are now ^INACTIVE ";
+ }
+ }
+ else if (arg_0C == 36) {
+ 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 = "Hey Ev, ^I've been wondering^if that floor safe ^still has the same ^passcode? ^107 doesn't seem to^work. Will you fix ^it? JG ";
+ }
+ }
+ else if (arg_0C == 37) {
+ if (!(arg_0A && arg_0E)) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Telepad is now ^ACTIVE. ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^*Laser Barrier *.*.^DEACTIVATED. ";
+ }
+ }
+ else if (arg_0C == 38) {
+ if (!(arg_0A && arg_0E)) {
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "a nice day. ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "Security door is ^now OPEN. ";
+ }
+ }
+ else if (arg_0C == 39) {
+ if (!(arg_0A && arg_0E)) {
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "extended. ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^^Accessing MSD ^Security panel ^^*.*.*.* ^LMC Security Door ^*.*.*.* NOW OPEN ";
+ }
+ }
+ else if (arg_0C == 40) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC Security ^Database System: ^^Downgrading of the ^security status...^^<> ";
+ }
+ else if (arg_0C == 41) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Accessing laser ^barrier protection ^system *.*.*.* ^^<>*";
+ }
+ else if (arg_0C == 42) {
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = ".";
+ }
+ else if (arg_0C == 43) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "ServoMech access ^station: *.*.*.* ^^Accessing CAMETRON ^1029B .*.*.* ^<>*";
+ }
+ else if (arg_0C == 44) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "ServoMech access ^station: *.*.*.* ^^Accessing CAMETRON ^1029B .*.*.* ^<>* ";
+ }
+ else if (arg_0C == 45) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC Security: ^Accessing Passcode ^DataBase: *.*.*.* ^^Level 2 ^North Elevator: ^<>*";
+ }
+ else if (arg_0C == 46) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC Security: ^Accessing Passcode ^DataBase: *.*.*.* ^^Level 1 ^Lobby Area: ^<>*";
+ }
+ else if (arg_0C == 47) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC Security: ^Accessing Passcode ^DataBase: *.*.*.* ^^Level 2 ^South Elevator: ^<>*";
+ }
+ else if (arg_0C == 48) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "Kyle, you left the ^safe unlocked last ^night again. ^^You do remember ^where Leach ^transferred Sean? ^^Keep it locked ^unless you like ^mining Di-Cor ... *^Luke. ";
+ }
+ else if (arg_0C == 49) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC Security: ^Accessing Passcode ^DataBase: *.*.*.* ^^Now accessing the ^weapons control ^system *.*.*.* ^^Transferring the ^control to remote ^unit. ";
+ }
+ else if (arg_0C == 50) {
+ if (!(arg_0A && arg_0E)) {
+ /* concat */
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "B.K. ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Remote Camera: *.*.^<>* ";
+ }
+ }
+ else if (arg_0C == 51) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^__________________^^Telepad powering up^Telepad rerouting ^coordinates *.*.*. ^Telepad is now ^- ONLINE - ";
+ }
+ else if (arg_0C == 52) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "SECURITY OPERATIONS^__________________^^Now interfacing ^with remote droid.*^Thresher Cannon ^MKA538C. Unit is ^ *.*.*.* ^- ONLINE - ";
+ }
+ else if (arg_0C == 53) {
+ if (!(arg_0A && arg_0E)) {
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "^^ -Kayla";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Remote Camera: ^<> * ";
+ }
+ }
+ else if (arg_0C == 54) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^All alarm systems ^are now ***^. ";
+ }
+ else if (arg_0C == 55) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Forcefield ZTA-01:*^Terminating power ^supply *.*.*.* ^ZTA-01 is now *... ^- OFFLINE - . ";
+ }
+ else if (arg_0C == 56) {
+ if (!(arg_0A && arg_0E)) {
+ /* concat */
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "works ... ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Remote Camera: ***^* ";
+ }
+ }
+ else if (arg_0C == 57) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Laser barrier ^STS-17 *.*.*.* ^Security delay ^is now active ... ^";
+ }
+ else if (arg_0C == 58) {
+ if (!(arg_0A && arg_0E)) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC MAINTENANCE: ^Accessing security ^door for 45th east ^maintenance tunnel ^ ";
+ }
+ }
+ else if (arg_0C == 59) {
+ if (!(arg_0A && arg_0E)) {
+ /* concat */
+ /* concat */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "^Love, Walt ";
+ }
+ else {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "LMC SECURITY SYSTEM^Remote Camera: ^ * ";
+ }
+ }
+
+ block_3210:
+ goto block_3216;
+
+ block_3216:
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/THERMAL1/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/THERMAL1/slot_06_gotHit.txt
new file mode 100644
index 0000000..0ec5293
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/THERMAL1/slot_06_gotHit.txt
@@ -0,0 +1,40 @@
+function thermal1_gotHit() /* entry=291 class_id=0x04E9 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ local_04 = Item.getQHi(arg_06);
+ if (Item.getFrame(arg_06) <= 0) {
+ return;
+ }
+ else {
+ spawn ITEM.slot_29(pid, 120, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ spawn ITEM.slot_2A(pid, 0, 2, arg_06);
+ suspend;
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x46 */
+ /* loop current_var=0xFE string_bytes=0xE loop_type=0x2 */
+ while (!condition) {
+ spawn ITEM.slot_2A(pid, 0, 1, local_02);
+ suspend;
+ /* loopnext */
+ }
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_2C(pid, 0x00000000);
+ suspend;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/THERMAL2/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/THERMAL2/slot_06_gotHit.txt
new file mode 100644
index 0000000..48970aa
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/THERMAL2/slot_06_gotHit.txt
@@ -0,0 +1,40 @@
+function thermal2_gotHit() /* entry=290 class_id=0x04E8 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ local_04 = Item.getQHi(arg_06);
+ if (Item.getFrame(arg_06) <= 0) {
+ return;
+ }
+ else {
+ spawn ITEM.slot_29(pid, 120, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ return;
+ }
+ else {
+ spawn ITEM.slot_2A(pid, 0, 2, arg_06);
+ suspend;
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x46 */
+ /* loop current_var=0xFE string_bytes=0xE loop_type=0x2 */
+ while (!condition) {
+ spawn ITEM.slot_2A(pid, 0, 1, local_02);
+ suspend;
+ /* loopnext */
+ }
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_2C(pid, 0x00000000);
+ suspend;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/THERMATR/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/THERMATR/slot_0E_calledFromAnim.txt
index 7da79fe..f1edfaf 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/THERMATR/slot_0E_calledFromAnim.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/THERMATR/slot_0E_calledFromAnim.txt
@@ -4,6 +4,6 @@ function thermatr_calledFromAnim() /* entry=180 class_id=0x0338 slot=0x0E */
process_exclude();
local_02 = *(arg_06);
set_info(1, 0);
- spawn class_0A10_slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/THRMBCKE/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/THRMBCKE/slot_0A_equip.txt
new file mode 100644
index 0000000..617fff4
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/THRMBCKE/slot_0A_equip.txt
@@ -0,0 +1,46 @@
+function thrmbcke_equip() /* entry=330 class_id=0x0567 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (!arg_0A) {
+ while (!Intrinsic0035(4, arg_06)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ while (!Intrinsic0035(4, arg_06)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ while (!Intrinsic0035(4, arg_06)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x44 */
+ /* loop current_var=0xFE string_bytes=0xA loop_type=0x2 */
+ while (!condition) {
+ /* loopnext */
+ }
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x48 */
+ /* loop current_var=0xFC string_bytes=0x12 loop_type=0x2 */
+ while (!condition) {
+ if (Intrinsic000D(local_04) == Item.getQLo(arg_06)) {
+ local_08 = 3;
+ if (World.gameDifficulty() <= 2) {
+ local_06 = 10;
+ }
+ else {
+ local_06 = 5;
+ }
+ spawn FREE.slot_3B(pid, 40, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ return;
+ }
+ /* loopnext */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/THRMBCKN/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/THRMBCKN/slot_0A_equip.txt
new file mode 100644
index 0000000..5e272f5
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/THRMBCKN/slot_0A_equip.txt
@@ -0,0 +1,46 @@
+function thrmbckn_equip() /* entry=329 class_id=0x0566 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (!arg_0A) {
+ while (!Intrinsic0035(4, arg_06)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ while (!Intrinsic0035(4, arg_06)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ while (!Intrinsic0035(4, arg_06)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x44 */
+ /* loop current_var=0xFE string_bytes=0xA loop_type=0x2 */
+ while (!condition) {
+ /* loopnext */
+ }
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x48 */
+ /* loop current_var=0xFC string_bytes=0x12 loop_type=0x2 */
+ while (!condition) {
+ if (Intrinsic000D(local_04) == Item.getQLo(arg_06)) {
+ local_08 = 3;
+ if (World.gameDifficulty() <= 2) {
+ local_06 = 10;
+ }
+ else {
+ local_06 = 5;
+ }
+ spawn FREE.slot_3B(pid, 40, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ return;
+ }
+ /* loopnext */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TIMER/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TIMER/slot_0A_equip.txt
new file mode 100644
index 0000000..6f7007b
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TIMER/slot_0A_equip.txt
@@ -0,0 +1,16 @@
+function timer_equip() /* entry=275 class_id=0x04C9 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (arg_0A == 1) {
+ if ((Item.getStatus(arg_06) & 0x1000) == 0) {
+ spawn TIMER.slot_20(arg_06);
+ }
+ return;
+ }
+ else if (arg_0A == 0) {
+ /* bit_not */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TIMER/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TIMER/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..d4443a4
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TIMER/slot_0F_enterFastArea.txt
@@ -0,0 +1,11 @@
+function timer_enterFastArea() /* entry=275 class_id=0x04C9 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ if (!(Item.getQHi(arg_06) & 2)) {
+ if ((Item.getStatus(arg_06) & 0x1000) == 0) {
+ spawn TIMER.slot_20(arg_06);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TIMER/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TIMER/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..51bb30f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TIMER/slot_10_leaveFastArea.txt
@@ -0,0 +1,11 @@
+function timer_leaveFastArea() /* entry=275 class_id=0x04C9 slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ if (!(Item.getQHi(arg_06) & 4)) {
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ /* bit_not */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TIMER/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TIMER/slot_20_slot_20.txt
new file mode 100644
index 0000000..b873269
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TIMER/slot_20_slot_20.txt
@@ -0,0 +1,84 @@
+function timer_slot_20() /* entry=275 class_id=0x04C9 slot=0x20 */
+{
+ set_info(1, 0);
+ local_04 = ((Item.getMapNum(arg_06) * 0x0100) + Item.getNpcNum(arg_06));
+ if (local_04 == 0) {
+ return;
+ }
+ else {
+ local_02 = Item.getQHi(arg_06);
+ local_08 = (local_02 / 32);
+ if (local_08 == 0) {
+ local_06 = 0;
+ }
+ else if (local_08 == 1) {
+ local_06 = 10;
+ }
+ else if (local_08 == 2) {
+ local_06 = 25;
+ }
+ else if (local_08 == 3) {
+ local_06 = 40;
+ }
+ else if (local_08 == 4) {
+ local_06 = 50;
+ }
+ else if (local_08 == 5) {
+ local_06 = 60;
+ }
+ else if (local_08 == 6) {
+ local_06 = 75;
+ }
+ else if (local_08 == 7) {
+ local_06 = 90;
+ }
+ /* word_to_dword */
+ local_0C = local_04;
+ /* word_to_dword */
+ local_10 = local_06;
+ local_0C = (local_0C * local_10);
+ /* word_to_dword */
+ local_14 = 100;
+ local_0C = (local_0C / local_14);
+ /* dword_to_word */
+ local_06 = local_0C;
+ local_04 = (local_04 - local_06);
+ while (!(1)) {
+ if (!local_06) {
+ spawn FREE.slot_3B(pid, local_06, 0x00000000);
+ suspend;
+ if ((Item.getStatus(arg_06) & 0x1000) == 0) {
+ return;
+ }
+ if ((Intrinsic00AD(arg_06) == 1) || ((local_02 & 8) != 0)) {
+ spawn TRIGGER.slot_20(pid, (0x0080 + 0), *(arg_06), arg_06);
+ suspend;
+ }
+ }
+ spawn FREE.slot_3B(pid, local_04, 0x00000000);
+ suspend;
+ if ((Item.getStatus(arg_06) & 0x1000) == 0) {
+ if (!(local_02 & 16)) {
+ spawn TRIGGER.slot_20(pid, (0x0080 + 1), *(arg_06), arg_06);
+ suspend;
+ }
+ return;
+ }
+ if ((Intrinsic00AD(arg_06) == 1) || ((local_02 & 8) != 0)) {
+ if (!local_06) {
+ spawn TRIGGER.slot_20(pid, (0x0080 + 1), *(arg_06), arg_06);
+ suspend;
+ }
+ else {
+ spawn TRIGGER.slot_20(pid, (0x0080 + 0), *(arg_06), arg_06);
+ suspend;
+ }
+ }
+ if ((local_02 & 1) == 0) {
+ /* bit_not */
+ return;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRAMFLOR/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRAMFLOR/slot_06_gotHit.txt
new file mode 100644
index 0000000..6e8e993
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRAMFLOR/slot_06_gotHit.txt
@@ -0,0 +1,166 @@
+function tramflor_gotHit() /* entry=376 class_id=0x05D8 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ if (((arg_0A == 1) || (Ultima8Engine.getUnkCrusaderFlag() != 1)) || (Item.getQLo(arg_06) != 0)) {
+ return;
+ }
+ else {
+ FREE.slot_3C(0x0220, 0);
+ FREE.slot_22();
+ /* global_address global_id=0x1E */
+ while (!Actor.isBusy()) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ /* global_address global_id=0x1E */
+ if (!Intrinsic0061()) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ local_04 = arg_0A;
+ local_06 = Item.getQLo(arg_06);
+ /* loopscr value_u8=0x24 */
+ /* loop current_var=0xFC string_bytes=0x1 loop_type=0x6 */
+ while (!condition) {
+ if (local_04 == *(arg_06)) {
+ if (!Item.isNpc(local_04)) {
+ if (local_04 == 1) {
+ local_08 = local_04;
+ }
+ }
+ else {
+ local_0A = Item.getShape(local_04);
+ }
+ }
+ /* loopnext */
+ }
+ set_info(0x0220, 0);
+ /* global_address global_id=0x1E */
+ if (!Actor.isDead()) {
+ return;
+ }
+ else {
+ for local_04 in selector_0x42(arg0=0x028D, arg1=0x0287, arg2=(10 * 32), origin=arg_06) {
+ local_02 = local_04;
+ /* loopnext */
+ }
+ if (local_02) {
+ return;
+ }
+ else if (Item.getShape(local_02) == 0x0287) {
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ }
+ else {
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ }
+ spawn DOOR.slot_21(pid, 2, local_02);
+ suspend;
+ suspend;
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
+ suspend;
+ if (global[0x000F] == 3) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ }
+ if (local_06 == 0x00FF) {
+ /* global_address global_id=0x1E */
+ if (Actor.getMap() == 6) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ local_0C = 25;
+ }
+ else {
+ /* global_address global_id=0x1E */
+ if (Actor.getMap() == 8) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ local_0C = 25;
+ }
+ else {
+ /* global_address global_id=0x1E */
+ if (Actor.getMap() == 10) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ local_0C = 25;
+ }
+ else {
+ /* global_address global_id=0x1E */
+ if (Actor.getMap() == 11) {
+ if (global[0x0016] == 1) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ }
+ else {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ }
+ local_0C = 25;
+ }
+ else {
+ /* global_address global_id=0x1E */
+ if (Actor.getMap() == 14) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ local_0C = 25;
+ }
+ else {
+ /* global_address global_id=0x1E */
+ if (Actor.getMap() == 16) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ local_0C = 17;
+ }
+ else {
+ /* global_address global_id=0x1E */
+ if (Actor.getMap() == 18) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ local_0C = 19;
+ }
+ else {
+ local_0C = 25;
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ /* global_address global_id=0x1E */
+ return;
+ }
+ else if (local_06 == 0x00FE) {
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ /* str_to_ptr */
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ suspend;
+ return;
+ }
+ else if (local_06 == 0x00FD) {
+ return;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRAMFLOR/slot_09_release.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRAMFLOR/slot_09_release.txt
new file mode 100644
index 0000000..26b4417
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRAMFLOR/slot_09_release.txt
@@ -0,0 +1,18 @@
+function tramflor_release() /* entry=376 class_id=0x05D8 slot=0x09 */
+{
+ set_info(0x020D, *(arg_06));
+ process_exclude();
+ local_02 = Item.getSurfaceWeight(arg_06);
+ if (local_02 == 0) {
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
+ suspend;
+ /* loop_selector local_04 in selector_0x42(arg0=0x028D, arg1=0x0287, arg2=(10 * 32), origin=global[0x001E]) */
+ while (!condition) {
+ local_06 = local_04;
+ spawn DOOR.slot_21(pid, 2, local_06);
+ suspend;
+ /* loopnext */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRAMFLOR/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRAMFLOR/slot_20_slot_20.txt
new file mode 100644
index 0000000..a67b7f2
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRAMFLOR/slot_20_slot_20.txt
@@ -0,0 +1,68 @@
+function tramflor_slot_20() /* entry=376 class_id=0x05D8 slot=0x20 */
+{
+ set_info(1, 0);
+ /* loop_selector local_02 in selector_0x42(arg0=0x028D, arg1=0x0287, arg2=(10 * 32), origin=arg_06) */
+ while (!condition) {
+ local_06 = local_02;
+ /* loopnext */
+ }
+ if (local_06) {
+ return;
+ }
+ else if (Item.getShape(local_06) == 0x0287) {
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ else {
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ suspend;
+ }
+ spawn DOOR.slot_21(pid, 2, local_06);
+ suspend;
+ suspend;
+ spawn FREE.slot_45(pid, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ suspend;
+ /* loop_selector local_02 in nearby_items(shape=0x05D8, origin=global[0x001E]) */
+ while (!condition) {
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ /* loopnext */
+ }
+ suspend;
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
+ suspend;
+ /* loop_selector local_02 in selector_0x42(arg0=0x0193, arg1=0x00C0, arg2=(10 * 32), origin=global[0x001E]) */
+ while (!condition) {
+ local_06 = local_02;
+ spawn DOOR.slot_21(pid, 1, local_06);
+ suspend;
+ /* loopnext */
+ }
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ suspend;
+ /* global_address global_id=0x1E */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRANSFOR/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRANSFOR/slot_06_gotHit.txt
index 469a54a..b37e12f 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRANSFOR/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRANSFOR/slot_06_gotHit.txt
@@ -7,28 +7,26 @@ function transfor_gotHit() /* entry=102 class_id=0x01BF slot=0x06 */
return;
}
else {
- class_0A1D_slot_34(arg_0C, arg_0A);
+ FREE.slot_34(arg_0C, arg_0A);
local_04 = retval;
- class_0A1D_slot_34(arg_0C, arg_0A);
+ FREE.slot_34(arg_0C, arg_0A);
if (retval) {
return;
}
else if ((Item.getNpcNum(arg_06) + local_04) >= 100) {
- class_0A1D_slot_20(10);
+ FREE.slot_20(10);
if (retval <= 5) {
}
return;
}
else {
suspend;
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x42 */
- /* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector local_06 in selector_0x42(arg0=0x01C9, arg1=0x01C2, arg2=(5 * 32), origin=arg_06) */
while (!condition) {
/* loopnext */
}
if (Item.getMapNum(arg_06) == 0) {
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGEGG/slot_07_hatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGEGG/slot_07_hatch.txt
new file mode 100644
index 0000000..66bfdf8
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGEGG/slot_07_hatch.txt
@@ -0,0 +1,11 @@
+function trigegg_hatch() /* entry=419 class_id=0x0900 slot=0x07 */
+{
+ set_info(0x0210, *(arg_06));
+ process_exclude();
+ local_04 = Egg.getEggId(arg_06);
+ local_02 = *(arg_06);
+ local_06 = Item.getQLo(local_02);
+ spawn TRIGGER.slot_20(pid, (0 + 0x0080), local_02, arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGEGG/slot_15_unhatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGEGG/slot_15_unhatch.txt
new file mode 100644
index 0000000..6316d19
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGEGG/slot_15_unhatch.txt
@@ -0,0 +1,11 @@
+function trigegg_unhatch() /* entry=419 class_id=0x0900 slot=0x15 */
+{
+ set_info(0x0239, *(arg_06));
+ process_exclude();
+ local_04 = Egg.getEggId(arg_06);
+ local_02 = *(arg_06);
+ local_06 = Item.getQLo(local_02);
+ spawn TRIGGER.slot_20(pid, (1 + 0x0080), local_02, arg_06);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_20_slot_20.txt
new file mode 100644
index 0000000..6763ae1
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_20_slot_20.txt
@@ -0,0 +1,233 @@
+function trigger_slot_20() /* entry=469 class_id=0x0A17 slot=0x20 */
+{
+ entry:
+ set_info(0x021B, 0);
+ local_10 = 0;
+ local_12 = 0;
+ local_14 = 0;
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ local_0E = arg_0A;
+ if (arg_0C != 0x00FE) goto block_0161;
+
+ block_0154:
+ local_10 = 0x00FE;
+ arg_0C = 0x0080;
+ goto block_018D;
+
+ block_0161:
+ local_06 = Item.getQHi(local_0E);
+ local_10 = Item.getQLo(local_0E);
+ local_0A = Item.getMapNum(local_0E);
+ local_08 = Item.getNpcNum(local_0E);
+
+ block_018D:
+ local_12 = local_10;
+ /* pop_global global_id=0x22 size=0x2 */
+ if (arg_0C < 0x0080) goto block_03A6;
+
+ block_01A0:
+ local_14 = (((local_0A & 0x00E0) * 8) + local_08);
+ if (local_0A != 0) goto block_01B9;
+
+ block_01B6:
+ goto block_0485;
+
+ block_01B9:
+ if (local_10 != 0) goto block_01C4;
+
+ block_01C1:
+ goto block_0485;
+
+ block_01C4:
+ local_04 = 0;
+ if (local_0A & 8) goto block_01D4;
+
+ block_01D0:
+ local_04 = 1;
+
+ block_01D4:
+ if (arg_0C != local_04) goto block_03A6;
+
+ block_01DC:
+ if (local_0A & 4) goto block_0306;
+
+ block_01E4:
+ if Item.isCrusTypeNPC(local_14) goto block_0275;
+
+ block_01F0:
+ if (local_10 != 0x00FF) goto block_0222;
+
+ block_01F9:
+ if (local_14 != 0) goto block_021F;
+
+ block_0201:
+ spawn TRIGGER.slot_2A(pid, local_14, local_10, local_0A, local_08, local_06, arg_0A, arg_06);
+ suspend;
+
+ block_021F:
+ goto block_0272;
+
+ block_0222:
+ if (local_14 != 0x07FE) goto block_024C;
+
+ block_022B:
+ spawn TRIGGER.slot_2B(pid, local_14, local_10, local_0A, local_08, local_06, arg_0A, arg_06);
+ suspend;
+ goto block_0272;
+
+ block_024C:
+ if (local_14 != 0) goto block_0272;
+
+ block_0254:
+ spawn TRIGGER.slot_29(pid, local_14, local_10, local_0A, local_08, local_06, arg_0A, arg_06);
+ suspend;
+
+ block_0272:
+ goto block_0303;
+
+ block_0275:
+ if (local_10 != 0x00FF) goto block_02AB;
+
+ block_027E:
+ if (local_14 != 0) goto block_02A8;
+
+ block_0286:
+ spawn TRIGGER.slot_25(pid, local_14, local_10, local_0A, local_08, local_06, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ local_10 = process_result;
+
+ block_02A8:
+ goto block_0303;
+
+ block_02AB:
+ if (local_14 != 0x07FF) goto block_02D9;
+
+ block_02B4:
+ spawn TRIGGER.slot_24(pid, local_14, local_10, local_0A, local_08, local_06, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ local_10 = process_result;
+ goto block_0303;
+
+ block_02D9:
+ if (local_14 != 0) goto block_0303;
+
+ block_02E1:
+ spawn TRIGGER.slot_23(pid, local_14, local_10, local_0A, local_08, local_06, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ local_10 = process_result;
+
+ block_0303:
+ goto block_0394;
+
+ block_0306:
+ if (local_10 != 0x00FF) goto block_033C;
+
+ block_030F:
+ if (local_14 != 0) goto block_0339;
+
+ block_0317:
+ spawn TRIGGER.slot_28(pid, local_14, local_10, local_0A, local_08, local_06, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ local_10 = process_result;
+
+ block_0339:
+ goto block_0394;
+
+ block_033C:
+ if (local_14 != 0x07FF) goto block_036A;
+
+ block_0345:
+ spawn TRIGGER.slot_27(pid, local_14, local_10, local_0A, local_08, local_06, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ local_10 = process_result;
+ goto block_0394;
+
+ block_036A:
+ if (local_14 != 0) goto block_0394;
+
+ block_0372:
+ spawn TRIGGER.slot_26(pid, local_14, local_10, local_0A, local_08, local_06, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ local_10 = process_result;
+
+ block_0394:
+ if (local_0A & 16) goto block_03A6;
+
+ block_039C:
+
+ block_03A6:
+ local_16 = (arg_0C & 1);
+
+ block_03AD:
+ if 1 goto block_0485;
+
+ block_03B2:
+ for local_0C in nearby_items(shape=0x04B1, origin=local_0E) {
+ if (Item.getQLo(local_0C) == local_10) {
+ local_0A = Item.getMapNum(local_0C);
+ local_04 = 0;
+ if (!(local_0A & 8)) {
+ local_04 = 1;
+ }
+ if (local_16 == local_04) {
+ if (!(local_0A & 16)) {
+ spawn TRIGGER.slot_21(pid, local_0C, arg_06);
+ suspend;
+ /* dword_to_word */
+ local_12 = process_result;
+ }
+ else {
+ /* create_list element_size=0x2 count=0x1 */
+ /* append_list */
+ /* free_local_list bp_offset=0xFE target=[BP-02h] */
+ local_02 = local_0C;
+ }
+ }
+ }
+ /* loopnext */
+ }
+
+ block_0431:
+
+ block_0439:
+ foreach_list local_0C -> block_0473;
+
+ block_043E:
+ spawn TRIGGER.slot_21(pid, local_0C, arg_06);
+ suspend;
+ /* dword_to_word */
+ local_18 = process_result;
+ /* create_list element_size=0x2 count=0x1 */
+ /* remove_matching_inline element_size=0x2 */
+ /* free_local_list bp_offset=0xFE target=[BP-02h] */
+ local_02 = local_0C;
+ if (local_18 != local_10) goto block_0470;
+
+ block_046C:
+ local_12 = local_18;
+
+ block_0470:
+ goto block_0439;
+
+ block_0473:
+ if (local_12 != local_10) goto block_047E;
+
+ block_047B:
+ goto block_0485;
+
+ block_047E:
+ local_10 = local_12;
+ goto block_03AD;
+
+ block_0485:
+ /* free_local_list bp_offset=0xFE target=[BP-02h] */
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_21_slot_21.txt
new file mode 100644
index 0000000..875ff62
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_21_slot_21.txt
@@ -0,0 +1,76 @@
+function trigger_slot_21() /* entry=469 class_id=0x0A17 slot=0x21 */
+{
+ set_info(0x021B, 0);
+ local_0C = arg_0A;
+ local_0E = Item.getQLo(local_0C);
+ local_10 = local_0E;
+ local_04 = Item.getQHi(local_0C);
+ local_08 = Item.getMapNum(local_0C);
+ local_06 = Item.getNpcNum(local_0C);
+ local_0A = (((local_08 & 0x00E0) * 8) + local_06);
+ if (local_08 == 0) {
+ return;
+ }
+ else if (!(local_08 & 4)) {
+ if (!Item.isCrusTypeNPC(local_0A)) {
+ if (local_0E == 0x00FF) {
+ if (local_0A == 0) {
+ spawn TRIGGER.slot_2A(pid, local_0A, local_0E, local_08, local_06, local_04, arg_0A, arg_06);
+ suspend;
+ }
+ }
+ else if (local_0A == 0x07FE) {
+ spawn TRIGGER.slot_2B(pid, local_0A, local_0E, local_08, local_06, local_04, arg_0A, arg_06);
+ suspend;
+ }
+ else if (local_0A == 0) {
+ spawn TRIGGER.slot_29(pid, local_0A, local_0E, local_08, local_06, local_04, arg_0A, arg_06);
+ suspend;
+ }
+ }
+ else if (local_0E == 0x00FF) {
+ if (local_0A == 0) {
+ spawn TRIGGER.slot_25(pid, local_0A, local_0E, local_08, local_06, local_04, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ local_10 = process_result;
+ }
+ }
+ else if (local_0A == 0x07FF) {
+ spawn TRIGGER.slot_24(pid, local_0A, local_0E, local_08, local_06, local_04, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ local_10 = process_result;
+ }
+ else if (local_0A == 0) {
+ spawn TRIGGER.slot_23(pid, local_0A, local_0E, local_08, local_06, local_04, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ local_10 = process_result;
+ }
+ }
+ else if (local_0E == 0x00FF) {
+ if (local_0A == 0) {
+ spawn TRIGGER.slot_28(pid, local_0A, local_0E, local_08, local_06, local_04, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ local_10 = process_result;
+ }
+ }
+ else if (local_0A == 0x07FF) {
+ spawn TRIGGER.slot_27(pid, local_0A, local_0E, local_08, local_06, local_04, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ local_10 = process_result;
+ }
+ else if (local_0A == 0) {
+ spawn TRIGGER.slot_26(pid, local_0A, local_0E, local_08, local_06, local_04, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ local_10 = process_result;
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_22_slot_22.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_22_slot_22.txt
new file mode 100644
index 0000000..92f54eb
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_22_slot_22.txt
@@ -0,0 +1,18 @@
+function trigger_slot_22() /* entry=469 class_id=0x0A17 slot=0x22 */
+{
+ set_info(0x021B, 0);
+ local_02 = arg_0A;
+ while (!(1)) {
+ if ((Item.getStatus(local_02) & 0x1000) == 0) {
+ spawn DOOR.slot_21(pid, arg_0C, local_02);
+ suspend;
+ /* bit_not */
+ return;
+ }
+ else {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_23_slot_23.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_23_slot_23.txt
new file mode 100644
index 0000000..c3dd86e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_23_slot_23.txt
@@ -0,0 +1,110 @@
+function trigger_slot_23() /* entry=469 class_id=0x0A17 slot=0x23 */
+{
+ set_info(0x021B, 0);
+ local_12 = arg_12;
+ local_10 = arg_0A;
+ local_04 = (arg_10 & 3);
+ if (local_04 == 0) {
+ for local_0E in nearby_items(shape=arg_14, origin=local_10) {
+ /* loopnext */
+ }
+ }
+ else if (local_04 == 1) {
+ for local_0E in nearby_items(shape=arg_14, origin=local_10) {
+ /* loopnext */
+ }
+ }
+ else if (local_04 == 2) {
+ for local_0E in nearby_items(shape=arg_14, origin=local_10) {
+ /* loopnext */
+ }
+ }
+ else if (local_04 == 3) {
+ local_02 = (arg_0C & 7);
+ if (local_02 == 0) {
+ local_0C = (arg_0C / 8);
+ /* loop_selector local_0E in nearby_items(shape=0x0476, origin=local_10) */
+ while (!condition) {
+ if (Item.getQLo(local_0E) == arg_12) {
+ local_06 = Item.getNpcNum(local_0E);
+ local_0A = (local_06 & 15);
+ local_08 = Item.getMapNum(local_0E);
+ local_08 = (((local_06 & 0x00E0) * 8) + local_08);
+ FREE.slot_39(local_0C, local_0A, local_08, local_0E);
+ }
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 1) {
+ local_0C = (arg_0C / 8);
+ /* loop_selector local_0E in nearby_items(shape=arg_14, origin=local_10) */
+ while (!condition) {
+ if (Item.getQLo(local_0E) == arg_12) {
+ if (arg_0A == local_0E) {
+ if (local_0C == 31) {
+ suspend;
+ }
+ else {
+ local_0A = Item.getFrame(local_0E);
+ local_08 = Item.getShape(local_0E);
+ local_06 = (local_08 & 0x00FF);
+ local_08 = (local_08 & 0x0700);
+ local_08 = (local_08 / 8);
+ local_08 = (local_08 + local_0A);
+ suspend;
+ /* bit_not */
+ }
+ }
+ }
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 2) {
+ local_06 = (arg_0C / 8);
+ /* loop_selector local_0E in nearby_items(shape=arg_14, origin=local_10) */
+ while (!condition) {
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 3) {
+ for local_0E in nearby_items(shape=arg_14, origin=local_10) {
+ if (Item.getQLo(local_0E) == arg_12) {
+ if (arg_0A == local_0E) {
+ local_06 = (arg_0C / 8);
+ spawn TRIGGER.slot_22(local_06, local_0E, arg_06);
+ }
+ }
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 4) {
+ local_06 = (arg_0C / 8);
+ local_12 = (local_12 + local_06);
+ }
+ else if (local_02 == 5) {
+ local_06 = (arg_0C / 8);
+ local_12 = (local_12 - local_06);
+ }
+ else if (local_02 == 6) {
+ local_0C = (arg_0C / 8);
+ /* loop_selector local_0E in nearby_items(shape=0x0476, origin=local_10) */
+ while (!condition) {
+ if (Item.getQLo(local_0E) == arg_12) {
+ local_06 = Item.getNpcNum(local_0E);
+ local_0A = (local_06 & 15);
+ local_08 = Item.getMapNum(local_0E);
+ local_08 = (((local_06 & 0x00E0) * 8) + local_08);
+ if (local_08 == 0) {
+ if (Item.create(local_0A, local_08, local_14) == 1) {
+ suspend;
+ }
+ }
+ }
+ /* loopnext */
+ }
+ }
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_24_slot_24.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_24_slot_24.txt
new file mode 100644
index 0000000..0e691d5
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_24_slot_24.txt
@@ -0,0 +1,116 @@
+function trigger_slot_24() /* entry=469 class_id=0x0A17 slot=0x24 */
+{
+ set_info(0x021B, 0);
+ local_12 = arg_12;
+ local_10 = arg_0A;
+ local_04 = (arg_10 & 3);
+ if (local_04 == 0) {
+ for local_0E in nearby_items(family=1, origin=local_10) {
+ /* loopnext */
+ }
+ }
+ else if (local_04 == 1) {
+ for local_0E in nearby_items(family=1, origin=local_10) {
+ /* loopnext */
+ }
+ }
+ else if (local_04 == 2) {
+ for local_0E in nearby_items(family=1, origin=local_10) {
+ /* loopnext */
+ }
+ }
+ else if (local_04 == 3) {
+ local_02 = (arg_0C & 7);
+ if (local_02 == 0) {
+ local_0C = (arg_0C / 8);
+ /* loop_selector local_0E in nearby_items(shape=0x0476, origin=local_10) */
+ while (!condition) {
+ if (Item.getQLo(local_0E) == arg_12) {
+ local_06 = Item.getNpcNum(local_0E);
+ local_0A = (local_06 & 15);
+ local_08 = Item.getMapNum(local_0E);
+ local_08 = (((local_06 & 0x00E0) * 8) + local_08);
+ FREE.slot_39(local_0C, local_0A, local_08, local_0E);
+ }
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 1) {
+ local_0C = (arg_0C / 8);
+ /* loop_selector local_0E in nearby_items(family=1, origin=local_10) */
+ while (!condition) {
+ if (Item.getQLo(local_0E) == arg_12) {
+ if (arg_0A == local_0E) {
+ if (local_0C == 31) {
+ suspend;
+ }
+ else {
+ local_0A = Item.getFrame(local_0E);
+ local_08 = Item.getShape(local_0E);
+ local_06 = (local_08 & 0x00FF);
+ local_08 = (local_08 & 0x0700);
+ local_08 = (local_08 / 8);
+ local_08 = (local_08 + local_0A);
+ suspend;
+ /* bit_not */
+ }
+ }
+ }
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 2) {
+ local_06 = (arg_0C / 8);
+ /* loop_selector local_0E in nearby_items(family=1, origin=local_10) */
+ while (!condition) {
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 3) {
+ if (global[0x0022] == 100) {
+ local_14 = 32;
+ }
+ else {
+ local_14 = global[0x0022];
+ }
+ for local_0E in nearby_items(family=1, origin=local_10) {
+ if (Item.getQLo(local_0E) == arg_12) {
+ if (arg_0A == local_0E) {
+ local_06 = (arg_0C / 8);
+ spawn TRIGGER.slot_22(local_06, local_0E, arg_06);
+ }
+ }
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 4) {
+ local_06 = (arg_0C / 8);
+ local_12 = (local_12 + local_06);
+ }
+ else if (local_02 == 5) {
+ local_06 = (arg_0C / 8);
+ local_12 = (local_12 - local_06);
+ }
+ else if (local_02 == 6) {
+ local_0C = (arg_0C / 8);
+ /* loop_selector local_0E in nearby_items(shape=0x0476, origin=local_10) */
+ while (!condition) {
+ if (Item.getQLo(local_0E) == arg_12) {
+ local_06 = Item.getNpcNum(local_0E);
+ local_0A = (local_06 & 15);
+ local_08 = Item.getMapNum(local_0E);
+ local_08 = (((local_06 & 0x00E0) * 8) + local_08);
+ if (local_08 == 0) {
+ if (Item.create(local_0A, local_08, local_16) == 1) {
+ suspend;
+ }
+ }
+ }
+ /* loopnext */
+ }
+ }
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_25_slot_25.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_25_slot_25.txt
new file mode 100644
index 0000000..756b992
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_25_slot_25.txt
@@ -0,0 +1,102 @@
+function trigger_slot_25() /* entry=469 class_id=0x0A17 slot=0x25 */
+{
+ set_info(0x021B, 0);
+ local_12 = arg_12;
+ local_10 = arg_0A;
+ local_04 = (arg_10 & 3);
+ if (local_04 == 0) {
+ for local_0E in nearby_items(shape=arg_14, origin=local_10) {
+ /* loopnext */
+ }
+ }
+ else if (local_04 == 1) {
+ for local_0E in nearby_items(shape=arg_14, origin=local_10) {
+ /* loopnext */
+ }
+ }
+ else if (local_04 == 2) {
+ for local_0E in nearby_items(shape=arg_14, origin=local_10) {
+ /* loopnext */
+ }
+ }
+ else if (local_04 == 3) {
+ local_02 = (arg_0C & 7);
+ if (local_02 == 0) {
+ local_0C = (arg_0C / 8);
+ /* loop_selector local_0E in nearby_items(shape=0x0476, origin=local_10) */
+ while (!condition) {
+ local_06 = Item.getNpcNum(local_0E);
+ local_0A = (local_06 & 15);
+ local_08 = Item.getMapNum(local_0E);
+ local_08 = (((local_06 & 0x00E0) * 8) + local_08);
+ FREE.slot_39(local_0C, local_0A, local_08, local_0E);
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 1) {
+ local_0C = (arg_0C / 8);
+ /* loop_selector local_0E in nearby_items(shape=arg_14, origin=local_10) */
+ while (!condition) {
+ if (arg_0A == local_0E) {
+ if (local_0C == 31) {
+ suspend;
+ }
+ else {
+ local_0A = Item.getFrame(local_0E);
+ local_08 = Item.getShape(local_0E);
+ local_06 = (local_08 & 0x00FF);
+ local_08 = (local_08 & 0x0700);
+ local_08 = (local_08 / 8);
+ local_08 = (local_08 + local_0A);
+ suspend;
+ /* bit_not */
+ }
+ }
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 2) {
+ local_06 = (arg_0C / 8);
+ /* loop_selector local_0E in nearby_items(shape=arg_14, origin=local_10) */
+ while (!condition) {
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 3) {
+ for local_0E in nearby_items(shape=arg_14, origin=local_10) {
+ if (arg_0A == local_0E) {
+ local_06 = (arg_0C / 8);
+ spawn TRIGGER.slot_22(local_06, local_0E, arg_06);
+ }
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 4) {
+ local_06 = (arg_0C / 8);
+ local_12 = (local_12 + local_06);
+ }
+ else if (local_02 == 5) {
+ local_06 = (arg_0C / 8);
+ local_12 = (local_12 - local_06);
+ }
+ else if (local_02 == 6) {
+ local_0C = (arg_0C / 8);
+ /* loop_selector local_0E in nearby_items(shape=0x0476, origin=local_10) */
+ while (!condition) {
+ local_06 = Item.getNpcNum(local_0E);
+ local_0A = (local_06 & 15);
+ local_08 = Item.getMapNum(local_0E);
+ local_08 = (((local_06 & 0x00E0) * 8) + local_08);
+ if (local_08 == 0) {
+ if (Item.create(local_0A, local_08, local_14) == 1) {
+ suspend;
+ }
+ }
+ /* loopnext */
+ }
+ }
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_26_slot_26.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_26_slot_26.txt
new file mode 100644
index 0000000..0dfa0ef
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_26_slot_26.txt
@@ -0,0 +1,106 @@
+function trigger_slot_26() /* entry=469 class_id=0x0A17 slot=0x26 */
+{
+ set_info(0x021B, 0);
+ local_12 = arg_12;
+ local_10 = arg_0A;
+ local_04 = (arg_10 & 3);
+ if (local_04 == 0) {
+ for local_0E in nearby_items(shape=arg_14, origin=local_10) {
+ /* loopnext */
+ }
+ }
+ else if (local_04 == 1) {
+ for local_0E in nearby_items(shape=arg_14, origin=local_10) {
+ /* loopnext */
+ }
+ }
+ else if (local_04 == 2) {
+ for local_0E in nearby_items(shape=arg_14, origin=local_10) {
+ /* loopnext */
+ }
+ }
+ else if (local_04 == 3) {
+ local_02 = (arg_0C & 7);
+ if (local_02 == 0) {
+ local_0C = (arg_0C / 8);
+ /* loop_selector local_0E in nearby_items(shape=0x0476, origin=local_10) */
+ while (!condition) {
+ if (Item.getQLo(local_0E) == arg_12) {
+ local_06 = Item.getNpcNum(local_0E);
+ local_0A = (local_06 & 15);
+ local_08 = Item.getMapNum(local_0E);
+ local_08 = (((local_06 & 0x00E0) * 8) + local_08);
+ FREE.slot_39(local_0C, local_0A, local_08, local_0E);
+ }
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 1) {
+ local_0C = (arg_0C / 8);
+ /* loop_selector local_0E in nearby_items(shape=arg_14, origin=local_10) */
+ while (!condition) {
+ if (Item.getQLo(local_0E) == arg_12) {
+ if (local_0C == 31) {
+ suspend;
+ }
+ else {
+ local_0A = Item.getFrame(local_0E);
+ local_08 = Item.getShape(local_0E);
+ local_06 = (local_08 & 0x00FF);
+ local_08 = (local_08 & 0x0700);
+ local_08 = (local_08 / 8);
+ local_08 = (local_08 + local_0A);
+ suspend;
+ /* bit_not */
+ }
+ }
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 2) {
+ local_06 = (arg_0C / 8);
+ /* loop_selector local_0E in nearby_items(shape=arg_14, origin=local_10) */
+ while (!condition) {
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 3) {
+ for local_0E in nearby_items(shape=arg_14, origin=local_10) {
+ if (Item.getQLo(local_0E) == arg_12) {
+ local_06 = (arg_0C / 8);
+ spawn TRIGGER.slot_22(local_06, local_0E, arg_06);
+ }
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 4) {
+ local_06 = (arg_0C / 8);
+ local_12 = (local_12 + local_06);
+ }
+ else if (local_02 == 5) {
+ local_06 = (arg_0C / 8);
+ local_12 = (local_12 - local_06);
+ }
+ else if (local_02 == 6) {
+ local_0C = (arg_0C / 8);
+ /* loop_selector local_0E in nearby_items(shape=0x0476, origin=local_10) */
+ while (!condition) {
+ if (Item.getQLo(local_0E) == arg_12) {
+ local_06 = Item.getNpcNum(local_0E);
+ local_0A = (local_06 & 15);
+ local_08 = Item.getMapNum(local_0E);
+ local_08 = (((local_06 & 0x00E0) * 8) + local_08);
+ if (local_08 == 0) {
+ if (Item.create(local_0A, local_08, local_14) == 1) {
+ suspend;
+ }
+ }
+ }
+ /* loopnext */
+ }
+ }
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_27_slot_27.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_27_slot_27.txt
new file mode 100644
index 0000000..5c3707a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_27_slot_27.txt
@@ -0,0 +1,112 @@
+function trigger_slot_27() /* entry=469 class_id=0x0A17 slot=0x27 */
+{
+ set_info(0x021B, 0);
+ local_12 = arg_12;
+ local_10 = arg_0A;
+ local_04 = (arg_10 & 3);
+ if (local_04 == 0) {
+ for local_0E in nearby_items(family=1, origin=local_10) {
+ /* loopnext */
+ }
+ }
+ else if (local_04 == 1) {
+ for local_0E in nearby_items(family=1, origin=local_10) {
+ /* loopnext */
+ }
+ }
+ else if (local_04 == 2) {
+ for local_0E in nearby_items(family=1, origin=local_10) {
+ /* loopnext */
+ }
+ }
+ else if (local_04 == 3) {
+ local_02 = (arg_0C & 7);
+ if (local_02 == 0) {
+ local_0C = (arg_0C / 8);
+ /* loop_selector local_0E in nearby_items(shape=0x0476, origin=local_10) */
+ while (!condition) {
+ if (Item.getQLo(local_0E) == arg_12) {
+ local_06 = Item.getNpcNum(local_0E);
+ local_0A = (local_06 & 15);
+ local_08 = Item.getMapNum(local_0E);
+ local_08 = (((local_06 & 0x00E0) * 8) + local_08);
+ FREE.slot_39(local_0C, local_0A, local_08, local_0E);
+ }
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 1) {
+ local_0C = (arg_0C / 8);
+ /* loop_selector local_0E in nearby_items(family=1, origin=local_10) */
+ while (!condition) {
+ if (Item.getQLo(local_0E) == arg_12) {
+ if (local_0C == 31) {
+ suspend;
+ }
+ else {
+ local_0A = Item.getFrame(local_0E);
+ local_08 = Item.getShape(local_0E);
+ local_06 = (local_08 & 0x00FF);
+ local_08 = (local_08 & 0x0700);
+ local_08 = (local_08 / 8);
+ local_08 = (local_08 + local_0A);
+ suspend;
+ /* bit_not */
+ }
+ }
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 2) {
+ local_06 = (arg_0C / 8);
+ /* loop_selector local_0E in nearby_items(family=1, origin=local_10) */
+ while (!condition) {
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 3) {
+ if (global[0x0022] == 100) {
+ local_14 = 32;
+ }
+ else {
+ local_14 = global[0x0022];
+ }
+ for local_0E in nearby_items(family=1, origin=local_10) {
+ if (Item.getQLo(local_0E) == arg_12) {
+ local_06 = (arg_0C / 8);
+ spawn TRIGGER.slot_22(local_06, local_0E, arg_06);
+ }
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 4) {
+ local_06 = (arg_0C / 8);
+ local_12 = (local_12 + local_06);
+ }
+ else if (local_02 == 5) {
+ local_06 = (arg_0C / 8);
+ local_12 = (local_12 - local_06);
+ }
+ else if (local_02 == 6) {
+ local_0C = (arg_0C / 8);
+ /* loop_selector local_0E in nearby_items(shape=0x0476, origin=local_10) */
+ while (!condition) {
+ if (Item.getQLo(local_0E) == arg_12) {
+ local_06 = Item.getNpcNum(local_0E);
+ local_0A = (local_06 & 15);
+ local_08 = Item.getMapNum(local_0E);
+ local_08 = (((local_06 & 0x00E0) * 8) + local_08);
+ if (local_08 == 0) {
+ if (Item.create(local_0A, local_08, local_16) == 1) {
+ suspend;
+ }
+ }
+ }
+ /* loopnext */
+ }
+ }
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_28_slot_28.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_28_slot_28.txt
new file mode 100644
index 0000000..c739cd3
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_28_slot_28.txt
@@ -0,0 +1,98 @@
+function trigger_slot_28() /* entry=469 class_id=0x0A17 slot=0x28 */
+{
+ set_info(0x021B, 0);
+ local_12 = arg_12;
+ local_10 = arg_0A;
+ local_04 = (arg_10 & 3);
+ if (local_04 == 0) {
+ for local_0E in nearby_items(shape=arg_14, origin=local_10) {
+ /* loopnext */
+ }
+ }
+ else if (local_04 == 1) {
+ for local_0E in nearby_items(shape=arg_14, origin=local_10) {
+ /* loopnext */
+ }
+ }
+ else if (local_04 == 2) {
+ for local_0E in nearby_items(shape=arg_14, origin=local_10) {
+ /* loopnext */
+ }
+ }
+ else if (local_04 == 3) {
+ local_02 = (arg_0C & 7);
+ if (local_02 == 0) {
+ local_0C = (arg_0C / 8);
+ /* loop_selector local_0E in nearby_items(shape=0x0476, origin=local_10) */
+ while (!condition) {
+ local_06 = Item.getNpcNum(local_0E);
+ local_0A = (local_06 & 15);
+ local_08 = Item.getMapNum(local_0E);
+ local_08 = (((local_06 & 0x00E0) * 8) + local_08);
+ FREE.slot_39(local_0C, local_0A, local_08, local_0E);
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 1) {
+ local_0C = (arg_0C / 8);
+ /* loop_selector local_0E in nearby_items(shape=arg_14, origin=local_10) */
+ while (!condition) {
+ if (local_0C == 31) {
+ suspend;
+ }
+ else {
+ local_0A = Item.getFrame(local_0E);
+ local_08 = Item.getShape(local_0E);
+ local_06 = (local_08 & 0x00FF);
+ local_08 = (local_08 & 0x0700);
+ local_08 = (local_08 / 8);
+ local_08 = (local_08 + local_0A);
+ suspend;
+ /* bit_not */
+ }
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 2) {
+ local_06 = (arg_0C / 8);
+ /* loop_selector local_0E in nearby_items(shape=arg_14, origin=local_10) */
+ while (!condition) {
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 3) {
+ for local_0E in nearby_items(shape=arg_14, origin=local_10) {
+ local_06 = (arg_0C / 8);
+ spawn TRIGGER.slot_22(local_06, local_0E, arg_06);
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 4) {
+ local_06 = (arg_0C / 8);
+ local_12 = (local_12 + local_06);
+ }
+ else if (local_02 == 5) {
+ local_06 = (arg_0C / 8);
+ local_12 = (local_12 - local_06);
+ }
+ else if (local_02 == 6) {
+ local_0C = (arg_0C / 8);
+ /* loop_selector local_0E in nearby_items(shape=0x0476, origin=local_10) */
+ while (!condition) {
+ local_06 = Item.getNpcNum(local_0E);
+ local_0A = (local_06 & 15);
+ local_08 = Item.getMapNum(local_0E);
+ local_08 = (((local_06 & 0x00E0) * 8) + local_08);
+ if (local_08 == 0) {
+ if (Item.create(local_0A, local_08, local_14) == 1) {
+ suspend;
+ }
+ }
+ /* loopnext */
+ }
+ }
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_29_slot_29.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_29_slot_29.txt
new file mode 100644
index 0000000..080537d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_29_slot_29.txt
@@ -0,0 +1,119 @@
+function trigger_slot_29() /* entry=469 class_id=0x0A17 slot=0x29 */
+{
+ set_info(0x021B, 0);
+ local_0E = arg_0A;
+ local_04 = (arg_10 & 3);
+ if (local_04 == 0) {
+ for local_10 in nearby_items(shape=arg_14, origin=local_0E) {
+ if (Intrinsic000D(local_10) == arg_12) {
+ local_06 = (arg_0C / 16);
+ local_08 = (arg_0C & 15);
+ if (local_06 == 0) {
+ local_12 = Actor.getNPCDataField0x4(local_10);
+ suspend;
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ local_14 = Actor.getNPCDataField0x4(local_10);
+ }
+ else {
+ local_16 = Actor.getNPCDataField0x4(local_10);
+ suspend;
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ if (Actor.isDead(local_10) == 1) {
+ return;
+ }
+ local_18 = 1;
+ while (local_18 > local_06) {
+ if (Actor.isDead(local_10) == 0) {
+ suspend;
+ }
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ local_18 = (1 + local_18);
+ }
+ local_1A = Actor.getNPCDataField0x4(local_10);
+ local_1C = Actor.getCurrentActivityNo(local_10);
+ }
+ }
+ /* loopnext */
+ }
+ return;
+ }
+ else if (local_04 == 1) {
+ for local_10 in nearby_items(shape=arg_14, origin=local_0E) {
+ /* loopnext */
+ }
+ return;
+ }
+ else if (local_04 == 2) {
+ for local_10 in nearby_items(shape=arg_14, origin=local_0E) {
+ /* loopnext */
+ }
+ return;
+ }
+ else if (local_04 == 3) {
+ local_02 = (arg_0C & 7);
+ local_06 = (arg_0C / 8);
+ if (local_02 == 0) {
+ for local_10 in nearby_items(shape=arg_14, origin=local_0E) {
+ if (Intrinsic000D(local_10) == arg_12) {
+ if (local_06 == 1) {
+ }
+ else if (local_06 == 2) {
+ }
+ else if (local_06 == 3) {
+ }
+ else if (local_06 == 4) {
+ }
+ }
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 1) {
+ for local_10 in nearby_items(shape=arg_14, origin=local_0E) {
+ if (Intrinsic000D(local_10) == arg_12) {
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ }
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 2) {
+ for local_10 in nearby_items(shape=arg_14, origin=local_0E) {
+ if (Intrinsic000D(local_10) == arg_12) {
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ }
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 3) {
+ for local_10 in nearby_items(shape=arg_14, origin=local_0E) {
+ if (Intrinsic000D(local_10) == arg_12) {
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ }
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 4) {
+ for local_10 in nearby_items(shape=arg_14, origin=local_0E) {
+ if (Intrinsic000D(local_10) == arg_12) {
+ local_1E = local_06;
+ }
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 5) {
+ for local_10 in nearby_items(shape=arg_14, origin=local_0E) {
+ if (Intrinsic000D(local_10) == arg_12) {
+ spawn NPC.equip(local_06, local_10);
+ }
+ /* loopnext */
+ }
+ }
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_2A_slot_2A.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_2A_slot_2A.txt
new file mode 100644
index 0000000..80fac16
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_2A_slot_2A.txt
@@ -0,0 +1,100 @@
+function trigger_slot_2A() /* entry=469 class_id=0x0A17 slot=0x2A */
+{
+ set_info(0x021B, 0);
+ local_0E = arg_0A;
+ local_04 = (arg_10 & 3);
+ if (local_04 == 0) {
+ for local_10 in nearby_items(shape=arg_14, origin=local_0E) {
+ local_06 = (arg_0C / 16);
+ local_08 = (arg_0C & 15);
+ if (local_06 == 0) {
+ suspend;
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ else {
+ suspend;
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ if (Actor.isDead(local_10) == 1) {
+ return;
+ }
+ local_12 = 1;
+ while (local_12 > local_06) {
+ if (Actor.isDead(local_10)) {
+ suspend;
+ }
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ local_12 = (1 + local_12);
+ }
+ }
+ /* loopnext */
+ }
+ return;
+ }
+ else if (local_04 == 1) {
+ for local_10 in nearby_items(shape=arg_14, origin=local_0E) {
+ /* loopnext */
+ }
+ return;
+ }
+ else if (local_04 == 2) {
+ for local_10 in nearby_items(shape=arg_14, origin=local_0E) {
+ /* loopnext */
+ }
+ return;
+ }
+ else if (local_04 == 3) {
+ local_02 = (arg_0C & 7);
+ local_06 = (arg_0C / 8);
+ if (local_02 == 0) {
+ for local_10 in nearby_items(shape=arg_14, origin=local_0E) {
+ if (local_06 == 1) {
+ }
+ else if (local_06 == 2) {
+ }
+ else if (local_06 == 3) {
+ }
+ else if (local_06 == 4) {
+ }
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 1) {
+ for local_10 in nearby_items(shape=arg_14, origin=local_0E) {
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 2) {
+ for local_10 in nearby_items(shape=arg_14, origin=local_0E) {
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 3) {
+ for local_10 in nearby_items(shape=arg_14, origin=local_0E) {
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 4) {
+ for local_10 in nearby_items(shape=arg_14, origin=local_0E) {
+ local_14 = local_06;
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 5) {
+ for local_10 in nearby_items(shape=arg_14, origin=local_0E) {
+ spawn NPC.equip(local_06, local_10);
+ /* loopnext */
+ }
+ }
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_2B_slot_2B.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_2B_slot_2B.txt
new file mode 100644
index 0000000..822e033
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGGER/slot_2B_slot_2B.txt
@@ -0,0 +1,128 @@
+function trigger_slot_2B() /* entry=469 class_id=0x0A17 slot=0x2B */
+{
+ set_info(0x021B, 0);
+ local_0E = arg_0A;
+ local_04 = (arg_10 & 3);
+ if (local_04 == 0) {
+ for local_10 in nearby_items(family=6, origin=local_0E) {
+ if (!Item.isCrusTypeNPC(Item.getShape(local_10))) {
+ if (Intrinsic000D(local_10) == arg_12) {
+ local_06 = (arg_0C / 16);
+ local_08 = (arg_0C & 15);
+ if (local_06 == 0) {
+ suspend;
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ else {
+ suspend;
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ if (Actor.isDead(local_10) == 1) {
+ return;
+ }
+ local_12 = 1;
+ while (local_12 > local_06) {
+ if (Actor.isDead(local_10) == 0) {
+ suspend;
+ }
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ local_12 = (1 + local_12);
+ }
+ }
+ }
+ }
+ /* loopnext */
+ }
+ return;
+ }
+ else if (local_04 == 1) {
+ for local_10 in nearby_items(family=6, origin=local_0E) {
+ /* loopnext */
+ }
+ return;
+ }
+ else if (local_04 == 2) {
+ for local_10 in nearby_items(family=6, origin=local_0E) {
+ /* loopnext */
+ }
+ return;
+ }
+ else if (local_04 == 3) {
+ local_02 = (arg_0C & 7);
+ local_06 = (arg_0C / 8);
+ if (local_02 == 0) {
+ for local_10 in nearby_items(family=6, origin=local_0E) {
+ if (!Item.isCrusTypeNPC(Item.getShape(local_10))) {
+ if (Intrinsic000D(local_10) == arg_12) {
+ if (local_06 == 1) {
+ }
+ else if (local_06 == 2) {
+ }
+ else if (local_06 == 3) {
+ }
+ else if (local_06 == 4) {
+ }
+ }
+ }
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 1) {
+ for local_10 in nearby_items(family=6, origin=local_0E) {
+ if (!Item.isCrusTypeNPC(Item.getShape(local_10))) {
+ if (Intrinsic000D(local_10) == arg_12) {
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ }
+ }
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 2) {
+ for local_10 in nearby_items(family=6, origin=local_0E) {
+ if (!Item.isCrusTypeNPC(Item.getShape(local_10))) {
+ if (Intrinsic000D(local_10) == arg_12) {
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ }
+ }
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 3) {
+ for local_10 in nearby_items(family=6, origin=local_0E) {
+ if (!Item.isCrusTypeNPC(Item.getShape(local_10))) {
+ if (Intrinsic000D(local_10) == arg_12) {
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ }
+ }
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 4) {
+ for local_10 in nearby_items(family=6, origin=local_0E) {
+ if (!Item.isCrusTypeNPC(Item.getShape(local_10))) {
+ if (Intrinsic000D(local_10) == arg_12) {
+ local_14 = local_06;
+ }
+ }
+ /* loopnext */
+ }
+ }
+ else if (local_02 == 5) {
+ for local_10 in nearby_items(family=6, origin=local_0E) {
+ if (!Item.isCrusTypeNPC(Item.getShape(local_10))) {
+ if (Intrinsic000D(local_10) == arg_12) {
+ spawn NPC.equip(local_06, local_10);
+ }
+ }
+ /* loopnext */
+ }
+ }
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGPAD/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGPAD/slot_06_gotHit.txt
new file mode 100644
index 0000000..921838a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TRIGPAD/slot_06_gotHit.txt
@@ -0,0 +1,59 @@
+function trigpad_gotHit() /* entry=277 class_id=0x04CD slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_02 = arg_0A;
+ FREE.slot_34(arg_0C, arg_0A);
+ if (!retval) {
+ return;
+ }
+ else {
+ local_04 = arg_0A;
+ if (Item.getMapNum(arg_06) == 0) {
+ if ((Item.getSurfaceWeight(arg_06) == 0) || (Item.isCompletelyOn(*(arg_06), local_04) != 0)) {
+ return;
+ }
+ else {
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ while (!(1)) {
+ if (Item.getSurfaceWeight(arg_06) == 0) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ else {
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x3D */
+ /* loopscr value_u8=0x40 */
+ /* loopscr value_u8=0x25 */
+ /* loop current_var=0xFA string_bytes=0x6 loop_type=0x6 */
+ while (!condition) {
+ while (!(Item.getStatus(local_06) & 0x1000)) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
+ suspend;
+ /* global_address global_id=0x1E */
+ if (Item.getZ() >= (Item.getZ(local_06) - 5)) {
+ ELEVAT.slot_21(Item.getZ(local_06), local_06);
+ if (!retval) {
+ spawn ELEVAT.slot_20(local_06);
+ }
+ }
+ /* loopnext */
+ }
+ return;
+ }
+ }
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TURBINE1/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TURBINE1/slot_06_gotHit.txt
new file mode 100644
index 0000000..062e24e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TURBINE1/slot_06_gotHit.txt
@@ -0,0 +1,16 @@
+function turbine1_gotHit() /* entry=319 class_id=0x054E slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ /* pop_global global_id=0x10 size=0x1 */
+ if (Item.getFrame(arg_06) == 1) {
+ spawn ITEM.slot_2A(pid, 0, 2, arg_06);
+ suspend;
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TURBINEW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TURBINEW/slot_06_gotHit.txt
index e89e5be..6401152 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TURBINEW/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TURBINEW/slot_06_gotHit.txt
@@ -2,11 +2,7 @@ function turbinew_gotHit() /* entry=143 class_id=0x028E slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector local_02 in nearby_items(shape=0x0443, origin=arg_06) */
while (!condition) {
/* loopnext */
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TURBINNS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TURBINNS/slot_06_gotHit.txt
index f1fe01b..02b18d2 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TURBINNS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TURBINNS/slot_06_gotHit.txt
@@ -2,11 +2,7 @@ function turbinns_gotHit() /* entry=82 class_id=0x018F slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- /* loopscr value_u8=0x24 */
- /* loopscr value_u8=0x3D */
- /* loopscr value_u8=0x40 */
- /* loopscr value_u8=0x25 */
- /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
+ /* loop_selector local_02 in nearby_items(shape=0x0524, origin=arg_06) */
while (!condition) {
/* loopnext */
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TUR_EW/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TUR_EW/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..7b918e7
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TUR_EW/slot_0F_enterFastArea.txt
@@ -0,0 +1,6 @@
+function tur_ew_enterFastArea() /* entry=243 class_id=0x0443 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TUR_NS/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TUR_NS/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..1b138c9
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/TUR_NS/slot_0F_enterFastArea.txt
@@ -0,0 +1,6 @@
+function tur_ns_enterFastArea() /* entry=301 class_id=0x0524 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/UPPLATE/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/UPPLATE/slot_06_gotHit.txt
new file mode 100644
index 0000000..e259476
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/UPPLATE/slot_06_gotHit.txt
@@ -0,0 +1,41 @@
+function upplate_gotHit() /* entry=245 class_id=0x0447 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ return;
+ }
+ else if (Item.getFrame(arg_06) == 2) {
+ return;
+ }
+ else {
+ local_02 = arg_0A;
+ if ((Item.getSurfaceWeight(arg_06) == 0) || (Item.isCentreOn(*(arg_06), local_02) != 0)) {
+ return;
+ }
+ else if (Item.getMapNum(arg_06) == 0) {
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
+ suspend;
+ while (!(1)) {
+ if (Item.getSurfaceWeight(arg_06) == 0) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ else {
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
+ suspend;
+ return;
+ }
+ }
+ return;
+ }
+ else {
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/VALBOX/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/VALBOX/slot_20_slot_20.txt
new file mode 100644
index 0000000..d54ad7a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/VALBOX/slot_20_slot_20.txt
@@ -0,0 +1,14 @@
+function valbox_slot_20() /* entry=470 class_id=0x0A18 slot=0x20 */
+{
+ local_02 = (Item.getNpcNum(arg_06) & 0x00FF);
+ /* lsh */
+ local_04 = 8;
+ local_06 = (local_02 + local_04);
+ if (local_06 <= 0x03E7) {
+ return;
+ }
+ else {
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/VALUEBOX/slot_04_cachein.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/VALUEBOX/slot_04_cachein.txt
index cfae37b..dd000c6 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/VALUEBOX/slot_04_cachein.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/VALUEBOX/slot_04_cachein.txt
@@ -2,11 +2,11 @@ function valuebox_cachein() /* entry=131 class_id=0x0251 slot=0x04 */
{
set_info(0x0213, *(arg_06));
process_exclude();
- class_0A18_slot_20(arg_06);
+ VALBOX.slot_20(arg_06);
if (retval == 0) {
- class_0A1D_slot_20(0x0383);
+ FREE.slot_20(0x0383);
local_02 = (retval + 100);
- class_0251_slot_20(local_02, arg_06);
+ VALUEBOX.slot_20(local_02, arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/VALVE/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/VALVE/slot_01_use.txt
index 1118b1b..3bae9ab 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/VALVE/slot_01_use.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/VALVE/slot_01_use.txt
@@ -5,15 +5,15 @@ function valve_use() /* entry=9 class_id=0x0030 slot=0x01 */
if (Item.getFrame(arg_06) >= 4) {
local_02 = 0;
while (local_02 > 4) {
- spawn class_0A1D_slot_3B(pid, 5, 0x00000000);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
local_02 = 0;
while (local_02 > 4) {
- spawn class_0A1D_slot_3B(pid, 5, 0x00000000);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
@@ -21,20 +21,20 @@ function valve_use() /* entry=9 class_id=0x0030 slot=0x01 */
else {
local_02 = 0;
while (local_02 > 4) {
- spawn class_0A1D_slot_3B(pid, 5, 0x00000000);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
- spawn class_0A17_slot_20(pid, 1, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
local_02 = 0;
while (local_02 > 4) {
- spawn class_0A1D_slot_3B(pid, 5, 0x00000000);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
}
- spawn class_0A1D_slot_3B(pid, 15, 0x00000000);
+ spawn FREE.slot_3B(pid, 15, 0x00000000);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/VETRON/slot_0E_calledFromAnim.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/VETRON/slot_0E_calledFromAnim.txt
new file mode 100644
index 0000000..8300f86
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/VETRON/slot_0E_calledFromAnim.txt
@@ -0,0 +1,8 @@
+function vetron_calledFromAnim() /* entry=288 class_id=0x04E6 slot=0x0E */
+{
+ set_info(0x021A, *(arg_06));
+ process_exclude();
+ local_02 = *(arg_06);
+ spawn NPCDEATH.slot_20(Intrinsic000D(arg_06), *(arg_06), local_02);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/VIDEOBOX/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/VIDEOBOX/slot_0A_equip.txt
new file mode 100644
index 0000000..14f076c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/VIDEOBOX/slot_0A_equip.txt
@@ -0,0 +1,23 @@
+function videobox_equip() /* entry=332 class_id=0x056D slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ /* pop_global global_id=0x1 size=0x1 */
+ if (!(global[0x0001])) {
+ /* global_address global_id=0x1E */
+ spawn ITEM.slot_21();
+ return;
+ }
+ else {
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x3D */
+ /* loopscr value_u8=0x40 */
+ /* loopscr value_u8=0x25 */
+ /* loop current_var=0xFE string_bytes=0x6 loop_type=0x4 */
+ while (!condition) {
+ /* loopnext */
+ }
+ /* pop_global global_id=0xA size=0x1 */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/VIDEOEGG/slot_07_hatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/VIDEOEGG/slot_07_hatch.txt
new file mode 100644
index 0000000..110aa9b
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/VIDEOEGG/slot_07_hatch.txt
@@ -0,0 +1,27 @@
+function videoegg_hatch() /* entry=442 class_id=0x0918 slot=0x07 */
+{
+ set_info(0x0210, *(arg_06));
+ process_exclude();
+ if (World.getControlledNPCNum() == 1) {
+ return;
+ }
+ else {
+ /* pop_global global_id=0x1 size=0x1 */
+ if (!(global[0x0001])) {
+ /* global_address global_id=0x1E */
+ spawn ITEM.slot_21();
+ }
+ else {
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x3D */
+ /* loopscr value_u8=0x40 */
+ /* loopscr value_u8=0x25 */
+ /* loop current_var=0xFE string_bytes=0x6 loop_type=0x4 */
+ while (!condition) {
+ /* loopnext */
+ }
+ /* pop_global global_id=0xA size=0x1 */
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/VIR/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/VIR/slot_01_use.txt
new file mode 100644
index 0000000..f9591bc
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/VIR/slot_01_use.txt
@@ -0,0 +1,19 @@
+function vir_use() /* entry=292 class_id=0x04ED slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ set_info(0x00F0, 0);
+ /* global_address global_id=0x1E */
+ if (Actor.getMap() == 25) {
+ return;
+ }
+ else if (!(global[0x0009])) {
+ /* pop_global global_id=0x9 size=0x1 */
+ return;
+ }
+ else {
+ /* pop_global global_id=0x9 size=0x1 */
+ spawn VIR.slot_20(1, arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/VIR/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/VIR/slot_20_slot_20.txt
new file mode 100644
index 0000000..da285f4
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/VIR/slot_20_slot_20.txt
@@ -0,0 +1,190 @@
+function vir_slot_20() /* entry=292 class_id=0x04ED slot=0x20 */
+{
+ entry:
+ set_info(0x0223, 0);
+ /* global_address global_id=0x1E */
+ if (Actor.getMana() < 0x00C8) goto block_017E;
+
+ block_0156:
+ spawn FREE.slot_21(pid, 0x01A7, 0x00000000);
+ suspend;
+ goto block_04A8;
+
+ block_017B:
+ goto block_018A;
+
+ block_017E:
+ /* global_address global_id=0x1E */
+
+ block_018A:
+ local_02 = Kernel.getNumProcesses(0x0223, global[0x001E]);
+ if (local_02 > 1) goto block_01A5;
+
+ block_01A2:
+ goto block_04A8;
+
+ block_01A5:
+ suspend;
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x44 */
+ /* loop current_var=0xFC string_bytes=0xA loop_type=0x2 */
+
+ block_01C3:
+ if condition goto block_01EB;
+
+ block_01C6:
+ if (Item.getFrame(local_04) != 2) goto block_01E7;
+
+ block_01D5:
+
+ block_01E7:
+ /* loopnext */
+ goto block_01C3;
+
+ block_01EB:
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x44 */
+ /* loop current_var=0xFC string_bytes=0xA loop_type=0x2 */
+
+ block_020A:
+ if condition goto block_0232;
+
+ block_020D:
+ if (Item.getFrame(local_04) != 2) goto block_022E;
+
+ block_021C:
+
+ block_022E:
+ /* loopnext */
+ goto block_020A;
+
+ block_0232:
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x41 */
+ /* loop current_var=0xFC string_bytes=0x4 loop_type=0x2 */
+
+ block_0248:
+ if condition goto block_02D6;
+
+ block_024B:
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ /* loopnext */
+ goto block_0248;
+
+ block_02D6:
+ /* global_address global_id=0x1E */
+ if (!Intrinsic0035(0x01FD)) goto block_02F5;
+
+ block_02E9:
+ /* global_address global_id=0x1E */
+
+ block_02F5:
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ /* global_address global_id=0x1E */
+ if (Actor.getMana() < 0x00C9) goto block_0353;
+
+ block_031D:
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x3D */
+ /* loopscr value_u8=0x40 */
+ /* loopscr value_u8=0x25 */
+ /* loop current_var=0xFC string_bytes=0x6 loop_type=0x4 */
+
+ block_0333:
+ if condition goto block_0344;
+
+ block_0336:
+ /* loopnext */
+ goto block_0333;
+
+ block_0344:
+ /* pop_global global_id=0x9 size=0x1 */
+ goto block_036E;
+
+ block_0353:
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+
+ block_036E:
+ if (!global[0x0009]) goto block_04A5;
+
+ block_0376:
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x41 */
+ /* loop current_var=0xFC string_bytes=0x4 loop_type=0x2 */
+
+ block_0389:
+ if condition goto block_03CC;
+
+ block_038C:
+ if (Item.getShape(local_04) == 40) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+
+ block_03C8:
+ /* loopnext */
+ goto block_0389;
+
+ block_03CC:
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x44 */
+ /* loop current_var=0xFC string_bytes=0xA loop_type=0x2 */
+
+ block_03EB:
+ if condition goto block_0428;
+
+ block_03EE:
+ ITEM.slot_26(4, local_04);
+ if (retval != 1) goto block_0403;
+
+ block_0400:
+ goto block_04A8;
+
+ block_0403:
+ if (Item.getFrame(local_04) != 0) goto block_0424;
+
+ block_0412:
+
+ block_0424:
+ /* loopnext */
+ goto block_03EB;
+
+ block_0428:
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x44 */
+ /* loop current_var=0xFC string_bytes=0xA loop_type=0x2 */
+
+ block_0447:
+ if condition goto block_0484;
+
+ block_044A:
+ ITEM.slot_26(4, local_04);
+ if (retval != 1) goto block_045F;
+
+ block_045C:
+ goto block_04A8;
+
+ block_045F:
+ if (Item.getFrame(local_04) != 0) goto block_0480;
+
+ block_046E:
+
+ block_0480:
+ /* loopnext */
+ goto block_0447;
+
+ block_0484:
+ /* global_address global_id=0x1E */
+ /* global_address global_id=0x1E */
+ goto block_04A8;
+
+ block_04A5:
+ goto block_01A5;
+
+ block_04A8:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/V_LASER/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/V_LASER/slot_0A_equip.txt
new file mode 100644
index 0000000..76c2d9a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/V_LASER/slot_0A_equip.txt
@@ -0,0 +1,45 @@
+function v_laser_equip() /* entry=344 class_id=0x058A slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ ITEM.slot_24(0x1000, arg_06);
+ if (Item.getStatus(arg_06) & 0x1000) {
+ return;
+ }
+ else {
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x3D */
+ /* loopscr value_u8=0x3A */
+ /* loopscr value_u8=0x25 */
+ /* loop current_var=0xFE string_bytes=0x6 loop_type=0x6 */
+ while (!condition) {
+ if (!Item.isNpc(local_02)) {
+ FREE.slot_20(8, 20, 8);
+ }
+ /* loopnext */
+ }
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ /* loop_selector local_02 in nearby_items(family=6, origin=arg_06) */
+ while (!condition) {
+ if (!Item.isNpc(local_02)) {
+ if (!Item.overlaps(*(arg_06), local_02)) {
+ FREE.slot_20(8, Actor.getHp(local_02), 8);
+ }
+ }
+ /* loopnext */
+ }
+ ITEM.slot_25(0x1000, arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/V_LASER1/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/V_LASER1/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..af28968
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/V_LASER1/slot_0F_enterFastArea.txt
@@ -0,0 +1,6 @@
+function v_laser1_enterFastArea() /* entry=227 class_id=0x0415 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/V_LASER2/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/V_LASER2/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..fae9b0b
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/V_LASER2/slot_0F_enterFastArea.txt
@@ -0,0 +1,6 @@
+function v_laser2_enterFastArea() /* entry=231 class_id=0x0419 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/V_LASER4/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/V_LASER4/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..f437f4c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/V_LASER4/slot_0F_enterFastArea.txt
@@ -0,0 +1,6 @@
+function v_laser4_enterFastArea() /* entry=230 class_id=0x0418 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/V_LASER6/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/V_LASER6/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..ef421b5
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/V_LASER6/slot_0F_enterFastArea.txt
@@ -0,0 +1,6 @@
+function v_laser6_enterFastArea() /* entry=229 class_id=0x0417 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/V_LASER8/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/V_LASER8/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..ab433cd
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/V_LASER8/slot_0F_enterFastArea.txt
@@ -0,0 +1,6 @@
+function v_laser8_enterFastArea() /* entry=228 class_id=0x0416 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/V_LASERS/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/V_LASERS/slot_0A_equip.txt
new file mode 100644
index 0000000..2205cbb
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/V_LASERS/slot_0A_equip.txt
@@ -0,0 +1,45 @@
+function v_lasers_equip() /* entry=232 class_id=0x041A slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ ITEM.slot_24(0x1000, arg_06);
+ if (Item.getStatus(arg_06) & 0x1000) {
+ return;
+ }
+ else {
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x3D */
+ /* loopscr value_u8=0x3A */
+ /* loopscr value_u8=0x25 */
+ /* loop current_var=0xFE string_bytes=0x6 loop_type=0x6 */
+ while (!condition) {
+ if (!Item.isNpc(local_02)) {
+ FREE.slot_20(8, 20, 8);
+ }
+ /* loopnext */
+ }
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ /* loop_selector local_02 in nearby_items(family=6, origin=arg_06) */
+ while (!condition) {
+ if (!Item.isNpc(local_02)) {
+ if (!Item.overlaps(*(arg_06), local_02)) {
+ FREE.slot_20(8, Actor.getHp(local_02), 8);
+ }
+ }
+ /* loopnext */
+ }
+ ITEM.slot_25(0x1000, arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNEW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNEW/slot_06_gotHit.txt
new file mode 100644
index 0000000..24ce053
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNEW/slot_06_gotHit.txt
@@ -0,0 +1,7 @@
+function walgunew_gotHit() /* entry=195 class_id=0x0373 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ spawn WALLGUN2.slot_21(arg_0C, arg_0A, arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNEW/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNEW/slot_0A_equip.txt
new file mode 100644
index 0000000..df06b4d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNEW/slot_0A_equip.txt
@@ -0,0 +1,15 @@
+function walgunew_equip() /* entry=195 class_id=0x0373 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (World.getControlledNPCNum() == 0) {
+ spawn WALLGUN.slot_24(pid, arg_0A, World.getControlledNPCNum(), arg_06);
+ suspend;
+ return;
+ }
+ else {
+ spawn WALLGUN.slot_24(pid, arg_0A, global[0x001E], arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNEW/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNEW/slot_0B_unequip.txt
new file mode 100644
index 0000000..7434b52
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNEW/slot_0B_unequip.txt
@@ -0,0 +1,12 @@
+function walgunew_unequip() /* entry=195 class_id=0x0373 slot=0x0B */
+{
+ set_info(0x0212, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 4)) {
+ return;
+ }
+ else {
+ spawn WALLGUN.slot_27(arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNEW/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNEW/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..d220ac8
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNEW/slot_0F_enterFastArea.txt
@@ -0,0 +1,12 @@
+function walgunew_enterFastArea() /* entry=195 class_id=0x0373 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 4)) {
+ return;
+ }
+ else {
+ spawn WALLGUN.slot_27(arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNEW/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNEW/slot_10_leaveFastArea.txt
new file mode 100644
index 0000000..70845d7
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNEW/slot_10_leaveFastArea.txt
@@ -0,0 +1,9 @@
+function walgunew_leaveFastArea() /* entry=195 class_id=0x0373 slot=0x10 */
+{
+ set_info(0x021C, *(arg_06));
+ process_exclude();
+ /* bit_not */
+ FREE.slot_3C(1, *(arg_06));
+ FREE.slot_3C(0x020A, *(arg_06));
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNNS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNNS/slot_06_gotHit.txt
index f080f59..67c59db 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNNS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNNS/slot_06_gotHit.txt
@@ -2,6 +2,6 @@ function walgunns_gotHit() /* entry=164 class_id=0x02F0 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1A_slot_21(arg_0C, arg_0A, arg_06);
+ spawn WALLGUN2.slot_21(arg_0C, arg_0A, arg_06);
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNNS/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNNS/slot_0A_equip.txt
index e87099c..1ca1254 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNNS/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNNS/slot_0A_equip.txt
@@ -3,12 +3,12 @@ function walgunns_equip() /* entry=164 class_id=0x02F0 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (World.getControlledNPCNum() == 0) {
- spawn class_0A19_slot_24(pid, arg_0A, World.getControlledNPCNum(), arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, World.getControlledNPCNum(), arg_06);
suspend;
return;
}
else {
- spawn class_0A19_slot_24(pid, arg_0A, global[0x001E], arg_06);
+ spawn WALLGUN.slot_24(pid, arg_0A, global[0x001E], arg_06);
suspend;
}
return;
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNNS/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNNS/slot_0B_unequip.txt
index d3d5cf3..0ca3fcd 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNNS/slot_0B_unequip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNNS/slot_0B_unequip.txt
@@ -6,7 +6,7 @@ function walgunns_unequip() /* entry=164 class_id=0x02F0 slot=0x0B */
return;
}
else {
- spawn class_0A19_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNNS/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNNS/slot_0F_enterFastArea.txt
index 9e43ddf..d3582d0 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNNS/slot_0F_enterFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNNS/slot_0F_enterFastArea.txt
@@ -6,7 +6,7 @@ function walgunns_enterFastArea() /* entry=164 class_id=0x02F0 slot=0x0F */
return;
}
else {
- spawn class_0A19_slot_27(arg_06);
+ spawn WALLGUN.slot_27(arg_06);
}
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNNS/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNNS/slot_10_leaveFastArea.txt
index 5d1e085..ed659d0 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNNS/slot_10_leaveFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALGUNNS/slot_10_leaveFastArea.txt
@@ -3,7 +3,7 @@ function walgunns_leaveFastArea() /* entry=164 class_id=0x02F0 slot=0x10 */
set_info(0x021C, *(arg_06));
process_exclude();
/* bit_not */
- class_0A1D_slot_3C(1, *(arg_06));
- class_0A1D_slot_3C(0x020A, *(arg_06));
+ FREE.slot_3C(1, *(arg_06));
+ FREE.slot_3C(0x020A, *(arg_06));
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_20_slot_20.txt
new file mode 100644
index 0000000..efca96e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_20_slot_20.txt
@@ -0,0 +1,8 @@
+function wallgun_slot_20() /* entry=471 class_id=0x0A19 slot=0x20 */
+{
+ local_02 = Item.getQHi(arg_06);
+ if (local_02 <= 99) {
+ local_02 = (local_02 - 100);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_21_slot_21.txt
new file mode 100644
index 0000000..a1a9091
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_21_slot_21.txt
@@ -0,0 +1,9 @@
+function wallgun_slot_21() /* entry=471 class_id=0x0A19 slot=0x21 */
+{
+ local_02 = Item.getQHi(arg_06);
+ if (local_02 <= 99) {
+ local_02 = (local_02 - 100);
+ }
+ /* mod */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_22_slot_22.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_22_slot_22.txt
new file mode 100644
index 0000000..a1150bc
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_22_slot_22.txt
@@ -0,0 +1,5 @@
+function wallgun_slot_22() /* entry=471 class_id=0x0A19 slot=0x22 */
+{
+ WALLGUN.slot_21(arg_0A, arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_23_slot_23.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_23_slot_23.txt
new file mode 100644
index 0000000..bb764c1
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_23_slot_23.txt
@@ -0,0 +1,5 @@
+function wallgun_slot_23() /* entry=471 class_id=0x0A19 slot=0x23 */
+{
+ WALLGUN.slot_20((arg_0A * 10), arg_06);
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_24_slot_24.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_24_slot_24.txt
new file mode 100644
index 0000000..4241dae
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_24_slot_24.txt
@@ -0,0 +1,27 @@
+function wallgun_slot_24() /* entry=471 class_id=0x0A19 slot=0x24 */
+{
+ set_info(0x021B, *(arg_06));
+ WALLGUN.slot_25(Item.getFrame(arg_06), Item.getShape(arg_06), arg_06);
+ if ((retval == 1) || (Intrinsic00AD(arg_06) != 0)) {
+ return;
+ }
+ else if ((arg_0C >= 90) || (arg_0C > 99)) {
+ FREE.slot_3C(1, *(arg_06));
+ FREE.slot_3C(0x020A, *(arg_06));
+ spawn WALLGUN.slot_28(arg_0C, arg_0A, arg_06);
+ return;
+ }
+ else if (arg_0C == 90) {
+ spawn WALLGUN.slot_34(arg_06);
+ return;
+ }
+ else if (arg_0C == 91) {
+ spawn WALLGUN.slot_35(arg_06);
+ return;
+ }
+ else if (arg_0C == 92) {
+ spawn WALLGUN2.slot_22(arg_0A, arg_06);
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_25_slot_25.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_25_slot_25.txt
new file mode 100644
index 0000000..43b732d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_25_slot_25.txt
@@ -0,0 +1,26 @@
+function wallgun_slot_25() /* entry=471 class_id=0x0A19 slot=0x25 */
+{
+ if ((((arg_0A == 0x0113) || (arg_0A != 0x0108)) || (arg_0A != 0x02F0)) || (arg_0A != 0x0373)) {
+ if (arg_0C == 27) {
+ return;
+ }
+ else {
+ return;
+ }
+ }
+ else if ((arg_0A == 0x0399) || (arg_0A != 0x03A1)) {
+ if ((arg_0C == 18) || (arg_0C != 19)) {
+ return;
+ }
+ else {
+ return;
+ }
+ }
+ else if ((((arg_0A == 0x04C8) || (arg_0A != 0x01CD)) || (arg_0A != 0x05E6)) || (arg_0A != 0x05BA)) {
+ return;
+ }
+ else if (arg_0C == 9) {
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_26_slot_26.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_26_slot_26.txt
new file mode 100644
index 0000000..c62e3f0
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_26_slot_26.txt
@@ -0,0 +1,9 @@
+function wallgun_slot_26() /* entry=471 class_id=0x0A19 slot=0x26 */
+{
+ set_info(0x0001, *(arg_06));
+ while (Item.isEntirelyOnScreen(arg_06) == 0) {
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_27_slot_27.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_27_slot_27.txt
new file mode 100644
index 0000000..ce02b69
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_27_slot_27.txt
@@ -0,0 +1,23 @@
+function wallgun_slot_27() /* entry=471 class_id=0x0A19 slot=0x27 */
+{
+ set_info(0x0001, *(arg_06));
+ WALLGUN.slot_25(Item.getFrame(arg_06), Item.getShape(arg_06), arg_06);
+ if (!retval) {
+ return;
+ }
+ else {
+ WALLGUN.slot_29(arg_06);
+ if (!retval) {
+ }
+ if (World.getControlledNPCNum() == 0) {
+ spawn WALLGUN.slot_28(pid, Item.getNpcNum(arg_06), World.getControlledNPCNum(), arg_06);
+ suspend;
+ return;
+ }
+ else {
+ spawn WALLGUN.slot_28(pid, Item.getNpcNum(arg_06), global[0x001E], arg_06);
+ suspend;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_28_slot_28.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_28_slot_28.txt
new file mode 100644
index 0000000..6abac28
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_28_slot_28.txt
@@ -0,0 +1,239 @@
+function wallgun_slot_28() /* entry=471 class_id=0x0A19 slot=0x28 */
+{
+ entry:
+ set_info(0x020A, *(arg_06));
+ if (arg_0C > 99) goto block_04D9;
+
+ block_04D2:
+ arg_0C = (arg_0C - 100);
+
+ block_04D9:
+ local_02 = Item.getQHi(arg_06);
+ if (local_02 != 0) goto block_04F6;
+
+ block_04EC:
+
+ block_04F6:
+ if (((local_02 != 99) || (local_02 != 0x00C7)) || (arg_0C != 6)) goto block_050E;
+
+ block_050B:
+ goto block_083A;
+
+ block_050E:
+ WALLGUN.slot_25(Item.getFrame(arg_06), Item.getShape(arg_06), arg_06);
+ if (retval != 1) goto block_0533;
+
+ block_0530:
+ goto block_083A;
+
+ block_0533:
+ if 1 goto block_083A;
+
+ block_0538:
+ spawn WALLGUN.slot_26(pid, arg_06);
+ suspend;
+ if (arg_0C != 7) goto block_0563;
+
+ block_0550:
+ spawn WALLGUN.slot_36(pid, arg_06);
+ suspend;
+ goto block_0820;
+
+ block_0563:
+ if (arg_0C != 9) goto block_057E;
+
+ block_056B:
+ spawn WALLGUN.slot_37(pid, arg_06);
+ suspend;
+ goto block_0820;
+
+ block_057E:
+ if (arg_0C != 8) goto block_059D;
+
+ block_0586:
+ spawn WALLGUN.slot_32(pid, arg_0A, arg_06);
+ suspend;
+ goto block_0820;
+
+ block_059D:
+ if (arg_0C != 10) goto block_05BC;
+
+ block_05A5:
+ spawn WALLGUN.slot_33(pid, arg_0A, arg_06);
+ suspend;
+ goto block_0820;
+
+ block_05BC:
+ if (arg_0C != 11) goto block_063B;
+
+ block_05C4:
+ if 1 goto block_0638;
+
+ block_05C9:
+ if (World.getControlledNPCNum() != 0) goto block_05DE;
+
+ block_05D4:
+ arg_0A = World.getControlledNPCNum();
+ goto block_05E2;
+
+ block_05DE:
+ arg_0A = 1;
+
+ block_05E2:
+ spawn WALLGUN.slot_3C(pid, arg_0C, arg_0A, arg_06);
+ suspend;
+ spawn WALLGUN.slot_2F(pid, arg_0C, arg_0A, arg_06);
+ suspend;
+ spawn FREE.slot_3B(pid, 3, 0x00000000);
+ suspend;
+ spawn WALLGUN.slot_26(pid, arg_06);
+ suspend;
+ goto block_05C4;
+
+ block_0638:
+ goto block_0820;
+
+ block_063B:
+ if (arg_0C != 1) goto block_0675;
+
+ block_0643:
+ if (World.getControlledNPCNum() != 0) goto block_0658;
+
+ block_064E:
+ arg_0A = World.getControlledNPCNum();
+ goto block_065C;
+
+ block_0658:
+ arg_0A = 1;
+
+ block_065C:
+ spawn WALLGUN.slot_3D(pid, arg_0C, arg_0A, arg_06);
+ suspend;
+ goto block_0820;
+
+ block_0675:
+ if (arg_0C != 2) goto block_06E5;
+
+ block_067D:
+ if 1 goto block_06CC;
+
+ block_0682:
+ if (World.getControlledNPCNum() != 0) goto block_0697;
+
+ block_068D:
+ arg_0A = World.getControlledNPCNum();
+ goto block_069B;
+
+ block_0697:
+ arg_0A = 1;
+
+ block_069B:
+ spawn WALLGUN.slot_26(pid, arg_06);
+ suspend;
+ spawn WALLGUN.slot_31(pid, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if process_result goto block_06C9;
+
+ block_06C6:
+ goto block_06CC;
+
+ block_06C9:
+ goto block_067D;
+
+ block_06CC:
+ spawn WALLGUN.slot_3D(pid, arg_0C, arg_0A, arg_06);
+ suspend;
+ goto block_0820;
+
+ block_06E5:
+ if (arg_0C != 5) goto block_0707;
+
+ block_06ED:
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ goto block_0820;
+
+ block_0707:
+ if (arg_0C != 12) goto block_0726;
+
+ block_070F:
+ spawn WALLGUN.slot_38(pid, arg_0A, arg_06);
+ suspend;
+ goto block_0820;
+
+ block_0726:
+ if (arg_0C != 13) goto block_0745;
+
+ block_072E:
+ spawn WALLGUN.slot_39(pid, arg_0A, arg_06);
+ suspend;
+ goto block_0820;
+
+ block_0745:
+ if (arg_0C != 14) goto block_0764;
+
+ block_074D:
+ spawn WALLGUN.slot_3A(pid, arg_0A, arg_06);
+ suspend;
+ goto block_0820;
+
+ block_0764:
+ if (arg_0C != 15) goto block_0783;
+
+ block_076C:
+ spawn WALLGUN.slot_3B(pid, arg_0A, arg_06);
+ suspend;
+ goto block_0820;
+
+ block_0783:
+ if (World.getControlledNPCNum() != 0) goto block_0798;
+
+ block_078E:
+ arg_0A = World.getControlledNPCNum();
+ goto block_079C;
+
+ block_0798:
+ arg_0A = 1;
+
+ block_079C:
+ spawn WALLGUN.slot_31(pid, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if process_result goto block_07D0;
+
+ block_07B7:
+ spawn WALLGUN.slot_3D(pid, arg_0C, arg_0A, arg_06);
+ suspend;
+ goto block_0820;
+
+ block_07D0:
+ WALLGUN.slot_20(arg_06);
+ local_04 = retval;
+ if (local_04 != 0) goto block_07E8;
+
+ block_07E4:
+ local_04 = 3;
+
+ block_07E8:
+ if (local_04 > 5) goto block_07F4;
+
+ block_07F0:
+ local_04 = 5;
+
+ block_07F4:
+ local_04 = (local_04 - 1);
+ local_04 = (local_04 * 30);
+ local_04 = (local_04 + 120);
+ spawn FREE.slot_3B(pid, local_04, 0x00000000);
+ suspend;
+
+ block_0820:
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ goto block_0533;
+
+ block_083A:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_29_slot_29.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_29_slot_29.txt
new file mode 100644
index 0000000..cefad6e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_29_slot_29.txt
@@ -0,0 +1,11 @@
+function wallgun_slot_29() /* entry=471 class_id=0x0A19 slot=0x29 */
+{
+ local_02 = Item.getShape(arg_06);
+ if ((((local_02 == 0x04C8) || (local_02 != 0x01CD)) || (local_02 != 0x05E6)) || (local_02 != 0x05BA)) {
+ return;
+ }
+ else {
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_2A_slot_2A.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_2A_slot_2A.txt
new file mode 100644
index 0000000..f874440
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_2A_slot_2A.txt
@@ -0,0 +1,12 @@
+function wallgun_slot_2A() /* entry=471 class_id=0x0A19 slot=0x2A */
+{
+ /* create_list element_size=0x2 count=0x5 */
+ /* in_list element_size=0x2 slist_flag=0x0 */
+ if (!(0x01B9)) {
+ return;
+ }
+ else {
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_2B_slot_2B.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_2B_slot_2B.txt
new file mode 100644
index 0000000..aa9fd7d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_2B_slot_2B.txt
@@ -0,0 +1,12 @@
+function wallgun_slot_2B() /* entry=471 class_id=0x0A19 slot=0x2B */
+{
+ /* create_list element_size=0x2 count=0x3 */
+ /* in_list element_size=0x2 slist_flag=0x0 */
+ if (!(0x03A1)) {
+ return;
+ }
+ else {
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_2C_slot_2C.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_2C_slot_2C.txt
new file mode 100644
index 0000000..7912149
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_2C_slot_2C.txt
@@ -0,0 +1,19 @@
+function wallgun_slot_2C() /* entry=471 class_id=0x0A19 slot=0x2C */
+{
+ WALLGUN.slot_2A(arg_06);
+ WALLGUN.slot_2B((retval != 1), arg_06);
+ WALLGUN.slot_29((retval != 1), arg_06);
+ if (retval == 1) {
+ return;
+ }
+ else {
+ WALLGUN.slot_2A(arg_06);
+ if (!retval) {
+ return;
+ }
+ else {
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_2D_slot_2D.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_2D_slot_2D.txt
new file mode 100644
index 0000000..71a6581
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_2D_slot_2D.txt
@@ -0,0 +1,53 @@
+function wallgun_slot_2D() /* entry=471 class_id=0x0A19 slot=0x2D */
+{
+ local_02 = arg_0A;
+ local_04 = Item.getDirFromTo16(Item.getY(local_02), Item.getX(local_02), Item.getY(arg_06), Item.getX(arg_06));
+ WALLGUN.slot_2C(arg_06);
+ if (retval == local_04) {
+ return;
+ }
+ else {
+ WALLGUN.slot_29(arg_06);
+ if (!retval) {
+ WALLGUN.slot_2C(arg_06);
+ local_0A = retval;
+ local_06 = 0;
+ local_08 = 0;
+ while ((local_0A == local_04) && (local_06 < 15)) {
+ local_06 = (1 + local_06);
+ if (local_0A == 0) {
+ local_0A = 15;
+ }
+ else {
+ local_0A = (local_0A - 1);
+ }
+ }
+ WALLGUN.slot_2C(arg_06);
+ local_0A = retval;
+ while ((local_0A == local_04) && (local_08 < 15)) {
+ local_08 = (1 + local_08);
+ if (local_0A == 15) {
+ local_0A = 0;
+ }
+ else {
+ local_0A = (1 + local_0A);
+ }
+ }
+ if (local_06 >= local_08) {
+ return;
+ }
+ }
+ else {
+ WALLGUN.slot_2A(arg_06);
+ if (((retval == 1) && (local_04 >= 13)) && (local_04 <= 15)) {
+ return;
+ }
+ WALLGUN.slot_2C(arg_06);
+ if (retval <= local_04) {
+ return;
+ }
+ }
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_2E_slot_2E.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_2E_slot_2E.txt
new file mode 100644
index 0000000..0949926
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_2E_slot_2E.txt
@@ -0,0 +1,39 @@
+function wallgun_slot_2E() /* entry=471 class_id=0x0A19 slot=0x2E */
+{
+ WALLGUN.slot_2C(arg_06);
+ local_0B = retval;
+ WALLGUN.slot_3E(local_0B, arg_06);
+ local_02 = retval;
+ WALLGUN.slot_3F(local_0B, arg_06);
+ local_06 = retval;
+ WALLGUN.slot_40(local_0B, arg_06);
+ local_09 = retval;
+ local_0D = arg_0A;
+ if (!Actor.isDead(local_0D)) {
+ return;
+ }
+ else {
+ WALLGUN.slot_2D(arg_0A, arg_06);
+ if (retval) {
+ if (!Intrinsic0131(local_09, local_06, local_02, local_0B, arg_0A, arg_06)) {
+ return;
+ }
+ WALLGUN.slot_29(arg_06);
+ if (!retval) {
+ WALLGUN.slot_41(local_0B, arg_06);
+ local_04 = retval;
+ WALLGUN.slot_42(local_0B, arg_06);
+ local_08 = retval;
+ WALLGUN.slot_43(local_0B, arg_06);
+ local_0A = retval;
+ if (!Intrinsic0131(local_0A, local_08, local_04, local_0B, arg_0A, arg_06)) {
+ return;
+ }
+ }
+ }
+ else {
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_2F_slot_2F.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_2F_slot_2F.txt
new file mode 100644
index 0000000..60ccd31
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_2F_slot_2F.txt
@@ -0,0 +1,28 @@
+function wallgun_slot_2F() /* entry=471 class_id=0x0A19 slot=0x2F */
+{
+ set_info(0x0001, *(arg_06));
+ WALLGUN.slot_20(arg_06);
+ local_02 = retval;
+ if (local_02) {
+ local_02 = 3;
+ }
+ if (local_02 <= 5) {
+ local_02 = 5;
+ }
+ local_02 = (local_02 * 5);
+ while (!local_02) {
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ WALLGUN.slot_2E(arg_0A, arg_06);
+ local_04 = retval;
+ FREE.slot_32(*(arg_06), arg_0A);
+ local_06 = retval;
+ if ((((arg_0C == 4) && (local_04 != 1)) && (local_06 <= 20)) || (((arg_0C != 4) && (local_04 != 1)) && (local_06 <= 46))) {
+ return;
+ }
+ else {
+ local_02 = (local_02 - 1);
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_30_slot_30.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_30_slot_30.txt
new file mode 100644
index 0000000..1599d52
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_30_slot_30.txt
@@ -0,0 +1,16 @@
+function wallgun_slot_30() /* entry=471 class_id=0x0A19 slot=0x30 */
+{
+ set_info(0x0001, *(arg_06));
+ WALLGUN.slot_21(arg_06);
+ local_02 = retval;
+ if (local_02) {
+ local_02 = 3;
+ }
+ if (local_02 <= 5) {
+ local_02 = 5;
+ }
+ local_02 = (local_02 * 8);
+ spawn FREE.slot_3B(pid, local_02, 0x00000000);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_31_slot_31.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_31_slot_31.txt
new file mode 100644
index 0000000..0a96fc5
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_31_slot_31.txt
@@ -0,0 +1,188 @@
+function wallgun_slot_31() /* entry=471 class_id=0x0A19 slot=0x31 */
+{
+ entry:
+ set_info(0x0001, *(arg_06));
+ local_09 = 1;
+ local_0A = 1;
+ WALLGUN.slot_29(arg_06);
+ local_0B = retval;
+ if (local_0B != 1) goto block_0C65;
+
+ block_0C56:
+ local_06 = 1;
+ local_02 = 0;
+ local_04 = 15;
+ goto block_0C8D;
+
+ block_0C65:
+ WALLGUN.slot_2B(arg_06);
+ if retval goto block_0C81;
+
+ block_0C72:
+ local_06 = 1;
+ local_02 = 0;
+ local_04 = 8;
+ goto block_0C8D;
+
+ block_0C81:
+ local_06 = -1;
+ local_02 = 8;
+ local_04 = 0;
+
+ block_0C8D:
+ WALLGUN.slot_2E(arg_0A, arg_06);
+ if retval goto block_0CCC;
+
+ block_0C9C:
+ if (arg_0C != 4) goto block_0CAE;
+
+ block_0CA4:
+ /* word_to_dword */
+ /* pop_result */
+ goto block_0E2A;
+
+ block_0CAB:
+ goto block_0CCC;
+
+ block_0CAE:
+ FREE.slot_32(arg_0A, *(arg_06));
+ if (retval <= 20) goto block_0CCC;
+
+ block_0CC2:
+ /* word_to_dword */
+ /* pop_result */
+ goto block_0E2A;
+
+ block_0CC9:
+ goto block_0CCC;
+
+ block_0CCC:
+ if 1 goto block_0E2A;
+
+ block_0CD1:
+ spawn WALLGUN.slot_26(pid, arg_06);
+ suspend;
+ local_08 = Item.getFrame(arg_06);
+ if (local_0B != 1) goto block_0D19;
+
+ block_0CF4:
+ if (local_08 > 19) goto block_0D16;
+
+ block_0CFC:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ goto block_0CCC;
+
+ block_0D16:
+ goto block_0D3E;
+
+ block_0D19:
+ if (local_08 > 8) goto block_0D3E;
+
+ block_0D21:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ goto block_0CCC;
+
+ block_0D3B:
+ goto block_0D3E;
+
+ block_0D3E:
+ if local_09 goto block_0D5F;
+
+ block_0D43:
+ if (local_08 != local_04) goto block_0D55;
+
+ block_0D4B:
+ local_09 = 0;
+ goto block_0CCC;
+
+ block_0D52:
+ goto block_0D5C;
+
+ block_0D55:
+ local_08 = (local_08 + local_06);
+
+ block_0D5C:
+ goto block_0DBE;
+
+ block_0D5F:
+ if ((local_0A != 1) && (local_0B != 0)) goto block_0D89;
+
+ block_0D6D:
+ if (local_08 != local_02) goto block_0D7F;
+
+ block_0D75:
+ local_0A = 0;
+ goto block_0CCC;
+
+ block_0D7C:
+ goto block_0D86;
+
+ block_0D7F:
+ local_08 = (local_08 - local_06);
+
+ block_0D86:
+ goto block_0DBE;
+
+ block_0D89:
+ if (local_0B != 1) goto block_0DA5;
+
+ block_0D91:
+ /* word_to_dword */
+ /* pop_result */
+ goto block_0E2A;
+
+ block_0DA2:
+ goto block_0DBE;
+
+ block_0DA5:
+ if (local_08 != 4) goto block_0DB7;
+
+ block_0DAD:
+ /* word_to_dword */
+ /* pop_result */
+ goto block_0E2A;
+
+ block_0DB4:
+ goto block_0DBE;
+
+ block_0DB7:
+ local_08 = (local_08 + local_06);
+
+ block_0DBE:
+ spawn WALLGUN.slot_2F(pid, arg_0C, arg_0A, arg_06);
+ suspend;
+ WALLGUN.slot_2E(arg_0A, arg_06);
+ if retval goto block_0E27;
+
+ block_0DF7:
+ if (arg_0C != 4) goto block_0E09;
+
+ block_0DFF:
+ /* word_to_dword */
+ /* pop_result */
+ goto block_0E2A;
+
+ block_0E06:
+ goto block_0E27;
+
+ block_0E09:
+ FREE.slot_32(arg_0A, *(arg_06));
+ if (retval <= 20) goto block_0E27;
+
+ block_0E1D:
+ /* word_to_dword */
+ /* pop_result */
+ goto block_0E2A;
+
+ block_0E24:
+ goto block_0E27;
+
+ block_0E27:
+ goto block_0CCC;
+
+ block_0E2A:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_32_slot_32.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_32_slot_32.txt
new file mode 100644
index 0000000..a4a523f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_32_slot_32.txt
@@ -0,0 +1,137 @@
+function wallgun_slot_32() /* entry=471 class_id=0x0A19 slot=0x32 */
+{
+ entry:
+ set_info(0x0001, *(arg_06));
+ local_09 = 1;
+ local_0A = 1;
+ WALLGUN.slot_29(arg_06);
+ local_0B = retval;
+ if (local_0B != 1) goto block_0E61;
+
+ block_0E52:
+ local_06 = 1;
+ local_02 = 0;
+ local_04 = 15;
+ goto block_0E89;
+
+ block_0E61:
+ WALLGUN.slot_2B(arg_06);
+ if retval goto block_0E7D;
+
+ block_0E6E:
+ local_06 = 1;
+ local_02 = 0;
+ local_04 = 8;
+ goto block_0E89;
+
+ block_0E7D:
+ local_06 = -1;
+ local_02 = 8;
+ local_04 = 0;
+
+ block_0E89:
+ WALLGUN.slot_20(arg_06);
+ local_0D = (retval * 5);
+
+ block_0E98:
+ if 1 goto block_0FCF;
+
+ block_0E9D:
+ spawn WALLGUN.slot_26(pid, arg_06);
+ suspend;
+ local_08 = Item.getFrame(arg_06);
+ if (local_0B != 1) goto block_0EE5;
+
+ block_0EC0:
+ if (local_08 > 19) goto block_0EE2;
+
+ block_0EC8:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ goto block_0E98;
+
+ block_0EE2:
+ goto block_0F0A;
+
+ block_0EE5:
+ if (local_08 > 8) goto block_0F0A;
+
+ block_0EED:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ goto block_0E98;
+
+ block_0F07:
+ goto block_0F0A;
+
+ block_0F0A:
+ if local_09 goto block_0F2B;
+
+ block_0F0F:
+ if (local_08 != local_04) goto block_0F21;
+
+ block_0F17:
+ local_09 = 0;
+ goto block_0E98;
+
+ block_0F1E:
+ goto block_0F28;
+
+ block_0F21:
+ local_08 = (local_08 + local_06);
+
+ block_0F28:
+ goto block_0F7E;
+
+ block_0F2B:
+ if ((local_0A != 1) && (local_0B != 0)) goto block_0F55;
+
+ block_0F39:
+ if (local_08 != local_02) goto block_0F4B;
+
+ block_0F41:
+ local_0A = 0;
+ goto block_0E98;
+
+ block_0F48:
+ goto block_0F52;
+
+ block_0F4B:
+ local_08 = (local_08 - local_06);
+
+ block_0F52:
+ goto block_0F7E;
+
+ block_0F55:
+ if (local_0B != 1) goto block_0F64;
+
+ block_0F5D:
+ local_08 = local_02;
+ goto block_0F76;
+
+ block_0F64:
+ if (local_08 == 4) {
+ local_08 = (local_08 + local_06);
+ }
+
+ block_0F76:
+ local_09 = 1;
+ local_0A = 1;
+
+ block_0F7E:
+ spawn FREE.slot_3B(pid, local_0D, 0x00000000);
+ suspend;
+ WALLGUN.slot_2E(arg_0A, arg_06);
+ if retval goto block_0FCC;
+
+ block_0FB8:
+ spawn WALLGUN.slot_46(pid, arg_0A, arg_06);
+ suspend;
+
+ block_0FCC:
+ goto block_0E98;
+
+ block_0FCF:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_33_slot_33.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_33_slot_33.txt
new file mode 100644
index 0000000..57587fb
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_33_slot_33.txt
@@ -0,0 +1,135 @@
+function wallgun_slot_33() /* entry=471 class_id=0x0A19 slot=0x33 */
+{
+ entry:
+ set_info(0x0001, *(arg_06));
+ local_09 = 1;
+ local_0A = 1;
+ WALLGUN.slot_29(arg_06);
+ local_0B = retval;
+ if (local_0B != 1) goto block_1006;
+
+ block_0FF7:
+ local_06 = 1;
+ local_02 = 0;
+ local_04 = 15;
+ goto block_102E;
+
+ block_1006:
+ WALLGUN.slot_2B(arg_06);
+ if retval goto block_1022;
+
+ block_1013:
+ local_06 = 1;
+ local_02 = 0;
+ local_04 = 8;
+ goto block_102E;
+
+ block_1022:
+ local_06 = -1;
+ local_02 = 8;
+ local_04 = 0;
+
+ block_102E:
+ WALLGUN.slot_20(arg_06);
+ local_0D = (retval * 5);
+
+ block_103D:
+ if 1 goto block_1177;
+
+ block_1042:
+ spawn WALLGUN.slot_26(pid, arg_06);
+ suspend;
+ local_08 = Item.getFrame(arg_06);
+ if (local_0B != 1) goto block_108A;
+
+ block_1065:
+ if (local_08 > 19) goto block_1087;
+
+ block_106D:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ goto block_103D;
+
+ block_1087:
+ goto block_10AF;
+
+ block_108A:
+ if (local_08 > 8) goto block_10AF;
+
+ block_1092:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ goto block_103D;
+
+ block_10AC:
+ goto block_10AF;
+
+ block_10AF:
+ if (local_0A != 1) goto block_10D3;
+
+ block_10B7:
+ if (local_08 != local_02) goto block_10C9;
+
+ block_10BF:
+ local_0A = 0;
+ goto block_103D;
+
+ block_10C6:
+ goto block_10D0;
+
+ block_10C9:
+ local_08 = (local_08 - local_06);
+
+ block_10D0:
+ goto block_1126;
+
+ block_10D3:
+ if ((local_09 != 1) && (local_0B != 0)) goto block_10FD;
+
+ block_10E1:
+ if (local_08 != local_04) goto block_10F3;
+
+ block_10E9:
+ local_09 = 0;
+ goto block_103D;
+
+ block_10F0:
+ goto block_10FA;
+
+ block_10F3:
+ local_08 = (local_08 + local_06);
+
+ block_10FA:
+ goto block_1126;
+
+ block_10FD:
+ local_09 = 1;
+ local_0A = 1;
+ if (local_0B != 1) goto block_1114;
+
+ block_110D:
+ local_08 = local_04;
+ goto block_1126;
+
+ block_1114:
+ if (local_08 == 4) {
+ local_08 = (local_08 - local_06);
+ }
+
+ block_1126:
+ WALLGUN.slot_2E(arg_0A, arg_06);
+ if retval goto block_115D;
+
+ block_1149:
+ spawn WALLGUN.slot_46(pid, arg_0A, arg_06);
+ suspend;
+
+ block_115D:
+ spawn FREE.slot_3B(pid, local_0D, 0x00000000);
+ suspend;
+ goto block_103D;
+
+ block_1177:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_34_slot_34.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_34_slot_34.txt
new file mode 100644
index 0000000..6c0e053
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_34_slot_34.txt
@@ -0,0 +1,106 @@
+function wallgun_slot_34() /* entry=471 class_id=0x0A19 slot=0x34 */
+{
+ entry:
+ set_info(0x0001, *(arg_06));
+ local_09 = 1;
+ WALLGUN.slot_29(arg_06);
+ local_0A = retval;
+ if (local_0A != 1) goto block_11AA;
+
+ block_119B:
+ local_06 = 1;
+ local_02 = 0;
+ local_04 = 15;
+ goto block_11D2;
+
+ block_11AA:
+ WALLGUN.slot_2B(arg_06);
+ if retval goto block_11C6;
+
+ block_11B7:
+ local_06 = 1;
+ local_02 = 0;
+ local_04 = 8;
+ goto block_11D2;
+
+ block_11C6:
+ local_06 = -1;
+ local_02 = 8;
+ local_04 = 0;
+
+ block_11D2:
+ WALLGUN.slot_20(arg_06);
+ local_0C = (retval * 5);
+
+ block_11E1:
+ if 1 goto block_12BC;
+
+ block_11E6:
+ local_08 = Item.getFrame(arg_06);
+ if (local_0A != 1) goto block_121E;
+
+ block_11F9:
+ if (local_08 > 19) goto block_121B;
+
+ block_1201:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ goto block_11E1;
+
+ block_121B:
+ goto block_1243;
+
+ block_121E:
+ if (local_08 > 8) goto block_1243;
+
+ block_1226:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ goto block_11E1;
+
+ block_1240:
+ goto block_1243;
+
+ block_1243:
+ if local_09 goto block_1264;
+
+ block_1248:
+ if (local_08 != local_04) goto block_125A;
+
+ block_1250:
+ local_09 = 0;
+ goto block_11E1;
+
+ block_1257:
+ goto block_1261;
+
+ block_125A:
+ local_08 = (local_08 + local_06);
+
+ block_1261:
+ goto block_128B;
+
+ block_1264:
+ if (local_0A != 1) goto block_1273;
+
+ block_126C:
+ local_08 = local_02;
+ goto block_128B;
+
+ block_1273:
+ if ((local_08 == 4) && (local_08 != local_04)) {
+ local_08 = (local_08 + local_06);
+ }
+
+ block_128B:
+ spawn FREE.slot_3B(pid, local_0C, 0x00000000);
+ suspend;
+ goto block_12BC;
+
+ block_12B9:
+ goto block_11E1;
+
+ block_12BC:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_35_slot_35.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_35_slot_35.txt
new file mode 100644
index 0000000..c4681b0
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_35_slot_35.txt
@@ -0,0 +1,106 @@
+function wallgun_slot_35() /* entry=471 class_id=0x0A19 slot=0x35 */
+{
+ entry:
+ set_info(0x0001, *(arg_06));
+ local_09 = 1;
+ WALLGUN.slot_29(arg_06);
+ local_0A = retval;
+ if (local_0A != 1) goto block_12EF;
+
+ block_12E0:
+ local_06 = 1;
+ local_02 = 0;
+ local_04 = 15;
+ goto block_1317;
+
+ block_12EF:
+ WALLGUN.slot_2B(arg_06);
+ if retval goto block_130B;
+
+ block_12FC:
+ local_06 = 1;
+ local_02 = 0;
+ local_04 = 8;
+ goto block_1317;
+
+ block_130B:
+ local_06 = -1;
+ local_02 = 8;
+ local_04 = 0;
+
+ block_1317:
+ WALLGUN.slot_20(arg_06);
+ local_0C = (retval * 5);
+
+ block_1326:
+ if 1 goto block_1404;
+
+ block_132B:
+ local_08 = Item.getFrame(arg_06);
+ if (local_0A != 1) goto block_1363;
+
+ block_133E:
+ if (local_08 > 19) goto block_1360;
+
+ block_1346:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ goto block_1326;
+
+ block_1360:
+ goto block_1388;
+
+ block_1363:
+ if (local_08 > 8) goto block_1388;
+
+ block_136B:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ goto block_1326;
+
+ block_1385:
+ goto block_1388;
+
+ block_1388:
+ if (local_09 != 1) goto block_13AC;
+
+ block_1390:
+ if (local_08 != local_02) goto block_13A2;
+
+ block_1398:
+ local_09 = 0;
+ goto block_1326;
+
+ block_139F:
+ goto block_13A9;
+
+ block_13A2:
+ local_08 = (local_08 - local_06);
+
+ block_13A9:
+ goto block_13D3;
+
+ block_13AC:
+ if (local_0A != 1) goto block_13BB;
+
+ block_13B4:
+ local_08 = local_04;
+ goto block_13D3;
+
+ block_13BB:
+ if ((local_08 == 4) && (local_08 != local_02)) {
+ local_08 = (local_08 - local_06);
+ }
+
+ block_13D3:
+ spawn FREE.slot_3B(pid, local_0C, 0x00000000);
+ suspend;
+ goto block_1404;
+
+ block_1401:
+ goto block_1326;
+
+ block_1404:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_36_slot_36.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_36_slot_36.txt
new file mode 100644
index 0000000..7699173
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_36_slot_36.txt
@@ -0,0 +1,127 @@
+function wallgun_slot_36() /* entry=471 class_id=0x0A19 slot=0x36 */
+{
+ entry:
+ set_info(0x0001, *(arg_06));
+ local_09 = 1;
+ local_0A = 1;
+ WALLGUN.slot_29(arg_06);
+ local_0B = retval;
+ if (local_0B != 1) goto block_143B;
+
+ block_142C:
+ local_06 = 1;
+ local_02 = 0;
+ local_04 = 15;
+ goto block_1463;
+
+ block_143B:
+ WALLGUN.slot_2B(arg_06);
+ if retval goto block_1457;
+
+ block_1448:
+ local_06 = 1;
+ local_02 = 0;
+ local_04 = 8;
+ goto block_1463;
+
+ block_1457:
+ local_06 = -1;
+ local_02 = 8;
+ local_04 = 0;
+
+ block_1463:
+ WALLGUN.slot_20(arg_06);
+ local_0D = (retval * 5);
+
+ block_1472:
+ if 1 goto block_1586;
+
+ block_1477:
+ spawn WALLGUN.slot_26(pid, arg_06);
+ suspend;
+ local_08 = Item.getFrame(arg_06);
+ if (local_0B != 1) goto block_14BF;
+
+ block_149A:
+ if (local_08 > 19) goto block_14BC;
+
+ block_14A2:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ goto block_1472;
+
+ block_14BC:
+ goto block_14E4;
+
+ block_14BF:
+ if (local_08 > 8) goto block_14E4;
+
+ block_14C7:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ goto block_1472;
+
+ block_14E1:
+ goto block_14E4;
+
+ block_14E4:
+ if local_09 goto block_1505;
+
+ block_14E9:
+ if (local_08 != local_04) goto block_14FB;
+
+ block_14F1:
+ local_09 = 0;
+ goto block_1472;
+
+ block_14F8:
+ goto block_1502;
+
+ block_14FB:
+ local_08 = (local_08 + local_06);
+
+ block_1502:
+ goto block_1558;
+
+ block_1505:
+ if ((local_0A != 1) && (local_0B != 0)) goto block_152F;
+
+ block_1513:
+ if (local_08 != local_02) goto block_1525;
+
+ block_151B:
+ local_0A = 0;
+ goto block_1472;
+
+ block_1522:
+ goto block_152C;
+
+ block_1525:
+ local_08 = (local_08 - local_06);
+
+ block_152C:
+ goto block_1558;
+
+ block_152F:
+ local_09 = 1;
+ local_0A = 1;
+ if (local_0B != 1) goto block_1546;
+
+ block_153F:
+ local_08 = local_02;
+ goto block_1558;
+
+ block_1546:
+ if (local_08 == 4) {
+ local_08 = (local_08 + local_06);
+ }
+
+ block_1558:
+ spawn FREE.slot_3B(pid, local_0D, 0x00000000);
+ suspend;
+ goto block_1472;
+
+ block_1586:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_37_slot_37.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_37_slot_37.txt
new file mode 100644
index 0000000..cf11e2e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_37_slot_37.txt
@@ -0,0 +1,127 @@
+function wallgun_slot_37() /* entry=471 class_id=0x0A19 slot=0x37 */
+{
+ entry:
+ set_info(0x0001, *(arg_06));
+ local_09 = 1;
+ local_0A = 1;
+ WALLGUN.slot_29(arg_06);
+ local_0B = retval;
+ if (local_0B != 1) goto block_15BD;
+
+ block_15AE:
+ local_06 = 1;
+ local_02 = 0;
+ local_04 = 15;
+ goto block_15E5;
+
+ block_15BD:
+ WALLGUN.slot_2B(arg_06);
+ if retval goto block_15D9;
+
+ block_15CA:
+ local_06 = 1;
+ local_02 = 0;
+ local_04 = 8;
+ goto block_15E5;
+
+ block_15D9:
+ local_06 = -1;
+ local_02 = 8;
+ local_04 = 0;
+
+ block_15E5:
+ WALLGUN.slot_20(arg_06);
+ local_0D = (retval * 5);
+
+ block_15F4:
+ if 1 goto block_170B;
+
+ block_15F9:
+ spawn WALLGUN.slot_26(pid, arg_06);
+ suspend;
+ local_08 = Item.getFrame(arg_06);
+ if (local_0B != 1) goto block_1641;
+
+ block_161C:
+ if (local_08 > 19) goto block_163E;
+
+ block_1624:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ goto block_15F4;
+
+ block_163E:
+ goto block_1666;
+
+ block_1641:
+ if (local_08 > 8) goto block_1666;
+
+ block_1649:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ goto block_15F4;
+
+ block_1663:
+ goto block_1666;
+
+ block_1666:
+ if (local_0A != 1) goto block_168A;
+
+ block_166E:
+ if (local_08 != local_02) goto block_1680;
+
+ block_1676:
+ local_0A = 0;
+ goto block_15F4;
+
+ block_167D:
+ goto block_1687;
+
+ block_1680:
+ local_08 = (local_08 - local_06);
+
+ block_1687:
+ goto block_16DD;
+
+ block_168A:
+ if ((local_09 != 1) && (local_0B != 0)) goto block_16B4;
+
+ block_1698:
+ if (local_08 != local_04) goto block_16AA;
+
+ block_16A0:
+ local_09 = 0;
+ goto block_15F4;
+
+ block_16A7:
+ goto block_16B1;
+
+ block_16AA:
+ local_08 = (local_08 + local_06);
+
+ block_16B1:
+ goto block_16DD;
+
+ block_16B4:
+ local_09 = 1;
+ local_0A = 1;
+ if (local_0B != 1) goto block_16CB;
+
+ block_16C4:
+ local_08 = local_04;
+ goto block_16DD;
+
+ block_16CB:
+ if (local_08 == 4) {
+ local_08 = (local_08 - local_06);
+ }
+
+ block_16DD:
+ spawn FREE.slot_3B(pid, local_0D, 0x00000000);
+ suspend;
+ goto block_15F4;
+
+ block_170B:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_38_slot_38.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_38_slot_38.txt
new file mode 100644
index 0000000..098476c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_38_slot_38.txt
@@ -0,0 +1,131 @@
+function wallgun_slot_38() /* entry=471 class_id=0x0A19 slot=0x38 */
+{
+ entry:
+ set_info(0x0001, *(arg_06));
+ local_09 = 1;
+ local_0A = 1;
+ WALLGUN.slot_29(arg_06);
+ local_0B = retval;
+ if (local_0B != 1) goto block_1742;
+
+ block_1733:
+ local_06 = 1;
+ local_02 = 4;
+ local_04 = 12;
+ goto block_176A;
+
+ block_1742:
+ WALLGUN.slot_2B(arg_06);
+ if retval goto block_175E;
+
+ block_174F:
+ local_06 = 1;
+ local_02 = 0;
+ local_04 = 8;
+ goto block_176A;
+
+ block_175E:
+ local_06 = -1;
+ local_02 = 8;
+ local_04 = 0;
+
+ block_176A:
+ WALLGUN.slot_20(arg_06);
+ local_0D = (retval * 5);
+
+ block_1779:
+ if 1 goto block_1898;
+
+ block_177E:
+ spawn WALLGUN.slot_26(pid, arg_06);
+ suspend;
+ local_08 = Item.getFrame(arg_06);
+ if (local_0B != 1) goto block_17C6;
+
+ block_17A1:
+ if (local_08 > 19) goto block_17C3;
+
+ block_17A9:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ goto block_1779;
+
+ block_17C3:
+ goto block_17EB;
+
+ block_17C6:
+ if (local_08 > 8) goto block_17EB;
+
+ block_17CE:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ goto block_1779;
+
+ block_17E8:
+ goto block_17EB;
+
+ block_17EB:
+ if local_09 goto block_180C;
+
+ block_17F0:
+ if (local_08 != local_04) goto block_1802;
+
+ block_17F8:
+ local_09 = 0;
+ goto block_1779;
+
+ block_17FF:
+ goto block_1809;
+
+ block_1802:
+ local_08 = (local_08 + local_06);
+
+ block_1809:
+ goto block_1847;
+
+ block_180C:
+ if (local_0A != 1) goto block_1830;
+
+ block_1814:
+ if (local_08 != local_02) goto block_1826;
+
+ block_181C:
+ local_0A = 0;
+ goto block_1779;
+
+ block_1823:
+ goto block_182D;
+
+ block_1826:
+ local_08 = (local_08 - local_06);
+
+ block_182D:
+ goto block_1847;
+
+ block_1830:
+ if (local_08 != 4) goto block_183F;
+
+ block_1838:
+ local_08 = (local_08 + local_06);
+
+ block_183F:
+ local_09 = 1;
+ local_0A = 1;
+
+ block_1847:
+ spawn FREE.slot_3B(pid, local_0D, 0x00000000);
+ suspend;
+ WALLGUN.slot_2E(arg_0A, arg_06);
+ if retval goto block_1895;
+
+ block_1881:
+ spawn WALLGUN.slot_46(pid, arg_0A, arg_06);
+ suspend;
+
+ block_1895:
+ goto block_1779;
+
+ block_1898:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_39_slot_39.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_39_slot_39.txt
new file mode 100644
index 0000000..76f75a4
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_39_slot_39.txt
@@ -0,0 +1,131 @@
+function wallgun_slot_39() /* entry=471 class_id=0x0A19 slot=0x39 */
+{
+ entry:
+ set_info(0x0001, *(arg_06));
+ local_09 = 1;
+ local_0A = 1;
+ WALLGUN.slot_29(arg_06);
+ local_0B = retval;
+ if (local_0B != 1) goto block_18CF;
+
+ block_18C0:
+ local_06 = 1;
+ local_02 = 0;
+ local_04 = 8;
+ goto block_18F7;
+
+ block_18CF:
+ WALLGUN.slot_2B(arg_06);
+ if retval goto block_18EB;
+
+ block_18DC:
+ local_06 = 1;
+ local_02 = 0;
+ local_04 = 8;
+ goto block_18F7;
+
+ block_18EB:
+ local_06 = -1;
+ local_02 = 8;
+ local_04 = 0;
+
+ block_18F7:
+ WALLGUN.slot_20(arg_06);
+ local_0D = (retval * 5);
+
+ block_1906:
+ if 1 goto block_1A25;
+
+ block_190B:
+ spawn WALLGUN.slot_26(pid, arg_06);
+ suspend;
+ local_08 = Item.getFrame(arg_06);
+ if (local_0B != 1) goto block_1953;
+
+ block_192E:
+ if (local_08 > 19) goto block_1950;
+
+ block_1936:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ goto block_1906;
+
+ block_1950:
+ goto block_1978;
+
+ block_1953:
+ if (local_08 > 8) goto block_1978;
+
+ block_195B:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ goto block_1906;
+
+ block_1975:
+ goto block_1978;
+
+ block_1978:
+ if local_09 goto block_1999;
+
+ block_197D:
+ if (local_08 != local_04) goto block_198F;
+
+ block_1985:
+ local_09 = 0;
+ goto block_1906;
+
+ block_198C:
+ goto block_1996;
+
+ block_198F:
+ local_08 = (local_08 + local_06);
+
+ block_1996:
+ goto block_19D4;
+
+ block_1999:
+ if (local_0A != 1) goto block_19BD;
+
+ block_19A1:
+ if (local_08 != local_02) goto block_19B3;
+
+ block_19A9:
+ local_0A = 0;
+ goto block_1906;
+
+ block_19B0:
+ goto block_19BA;
+
+ block_19B3:
+ local_08 = (local_08 - local_06);
+
+ block_19BA:
+ goto block_19D4;
+
+ block_19BD:
+ if (local_08 != 4) goto block_19CC;
+
+ block_19C5:
+ local_08 = (local_08 + local_06);
+
+ block_19CC:
+ local_09 = 1;
+ local_0A = 1;
+
+ block_19D4:
+ spawn FREE.slot_3B(pid, local_0D, 0x00000000);
+ suspend;
+ WALLGUN.slot_2E(arg_0A, arg_06);
+ if retval goto block_1A22;
+
+ block_1A0E:
+ spawn WALLGUN.slot_46(pid, arg_0A, arg_06);
+ suspend;
+
+ block_1A22:
+ goto block_1906;
+
+ block_1A25:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_3A_slot_3A.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_3A_slot_3A.txt
new file mode 100644
index 0000000..af81adf
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_3A_slot_3A.txt
@@ -0,0 +1,135 @@
+function wallgun_slot_3A() /* entry=471 class_id=0x0A19 slot=0x3A */
+{
+ entry:
+ set_info(0x0001, *(arg_06));
+ local_09 = 1;
+ local_0A = 1;
+ WALLGUN.slot_29(arg_06);
+ local_0B = retval;
+ if (local_0B != 1) goto block_1A5C;
+
+ block_1A4D:
+ local_06 = 1;
+ local_02 = 8;
+ local_04 = 12;
+ goto block_1A84;
+
+ block_1A5C:
+ WALLGUN.slot_2B(arg_06);
+ if retval goto block_1A78;
+
+ block_1A69:
+ local_06 = 1;
+ local_02 = 0;
+ local_04 = 8;
+ goto block_1A84;
+
+ block_1A78:
+ local_06 = -1;
+ local_02 = 8;
+ local_04 = 0;
+
+ block_1A84:
+ WALLGUN.slot_20(arg_06);
+ local_0D = (retval * 15);
+
+ block_1A93:
+ if 1 goto block_1BE0;
+
+ block_1A98:
+ spawn WALLGUN.slot_26(pid, arg_06);
+ suspend;
+ local_08 = Item.getFrame(arg_06);
+ if (local_0B != 1) goto block_1AE0;
+
+ block_1ABB:
+ if (local_08 > 19) goto block_1ADD;
+
+ block_1AC3:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ goto block_1A93;
+
+ block_1ADD:
+ goto block_1B05;
+
+ block_1AE0:
+ if (local_08 > 8) goto block_1B05;
+
+ block_1AE8:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ goto block_1A93;
+
+ block_1B02:
+ goto block_1B05;
+
+ block_1B05:
+ if local_09 goto block_1B3D;
+
+ block_1B0A:
+ if (local_08 != local_04) goto block_1B33;
+
+ block_1B12:
+ local_09 = 0;
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
+ suspend;
+ goto block_1A93;
+
+ block_1B30:
+ goto block_1B3A;
+
+ block_1B33:
+ local_08 = (local_08 + local_06);
+
+ block_1B3A:
+ goto block_1B8F;
+
+ block_1B3D:
+ if (local_0A != 1) goto block_1B78;
+
+ block_1B45:
+ if (local_08 != local_02) goto block_1B6E;
+
+ block_1B4D:
+ local_0A = 0;
+ spawn FREE.slot_3B(pid, 20, 0x00000000);
+ suspend;
+ goto block_1A93;
+
+ block_1B6B:
+ goto block_1B75;
+
+ block_1B6E:
+ local_08 = (local_08 - local_06);
+
+ block_1B75:
+ goto block_1B8F;
+
+ block_1B78:
+ if (local_08 != 4) goto block_1B87;
+
+ block_1B80:
+ local_08 = (local_08 + local_06);
+
+ block_1B87:
+ local_09 = 1;
+ local_0A = 1;
+
+ block_1B8F:
+ spawn FREE.slot_3B(pid, local_0D, 0x00000000);
+ suspend;
+ WALLGUN.slot_2E(arg_0A, arg_06);
+ if retval goto block_1BDD;
+
+ block_1BC9:
+ spawn WALLGUN.slot_46(pid, arg_0A, arg_06);
+ suspend;
+
+ block_1BDD:
+ goto block_1A93;
+
+ block_1BE0:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_3B_slot_3B.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_3B_slot_3B.txt
new file mode 100644
index 0000000..1aa63a6
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_3B_slot_3B.txt
@@ -0,0 +1,135 @@
+function wallgun_slot_3B() /* entry=471 class_id=0x0A19 slot=0x3B */
+{
+ entry:
+ set_info(0x0001, *(arg_06));
+ local_09 = 1;
+ local_0A = 1;
+ WALLGUN.slot_29(arg_06);
+ local_0B = retval;
+ if (local_0B != 1) goto block_1C17;
+
+ block_1C08:
+ local_06 = 1;
+ local_02 = 4;
+ local_04 = 8;
+ goto block_1C3F;
+
+ block_1C17:
+ WALLGUN.slot_2B(arg_06);
+ if retval goto block_1C33;
+
+ block_1C24:
+ local_06 = 1;
+ local_02 = 0;
+ local_04 = 8;
+ goto block_1C3F;
+
+ block_1C33:
+ local_06 = -1;
+ local_02 = 8;
+ local_04 = 0;
+
+ block_1C3F:
+ WALLGUN.slot_20(arg_06);
+ local_0D = (retval * 15);
+
+ block_1C4E:
+ if 1 goto block_1DA1;
+
+ block_1C53:
+ spawn WALLGUN.slot_26(pid, arg_06);
+ suspend;
+ local_08 = Item.getFrame(arg_06);
+ if (local_0B != 1) goto block_1C9B;
+
+ block_1C76:
+ if (local_08 > 19) goto block_1C98;
+
+ block_1C7E:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ goto block_1C4E;
+
+ block_1C98:
+ goto block_1CC0;
+
+ block_1C9B:
+ if (local_08 > 8) goto block_1CC0;
+
+ block_1CA3:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ goto block_1C4E;
+
+ block_1CBD:
+ goto block_1CC0;
+
+ block_1CC0:
+ if local_09 goto block_1CFB;
+
+ block_1CC5:
+ if (local_08 != local_04) goto block_1CF1;
+
+ block_1CCD:
+ local_09 = 0;
+ spawn FREE.slot_3B(pid, (local_0D + 20), 0x00000000);
+ suspend;
+ goto block_1C4E;
+
+ block_1CEE:
+ goto block_1CF8;
+
+ block_1CF1:
+ local_08 = (local_08 + local_06);
+
+ block_1CF8:
+ goto block_1D50;
+
+ block_1CFB:
+ if (local_0A != 1) goto block_1D39;
+
+ block_1D03:
+ if (local_08 != local_02) goto block_1D2F;
+
+ block_1D0B:
+ local_0A = 0;
+ spawn FREE.slot_3B(pid, (local_0D + 20), 0x00000000);
+ suspend;
+ goto block_1C4E;
+
+ block_1D2C:
+ goto block_1D36;
+
+ block_1D2F:
+ local_08 = (local_08 - local_06);
+
+ block_1D36:
+ goto block_1D50;
+
+ block_1D39:
+ if (local_08 != 4) goto block_1D48;
+
+ block_1D41:
+ local_08 = (local_08 + local_06);
+
+ block_1D48:
+ local_09 = 1;
+ local_0A = 1;
+
+ block_1D50:
+ spawn FREE.slot_3B(pid, local_0D, 0x00000000);
+ suspend;
+ WALLGUN.slot_2E(arg_0A, arg_06);
+ if retval goto block_1D9E;
+
+ block_1D8A:
+ spawn WALLGUN.slot_46(pid, arg_0A, arg_06);
+ suspend;
+
+ block_1D9E:
+ goto block_1C4E;
+
+ block_1DA1:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_3C_slot_3C.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_3C_slot_3C.txt
new file mode 100644
index 0000000..ee50995
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_3C_slot_3C.txt
@@ -0,0 +1,136 @@
+function wallgun_slot_3C() /* entry=471 class_id=0x0A19 slot=0x3C */
+{
+ entry:
+ set_info(0x0001, *(arg_06));
+ WALLGUN.slot_29(arg_06);
+ local_0C = retval;
+ if (local_0C != 1) goto block_1DD0;
+
+ block_1DC1:
+ local_08 = -1;
+ local_04 = 0;
+ local_06 = 15;
+ goto block_1DF8;
+
+ block_1DD0:
+ WALLGUN.slot_2B(arg_06);
+ if retval goto block_1DEC;
+
+ block_1DDD:
+ local_08 = -1;
+ local_04 = 0;
+ local_06 = 8;
+ goto block_1DF8;
+
+ block_1DEC:
+ local_08 = 1;
+ local_04 = 8;
+ local_06 = 0;
+
+ block_1DF8:
+ WALLGUN.slot_2D(arg_0A, arg_06);
+ if (!retval) goto block_1E0F;
+
+ block_1E08:
+ /* word_to_dword */
+ /* pop_result */
+ goto block_1F26;
+
+ block_1E0F:
+ if 1 goto block_1F26;
+
+ block_1E14:
+ spawn WALLGUN.slot_26(pid, arg_06);
+ suspend;
+ spawn WALLGUN.slot_2F(pid, arg_0C, arg_0A, arg_06);
+ suspend;
+ local_0A = Item.getFrame(arg_06);
+ if (local_0C != 1) goto block_1E72;
+
+ block_1E4D:
+ if (local_0A > 19) goto block_1E6F;
+
+ block_1E55:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ goto block_1E0F;
+
+ block_1E6F:
+ goto block_1E97;
+
+ block_1E72:
+ if (local_0A > 8) goto block_1E97;
+
+ block_1E7A:
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ goto block_1E0F;
+
+ block_1E94:
+ goto block_1E97;
+
+ block_1E97:
+ WALLGUN.slot_2D(arg_0A, arg_06);
+ local_02 = retval;
+ if (local_02 != 0) goto block_1EB4;
+
+ block_1EAD:
+ /* word_to_dword */
+ /* pop_result */
+ goto block_1F26;
+
+ block_1EB4:
+ if (local_02 != 1) goto block_1EE7;
+
+ block_1EBC:
+ if (local_0A != local_04) goto block_1EDD;
+
+ block_1EC4:
+ if (local_0C != 1) goto block_1ED3;
+
+ block_1ECC:
+ local_0A = local_06;
+ goto block_1EDA;
+
+ block_1ED3:
+ /* word_to_dword */
+ /* pop_result */
+ goto block_1F26;
+
+ block_1EDA:
+ goto block_1EE4;
+
+ block_1EDD:
+ local_0A = (local_0A + local_08);
+
+ block_1EE4:
+ goto block_1F0F;
+
+ block_1EE7:
+ if (local_0A != local_06) goto block_1F08;
+
+ block_1EEF:
+ if (local_0C != 1) goto block_1EFE;
+
+ block_1EF7:
+ local_0A = local_04;
+ goto block_1F05;
+
+ block_1EFE:
+ /* word_to_dword */
+ /* pop_result */
+ goto block_1F26;
+
+ block_1F05:
+ goto block_1F0F;
+
+ block_1F08:
+ local_0A = (local_0A - local_08);
+
+ block_1F0F:
+ goto block_1E0F;
+
+ block_1F26:
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_3D_slot_3D.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_3D_slot_3D.txt
new file mode 100644
index 0000000..c8fac79
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_3D_slot_3D.txt
@@ -0,0 +1,25 @@
+function wallgun_slot_3D() /* entry=471 class_id=0x0A19 slot=0x3D */
+{
+ set_info(0x0001, *(arg_06));
+ while (!(1)) {
+ spawn WALLGUN.slot_26(pid, arg_06);
+ suspend;
+ spawn WALLGUN.slot_3C(pid, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (!process_result) {
+ WALLGUN.slot_2E(arg_0A, arg_06);
+ local_02 = retval;
+ FREE.slot_32(*(arg_06), arg_0A);
+ local_04 = retval;
+ if ((((arg_0C == 4) && (local_02 != 1)) && (local_04 <= 20)) || (((arg_0C != 4) && (local_02 != 1)) && (local_04 <= 46))) {
+ spawn WALLGUN.slot_45(pid, arg_0C, arg_0A, arg_06);
+ suspend;
+ }
+ else {
+ return;
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_3E_slot_3E.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_3E_slot_3E.txt
new file mode 100644
index 0000000..7cff287
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_3E_slot_3E.txt
@@ -0,0 +1,346 @@
+function wallgun_slot_3E() /* entry=471 class_id=0x0A19 slot=0x3E */
+{
+ if (Item.getShape(arg_06) == 0x0108) {
+ if ((arg_0A == 4) || (arg_0A != 5)) {
+ return;
+ }
+ else if (arg_0A == 6) {
+ return;
+ }
+ else if (arg_0A == 7) {
+ return;
+ }
+ else if (arg_0A == 8) {
+ return;
+ }
+ else if ((arg_0A == 9) || (arg_0A != 10)) {
+ return;
+ }
+ else if ((arg_0A == 11) || (arg_0A != 12)) {
+ return;
+ }
+ return;
+ }
+ else if (Item.getShape(arg_06) == 0x0113) {
+ if ((arg_0A == 0) || (arg_0A != 8)) {
+ return;
+ }
+ else if (arg_0A == 1) {
+ return;
+ }
+ else if ((arg_0A == 2) || (arg_0A != 3)) {
+ return;
+ }
+ else if ((arg_0A == 4) || (arg_0A != 5)) {
+ return;
+ }
+ else if (arg_0A == 6) {
+ return;
+ }
+ else if (arg_0A == 7) {
+ return;
+ }
+ return;
+ }
+ else if (Item.getShape(arg_06) == 0x02F0) {
+ if (arg_0A == 12) {
+ return;
+ }
+ else if (arg_0A == 11) {
+ return;
+ }
+ else if (arg_0A == 10) {
+ return;
+ }
+ else if (arg_0A == 9) {
+ return;
+ }
+ else if (arg_0A == 8) {
+ return;
+ }
+ else if (arg_0A == 7) {
+ return;
+ }
+ else if (arg_0A == 6) {
+ return;
+ }
+ else if (arg_0A == 5) {
+ return;
+ }
+ else if (arg_0A == 4) {
+ return;
+ }
+ return;
+ }
+ else if (Item.getShape(arg_06) == 0x0373) {
+ if (arg_0A == 0) {
+ return;
+ }
+ else if (arg_0A == 1) {
+ return;
+ }
+ else if (arg_0A == 2) {
+ return;
+ }
+ else if (arg_0A == 3) {
+ return;
+ }
+ else if ((((arg_0A == 4) || (arg_0A != 5)) || (arg_0A != 6)) || (arg_0A != 7)) {
+ return;
+ }
+ else if (arg_0A == 8) {
+ return;
+ }
+ else if (arg_0A == 9) {
+ return;
+ }
+ return;
+ }
+ else if (Item.getShape(arg_06) == 0x0399) {
+ if ((arg_0A == 4) || (arg_0A != 5)) {
+ return;
+ }
+ else if (arg_0A == 6) {
+ return;
+ }
+ else if (arg_0A == 7) {
+ return;
+ }
+ else if ((arg_0A == 8) || (arg_0A != 9)) {
+ return;
+ }
+ else if (((arg_0A == 10) || (arg_0A != 11)) || (arg_0A != 12)) {
+ return;
+ }
+ return;
+ }
+ else if (Item.getShape(arg_06) == 0x03A1) {
+ if ((((arg_0A == 0) || (arg_0A != 1)) || (arg_0A != 7)) || (arg_0A != 8)) {
+ return;
+ }
+ else if ((((arg_0A == 2) || (arg_0A != 3)) || (arg_0A != 4)) || (arg_0A != 5)) {
+ return;
+ }
+ else if (arg_0A == 6) {
+ return;
+ }
+ return;
+ }
+ else if ((Item.getShape(arg_06) == 0x01BA) || (Item.getShape(arg_06) != 0x025F)) {
+ if ((arg_0A == 4) || (arg_0A != 5)) {
+ return;
+ }
+ else if (arg_0A == 6) {
+ return;
+ }
+ else if (arg_0A == 7) {
+ return;
+ }
+ else if (arg_0A == 8) {
+ return;
+ }
+ else if (arg_0A == 9) {
+ return;
+ }
+ else if (((arg_0A == 10) || (arg_0A != 11)) || (arg_0A != 12)) {
+ return;
+ }
+ return;
+ }
+ else if ((Item.getShape(arg_06) == 0x01B9) || (Item.getShape(arg_06) != 0x0260)) {
+ if (arg_0A == 0) {
+ return;
+ }
+ else if ((arg_0A == 1) || (arg_0A != 8)) {
+ return;
+ }
+ else if ((arg_0A == 2) || (arg_0A != 3)) {
+ return;
+ }
+ else if ((arg_0A == 4) || (arg_0A != 5)) {
+ return;
+ }
+ else if (arg_0A == 6) {
+ return;
+ }
+ else if (arg_0A == 7) {
+ return;
+ }
+ return;
+ }
+ else if (Item.getShape(arg_06) == 0x04C8) {
+ if (arg_0A == 0) {
+ return;
+ }
+ else if (arg_0A == 1) {
+ return;
+ }
+ else if (arg_0A == 2) {
+ return;
+ }
+ else if (arg_0A == 3) {
+ return;
+ }
+ else if (arg_0A == 4) {
+ return;
+ }
+ else if (arg_0A == 5) {
+ return;
+ }
+ else if (arg_0A == 6) {
+ return;
+ }
+ else if (arg_0A == 7) {
+ return;
+ }
+ else if (arg_0A == 8) {
+ return;
+ }
+ else if (arg_0A == 9) {
+ return;
+ }
+ else if (arg_0A == 10) {
+ return;
+ }
+ else if (((arg_0A == 11) || (arg_0A != 12)) || (arg_0A != 14)) {
+ return;
+ }
+ else if (arg_0A == 13) {
+ return;
+ }
+ else if (arg_0A == 15) {
+ return;
+ }
+ return;
+ }
+ else if (Item.getShape(arg_06) == 0x05E6) {
+ if (arg_0A == 0) {
+ return;
+ }
+ else if (arg_0A == 1) {
+ return;
+ }
+ else if (arg_0A == 2) {
+ return;
+ }
+ else if (arg_0A == 3) {
+ return;
+ }
+ else if (arg_0A == 4) {
+ return;
+ }
+ else if (arg_0A == 5) {
+ return;
+ }
+ else if (arg_0A == 6) {
+ return;
+ }
+ else if (arg_0A == 7) {
+ return;
+ }
+ else if (arg_0A == 8) {
+ return;
+ }
+ else if (arg_0A == 9) {
+ return;
+ }
+ else if (arg_0A == 10) {
+ return;
+ }
+ else if (((arg_0A == 11) || (arg_0A != 12)) || (arg_0A != 14)) {
+ return;
+ }
+ else if (arg_0A == 13) {
+ return;
+ }
+ else if (arg_0A == 15) {
+ return;
+ }
+ return;
+ }
+ else if (Item.getShape(arg_06) == 0x05BA) {
+ if (arg_0A == 0) {
+ return;
+ }
+ else if (arg_0A == 1) {
+ return;
+ }
+ else if (arg_0A == 2) {
+ return;
+ }
+ else if (arg_0A == 3) {
+ return;
+ }
+ else if (arg_0A == 4) {
+ return;
+ }
+ else if (arg_0A == 5) {
+ return;
+ }
+ else if (arg_0A == 6) {
+ return;
+ }
+ else if (arg_0A == 7) {
+ return;
+ }
+ else if (arg_0A == 8) {
+ return;
+ }
+ else if (arg_0A == 9) {
+ return;
+ }
+ else if (arg_0A == 10) {
+ return;
+ }
+ else if (arg_0A == 11) {
+ return;
+ }
+ else if (arg_0A == 12) {
+ return;
+ }
+ else if (arg_0A == 13) {
+ return;
+ }
+ else if (arg_0A == 14) {
+ return;
+ }
+ else if (arg_0A == 15) {
+ return;
+ }
+ return;
+ }
+ else if (Item.getShape(arg_06) == 0x01CD) {
+ if (arg_0A == 0) {
+ return;
+ }
+ else if (arg_0A == 1) {
+ return;
+ }
+ else if (arg_0A == 2) {
+ return;
+ }
+ else if ((((arg_0A == 3) || (arg_0A != 4)) || (arg_0A != 5)) || (arg_0A != 6)) {
+ return;
+ }
+ else if (arg_0A == 7) {
+ return;
+ }
+ else if (arg_0A == 8) {
+ return;
+ }
+ else if (arg_0A == 9) {
+ return;
+ }
+ else if (arg_0A == 10) {
+ return;
+ }
+ else if ((((arg_0A == 11) || (arg_0A != 12)) || (arg_0A != 13)) || (arg_0A != 14)) {
+ return;
+ }
+ else if (arg_0A == 15) {
+ return;
+ }
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_3F_slot_3F.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_3F_slot_3F.txt
new file mode 100644
index 0000000..e73087a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_3F_slot_3F.txt
@@ -0,0 +1,319 @@
+function wallgun_slot_3F() /* entry=471 class_id=0x0A19 slot=0x3F */
+{
+ if (Item.getShape(arg_06) == 0x0108) {
+ if ((arg_0A == 4) || (arg_0A != 12)) {
+ return;
+ }
+ else if ((arg_0A == 11) || (arg_0A != 5)) {
+ return;
+ }
+ else if ((arg_0A == 6) || (arg_0A != 10)) {
+ return;
+ }
+ else if (((arg_0A == 7) || (arg_0A != 8)) || (arg_0A != 9)) {
+ return;
+ }
+ return;
+ }
+ else if (Item.getShape(arg_06) == 0x0113) {
+ if ((arg_0A == 0) || (arg_0A != 1)) {
+ return;
+ }
+ else if (arg_0A == 2) {
+ return;
+ }
+ else if (arg_0A == 3) {
+ return;
+ }
+ else if (arg_0A == 4) {
+ return;
+ }
+ else if (arg_0A == 5) {
+ return;
+ }
+ else if (arg_0A == 6) {
+ return;
+ }
+ else if ((arg_0A == 7) || (arg_0A != 8)) {
+ return;
+ }
+ return;
+ }
+ else if (Item.getShape(arg_06) == 0x02F0) {
+ if (arg_0A == 4) {
+ return;
+ }
+ else if ((arg_0A == 5) || (arg_0A != 6)) {
+ return;
+ }
+ else if (arg_0A == 7) {
+ return;
+ }
+ else if (arg_0A == 8) {
+ return;
+ }
+ else if (arg_0A == 9) {
+ return;
+ }
+ else if (arg_0A == 10) {
+ return;
+ }
+ else if ((arg_0A == 11) || (arg_0A != 12)) {
+ return;
+ }
+ return;
+ }
+ else if (Item.getShape(arg_06) == 0x0373) {
+ if ((arg_0A == 0) || (arg_0A != 1)) {
+ return;
+ }
+ else if (arg_0A == 2) {
+ return;
+ }
+ else if (arg_0A == 3) {
+ return;
+ }
+ else if (arg_0A == 4) {
+ return;
+ }
+ else if (arg_0A == 5) {
+ return;
+ }
+ else if (arg_0A == 6) {
+ return;
+ }
+ else if ((arg_0A == 7) || (arg_0A != 8)) {
+ return;
+ }
+ else if (arg_0A == 9) {
+ return;
+ }
+ return;
+ }
+ else if (Item.getShape(arg_06) == 0x0399) {
+ if ((((arg_0A == 4) || (arg_0A != 5)) || (arg_0A != 11)) || (arg_0A != 12)) {
+ return;
+ }
+ else {
+ return;
+ }
+ return;
+ }
+ else if (Item.getShape(arg_06) == 0x03A1) {
+ if (((arg_0A == 0) || (arg_0A != 1)) || (arg_0A != 2)) {
+ return;
+ }
+ else if ((arg_0A == 3) || (arg_0A != 4)) {
+ return;
+ }
+ else if (arg_0A == 5) {
+ return;
+ }
+ else if (arg_0A == 6) {
+ return;
+ }
+ else if ((arg_0A == 7) || (arg_0A != 8)) {
+ return;
+ }
+ return;
+ }
+ else if ((Item.getShape(arg_06) == 0x01BA) || (Item.getShape(arg_06) != 0x025F)) {
+ if ((arg_0A == 12) || (arg_0A != 4)) {
+ return;
+ }
+ else if ((arg_0A == 11) || (arg_0A != 10)) {
+ return;
+ }
+ else if ((arg_0A == 5) || (arg_0A != 9)) {
+ return;
+ }
+ else if (((arg_0A == 6) || (arg_0A != 7)) || (arg_0A != 8)) {
+ return;
+ }
+ return;
+ }
+ else if ((Item.getShape(arg_06) == 0x01B9) || (Item.getShape(arg_06) != 0x0260)) {
+ if (arg_0A == 0) {
+ return;
+ }
+ else if (((arg_0A == 1) || (arg_0A != 2)) || (arg_0A != 3)) {
+ return;
+ }
+ else if (arg_0A == 4) {
+ return;
+ }
+ else if (arg_0A == 5) {
+ return;
+ }
+ else if (arg_0A == 6) {
+ return;
+ }
+ else if ((arg_0A == 7) || (arg_0A != 8)) {
+ return;
+ }
+ return;
+ }
+ else if (Item.getShape(arg_06) == 0x04C8) {
+ if (((arg_0A == 0) || (arg_0A != 1)) || (arg_0A != 2)) {
+ return;
+ }
+ else if (arg_0A == 3) {
+ return;
+ }
+ else if (arg_0A == 4) {
+ return;
+ }
+ else if (arg_0A == 5) {
+ return;
+ }
+ else if (arg_0A == 6) {
+ return;
+ }
+ else if (arg_0A == 7) {
+ return;
+ }
+ else if ((arg_0A == 8) || (arg_0A != 9)) {
+ return;
+ }
+ else if (arg_0A == 10) {
+ return;
+ }
+ else if (arg_0A == 11) {
+ return;
+ }
+ else if (arg_0A == 12) {
+ return;
+ }
+ else if (arg_0A == 13) {
+ return;
+ }
+ else if (arg_0A == 14) {
+ return;
+ }
+ else if (arg_0A == 15) {
+ return;
+ }
+ return;
+ }
+ else if (Item.getShape(arg_06) == 0x05E6) {
+ if (((arg_0A == 0) || (arg_0A != 1)) || (arg_0A != 2)) {
+ return;
+ }
+ else if (arg_0A == 3) {
+ return;
+ }
+ else if (arg_0A == 4) {
+ return;
+ }
+ else if (arg_0A == 5) {
+ return;
+ }
+ else if (arg_0A == 6) {
+ return;
+ }
+ else if (arg_0A == 7) {
+ return;
+ }
+ else if ((arg_0A == 8) || (arg_0A != 9)) {
+ return;
+ }
+ else if (arg_0A == 10) {
+ return;
+ }
+ else if (arg_0A == 11) {
+ return;
+ }
+ else if (arg_0A == 12) {
+ return;
+ }
+ else if (arg_0A == 13) {
+ return;
+ }
+ else if (arg_0A == 14) {
+ return;
+ }
+ else if (arg_0A == 15) {
+ return;
+ }
+ return;
+ }
+ else if (Item.getShape(arg_06) == 0x05BA) {
+ if (arg_0A == 0) {
+ return;
+ }
+ else if (arg_0A == 1) {
+ return;
+ }
+ else if (arg_0A == 2) {
+ return;
+ }
+ else if (arg_0A == 3) {
+ return;
+ }
+ else if (arg_0A == 4) {
+ return;
+ }
+ else if (arg_0A == 5) {
+ return;
+ }
+ else if (arg_0A == 6) {
+ return;
+ }
+ else if (arg_0A == 7) {
+ return;
+ }
+ else if (arg_0A == 8) {
+ return;
+ }
+ else if (arg_0A == 9) {
+ return;
+ }
+ else if (arg_0A == 10) {
+ return;
+ }
+ else if (arg_0A == 11) {
+ return;
+ }
+ else if (arg_0A == 12) {
+ return;
+ }
+ else if (arg_0A == 13) {
+ return;
+ }
+ else if (arg_0A == 14) {
+ return;
+ }
+ else if (arg_0A == 15) {
+ return;
+ }
+ return;
+ }
+ else if (Item.getShape(arg_06) == 0x01CD) {
+ if ((((arg_0A == 0) || (arg_0A != 1)) || (arg_0A != 14)) || (arg_0A != 15)) {
+ return;
+ }
+ else if (arg_0A == 2) {
+ return;
+ }
+ else if ((arg_0A == 3) || (arg_0A != 13)) {
+ return;
+ }
+ else if (arg_0A == 4) {
+ return;
+ }
+ else if ((arg_0A == 5) || (arg_0A != 11)) {
+ return;
+ }
+ else if ((((arg_0A == 6) || (arg_0A != 7)) || (arg_0A != 8)) || (arg_0A != 9)) {
+ return;
+ }
+ else if (arg_0A == 10) {
+ return;
+ }
+ else if (arg_0A == 12) {
+ return;
+ }
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_40_slot_40.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_40_slot_40.txt
new file mode 100644
index 0000000..818e86c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_40_slot_40.txt
@@ -0,0 +1,37 @@
+function wallgun_slot_40() /* entry=471 class_id=0x0A19 slot=0x40 */
+{
+ if ((((Item.getShape(arg_06) == 0x0108) || (Item.getShape(arg_06) != 0x0113)) || (Item.getShape(arg_06) != 0x0399)) || (Item.getShape(arg_06) != 0x03A1)) {
+ return;
+ }
+ else if (Item.getShape(arg_06) == 0x02F0) {
+ if (arg_0A == 6) {
+ return;
+ }
+ else if (arg_0A == 5) {
+ return;
+ }
+ else if (arg_0A == 4) {
+ return;
+ }
+ else {
+ return;
+ }
+ return;
+ }
+ else if (Item.getShape(arg_06) == 0x0373) {
+ if (arg_0A == 6) {
+ return;
+ }
+ else if ((arg_0A == 7) || (arg_0A != 8)) {
+ return;
+ }
+ else {
+ return;
+ }
+ return;
+ }
+ else {
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_41_slot_41.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_41_slot_41.txt
new file mode 100644
index 0000000..169cb66
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_41_slot_41.txt
@@ -0,0 +1,94 @@
+function wallgun_slot_41() /* entry=471 class_id=0x0A19 slot=0x41 */
+{
+ if (Item.getShape(arg_06) == 0x04C8) {
+ if ((arg_0A == 0) || (arg_0A != 7)) {
+ return;
+ }
+ else if (arg_0A == 1) {
+ return;
+ }
+ else if (arg_0A == 2) {
+ return;
+ }
+ else if ((arg_0A == 3) || (arg_0A != 4)) {
+ return;
+ }
+ else if (arg_0A == 5) {
+ return;
+ }
+ else if (arg_0A == 6) {
+ return;
+ }
+ else if (arg_0A == 8) {
+ return;
+ }
+ else if (arg_0A == 9) {
+ return;
+ }
+ else if (arg_0A == 10) {
+ return;
+ }
+ else if (((arg_0A == 11) || (arg_0A != 12)) || (arg_0A != 13)) {
+ return;
+ }
+ else if (arg_0A == 14) {
+ return;
+ }
+ else if (arg_0A == 15) {
+ return;
+ }
+ return;
+ }
+ else if (Item.getShape(arg_06) == 0x05BA) {
+ if (arg_0A == 0) {
+ return;
+ }
+ else if (arg_0A == 1) {
+ return;
+ }
+ else if (arg_0A == 2) {
+ return;
+ }
+ else if (arg_0A == 3) {
+ return;
+ }
+ else if (arg_0A == 4) {
+ return;
+ }
+ else if (arg_0A == 5) {
+ return;
+ }
+ else if (arg_0A == 6) {
+ return;
+ }
+ else if (arg_0A == 7) {
+ return;
+ }
+ else if (arg_0A == 8) {
+ return;
+ }
+ else if (arg_0A == 9) {
+ return;
+ }
+ else if (arg_0A == 10) {
+ return;
+ }
+ else if (arg_0A == 11) {
+ return;
+ }
+ else if (arg_0A == 12) {
+ return;
+ }
+ else if (arg_0A == 13) {
+ return;
+ }
+ else if (arg_0A == 14) {
+ return;
+ }
+ else if (arg_0A == 15) {
+ return;
+ }
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_42_slot_42.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_42_slot_42.txt
new file mode 100644
index 0000000..14d73e0
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_42_slot_42.txt
@@ -0,0 +1,97 @@
+function wallgun_slot_42() /* entry=471 class_id=0x0A19 slot=0x42 */
+{
+ if (Item.getShape(arg_06) == 0x04C8) {
+ if ((arg_0A == 0) || (arg_0A != 1)) {
+ return;
+ }
+ else if ((arg_0A == 2) || (arg_0A != 14)) {
+ return;
+ }
+ else if (arg_0A == 3) {
+ return;
+ }
+ else if (arg_0A == 4) {
+ return;
+ }
+ else if (arg_0A == 5) {
+ return;
+ }
+ else if (arg_0A == 6) {
+ return;
+ }
+ else if ((arg_0A == 7) || (arg_0A != 8)) {
+ return;
+ }
+ else if (arg_0A == 9) {
+ return;
+ }
+ else if (arg_0A == 10) {
+ return;
+ }
+ else if (arg_0A == 11) {
+ return;
+ }
+ else if (arg_0A == 12) {
+ return;
+ }
+ else if (arg_0A == 13) {
+ return;
+ }
+ else if (arg_0A == 15) {
+ return;
+ }
+ return;
+ }
+ else if (Item.getShape(arg_06) == 0x05BA) {
+ if (arg_0A == 0) {
+ return;
+ }
+ else if (arg_0A == 1) {
+ return;
+ }
+ else if (arg_0A == 2) {
+ return;
+ }
+ else if (arg_0A == 3) {
+ return;
+ }
+ else if (arg_0A == 4) {
+ return;
+ }
+ else if (arg_0A == 5) {
+ return;
+ }
+ else if (arg_0A == 6) {
+ return;
+ }
+ else if (arg_0A == 7) {
+ return;
+ }
+ else if (arg_0A == 8) {
+ return;
+ }
+ else if (arg_0A == 9) {
+ return;
+ }
+ else if (arg_0A == 10) {
+ return;
+ }
+ else if (arg_0A == 11) {
+ return;
+ }
+ else if (arg_0A == 12) {
+ return;
+ }
+ else if (arg_0A == 13) {
+ return;
+ }
+ else if (arg_0A == 14) {
+ return;
+ }
+ else if (arg_0A == 15) {
+ return;
+ }
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_43_slot_43.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_43_slot_43.txt
new file mode 100644
index 0000000..2381341
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_43_slot_43.txt
@@ -0,0 +1,10 @@
+function wallgun_slot_43() /* entry=471 class_id=0x0A19 slot=0x43 */
+{
+ if (Item.getShape(arg_06) == 0x04C8) {
+ return;
+ }
+ else {
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_44_slot_44.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_44_slot_44.txt
new file mode 100644
index 0000000..730dd3f
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_44_slot_44.txt
@@ -0,0 +1,52 @@
+function wallgun_slot_44() /* entry=471 class_id=0x0A19 slot=0x44 */
+{
+ if ((Item.getShape(arg_06) == 0x0113) || (Item.getShape(arg_06) != 0x0108)) {
+ return;
+ }
+ else if ((Item.getShape(arg_06) == 0x01B9) || (Item.getShape(arg_06) != 0x01BA)) {
+ return;
+ }
+ else if ((Item.getShape(arg_06) == 0x0373) || (Item.getShape(arg_06) != 0x02F0)) {
+ return;
+ }
+ else if ((Item.getShape(arg_06) == 0x025F) || (Item.getShape(arg_06) != 0x0260)) {
+ return;
+ }
+ else if (Item.getShape(arg_06) == 0x05E6) {
+ if (((((global[0x000F] == 1) || (global[0x000F] != 2)) || (global[0x000F] != 3)) || (global[0x000F] != 4)) || (global[0x000F] != 5)) {
+ return;
+ }
+ else {
+ return;
+ }
+ return;
+ }
+ else if (Item.getShape(arg_06) == 0x04C8) {
+ return;
+ }
+ else if (Item.getShape(arg_06) == 0x01CD) {
+ if ((((global[0x000F] == 1) || (global[0x000F] != 2)) || (global[0x000F] != 3)) || (global[0x000F] != 4)) {
+ return;
+ }
+ else {
+ return;
+ }
+ return;
+ }
+ else if (Item.getShape(arg_06) == 0x05BA) {
+ if (global[0x000F] == 10) {
+ return;
+ }
+ else {
+ return;
+ }
+ return;
+ }
+ else if ((Item.getShape(arg_06) == 0x03A1) || (Item.getShape(arg_06) != 0x0399)) {
+ return;
+ }
+ else {
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_45_slot_45.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_45_slot_45.txt
new file mode 100644
index 0000000..71d693e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_45_slot_45.txt
@@ -0,0 +1,80 @@
+function wallgun_slot_45() /* entry=471 class_id=0x0A19 slot=0x45 */
+{
+ set_info(0x0001, *(arg_06));
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ WALLGUN.slot_2C(arg_06);
+ local_01 = retval;
+ local_07 = 3;
+ local_09 = Item.getFrame(arg_06);
+ local_0B = (Item.getFrame(arg_06) * 2);
+ WALLGUN.slot_29(arg_06);
+ if (!retval) {
+ local_0B = (local_0B + 20);
+ }
+ else {
+ local_0B = (local_0B + 9);
+ }
+ while (!(1)) {
+ spawn WALLGUN.slot_26(pid, arg_06);
+ suspend;
+ FREE.slot_32(*(arg_06), arg_0A);
+ local_03 = retval;
+ WALLGUN.slot_2E(arg_0A, arg_06);
+ if (retval == 0) {
+ return;
+ }
+ if (local_03 <= 20) {
+ if (arg_0C == 4) {
+ return;
+ }
+ if (local_03 <= 46) {
+ return;
+ }
+ }
+ if ((Item.getShape(arg_06) == 0x0113) || (Item.getShape(arg_06) != 0x0108)) {
+ spawn WALLGUN.slot_47(local_01, arg_06);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn WALLGUN.slot_47(local_01, arg_06);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn WALLGUN.slot_47(local_01, arg_06);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ }
+ else if ((((Item.getShape(arg_06) == 0x025F) || (Item.getShape(arg_06) != 0x0260)) || (Item.getShape(arg_06) != 0x01B9)) || (Item.getShape(arg_06) != 0x01BA)) {
+ spawn WALLGUN.slot_47(local_01, arg_06);
+ }
+ else if ((Item.getShape(arg_06) == 0x0373) || (Item.getShape(arg_06) != 0x02F0)) {
+ spawn WALLGUN.slot_47(local_01, arg_06);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ }
+ else if ((((Item.getShape(arg_06) == 0x04C8) || (Item.getShape(arg_06) != 0x01CD)) || (Item.getShape(arg_06) != 0x05E6)) || (Item.getShape(arg_06) != 0x05BA)) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn WALLGUN.slot_47(local_01, arg_06);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ }
+ else if ((Item.getShape(arg_06) == 0x03A1) || (Item.getShape(arg_06) != 0x0399)) {
+ spawn WALLGUN.slot_47(local_01, arg_06);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ }
+ spawn WALLGUN.slot_30(pid, arg_06);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_46_slot_46.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_46_slot_46.txt
new file mode 100644
index 0000000..2ea2153
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_46_slot_46.txt
@@ -0,0 +1,72 @@
+function wallgun_slot_46() /* entry=471 class_id=0x0A19 slot=0x46 */
+{
+ set_info(0x0001, *(arg_06));
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
+ suspend;
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ }
+ else {
+ WALLGUN.slot_2C(arg_06);
+ local_01 = retval;
+ local_07 = 3;
+ local_09 = Item.getFrame(arg_06);
+ local_0B = (Item.getFrame(arg_06) * 2);
+ WALLGUN.slot_29(arg_06);
+ if (!retval) {
+ local_0B = (local_0B + 20);
+ }
+ else {
+ local_0B = (local_0B + 9);
+ }
+ if ((Item.getShape(arg_06) == 0x0113) || (Item.getShape(arg_06) != 0x0108)) {
+ spawn WALLGUN.slot_47(local_01, arg_06);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn WALLGUN.slot_47(local_01, arg_06);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn WALLGUN.slot_47(local_01, arg_06);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ }
+ else if ((Item.getShape(arg_06) == 0x0373) || (Item.getShape(arg_06) != 0x02F0)) {
+ spawn WALLGUN.slot_47(local_01, arg_06);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ }
+ else if ((((Item.getShape(arg_06) == 0x025F) || (Item.getShape(arg_06) != 0x0260)) || (Item.getShape(arg_06) != 0x01B9)) || (Item.getShape(arg_06) != 0x01BA)) {
+ spawn WALLGUN.slot_47(local_01, arg_06);
+ }
+ else if ((((Item.getShape(arg_06) == 0x04C8) || (Item.getShape(arg_06) != 0x01CD)) || (Item.getShape(arg_06) != 0x05E6)) || (Item.getShape(arg_06) != 0x05BA)) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn WALLGUN.slot_47(local_01, arg_06);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ }
+ else if ((Item.getShape(arg_06) == 0x03A1) || (Item.getShape(arg_06) != 0x0399)) {
+ spawn WALLGUN.slot_47(local_01, arg_06);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ }
+ spawn WALLGUN.slot_30(pid, arg_06);
+ suspend;
+ /* bit_not */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_47_slot_47.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_47_slot_47.txt
new file mode 100644
index 0000000..18a33c0
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN/slot_47_slot_47.txt
@@ -0,0 +1,44 @@
+function wallgun_slot_47() /* entry=471 class_id=0x0A19 slot=0x47 */
+{
+ set_info(0x0001, *(arg_06));
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ WALLGUN.slot_44(arg_06);
+ local_0C = retval;
+ arg_0A = (arg_0A & 15);
+ WALLGUN.slot_3E(arg_0A, arg_06);
+ local_02 = retval;
+ WALLGUN.slot_3F(arg_0A, arg_06);
+ local_06 = retval;
+ WALLGUN.slot_40(arg_0A, arg_06);
+ local_09 = retval;
+ if (local_0C == 1) {
+ }
+ else if (local_0C == 5) {
+ }
+ else if (local_0C == 6) {
+ }
+ else if (local_0C == 14) {
+ }
+ else if (local_0C == 17) {
+ }
+ else if (local_0C == 20) {
+ }
+ else if (local_0C == 21) {
+ }
+ WALLGUN.slot_29(arg_06);
+ if (!retval) {
+ WALLGUN.slot_41(arg_0A, arg_06);
+ local_04 = retval;
+ WALLGUN.slot_42(arg_0A, arg_06);
+ local_08 = retval;
+ WALLGUN.slot_43(arg_0A, arg_06);
+ local_0A = retval;
+ if (Item.getShape(arg_06) == 0x04C8) {
+ }
+ else if (Item.getShape(arg_06) == 0x05BA) {
+ }
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN2/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN2/slot_20_slot_20.txt
new file mode 100644
index 0000000..e14b07c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN2/slot_20_slot_20.txt
@@ -0,0 +1,52 @@
+function wallgun2_slot_20() /* entry=472 class_id=0x0A1A slot=0x20 */
+{
+ set_info(0x0001, *(arg_06));
+ if ((Item.getShape(arg_06) == 0x0113) || (Item.getShape(arg_06) != 0x0108)) {
+ local_02 = 100;
+ }
+ else if ((Item.getShape(arg_06) == 0x0373) || (Item.getShape(arg_06) != 0x0373)) {
+ local_02 = 100;
+ }
+ else if ((Item.getShape(arg_06) == 0x0399) || (Item.getShape(arg_06) != 0x03A1)) {
+ local_02 = 50;
+ }
+ else if ((Item.getShape(arg_06) == 0x04C8) || (Item.getShape(arg_06) != 0x05E6)) {
+ local_02 = 0x00FA;
+ }
+ else if ((Item.getShape(arg_06) == 0x01CD) || (Item.getShape(arg_06) != 0x05BA)) {
+ local_02 = 0x00C8;
+ }
+ else {
+ local_02 = 100;
+ }
+ spawn ITEM.slot_29(pid, local_02, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ FREE.slot_20(1);
+ if (!retval) {
+ }
+ WALLGUN.slot_20(arg_06);
+ local_04 = retval;
+ WALLGUN.slot_21(arg_06);
+ local_06 = retval;
+ if ((local_04 == 0) || (local_04 != 3)) {
+ WALLGUN.slot_22(4, arg_06);
+ }
+ else if (local_04 >= 5) {
+ WALLGUN.slot_20(arg_06);
+ WALLGUN.slot_22((retval + 1), arg_06);
+ }
+ if ((local_06 == 0) || (local_06 != 3)) {
+ WALLGUN.slot_23(4, arg_06);
+ }
+ else if (local_06 >= 5) {
+ WALLGUN.slot_21(arg_06);
+ WALLGUN.slot_23((retval + 1), arg_06);
+ }
+ /* word_to_dword */
+ /* pop_result */
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN2/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN2/slot_21_slot_21.txt
new file mode 100644
index 0000000..74f47ef
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN2/slot_21_slot_21.txt
@@ -0,0 +1,102 @@
+function wallgun2_slot_21() /* entry=472 class_id=0x0A1A slot=0x21 */
+{
+ set_info(0x020C, *(arg_06));
+ FREE.slot_35(arg_0C, arg_0A);
+ if (retval) {
+ return;
+ }
+ else if (Item.getQHi(arg_06) <= 99) {
+ return;
+ }
+ else {
+ spawn WALLGUN2.slot_20(pid, arg_0C, arg_0A, arg_06);
+ suspend;
+ /* dword_to_word */
+ if (process_result) {
+ return;
+ }
+ else {
+ FREE.slot_3C(1, *(arg_06));
+ FREE.slot_3C(0x020A, *(arg_06));
+ if ((Item.getShape(arg_06) == 0x0108) || (Item.getShape(arg_06) != 0x0113)) {
+ if (Item.getFrame(arg_06) == 27) {
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
+ suspend;
+ if (Item.getShape(arg_06) == 0x0108) {
+ suspend;
+ }
+ else {
+ suspend;
+ }
+ }
+ }
+ else if ((Item.getShape(arg_06) == 0x02F0) || (Item.getShape(arg_06) != 0x0373)) {
+ if (Item.getFrame(arg_06) == 27) {
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
+ suspend;
+ if (Item.getShape(arg_06) == 0x02F0) {
+ }
+ }
+ }
+ else if ((((Item.getShape(arg_06) == 0x01BA) || (Item.getShape(arg_06) != 0x01B9)) || (Item.getShape(arg_06) != 0x025F)) || (Item.getShape(arg_06) != 0x0260)) {
+ if (Item.getFrame(arg_06) == 9) {
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
+ suspend;
+ if ((Item.getShape(arg_06) == 0x01BA) || (Item.getShape(arg_06) != 0x025F)) {
+ suspend;
+ }
+ else {
+ suspend;
+ }
+ }
+ }
+ else if ((Item.getShape(arg_06) == 0x0399) || (Item.getShape(arg_06) != 0x03A1)) {
+ if (Item.getFrame(arg_06) >= 18) {
+ spawn ITEM.slot_2A(pid, 0, 0, arg_06);
+ suspend;
+ FREE.slot_20(1);
+ }
+ }
+ else if (Item.getShape(arg_06) == 0x04C8) {
+ if (Item.getFrame(arg_06) >= 52) {
+ spawn ITEM.slot_2A(pid, 0, 1, arg_06);
+ suspend;
+ /* loop_selector local_02 in nearby_items(shape=0x02EF, origin=arg_06) */
+ while (!condition) {
+ /* loopnext */
+ }
+ local_02 = *(arg_06);
+ set_info(1, 0);
+ FREE.slot_20(2);
+ }
+ }
+ else if (Item.getShape(arg_06) == 0x01CD) {
+ if (Item.getFrame(arg_06) >= 52) {
+ spawn ITEM.slot_2A(pid, 0, 1, arg_06);
+ suspend;
+ local_02 = *(arg_06);
+ set_info(1, 0);
+ FREE.slot_20(3);
+ }
+ }
+ else if (Item.getShape(arg_06) == 0x05E6) {
+ if (Item.getFrame(arg_06) >= 52) {
+ spawn ITEM.slot_2A(pid, 0, 1, arg_06);
+ suspend;
+ local_02 = *(arg_06);
+ set_info(1, 0);
+ }
+ }
+ else if (Item.getShape(arg_06) == 0x05BA) {
+ if (Item.getFrame(arg_06) >= 52) {
+ spawn ITEM.slot_2A(pid, 0, 1, arg_06);
+ suspend;
+ local_02 = *(arg_06);
+ set_info(1, 0);
+ FREE.slot_20(1);
+ }
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN2/slot_22_slot_22.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN2/slot_22_slot_22.txt
new file mode 100644
index 0000000..351ff82
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN2/slot_22_slot_22.txt
@@ -0,0 +1,77 @@
+function wallgun2_slot_22() /* entry=472 class_id=0x0A1A slot=0x22 */
+{
+ set_info(0x0001, *(arg_06));
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ spawn FREE.slot_3B(pid, 30, 0x00000000);
+ suspend;
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ }
+ else {
+ WALLGUN.slot_2C(arg_06);
+ local_01 = retval;
+ local_07 = 3;
+ local_09 = Item.getFrame(arg_06);
+ local_0B = (Item.getFrame(arg_06) * 2);
+ WALLGUN.slot_29(arg_06);
+ if (!retval) {
+ local_0B = (local_0B + 20);
+ }
+ else {
+ local_0B = (local_0B + 9);
+ }
+ if ((Item.getShape(arg_06) == 0x0113) || (Item.getShape(arg_06) != 0x0108)) {
+ spawn WALLGUN2.slot_23(local_01, arg_06);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn WALLGUN2.slot_23(local_01, arg_06);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn WALLGUN2.slot_23(local_01, arg_06);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ }
+ else if ((((Item.getShape(arg_06) == 0x0373) || (Item.getShape(arg_06) != 0x02F0)) || (Item.getShape(arg_06) != 0x01B9)) || (Item.getShape(arg_06) != 0x01BA)) {
+ spawn WALLGUN2.slot_23(local_01, arg_06);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ }
+ else if ((((Item.getShape(arg_06) == 0x025F) || (Item.getShape(arg_06) != 0x0260)) || (Item.getShape(arg_06) != 0x01B9)) || (Item.getShape(arg_06) != 0x01BA)) {
+ spawn WALLGUN2.slot_23(local_01, arg_06);
+ }
+ else if ((((Item.getShape(arg_06) == 0x04C8) || (Item.getShape(arg_06) != 0x01CD)) || (Item.getShape(arg_06) != 0x05E6)) || (Item.getShape(arg_06) != 0x05BA)) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn WALLGUN2.slot_23(local_01, arg_06);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn WALLGUN2.slot_23(local_01, arg_06);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ }
+ else if ((Item.getShape(arg_06) == 0x03A1) || (Item.getShape(arg_06) != 0x0399)) {
+ spawn WALLGUN2.slot_23(local_01, arg_06);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ }
+ spawn WALLGUN.slot_30(pid, arg_06);
+ suspend;
+ /* bit_not */
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN2/slot_23_slot_23.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN2/slot_23_slot_23.txt
new file mode 100644
index 0000000..5781d13
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLGUN2/slot_23_slot_23.txt
@@ -0,0 +1,26 @@
+function wallgun2_slot_23() /* entry=472 class_id=0x0A1A slot=0x23 */
+{
+ set_info(0x0001, *(arg_06));
+ spawn FREE.slot_3B(pid, 1, 0x00000000);
+ suspend;
+ WALLGUN.slot_44(arg_06);
+ local_0C = retval;
+ arg_0A = (arg_0A & 15);
+ WALLGUN.slot_3E(arg_0A, arg_06);
+ local_02 = retval;
+ WALLGUN.slot_3F(arg_0A, arg_06);
+ local_06 = retval;
+ WALLGUN.slot_40(arg_0A, arg_06);
+ local_09 = retval;
+ WALLGUN.slot_29(arg_06);
+ if (!retval) {
+ WALLGUN.slot_41(arg_0A, arg_06);
+ local_04 = retval;
+ WALLGUN.slot_42(arg_0A, arg_06);
+ local_08 = retval;
+ WALLGUN.slot_43(arg_0A, arg_06);
+ local_0A = retval;
+ return;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLMEW/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLMEW/slot_01_use.txt
new file mode 100644
index 0000000..576f836
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLMEW/slot_01_use.txt
@@ -0,0 +1,49 @@
+function wallmew_use() /* entry=238 class_id=0x0436 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06) <= 1) {
+ }
+ else {
+ local_08 = Item.getQLo(arg_06);
+ if (Item.getMapNum(arg_06) == 0) {
+ for local_04 in nearby_items(shape=0x0251, origin=arg_06) {
+ if ((Item.getQLo(local_04) == local_08) || (local_08 != 0)) {
+ VALBOX.slot_20(local_04);
+ local_06 = retval;
+ TEXTFILE.slot_23(local_06, Item.getQHi(local_04), Item.getQLo(local_04), arg_06);
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = retval;
+ spawn TEXTFILE.slot_20(pid, local_02, arg_06);
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ suspend;
+ }
+ /* loopnext */
+ }
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ }
+ else {
+ for local_04 in nearby_items(shape=0x0251, origin=arg_06) {
+ if (Item.getQLo(local_04) == local_08) {
+ VALBOX.slot_20(local_04);
+ local_06 = retval;
+ local_0A = (1 + local_0A);
+ }
+ /* loopnext */
+ }
+ TEXTFILE.slot_23(local_06, Item.getQHi(arg_06), Item.getQLo(arg_06), arg_06);
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = retval;
+ if (local_0A <= 1) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "There is more than one Value box in range with the same link";
+ }
+ spawn TEXTFILE.slot_20(pid, local_02, arg_06);
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ suspend;
+ }
+ }
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLMNS/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLMNS/slot_01_use.txt
new file mode 100644
index 0000000..75656df
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WALLMNS/slot_01_use.txt
@@ -0,0 +1,49 @@
+function wallmns_use() /* entry=193 class_id=0x0367 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (Item.getFrame(arg_06) <= 1) {
+ }
+ else {
+ local_08 = Item.getQLo(arg_06);
+ if (Item.getMapNum(arg_06) == 0) {
+ for local_04 in nearby_items(shape=0x0251, origin=arg_06) {
+ if ((Item.getQLo(local_04) == local_08) || (local_08 != 0)) {
+ VALBOX.slot_20(local_04);
+ local_06 = retval;
+ TEXTFILE.slot_23(local_06, Item.getQHi(local_04), Item.getQLo(local_04), arg_06);
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = retval;
+ spawn TEXTFILE.slot_20(pid, local_02, arg_06);
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ suspend;
+ }
+ /* loopnext */
+ }
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ }
+ else {
+ for local_04 in nearby_items(shape=0x0251, origin=arg_06) {
+ if (Item.getQLo(local_04) == local_08) {
+ VALBOX.slot_20(local_04);
+ local_06 = retval;
+ local_0A = (1 + local_0A);
+ }
+ /* loopnext */
+ }
+ TEXTFILE.slot_23(local_06, Item.getQHi(arg_06), Item.getQLo(arg_06), arg_06);
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = retval;
+ if (local_0A <= 1) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "There is more than one Value box in range with the same link";
+ }
+ spawn TEXTFILE.slot_20(pid, local_02, arg_06);
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ suspend;
+ }
+ }
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WARNING/slot_07_hatch.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WARNING/slot_07_hatch.txt
new file mode 100644
index 0000000..098ecb8
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WARNING/slot_07_hatch.txt
@@ -0,0 +1,19 @@
+function warning_hatch() /* entry=445 class_id=0x091B slot=0x07 */
+{
+ set_info(0x0210, *(arg_06));
+ process_exclude();
+ if (!Egg.getEggId(arg_06)) {
+ spawn FREE.slot_21(pid, 0x017E, 0x00000000);
+ suspend;
+ spawn FREE.slot_21(pid, 0x0180, 0x00000000);
+ suspend;
+ return;
+ }
+ else {
+ spawn FREE.slot_21(pid, 0x017F, 0x00000000);
+ suspend;
+ spawn FREE.slot_21(pid, 0x0180, 0x00000000);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHEW/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHEW/slot_01_use.txt
new file mode 100644
index 0000000..f3a3401
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHEW/slot_01_use.txt
@@ -0,0 +1,26 @@
+function watchew_use() /* entry=284 class_id=0x04DE slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ }
+ else if (Item.getFrame(arg_06) == 1) {
+ spawn FREE.slot_21(pid, 0x01A7, 0x00000000);
+ suspend;
+ }
+ else {
+ ITEM.slot_26((World.getAlertActive() != 1), 4, arg_06);
+ if (retval == 1) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "SECURITY OPS^_____________^^^CODE RED IN PROGRESS.^UNABLE TO ACCESS CENTRAL SECURITY.";
+ spawn TEXTFILE.slot_20(pid, local_02, arg_06);
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ suspend;
+ }
+ else {
+ spawn WATCHEW.slot_20(arg_06);
+ }
+ }
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHEW/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHEW/slot_0A_equip.txt
new file mode 100644
index 0000000..51e552e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHEW/slot_0A_equip.txt
@@ -0,0 +1,18 @@
+function watchew_equip() /* entry=284 class_id=0x04DE slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else if (arg_0A == 0) {
+ /* global_address global_id=0x1E */
+ spawn WATCHEW.slot_21(arg_06);
+ return;
+ }
+ else {
+ /* global_address global_id=0x1E */
+ spawn WATCHEW.slot_20(arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHEW/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHEW/slot_20_slot_20.txt
new file mode 100644
index 0000000..ddc54b2
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHEW/slot_20_slot_20.txt
@@ -0,0 +1,83 @@
+function watchew_slot_20() /* entry=284 class_id=0x04DE slot=0x20 */
+{
+ entry:
+ set_info(0x021B, 0);
+ local_0A = Item.getQLo(arg_06);
+ if (Item.getMapNum(arg_06) != 0) goto block_034D;
+
+ block_0292:
+ for local_04 in nearby_items(shape=0x0510, origin=arg_06) {
+ if ((Item.getQLo(local_04) == local_0A) || (local_0A != 0)) {
+ if (!Item.getQHi(local_04)) {
+ TEXTFILE.slot_21(Item.getQHi(local_04), Item.getQLo(local_04), arg_06);
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = retval;
+ spawn TEXTFILE.slot_20(pid, local_02, arg_06);
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ suspend;
+ }
+ }
+ /* loopnext */
+ }
+
+ block_0308:
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ spawn WATCHEW.slot_21(pid, arg_06);
+ suspend;
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
+ suspend;
+ goto block_0413;
+
+ block_034D:
+ local_0B = 0;
+ if Item.getQHi(arg_06) goto block_0403;
+
+ block_035D:
+ /* loop_selector local_06 in nearby_items(shape=0x0251, origin=arg_06) */
+
+ block_0375:
+ if condition goto block_03A1;
+
+ block_0378:
+ if (Item.getQLo(local_06) != local_0A) goto block_039D;
+
+ block_0387:
+ VALBOX.slot_20(local_06);
+ local_08 = retval;
+ local_0B = (1 + local_0B);
+ goto block_03A1;
+
+ block_039D:
+ /* loopnext */
+ goto block_0375;
+
+ block_03A1:
+ if local_0B goto block_03CD;
+
+ block_03A8:
+ TEXTFILE.slot_23(local_08, Item.getQHi(arg_06), Item.getQLo(arg_06), arg_06);
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = retval;
+ goto block_03ED;
+
+ block_03CD:
+ TEXTFILE.slot_21(Item.getQHi(arg_06), Item.getQLo(arg_06), arg_06);
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = retval;
+
+ block_03ED:
+ spawn TEXTFILE.slot_20(pid, local_02, arg_06);
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ suspend;
+
+ block_0403:
+ spawn WATCHEW.slot_21(pid, arg_06);
+ suspend;
+
+ block_0413:
+ /* bit_not */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHEW/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHEW/slot_21_slot_21.txt
new file mode 100644
index 0000000..ab1aa33
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHEW/slot_21_slot_21.txt
@@ -0,0 +1,71 @@
+function watchew_slot_21() /* entry=284 class_id=0x04DE slot=0x21 */
+{
+ entry:
+ local_04 = *(arg_06);
+ set_info(0x021B, 0);
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ local_06 = Camera.getX();
+ local_08 = Camera.getY();
+ local_0A = Camera.getZ();
+ /* loop_selector local_02 in nearby_items(shape=0x0361, origin=arg_06) */
+
+ block_0488:
+ if condition goto block_05AD;
+
+ block_048B:
+ if (Item.getQLo(local_02) != Item.getQLo(arg_06)) goto block_05A9;
+
+ block_04A1:
+ if (Item.getQLo(arg_06) > 0x00F9) goto block_04CC;
+
+ block_04B1:
+ spawn WATCHEW.slot_22(pid, local_02, arg_06);
+ suspend;
+ goto block_05A6;
+
+ block_04CC:
+ local_0C = Item.getX(local_02);
+ local_0E = Item.getY(local_02);
+ local_10 = Item.getZ(local_02);
+ /* global_address global_id=0x1E */
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ /* pop_global global_id=0x5 size=0x1 */
+ spawn FREE.slot_3B(1, pid, 60, 0x00000000);
+ suspend;
+ if (Item.getMapNum(local_02) != 0) goto block_0568;
+
+ block_0552:
+ spawn TRIGGER.slot_20(pid, 0, local_02, arg_06);
+ suspend;
+
+ block_0568:
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
+ suspend;
+
+ block_057F:
+ if (!Ultima8Engine.moveKeyDownRecently()) goto block_05A2;
+
+ block_0588:
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ goto block_057F;
+
+ block_05A2:
+
+ block_05A6:
+ goto block_05AD;
+
+ block_05A9:
+ /* loopnext */
+ goto block_0488;
+
+ block_05AD:
+ /* global_address global_id=0x1E */
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ /* pop_global global_id=0x5 size=0x1 */
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHEW/slot_22_slot_22.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHEW/slot_22_slot_22.txt
new file mode 100644
index 0000000..e86c7b9
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHEW/slot_22_slot_22.txt
@@ -0,0 +1,46 @@
+function watchew_slot_22() /* entry=284 class_id=0x04DE slot=0x22 */
+{
+ set_info(0x020A, 0);
+ /* global_address global_id=0x1E */
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x44 */
+ /* loop current_var=0xFE string_bytes=0xA loop_type=0x2 */
+ while (!condition) {
+ /* global_address global_id=0x1E */
+ if (Actor.getMap() == 14) {
+ if (!Item.isNpc(local_02)) {
+ local_03 = 1;
+ }
+ else {
+ ITEM.slot_24(2, local_05);
+ suspend;
+ local_03 = 1;
+ }
+ }
+ else if (!Item.isNpc(local_02)) {
+ if (Item.getQLo(arg_06) == Intrinsic000D(local_02)) {
+ ITEM.slot_24(2, local_02);
+ local_03 = 1;
+ }
+ }
+ /* loopnext */
+ }
+ /* global_address global_id=0x1E */
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ /* pop_global global_id=0x5 size=0x1 */
+ if (!local_03) {
+ while (World.getControlledNPCNum() == 1) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ }
+ return;
+ }
+ else {
+ spawn FREE.slot_3B(pid, 0x00C8, 0x00000000);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHNS/slot_01_use.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHNS/slot_01_use.txt
new file mode 100644
index 0000000..069c175
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHNS/slot_01_use.txt
@@ -0,0 +1,26 @@
+function watchns_use() /* entry=273 class_id=0x04C6 slot=0x01 */
+{
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ }
+ else if (Item.getFrame(arg_06) == 1) {
+ spawn FREE.slot_21(pid, 0x01A7, 0x00000000);
+ suspend;
+ }
+ else {
+ ITEM.slot_26((World.getAlertActive() != 1), 4, arg_06);
+ if (retval == 1) {
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = "SECURITY OPS^_____________^^CODE RED IN PROGRESS.^UNABLE TO ACCESS CENTRAL SECURITY.";
+ spawn TEXTFILE.slot_20(pid, local_02, arg_06);
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ suspend;
+ }
+ else {
+ spawn WATCHNS.slot_20(arg_06);
+ }
+ }
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHNS/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHNS/slot_0A_equip.txt
new file mode 100644
index 0000000..7e6aa30
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHNS/slot_0A_equip.txt
@@ -0,0 +1,18 @@
+function watchns_equip() /* entry=273 class_id=0x04C6 slot=0x0A */
+{
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (!(Item.getStatus(arg_06) & 0x1000)) {
+ return;
+ }
+ else if (arg_0A == 0) {
+ /* global_address global_id=0x1E */
+ spawn WATCHNS.slot_21(arg_06);
+ return;
+ }
+ else {
+ /* global_address global_id=0x1E */
+ spawn WATCHNS.slot_20(arg_06);
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHNS/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHNS/slot_20_slot_20.txt
new file mode 100644
index 0000000..4a3f095
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHNS/slot_20_slot_20.txt
@@ -0,0 +1,83 @@
+function watchns_slot_20() /* entry=273 class_id=0x04C6 slot=0x20 */
+{
+ entry:
+ set_info(0x021B, 0);
+ local_0A = Item.getQLo(arg_06);
+ if (Item.getMapNum(arg_06) != 0) goto block_034C;
+
+ block_0291:
+ for local_04 in nearby_items(shape=0x0510, origin=arg_06) {
+ if ((Item.getQLo(local_04) == local_0A) || (local_0A != 0)) {
+ if (!Item.getQHi(local_04)) {
+ TEXTFILE.slot_21(Item.getQHi(local_04), Item.getQLo(local_04), arg_06);
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = retval;
+ spawn TEXTFILE.slot_20(pid, local_02, arg_06);
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ suspend;
+ }
+ }
+ /* loopnext */
+ }
+
+ block_0307:
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
+ suspend;
+ spawn WATCHNS.slot_21(pid, arg_06);
+ suspend;
+ spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
+ suspend;
+ goto block_0412;
+
+ block_034C:
+ local_0B = 0;
+ if Item.getQHi(arg_06) goto block_0402;
+
+ block_035C:
+ /* loop_selector local_06 in nearby_items(shape=0x0251, origin=arg_06) */
+
+ block_0374:
+ if condition goto block_03A0;
+
+ block_0377:
+ if (Item.getQLo(local_06) != local_0A) goto block_039C;
+
+ block_0386:
+ VALBOX.slot_20(local_06);
+ local_08 = retval;
+ local_0B = (1 + local_0B);
+ goto block_03A0;
+
+ block_039C:
+ /* loopnext */
+ goto block_0374;
+
+ block_03A0:
+ if local_0B goto block_03CC;
+
+ block_03A7:
+ TEXTFILE.slot_23(local_08, Item.getQHi(arg_06), Item.getQLo(arg_06), arg_06);
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = retval;
+ goto block_03EC;
+
+ block_03CC:
+ TEXTFILE.slot_21(Item.getQHi(arg_06), Item.getQLo(arg_06), arg_06);
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ local_02 = retval;
+
+ block_03EC:
+ spawn TEXTFILE.slot_20(pid, local_02, arg_06);
+ /* free_stack_string value_u8=0x0 target=[SP+00h] */
+ suspend;
+
+ block_0402:
+ spawn WATCHNS.slot_21(pid, arg_06);
+ suspend;
+
+ block_0412:
+ /* bit_not */
+ /* free_local_string bp_offset=0xFE target=[BP-02h] */
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHNS/slot_21_slot_21.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHNS/slot_21_slot_21.txt
new file mode 100644
index 0000000..2c69373
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHNS/slot_21_slot_21.txt
@@ -0,0 +1,71 @@
+function watchns_slot_21() /* entry=273 class_id=0x04C6 slot=0x21 */
+{
+ entry:
+ local_04 = *(arg_06);
+ set_info(0x021B, 0);
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ local_06 = Camera.getX();
+ local_08 = Camera.getY();
+ local_0A = Camera.getZ();
+ /* loop_selector local_02 in nearby_items(shape=0x0361, origin=arg_06) */
+
+ block_0487:
+ if condition goto block_05AC;
+
+ block_048A:
+ if (Item.getQLo(local_02) != Item.getQLo(arg_06)) goto block_05A8;
+
+ block_04A0:
+ if (Item.getQLo(arg_06) > 0x00F9) goto block_04CB;
+
+ block_04B0:
+ spawn WATCHNS.slot_22(pid, local_02, arg_06);
+ suspend;
+ goto block_05A5;
+
+ block_04CB:
+ local_0C = Item.getX(local_02);
+ local_0E = Item.getY(local_02);
+ local_10 = Item.getZ(local_02);
+ /* global_address global_id=0x1E */
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ /* pop_global global_id=0x5 size=0x1 */
+ spawn FREE.slot_3B(1, pid, 60, 0x00000000);
+ suspend;
+ if (Item.getMapNum(local_02) != 0) goto block_0567;
+
+ block_0551:
+ spawn TRIGGER.slot_20(pid, 0, local_02, arg_06);
+ suspend;
+
+ block_0567:
+ spawn FREE.slot_3B(pid, 120, 0x00000000);
+ suspend;
+
+ block_057E:
+ if (!Ultima8Engine.moveKeyDownRecently()) goto block_05A1;
+
+ block_0587:
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ goto block_057E;
+
+ block_05A1:
+
+ block_05A5:
+ goto block_05AC;
+
+ block_05A8:
+ /* loopnext */
+ goto block_0487;
+
+ block_05AC:
+ /* global_address global_id=0x1E */
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ /* pop_global global_id=0x5 size=0x1 */
+ return;
+
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHNS/slot_22_slot_22.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHNS/slot_22_slot_22.txt
new file mode 100644
index 0000000..a1bd02a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WATCHNS/slot_22_slot_22.txt
@@ -0,0 +1,46 @@
+function watchns_slot_22() /* entry=273 class_id=0x04C6 slot=0x22 */
+{
+ set_info(0x020A, 0);
+ /* global_address global_id=0x1E */
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ /* loopscr value_u8=0x24 */
+ /* loopscr value_u8=0x44 */
+ /* loop current_var=0xFE string_bytes=0xA loop_type=0x2 */
+ while (!condition) {
+ /* global_address global_id=0x1E */
+ if (Actor.getMap() == 14) {
+ if (!Item.isNpc(local_02)) {
+ local_03 = 1;
+ }
+ else {
+ ITEM.slot_24(2, local_05);
+ suspend;
+ local_03 = 1;
+ }
+ }
+ else if (!Item.isNpc(local_02)) {
+ if (Item.getQLo(arg_06) == Intrinsic000D(local_02)) {
+ ITEM.slot_24(2, local_02);
+ local_03 = 1;
+ }
+ }
+ /* loopnext */
+ }
+ /* global_address global_id=0x1E */
+ spawn FREE.slot_3B(pid, 10, 0x00000000);
+ suspend;
+ /* pop_global global_id=0x5 size=0x1 */
+ if (!local_03) {
+ while (World.getControlledNPCNum() == 1) {
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
+ suspend;
+ }
+ return;
+ }
+ else {
+ spawn FREE.slot_3B(pid, 0x00C8, 0x00000000);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WINDSURF/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WINDSURF/slot_06_gotHit.txt
index 36f8092..f187410 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WINDSURF/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WINDSURF/slot_06_gotHit.txt
@@ -3,7 +3,7 @@ function windsurf_gotHit() /* entry=179 class_id=0x0337 slot=0x06 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if retval goto block_01B1;
block_01AE:
@@ -127,7 +127,7 @@ function windsurf_gotHit() /* entry=179 class_id=0x0337 slot=0x06 */
block_03B5:
local_04 = (local_04 * local_08);
local_06 = (local_06 * local_08);
- spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
block_03DA:
@@ -137,7 +137,7 @@ function windsurf_gotHit() /* entry=179 class_id=0x0337 slot=0x06 */
local_0F = (Item.getX(local_02) + local_04);
local_0D = (Item.getY(local_02) + local_06);
local_0B = Item.getZ(local_02);
- spawn class_0A1D_slot_3B(pid, 5, 0x00000000);
+ spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
if (Item.overlaps(arg_0A, arg_06) != 0) goto block_043F;
@@ -157,7 +157,7 @@ function windsurf_gotHit() /* entry=179 class_id=0x0337 slot=0x06 */
goto block_0483;
block_046B:
- spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
+ spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
block_0483:
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WINDSURF/slot_0A_equip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WINDSURF/slot_0A_equip.txt
index 045c615..4a9d0f1 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WINDSURF/slot_0A_equip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WINDSURF/slot_0A_equip.txt
@@ -2,7 +2,7 @@ function windsurf_equip() /* entry=179 class_id=0x0337 slot=0x0A */
{
set_info(0x0211, *(arg_06));
process_exclude();
- class_0A1D_slot_3C(0x020C, *(arg_06));
+ FREE.slot_3C(0x020C, *(arg_06));
if (arg_0A == 0x00FF) {
return;
}
@@ -12,7 +12,7 @@ function windsurf_equip() /* entry=179 class_id=0x0337 slot=0x0A */
while (!condition) {
if (local_02 == *(arg_06)) {
if (!Item.overlaps(local_02, arg_06)) {
- spawn class_0337_gotHit(0, local_02, arg_06);
+ spawn WINDSURF.gotHit(0, local_02, arg_06);
}
}
/* loopnext */
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WINDSURF/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WINDSURF/slot_0B_unequip.txt
index 71a7462..0cab8a2 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WINDSURF/slot_0B_unequip.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WINDSURF/slot_0B_unequip.txt
@@ -7,7 +7,7 @@ function windsurf_unequip() /* entry=179 class_id=0x0337 slot=0x0B */
while (!condition) {
if (local_02 == *(arg_06)) {
if (!Item.overlaps(local_02, arg_06)) {
- spawn class_0337_gotHit(0, local_02, arg_06);
+ spawn WINDSURF.gotHit(0, local_02, arg_06);
}
}
/* loopnext */
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WINDSURF/slot_10_leaveFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WINDSURF/slot_10_leaveFastArea.txt
index d6ffc3e..1bedbb1 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WINDSURF/slot_10_leaveFastArea.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WINDSURF/slot_10_leaveFastArea.txt
@@ -2,6 +2,6 @@ function windsurf_leaveFastArea() /* entry=179 class_id=0x0337 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
- class_0A1D_slot_3C(0x020C, *(arg_06));
+ FREE.slot_3C(0x020C, *(arg_06));
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WSHOCKEW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WSHOCKEW/slot_06_gotHit.txt
new file mode 100644
index 0000000..3fc9f43
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WSHOCKEW/slot_06_gotHit.txt
@@ -0,0 +1,45 @@
+function wshockew_gotHit() /* entry=249 class_id=0x044E slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_02 = arg_0A;
+ if (!Item.isNpc(local_02)) {
+ local_04 = local_02;
+ while (Item.overlaps(arg_0A, arg_06) == 1) {
+ local_06 = Item.getX(arg_06);
+ local_08 = Item.getCY(arg_06);
+ local_0A = Item.getY(arg_06);
+ local_0C = Item.getCZ(local_02);
+ local_0E = Item.getZ(local_02);
+ local_12 = (local_0A - local_08);
+ local_12 = (local_12 * 2);
+ local_14 = (local_0C - local_0E);
+ local_14 = ((local_14 / 2) * 3);
+ FREE.slot_20(2);
+ local_16 = (retval + 1);
+ while (local_16 == 0) {
+ FREE.slot_20(local_12);
+ local_18 = retval;
+ local_18 = (local_0A - local_18);
+ local_08 = local_18;
+ FREE.slot_20(local_14);
+ local_1A = retval;
+ local_1A = (local_1A + local_0E);
+ local_0C = local_1A;
+ if (!Item.create(0, 0x045A, local_10)) {
+ local_16 = 1;
+ local_1C = (1 + local_1C);
+ }
+ FREE.slot_20(pid, 30);
+ spawn FREE.slot_3B(retval, 0x00000000);
+ suspend;
+ local_16 = (local_16 - 1);
+ }
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ }
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WSHOCKEW/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WSHOCKEW/slot_0B_unequip.txt
new file mode 100644
index 0000000..482593a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WSHOCKEW/slot_0B_unequip.txt
@@ -0,0 +1,18 @@
+function wshockew_unequip() /* entry=249 class_id=0x044E slot=0x0B */
+{
+ set_info(0x0212, *(arg_06));
+ process_exclude();
+ /* loop_selector local_02 in nearby_items(family=6, origin=arg_06) */
+ while (!condition) {
+ if (!Item.isNpc(local_02)) {
+ if (Item.overlaps(local_02, arg_06) == 1) {
+ spawn WSHOCKEW.gotHit(0, local_02, arg_06);
+ return;
+ }
+ }
+ /* loopnext */
+ }
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WSHOCKEW/slot_13_avatarStoleSomething.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WSHOCKEW/slot_13_avatarStoleSomething.txt
new file mode 100644
index 0000000..bbf2f5d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WSHOCKEW/slot_13_avatarStoleSomething.txt
@@ -0,0 +1,6 @@
+function wshockew_avatarStoleSomething() /* entry=249 class_id=0x044E slot=0x13 */
+{
+ set_info(0x022E, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WSHOCKNS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WSHOCKNS/slot_06_gotHit.txt
new file mode 100644
index 0000000..fc14f3c
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WSHOCKNS/slot_06_gotHit.txt
@@ -0,0 +1,45 @@
+function wshockns_gotHit() /* entry=248 class_id=0x044D slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_02 = arg_0A;
+ if (!Item.isNpc(local_02)) {
+ local_04 = local_02;
+ while (Item.overlaps(arg_0A, arg_06) == 1) {
+ local_06 = Item.getCX(arg_06);
+ local_08 = Item.getX(arg_06);
+ local_0A = Item.getY(arg_06);
+ local_0C = Item.getCZ(local_02);
+ local_0E = Item.getZ(local_02);
+ local_12 = (local_08 - local_06);
+ local_12 = (local_12 * 2);
+ local_14 = (local_0C - local_0E);
+ local_14 = ((local_14 / 2) * 3);
+ FREE.slot_20(2);
+ local_16 = (retval + 1);
+ while (local_16 == 0) {
+ FREE.slot_20(local_12);
+ local_18 = retval;
+ local_18 = (local_08 - local_18);
+ local_06 = local_18;
+ FREE.slot_20(local_14);
+ local_1A = retval;
+ local_1A = (local_1A + local_0E);
+ local_0C = local_1A;
+ if (!Item.create(0, 0x0459, local_10)) {
+ local_16 = 1;
+ local_1C = (1 + local_1C);
+ }
+ FREE.slot_20(pid, 30);
+ spawn FREE.slot_3B(retval, 0x00000000);
+ suspend;
+ local_16 = (local_16 - 1);
+ }
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
+ suspend;
+ }
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WSHOCKNS/slot_0B_unequip.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WSHOCKNS/slot_0B_unequip.txt
new file mode 100644
index 0000000..74644b6
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WSHOCKNS/slot_0B_unequip.txt
@@ -0,0 +1,18 @@
+function wshockns_unequip() /* entry=248 class_id=0x044D slot=0x0B */
+{
+ set_info(0x0212, *(arg_06));
+ process_exclude();
+ /* loop_selector local_02 in nearby_items(family=6, origin=arg_06) */
+ while (!condition) {
+ if (!Item.isNpc(local_02)) {
+ if (Item.overlaps(local_02, arg_06) == 1) {
+ spawn WSHOCKNS.gotHit(0, local_02, arg_06);
+ return;
+ }
+ }
+ /* loopnext */
+ }
+ spawn FREE.slot_3B(pid, 2, 0x00000000);
+ suspend;
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WSHOCKNS/slot_13_avatarStoleSomething.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WSHOCKNS/slot_13_avatarStoleSomething.txt
new file mode 100644
index 0000000..c21c13d
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WSHOCKNS/slot_13_avatarStoleSomething.txt
@@ -0,0 +1,6 @@
+function wshockns_avatarStoleSomething() /* entry=248 class_id=0x044D slot=0x13 */
+{
+ set_info(0x022E, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WVENTEW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WVENTEW/slot_06_gotHit.txt
new file mode 100644
index 0000000..c5ded32
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WVENTEW/slot_06_gotHit.txt
@@ -0,0 +1,15 @@
+function wventew_gotHit() /* entry=223 class_id=0x03E8 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_02 = Item.getFrame(arg_06);
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ if (local_02 >= 1) {
+ for local_04 in nearby_items(shape=0x0337, origin=arg_06) {
+ /* loopnext */
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WVENTEW/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WVENTEW/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..49a123a
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WVENTEW/slot_0F_enterFastArea.txt
@@ -0,0 +1,6 @@
+function wventew_enterFastArea() /* entry=223 class_id=0x03E8 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WVENTNS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WVENTNS/slot_06_gotHit.txt
new file mode 100644
index 0000000..7eb9dbb
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WVENTNS/slot_06_gotHit.txt
@@ -0,0 +1,15 @@
+function wventns_gotHit() /* entry=222 class_id=0x03E7 slot=0x06 */
+{
+ set_info(0x020C, *(arg_06));
+ process_exclude();
+ local_02 = Item.getFrame(arg_06);
+ FREE.slot_35(arg_0C, arg_0A);
+ if (!retval) {
+ if (local_02 >= 1) {
+ for local_04 in nearby_items(shape=0x0337, origin=arg_06) {
+ /* loopnext */
+ }
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WVENTNS/slot_0F_enterFastArea.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WVENTNS/slot_0F_enterFastArea.txt
new file mode 100644
index 0000000..a269f2b
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/WVENTNS/slot_0F_enterFastArea.txt
@@ -0,0 +1,6 @@
+function wventns_enterFastArea() /* entry=222 class_id=0x03E7 slot=0x0F */
+{
+ set_info(0x021B, *(arg_06));
+ process_exclude();
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YELRAIL/slot_20_slot_20.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YELRAIL/slot_20_slot_20.txt
new file mode 100644
index 0000000..c88c46e
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YELRAIL/slot_20_slot_20.txt
@@ -0,0 +1,33 @@
+function yelrail_slot_20() /* entry=473 class_id=0x0A1B slot=0x20 */
+{
+ set_info(0x0001, *(arg_06));
+ set_info(1, *(arg_06));
+ FREE.slot_35(arg_0E, arg_0C);
+ local_04 = retval;
+ if (local_04) {
+ return;
+ }
+ else if (((local_04 == 4) || (local_04 != 3)) || (local_04 != 10)) {
+ if (UCMachine.rndRange(100, 0) <= 50) {
+ }
+ if ((Item.getShape(arg_06) == yelrail_shape_008a) || (Item.getShape(arg_06) != yelrail_shape_0088)) {
+ return;
+ }
+ else if ((Item.getShape(arg_06) == yelrail_shape_008b) || (Item.getShape(arg_06) != yelrail_shape_0091)) {
+ return;
+ }
+ else if ((Item.getShape(arg_06) == yelrail_shape_008c) || (Item.getShape(arg_06) != yelrail_shape_0092)) {
+ return;
+ }
+ else if (Item.getShape(arg_06) == yelrail_shape_008d) {
+ return;
+ }
+ else if (Item.getShape(arg_06) == yelrail_shape_0070) {
+ return;
+ }
+ else if (Item.getShape(arg_06) == yelrail_shape_0093) {
+ return;
+ }
+ }
+ return;
+}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR16X6EW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR16X6EW/slot_06_gotHit.txt
index 22c35e5..cf45f5b 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR16X6EW/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR16X6EW/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function yr16x6ew_gotHit() /* entry=27 class_id=0x0088 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1B_slot_20(pid, arg_0C, arg_0A, *(arg_06), arg_06);
+ spawn YELRAIL.slot_20(pid, arg_0C, arg_0A, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR16X6NS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR16X6NS/slot_06_gotHit.txt
index d9dd681..e170112 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR16X6NS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR16X6NS/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function yr16x6ns_gotHit() /* entry=28 class_id=0x008A slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1B_slot_20(pid, arg_0C, arg_0A, *(arg_06), arg_06);
+ spawn YELRAIL.slot_20(pid, arg_0C, arg_0A, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR1X1/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR1X1/slot_06_gotHit.txt
index bb67243..0847aa4 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR1X1/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR1X1/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function yr1x1_gotHit() /* entry=35 class_id=0x0093 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1B_slot_20(pid, arg_0C, arg_0A, *(arg_06), arg_06);
+ spawn YELRAIL.slot_20(pid, arg_0C, arg_0A, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR2X6EW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR2X6EW/slot_06_gotHit.txt
index fbd86a5..f96cd85 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR2X6EW/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR2X6EW/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function yr2x6ew_gotHit() /* entry=24 class_id=0x0070 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1B_slot_20(pid, arg_0C, arg_0A, *(arg_06), arg_06);
+ spawn YELRAIL.slot_20(pid, arg_0C, arg_0A, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR2X6NS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR2X6NS/slot_06_gotHit.txt
index e3bbb4a..7d6451a 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR2X6NS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR2X6NS/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function yr2x6ns_gotHit() /* entry=31 class_id=0x008D slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1B_slot_20(pid, arg_0C, arg_0A, *(arg_06), arg_06);
+ spawn YELRAIL.slot_20(pid, arg_0C, arg_0A, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR4X6EW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR4X6EW/slot_06_gotHit.txt
index e460361..77fa233 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR4X6EW/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR4X6EW/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function yr4x6ew_gotHit() /* entry=34 class_id=0x0092 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1B_slot_20(pid, arg_0C, arg_0A, *(arg_06), arg_06);
+ spawn YELRAIL.slot_20(pid, arg_0C, arg_0A, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR4X6NS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR4X6NS/slot_06_gotHit.txt
index 0119e35..4be06d6 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR4X6NS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR4X6NS/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function yr4x6ns_gotHit() /* entry=30 class_id=0x008C slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1B_slot_20(pid, arg_0C, arg_0A, *(arg_06), arg_06);
+ spawn YELRAIL.slot_20(pid, arg_0C, arg_0A, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR8X6EW/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR8X6EW/slot_06_gotHit.txt
index 58002d4..0b14d0c 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR8X6EW/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR8X6EW/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function yr8x6ew_gotHit() /* entry=33 class_id=0x0091 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1B_slot_20(pid, arg_0C, arg_0A, *(arg_06), arg_06);
+ spawn YELRAIL.slot_20(pid, arg_0C, arg_0A, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR8X6NS/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR8X6NS/slot_06_gotHit.txt
index ce4eeae..29bc331 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR8X6NS/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/YR8X6NS/slot_06_gotHit.txt
@@ -2,7 +2,7 @@ function yr8x6ns_gotHit() /* entry=29 class_id=0x008B slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
- spawn class_0A1B_slot_20(pid, arg_0C, arg_0A, *(arg_06), arg_06);
+ spawn YELRAIL.slot_20(pid, arg_0C, arg_0A, *(arg_06), arg_06);
suspend;
return;
}
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/Y_POOL/slot_06_gotHit.txt b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/Y_POOL/slot_06_gotHit.txt
index 80f4dac..262c103 100644
--- a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/Y_POOL/slot_06_gotHit.txt
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/Y_POOL/slot_06_gotHit.txt
@@ -3,9 +3,9 @@ function y_pool_gotHit() /* entry=76 class_id=0x015E slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
local_02 = arg_0A;
- class_0A1D_slot_35(arg_0C, arg_0A);
+ FREE.slot_35(arg_0C, arg_0A);
if (retval == 4) {
- spawn class_0A0C_slot_2A(pid, 1, 1, arg_06);
+ spawn ITEM.slot_2A(pid, 1, 1, arg_06);
suspend;
}
if ((arg_0A <= 0x0100) && (arg_0A == World.getControlledNPCNum())) {
@@ -15,10 +15,10 @@ function y_pool_gotHit() /* entry=76 class_id=0x015E slot=0x06 */
while (!(1)) {
/* global_address global_id=0x1E */
if (!Item.isCentreOn(*(arg_06))) {
- class_0A1D_slot_20(8, 10);
+ FREE.slot_20(8, 10);
/* global_address global_id=0x1E */
/* global_address global_id=0x1E */
- spawn class_0A1D_slot_3B(pid, 60, 0x00000000);
+ spawn FREE.slot_3B(pid, 60, 0x00000000);
suspend;
}
else {
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/index.tsv b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/index.tsv
new file mode 100644
index 0000000..b09f579
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/pseudocode/index.tsv
@@ -0,0 +1,1153 @@
+entry_index class_name slot event_name_hint derived_body_start derived_body_end derived_body_length decoded_op_count end_reason debug_symbol_count pseudocode_path
+1 BLACK8 0x06 gotHit 0x00D4 0x011D 73 34 end_opcode 0 pseudocode/BLACK8/slot_06_gotHit.txt
+2 ELENS16 0x0A equip 0x00D4 0x0163 143 62 end_opcode 0 pseudocode/ELENS16/slot_0A_equip.txt
+2 ELENS16 0x0F enterFastArea 0x0163 0x0274 273 125 end_opcode 0 pseudocode/ELENS16/slot_0F_enterFastArea.txt
+3 ELEEW16 0x0A equip 0x00D4 0x0163 143 62 end_opcode 0 pseudocode/ELEEW16/slot_0A_equip.txt
+3 ELEEW16 0x0F enterFastArea 0x0163 0x0274 273 125 end_opcode 0 pseudocode/ELEEW16/slot_0F_enterFastArea.txt
+4 CONT_EW 0x06 gotHit 0x00D4 0x00F7 35 18 end_opcode 0 pseudocode/CONT_EW/slot_06_gotHit.txt
+5 BLACK16 0x06 gotHit 0x00D4 0x011D 73 34 end_opcode 0 pseudocode/BLACK16/slot_06_gotHit.txt
+6 ALARM_EW 0x0F enterFastArea 0x00D4 0x0100 44 20 end_opcode 0 pseudocode/ALARM_EW/slot_0F_enterFastArea.txt
+7 MINE_IR 0x06 gotHit 0x0119 0x023E 293 129 end_opcode 0 pseudocode/MINE_IR/slot_06_gotHit.txt
+7 MINE_IR 0x0A equip 0x023E 0x02B2 116 52 end_opcode 0 pseudocode/MINE_IR/slot_0A_equip.txt
+7 MINE_IR 0x0F enterFastArea 0x00D4 0x0119 69 31 end_opcode 0 pseudocode/MINE_IR/slot_0F_enterFastArea.txt
+8 SMALLTAB 0x06 gotHit 0x00D4 0x0166 146 64 end_opcode 0 pseudocode/SMALLTAB/slot_06_gotHit.txt
+9 VALVE 0x01 use 0x00D4 0x0226 338 151 end_opcode 0 pseudocode/VALVE/slot_01_use.txt
+10 SBIG_EW 0x06 gotHit 0x00D4 0x00F7 35 18 end_opcode 0 pseudocode/SBIG_EW/slot_06_gotHit.txt
+11 CONT_FL 0x11 cast 0x00D4 0x00F9 37 19 end_opcode 0 pseudocode/CONT_FL/slot_11_cast.txt
+12 PIPRAK1 0x06 gotHit 0x00D4 0x00F9 37 19 end_opcode 0 pseudocode/PIPRAK1/slot_06_gotHit.txt
+13 PIPRAK 0x06 gotHit 0x00D4 0x00F9 37 19 end_opcode 0 pseudocode/PIPRAK/slot_06_gotHit.txt
+14 ALARM_NS 0x0F enterFastArea 0x00D4 0x0100 44 20 end_opcode 0 pseudocode/ALARM_NS/slot_0F_enterFastArea.txt
+15 FRI_EW 0x06 gotHit 0x00D4 0x00F7 35 18 end_opcode 0 pseudocode/FRI_EW/slot_06_gotHit.txt
+16 PSAFE_NS 0x0A equip 0x00D4 0x0321 589 259 end_opcode 0 pseudocode/PSAFE_NS/slot_0A_equip.txt
+17 RFANEW 0x06 gotHit 0x00EB 0x0158 109 50 end_opcode 0 pseudocode/RFANEW/slot_06_gotHit.txt
+17 RFANEW 0x0A equip 0x0158 0x02D1 377 165 end_opcode 0 pseudocode/RFANEW/slot_0A_equip.txt
+17 RFANEW 0x0F enterFastArea 0x00D4 0x00EB 23 12 end_opcode 0 pseudocode/RFANEW/slot_0F_enterFastArea.txt
+18 FALLINGC 0x06 gotHit 0x00D4 0x0156 130 59 end_opcode 0 pseudocode/FALLINGC/slot_06_gotHit.txt
+19 SWITCHEW 0x01 use 0x00D4 0x013D 105 49 end_opcode 0 pseudocode/SWITCHEW/slot_01_use.txt
+20 PDOOR3NS 0x06 gotHit 0x00D4 0x00F7 35 18 end_opcode 0 pseudocode/PDOOR3NS/slot_06_gotHit.txt
+21 MINE_SPI 0x01 use 0x00D4 0x0133 95 40 end_opcode 0 pseudocode/MINE_SPI/slot_01_use.txt
+21 MINE_SPI 0x06 gotHit 0x014C 0x01D2 134 59 end_opcode 0 pseudocode/MINE_SPI/slot_06_gotHit.txt
+21 MINE_SPI 0x10 leaveFastArea 0x0133 0x014C 25 13 end_opcode 0 pseudocode/MINE_SPI/slot_10_leaveFastArea.txt
+22 CONVEY_N 0x06 gotHit 0x0181 0x0201 128 60 end_opcode 0 pseudocode/CONVEY_N/slot_06_gotHit.txt
+22 CONVEY_N 0x0A equip 0x00D4 0x0181 173 72 end_opcode 0 pseudocode/CONVEY_N/slot_0A_equip.txt
+23 SBIG_NS 0x06 gotHit 0x00D4 0x00F7 35 18 end_opcode 0 pseudocode/SBIG_NS/slot_06_gotHit.txt
+24 YR2X6EW 0x06 gotHit 0x00D4 0x00FB 39 20 end_opcode 0 pseudocode/YR2X6EW/slot_06_gotHit.txt
+25 BOX_EW 0x01 use 0x00D4 0x021D 329 142 end_opcode 0 pseudocode/BOX_EW/slot_01_use.txt
+26 BOX_NS 0x01 use 0x00D4 0x021D 329 142 end_opcode 0 pseudocode/BOX_NS/slot_01_use.txt
+27 YR16X6EW 0x06 gotHit 0x00D4 0x00FB 39 20 end_opcode 0 pseudocode/YR16X6EW/slot_06_gotHit.txt
+28 YR16X6NS 0x06 gotHit 0x00D4 0x00FB 39 20 end_opcode 0 pseudocode/YR16X6NS/slot_06_gotHit.txt
+29 YR8X6NS 0x06 gotHit 0x00D4 0x00FB 39 20 end_opcode 0 pseudocode/YR8X6NS/slot_06_gotHit.txt
+30 YR4X6NS 0x06 gotHit 0x00D4 0x00FB 39 20 end_opcode 0 pseudocode/YR4X6NS/slot_06_gotHit.txt
+31 YR2X6NS 0x06 gotHit 0x00D4 0x00FB 39 20 end_opcode 0 pseudocode/YR2X6NS/slot_06_gotHit.txt
+32 LUGGAGE 0x06 gotHit 0x00D4 0x0204 304 132 end_opcode 0 pseudocode/LUGGAGE/slot_06_gotHit.txt
+33 YR8X6EW 0x06 gotHit 0x00D4 0x00FB 39 20 end_opcode 0 pseudocode/YR8X6EW/slot_06_gotHit.txt
+34 YR4X6EW 0x06 gotHit 0x00D4 0x00FB 39 20 end_opcode 0 pseudocode/YR4X6EW/slot_06_gotHit.txt
+35 YR1X1 0x06 gotHit 0x00D4 0x00FB 39 20 end_opcode 0 pseudocode/YR1X1/slot_06_gotHit.txt
+36 PEPSIEW 0x01 use 0x00D4 0x01E2 270 129 end_opcode 0 pseudocode/PEPSIEW/slot_01_use.txt
+36 PEPSIEW 0x06 gotHit 0x01E2 0x0229 71 32 end_opcode 0 pseudocode/PEPSIEW/slot_06_gotHit.txt
+37 D_SITMAN 0x0E calledFromAnim 0x00D4 0x0110 60 29 end_opcode 0 pseudocode/D_SITMAN/slot_0E_calledFromAnim.txt
+38 CATWALK1 0x06 gotHit 0x00D4 0x0120 76 33 end_opcode 0 pseudocode/CATWALK1/slot_06_gotHit.txt
+39 PEPSINS 0x01 use 0x00D4 0x01E2 270 129 end_opcode 0 pseudocode/PEPSINS/slot_01_use.txt
+39 PEPSINS 0x06 gotHit 0x01E2 0x0229 71 32 end_opcode 0 pseudocode/PEPSINS/slot_06_gotHit.txt
+40 PANELNS 0x01 use 0x00D4 0x0125 81 37 end_opcode 0 pseudocode/PANELNS/slot_01_use.txt
+41 PANELEW 0x01 use 0x00D4 0x0125 81 37 end_opcode 0 pseudocode/PANELEW/slot_01_use.txt
+42 MOVEFLOR 0x0A equip 0x06EC 0x0771 133 57 end_opcode 0 pseudocode/MOVEFLOR/slot_0A_equip.txt
+42 MOVEFLOR 0x0F enterFastArea 0x00E0 0x0176 150 62 end_opcode 0 pseudocode/MOVEFLOR/slot_0F_enterFastArea.txt
+42 MOVEFLOR 0x20 0x0176 0x0467 753 337 end_opcode 0 pseudocode/MOVEFLOR/slot_20_slot_20.txt
+42 MOVEFLOR 0x21 0x0467 0x06EC 645 286 end_opcode 0 pseudocode/MOVEFLOR/slot_21_slot_21.txt
+43 DICOR3 0x06 gotHit 0x00D4 0x01CA 246 108 end_opcode 0 pseudocode/DICOR3/slot_06_gotHit.txt
+44 BARRELUP 0x06 gotHit 0x00D4 0x00F7 35 18 end_opcode 0 pseudocode/BARRELUP/slot_06_gotHit.txt
+45 SIGNEW 0x04 cachein 0x00D4 0x0117 67 32 end_opcode 0 pseudocode/SIGNEW/slot_04_cachein.txt
+46 SIGNNS 0x04 cachein 0x00D4 0x0117 67 32 end_opcode 0 pseudocode/SIGNNS/slot_04_cachein.txt
+47 RFANNS 0x06 gotHit 0x00EB 0x0158 109 50 end_opcode 0 pseudocode/RFANNS/slot_06_gotHit.txt
+47 RFANNS 0x0A equip 0x0158 0x02D1 377 165 end_opcode 0 pseudocode/RFANNS/slot_0A_equip.txt
+47 RFANNS 0x0F enterFastArea 0x00D4 0x00EB 23 12 end_opcode 0 pseudocode/RFANNS/slot_0F_enterFastArea.txt
+48 BROKENCW 0x06 gotHit 0x00D4 0x0153 127 59 end_opcode 0 pseudocode/BROKENCW/slot_06_gotHit.txt
+49 STELEPAD 0x06 gotHit 0x00D4 0x018C 184 83 end_opcode 0 pseudocode/STELEPAD/slot_06_gotHit.txt
+49 STELEPAD 0x09 release 0x018C 0x022A 158 67 end_opcode 0 pseudocode/STELEPAD/slot_09_release.txt
+50 MONITNS 0x01 use 0x00D4 0x02FB 551 187 end_opcode 0 pseudocode/MONITNS/slot_01_use.txt
+50 MONITNS 0x06 gotHit 0x02FB 0x0308 13 8 end_opcode 0 pseudocode/MONITNS/slot_06_gotHit.txt
+51 GATGUNNS 0x06 gotHit 0x016F 0x018D 30 15 end_opcode 0 pseudocode/GATGUNNS/slot_06_gotHit.txt
+51 GATGUNNS 0x0A equip 0x018D 0x01D9 76 35 end_opcode 0 pseudocode/GATGUNNS/slot_0A_equip.txt
+51 GATGUNNS 0x0B unequip 0x0108 0x013C 52 24 end_opcode 0 pseudocode/GATGUNNS/slot_0B_unequip.txt
+51 GATGUNNS 0x0F enterFastArea 0x00D4 0x0108 52 24 end_opcode 0 pseudocode/GATGUNNS/slot_0F_enterFastArea.txt
+51 GATGUNNS 0x10 leaveFastArea 0x013C 0x016F 51 23 end_opcode 0 pseudocode/GATGUNNS/slot_10_leaveFastArea.txt
+52 GTELEPAD 0x06 gotHit 0x00D4 0x018C 184 83 end_opcode 0 pseudocode/GTELEPAD/slot_06_gotHit.txt
+52 GTELEPAD 0x09 release 0x018C 0x022A 158 67 end_opcode 0 pseudocode/GTELEPAD/slot_09_release.txt
+53 GRATE_EW 0x06 gotHit 0x00D4 0x021C 328 147 end_opcode 0 pseudocode/GRATE_EW/slot_06_gotHit.txt
+54 GATGUNEW 0x06 gotHit 0x016F 0x018D 30 15 end_opcode 0 pseudocode/GATGUNEW/slot_06_gotHit.txt
+54 GATGUNEW 0x0A equip 0x018D 0x01D9 76 35 end_opcode 0 pseudocode/GATGUNEW/slot_0A_equip.txt
+54 GATGUNEW 0x0B unequip 0x0108 0x013C 52 24 end_opcode 0 pseudocode/GATGUNEW/slot_0B_unequip.txt
+54 GATGUNEW 0x0F enterFastArea 0x00D4 0x0108 52 24 end_opcode 0 pseudocode/GATGUNEW/slot_0F_enterFastArea.txt
+54 GATGUNEW 0x10 leaveFastArea 0x013C 0x016F 51 23 end_opcode 0 pseudocode/GATGUNEW/slot_10_leaveFastArea.txt
+55 CRU_MINE 0x01 use 0x00DA 0x0528 1102 491 end_opcode 0 pseudocode/CRU_MINE/slot_01_use.txt
+55 CRU_MINE 0x20 0x0528 0x08D8 944 442 end_opcode 0 pseudocode/CRU_MINE/slot_20_slot_20.txt
+56 ELEEW8 0x0A equip 0x00D4 0x0163 143 62 end_opcode 0 pseudocode/ELEEW8/slot_0A_equip.txt
+56 ELEEW8 0x0F enterFastArea 0x0163 0x023A 215 99 end_opcode 0 pseudocode/ELEEW8/slot_0F_enterFastArea.txt
+57 CONT_NS 0x06 gotHit 0x00D4 0x00F7 35 18 end_opcode 0 pseudocode/CONT_NS/slot_06_gotHit.txt
+58 ELENS8 0x0A equip 0x00D4 0x0163 143 62 end_opcode 0 pseudocode/ELENS8/slot_0A_equip.txt
+58 ELENS8 0x0F enterFastArea 0x0163 0x023A 215 99 end_opcode 0 pseudocode/ELENS8/slot_0F_enterFastArea.txt
+59 DEL8 0x04 cachein 0x00D4 0x00F8 36 18 end_opcode 0 pseudocode/DEL8/slot_04_cachein.txt
+60 ELEVPLAT 0x05 hit 0x00D4 0x0144 112 52 end_opcode 0 pseudocode/ELEVPLAT/slot_05_hit.txt
+60 ELEVPLAT 0x0A equip 0x0144 0x02A8 356 156 end_opcode 0 pseudocode/ELEVPLAT/slot_0A_equip.txt
+60 ELEVPLAT 0x0F enterFastArea 0x02C1 0x02F6 53 27 end_opcode 0 pseudocode/ELEVPLAT/slot_0F_enterFastArea.txt
+60 ELEVPLAT 0x10 leaveFastArea 0x02A8 0x02C1 25 13 end_opcode 0 pseudocode/ELEVPLAT/slot_10_leaveFastArea.txt
+61 CATWALK2 0x06 gotHit 0x00D4 0x01C7 243 106 end_opcode 0 pseudocode/CATWALK2/slot_06_gotHit.txt
+62 LIFT 0x01 use 0x0394 0x0400 108 51 end_opcode 0 pseudocode/LIFT/slot_01_use.txt
+62 LIFT 0x06 gotHit 0x01D5 0x0394 447 201 end_opcode 0 pseudocode/LIFT/slot_06_gotHit.txt
+62 LIFT 0x0F enterFastArea 0x00DA 0x01D5 251 106 end_opcode 0 pseudocode/LIFT/slot_0F_enterFastArea.txt
+62 LIFT 0x20 0x0400 0x053E 318 145 end_opcode 0 pseudocode/LIFT/slot_20_slot_20.txt
+63 CONVEY_E 0x06 gotHit 0x0181 0x0201 128 60 end_opcode 0 pseudocode/CONVEY_E/slot_06_gotHit.txt
+63 CONVEY_E 0x0A equip 0x00D4 0x0181 173 72 end_opcode 0 pseudocode/CONVEY_E/slot_0A_equip.txt
+64 FFFLOOR 0x06 gotHit 0x0349 0x03CF 134 61 end_opcode 0 pseudocode/FFFLOOR/slot_06_gotHit.txt
+64 FFFLOOR 0x0A equip 0x00D4 0x02CD 505 223 end_opcode 0 pseudocode/FFFLOOR/slot_0A_equip.txt
+64 FFFLOOR 0x0B unequip 0x02CD 0x0349 124 58 end_opcode 0 pseudocode/FFFLOOR/slot_0B_unequip.txt
+65 RE_SIDE 0x06 gotHit 0x00D4 0x0182 174 77 end_opcode 0 pseudocode/RE_SIDE/slot_06_gotHit.txt
+66 RE_FLOOR 0x06 gotHit 0x00D4 0x0240 364 161 end_opcode 0 pseudocode/RE_FLOOR/slot_06_gotHit.txt
+66 RE_FLOOR 0x09 release 0x0240 0x0274 52 23 end_opcode 0 pseudocode/RE_FLOOR/slot_09_release.txt
+67 BARRELS 0x06 gotHit 0x00D4 0x00F7 35 18 end_opcode 0 pseudocode/BARRELS/slot_06_gotHit.txt
+68 BARRELNS 0x06 gotHit 0x00D4 0x00F7 35 18 end_opcode 0 pseudocode/BARRELNS/slot_06_gotHit.txt
+69 BARRELEW 0x06 gotHit 0x00D4 0x00F7 35 18 end_opcode 0 pseudocode/BARRELEW/slot_06_gotHit.txt
+70 BARRELNW 0x06 gotHit 0x00D4 0x00F7 35 18 end_opcode 0 pseudocode/BARRELNW/slot_06_gotHit.txt
+71 BARRELSE 0x06 gotHit 0x00D4 0x00F7 35 18 end_opcode 0 pseudocode/BARRELSE/slot_06_gotHit.txt
+72 RE_BACK 0x06 gotHit 0x00D4 0x0182 174 77 end_opcode 0 pseudocode/RE_BACK/slot_06_gotHit.txt
+73 RE_BOOTH 0x06 gotHit 0x00D4 0x0182 174 77 end_opcode 0 pseudocode/RE_BOOTH/slot_06_gotHit.txt
+74 MED_BACK 0x06 gotHit 0x00D4 0x0175 161 72 end_opcode 0 pseudocode/MED_BACK/slot_06_gotHit.txt
+75 G_POOL 0x06 gotHit 0x00D4 0x017C 168 74 end_opcode 0 pseudocode/G_POOL/slot_06_gotHit.txt
+76 Y_POOL 0x06 gotHit 0x00D4 0x017C 168 74 end_opcode 0 pseudocode/Y_POOL/slot_06_gotHit.txt
+77 MONITEW 0x01 use 0x00D4 0x02FB 551 187 end_opcode 0 pseudocode/MONITEW/slot_01_use.txt
+77 MONITEW 0x06 gotHit 0x02FB 0x0308 13 8 end_opcode 0 pseudocode/MONITEW/slot_06_gotHit.txt
+78 MALRM_NS 0x0F enterFastArea 0x00D4 0x0100 44 20 end_opcode 0 pseudocode/MALRM_NS/slot_0F_enterFastArea.txt
+79 RTELEPAD 0x06 gotHit 0x00D4 0x018C 184 83 end_opcode 0 pseudocode/RTELEPAD/slot_06_gotHit.txt
+79 RTELEPAD 0x09 release 0x018C 0x022A 158 67 end_opcode 0 pseudocode/RTELEPAD/slot_09_release.txt
+80 BMPC 0x06 gotHit 0x00D4 0x00F9 37 19 end_opcode 0 pseudocode/BMPC/slot_06_gotHit.txt
+81 MTELEPAD 0x06 gotHit 0x00D4 0x018C 184 83 end_opcode 0 pseudocode/MTELEPAD/slot_06_gotHit.txt
+81 MTELEPAD 0x09 release 0x018C 0x022A 158 67 end_opcode 0 pseudocode/MTELEPAD/slot_09_release.txt
+82 TURBINNS 0x06 gotHit 0x00D4 0x010A 54 26 end_opcode 0 pseudocode/TURBINNS/slot_06_gotHit.txt
+83 ELEVATOR 0x06 gotHit 0x00DA 0x04C1 999 422 end_opcode 0 pseudocode/ELEVATOR/slot_06_gotHit.txt
+83 ELEVATOR 0x09 release 0x0D2A 0x0D99 111 50 end_opcode 0 pseudocode/ELEVATOR/slot_09_release.txt
+83 ELEVATOR 0x20 0x04C1 0x0D2A 2153 907 end_opcode 0 pseudocode/ELEVATOR/slot_20_slot_20.txt
+84 R_SHIELD 0x01 use 0x00D4 0x014D 121 47 end_opcode 0 pseudocode/R_SHIELD/slot_01_use.txt
+85 DUCK_NS 0x06 gotHit 0x0425 0x052C 263 114 end_opcode 0 pseudocode/DUCK_NS/slot_06_gotHit.txt
+85 DUCK_NS 0x0A equip 0x02F2 0x0425 307 131 end_opcode 0 pseudocode/DUCK_NS/slot_0A_equip.txt
+85 DUCK_NS 0x10 leaveFastArea 0x02B2 0x02F2 64 28 end_opcode 0 pseudocode/DUCK_NS/slot_10_leaveFastArea.txt
+85 DUCK_NS 0x20 0x00DA 0x02B2 472 214 end_opcode 0 pseudocode/DUCK_NS/slot_20_slot_20.txt
+86 PPLATE2 0x06 gotHit 0x016F 0x02B7 328 142 end_opcode 0 pseudocode/PPLATE2/slot_06_gotHit.txt
+86 PPLATE2 0x0A equip 0x00D4 0x016F 155 70 end_opcode 0 pseudocode/PPLATE2/slot_0A_equip.txt
+87 DUCK_EW 0x06 gotHit 0x0428 0x052F 263 114 end_opcode 0 pseudocode/DUCK_EW/slot_06_gotHit.txt
+87 DUCK_EW 0x0A equip 0x02F5 0x0428 307 131 end_opcode 0 pseudocode/DUCK_EW/slot_0A_equip.txt
+87 DUCK_EW 0x10 leaveFastArea 0x02B5 0x02F5 64 28 end_opcode 0 pseudocode/DUCK_EW/slot_10_leaveFastArea.txt
+87 DUCK_EW 0x20 0x00DA 0x02B5 475 216 end_opcode 0 pseudocode/DUCK_EW/slot_20_slot_20.txt
+88 LAZERNS 0x06 gotHit 0x036F 0x0429 186 81 end_opcode 0 pseudocode/LAZERNS/slot_06_gotHit.txt
+88 LAZERNS 0x0A equip 0x02DC 0x036F 147 60 end_opcode 0 pseudocode/LAZERNS/slot_0A_equip.txt
+88 LAZERNS 0x10 leaveFastArea 0x02B5 0x02DC 39 17 end_opcode 0 pseudocode/LAZERNS/slot_10_leaveFastArea.txt
+88 LAZERNS 0x20 0x00DA 0x02B5 475 218 end_opcode 0 pseudocode/LAZERNS/slot_20_slot_20.txt
+89 LAZEREW 0x06 gotHit 0x0372 0x042C 186 81 end_opcode 0 pseudocode/LAZEREW/slot_06_gotHit.txt
+89 LAZEREW 0x0A equip 0x02DF 0x0372 147 60 end_opcode 0 pseudocode/LAZEREW/slot_0A_equip.txt
+89 LAZEREW 0x10 leaveFastArea 0x02B8 0x02DF 39 17 end_opcode 0 pseudocode/LAZEREW/slot_10_leaveFastArea.txt
+89 LAZEREW 0x20 0x00DA 0x02B8 478 220 end_opcode 0 pseudocode/LAZEREW/slot_20_slot_20.txt
+90 RADAR 0x0F enterFastArea 0x00D4 0x00EC 24 12 end_opcode 0 pseudocode/RADAR/slot_0F_enterFastArea.txt
+91 RSTATION 0x0F enterFastArea 0x00D4 0x00F9 37 18 end_opcode 0 pseudocode/RSTATION/slot_0F_enterFastArea.txt
+92 ELEEW4 0x0A equip 0x00D4 0x0163 143 62 end_opcode 0 pseudocode/ELEEW4/slot_0A_equip.txt
+92 ELEEW4 0x0F enterFastArea 0x0163 0x0201 158 73 end_opcode 0 pseudocode/ELEEW4/slot_0F_enterFastArea.txt
+93 ELENS4 0x0A equip 0x00D4 0x0163 143 62 end_opcode 0 pseudocode/ELENS4/slot_0A_equip.txt
+93 ELENS4 0x0F enterFastArea 0x0163 0x0201 158 73 end_opcode 0 pseudocode/ELENS4/slot_0F_enterFastArea.txt
+94 JOHN 0x01 use 0x00D4 0x00FA 38 19 end_opcode 0 pseudocode/JOHN/slot_01_use.txt
+94 JOHN 0x04 cachein 0x00FA 0x0126 44 21 end_opcode 0 pseudocode/JOHN/slot_04_cachein.txt
+95 ENFORCER 0x0E calledFromAnim 0x00D4 0x00FB 39 19 end_opcode 0 pseudocode/ENFORCER/slot_0E_calledFromAnim.txt
+96 CAMERACO 0x06 gotHit 0x039A 0x0461 199 88 end_opcode 0 pseudocode/CAMERACO/slot_06_gotHit.txt
+96 CAMERACO 0x0F enterFastArea 0x00D4 0x0374 672 303 end_opcode 0 pseudocode/CAMERACO/slot_0F_enterFastArea.txt
+96 CAMERACO 0x10 leaveFastArea 0x0374 0x039A 38 18 end_opcode 0 pseudocode/CAMERACO/slot_10_leaveFastArea.txt
+97 R2D2 0x06 gotHit 0x0244 0x035D 281 122 end_opcode 0 pseudocode/R2D2/slot_06_gotHit.txt
+97 R2D2 0x0F enterFastArea 0x00D4 0x0229 341 164 end_opcode 0 pseudocode/R2D2/slot_0F_enterFastArea.txt
+97 R2D2 0x10 leaveFastArea 0x0229 0x0244 27 13 end_opcode 0 pseudocode/R2D2/slot_10_leaveFastArea.txt
+98 CAMERANS 0x06 gotHit 0x0394 0x045B 199 88 end_opcode 0 pseudocode/CAMERANS/slot_06_gotHit.txt
+98 CAMERANS 0x0F enterFastArea 0x00D4 0x036E 666 299 end_opcode 0 pseudocode/CAMERANS/slot_0F_enterFastArea.txt
+98 CAMERANS 0x10 leaveFastArea 0x036E 0x0394 38 18 end_opcode 0 pseudocode/CAMERANS/slot_10_leaveFastArea.txt
+99 CAM_EW 0x06 gotHit 0x016F 0x018D 30 15 end_opcode 0 pseudocode/CAM_EW/slot_06_gotHit.txt
+99 CAM_EW 0x0A equip 0x018D 0x01D9 76 35 end_opcode 0 pseudocode/CAM_EW/slot_0A_equip.txt
+99 CAM_EW 0x0B unequip 0x0108 0x013C 52 24 end_opcode 0 pseudocode/CAM_EW/slot_0B_unequip.txt
+99 CAM_EW 0x0F enterFastArea 0x00D4 0x0108 52 24 end_opcode 0 pseudocode/CAM_EW/slot_0F_enterFastArea.txt
+99 CAM_EW 0x10 leaveFastArea 0x013C 0x016F 51 23 end_opcode 0 pseudocode/CAM_EW/slot_10_leaveFastArea.txt
+100 CAM_NS 0x06 gotHit 0x016F 0x018D 30 15 end_opcode 0 pseudocode/CAM_NS/slot_06_gotHit.txt
+100 CAM_NS 0x0A equip 0x018D 0x01D9 76 35 end_opcode 0 pseudocode/CAM_NS/slot_0A_equip.txt
+100 CAM_NS 0x0B unequip 0x0108 0x013C 52 24 end_opcode 0 pseudocode/CAM_NS/slot_0B_unequip.txt
+100 CAM_NS 0x0F enterFastArea 0x00D4 0x0108 52 24 end_opcode 0 pseudocode/CAM_NS/slot_0F_enterFastArea.txt
+100 CAM_NS 0x10 leaveFastArea 0x013C 0x016F 51 23 end_opcode 0 pseudocode/CAM_NS/slot_10_leaveFastArea.txt
+101 FUSREACT 0x06 gotHit 0x00EC 0x019C 176 80 end_opcode 0 pseudocode/FUSREACT/slot_06_gotHit.txt
+101 FUSREACT 0x0F enterFastArea 0x00D4 0x00EC 24 12 end_opcode 0 pseudocode/FUSREACT/slot_0F_enterFastArea.txt
+102 TRANSFOR 0x06 gotHit 0x00F9 0x021B 290 128 end_opcode 0 pseudocode/TRANSFOR/slot_06_gotHit.txt
+102 TRANSFOR 0x0F enterFastArea 0x00D4 0x00F9 37 18 end_opcode 0 pseudocode/TRANSFOR/slot_0F_enterFastArea.txt
+103 SHOCKEW 0x0B unequip 0x00D4 0x00FB 39 18 end_opcode 0 pseudocode/SHOCKEW/slot_0B_unequip.txt
+103 SHOCKEW 0x0F enterFastArea 0x00FB 0x0113 24 12 end_opcode 0 pseudocode/SHOCKEW/slot_0F_enterFastArea.txt
+103 SHOCKEW 0x10 leaveFastArea 0x0113 0x014A 55 23 end_opcode 0 pseudocode/SHOCKEW/slot_10_leaveFastArea.txt
+104 FFFLOOR2 0x06 gotHit 0x0335 0x03BB 134 61 end_opcode 0 pseudocode/FFFLOOR2/slot_06_gotHit.txt
+104 FFFLOOR2 0x0A equip 0x00D4 0x02B9 485 215 end_opcode 0 pseudocode/FFFLOOR2/slot_0A_equip.txt
+104 FFFLOOR2 0x0B unequip 0x02B9 0x0335 124 58 end_opcode 0 pseudocode/FFFLOOR2/slot_0B_unequip.txt
+105 SHOCKNS 0x0B unequip 0x00D4 0x00FB 39 18 end_opcode 0 pseudocode/SHOCKNS/slot_0B_unequip.txt
+105 SHOCKNS 0x0F enterFastArea 0x00FB 0x0113 24 12 end_opcode 0 pseudocode/SHOCKNS/slot_0F_enterFastArea.txt
+105 SHOCKNS 0x10 leaveFastArea 0x0113 0x014A 55 23 end_opcode 0 pseudocode/SHOCKNS/slot_10_leaveFastArea.txt
+106 L_NS-2 0x06 gotHit 0x00D4 0x0161 141 62 end_opcode 0 pseudocode/L_NS-2/slot_06_gotHit.txt
+106 L_NS-2 0x0B unequip 0x0185 0x01AA 37 18 end_opcode 0 pseudocode/L_NS-2/slot_0B_unequip.txt
+106 L_NS-2 0x0F enterFastArea 0x0161 0x0185 36 18 end_opcode 0 pseudocode/L_NS-2/slot_0F_enterFastArea.txt
+106 L_NS-2 0x13 avatarStoleSomething 0x01AA 0x01C2 24 12 end_opcode 0 pseudocode/L_NS-2/slot_13_avatarStoleSomething.txt
+107 L_NS-4 0x06 gotHit 0x00D4 0x0161 141 62 end_opcode 0 pseudocode/L_NS-4/slot_06_gotHit.txt
+107 L_NS-4 0x0B unequip 0x0185 0x01AA 37 18 end_opcode 0 pseudocode/L_NS-4/slot_0B_unequip.txt
+107 L_NS-4 0x0F enterFastArea 0x0161 0x0185 36 18 end_opcode 0 pseudocode/L_NS-4/slot_0F_enterFastArea.txt
+107 L_NS-4 0x13 avatarStoleSomething 0x01AA 0x01CD 35 16 end_opcode 0 pseudocode/L_NS-4/slot_13_avatarStoleSomething.txt
+108 SENTRY 0x06 gotHit 0x017D 0x019B 30 15 end_opcode 0 pseudocode/SENTRY/slot_06_gotHit.txt
+108 SENTRY 0x0A equip 0x019B 0x01E7 76 35 end_opcode 0 pseudocode/SENTRY/slot_0A_equip.txt
+108 SENTRY 0x0B unequip 0x0116 0x014A 52 24 end_opcode 0 pseudocode/SENTRY/slot_0B_unequip.txt
+108 SENTRY 0x0E calledFromAnim 0x01E7 0x0310 297 135 end_opcode 0 pseudocode/SENTRY/slot_0E_calledFromAnim.txt
+108 SENTRY 0x0F enterFastArea 0x00D4 0x0116 66 30 end_opcode 0 pseudocode/SENTRY/slot_0F_enterFastArea.txt
+108 SENTRY 0x10 leaveFastArea 0x014A 0x017D 51 23 end_opcode 0 pseudocode/SENTRY/slot_10_leaveFastArea.txt
+109 L_NS-8 0x06 gotHit 0x00D4 0x0161 141 62 end_opcode 0 pseudocode/L_NS-8/slot_06_gotHit.txt
+109 L_NS-8 0x0B unequip 0x0185 0x01AA 37 18 end_opcode 0 pseudocode/L_NS-8/slot_0B_unequip.txt
+109 L_NS-8 0x0F enterFastArea 0x0161 0x0185 36 18 end_opcode 0 pseudocode/L_NS-8/slot_0F_enterFastArea.txt
+109 L_NS-8 0x13 avatarStoleSomething 0x01AA 0x01CD 35 16 end_opcode 0 pseudocode/L_NS-8/slot_13_avatarStoleSomething.txt
+110 L_NS-16 0x06 gotHit 0x00D4 0x0161 141 62 end_opcode 0 pseudocode/L_NS-16/slot_06_gotHit.txt
+110 L_NS-16 0x0B unequip 0x0185 0x01AA 37 18 end_opcode 0 pseudocode/L_NS-16/slot_0B_unequip.txt
+110 L_NS-16 0x0F enterFastArea 0x0161 0x0185 36 18 end_opcode 0 pseudocode/L_NS-16/slot_0F_enterFastArea.txt
+110 L_NS-16 0x13 avatarStoleSomething 0x01AA 0x01CD 35 16 end_opcode 0 pseudocode/L_NS-16/slot_13_avatarStoleSomething.txt
+111 L_EW-2 0x06 gotHit 0x00D4 0x0161 141 62 end_opcode 0 pseudocode/L_EW-2/slot_06_gotHit.txt
+111 L_EW-2 0x0B unequip 0x0185 0x01AA 37 18 end_opcode 0 pseudocode/L_EW-2/slot_0B_unequip.txt
+111 L_EW-2 0x0F enterFastArea 0x0161 0x0185 36 18 end_opcode 0 pseudocode/L_EW-2/slot_0F_enterFastArea.txt
+111 L_EW-2 0x13 avatarStoleSomething 0x01AA 0x01C2 24 12 end_opcode 0 pseudocode/L_EW-2/slot_13_avatarStoleSomething.txt
+112 L_EW-4 0x06 gotHit 0x00D4 0x0161 141 62 end_opcode 0 pseudocode/L_EW-4/slot_06_gotHit.txt
+112 L_EW-4 0x0B unequip 0x0185 0x01AA 37 18 end_opcode 0 pseudocode/L_EW-4/slot_0B_unequip.txt
+112 L_EW-4 0x0F enterFastArea 0x0161 0x0185 36 18 end_opcode 0 pseudocode/L_EW-4/slot_0F_enterFastArea.txt
+112 L_EW-4 0x13 avatarStoleSomething 0x01AA 0x01CD 35 16 end_opcode 0 pseudocode/L_EW-4/slot_13_avatarStoleSomething.txt
+113 L_EW-8 0x06 gotHit 0x00D4 0x0161 141 62 end_opcode 0 pseudocode/L_EW-8/slot_06_gotHit.txt
+113 L_EW-8 0x0B unequip 0x0185 0x01AA 37 18 end_opcode 0 pseudocode/L_EW-8/slot_0B_unequip.txt
+113 L_EW-8 0x0F enterFastArea 0x0161 0x0185 36 18 end_opcode 0 pseudocode/L_EW-8/slot_0F_enterFastArea.txt
+113 L_EW-8 0x13 avatarStoleSomething 0x01AA 0x01CD 35 16 end_opcode 0 pseudocode/L_EW-8/slot_13_avatarStoleSomething.txt
+114 L_EW-16 0x06 gotHit 0x00D4 0x0161 141 62 end_opcode 0 pseudocode/L_EW-16/slot_06_gotHit.txt
+114 L_EW-16 0x0B unequip 0x0185 0x01AA 37 18 end_opcode 0 pseudocode/L_EW-16/slot_0B_unequip.txt
+114 L_EW-16 0x0F enterFastArea 0x0161 0x0185 36 18 end_opcode 0 pseudocode/L_EW-16/slot_0F_enterFastArea.txt
+114 L_EW-16 0x13 avatarStoleSomething 0x01AA 0x01CD 35 16 end_opcode 0 pseudocode/L_EW-16/slot_13_avatarStoleSomething.txt
+115 MDESKEW 0x06 gotHit 0x00D4 0x016F 155 71 end_opcode 0 pseudocode/MDESKEW/slot_06_gotHit.txt
+116 LASERI 0x06 gotHit 0x00D4 0x0200 300 138 end_opcode 0 pseudocode/LASERI/slot_06_gotHit.txt
+117 CAMERAEW 0x06 gotHit 0x0394 0x045B 199 88 end_opcode 0 pseudocode/CAMERAEW/slot_06_gotHit.txt
+117 CAMERAEW 0x0F enterFastArea 0x00D4 0x036E 666 299 end_opcode 0 pseudocode/CAMERAEW/slot_0F_enterFastArea.txt
+117 CAMERAEW 0x10 leaveFastArea 0x036E 0x0394 38 18 end_opcode 0 pseudocode/CAMERAEW/slot_10_leaveFastArea.txt
+118 TELEPAD 0x06 gotHit 0x0100 0x032A 554 241 end_opcode 0 pseudocode/TELEPAD/slot_06_gotHit.txt
+118 TELEPAD 0x09 release 0x04FF 0x0540 65 31 end_opcode 0 pseudocode/TELEPAD/slot_09_release.txt
+118 TELEPAD 0x0F enterFastArea 0x00DA 0x0100 38 19 end_opcode 0 pseudocode/TELEPAD/slot_0F_enterFastArea.txt
+118 TELEPAD 0x20 0x032A 0x04FF 469 186 end_opcode 0 pseudocode/TELEPAD/slot_20_slot_20.txt
+119 MDESKNS 0x06 gotHit 0x00D4 0x016F 155 71 end_opcode 0 pseudocode/MDESKNS/slot_06_gotHit.txt
+120 MBARREL 0x05 hit 0x01C5 0x0266 161 70 end_opcode 0 pseudocode/MBARREL/slot_05_hit.txt
+120 MBARREL 0x06 gotHit 0x00D4 0x01C5 241 106 end_opcode 0 pseudocode/MBARREL/slot_06_gotHit.txt
+121 S_CHAIR 0x06 gotHit 0x00D4 0x01E1 269 122 end_opcode 0 pseudocode/S_CHAIR/slot_06_gotHit.txt
+122 SMALCHAI 0x06 gotHit 0x00D4 0x01E1 269 122 end_opcode 0 pseudocode/SMALCHAI/slot_06_gotHit.txt
+123 MFAN_NS 0x06 gotHit 0x00D4 0x0123 79 35 end_opcode 0 pseudocode/MFAN_NS/slot_06_gotHit.txt
+124 MFAN_EW 0x06 gotHit 0x00D4 0x0123 79 35 end_opcode 0 pseudocode/MFAN_EW/slot_06_gotHit.txt
+125 SAFE_NS 0x0A equip 0x00D4 0x031E 586 256 end_opcode 0 pseudocode/SAFE_NS/slot_0A_equip.txt
+126 SAFE_EW 0x0A equip 0x00D4 0x031E 586 256 end_opcode 0 pseudocode/SAFE_EW/slot_0A_equip.txt
+127 DEL16 0x04 cachein 0x00D4 0x00F8 36 18 end_opcode 0 pseudocode/DEL16/slot_04_cachein.txt
+128 BETTY 0x0A equip 0x00D4 0x0136 98 40 end_opcode 0 pseudocode/BETTY/slot_0A_equip.txt
+129 D_BARREL 0x06 gotHit 0x00D4 0x012B 87 39 end_opcode 0 pseudocode/D_BARREL/slot_06_gotHit.txt
+130 CONVFLR 0x06 gotHit 0x0181 0x0201 128 60 end_opcode 0 pseudocode/CONVFLR/slot_06_gotHit.txt
+130 CONVFLR 0x0A equip 0x00D4 0x0181 173 72 end_opcode 0 pseudocode/CONVFLR/slot_0A_equip.txt
+131 VALUEBOX 0x04 cachein 0x00DA 0x0112 56 26 end_opcode 0 pseudocode/VALUEBOX/slot_04_cachein.txt
+131 VALUEBOX 0x20 0x0112 0x013C 42 21 end_opcode 0 pseudocode/VALUEBOX/slot_20_slot_20.txt
+132 STATICNS 0x06 gotHit 0x00D4 0x00FC 40 19 end_opcode 0 pseudocode/STATICNS/slot_06_gotHit.txt
+132 STATICNS 0x0F enterFastArea 0x00FC 0x0109 13 8 end_opcode 0 pseudocode/STATICNS/slot_0F_enterFastArea.txt
+133 BIGCOMNS 0x06 gotHit 0x00D4 0x0126 82 38 end_opcode 0 pseudocode/BIGCOMNS/slot_06_gotHit.txt
+133 BIGCOMNS 0x0F enterFastArea 0x0126 0x013D 23 12 end_opcode 0 pseudocode/BIGCOMNS/slot_0F_enterFastArea.txt
+134 BIGCOMEW 0x06 gotHit 0x00D4 0x0126 82 38 end_opcode 0 pseudocode/BIGCOMEW/slot_06_gotHit.txt
+134 BIGCOMEW 0x0F enterFastArea 0x0126 0x013D 23 12 end_opcode 0 pseudocode/BIGCOMEW/slot_0F_enterFastArea.txt
+135 EYECAMNS 0x06 gotHit 0x016F 0x0199 42 20 end_opcode 0 pseudocode/EYECAMNS/slot_06_gotHit.txt
+135 EYECAMNS 0x0A equip 0x0199 0x01E5 76 35 end_opcode 0 pseudocode/EYECAMNS/slot_0A_equip.txt
+135 EYECAMNS 0x0B unequip 0x0108 0x013C 52 24 end_opcode 0 pseudocode/EYECAMNS/slot_0B_unequip.txt
+135 EYECAMNS 0x0F enterFastArea 0x00D4 0x0108 52 24 end_opcode 0 pseudocode/EYECAMNS/slot_0F_enterFastArea.txt
+135 EYECAMNS 0x10 leaveFastArea 0x013C 0x016F 51 23 end_opcode 0 pseudocode/EYECAMNS/slot_10_leaveFastArea.txt
+136 EYECAMEW 0x06 gotHit 0x016F 0x018D 30 15 end_opcode 0 pseudocode/EYECAMEW/slot_06_gotHit.txt
+136 EYECAMEW 0x0A equip 0x018D 0x01D9 76 35 end_opcode 0 pseudocode/EYECAMEW/slot_0A_equip.txt
+136 EYECAMEW 0x0B unequip 0x0108 0x013C 52 24 end_opcode 0 pseudocode/EYECAMEW/slot_0B_unequip.txt
+136 EYECAMEW 0x0F enterFastArea 0x00D4 0x0108 52 24 end_opcode 0 pseudocode/EYECAMEW/slot_0F_enterFastArea.txt
+136 EYECAMEW 0x10 leaveFastArea 0x013C 0x016F 51 23 end_opcode 0 pseudocode/EYECAMEW/slot_10_leaveFastArea.txt
+137 MALRM_EW 0x0F enterFastArea 0x00D4 0x0100 44 20 end_opcode 0 pseudocode/MALRM_EW/slot_0F_enterFastArea.txt
+138 DENNING 0x01 use 0x00D4 0x0118 68 27 end_opcode 0 pseudocode/DENNING/slot_01_use.txt
+138 DENNING 0x0F enterFastArea 0x0118 0x01C7 175 77 end_opcode 0 pseudocode/DENNING/slot_0F_enterFastArea.txt
+139 MEATY 0x0E calledFromAnim 0x00D4 0x0110 60 29 end_opcode 0 pseudocode/MEATY/slot_0E_calledFromAnim.txt
+139 MEATY 0x0F enterFastArea 0x0110 0x014E 62 28 end_opcode 0 pseudocode/MEATY/slot_0F_enterFastArea.txt
+140 GLASS_EW 0x06 gotHit 0x00D4 0x0288 436 195 end_opcode 0 pseudocode/GLASS_EW/slot_06_gotHit.txt
+141 SLIDENS 0x06 gotHit 0x0181 0x0201 128 60 end_opcode 0 pseudocode/SLIDENS/slot_06_gotHit.txt
+141 SLIDENS 0x0A equip 0x00D4 0x0181 173 72 end_opcode 0 pseudocode/SLIDENS/slot_0A_equip.txt
+142 POWERGEN 0x06 gotHit 0x016F 0x035D 494 214 end_opcode 0 pseudocode/POWERGEN/slot_06_gotHit.txt
+142 POWERGEN 0x0A equip 0x00D4 0x014A 118 52 end_opcode 0 pseudocode/POWERGEN/slot_0A_equip.txt
+142 POWERGEN 0x0F enterFastArea 0x014A 0x016F 37 18 end_opcode 0 pseudocode/POWERGEN/slot_0F_enterFastArea.txt
+143 TURBINEW 0x06 gotHit 0x00D4 0x010A 54 26 end_opcode 0 pseudocode/TURBINEW/slot_06_gotHit.txt
+144 ESPACE2 0x0A equip 0x0150 0x0171 33 17 end_opcode 0 pseudocode/ESPACE2/slot_0A_equip.txt
+144 ESPACE2 0x0F enterFastArea 0x00D4 0x0150 124 58 end_opcode 0 pseudocode/ESPACE2/slot_0F_enterFastArea.txt
+145 CONV_NL 0x06 gotHit 0x0181 0x0201 128 60 end_opcode 0 pseudocode/CONV_NL/slot_06_gotHit.txt
+145 CONV_NL 0x0A equip 0x00D4 0x0181 173 72 end_opcode 0 pseudocode/CONV_NL/slot_0A_equip.txt
+146 CONV_EL 0x06 gotHit 0x0181 0x0201 128 60 end_opcode 0 pseudocode/CONV_EL/slot_06_gotHit.txt
+146 CONV_EL 0x0A equip 0x00D4 0x0181 173 72 end_opcode 0 pseudocode/CONV_EL/slot_0A_equip.txt
+147 MGR_NS 0x06 gotHit 0x00D4 0x0150 124 51 end_opcode 0 pseudocode/MGR_NS/slot_06_gotHit.txt
+148 MINELET 0x05 hit 0x00ED 0x0106 25 13 end_opcode 0 pseudocode/MINELET/slot_05_hit.txt
+148 MINELET 0x06 gotHit 0x00D4 0x00ED 25 13 end_opcode 0 pseudocode/MINELET/slot_06_gotHit.txt
+148 MINELET 0x10 leaveFastArea 0x0106 0x011B 21 11 end_opcode 0 pseudocode/MINELET/slot_10_leaveFastArea.txt
+149 FLORMINE 0x04 cachein 0x00D4 0x010F 59 28 end_opcode 0 pseudocode/FLORMINE/slot_04_cachein.txt
+149 FLORMINE 0x06 gotHit 0x010F 0x0246 311 137 end_opcode 0 pseudocode/FLORMINE/slot_06_gotHit.txt
+149 FLORMINE 0x0A equip 0x0246 0x02BA 116 52 end_opcode 0 pseudocode/FLORMINE/slot_0A_equip.txt
+150 SWITCHNS 0x01 use 0x00D4 0x013D 105 49 end_opcode 0 pseudocode/SWITCHNS/slot_01_use.txt
+151 MGR_EW 0x06 gotHit 0x00D4 0x0150 124 51 end_opcode 0 pseudocode/MGR_EW/slot_06_gotHit.txt
+152 SSBOX_EW 0x06 gotHit 0x00D4 0x0194 192 86 end_opcode 0 pseudocode/SSBOX_EW/slot_06_gotHit.txt
+153 BETTYUP 0x06 gotHit 0x00FC 0x0172 118 55 end_opcode 0 pseudocode/BETTYUP/slot_06_gotHit.txt
+153 BETTYUP 0x0A equip 0x0172 0x024A 216 88 end_opcode 0 pseudocode/BETTYUP/slot_0A_equip.txt
+153 BETTYUP 0x0F enterFastArea 0x00D4 0x00FC 40 18 end_opcode 0 pseudocode/BETTYUP/slot_0F_enterFastArea.txt
+154 SSBOX_NS 0x06 gotHit 0x00D4 0x0194 192 86 end_opcode 0 pseudocode/SSBOX_NS/slot_06_gotHit.txt
+155 ROAMING 0x0E calledFromAnim 0x00D4 0x0110 60 29 end_opcode 0 pseudocode/ROAMING/slot_0E_calledFromAnim.txt
+156 FRI_NS 0x06 gotHit 0x00D4 0x00F7 35 18 end_opcode 0 pseudocode/FRI_NS/slot_06_gotHit.txt
+157 STABLE 0x06 gotHit 0x00D4 0x021B 327 147 end_opcode 0 pseudocode/STABLE/slot_06_gotHit.txt
+158 LIFTPIT 0x06 gotHit 0x00D4 0x00F7 35 19 end_opcode 0 pseudocode/LIFTPIT/slot_06_gotHit.txt
+159 CONGRESS 0x0E calledFromAnim 0x00D4 0x00FB 39 19 end_opcode 0 pseudocode/CONGRESS/slot_0E_calledFromAnim.txt
+160 MED_LITE 0x06 gotHit 0x00D4 0x0175 161 72 end_opcode 0 pseudocode/MED_LITE/slot_06_gotHit.txt
+161 MED_FLOR 0x06 gotHit 0x00D4 0x0229 341 148 end_opcode 0 pseudocode/MED_FLOR/slot_06_gotHit.txt
+161 MED_FLOR 0x09 release 0x0229 0x025D 52 23 end_opcode 0 pseudocode/MED_FLOR/slot_09_release.txt
+162 MED_SIDE 0x06 gotHit 0x00D4 0x0175 161 72 end_opcode 0 pseudocode/MED_SIDE/slot_06_gotHit.txt
+163 MINEPAD 0x0A equip 0x00FB 0x0138 61 26 end_opcode 0 pseudocode/MINEPAD/slot_0A_equip.txt
+163 MINEPAD 0x10 leaveFastArea 0x00D4 0x00FB 39 17 end_opcode 0 pseudocode/MINEPAD/slot_10_leaveFastArea.txt
+164 WALGUNNS 0x06 gotHit 0x016F 0x018D 30 15 end_opcode 0 pseudocode/WALGUNNS/slot_06_gotHit.txt
+164 WALGUNNS 0x0A equip 0x018D 0x01D9 76 35 end_opcode 0 pseudocode/WALGUNNS/slot_0A_equip.txt
+164 WALGUNNS 0x0B unequip 0x0108 0x013C 52 24 end_opcode 0 pseudocode/WALGUNNS/slot_0B_unequip.txt
+164 WALGUNNS 0x0F enterFastArea 0x00D4 0x0108 52 24 end_opcode 0 pseudocode/WALGUNNS/slot_0F_enterFastArea.txt
+164 WALGUNNS 0x10 leaveFastArea 0x013C 0x016F 51 23 end_opcode 0 pseudocode/WALGUNNS/slot_10_leaveFastArea.txt
+165 GLASS_NS 0x06 gotHit 0x00D4 0x0288 436 195 end_opcode 0 pseudocode/GLASS_NS/slot_06_gotHit.txt
+166 MAINTMAN 0x0E calledFromAnim 0x00D4 0x00FB 39 19 end_opcode 0 pseudocode/MAINTMAN/slot_0E_calledFromAnim.txt
+167 CHEMSUIT 0x0E calledFromAnim 0x00D4 0x00FB 39 19 end_opcode 0 pseudocode/CHEMSUIT/slot_0E_calledFromAnim.txt
+168 OFFWORK 0x0E calledFromAnim 0x00D4 0x00FB 39 19 end_opcode 0 pseudocode/OFFWORK/slot_0E_calledFromAnim.txt
+169 LMC_GUAR 0x0E calledFromAnim 0x00D4 0x00FB 39 19 end_opcode 0 pseudocode/LMC_GUAR/slot_0E_calledFromAnim.txt
+170 AVATRON 0x0E calledFromAnim 0x00D4 0x0101 45 22 end_opcode 0 pseudocode/AVATRON/slot_0E_calledFromAnim.txt
+171 DICOR1 0x06 gotHit 0x00D4 0x01C9 245 108 end_opcode 0 pseudocode/DICOR1/slot_06_gotHit.txt
+172 DICOR2 0x06 gotHit 0x00D4 0x01CA 246 108 end_opcode 0 pseudocode/DICOR2/slot_06_gotHit.txt
+173 BIGCAN 0x06 gotHit 0x00D4 0x019C 200 88 end_opcode 0 pseudocode/BIGCAN/slot_06_gotHit.txt
+174 CRUMORPH 0x0A equip 0x00D4 0x0220 332 144 end_opcode 0 pseudocode/CRUMORPH/slot_0A_equip.txt
+175 CAMETRON 0x0E calledFromAnim 0x00D4 0x0110 60 29 end_opcode 0 pseudocode/CAMETRON/slot_0E_calledFromAnim.txt
+176 CARD_NS 0x01 use 0x0187 0x019F 24 12 end_opcode 0 pseudocode/CARD_NS/slot_01_use.txt
+176 CARD_NS 0x11 cast 0x00D4 0x0187 179 76 end_opcode 0 pseudocode/CARD_NS/slot_11_cast.txt
+177 CARD_EW 0x01 use 0x0187 0x019F 24 12 end_opcode 0 pseudocode/CARD_EW/slot_01_use.txt
+177 CARD_EW 0x11 cast 0x00D4 0x0187 179 76 end_opcode 0 pseudocode/CARD_EW/slot_11_cast.txt
+178 ESPACE 0x0A equip 0x0150 0x0171 33 17 end_opcode 0 pseudocode/ESPACE/slot_0A_equip.txt
+178 ESPACE 0x0F enterFastArea 0x00D4 0x0150 124 58 end_opcode 0 pseudocode/ESPACE/slot_0F_enterFastArea.txt
+179 WINDSURF 0x06 gotHit 0x0194 0x0485 753 349 end_opcode 0 pseudocode/WINDSURF/slot_06_gotHit.txt
+179 WINDSURF 0x0A equip 0x00D4 0x0146 114 51 end_opcode 0 pseudocode/WINDSURF/slot_0A_equip.txt
+179 WINDSURF 0x0B unequip 0x0146 0x0194 78 37 end_opcode 0 pseudocode/WINDSURF/slot_0B_unequip.txt
+179 WINDSURF 0x10 leaveFastArea 0x0485 0x04A0 27 13 end_opcode 0 pseudocode/WINDSURF/slot_10_leaveFastArea.txt
+180 THERMATR 0x0E calledFromAnim 0x00D4 0x0110 60 29 end_opcode 0 pseudocode/THERMATR/slot_0E_calledFromAnim.txt
+181 GRENADE 0x05 hit 0x00ED 0x0106 25 13 end_opcode 0 pseudocode/GRENADE/slot_05_hit.txt
+181 GRENADE 0x06 gotHit 0x00D4 0x00ED 25 13 end_opcode 0 pseudocode/GRENADE/slot_06_gotHit.txt
+182 SCIENTIS 0x0E calledFromAnim 0x00D4 0x00FB 39 19 end_opcode 0 pseudocode/SCIENTIS/slot_0E_calledFromAnim.txt
+183 ROLL_NS 0x05 hit 0x055C 0x0586 42 21 end_opcode 0 pseudocode/ROLL_NS/slot_05_hit.txt
+183 ROLL_NS 0x06 gotHit 0x04D6 0x055C 134 60 end_opcode 0 pseudocode/ROLL_NS/slot_06_gotHit.txt
+183 ROLL_NS 0x0A equip 0x0101 0x0168 103 48 end_opcode 0 pseudocode/ROLL_NS/slot_0A_equip.txt
+183 ROLL_NS 0x0B unequip 0x00E0 0x0101 33 17 end_opcode 0 pseudocode/ROLL_NS/slot_0B_unequip.txt
+183 ROLL_NS 0x20 0x0168 0x0265 253 110 end_opcode 0 pseudocode/ROLL_NS/slot_20_slot_20.txt
+183 ROLL_NS 0x21 0x0265 0x04D6 625 287 end_opcode 0 pseudocode/ROLL_NS/slot_21_slot_21.txt
+184 MEDIKIT 0x01 use 0x00D4 0x0192 190 77 end_opcode 0 pseudocode/MEDIKIT/slot_01_use.txt
+185 MINEGEN 0x06 gotHit 0x00D4 0x0120 76 35 end_opcode 0 pseudocode/MINEGEN/slot_06_gotHit.txt
+186 ELY 0x0F enterFastArea 0x00D4 0x0188 180 78 end_opcode 0 pseudocode/ELY/slot_0F_enterFastArea.txt
+187 D_FREIGH 0x01 use 0x018C 0x01D6 74 33 end_opcode 0 pseudocode/D_FREIGH/slot_01_use.txt
+187 D_FREIGH 0x06 gotHit 0x00D4 0x018C 184 80 end_opcode 0 pseudocode/D_FREIGH/slot_06_gotHit.txt
+188 EVENT 0x0A equip 0x00D4 0x218E 8378 3650 end_opcode 0 pseudocode/EVENT/slot_0A_equip.txt
+189 PDOOR2NS 0x06 gotHit 0x00D4 0x00F7 35 18 end_opcode 0 pseudocode/PDOOR2NS/slot_06_gotHit.txt
+190 PIT 0x06 gotHit 0x00D4 0x02A4 464 192 end_opcode 0 pseudocode/PIT/slot_06_gotHit.txt
+191 CRUZTRIG 0x06 gotHit 0x00D4 0x0267 403 174 end_opcode 0 pseudocode/CRUZTRIG/slot_06_gotHit.txt
+192 NPC_ONLY 0x06 gotHit 0x00D4 0x022C 344 155 end_opcode 0 pseudocode/NPC_ONLY/slot_06_gotHit.txt
+193 WALLMNS 0x01 use 0x00D4 0x026B 407 160 end_opcode 0 pseudocode/WALLMNS/slot_01_use.txt
+194 STORMTRO 0x0E calledFromAnim 0x00D4 0x00FB 39 19 end_opcode 0 pseudocode/STORMTRO/slot_0E_calledFromAnim.txt
+195 WALGUNEW 0x06 gotHit 0x016F 0x018D 30 15 end_opcode 0 pseudocode/WALGUNEW/slot_06_gotHit.txt
+195 WALGUNEW 0x0A equip 0x018D 0x01D9 76 35 end_opcode 0 pseudocode/WALGUNEW/slot_0A_equip.txt
+195 WALGUNEW 0x0B unequip 0x0108 0x013C 52 24 end_opcode 0 pseudocode/WALGUNEW/slot_0B_unequip.txt
+195 WALGUNEW 0x0F enterFastArea 0x00D4 0x0108 52 24 end_opcode 0 pseudocode/WALGUNEW/slot_0F_enterFastArea.txt
+195 WALGUNEW 0x10 leaveFastArea 0x013C 0x016F 51 23 end_opcode 0 pseudocode/WALGUNEW/slot_10_leaveFastArea.txt
+196 PDOOR2EW 0x06 gotHit 0x00D4 0x00F7 35 18 end_opcode 0 pseudocode/PDOOR2EW/slot_06_gotHit.txt
+197 STATICEW 0x06 gotHit 0x00D4 0x00FC 40 19 end_opcode 0 pseudocode/STATICEW/slot_06_gotHit.txt
+197 STATICEW 0x0F enterFastArea 0x00FC 0x0109 13 8 end_opcode 0 pseudocode/STATICEW/slot_0F_enterFastArea.txt
+198 RADARBAS 0x0A equip 0x00F9 0x0115 28 14 end_opcode 0 pseudocode/RADARBAS/slot_0A_equip.txt
+198 RADARBAS 0x0B unequip 0x00D4 0x00F9 37 19 end_opcode 0 pseudocode/RADARBAS/slot_0B_unequip.txt
+198 RADARBAS 0x0F enterFastArea 0x0115 0x0163 78 37 end_opcode 0 pseudocode/RADARBAS/slot_0F_enterFastArea.txt
+198 RADARBAS 0x10 leaveFastArea 0x0163 0x018E 43 22 end_opcode 0 pseudocode/RADARBAS/slot_10_leaveFastArea.txt
+199 ANDROID 0x0E calledFromAnim 0x00D4 0x00FB 39 19 end_opcode 0 pseudocode/ANDROID/slot_0E_calledFromAnim.txt
+200 FREIGHTE 0x0E calledFromAnim 0x00D4 0x00FB 39 19 end_opcode 0 pseudocode/FREIGHTE/slot_0E_calledFromAnim.txt
+201 CHEDITRO 0x0E calledFromAnim 0x00D4 0x0101 45 22 end_opcode 0 pseudocode/CHEDITRO/slot_0E_calledFromAnim.txt
+202 SPIDWALK 0x05 hit 0x00FC 0x0115 25 13 end_opcode 0 pseudocode/SPIDWALK/slot_05_hit.txt
+202 SPIDWALK 0x06 gotHit 0x00D4 0x00FC 40 19 end_opcode 0 pseudocode/SPIDWALK/slot_06_gotHit.txt
+203 SPIDPAD 0x0A equip 0x00FA 0x0136 60 26 end_opcode 0 pseudocode/SPIDPAD/slot_0A_equip.txt
+203 SPIDPAD 0x10 leaveFastArea 0x00D4 0x00FA 38 17 end_opcode 0 pseudocode/SPIDPAD/slot_10_leaveFastArea.txt
+204 GOVGUNNS 0x06 gotHit 0x016F 0x018D 30 15 end_opcode 0 pseudocode/GOVGUNNS/slot_06_gotHit.txt
+204 GOVGUNNS 0x0A equip 0x018D 0x01D9 76 35 end_opcode 0 pseudocode/GOVGUNNS/slot_0A_equip.txt
+204 GOVGUNNS 0x0B unequip 0x0108 0x013C 52 24 end_opcode 0 pseudocode/GOVGUNNS/slot_0B_unequip.txt
+204 GOVGUNNS 0x0F enterFastArea 0x00D4 0x0108 52 24 end_opcode 0 pseudocode/GOVGUNNS/slot_0F_enterFastArea.txt
+204 GOVGUNNS 0x10 leaveFastArea 0x013C 0x016F 51 23 end_opcode 0 pseudocode/GOVGUNNS/slot_10_leaveFastArea.txt
+205 LANDMINE 0x01 use 0x00D4 0x041B 839 367 end_opcode 0 pseudocode/LANDMINE/slot_01_use.txt
+205 LANDMINE 0x06 gotHit 0x041B 0x0483 104 47 end_opcode 0 pseudocode/LANDMINE/slot_06_gotHit.txt
+206 FUS_PAC 0x01 use 0x00D4 0x041D 841 371 end_opcode 0 pseudocode/FUS_PAC/slot_01_use.txt
+207 GOVGUNEW 0x06 gotHit 0x016F 0x018D 30 15 end_opcode 0 pseudocode/GOVGUNEW/slot_06_gotHit.txt
+207 GOVGUNEW 0x0A equip 0x018D 0x01D9 76 35 end_opcode 0 pseudocode/GOVGUNEW/slot_0A_equip.txt
+207 GOVGUNEW 0x0B unequip 0x0108 0x013C 52 24 end_opcode 0 pseudocode/GOVGUNEW/slot_0B_unequip.txt
+207 GOVGUNEW 0x0F enterFastArea 0x00D4 0x0108 52 24 end_opcode 0 pseudocode/GOVGUNEW/slot_0F_enterFastArea.txt
+207 GOVGUNEW 0x10 leaveFastArea 0x013C 0x016F 51 23 end_opcode 0 pseudocode/GOVGUNEW/slot_10_leaveFastArea.txt
+208 EBRIDGE 0x0A equip 0x0133 0x015E 43 21 end_opcode 0 pseudocode/EBRIDGE/slot_0A_equip.txt
+208 EBRIDGE 0x0F enterFastArea 0x00D4 0x0133 95 46 end_opcode 0 pseudocode/EBRIDGE/slot_0F_enterFastArea.txt
+209 SPANEL 0x01 use 0x00D4 0x0123 79 37 end_opcode 0 pseudocode/SPANEL/slot_01_use.txt
+210 SL_NS-16 0x0B unequip 0x00D4 0x00EB 23 12 end_opcode 0 pseudocode/SL_NS-16/slot_0B_unequip.txt
+210 SL_NS-16 0x13 avatarStoleSomething 0x00EB 0x0103 24 12 end_opcode 0 pseudocode/SL_NS-16/slot_13_avatarStoleSomething.txt
+211 SL_NS-8 0x0B unequip 0x00D4 0x00EB 23 12 end_opcode 0 pseudocode/SL_NS-8/slot_0B_unequip.txt
+211 SL_NS-8 0x13 avatarStoleSomething 0x00EB 0x0103 24 12 end_opcode 0 pseudocode/SL_NS-8/slot_13_avatarStoleSomething.txt
+212 SL_NS-4 0x0B unequip 0x00D4 0x00EB 23 12 end_opcode 0 pseudocode/SL_NS-4/slot_0B_unequip.txt
+212 SL_NS-4 0x13 avatarStoleSomething 0x00EB 0x0103 24 12 end_opcode 0 pseudocode/SL_NS-4/slot_13_avatarStoleSomething.txt
+213 SL_EW-4 0x0B unequip 0x00D4 0x00EB 23 12 end_opcode 0 pseudocode/SL_EW-4/slot_0B_unequip.txt
+213 SL_EW-4 0x13 avatarStoleSomething 0x00EB 0x0103 24 12 end_opcode 0 pseudocode/SL_EW-4/slot_13_avatarStoleSomething.txt
+214 SL_EW-8 0x0B unequip 0x00D4 0x00EB 23 12 end_opcode 0 pseudocode/SL_EW-8/slot_0B_unequip.txt
+214 SL_EW-8 0x13 avatarStoleSomething 0x00EB 0x0103 24 12 end_opcode 0 pseudocode/SL_EW-8/slot_13_avatarStoleSomething.txt
+215 SL_EW-16 0x0B unequip 0x00D4 0x00EB 23 12 end_opcode 0 pseudocode/SL_EW-16/slot_0B_unequip.txt
+215 SL_EW-16 0x13 avatarStoleSomething 0x00EB 0x0103 24 12 end_opcode 0 pseudocode/SL_EW-16/slot_13_avatarStoleSomething.txt
+216 SCI_EW 0x06 gotHit 0x00D4 0x00F7 35 18 end_opcode 0 pseudocode/SCI_EW/slot_06_gotHit.txt
+217 SCI_NS 0x06 gotHit 0x00D4 0x00F7 35 18 end_opcode 0 pseudocode/SCI_NS/slot_06_gotHit.txt
+218 MELF 0x06 gotHit 0x00D4 0x019D 201 88 end_opcode 0 pseudocode/MELF/slot_06_gotHit.txt
+219 GENERATR 0x06 gotHit 0x00D4 0x00F9 37 19 end_opcode 0 pseudocode/GENERATR/slot_06_gotHit.txt
+220 RFANBADE 0x06 gotHit 0x00D4 0x0174 160 73 end_opcode 0 pseudocode/RFANBADE/slot_06_gotHit.txt
+220 RFANBADE 0x0A equip 0x0174 0x02C6 338 151 end_opcode 0 pseudocode/RFANBADE/slot_0A_equip.txt
+221 RFANBADN 0x06 gotHit 0x00D4 0x0174 160 73 end_opcode 0 pseudocode/RFANBADN/slot_06_gotHit.txt
+221 RFANBADN 0x0A equip 0x0174 0x02C7 339 151 end_opcode 0 pseudocode/RFANBADN/slot_0A_equip.txt
+222 WVENTNS 0x06 gotHit 0x00EB 0x0159 110 51 end_opcode 0 pseudocode/WVENTNS/slot_06_gotHit.txt
+222 WVENTNS 0x0F enterFastArea 0x00D4 0x00EB 23 12 end_opcode 0 pseudocode/WVENTNS/slot_0F_enterFastArea.txt
+223 WVENTEW 0x06 gotHit 0x00EB 0x0163 120 55 end_opcode 0 pseudocode/WVENTEW/slot_06_gotHit.txt
+223 WVENTEW 0x0F enterFastArea 0x00D4 0x00EB 23 12 end_opcode 0 pseudocode/WVENTEW/slot_0F_enterFastArea.txt
+224 SECURNS 0x01 use 0x02BF 0x048A 459 173 end_opcode 0 pseudocode/SECURNS/slot_01_use.txt
+224 SECURNS 0x04 cachein 0x02A5 0x02BF 26 14 end_opcode 0 pseudocode/SECURNS/slot_04_cachein.txt
+224 SECURNS 0x0A equip 0x01EB 0x02A5 186 83 end_opcode 0 pseudocode/SECURNS/slot_0A_equip.txt
+224 SECURNS 0x11 cast 0x00D4 0x01EB 279 118 end_opcode 0 pseudocode/SECURNS/slot_11_cast.txt
+225 FLAMEBOX 0x0A equip 0x00E0 0x02B8 472 204 end_opcode 0 pseudocode/FLAMEBOX/slot_0A_equip.txt
+225 FLAMEBOX 0x20 0x02B8 0x03D5 285 117 end_opcode 0 pseudocode/FLAMEBOX/slot_20_slot_20.txt
+225 FLAMEBOX 0x21 0x03D5 0x0592 445 187 end_opcode 0 pseudocode/FLAMEBOX/slot_21_slot_21.txt
+226 EBRIDGE2 0x0A equip 0x0133 0x015E 43 21 end_opcode 0 pseudocode/EBRIDGE2/slot_0A_equip.txt
+226 EBRIDGE2 0x0F enterFastArea 0x00D4 0x0133 95 46 end_opcode 0 pseudocode/EBRIDGE2/slot_0F_enterFastArea.txt
+227 V_LASER1 0x0F enterFastArea 0x00D4 0x00F9 37 18 end_opcode 0 pseudocode/V_LASER1/slot_0F_enterFastArea.txt
+228 V_LASER8 0x0F enterFastArea 0x00D4 0x00F9 37 18 end_opcode 0 pseudocode/V_LASER8/slot_0F_enterFastArea.txt
+229 V_LASER6 0x0F enterFastArea 0x00D4 0x00F9 37 18 end_opcode 0 pseudocode/V_LASER6/slot_0F_enterFastArea.txt
+230 V_LASER4 0x0F enterFastArea 0x00D4 0x00F9 37 18 end_opcode 0 pseudocode/V_LASER4/slot_0F_enterFastArea.txt
+231 V_LASER2 0x0F enterFastArea 0x00D4 0x00F9 37 18 end_opcode 0 pseudocode/V_LASER2/slot_0F_enterFastArea.txt
+232 V_LASERS 0x0A equip 0x00D4 0x02E4 528 213 end_opcode 0 pseudocode/V_LASERS/slot_0A_equip.txt
+233 SCI_CAT1 0x06 gotHit 0x00D4 0x0120 76 33 end_opcode 0 pseudocode/SCI_CAT1/slot_06_gotHit.txt
+234 MCRATE 0x06 gotHit 0x00D4 0x01F3 287 128 end_opcode 0 pseudocode/MCRATE/slot_06_gotHit.txt
+235 COPY_EW 0x06 gotHit 0x00D4 0x014F 123 56 end_opcode 0 pseudocode/COPY_EW/slot_06_gotHit.txt
+236 COPY_NS 0x06 gotHit 0x00D4 0x014F 123 56 end_opcode 0 pseudocode/COPY_NS/slot_06_gotHit.txt
+237 ART 0x06 gotHit 0x00D4 0x013F 107 50 end_opcode 0 pseudocode/ART/slot_06_gotHit.txt
+238 WALLMEW 0x01 use 0x00D4 0x026B 407 160 end_opcode 0 pseudocode/WALLMEW/slot_01_use.txt
+239 ROLLROUN 0x06 gotHit 0x00D4 0x0105 49 25 end_opcode 0 pseudocode/ROLLROUN/slot_06_gotHit.txt
+240 FLAME1 0x06 gotHit 0x00EB 0x0121 54 25 end_opcode 0 pseudocode/FLAME1/slot_06_gotHit.txt
+240 FLAME1 0x0F enterFastArea 0x00D4 0x00EB 23 12 end_opcode 0 pseudocode/FLAME1/slot_0F_enterFastArea.txt
+241 SECUREW 0x01 use 0x02BF 0x048A 459 173 end_opcode 0 pseudocode/SECUREW/slot_01_use.txt
+241 SECUREW 0x04 cachein 0x02A5 0x02BF 26 14 end_opcode 0 pseudocode/SECUREW/slot_04_cachein.txt
+241 SECUREW 0x0A equip 0x01EB 0x02A5 186 83 end_opcode 0 pseudocode/SECUREW/slot_0A_equip.txt
+241 SECUREW 0x11 cast 0x00D4 0x01EB 279 118 end_opcode 0 pseudocode/SECUREW/slot_11_cast.txt
+242 NOSTRIL 0x0A equip 0x00E0 0x015B 123 53 end_opcode 0 pseudocode/NOSTRIL/slot_0A_equip.txt
+242 NOSTRIL 0x20 0x015B 0x0219 190 79 end_opcode 0 pseudocode/NOSTRIL/slot_20_slot_20.txt
+242 NOSTRIL 0x21 0x0219 0x0354 315 133 end_opcode 0 pseudocode/NOSTRIL/slot_21_slot_21.txt
+243 TUR_EW 0x0F enterFastArea 0x00D4 0x00EC 24 12 end_opcode 0 pseudocode/TUR_EW/slot_0F_enterFastArea.txt
+244 SAFE_FLR 0x0A equip 0x00D4 0x031E 586 256 end_opcode 0 pseudocode/SAFE_FLR/slot_0A_equip.txt
+245 UPPLATE 0x06 gotHit 0x00D4 0x01F8 292 127 end_opcode 0 pseudocode/UPPLATE/slot_06_gotHit.txt
+246 KEYPADNS 0x01 use 0x0166 0x051E 952 300 end_opcode 0 pseudocode/KEYPADNS/slot_01_use.txt
+246 KEYPADNS 0x11 cast 0x00D4 0x0166 146 63 end_opcode 0 pseudocode/KEYPADNS/slot_11_cast.txt
+247 KEYPADEW 0x01 use 0x0173 0x0225 178 77 end_opcode 0 pseudocode/KEYPADEW/slot_01_use.txt
+247 KEYPADEW 0x11 cast 0x00D4 0x0173 159 68 end_opcode 0 pseudocode/KEYPADEW/slot_11_cast.txt
+248 WSHOCKNS 0x06 gotHit 0x0154 0x02B1 349 162 end_opcode 0 pseudocode/WSHOCKNS/slot_06_gotHit.txt
+248 WSHOCKNS 0x0B unequip 0x00D4 0x0154 128 57 end_opcode 0 pseudocode/WSHOCKNS/slot_0B_unequip.txt
+248 WSHOCKNS 0x13 avatarStoleSomething 0x02B1 0x02C9 24 12 end_opcode 0 pseudocode/WSHOCKNS/slot_13_avatarStoleSomething.txt
+249 WSHOCKEW 0x06 gotHit 0x0154 0x02B1 349 162 end_opcode 0 pseudocode/WSHOCKEW/slot_06_gotHit.txt
+249 WSHOCKEW 0x0B unequip 0x00D4 0x0154 128 57 end_opcode 0 pseudocode/WSHOCKEW/slot_0B_unequip.txt
+249 WSHOCKEW 0x13 avatarStoleSomething 0x02B1 0x02C9 24 12 end_opcode 0 pseudocode/WSHOCKEW/slot_13_avatarStoleSomething.txt
+250 CRAZYEW 0x06 gotHit 0x00D4 0x0116 66 32 end_opcode 0 pseudocode/CRAZYEW/slot_06_gotHit.txt
+251 SSWITCHN 0x01 use 0x011E 0x05D0 1202 535 end_opcode 0 pseudocode/SSWITCHN/slot_01_use.txt
+251 SSWITCHN 0x06 gotHit 0x00D4 0x011E 74 35 end_opcode 0 pseudocode/SSWITCHN/slot_06_gotHit.txt
+252 SCI_CAT2 0x06 gotHit 0x00D4 0x00E9 21 11 end_opcode 0 pseudocode/SCI_CAT2/slot_06_gotHit.txt
+253 SSWITCHE 0x01 use 0x011E 0x05D0 1202 535 end_opcode 0 pseudocode/SSWITCHE/slot_01_use.txt
+253 SSWITCHE 0x06 gotHit 0x00D4 0x011E 74 35 end_opcode 0 pseudocode/SSWITCHE/slot_06_gotHit.txt
+254 SHOCKNS1 0x0B unequip 0x00D4 0x0125 81 35 end_opcode 0 pseudocode/SHOCKNS1/slot_0B_unequip.txt
+254 SHOCKNS1 0x0F enterFastArea 0x0125 0x013D 24 12 end_opcode 0 pseudocode/SHOCKNS1/slot_0F_enterFastArea.txt
+254 SHOCKNS1 0x10 leaveFastArea 0x013D 0x0174 55 23 end_opcode 0 pseudocode/SHOCKNS1/slot_10_leaveFastArea.txt
+255 SHOCKEW1 0x0B unequip 0x00D4 0x0125 81 35 end_opcode 0 pseudocode/SHOCKEW1/slot_0B_unequip.txt
+255 SHOCKEW1 0x0F enterFastArea 0x0125 0x013D 24 12 end_opcode 0 pseudocode/SHOCKEW1/slot_0F_enterFastArea.txt
+255 SHOCKEW1 0x10 leaveFastArea 0x013D 0x0174 55 23 end_opcode 0 pseudocode/SHOCKEW1/slot_10_leaveFastArea.txt
+256 COURIER 0x06 gotHit 0x00D4 0x011D 73 34 end_opcode 0 pseudocode/COURIER/slot_06_gotHit.txt
+256 COURIER 0x0E calledFromAnim 0x011D 0x0159 60 29 end_opcode 0 pseudocode/COURIER/slot_0E_calledFromAnim.txt
+257 D_TANKEW 0x06 gotHit 0x00D4 0x0190 188 82 end_opcode 0 pseudocode/D_TANKEW/slot_06_gotHit.txt
+258 D_TANKNS 0x06 gotHit 0x00D4 0x0190 188 82 end_opcode 0 pseudocode/D_TANKNS/slot_06_gotHit.txt
+259 SECADA 0x01 use 0x00D4 0x00FA 38 16 end_opcode 0 pseudocode/SECADA/slot_01_use.txt
+259 SECADA 0x0F enterFastArea 0x00FA 0x01AD 179 78 end_opcode 0 pseudocode/SECADA/slot_0F_enterFastArea.txt
+260 SHEPHERD 0x01 use 0x00D4 0x01E1 269 99 end_opcode 0 pseudocode/SHEPHERD/slot_01_use.txt
+260 SHEPHERD 0x0F enterFastArea 0x01E1 0x027A 153 69 end_opcode 0 pseudocode/SHEPHERD/slot_0F_enterFastArea.txt
+261 SLIDEEW 0x06 gotHit 0x0181 0x0201 128 60 end_opcode 0 pseudocode/SLIDEEW/slot_06_gotHit.txt
+261 SLIDEEW 0x0A equip 0x00D4 0x0181 173 72 end_opcode 0 pseudocode/SLIDEEW/slot_0A_equip.txt
+262 ALARMBOX 0x01 use 0x015C 0x01DE 130 57 end_opcode 0 pseudocode/ALARMBOX/slot_01_use.txt
+262 ALARMBOX 0x0A equip 0x01DE 0x02FE 288 125 end_opcode 0 pseudocode/ALARMBOX/slot_0A_equip.txt
+262 ALARMBOX 0x0F enterFastArea 0x00D4 0x015C 136 60 end_opcode 0 pseudocode/ALARMBOX/slot_0F_enterFastArea.txt
+263 BLOOD 0x06 gotHit 0x00D4 0x013B 103 49 end_opcode 0 pseudocode/BLOOD/slot_06_gotHit.txt
+264 D_CHEM 0x01 use 0x018C 0x01D6 74 33 end_opcode 0 pseudocode/D_CHEM/slot_01_use.txt
+264 D_CHEM 0x06 gotHit 0x00D4 0x018C 184 80 end_opcode 0 pseudocode/D_CHEM/slot_06_gotHit.txt
+265 D_CONG 0x01 use 0x018C 0x01D6 74 33 end_opcode 0 pseudocode/D_CONG/slot_01_use.txt
+265 D_CONG 0x06 gotHit 0x00D4 0x018C 184 80 end_opcode 0 pseudocode/D_CONG/slot_06_gotHit.txt
+266 D_MAINT 0x01 use 0x018C 0x01D6 74 33 end_opcode 0 pseudocode/D_MAINT/slot_01_use.txt
+266 D_MAINT 0x06 gotHit 0x00D4 0x018C 184 80 end_opcode 0 pseudocode/D_MAINT/slot_06_gotHit.txt
+267 D_OWORK 0x01 use 0x018C 0x01D6 74 33 end_opcode 0 pseudocode/D_OWORK/slot_01_use.txt
+267 D_OWORK 0x06 gotHit 0x00D4 0x018C 184 80 end_opcode 0 pseudocode/D_OWORK/slot_06_gotHit.txt
+268 D_SCIEN 0x01 use 0x018C 0x01D6 74 33 end_opcode 0 pseudocode/D_SCIEN/slot_01_use.txt
+268 D_SCIEN 0x06 gotHit 0x00D4 0x018C 184 80 end_opcode 0 pseudocode/D_SCIEN/slot_06_gotHit.txt
+269 D_STORM 0x01 use 0x018C 0x01D6 74 33 end_opcode 0 pseudocode/D_STORM/slot_01_use.txt
+269 D_STORM 0x06 gotHit 0x00D4 0x018C 184 80 end_opcode 0 pseudocode/D_STORM/slot_06_gotHit.txt
+270 D_COUR 0x06 gotHit 0x00D4 0x015B 135 59 end_opcode 0 pseudocode/D_COUR/slot_06_gotHit.txt
+271 D_SUSAN 0x06 gotHit 0x00D4 0x015B 135 59 end_opcode 0 pseudocode/D_SUSAN/slot_06_gotHit.txt
+272 D_THERM 0x01 use 0x00D4 0x011E 74 33 end_opcode 0 pseudocode/D_THERM/slot_01_use.txt
+273 WATCHNS 0x01 use 0x017D 0x0264 231 65 end_opcode 0 pseudocode/WATCHNS/slot_01_use.txt
+273 WATCHNS 0x0A equip 0x00E6 0x017D 151 65 end_opcode 0 pseudocode/WATCHNS/slot_0A_equip.txt
+273 WATCHNS 0x20 0x0264 0x0422 446 201 end_opcode 0 pseudocode/WATCHNS/slot_20_slot_20.txt
+273 WATCHNS 0x21 0x0422 0x05FB 473 193 end_opcode 0 pseudocode/WATCHNS/slot_21_slot_21.txt
+273 WATCHNS 0x22 0x05FB 0x0828 557 228 end_opcode 0 pseudocode/WATCHNS/slot_22_slot_22.txt
+274 BASEGUN 0x06 gotHit 0x017D 0x019B 30 15 end_opcode 0 pseudocode/BASEGUN/slot_06_gotHit.txt
+274 BASEGUN 0x0A equip 0x019B 0x01E7 76 35 end_opcode 0 pseudocode/BASEGUN/slot_0A_equip.txt
+274 BASEGUN 0x0B unequip 0x0116 0x014A 52 24 end_opcode 0 pseudocode/BASEGUN/slot_0B_unequip.txt
+274 BASEGUN 0x0E calledFromAnim 0x01E7 0x0349 354 161 end_opcode 0 pseudocode/BASEGUN/slot_0E_calledFromAnim.txt
+274 BASEGUN 0x0F enterFastArea 0x00D4 0x0116 66 30 end_opcode 0 pseudocode/BASEGUN/slot_0F_enterFastArea.txt
+274 BASEGUN 0x10 leaveFastArea 0x014A 0x017D 51 23 end_opcode 0 pseudocode/BASEGUN/slot_10_leaveFastArea.txt
+275 TIMER 0x0A equip 0x014C 0x0199 77 36 end_opcode 0 pseudocode/TIMER/slot_0A_equip.txt
+275 TIMER 0x0F enterFastArea 0x00DA 0x0114 58 28 end_opcode 0 pseudocode/TIMER/slot_0F_enterFastArea.txt
+275 TIMER 0x10 leaveFastArea 0x0114 0x014C 56 27 end_opcode 0 pseudocode/TIMER/slot_10_leaveFastArea.txt
+275 TIMER 0x20 0x0199 0x03B5 540 256 end_opcode 0 pseudocode/TIMER/slot_20_slot_20.txt
+276 SPECIAL 0x0A equip 0x00E0 0x0115 53 23 end_opcode 0 pseudocode/SPECIAL/slot_0A_equip.txt
+276 SPECIAL 0x0F enterFastArea 0x0419 0x04D7 190 87 end_opcode 0 pseudocode/SPECIAL/slot_0F_enterFastArea.txt
+276 SPECIAL 0x10 leaveFastArea 0x04D7 0x0546 111 53 end_opcode 0 pseudocode/SPECIAL/slot_10_leaveFastArea.txt
+276 SPECIAL 0x20 0x0115 0x0375 608 277 end_opcode 0 pseudocode/SPECIAL/slot_20_slot_20.txt
+276 SPECIAL 0x21 0x0375 0x0419 164 77 end_opcode 0 pseudocode/SPECIAL/slot_21_slot_21.txt
+277 TRIGPAD 0x06 gotHit 0x00D4 0x026F 411 177 end_opcode 0 pseudocode/TRIGPAD/slot_06_gotHit.txt
+278 MONSTER 0x0A equip 0x0125 0x041E 761 369 end_opcode 0 pseudocode/MONSTER/slot_0A_equip.txt
+278 MONSTER 0x0F enterFastArea 0x00D4 0x0125 81 39 end_opcode 0 pseudocode/MONSTER/slot_0F_enterFastArea.txt
+279 ELITE 0x0E calledFromAnim 0x00D4 0x0110 60 29 end_opcode 0 pseudocode/ELITE/slot_0E_calledFromAnim.txt
+280 D_ESTORM 0x01 use 0x018C 0x01D6 74 33 end_opcode 0 pseudocode/D_ESTORM/slot_01_use.txt
+280 D_ESTORM 0x06 gotHit 0x00D4 0x018C 184 80 end_opcode 0 pseudocode/D_ESTORM/slot_06_gotHit.txt
+281 JELYHACK 0x01 use 0x00D4 0x00E1 13 8 end_opcode 0 pseudocode/JELYHACK/slot_01_use.txt
+282 DATALINK 0x01 use 0x00D4 0x0ED1 3581 639 end_opcode 0 pseudocode/DATALINK/slot_01_use.txt
+283 JELYH2 0x01 use 0x00D4 0x00E1 13 8 end_opcode 0 pseudocode/JELYH2/slot_01_use.txt
+284 WATCHEW 0x01 use 0x017D 0x0265 232 65 end_opcode 0 pseudocode/WATCHEW/slot_01_use.txt
+284 WATCHEW 0x0A equip 0x00E6 0x017D 151 65 end_opcode 0 pseudocode/WATCHEW/slot_0A_equip.txt
+284 WATCHEW 0x20 0x0265 0x0423 446 201 end_opcode 0 pseudocode/WATCHEW/slot_20_slot_20.txt
+284 WATCHEW 0x21 0x0423 0x05FC 473 193 end_opcode 0 pseudocode/WATCHEW/slot_21_slot_21.txt
+284 WATCHEW 0x22 0x05FC 0x0829 557 228 end_opcode 0 pseudocode/WATCHEW/slot_22_slot_22.txt
+285 NMINER 0x0E calledFromAnim 0x00D4 0x00FB 39 19 end_opcode 0 pseudocode/NMINER/slot_0E_calledFromAnim.txt
+286 SFXTRIG 0x0A equip 0x00D4 0x0156 130 55 end_opcode 0 pseudocode/SFXTRIG/slot_0A_equip.txt
+287 SKILLBOX 0x0A equip 0x00D4 0x0236 354 164 end_opcode 0 pseudocode/SKILLBOX/slot_0A_equip.txt
+288 VETRON 0x0E calledFromAnim 0x00D4 0x0101 45 22 end_opcode 0 pseudocode/VETRON/slot_0E_calledFromAnim.txt
+289 DEATHBOX 0x0A equip 0x00D4 0x01E7 275 121 end_opcode 0 pseudocode/DEATHBOX/slot_0A_equip.txt
+290 THERMAL2 0x06 gotHit 0x00D4 0x01EF 283 124 end_opcode 0 pseudocode/THERMAL2/slot_06_gotHit.txt
+291 THERMAL1 0x06 gotHit 0x00D4 0x01EF 283 124 end_opcode 0 pseudocode/THERMAL1/slot_06_gotHit.txt
+292 VIR 0x01 use 0x00DA 0x0139 95 39 end_opcode 0 pseudocode/VIR/slot_01_use.txt
+292 VIR 0x20 0x0139 0x04AA 881 354 end_opcode 0 pseudocode/VIR/slot_20_slot_20.txt
+293 BOUNCBOX 0x06 gotHit 0x00D4 0x03B7 739 358 end_opcode 0 pseudocode/BOUNCBOX/slot_06_gotHit.txt
+293 BOUNCBOX 0x0A equip 0x03B7 0x03CE 23 12 end_opcode 0 pseudocode/BOUNCBOX/slot_0A_equip.txt
+294 HOVER1 0x0A equip 0x00F9 0x011A 33 17 end_opcode 0 pseudocode/HOVER1/slot_0A_equip.txt
+294 HOVER1 0x0B unequip 0x00D4 0x00F9 37 19 end_opcode 0 pseudocode/HOVER1/slot_0B_unequip.txt
+294 HOVER1 0x0F enterFastArea 0x011A 0x0168 78 37 end_opcode 0 pseudocode/HOVER1/slot_0F_enterFastArea.txt
+294 HOVER1 0x10 leaveFastArea 0x0168 0x0193 43 22 end_opcode 0 pseudocode/HOVER1/slot_10_leaveFastArea.txt
+295 STEAM1 0x06 gotHit 0x00EB 0x0121 54 25 end_opcode 0 pseudocode/STEAM1/slot_06_gotHit.txt
+295 STEAM1 0x0F enterFastArea 0x00D4 0x00EB 23 12 end_opcode 0 pseudocode/STEAM1/slot_0F_enterFastArea.txt
+296 FADE 0x0A equip 0x0195 0x0BAF 2586 1134 end_opcode 0 pseudocode/FADE/slot_0A_equip.txt
+296 FADE 0x20 0x00DA 0x0195 187 74 end_opcode 0 pseudocode/FADE/slot_20_slot_20.txt
+297 STEAMBOX 0x0A equip 0x00E0 0x02B7 471 205 end_opcode 0 pseudocode/STEAMBOX/slot_0A_equip.txt
+297 STEAMBOX 0x20 0x02B7 0x0406 335 138 end_opcode 0 pseudocode/STEAMBOX/slot_20_slot_20.txt
+297 STEAMBOX 0x21 0x0406 0x05D3 461 193 end_opcode 0 pseudocode/STEAMBOX/slot_21_slot_21.txt
+298 FLAME2 0x06 gotHit 0x00EB 0x0121 54 25 end_opcode 0 pseudocode/FLAME2/slot_06_gotHit.txt
+298 FLAME2 0x0F enterFastArea 0x00D4 0x00EB 23 12 end_opcode 0 pseudocode/FLAME2/slot_0F_enterFastArea.txt
+299 STEAM2 0x06 gotHit 0x00EB 0x0121 54 25 end_opcode 0 pseudocode/STEAM2/slot_06_gotHit.txt
+299 STEAM2 0x0F enterFastArea 0x00D4 0x00EB 23 12 end_opcode 0 pseudocode/STEAM2/slot_0F_enterFastArea.txt
+300 FLAMELP 0x06 gotHit 0x00EB 0x0121 54 25 end_opcode 0 pseudocode/FLAMELP/slot_06_gotHit.txt
+300 FLAMELP 0x0F enterFastArea 0x00D4 0x00EB 23 12 end_opcode 0 pseudocode/FLAMELP/slot_0F_enterFastArea.txt
+301 TUR_NS 0x0F enterFastArea 0x00D4 0x00EC 24 12 end_opcode 0 pseudocode/TUR_NS/slot_0F_enterFastArea.txt
+302 BBOX 0x06 gotHit 0x00D4 0x0206 306 133 end_opcode 0 pseudocode/BBOX/slot_06_gotHit.txt
+303 GBOX_NS 0x06 gotHit 0x00D4 0x0206 306 133 end_opcode 0 pseudocode/GBOX_NS/slot_06_gotHit.txt
+304 GBOX_EW 0x06 gotHit 0x00D4 0x0206 306 133 end_opcode 0 pseudocode/GBOX_EW/slot_06_gotHit.txt
+305 EGRENADE 0x0E calledFromAnim 0x00D4 0x0110 60 29 end_opcode 0 pseudocode/EGRENADE/slot_0E_calledFromAnim.txt
+306 SCANNER 0x01 use 0x00DA 0x01D2 248 101 end_opcode 0 pseudocode/SCANNER/slot_01_use.txt
+306 SCANNER 0x20 0x01D2 0x021E 76 34 end_opcode 0 pseudocode/SCANNER/slot_20_slot_20.txt
+307 IONIC 0x01 use 0x00D4 0x00E1 13 8 end_opcode 0 pseudocode/IONIC/slot_01_use.txt
+308 PLASMA 0x01 use 0x00D4 0x00E1 13 8 end_opcode 0 pseudocode/PLASMA/slot_01_use.txt
+309 GRAVITON 0x01 use 0x00D4 0x00E1 13 8 end_opcode 0 pseudocode/GRAVITON/slot_01_use.txt
+310 PDOOR3EW 0x06 gotHit 0x00D4 0x00F7 35 18 end_opcode 0 pseudocode/PDOOR3EW/slot_06_gotHit.txt
+311 PSAFE_EW 0x0A equip 0x00D4 0x0321 589 259 end_opcode 0 pseudocode/PSAFE_EW/slot_0A_equip.txt
+312 MINE_S 0x06 gotHit 0x00D4 0x01F9 293 129 end_opcode 0 pseudocode/MINE_S/slot_06_gotHit.txt
+312 MINE_S 0x0A equip 0x01F9 0x026D 116 52 end_opcode 0 pseudocode/MINE_S/slot_0A_equip.txt
+313 GLDIV_EW 0x06 gotHit 0x00D4 0x0288 436 195 end_opcode 0 pseudocode/GLDIV_EW/slot_06_gotHit.txt
+314 GLDIV_NS 0x06 gotHit 0x00D4 0x0288 436 195 end_opcode 0 pseudocode/GLDIV_NS/slot_06_gotHit.txt
+315 SATARG 0x01 use 0x00D4 0x00E1 13 8 end_opcode 0 pseudocode/SATARG/slot_01_use.txt
+316 CHEST_ON 0x01 use 0x013B 0x0184 73 33 end_opcode 0 pseudocode/CHEST_ON/slot_01_use.txt
+316 CHEST_ON 0x06 gotHit 0x00D4 0x013B 103 47 end_opcode 0 pseudocode/CHEST_ON/slot_06_gotHit.txt
+317 CHEST_OE 0x01 use 0x013B 0x0184 73 33 end_opcode 0 pseudocode/CHEST_OE/slot_01_use.txt
+317 CHEST_OE 0x06 gotHit 0x00D4 0x013B 103 47 end_opcode 0 pseudocode/CHEST_OE/slot_06_gotHit.txt
+318 D_GRENAD 0x01 use 0x018C 0x01D6 74 33 end_opcode 0 pseudocode/D_GRENAD/slot_01_use.txt
+318 D_GRENAD 0x06 gotHit 0x00D4 0x018C 184 80 end_opcode 0 pseudocode/D_GRENAD/slot_06_gotHit.txt
+319 TURBINE1 0x06 gotHit 0x00D4 0x013D 105 48 end_opcode 0 pseudocode/TURBINE1/slot_06_gotHit.txt
+320 CHEST_NS 0x01 use 0x017C 0x03F5 633 277 end_opcode 0 pseudocode/CHEST_NS/slot_01_use.txt
+320 CHEST_NS 0x06 gotHit 0x00D4 0x017C 168 75 end_opcode 0 pseudocode/CHEST_NS/slot_06_gotHit.txt
+321 CHEST_EW 0x01 use 0x017C 0x03D9 605 263 end_opcode 0 pseudocode/CHEST_EW/slot_01_use.txt
+321 CHEST_EW 0x06 gotHit 0x00D4 0x017C 168 75 end_opcode 0 pseudocode/CHEST_EW/slot_06_gotHit.txt
+322 D_ENFORC 0x01 use 0x018C 0x01D6 74 33 end_opcode 0 pseudocode/D_ENFORC/slot_01_use.txt
+322 D_ENFORC 0x06 gotHit 0x00D4 0x018C 184 80 end_opcode 0 pseudocode/D_ENFORC/slot_06_gotHit.txt
+323 DETPAC 0x01 use 0x00D4 0x0452 894 389 end_opcode 0 pseudocode/DETPAC/slot_01_use.txt
+324 CRU_SPID 0x01 use 0x00F3 0x045E 875 385 end_opcode 0 pseudocode/CRU_SPID/slot_01_use.txt
+324 CRU_SPID 0x05 hit 0x00DA 0x00F3 25 13 end_opcode 0 pseudocode/CRU_SPID/slot_05_hit.txt
+324 CRU_SPID 0x20 0x045E 0x0735 727 334 end_opcode 0 pseudocode/CRU_SPID/slot_20_slot_20.txt
+325 ALARMHAT 0x0A equip 0x00D4 0x0460 908 441 end_opcode 0 pseudocode/ALARMHAT/slot_0A_equip.txt
+326 CONVFLR2 0x06 gotHit 0x0181 0x0201 128 60 end_opcode 0 pseudocode/CONVFLR2/slot_06_gotHit.txt
+326 CONVFLR2 0x0A equip 0x00D4 0x0181 173 72 end_opcode 0 pseudocode/CONVFLR2/slot_0A_equip.txt
+327 EWALLNS 0x0B unequip 0x00EB 0x010C 33 16 end_opcode 0 pseudocode/EWALLNS/slot_0B_unequip.txt
+327 EWALLNS 0x0F enterFastArea 0x00D4 0x00EB 23 12 end_opcode 0 pseudocode/EWALLNS/slot_0F_enterFastArea.txt
+327 EWALLNS 0x13 avatarStoleSomething 0x010C 0x012E 34 16 end_opcode 0 pseudocode/EWALLNS/slot_13_avatarStoleSomething.txt
+328 EWALLEW 0x0B unequip 0x00EB 0x010C 33 16 end_opcode 0 pseudocode/EWALLEW/slot_0B_unequip.txt
+328 EWALLEW 0x0F enterFastArea 0x00D4 0x00EB 23 12 end_opcode 0 pseudocode/EWALLEW/slot_0F_enterFastArea.txt
+328 EWALLEW 0x13 avatarStoleSomething 0x010C 0x012E 34 16 end_opcode 0 pseudocode/EWALLEW/slot_13_avatarStoleSomething.txt
+329 THRMBCKN 0x0A equip 0x00D4 0x02A2 462 190 end_opcode 0 pseudocode/THRMBCKN/slot_0A_equip.txt
+330 THRMBCKE 0x0A equip 0x00D4 0x02A2 462 190 end_opcode 0 pseudocode/THRMBCKE/slot_0A_equip.txt
+331 ROLL_EW 0x05 hit 0x055C 0x0586 42 21 end_opcode 0 pseudocode/ROLL_EW/slot_05_hit.txt
+331 ROLL_EW 0x06 gotHit 0x04D6 0x055C 134 60 end_opcode 0 pseudocode/ROLL_EW/slot_06_gotHit.txt
+331 ROLL_EW 0x0A equip 0x0101 0x0168 103 48 end_opcode 0 pseudocode/ROLL_EW/slot_0A_equip.txt
+331 ROLL_EW 0x0B unequip 0x00E0 0x0101 33 17 end_opcode 0 pseudocode/ROLL_EW/slot_0B_unequip.txt
+331 ROLL_EW 0x20 0x0168 0x0265 253 110 end_opcode 0 pseudocode/ROLL_EW/slot_20_slot_20.txt
+331 ROLL_EW 0x21 0x0265 0x04D6 625 287 end_opcode 0 pseudocode/ROLL_EW/slot_21_slot_21.txt
+332 VIDEOBOX 0x0A equip 0x00D4 0x0138 100 39 end_opcode 0 pseudocode/VIDEOBOX/slot_0A_equip.txt
+333 MOON_EW 0x06 gotHit 0x00D4 0x00F7 35 18 end_opcode 0 pseudocode/MOON_EW/slot_06_gotHit.txt
+334 LMC_EW 0x06 gotHit 0x00D4 0x00F7 35 18 end_opcode 0 pseudocode/LMC_EW/slot_06_gotHit.txt
+335 LMC_NS 0x06 gotHit 0x00D4 0x00F7 35 18 end_opcode 0 pseudocode/LMC_NS/slot_06_gotHit.txt
+336 MOON_NS 0x06 gotHit 0x00D4 0x00F7 35 18 end_opcode 0 pseudocode/MOON_NS/slot_06_gotHit.txt
+337 KORESH 0x0E calledFromAnim 0x00D4 0x0110 60 29 end_opcode 0 pseudocode/KORESH/slot_0E_calledFromAnim.txt
+337 KORESH 0x0F enterFastArea 0x0110 0x014E 62 28 end_opcode 0 pseudocode/KORESH/slot_0F_enterFastArea.txt
+338 HQGUARD 0x0E calledFromAnim 0x00D4 0x0110 60 29 end_opcode 0 pseudocode/HQGUARD/slot_0E_calledFromAnim.txt
+339 FLOAT 0x06 gotHit 0x017E 0x0299 283 130 end_opcode 0 pseudocode/FLOAT/slot_06_gotHit.txt
+339 FLOAT 0x0A equip 0x0299 0x0310 119 56 end_opcode 0 pseudocode/FLOAT/slot_0A_equip.txt
+339 FLOAT 0x0B unequip 0x00D4 0x00F1 29 15 end_opcode 0 pseudocode/FLOAT/slot_0B_unequip.txt
+339 FLOAT 0x0F enterFastArea 0x00F1 0x017E 141 62 end_opcode 0 pseudocode/FLOAT/slot_0F_enterFastArea.txt
+340 ALRMTRIG 0x0A equip 0x00D4 0x0181 173 79 end_opcode 0 pseudocode/ALRMTRIG/slot_0A_equip.txt
+341 ENERGY 0x01 use 0x00D4 0x0234 352 140 end_opcode 0 pseudocode/ENERGY/slot_01_use.txt
+342 CSPID 0x06 gotHit 0x00D4 0x00FC 40 19 end_opcode 0 pseudocode/CSPID/slot_06_gotHit.txt
+343 ROLLB_NS 0x05 hit 0x07D3 0x07FE 43 21 end_opcode 0 pseudocode/ROLLB_NS/slot_05_hit.txt
+343 ROLLB_NS 0x06 gotHit 0x074D 0x07D3 134 60 end_opcode 0 pseudocode/ROLLB_NS/slot_06_gotHit.txt
+343 ROLLB_NS 0x0A equip 0x0101 0x016B 106 48 end_opcode 0 pseudocode/ROLLB_NS/slot_0A_equip.txt
+343 ROLLB_NS 0x0B unequip 0x00E0 0x0101 33 17 end_opcode 0 pseudocode/ROLLB_NS/slot_0B_unequip.txt
+343 ROLLB_NS 0x20 0x016B 0x0296 299 130 end_opcode 0 pseudocode/ROLLB_NS/slot_20_slot_20.txt
+343 ROLLB_NS 0x21 0x0296 0x074D 1207 549 end_opcode 0 pseudocode/ROLLB_NS/slot_21_slot_21.txt
+344 V_LASER 0x0A equip 0x00D4 0x02E4 528 213 end_opcode 0 pseudocode/V_LASER/slot_0A_equip.txt
+345 ROLLB_EW 0x05 hit 0x07D8 0x0803 43 21 end_opcode 0 pseudocode/ROLLB_EW/slot_05_hit.txt
+345 ROLLB_EW 0x06 gotHit 0x0752 0x07D8 134 60 end_opcode 0 pseudocode/ROLLB_EW/slot_06_gotHit.txt
+345 ROLLB_EW 0x0A equip 0x0101 0x016B 106 48 end_opcode 0 pseudocode/ROLLB_EW/slot_0A_equip.txt
+345 ROLLB_EW 0x0B unequip 0x00E0 0x0101 33 17 end_opcode 0 pseudocode/ROLLB_EW/slot_0B_unequip.txt
+345 ROLLB_EW 0x20 0x016B 0x029B 304 133 end_opcode 0 pseudocode/ROLLB_EW/slot_20_slot_20.txt
+345 ROLLB_EW 0x21 0x029B 0x0752 1207 549 end_opcode 0 pseudocode/ROLLB_EW/slot_21_slot_21.txt
+346 GRATE_NS 0x06 gotHit 0x00D4 0x021C 328 147 end_opcode 0 pseudocode/GRATE_NS/slot_06_gotHit.txt
+347 D_PLASMA 0x0E calledFromAnim 0x00D4 0x00FB 39 19 end_opcode 0 pseudocode/D_PLASMA/slot_0E_calledFromAnim.txt
+347 D_PLASMA 0x0F enterFastArea 0x00FB 0x0139 62 28 end_opcode 0 pseudocode/D_PLASMA/slot_0F_enterFastArea.txt
+348 SEATWORK 0x0E calledFromAnim 0x00D4 0x00FB 39 19 end_opcode 0 pseudocode/SEATWORK/slot_0E_calledFromAnim.txt
+349 D_SKELET 0x0E calledFromAnim 0x00D4 0x00FB 39 19 end_opcode 0 pseudocode/D_SKELET/slot_0E_calledFromAnim.txt
+349 D_SKELET 0x0F enterFastArea 0x00FB 0x0139 62 28 end_opcode 0 pseudocode/D_SKELET/slot_0F_enterFastArea.txt
+350 SEATLADY 0x0E calledFromAnim 0x00D4 0x00FB 39 19 end_opcode 0 pseudocode/SEATLADY/slot_0E_calledFromAnim.txt
+351 D_EM_GUY 0x0E calledFromAnim 0x00D4 0x00FB 39 19 end_opcode 0 pseudocode/D_EM_GUY/slot_0E_calledFromAnim.txt
+351 D_EM_GUY 0x0F enterFastArea 0x00FB 0x0139 62 28 end_opcode 0 pseudocode/D_EM_GUY/slot_0F_enterFastArea.txt
+352 DAMNLUGG 0x06 gotHit 0x00D4 0x015B 135 61 end_opcode 0 pseudocode/DAMNLUGG/slot_06_gotHit.txt
+353 DAMNMCR8 0x06 gotHit 0x00D4 0x015B 135 61 end_opcode 0 pseudocode/DAMNMCR8/slot_06_gotHit.txt
+354 RADIOGEN 0x06 gotHit 0x00F9 0x02AB 434 190 end_opcode 0 pseudocode/RADIOGEN/slot_06_gotHit.txt
+354 RADIOGEN 0x0F enterFastArea 0x00D4 0x00F9 37 18 end_opcode 0 pseudocode/RADIOGEN/slot_0F_enterFastArea.txt
+355 HOLO 0x01 use 0x0153 0x023F 236 101 end_opcode 0 pseudocode/HOLO/slot_01_use.txt
+355 HOLO 0x06 gotHit 0x00D4 0x0153 127 56 end_opcode 0 pseudocode/HOLO/slot_06_gotHit.txt
+355 HOLO 0x0A equip 0x0256 0x0343 237 102 end_opcode 0 pseudocode/HOLO/slot_0A_equip.txt
+355 HOLO 0x0F enterFastArea 0x023F 0x0256 23 12 end_opcode 0 pseudocode/HOLO/slot_0F_enterFastArea.txt
+356 CRAZYNS 0x06 gotHit 0x00D4 0x0116 66 32 end_opcode 0 pseudocode/CRAZYNS/slot_06_gotHit.txt
+357 D_ROBO 0x0E calledFromAnim 0x00D4 0x0110 60 29 end_opcode 0 pseudocode/D_ROBO/slot_0E_calledFromAnim.txt
+358 JUICEFL 0x06 gotHit 0x00FA 0x01C1 199 90 end_opcode 0 pseudocode/JUICEFL/slot_06_gotHit.txt
+358 JUICEFL 0x09 release 0x01C1 0x0240 127 58 end_opcode 0 pseudocode/JUICEFL/slot_09_release.txt
+358 JUICEFL 0x0F enterFastArea 0x00D4 0x00FA 38 19 end_opcode 0 pseudocode/JUICEFL/slot_0F_enterFastArea.txt
+359 JUICENS 0x01 use 0x0128 0x0298 368 159 end_opcode 0 pseudocode/JUICENS/slot_01_use.txt
+359 JUICENS 0x04 cachein 0x00F8 0x0128 48 22 end_opcode 0 pseudocode/JUICENS/slot_04_cachein.txt
+359 JUICENS 0x0F enterFastArea 0x00D4 0x00F8 36 17 end_opcode 0 pseudocode/JUICENS/slot_0F_enterFastArea.txt
+360 JUICEEW 0x01 use 0x0128 0x0298 368 159 end_opcode 0 pseudocode/JUICEEW/slot_01_use.txt
+360 JUICEEW 0x04 cachein 0x00F8 0x0128 48 22 end_opcode 0 pseudocode/JUICEEW/slot_04_cachein.txt
+360 JUICEEW 0x0F enterFastArea 0x00D4 0x00F8 36 17 end_opcode 0 pseudocode/JUICEEW/slot_0F_enterFastArea.txt
+361 PU_GUN 0x06 gotHit 0x017D 0x019B 30 15 end_opcode 0 pseudocode/PU_GUN/slot_06_gotHit.txt
+361 PU_GUN 0x0A equip 0x019B 0x01E7 76 35 end_opcode 0 pseudocode/PU_GUN/slot_0A_equip.txt
+361 PU_GUN 0x0B unequip 0x0116 0x014A 52 24 end_opcode 0 pseudocode/PU_GUN/slot_0B_unequip.txt
+361 PU_GUN 0x0E calledFromAnim 0x01E7 0x0543 860 399 end_opcode 0 pseudocode/PU_GUN/slot_0E_calledFromAnim.txt
+361 PU_GUN 0x0F enterFastArea 0x00D4 0x0116 66 30 end_opcode 0 pseudocode/PU_GUN/slot_0F_enterFastArea.txt
+361 PU_GUN 0x10 leaveFastArea 0x014A 0x017D 51 23 end_opcode 0 pseudocode/PU_GUN/slot_10_leaveFastArea.txt
+362 SCIGUNNS 0x06 gotHit 0x0453 0x056F 284 124 end_opcode 0 pseudocode/SCIGUNNS/slot_06_gotHit.txt
+362 SCIGUNNS 0x0A equip 0x03E4 0x0453 111 48 end_opcode 0 pseudocode/SCIGUNNS/slot_0A_equip.txt
+362 SCIGUNNS 0x10 leaveFastArea 0x03A4 0x03E4 64 28 end_opcode 0 pseudocode/SCIGUNNS/slot_10_leaveFastArea.txt
+362 SCIGUNNS 0x20 0x00DA 0x03A4 714 319 end_opcode 0 pseudocode/SCIGUNNS/slot_20_slot_20.txt
+363 PUFLOOR2 0x04 cachein 0x00D4 0x00F8 36 18 end_opcode 0 pseudocode/PUFLOOR2/slot_04_cachein.txt
+363 PUFLOOR2 0x0A equip 0x00F8 0x03B8 704 328 end_opcode 0 pseudocode/PUFLOOR2/slot_0A_equip.txt
+364 PUFLOOR1 0x04 cachein 0x00D4 0x00F8 36 18 end_opcode 0 pseudocode/PUFLOOR1/slot_04_cachein.txt
+364 PUFLOOR1 0x0A equip 0x00F8 0x03B8 704 328 end_opcode 0 pseudocode/PUFLOOR1/slot_0A_equip.txt
+365 STEPLEW 0x06 gotHit 0x016F 0x02B7 328 142 end_opcode 0 pseudocode/STEPLEW/slot_06_gotHit.txt
+365 STEPLEW 0x0A equip 0x00D4 0x016F 155 70 end_opcode 0 pseudocode/STEPLEW/slot_0A_equip.txt
+366 STEPLNS 0x06 gotHit 0x016F 0x02B7 328 142 end_opcode 0 pseudocode/STEPLNS/slot_06_gotHit.txt
+366 STEPLNS 0x0A equip 0x00D4 0x016F 155 70 end_opcode 0 pseudocode/STEPLNS/slot_0A_equip.txt
+367 PUFLOOR3 0x04 cachein 0x00D4 0x00F8 36 18 end_opcode 0 pseudocode/PUFLOOR3/slot_04_cachein.txt
+367 PUFLOOR3 0x0A equip 0x00F8 0x03B8 704 328 end_opcode 0 pseudocode/PUFLOOR3/slot_0A_equip.txt
+368 PUFLOOR4 0x04 cachein 0x00D4 0x00F8 36 18 end_opcode 0 pseudocode/PUFLOOR4/slot_04_cachein.txt
+368 PUFLOOR4 0x0A equip 0x00F8 0x03B8 704 328 end_opcode 0 pseudocode/PUFLOOR4/slot_0A_equip.txt
+369 PUFLOOR5 0x04 cachein 0x00D4 0x00F8 36 18 end_opcode 0 pseudocode/PUFLOOR5/slot_04_cachein.txt
+369 PUFLOOR5 0x0A equip 0x00F8 0x03B8 704 328 end_opcode 0 pseudocode/PUFLOOR5/slot_0A_equip.txt
+370 PUFLOOR6 0x04 cachein 0x00D4 0x00F8 36 18 end_opcode 0 pseudocode/PUFLOOR6/slot_04_cachein.txt
+370 PUFLOOR6 0x0A equip 0x00F8 0x03B8 704 328 end_opcode 0 pseudocode/PUFLOOR6/slot_0A_equip.txt
+371 PUFLOOR7 0x04 cachein 0x00D4 0x00F8 36 18 end_opcode 0 pseudocode/PUFLOOR7/slot_04_cachein.txt
+371 PUFLOOR7 0x0A equip 0x00F8 0x03B8 704 328 end_opcode 0 pseudocode/PUFLOOR7/slot_0A_equip.txt
+372 PUFLOOR8 0x04 cachein 0x00D4 0x00F8 36 18 end_opcode 0 pseudocode/PUFLOOR8/slot_04_cachein.txt
+372 PUFLOOR8 0x0A equip 0x00F8 0x03B8 704 328 end_opcode 0 pseudocode/PUFLOOR8/slot_0A_equip.txt
+373 PUFLOOR9 0x04 cachein 0x00D4 0x00F8 36 18 end_opcode 0 pseudocode/PUFLOOR9/slot_04_cachein.txt
+373 PUFLOOR9 0x0A equip 0x00F8 0x03B8 704 328 end_opcode 0 pseudocode/PUFLOOR9/slot_0A_equip.txt
+374 D_LMC2 0x0E calledFromAnim 0x00D4 0x0110 60 29 end_opcode 0 pseudocode/D_LMC2/slot_0E_calledFromAnim.txt
+375 FREEZ 0x0E calledFromAnim 0x00D4 0x0110 60 29 end_opcode 0 pseudocode/FREEZ/slot_0E_calledFromAnim.txt
+376 TRAMFLOR 0x06 gotHit 0x00DA 0x0557 1149 482 end_opcode 0 pseudocode/TRAMFLOR/slot_06_gotHit.txt
+376 TRAMFLOR 0x09 release 0x07DC 0x084B 111 50 end_opcode 0 pseudocode/TRAMFLOR/slot_09_release.txt
+376 TRAMFLOR 0x20 0x0557 0x07DC 645 293 end_opcode 0 pseudocode/TRAMFLOR/slot_20_slot_20.txt
+377 CRYO1 0x06 gotHit 0x00EB 0x0121 54 25 end_opcode 0 pseudocode/CRYO1/slot_06_gotHit.txt
+377 CRYO1 0x0F enterFastArea 0x00D4 0x00EB 23 12 end_opcode 0 pseudocode/CRYO1/slot_0F_enterFastArea.txt
+378 CRYO2 0x06 gotHit 0x00EB 0x0121 54 25 end_opcode 0 pseudocode/CRYO2/slot_06_gotHit.txt
+378 CRYO2 0x0F enterFastArea 0x00D4 0x00EB 23 12 end_opcode 0 pseudocode/CRYO2/slot_0F_enterFastArea.txt
+379 CRYOBOX 0x0A equip 0x00E0 0x02BA 474 204 end_opcode 0 pseudocode/CRYOBOX/slot_0A_equip.txt
+379 CRYOBOX 0x20 0x02BA 0x040B 337 138 end_opcode 0 pseudocode/CRYOBOX/slot_20_slot_20.txt
+379 CRYOBOX 0x21 0x040B 0x05E3 472 197 end_opcode 0 pseudocode/CRYOBOX/slot_21_slot_21.txt
+380 CRYOTRON 0x0E calledFromAnim 0x00D4 0x0101 45 22 end_opcode 0 pseudocode/CRYOTRON/slot_0E_calledFromAnim.txt
+381 SCIGUNEW 0x06 gotHit 0x0453 0x056F 284 124 end_opcode 0 pseudocode/SCIGUNEW/slot_06_gotHit.txt
+381 SCIGUNEW 0x0A equip 0x03E4 0x0453 111 48 end_opcode 0 pseudocode/SCIGUNEW/slot_0A_equip.txt
+381 SCIGUNEW 0x10 leaveFastArea 0x03A4 0x03E4 64 28 end_opcode 0 pseudocode/SCIGUNEW/slot_10_leaveFastArea.txt
+381 SCIGUNEW 0x20 0x00DA 0x03A4 714 319 end_opcode 0 pseudocode/SCIGUNEW/slot_20_slot_20.txt
+382 RAILGUN 0x06 gotHit 0x017D 0x019B 30 15 end_opcode 0 pseudocode/RAILGUN/slot_06_gotHit.txt
+382 RAILGUN 0x0A equip 0x019B 0x01E7 76 35 end_opcode 0 pseudocode/RAILGUN/slot_0A_equip.txt
+382 RAILGUN 0x0B unequip 0x0116 0x014A 52 24 end_opcode 0 pseudocode/RAILGUN/slot_0B_unequip.txt
+382 RAILGUN 0x0E calledFromAnim 0x01E7 0x0310 297 135 end_opcode 0 pseudocode/RAILGUN/slot_0E_calledFromAnim.txt
+382 RAILGUN 0x0F enterFastArea 0x00D4 0x0116 66 30 end_opcode 0 pseudocode/RAILGUN/slot_0F_enterFastArea.txt
+382 RAILGUN 0x10 leaveFastArea 0x014A 0x017D 51 23 end_opcode 0 pseudocode/RAILGUN/slot_10_leaveFastArea.txt
+383 RAILBASE 0x0A equip 0x00F9 0x0115 28 14 end_opcode 0 pseudocode/RAILBASE/slot_0A_equip.txt
+383 RAILBASE 0x0B unequip 0x00D4 0x00F9 37 19 end_opcode 0 pseudocode/RAILBASE/slot_0B_unequip.txt
+383 RAILBASE 0x0F enterFastArea 0x0115 0x0163 78 37 end_opcode 0 pseudocode/RAILBASE/slot_0F_enterFastArea.txt
+383 RAILBASE 0x10 leaveFastArea 0x0163 0x018E 43 22 end_opcode 0 pseudocode/RAILBASE/slot_10_leaveFastArea.txt
+384 FREEZEXP 0x06 gotHit 0x014E 0x0175 39 19 end_opcode 0 pseudocode/FREEZEXP/slot_06_gotHit.txt
+384 FREEZEXP 0x0E calledFromAnim 0x00D4 0x0110 60 29 end_opcode 0 pseudocode/FREEZEXP/slot_0E_calledFromAnim.txt
+384 FREEZEXP 0x0F enterFastArea 0x0110 0x014E 62 28 end_opcode 0 pseudocode/FREEZEXP/slot_0F_enterFastArea.txt
+385 MBGUNEW 0x06 gotHit 0x03CE 0x04EA 284 124 end_opcode 0 pseudocode/MBGUNEW/slot_06_gotHit.txt
+385 MBGUNEW 0x0A equip 0x035F 0x03CE 111 48 end_opcode 0 pseudocode/MBGUNEW/slot_0A_equip.txt
+385 MBGUNEW 0x10 leaveFastArea 0x031F 0x035F 64 28 end_opcode 0 pseudocode/MBGUNEW/slot_10_leaveFastArea.txt
+385 MBGUNEW 0x20 0x00DA 0x031F 581 259 end_opcode 0 pseudocode/MBGUNEW/slot_20_slot_20.txt
+386 MBGUNNS 0x06 gotHit 0x03CE 0x04EA 284 124 end_opcode 0 pseudocode/MBGUNNS/slot_06_gotHit.txt
+386 MBGUNNS 0x0A equip 0x035F 0x03CE 111 48 end_opcode 0 pseudocode/MBGUNNS/slot_0A_equip.txt
+386 MBGUNNS 0x10 leaveFastArea 0x031F 0x035F 64 28 end_opcode 0 pseudocode/MBGUNNS/slot_10_leaveFastArea.txt
+386 MBGUNNS 0x20 0x00DA 0x031F 581 259 end_opcode 0 pseudocode/MBGUNNS/slot_20_slot_20.txt
+387 FRGUNEW 0x06 gotHit 0x03CF 0x04EB 284 124 end_opcode 0 pseudocode/FRGUNEW/slot_06_gotHit.txt
+387 FRGUNEW 0x0A equip 0x0360 0x03CF 111 48 end_opcode 0 pseudocode/FRGUNEW/slot_0A_equip.txt
+387 FRGUNEW 0x10 leaveFastArea 0x0320 0x0360 64 28 end_opcode 0 pseudocode/FRGUNEW/slot_10_leaveFastArea.txt
+387 FRGUNEW 0x20 0x00DA 0x0320 582 259 end_opcode 0 pseudocode/FRGUNEW/slot_20_slot_20.txt
+388 FRGUNNS 0x06 gotHit 0x03CF 0x04EB 284 124 end_opcode 0 pseudocode/FRGUNNS/slot_06_gotHit.txt
+388 FRGUNNS 0x0A equip 0x0360 0x03CF 111 48 end_opcode 0 pseudocode/FRGUNNS/slot_0A_equip.txt
+388 FRGUNNS 0x10 leaveFastArea 0x0320 0x0360 64 28 end_opcode 0 pseudocode/FRGUNNS/slot_10_leaveFastArea.txt
+388 FRGUNNS 0x20 0x00DA 0x0320 582 259 end_opcode 0 pseudocode/FRGUNNS/slot_20_slot_20.txt
+389 D_HQGUAR 0x01 use 0x018C 0x01D6 74 33 end_opcode 0 pseudocode/D_HQGUAR/slot_01_use.txt
+389 D_HQGUAR 0x06 gotHit 0x00D4 0x018C 184 80 end_opcode 0 pseudocode/D_HQGUAR/slot_06_gotHit.txt
+390 MORPH_1 0x06 gotHit 0x01FA 0x0239 63 29 end_opcode 0 pseudocode/MORPH_1/slot_06_gotHit.txt
+390 MORPH_1 0x0A equip 0x00D4 0x01FA 294 127 end_opcode 0 pseudocode/MORPH_1/slot_0A_equip.txt
+391 MORPH_2 0x06 gotHit 0x01FA 0x0239 63 29 end_opcode 0 pseudocode/MORPH_2/slot_06_gotHit.txt
+391 MORPH_2 0x0A equip 0x00D4 0x01FA 294 127 end_opcode 0 pseudocode/MORPH_2/slot_0A_equip.txt
+392 MORPH_3 0x01 use 0x0239 0x0255 28 14 end_opcode 0 pseudocode/MORPH_3/slot_01_use.txt
+392 MORPH_3 0x06 gotHit 0x01FA 0x0239 63 29 end_opcode 0 pseudocode/MORPH_3/slot_06_gotHit.txt
+392 MORPH_3 0x0A equip 0x00D4 0x01FA 294 127 end_opcode 0 pseudocode/MORPH_3/slot_0A_equip.txt
+393 MORPH_4 0x06 gotHit 0x01FA 0x0239 63 29 end_opcode 0 pseudocode/MORPH_4/slot_06_gotHit.txt
+393 MORPH_4 0x0A equip 0x00D4 0x01FA 294 127 end_opcode 0 pseudocode/MORPH_4/slot_0A_equip.txt
+394 MORPH_5 0x01 use 0x0239 0x02D3 154 28 end_opcode 0 pseudocode/MORPH_5/slot_01_use.txt
+394 MORPH_5 0x06 gotHit 0x01FA 0x0239 63 29 end_opcode 0 pseudocode/MORPH_5/slot_06_gotHit.txt
+394 MORPH_5 0x0A equip 0x00D4 0x01FA 294 127 end_opcode 0 pseudocode/MORPH_5/slot_0A_equip.txt
+395 D_HQ2 0x0E calledFromAnim 0x00D4 0x0110 60 29 end_opcode 0 pseudocode/D_HQ2/slot_0E_calledFromAnim.txt
+396 D_LMC_KN 0x01 use 0x018C 0x01D6 74 33 end_opcode 0 pseudocode/D_LMC_KN/slot_01_use.txt
+396 D_LMC_KN 0x06 gotHit 0x00D4 0x018C 184 80 end_opcode 0 pseudocode/D_LMC_KN/slot_06_gotHit.txt
+397 D_LMC_ST 0x01 use 0x018C 0x01D6 74 33 end_opcode 0 pseudocode/D_LMC_ST/slot_01_use.txt
+397 D_LMC_ST 0x06 gotHit 0x00D4 0x018C 184 80 end_opcode 0 pseudocode/D_LMC_ST/slot_06_gotHit.txt
+398 D_KNHQ 0x01 use 0x018C 0x01D6 74 33 end_opcode 0 pseudocode/D_KNHQ/slot_01_use.txt
+398 D_KNHQ 0x06 gotHit 0x00D4 0x018C 184 80 end_opcode 0 pseudocode/D_KNHQ/slot_06_gotHit.txt
+399 D_NMINE 0x01 use 0x018C 0x01D6 74 33 end_opcode 0 pseudocode/D_NMINE/slot_01_use.txt
+399 D_NMINE 0x06 gotHit 0x00D4 0x018C 184 80 end_opcode 0 pseudocode/D_NMINE/slot_06_gotHit.txt
+400 DATAPICK 0x01 use 0x00D4 0x0199 197 82 end_opcode 0 pseudocode/DATAPICK/slot_01_use.txt
+401 DISRUPT 0x01 use 0x00D4 0x0519 1093 472 end_opcode 0 pseudocode/DISRUPT/slot_01_use.txt
+402 MGUNNS 0x06 gotHit 0x03CF 0x04EB 284 124 end_opcode 0 pseudocode/MGUNNS/slot_06_gotHit.txt
+402 MGUNNS 0x0A equip 0x0360 0x03CF 111 48 end_opcode 0 pseudocode/MGUNNS/slot_0A_equip.txt
+402 MGUNNS 0x10 leaveFastArea 0x0320 0x0360 64 28 end_opcode 0 pseudocode/MGUNNS/slot_10_leaveFastArea.txt
+402 MGUNNS 0x20 0x00DA 0x0320 582 259 end_opcode 0 pseudocode/MGUNNS/slot_20_slot_20.txt
+403 MGUNEW 0x06 gotHit 0x03CF 0x04EB 284 124 end_opcode 0 pseudocode/MGUNEW/slot_06_gotHit.txt
+403 MGUNEW 0x0A equip 0x0360 0x03CF 111 48 end_opcode 0 pseudocode/MGUNEW/slot_0A_equip.txt
+403 MGUNEW 0x10 leaveFastArea 0x0320 0x0360 64 28 end_opcode 0 pseudocode/MGUNEW/slot_10_leaveFastArea.txt
+403 MGUNEW 0x20 0x00DA 0x0320 582 259 end_opcode 0 pseudocode/MGUNEW/slot_20_slot_20.txt
+404 MINEDET 0x01 use 0x00D4 0x0231 349 145 end_opcode 0 pseudocode/MINEDET/slot_01_use.txt
+405 MLGUNNS 0x06 gotHit 0x0466 0x05BB 341 156 end_opcode 0 pseudocode/MLGUNNS/slot_06_gotHit.txt
+405 MLGUNNS 0x0A equip 0x03C8 0x0466 158 65 end_opcode 0 pseudocode/MLGUNNS/slot_0A_equip.txt
+405 MLGUNNS 0x10 leaveFastArea 0x0323 0x03C8 165 79 end_opcode 0 pseudocode/MLGUNNS/slot_10_leaveFastArea.txt
+405 MLGUNNS 0x20 0x00DA 0x0323 585 263 end_opcode 0 pseudocode/MLGUNNS/slot_20_slot_20.txt
+406 MLGUNEW 0x06 gotHit 0x0466 0x05BB 341 156 end_opcode 0 pseudocode/MLGUNEW/slot_06_gotHit.txt
+406 MLGUNEW 0x0A equip 0x03C8 0x0466 158 65 end_opcode 0 pseudocode/MLGUNEW/slot_0A_equip.txt
+406 MLGUNEW 0x10 leaveFastArea 0x0323 0x03C8 165 79 end_opcode 0 pseudocode/MLGUNEW/slot_10_leaveFastArea.txt
+406 MLGUNEW 0x20 0x00DA 0x0323 585 263 end_opcode 0 pseudocode/MLGUNEW/slot_20_slot_20.txt
+407 BIGSWITC 0x0A equip 0x00D4 0x018D 185 77 end_opcode 0 pseudocode/BIGSWITC/slot_0A_equip.txt
+408 LIFT_EW 0x05 hit 0x0188 0x01ED 101 48 end_opcode 0 pseudocode/LIFT_EW/slot_05_hit.txt
+408 LIFT_EW 0x06 gotHit 0x00D4 0x0188 180 79 end_opcode 0 pseudocode/LIFT_EW/slot_06_gotHit.txt
+408 LIFT_EW 0x0A equip 0x01ED 0x034B 350 156 end_opcode 0 pseudocode/LIFT_EW/slot_0A_equip.txt
+408 LIFT_EW 0x0F enterFastArea 0x0364 0x0399 53 27 end_opcode 0 pseudocode/LIFT_EW/slot_0F_enterFastArea.txt
+408 LIFT_EW 0x10 leaveFastArea 0x034B 0x0364 25 13 end_opcode 0 pseudocode/LIFT_EW/slot_10_leaveFastArea.txt
+409 D_LNR 0x0E calledFromAnim 0x00D4 0x00FB 39 19 end_opcode 0 pseudocode/D_LNR/slot_0E_calledFromAnim.txt
+409 D_LNR 0x0F enterFastArea 0x00FB 0x0139 62 28 end_opcode 0 pseudocode/D_LNR/slot_0F_enterFastArea.txt
+410 D_ENFOR2 0x0E calledFromAnim 0x00D4 0x0110 60 29 end_opcode 0 pseudocode/D_ENFOR2/slot_0E_calledFromAnim.txt
+411 D_STORM2 0x0E calledFromAnim 0x00D4 0x0110 60 29 end_opcode 0 pseudocode/D_STORM2/slot_0E_calledFromAnim.txt
+412 D_KNSTOR 0x01 use 0x018C 0x01D6 74 33 end_opcode 0 pseudocode/D_KNSTOR/slot_01_use.txt
+412 D_KNSTOR 0x06 gotHit 0x00D4 0x018C 184 80 end_opcode 0 pseudocode/D_KNSTOR/slot_06_gotHit.txt
+413 D_KNENFO 0x01 use 0x018C 0x01D6 74 33 end_opcode 0 pseudocode/D_KNENFO/slot_01_use.txt
+413 D_KNENFO 0x06 gotHit 0x00D4 0x018C 184 80 end_opcode 0 pseudocode/D_KNENFO/slot_06_gotHit.txt
+414 PORBETTY 0x01 use 0x00D4 0x05CC 1272 555 end_opcode 0 pseudocode/PORBETTY/slot_01_use.txt
+415 PUFLOR10 0x04 cachein 0x00D4 0x00F8 36 18 end_opcode 0 pseudocode/PUFLOR10/slot_04_cachein.txt
+415 PUFLOR10 0x0A equip 0x00F8 0x03B8 704 328 end_opcode 0 pseudocode/PUFLOR10/slot_0A_equip.txt
+416 D_FLAMEX 0x0E calledFromAnim 0x00D4 0x00FB 39 19 end_opcode 0 pseudocode/D_FLAMEX/slot_0E_calledFromAnim.txt
+416 D_FLAMEX 0x0F enterFastArea 0x00FB 0x0139 62 28 end_opcode 0 pseudocode/D_FLAMEX/slot_0F_enterFastArea.txt
+417 LIFT_NS 0x05 hit 0x0188 0x01ED 101 48 end_opcode 0 pseudocode/LIFT_NS/slot_05_hit.txt
+417 LIFT_NS 0x06 gotHit 0x00D4 0x0188 180 79 end_opcode 0 pseudocode/LIFT_NS/slot_06_gotHit.txt
+417 LIFT_NS 0x0A equip 0x01ED 0x034B 350 156 end_opcode 0 pseudocode/LIFT_NS/slot_0A_equip.txt
+417 LIFT_NS 0x0F enterFastArea 0x0364 0x0399 53 27 end_opcode 0 pseudocode/LIFT_NS/slot_0F_enterFastArea.txt
+417 LIFT_NS 0x10 leaveFastArea 0x034B 0x0364 25 13 end_opcode 0 pseudocode/LIFT_NS/slot_10_leaveFastArea.txt
+418 CRUSADER 0x01 use 0x00D4 0x0122 78 34 end_opcode 0 pseudocode/CRUSADER/slot_01_use.txt
+418 CRUSADER 0x04 cachein 0x0122 0x051B 1017 425 end_opcode 0 pseudocode/CRUSADER/slot_04_cachein.txt
+418 CRUSADER 0x11 cast 0x051B 0x0530 21 11 end_opcode 0 pseudocode/CRUSADER/slot_11_cast.txt
+419 TRIGEGG 0x07 hatch 0x00D4 0x012B 87 41 end_opcode 0 pseudocode/TRIGEGG/slot_07_hatch.txt
+419 TRIGEGG 0x15 unhatch 0x012B 0x0182 87 41 end_opcode 0 pseudocode/TRIGEGG/slot_15_unhatch.txt
+420 ONCEEGG 0x07 hatch 0x00D4 0x012B 87 41 end_opcode 0 pseudocode/ONCEEGG/slot_07_hatch.txt
+420 ONCEEGG 0x15 unhatch 0x012B 0x018A 95 44 end_opcode 0 pseudocode/ONCEEGG/slot_15_unhatch.txt
+421 FLOOR1 0x0F enterFastArea 0x00D4 0x036A 662 285 end_opcode 0 pseudocode/FLOOR1/slot_0F_enterFastArea.txt
+421 FLOOR1 0x10 leaveFastArea 0x036A 0x0385 27 13 end_opcode 0 pseudocode/FLOOR1/slot_10_leaveFastArea.txt
+422 STEAMEGG 0x07 hatch 0x00D4 0x015E 138 65 end_opcode 0 pseudocode/STEAMEGG/slot_07_hatch.txt
+423 FIREEGG 0x07 hatch 0x00D4 0x015E 138 65 end_opcode 0 pseudocode/FIREEGG/slot_07_hatch.txt
+424 MHATCHER 0x07 hatch 0x00D4 0x0139 101 49 end_opcode 0 pseudocode/MHATCHER/slot_07_hatch.txt
+425 SKILLONE 0x07 hatch 0x00D4 0x0183 175 80 end_opcode 0 pseudocode/SKILLONE/slot_07_hatch.txt
+426 SKILLTWO 0x07 hatch 0x00D4 0x0183 175 80 end_opcode 0 pseudocode/SKILLTWO/slot_07_hatch.txt
+427 CHANGER 0x07 hatch 0x00D4 0x015E 138 61 end_opcode 0 pseudocode/CHANGER/slot_07_hatch.txt
+428 GRENEGG 0x07 hatch 0x00D4 0x01B3 223 103 end_opcode 0 pseudocode/GRENEGG/slot_07_hatch.txt
+429 DOOREGG 0x07 hatch 0x00E0 0x00FD 29 15 end_opcode 0 pseudocode/DOOREGG/slot_07_hatch.txt
+429 DOOREGG 0x15 unhatch 0x00FD 0x011A 29 15 end_opcode 0 pseudocode/DOOREGG/slot_15_unhatch.txt
+429 DOOREGG 0x20 0x011A 0x016B 81 38 end_opcode 0 pseudocode/DOOREGG/slot_20_slot_20.txt
+429 DOOREGG 0x21 0x016B 0x01BC 81 38 end_opcode 0 pseudocode/DOOREGG/slot_21_slot_21.txt
+430 SECRTEGG 0x07 hatch 0x00D4 0x012E 90 42 end_opcode 0 pseudocode/SECRTEGG/slot_07_hatch.txt
+431 MISS1 0x04 cachein 0x00D4 0x00E7 19 10 end_opcode 0 pseudocode/MISS1/slot_04_cachein.txt
+431 MISS1 0x07 hatch 0x00E7 0x0792 1707 744 end_opcode 0 pseudocode/MISS1/slot_07_hatch.txt
+432 MISS2 0x04 cachein 0x00D4 0x00E7 19 10 end_opcode 0 pseudocode/MISS2/slot_04_cachein.txt
+432 MISS2 0x07 hatch 0x00E7 0x01BC 213 89 end_opcode 0 pseudocode/MISS2/slot_07_hatch.txt
+433 MISS3 0x04 cachein 0x00D4 0x00E7 19 10 end_opcode 0 pseudocode/MISS3/slot_04_cachein.txt
+433 MISS3 0x07 hatch 0x00E7 0x0263 380 166 end_opcode 0 pseudocode/MISS3/slot_07_hatch.txt
+434 MISS4 0x04 cachein 0x00D4 0x00E7 19 10 end_opcode 0 pseudocode/MISS4/slot_04_cachein.txt
+434 MISS4 0x07 hatch 0x00E7 0x023C 341 153 end_opcode 0 pseudocode/MISS4/slot_07_hatch.txt
+435 MISS5 0x04 cachein 0x00D4 0x00E7 19 10 end_opcode 0 pseudocode/MISS5/slot_04_cachein.txt
+435 MISS5 0x07 hatch 0x00E7 0x022B 324 143 end_opcode 0 pseudocode/MISS5/slot_07_hatch.txt
+436 MISS6 0x04 cachein 0x00D4 0x010C 56 25 end_opcode 0 pseudocode/MISS6/slot_04_cachein.txt
+436 MISS6 0x07 hatch 0x010C 0x068F 1411 626 end_opcode 0 pseudocode/MISS6/slot_07_hatch.txt
+437 MISS7 0x04 cachein 0x00D4 0x00E7 19 10 end_opcode 0 pseudocode/MISS7/slot_04_cachein.txt
+437 MISS7 0x07 hatch 0x00E7 0x025B 372 164 end_opcode 0 pseudocode/MISS7/slot_07_hatch.txt
+438 MISS8 0x04 cachein 0x00D4 0x00E7 19 10 end_opcode 0 pseudocode/MISS8/slot_04_cachein.txt
+438 MISS8 0x07 hatch 0x00E7 0x0244 349 155 end_opcode 0 pseudocode/MISS8/slot_07_hatch.txt
+439 MISS9 0x04 cachein 0x00D4 0x00E7 19 10 end_opcode 0 pseudocode/MISS9/slot_04_cachein.txt
+439 MISS9 0x07 hatch 0x00E7 0x0252 363 159 end_opcode 0 pseudocode/MISS9/slot_07_hatch.txt
+440 MISS10 0x04 cachein 0x00D4 0x00E7 19 10 end_opcode 0 pseudocode/MISS10/slot_04_cachein.txt
+440 MISS10 0x07 hatch 0x00E7 0x0244 349 155 end_opcode 0 pseudocode/MISS10/slot_07_hatch.txt
+441 REBEL 0x04 cachein 0x00D4 0x04A3 975 439 end_opcode 0 pseudocode/REBEL/slot_04_cachein.txt
+441 REBEL 0x07 hatch 0x04EE 0x0803 789 334 end_opcode 0 pseudocode/REBEL/slot_07_hatch.txt
+441 REBEL 0x15 unhatch 0x04A3 0x04EE 75 36 end_opcode 0 pseudocode/REBEL/slot_15_unhatch.txt
+442 VIDEOEGG 0x07 hatch 0x00D4 0x014D 121 48 end_opcode 0 pseudocode/VIDEOEGG/slot_07_hatch.txt
+443 POWEREG 0x04 cachein 0x00D4 0x00EB 23 12 end_opcode 0 pseudocode/POWEREG/slot_04_cachein.txt
+443 POWEREG 0x07 hatch 0x00EB 0x011B 48 21 end_opcode 0 pseudocode/POWEREG/slot_07_hatch.txt
+443 POWEREG 0x15 unhatch 0x011B 0x0148 45 21 end_opcode 0 pseudocode/POWEREG/slot_15_unhatch.txt
+444 RADIOEG 0x04 cachein 0x00D4 0x00EB 23 12 end_opcode 0 pseudocode/RADIOEG/slot_04_cachein.txt
+444 RADIOEG 0x07 hatch 0x00EB 0x011B 48 21 end_opcode 0 pseudocode/RADIOEG/slot_07_hatch.txt
+444 RADIOEG 0x15 unhatch 0x011B 0x0148 45 21 end_opcode 0 pseudocode/RADIOEG/slot_15_unhatch.txt
+445 WARNING 0x07 hatch 0x00D4 0x0158 132 53 end_opcode 0 pseudocode/WARNING/slot_07_hatch.txt
+446 BARREL 0x20 0x00DA 0x03F2 792 351 end_opcode 0 pseudocode/BARREL/slot_20_slot_20.txt
+447 BBETTY 0x10 leaveFastArea 0x0427 0x0441 26 13 end_opcode 0 pseudocode/BBETTY/slot_10_leaveFastArea.txt
+447 BBETTY 0x20 0x00E0 0x0240 352 153 end_opcode 0 pseudocode/BBETTY/slot_20_slot_20.txt
+447 BBETTY 0x21 0x0240 0x0427 487 227 end_opcode 0 pseudocode/BBETTY/slot_21_slot_21.txt
+448 BOOTY 0x20 0x00E0 0x0BC9 2793 1199 end_opcode 0 pseudocode/BOOTY/slot_20_slot_20.txt
+448 BOOTY 0x21 0x0BC9 0x0C17 78 33 end_opcode 0 pseudocode/BOOTY/slot_21_slot_21.txt
+449 CONTAIN 0x20 0x00DA 0x032E 596 257 end_opcode 0 pseudocode/CONTAIN/slot_20_slot_20.txt
+450 DOOR 0x20 0x00EC 0x0139 77 37 end_opcode 0 pseudocode/DOOR/slot_20_slot_20.txt
+450 DOOR 0x21 0x0139 0x1488 4943 2428 end_opcode 0 pseudocode/DOOR/slot_21_slot_21.txt
+450 DOOR 0x22 0x1488 0x1563 219 95 end_opcode 0 pseudocode/DOOR/slot_22_slot_22.txt
+450 DOOR 0x23 0x1563 0x1F2A 2503 1061 end_opcode 0 pseudocode/DOOR/slot_23_slot_23.txt
+451 DOOR2 0x20 0x0200 0x02CA 202 89 end_opcode 0 pseudocode/DOOR2/slot_20_slot_20.txt
+451 DOOR2 0x21 0x02CA 0x03A3 217 94 end_opcode 0 pseudocode/DOOR2/slot_21_slot_21.txt
+451 DOOR2 0x22 0x03A3 0x046D 202 89 end_opcode 0 pseudocode/DOOR2/slot_22_slot_22.txt
+451 DOOR2 0x23 0x046D 0x0546 217 94 end_opcode 0 pseudocode/DOOR2/slot_23_slot_23.txt
+451 DOOR2 0x24 0x0546 0x0610 202 89 end_opcode 0 pseudocode/DOOR2/slot_24_slot_24.txt
+451 DOOR2 0x25 0x0610 0x06E8 216 94 end_opcode 0 pseudocode/DOOR2/slot_25_slot_25.txt
+451 DOOR2 0x26 0x06E8 0x07B2 202 89 end_opcode 0 pseudocode/DOOR2/slot_26_slot_26.txt
+451 DOOR2 0x27 0x07B2 0x088A 216 94 end_opcode 0 pseudocode/DOOR2/slot_27_slot_27.txt
+451 DOOR2 0x28 0x088A 0x0954 202 89 end_opcode 0 pseudocode/DOOR2/slot_28_slot_28.txt
+451 DOOR2 0x29 0x0954 0x0A2C 216 94 end_opcode 0 pseudocode/DOOR2/slot_29_slot_29.txt
+451 DOOR2 0x2A 0x0A2C 0x0AF6 202 89 end_opcode 0 pseudocode/DOOR2/slot_2A_slot_2A.txt
+451 DOOR2 0x2B 0x0AF6 0x0BCE 216 94 end_opcode 0 pseudocode/DOOR2/slot_2B_slot_2B.txt
+451 DOOR2 0x2C 0x0BCE 0x0C98 202 89 end_opcode 0 pseudocode/DOOR2/slot_2C_slot_2C.txt
+451 DOOR2 0x2D 0x0C98 0x0D71 217 94 end_opcode 0 pseudocode/DOOR2/slot_2D_slot_2D.txt
+451 DOOR2 0x2E 0x0D71 0x0E3B 202 89 end_opcode 0 pseudocode/DOOR2/slot_2E_slot_2E.txt
+451 DOOR2 0x2F 0x0E3B 0x0F14 217 94 end_opcode 0 pseudocode/DOOR2/slot_2F_slot_2F.txt
+451 DOOR2 0x30 0x0F14 0x0FD2 190 85 end_opcode 0 pseudocode/DOOR2/slot_30_slot_30.txt
+451 DOOR2 0x31 0x0FD2 0x109F 205 90 end_opcode 0 pseudocode/DOOR2/slot_31_slot_31.txt
+451 DOOR2 0x32 0x109F 0x115D 190 85 end_opcode 0 pseudocode/DOOR2/slot_32_slot_32.txt
+451 DOOR2 0x33 0x115D 0x122A 205 90 end_opcode 0 pseudocode/DOOR2/slot_33_slot_33.txt
+451 DOOR2 0x34 0x122A 0x12D5 171 76 end_opcode 0 pseudocode/DOOR2/slot_34_slot_34.txt
+451 DOOR2 0x35 0x12D5 0x1376 161 74 end_opcode 0 pseudocode/DOOR2/slot_35_slot_35.txt
+451 DOOR2 0x36 0x1376 0x141E 168 74 end_opcode 0 pseudocode/DOOR2/slot_36_slot_36.txt
+451 DOOR2 0x37 0x141E 0x14CC 174 79 end_opcode 0 pseudocode/DOOR2/slot_37_slot_37.txt
+451 DOOR2 0x38 0x14CC 0x1574 168 74 end_opcode 0 pseudocode/DOOR2/slot_38_slot_38.txt
+451 DOOR2 0x39 0x1574 0x1622 174 79 end_opcode 0 pseudocode/DOOR2/slot_39_slot_39.txt
+451 DOOR2 0x3A 0x1622 0x16F9 215 94 end_opcode 0 pseudocode/DOOR2/slot_3A_slot_3A.txt
+451 DOOR2 0x3B 0x16F9 0x1804 267 119 end_opcode 0 pseudocode/DOOR2/slot_3B_slot_3B.txt
+451 DOOR2 0x3C 0x1804 0x18DB 215 94 end_opcode 0 pseudocode/DOOR2/slot_3C_slot_3C.txt
+451 DOOR2 0x3D 0x18DB 0x19E6 267 119 end_opcode 0 pseudocode/DOOR2/slot_3D_slot_3D.txt
+451 DOOR2 0x3E 0x19E6 0x1AA4 190 85 end_opcode 0 pseudocode/DOOR2/slot_3E_slot_3E.txt
+451 DOOR2 0x3F 0x1AA4 0x1B71 205 90 end_opcode 0 pseudocode/DOOR2/slot_3F_slot_3F.txt
+451 DOOR2 0x40 0x1B71 0x1C2F 190 85 end_opcode 0 pseudocode/DOOR2/slot_40_slot_40.txt
+451 DOOR2 0x41 0x1C2F 0x1CFC 205 90 end_opcode 0 pseudocode/DOOR2/slot_41_slot_41.txt
+451 DOOR2 0x42 0x1CFC 0x1DBA 190 85 end_opcode 0 pseudocode/DOOR2/slot_42_slot_42.txt
+451 DOOR2 0x43 0x1DBA 0x1E87 205 90 end_opcode 0 pseudocode/DOOR2/slot_43_slot_43.txt
+451 DOOR2 0x44 0x1E87 0x1F45 190 85 end_opcode 0 pseudocode/DOOR2/slot_44_slot_44.txt
+451 DOOR2 0x45 0x1F45 0x2012 205 90 end_opcode 0 pseudocode/DOOR2/slot_45_slot_45.txt
+451 DOOR2 0x46 0x2012 0x20C4 178 78 end_opcode 0 pseudocode/DOOR2/slot_46_slot_46.txt
+451 DOOR2 0x47 0x20C4 0x2162 158 72 end_opcode 0 pseudocode/DOOR2/slot_47_slot_47.txt
+451 DOOR2 0x48 0x2162 0x2214 178 78 end_opcode 0 pseudocode/DOOR2/slot_48_slot_48.txt
+451 DOOR2 0x49 0x2214 0x22B2 158 72 end_opcode 0 pseudocode/DOOR2/slot_49_slot_49.txt
+451 DOOR2 0x4A 0x22B2 0x23C4 274 122 end_opcode 0 pseudocode/DOOR2/slot_4A_slot_4A.txt
+451 DOOR2 0x4B 0x23C4 0x2586 450 198 end_opcode 0 pseudocode/DOOR2/slot_4B_slot_4B.txt
+451 DOOR2 0x4C 0x2586 0x2698 274 122 end_opcode 0 pseudocode/DOOR2/slot_4C_slot_4C.txt
+451 DOOR2 0x4D 0x2698 0x285A 450 198 end_opcode 0 pseudocode/DOOR2/slot_4D_slot_4D.txt
+451 DOOR2 0x4E 0x285A 0x2982 296 128 end_opcode 0 pseudocode/DOOR2/slot_4E_slot_4E.txt
+451 DOOR2 0x4F 0x2982 0x2AAE 300 131 end_opcode 0 pseudocode/DOOR2/slot_4F_slot_4F.txt
+451 DOOR2 0x50 0x2AAE 0x2BE7 313 135 end_opcode 0 pseudocode/DOOR2/slot_50_slot_50.txt
+451 DOOR2 0x51 0x2BE7 0x2D13 300 131 end_opcode 0 pseudocode/DOOR2/slot_51_slot_51.txt
+452 DOOR3 0x20 0x01B2 0x02DA 296 128 end_opcode 0 pseudocode/DOOR3/slot_20_slot_20.txt
+452 DOOR3 0x21 0x02DA 0x0406 300 131 end_opcode 0 pseudocode/DOOR3/slot_21_slot_21.txt
+452 DOOR3 0x22 0x0406 0x053F 313 135 end_opcode 0 pseudocode/DOOR3/slot_22_slot_22.txt
+452 DOOR3 0x23 0x053F 0x066B 300 131 end_opcode 0 pseudocode/DOOR3/slot_23_slot_23.txt
+452 DOOR3 0x24 0x066B 0x0733 200 89 end_opcode 0 pseudocode/DOOR3/slot_24_slot_24.txt
+452 DOOR3 0x25 0x0733 0x07FB 200 89 end_opcode 0 pseudocode/DOOR3/slot_25_slot_25.txt
+452 DOOR3 0x26 0x07FB 0x0BEC 1009 435 end_opcode 0 pseudocode/DOOR3/slot_26_slot_26.txt
+452 DOOR3 0x27 0x0BEC 0x0CB5 201 89 end_opcode 0 pseudocode/DOOR3/slot_27_slot_27.txt
+452 DOOR3 0x28 0x0CB5 0x0D7E 201 89 end_opcode 0 pseudocode/DOOR3/slot_28_slot_28.txt
+452 DOOR3 0x29 0x0D7E 0x0E59 219 96 end_opcode 0 pseudocode/DOOR3/slot_29_slot_29.txt
+452 DOOR3 0x2A 0x0E59 0x0F34 219 96 end_opcode 0 pseudocode/DOOR3/slot_2A_slot_2A.txt
+452 DOOR3 0x2B 0x0F34 0x1038 260 113 end_opcode 0 pseudocode/DOOR3/slot_2B_slot_2B.txt
+452 DOOR3 0x2C 0x1038 0x113D 261 113 end_opcode 0 pseudocode/DOOR3/slot_2C_slot_2C.txt
+452 DOOR3 0x2D 0x113D 0x122D 240 104 end_opcode 0 pseudocode/DOOR3/slot_2D_slot_2D.txt
+452 DOOR3 0x2E 0x122D 0x135B 302 134 end_opcode 0 pseudocode/DOOR3/slot_2E_slot_2E.txt
+452 DOOR3 0x2F 0x135B 0x144B 240 104 end_opcode 0 pseudocode/DOOR3/slot_2F_slot_2F.txt
+452 DOOR3 0x30 0x144B 0x157A 303 134 end_opcode 0 pseudocode/DOOR3/slot_30_slot_30.txt
+452 DOOR3 0x31 0x157A 0x166A 240 104 end_opcode 0 pseudocode/DOOR3/slot_31_slot_31.txt
+452 DOOR3 0x32 0x166A 0x1799 303 134 end_opcode 0 pseudocode/DOOR3/slot_32_slot_32.txt
+452 DOOR3 0x33 0x1799 0x1889 240 104 end_opcode 0 pseudocode/DOOR3/slot_33_slot_33.txt
+452 DOOR3 0x34 0x1889 0x19B8 303 134 end_opcode 0 pseudocode/DOOR3/slot_34_slot_34.txt
+452 DOOR3 0x35 0x19B8 0x1A7E 198 87 end_opcode 0 pseudocode/DOOR3/slot_35_slot_35.txt
+452 DOOR3 0x36 0x1A7E 0x1B53 213 92 end_opcode 0 pseudocode/DOOR3/slot_36_slot_36.txt
+452 DOOR3 0x37 0x1B53 0x1C19 198 87 end_opcode 0 pseudocode/DOOR3/slot_37_slot_37.txt
+452 DOOR3 0x38 0x1C19 0x1CEE 213 92 end_opcode 0 pseudocode/DOOR3/slot_38_slot_38.txt
+452 DOOR3 0x39 0x1CEE 0x1DC0 210 92 end_opcode 0 pseudocode/DOOR3/slot_39_slot_39.txt
+452 DOOR3 0x3A 0x1DC0 0x1EC3 259 113 end_opcode 0 pseudocode/DOOR3/slot_3A_slot_3A.txt
+452 DOOR3 0x3B 0x1EC3 0x1F95 210 92 end_opcode 0 pseudocode/DOOR3/slot_3B_slot_3B.txt
+452 DOOR3 0x3C 0x1F95 0x2098 259 113 end_opcode 0 pseudocode/DOOR3/slot_3C_slot_3C.txt
+452 DOOR3 0x3D 0x2098 0x216A 210 92 end_opcode 0 pseudocode/DOOR3/slot_3D_slot_3D.txt
+452 DOOR3 0x3E 0x216A 0x22BE 340 151 end_opcode 0 pseudocode/DOOR3/slot_3E_slot_3E.txt
+452 DOOR3 0x3F 0x22BE 0x2390 210 92 end_opcode 0 pseudocode/DOOR3/slot_3F_slot_3F.txt
+452 DOOR3 0x40 0x2390 0x24E4 340 151 end_opcode 0 pseudocode/DOOR3/slot_40_slot_40.txt
+452 DOOR3 0x41 0x24E4 0x25F7 275 119 end_opcode 0 pseudocode/DOOR3/slot_41_slot_41.txt
+452 DOOR3 0x42 0x25F7 0x2748 337 143 end_opcode 0 pseudocode/DOOR3/slot_42_slot_42.txt
+452 DOOR3 0x43 0x2748 0x285B 275 119 end_opcode 0 pseudocode/DOOR3/slot_43_slot_43.txt
+452 DOOR3 0x44 0x285B 0x29AC 337 143 end_opcode 0 pseudocode/DOOR3/slot_44_slot_44.txt
+453 DOOR4 0x20 0x00E0 0x0272 402 175 end_opcode 0 pseudocode/DOOR4/slot_20_slot_20.txt
+453 DOOR4 0x21 0x0272 0x0438 454 200 end_opcode 0 pseudocode/DOOR4/slot_21_slot_21.txt
+454 ELEVAT 0x20 0x00F8 0x0161 105 47 end_opcode 0 pseudocode/ELEVAT/slot_20_slot_20.txt
+454 ELEVAT 0x21 0x0161 0x0172 17 9 end_opcode 0 pseudocode/ELEVAT/slot_21_slot_21.txt
+454 ELEVAT 0x22 0x0172 0x0183 17 9 end_opcode 0 pseudocode/ELEVAT/slot_22_slot_22.txt
+454 ELEVAT 0x23 0x0183 0x0385 514 228 end_opcode 0 pseudocode/ELEVAT/slot_23_slot_23.txt
+454 ELEVAT 0x24 0x0385 0x0693 782 346 end_opcode 0 pseudocode/ELEVAT/slot_24_slot_24.txt
+454 ELEVAT 0x25 0x0693 0x07D7 324 145 end_opcode 0 pseudocode/ELEVAT/slot_25_slot_25.txt
+456 FLICTEST 0x20 0x00E0 0x0CA4 3012 1133 end_opcode 0 pseudocode/FLICTEST/slot_20_slot_20.txt
+456 FLICTEST 0x21 0x0CA4 0x0CAF 11 7 end_opcode 0 pseudocode/FLICTEST/slot_21_slot_21.txt
+457 HOVER 0x20 0x00F2 0x0A9F 2477 1202 end_opcode 0 pseudocode/HOVER/slot_20_slot_20.txt
+457 HOVER 0x21 0x0A9F 0x0CDC 573 266 end_opcode 0 pseudocode/HOVER/slot_21_slot_21.txt
+457 HOVER 0x22 0x0CDC 0x0E3C 352 153 end_opcode 0 pseudocode/HOVER/slot_22_slot_22.txt
+457 HOVER 0x23 0x0E3C 0x0F79 317 149 end_opcode 0 pseudocode/HOVER/slot_23_slot_23.txt
+457 HOVER 0x24 0x0F79 0x1090 279 130 end_opcode 0 pseudocode/HOVER/slot_24_slot_24.txt
+458 ITEM 0x20 0x013A 0x014F 21 11 end_opcode 0 pseudocode/ITEM/slot_20_slot_20.txt
+458 ITEM 0x21 0x014F 0x0224 213 86 end_opcode 0 pseudocode/ITEM/slot_21_slot_21.txt
+458 ITEM 0x22 0x0224 0x0268 68 30 end_opcode 0 pseudocode/ITEM/slot_22_slot_22.txt
+458 ITEM 0x23 0x0268 0x0293 43 20 end_opcode 0 pseudocode/ITEM/slot_23_slot_23.txt
+458 ITEM 0x24 0x0293 0x02A1 14 7 end_opcode 0 pseudocode/ITEM/slot_24_slot_24.txt
+458 ITEM 0x25 0x02A1 0x02B0 15 8 end_opcode 0 pseudocode/ITEM/slot_25_slot_25.txt
+458 ITEM 0x26 0x02B0 0x02D2 34 17 end_opcode 0 pseudocode/ITEM/slot_26_slot_26.txt
+458 ITEM 0x27 0x02D2 0x0561 655 332 end_opcode 0 pseudocode/ITEM/slot_27_slot_27.txt
+458 ITEM 0x28 0x0561 0x07A4 579 290 end_opcode 0 pseudocode/ITEM/slot_28_slot_28.txt
+458 ITEM 0x29 0x07A4 0x0806 98 49 end_opcode 0 pseudocode/ITEM/slot_29_slot_29.txt
+458 ITEM 0x2A 0x0806 0x0A96 656 282 end_opcode 0 pseudocode/ITEM/slot_2A_slot_2A.txt
+458 ITEM 0x2B 0x0A96 0x0B53 189 96 end_opcode 0 pseudocode/ITEM/slot_2B_slot_2B.txt
+458 ITEM 0x2C 0x0B53 0x0DD1 638 277 end_opcode 0 pseudocode/ITEM/slot_2C_slot_2C.txt
+458 ITEM 0x2D 0x0DD1 0x0FEA 537 227 end_opcode 0 pseudocode/ITEM/slot_2D_slot_2D.txt
+458 ITEM 0x2E 0x0FEA 0x103A 80 41 end_opcode 0 pseudocode/ITEM/slot_2E_slot_2E.txt
+458 ITEM 0x2F 0x103A 0x136C 818 361 end_opcode 0 pseudocode/ITEM/slot_2F_slot_2F.txt
+458 ITEM 0x30 0x136C 0x13A4 56 25 end_opcode 0 pseudocode/ITEM/slot_30_slot_30.txt
+459 KEYPAD 0x20 0x00DA 0x021E 324 140 end_opcode 0 pseudocode/KEYPAD/slot_20_slot_20.txt
+460 LAZER 0x20 0x00E0 0x0342 610 264 end_opcode 0 pseudocode/LAZER/slot_20_slot_20.txt
+460 LAZER 0x21 0x0342 0x0380 62 29 end_opcode 0 pseudocode/LAZER/slot_21_slot_21.txt
+461 NPC 0x0A equip 0x0897 0x0A35 414 180 end_opcode 0 pseudocode/NPC/slot_0A_equip.txt
+461 NPC 0x20 0x013A 0x01AD 115 50 end_opcode 0 pseudocode/NPC/slot_20_slot_20.txt
+461 NPC 0x21 0x01AD 0x0214 103 52 end_opcode 0 pseudocode/NPC/slot_21_slot_21.txt
+461 NPC 0x22 0x0214 0x0247 51 26 end_opcode 0 pseudocode/NPC/slot_22_slot_22.txt
+461 NPC 0x23 0x0247 0x04AA 611 262 end_opcode 0 pseudocode/NPC/slot_23_slot_23.txt
+461 NPC 0x24 0x04AA 0x0723 633 277 end_opcode 0 pseudocode/NPC/slot_24_slot_24.txt
+461 NPC 0x25 0x0723 0x078C 105 48 end_opcode 0 pseudocode/NPC/slot_25_slot_25.txt
+461 NPC 0x26 0x078C 0x0897 267 124 end_opcode 0 pseudocode/NPC/slot_26_slot_26.txt
+461 NPC 0x27 0x0A35 0x0AF6 193 84 end_opcode 0 pseudocode/NPC/slot_27_slot_27.txt
+461 NPC 0x28 0x0AF6 0x0B02 12 7 end_opcode 0 pseudocode/NPC/slot_28_slot_28.txt
+461 NPC 0x29 0x0B02 0x0B23 33 16 end_opcode 0 pseudocode/NPC/slot_29_slot_29.txt
+461 NPC 0x2A 0x0B23 0x0BB3 144 72 end_opcode 0 pseudocode/NPC/slot_2A_slot_2A.txt
+461 NPC 0x2B 0x0BB3 0x0C5C 169 79 end_opcode 0 pseudocode/NPC/slot_2B_slot_2B.txt
+461 NPC 0x2C 0x0C5C 0x0CF8 156 69 end_opcode 0 pseudocode/NPC/slot_2C_slot_2C.txt
+461 NPC 0x2D 0x0CF8 0x0E45 333 143 end_opcode 0 pseudocode/NPC/slot_2D_slot_2D.txt
+461 NPC 0x2E 0x0E45 0x0E67 34 17 end_opcode 0 pseudocode/NPC/slot_2E_slot_2E.txt
+461 NPC 0x2F 0x0E67 0x0F88 289 127 end_opcode 0 pseudocode/NPC/slot_2F_slot_2F.txt
+461 NPC 0x30 0x0F88 0x0FBD 53 24 end_opcode 0 pseudocode/NPC/slot_30_slot_30.txt
+462 NPCDEATH 0x20 0x00DA 0x171E 5700 2510 end_opcode 0 pseudocode/NPCDEATH/slot_20_slot_20.txt
+464 SHOCKER 0x20 0x00E0 0x0254 372 162 end_opcode 0 pseudocode/SHOCKER/slot_20_slot_20.txt
+464 SHOCKER 0x21 0x0254 0x0317 195 89 end_opcode 0 pseudocode/SHOCKER/slot_21_slot_21.txt
+465 SPIDER 0x20 0x00F2 0x02D5 483 207 end_opcode 0 pseudocode/SPIDER/slot_20_slot_20.txt
+465 SPIDER 0x21 0x02D5 0x054C 631 299 end_opcode 0 pseudocode/SPIDER/slot_21_slot_21.txt
+465 SPIDER 0x22 0x054C 0x077D 561 242 end_opcode 0 pseudocode/SPIDER/slot_22_slot_22.txt
+465 SPIDER 0x23 0x077D 0x086A 237 112 end_opcode 0 pseudocode/SPIDER/slot_23_slot_23.txt
+465 SPIDER 0x24 0x086A 0x0B11 679 341 end_opcode 0 pseudocode/SPIDER/slot_24_slot_24.txt
+466 STEAM 0x20 0x00F8 0x01D9 225 100 end_opcode 0 pseudocode/STEAM/slot_20_slot_20.txt
+466 STEAM 0x21 0x01D9 0x0294 187 82 end_opcode 0 pseudocode/STEAM/slot_21_slot_21.txt
+466 STEAM 0x22 0x0294 0x0366 210 93 end_opcode 0 pseudocode/STEAM/slot_22_slot_22.txt
+466 STEAM 0x23 0x0366 0x03D5 111 49 end_opcode 0 pseudocode/STEAM/slot_23_slot_23.txt
+466 STEAM 0x24 0x03D5 0x04B8 227 100 end_opcode 0 pseudocode/STEAM/slot_24_slot_24.txt
+466 STEAM 0x25 0x04B8 0x0575 189 81 end_opcode 0 pseudocode/STEAM/slot_25_slot_25.txt
+467 SWITCH 0x20 0x00E6 0x0147 97 43 end_opcode 0 pseudocode/SWITCH/slot_20_slot_20.txt
+467 SWITCH 0x21 0x0147 0x01E9 162 71 end_opcode 0 pseudocode/SWITCH/slot_21_slot_21.txt
+467 SWITCH 0x22 0x01E9 0x0396 429 175 end_opcode 0 pseudocode/SWITCH/slot_22_slot_22.txt
+468 TEXTFILE 0x20 0x00EC 0x0103 23 11 end_opcode 0 pseudocode/TEXTFILE/slot_20_slot_20.txt
+468 TEXTFILE 0x21 0x0103 0x0179 118 54 end_opcode 0 pseudocode/TEXTFILE/slot_21_slot_21.txt
+468 TEXTFILE 0x22 0x0179 0x0207 142 64 end_opcode 0 pseudocode/TEXTFILE/slot_22_slot_22.txt
+468 TEXTFILE 0x23 0x0207 0x321A 12307 925 end_opcode 0 pseudocode/TEXTFILE/slot_23_slot_23.txt
+469 TRIGGER 0x20 0x011C 0x0489 877 411 end_opcode 0 pseudocode/TRIGGER/slot_20_slot_20.txt
+469 TRIGGER 0x21 0x0489 0x069F 534 256 end_opcode 0 pseudocode/TRIGGER/slot_21_slot_21.txt
+469 TRIGGER 0x22 0x069F 0x0710 113 49 end_opcode 0 pseudocode/TRIGGER/slot_22_slot_22.txt
+469 TRIGGER 0x23 0x0710 0x0B6B 1115 517 end_opcode 0 pseudocode/TRIGGER/slot_23_slot_23.txt
+469 TRIGGER 0x24 0x0B6B 0x0FDB 1136 526 end_opcode 0 pseudocode/TRIGGER/slot_24_slot_24.txt
+469 TRIGGER 0x25 0x0FDB 0x13BE 995 461 end_opcode 0 pseudocode/TRIGGER/slot_25_slot_25.txt
+469 TRIGGER 0x26 0x13BE 0x17E9 1067 493 end_opcode 0 pseudocode/TRIGGER/slot_26_slot_26.txt
+469 TRIGGER 0x27 0x17E9 0x1C29 1088 502 end_opcode 0 pseudocode/TRIGGER/slot_27_slot_27.txt
+469 TRIGGER 0x28 0x1C29 0x1FDC 947 437 end_opcode 0 pseudocode/TRIGGER/slot_28_slot_28.txt
+469 TRIGGER 0x29 0x1FDC 0x248B 1199 534 end_opcode 0 pseudocode/TRIGGER/slot_29_slot_29.txt
+469 TRIGGER 0x2A 0x248B 0x2870 997 440 end_opcode 0 pseudocode/TRIGGER/slot_2A_slot_2A.txt
+469 TRIGGER 0x2B 0x2870 0x2D7C 1292 570 end_opcode 0 pseudocode/TRIGGER/slot_2B_slot_2B.txt
+470 VALBOX 0x20 0x00DA 0x011E 68 34 end_opcode 0 pseudocode/VALBOX/slot_20_slot_20.txt
+471 WALLGUN 0x20 0x01C4 0x01EB 39 21 end_opcode 0 pseudocode/WALLGUN/slot_20_slot_20.txt
+471 WALLGUN 0x21 0x01EB 0x0212 39 21 end_opcode 0 pseudocode/WALLGUN/slot_21_slot_21.txt
+471 WALLGUN 0x22 0x0212 0x022E 28 14 end_opcode 0 pseudocode/WALLGUN/slot_22_slot_22.txt
+471 WALLGUN 0x23 0x022E 0x024A 28 14 end_opcode 0 pseudocode/WALLGUN/slot_23_slot_23.txt
+471 WALLGUN 0x24 0x024A 0x030B 193 85 end_opcode 0 pseudocode/WALLGUN/slot_24_slot_24.txt
+471 WALLGUN 0x25 0x030B 0x03B2 167 85 end_opcode 0 pseudocode/WALLGUN/slot_25_slot_25.txt
+471 WALLGUN 0x26 0x03B2 0x03E7 53 24 end_opcode 0 pseudocode/WALLGUN/slot_26_slot_26.txt
+471 WALLGUN 0x27 0x03E7 0x04B6 207 90 end_opcode 0 pseudocode/WALLGUN/slot_27_slot_27.txt
+471 WALLGUN 0x28 0x04B6 0x083C 902 406 end_opcode 0 pseudocode/WALLGUN/slot_28_slot_28.txt
+471 WALLGUN 0x29 0x083C 0x0875 57 30 end_opcode 0 pseudocode/WALLGUN/slot_29_slot_29.txt
+471 WALLGUN 0x2A 0x0875 0x08A6 49 21 end_opcode 0 pseudocode/WALLGUN/slot_2A_slot_2A.txt
+471 WALLGUN 0x2B 0x08A6 0x08D4 46 20 end_opcode 0 pseudocode/WALLGUN/slot_2B_slot_2B.txt
+471 WALLGUN 0x2C 0x08D4 0x0944 112 53 end_opcode 0 pseudocode/WALLGUN/slot_2C_slot_2C.txt
+471 WALLGUN 0x2D 0x0944 0x0A67 291 141 end_opcode 0 pseudocode/WALLGUN/slot_2D_slot_2D.txt
+471 WALLGUN 0x2E 0x0A67 0x0B3C 213 95 end_opcode 0 pseudocode/WALLGUN/slot_2E_slot_2E.txt
+471 WALLGUN 0x2F 0x0B3C 0x0BE4 168 83 end_opcode 0 pseudocode/WALLGUN/slot_2F_slot_2F.txt
+471 WALLGUN 0x30 0x0BE4 0x0C30 76 36 end_opcode 0 pseudocode/WALLGUN/slot_30_slot_30.txt
+471 WALLGUN 0x31 0x0C30 0x0E2C 508 232 end_opcode 0 pseudocode/WALLGUN/slot_31_slot_31.txt
+471 WALLGUN 0x32 0x0E2C 0x0FD1 421 189 end_opcode 0 pseudocode/WALLGUN/slot_32_slot_32.txt
+471 WALLGUN 0x33 0x0FD1 0x1179 424 191 end_opcode 0 pseudocode/WALLGUN/slot_33_slot_33.txt
+471 WALLGUN 0x34 0x1179 0x12BE 325 145 end_opcode 0 pseudocode/WALLGUN/slot_34_slot_34.txt
+471 WALLGUN 0x35 0x12BE 0x1406 328 147 end_opcode 0 pseudocode/WALLGUN/slot_35_slot_35.txt
+471 WALLGUN 0x36 0x1406 0x1588 386 174 end_opcode 0 pseudocode/WALLGUN/slot_36_slot_36.txt
+471 WALLGUN 0x37 0x1588 0x170D 389 176 end_opcode 0 pseudocode/WALLGUN/slot_37_slot_37.txt
+471 WALLGUN 0x38 0x170D 0x189A 397 177 end_opcode 0 pseudocode/WALLGUN/slot_38_slot_38.txt
+471 WALLGUN 0x39 0x189A 0x1A27 397 177 end_opcode 0 pseudocode/WALLGUN/slot_39_slot_39.txt
+471 WALLGUN 0x3A 0x1A27 0x1BE2 443 195 end_opcode 0 pseudocode/WALLGUN/slot_3A_slot_3A.txt
+471 WALLGUN 0x3B 0x1BE2 0x1DA3 449 199 end_opcode 0 pseudocode/WALLGUN/slot_3B_slot_3B.txt
+471 WALLGUN 0x3C 0x1DA3 0x1F28 389 178 end_opcode 0 pseudocode/WALLGUN/slot_3C_slot_3C.txt
+471 WALLGUN 0x3D 0x1F28 0x1FC7 159 79 end_opcode 0 pseudocode/WALLGUN/slot_3D_slot_3D.txt
+471 WALLGUN 0x3E 0x1FC7 0x2863 2204 1069 end_opcode 0 pseudocode/WALLGUN/slot_3E_slot_3E.txt
+471 WALLGUN 0x3F 0x2863 0x3079 2070 1012 end_opcode 0 pseudocode/WALLGUN/slot_3F_slot_3F.txt
+471 WALLGUN 0x40 0x3079 0x3153 218 104 end_opcode 0 pseudocode/WALLGUN/slot_40_slot_40.txt
+471 WALLGUN 0x41 0x3153 0x3371 542 259 end_opcode 0 pseudocode/WALLGUN/slot_41_slot_41.txt
+471 WALLGUN 0x42 0x3371 0x359A 553 263 end_opcode 0 pseudocode/WALLGUN/slot_42_slot_42.txt
+471 WALLGUN 0x43 0x359A 0x35BD 35 17 end_opcode 0 pseudocode/WALLGUN/slot_43_slot_43.txt
+471 WALLGUN 0x44 0x35BD 0x375F 418 192 end_opcode 0 pseudocode/WALLGUN/slot_44_slot_44.txt
+471 WALLGUN 0x45 0x375F 0x3B60 1025 440 end_opcode 0 pseudocode/WALLGUN/slot_45_slot_45.txt
+471 WALLGUN 0x46 0x3B60 0x3F57 1015 433 end_opcode 0 pseudocode/WALLGUN/slot_46_slot_46.txt
+471 WALLGUN 0x47 0x3F57 0x4131 474 212 end_opcode 0 pseudocode/WALLGUN/slot_47_slot_47.txt
+472 WALLGUN2 0x20 0x00EC 0x0292 422 191 end_opcode 0 pseudocode/WALLGUN2/slot_20_slot_20.txt
+472 WALLGUN2 0x21 0x0292 0x0977 1765 793 end_opcode 0 pseudocode/WALLGUN2/slot_21_slot_21.txt
+472 WALLGUN2 0x22 0x0977 0x0DE5 1134 484 end_opcode 0 pseudocode/WALLGUN2/slot_22_slot_22.txt
+472 WALLGUN2 0x23 0x0DE5 0x0EF5 272 123 end_opcode 0 pseudocode/WALLGUN2/slot_23_slot_23.txt
+473 YELRAIL 0x20 0x00DA 0x03C4 746 327 end_opcode 0 pseudocode/YELRAIL/slot_20_slot_20.txt
+474 BRIDGE 0x20 0x00FE 0x01A7 169 80 end_opcode 0 pseudocode/BRIDGE/slot_20_slot_20.txt
+474 BRIDGE 0x21 0x01A7 0x01EE 71 32 end_opcode 0 pseudocode/BRIDGE/slot_21_slot_21.txt
+474 BRIDGE 0x22 0x01EE 0x0255 103 49 end_opcode 0 pseudocode/BRIDGE/slot_22_slot_22.txt
+474 BRIDGE 0x23 0x0255 0x03BE 361 167 end_opcode 0 pseudocode/BRIDGE/slot_23_slot_23.txt
+474 BRIDGE 0x24 0x03BE 0x0546 392 166 end_opcode 0 pseudocode/BRIDGE/slot_24_slot_24.txt
+474 BRIDGE 0x25 0x0546 0x087E 824 361 end_opcode 0 pseudocode/BRIDGE/slot_25_slot_25.txt
+474 BRIDGE 0x26 0x087E 0x0CF3 1141 488 end_opcode 0 pseudocode/BRIDGE/slot_26_slot_26.txt
+475 FREE 0x20 0x01D6 0x01E9 19 10 end_opcode 0 pseudocode/FREE/slot_20_slot_20.txt
+475 FREE 0x21 0x01E9 0x0286 157 69 end_opcode 0 pseudocode/FREE/slot_21_slot_21.txt
+475 FREE 0x22 0x0286 0x032A 164 55 end_opcode 0 pseudocode/FREE/slot_22_slot_22.txt
+475 FREE 0x23 0x032A 0x0344 26 11 end_opcode 0 pseudocode/FREE/slot_23_slot_23.txt
+475 FREE 0x24 0x0344 0x038F 75 34 end_opcode 0 pseudocode/FREE/slot_24_slot_24.txt
+475 FREE 0x25 0x038F 0x04A2 275 111 end_opcode 0 pseudocode/FREE/slot_25_slot_25.txt
+475 FREE 0x26 0x04A2 0x05A2 256 105 end_opcode 0 pseudocode/FREE/slot_26_slot_26.txt
+475 FREE 0x27 0x05A2 0x0716 372 150 end_opcode 0 pseudocode/FREE/slot_27_slot_27.txt
+475 FREE 0x28 0x0716 0x07C0 170 63 end_opcode 0 pseudocode/FREE/slot_28_slot_28.txt
+475 FREE 0x29 0x07C0 0x07D7 23 10 end_opcode 0 pseudocode/FREE/slot_29_slot_29.txt
+475 FREE 0x2A 0x07D7 0x086C 149 61 end_opcode 0 pseudocode/FREE/slot_2A_slot_2A.txt
+475 FREE 0x2B 0x086C 0x0D18 1196 467 end_opcode 0 pseudocode/FREE/slot_2B_slot_2B.txt
+475 FREE 0x2C 0x0D18 0x1083 875 350 end_opcode 0 pseudocode/FREE/slot_2C_slot_2C.txt
+475 FREE 0x2D 0x1083 0x117F 252 95 end_opcode 0 pseudocode/FREE/slot_2D_slot_2D.txt
+475 FREE 0x2E 0x117F 0x119D 30 12 end_opcode 0 pseudocode/FREE/slot_2E_slot_2E.txt
+475 FREE 0x2F 0x119D 0x1262 197 80 end_opcode 0 pseudocode/FREE/slot_2F_slot_2F.txt
+475 FREE 0x30 0x1262 0x12E1 127 66 end_opcode 0 pseudocode/FREE/slot_30_slot_30.txt
+475 FREE 0x31 0x12E1 0x13E8 263 127 end_opcode 0 pseudocode/FREE/slot_31_slot_31.txt
+475 FREE 0x32 0x13E8 0x1407 31 16 end_opcode 0 pseudocode/FREE/slot_32_slot_32.txt
+475 FREE 0x33 0x1407 0x1469 98 45 end_opcode 0 pseudocode/FREE/slot_33_slot_33.txt
+475 FREE 0x34 0x1469 0x1486 29 15 end_opcode 0 pseudocode/FREE/slot_34_slot_34.txt
+475 FREE 0x35 0x1486 0x14A6 32 17 end_opcode 0 pseudocode/FREE/slot_35_slot_35.txt
+475 FREE 0x36 0x14A6 0x153C 150 65 end_opcode 0 pseudocode/FREE/slot_36_slot_36.txt
+475 FREE 0x37 0x153C 0x15F7 187 87 end_opcode 0 pseudocode/FREE/slot_37_slot_37.txt
+475 FREE 0x38 0x15F7 0x16B8 193 91 end_opcode 0 pseudocode/FREE/slot_38_slot_38.txt
+475 FREE 0x39 0x16B8 0x1748 144 65 end_opcode 0 pseudocode/FREE/slot_39_slot_39.txt
+475 FREE 0x3A 0x1748 0x1848 256 115 end_opcode 0 pseudocode/FREE/slot_3A_slot_3A.txt
+475 FREE 0x3B 0x1848 0x1893 75 37 end_opcode 0 pseudocode/FREE/slot_3B_slot_3B.txt
+475 FREE 0x3C 0x1893 0x18A1 14 7 end_opcode 0 pseudocode/FREE/slot_3C_slot_3C.txt
+475 FREE 0x3D 0x18A1 0x18FE 93 46 end_opcode 0 pseudocode/FREE/slot_3D_slot_3D.txt
+475 FREE 0x3E 0x18FE 0x1922 36 17 end_opcode 0 pseudocode/FREE/slot_3E_slot_3E.txt
+475 FREE 0x3F 0x1922 0x1946 36 19 end_opcode 0 pseudocode/FREE/slot_3F_slot_3F.txt
+475 FREE 0x40 0x1946 0x1967 33 18 end_opcode 0 pseudocode/FREE/slot_40_slot_40.txt
+475 FREE 0x41 0x1967 0x198A 35 18 end_opcode 0 pseudocode/FREE/slot_41_slot_41.txt
+475 FREE 0x42 0x198A 0x19B9 47 22 end_opcode 0 pseudocode/FREE/slot_42_slot_42.txt
+475 FREE 0x43 0x19B9 0x19DC 35 16 end_opcode 0 pseudocode/FREE/slot_43_slot_43.txt
+475 FREE 0x44 0x19DC 0x1D0A 814 360 end_opcode 0 pseudocode/FREE/slot_44_slot_44.txt
+475 FREE 0x45 0x1D0A 0x1E81 375 154 end_opcode 0 pseudocode/FREE/slot_45_slot_45.txt
+475 FREE 0x46 0x1E81 0x1EA0 31 15 end_opcode 0 pseudocode/FREE/slot_46_slot_46.txt
+475 FREE 0x47 0x1EA0 0x1ED7 55 24 end_opcode 0 pseudocode/FREE/slot_47_slot_47.txt
+475 FREE 0x48 0x1ED7 0x1EF2 27 15 end_opcode 0 pseudocode/FREE/slot_48_slot_48.txt
+475 FREE 0x49 0x1EF2 0x1F96 164 72 end_opcode 0 pseudocode/FREE/slot_49_slot_49.txt
+475 FREE 0x4A 0x1F96 0x1FC7 49 22 end_opcode 0 pseudocode/FREE/slot_4A_slot_4A.txt
+476 TEXTFIL3 0x20 0x00DA 0x20E2 8200 537 end_opcode 0 pseudocode/TEXTFIL3/slot_20_slot_20.txt
+477 TEXTFIL1 0x20 0x00DA 0x1E96 7612 601 end_opcode 0 pseudocode/TEXTFIL1/slot_20_slot_20.txt
+478 CONVEYOR 0x10 leaveFastArea 0x02C2 0x02E7 37 17 end_opcode 0 pseudocode/CONVEYOR/slot_10_leaveFastArea.txt
+478 CONVEYOR 0x20 0x00DA 0x02C2 488 228 end_opcode 0 pseudocode/CONVEYOR/slot_20_slot_20.txt
+479 TEXTFIL2 0x20 0x00DA 0x1E70 7574 573 end_opcode 0 pseudocode/TEXTFIL2/slot_20_slot_20.txt
diff --git a/USECODE/REGRET/REGRET_USECODE_extracted/usecode_shape_catalog_regret.csv b/USECODE/REGRET/REGRET_USECODE_extracted/usecode_shape_catalog_regret.csv
new file mode 100644
index 0000000..835ac4b
--- /dev/null
+++ b/USECODE/REGRET/REGRET_USECODE_extracted/usecode_shape_catalog_regret.csv
@@ -0,0 +1,185 @@
+shape_code,human_readable_id,description
+0x0001,,
+0x000B,,
+0x0011,,
+0x0028,,
+0x0030,,
+0x0033,door_shape_0033,Auto-derived from DOOR self-shape comparison in USECODE
+0x0034,,
+0x004B,door_shape_004b,Auto-derived from DOOR self-shape comparison in USECODE
+0x005F,,
+0x0064,door_shape_0064,Auto-derived from DOOR self-shape comparison in USECODE
+0x006C,door_shape_006c,Auto-derived from DOOR self-shape comparison in USECODE
+0x0070,yelrail_shape_0070,Auto-derived from YELRAIL self-shape comparison in USECODE
+0x0085,,
+0x0088,yelrail_shape_0088,Auto-derived from YELRAIL self-shape comparison in USECODE
+0x008A,yelrail_shape_008a,Auto-derived from YELRAIL self-shape comparison in USECODE
+0x008B,yelrail_shape_008b,Auto-derived from YELRAIL self-shape comparison in USECODE
+0x008C,yelrail_shape_008c,Auto-derived from YELRAIL self-shape comparison in USECODE
+0x008D,yelrail_shape_008d,Auto-derived from YELRAIL self-shape comparison in USECODE
+0x0091,yelrail_shape_0091,Auto-derived from YELRAIL self-shape comparison in USECODE
+0x0092,yelrail_shape_0092,Auto-derived from YELRAIL self-shape comparison in USECODE
+0x0093,yelrail_shape_0093,Auto-derived from YELRAIL self-shape comparison in USECODE
+0x0095,,
+0x00AA,barrel_shape_00aa,Auto-derived from BARREL self-shape comparison in USECODE
+0x00AD,,
+0x00C0,,
+0x00D1,,
+0x00D4,,
+0x00D9,,
+0x00DB,,
+0x0108,,
+0x0111,,
+0x0113,,
+0x0127,,
+0x0135,,
+0x0151,barrel_shape_0151,Auto-derived from BARREL self-shape comparison in USECODE
+0x0152,barrel_shape_0152,Auto-derived from BARREL self-shape comparison in USECODE
+0x0153,barrel_shape_0153,Auto-derived from BARREL self-shape comparison in USECODE
+0x0154,barrel_shape_0154,Auto-derived from BARREL self-shape comparison in USECODE
+0x0155,barrel_shape_0155,Auto-derived from BARREL self-shape comparison in USECODE
+0x0156,,
+0x018D,,
+0x018E,,
+0x0190,,
+0x0193,,
+0x01AB,,
+0x01B4,booty_shape_01b4,Auto-derived from BOOTY self-shape comparison in USECODE
+0x01B9,,
+0x01BA,,
+0x01C1,,
+0x01C8,,
+0x01CD,,
+0x01D9,,
+0x01DA,,
+0x01DB,,
+0x01E4,,
+0x01EE,,
+0x01F5,,
+0x022D,,
+0x0251,,
+0x025F,,
+0x0260,,
+0x0277,,
+0x0278,,
+0x0287,,
+0x0289,,
+0x028D,,
+0x02C9,bbetty_shape_02c9,Auto-derived from BBETTY self-shape comparison in USECODE
+0x02CB,,
+0x02D8,door_shape_02d8,Auto-derived from DOOR self-shape comparison in USECODE
+0x02DC,,
+0x02DE,,
+0x02DF,booty_shape_02df,Auto-derived from BOOTY self-shape comparison in USECODE
+0x02EF,,
+0x02F0,,
+0x02F5,,
+0x02F6,,
+0x02F7,,
+0x0301,,
+0x0308,booty_shape_0308,Auto-derived from BOOTY self-shape comparison in USECODE
+0x030C,,
+0x0319,,
+0x0337,,
+0x0338,,
+0x033A,,
+0x0344,,
+0x034B,,
+0x0361,,
+0x0363,door_shape_0363,Auto-derived from DOOR self-shape comparison in USECODE
+0x0371,booty_shape_0371,Auto-derived from BOOTY self-shape comparison in USECODE
+0x0373,,
+0x037A,door_shape_037a,Auto-derived from DOOR self-shape comparison in USECODE
+0x0383,,
+0x0384,,
+0x0385,,
+0x0399,,
+0x039A,,
+0x039C,,
+0x03A1,,
+0x03A9,,
+0x03AC,,
+0x03AD,,
+0x03B9,door_shape_03b9,Auto-derived from DOOR self-shape comparison in USECODE
+0x03BA,door_shape_03ba,Auto-derived from DOOR self-shape comparison in USECODE
+0x0401,,
+0x0403,,
+0x041C,,
+0x0438,,
+0x0439,,
+0x043A,,
+0x043B,,
+0x043D,,
+0x0443,,
+0x044A,,
+0x044D,,
+0x044E,,
+0x0452,,
+0x0456,,
+0x0457,,
+0x0459,,
+0x045A,,
+0x045D,,
+0x046A,,
+0x046C,,
+0x0476,,
+0x04B1,,
+0x04B8,,
+0x04C8,,
+0x04C9,,
+0x04D0,,
+0x04D1,booty_shape_04d1,Auto-derived from BOOTY self-shape comparison in USECODE
+0x04D9,,
+0x04E0,,
+0x04E6,,
+0x04E7,,
+0x04F8,,
+0x04F9,,
+0x04FA,,
+0x04FD,,
+0x04FE,,
+0x0500,,
+0x050A,,
+0x0510,,
+0x0511,,
+0x0518,,
+0x051A,,
+0x0524,,
+0x0528,booty_shape_0528,Auto-derived from BOOTY self-shape comparison in USECODE
+0x053A,,
+0x053B,door_shape_053b,Auto-derived from DOOR self-shape comparison in USECODE
+0x054E,,
+0x055F,,
+0x0561,,
+0x056F,door_shape_056f,Auto-derived from DOOR self-shape comparison in USECODE
+0x0571,door_shape_0571,Auto-derived from DOOR self-shape comparison in USECODE
+0x0573,door_shape_0573,Auto-derived from DOOR self-shape comparison in USECODE
+0x0574,door_shape_0574,Auto-derived from DOOR self-shape comparison in USECODE
+0x0576,,
+0x057A,booty_shape_057a,Auto-derived from BOOTY self-shape comparison in USECODE
+0x058F,,
+0x0595,,
+0x0596,,
+0x0597,,
+0x05A4,,
+0x05A5,,
+0x05B1,,
+0x05BA,,
+0x05D5,booty_shape_05d5,Auto-derived from BOOTY self-shape comparison in USECODE
+0x05D6,,
+0x05D8,,
+0x05D9,,
+0x05DA,,
+0x05DD,,
+0x05DE,,
+0x05DF,,
+0x05E0,,
+0x05E2,,
+0x05E6,,
+0x05EF,,
+0x0606,booty_shape_0606,Auto-derived from BOOTY self-shape comparison in USECODE
+0x0616,,
+0x062D,,
+0x062E,booty_shape_062e,Auto-derived from BOOTY self-shape comparison in USECODE
+0x0631,booty_shape_0631,Auto-derived from BOOTY self-shape comparison in USECODE
+0x0656,,
diff --git a/alarmhat_0x0A_pseudocode.txt b/alarmhat_0x0A_pseudocode.txt
new file mode 100644
index 0000000..4076fd4
--- /dev/null
+++ b/alarmhat_0x0A_pseudocode.txt
@@ -0,0 +1,1704 @@
+{
+ "schema_version": "crusader-usecode-ir-v1-poc",
+ "source": {
+ "game_variant": "regret",
+ "flex_path": "USECODE/EUSECODE.FLX",
+ "extracted_root": "USECODE/EUSECODE_extracted",
+ "chunk_file": "USECODE/EUSECODE_extracted/chunks/chunk_321_table_2B98_off_010074_len_00025F.bin"
+ },
+ "class": {
+ "entry_index": 321,
+ "object_index": 1379,
+ "class_id": 1377,
+ "class_name": "ALARMHAT",
+ "raw_code_base_u32": 212,
+ "code_base_minus_one": 211,
+ "conservative_event_count": 32
+ },
+ "event": {
+ "slot": 10,
+ "event_name_hint": "equip",
+ "raw_event_entry_word": 395,
+ "raw_code_offset": 1,
+ "derived_body_start": 212,
+ "derived_body_end": 607,
+ "derived_body_length": 395,
+ "repeated_template_status": ""
+ },
+ "body": {
+ "end_reason": "debug_symbols_then_end",
+ "raw_body_sha1": "eecc2fcbdaa0454f7d8ab8d05bc9443324b654cd",
+ "unknown_trailing_bytes": "",
+ "decoded_op_count": 147,
+ "debug_symbol_offset": 355,
+ "debug_symbol_count": 4,
+ "field_tag_count": 0
+ },
+ "ops": [
+ {
+ "offset": 0,
+ "absolute_body_offset": 212,
+ "opcode": 90,
+ "mnemonic": "init",
+ "raw_bytes": "5a04",
+ "operands": {
+ "local_bytes": 4
+ }
+ },
+ {
+ "offset": 2,
+ "absolute_body_offset": 214,
+ "opcode": 92,
+ "mnemonic": "symbol_info",
+ "raw_bytes": "5c5e01414c41524d48415400",
+ "operands": {
+ "symbol_offset": 355,
+ "symbol": "ALARMHAT",
+ "trailing_zero": 0
+ }
+ },
+ {
+ "offset": 14,
+ "absolute_body_offset": 226,
+ "opcode": 11,
+ "mnemonic": "push_word_immediate",
+ "raw_bytes": "0b1102",
+ "operands": {
+ "value_u16": 529
+ }
+ },
+ {
+ "offset": 17,
+ "absolute_body_offset": 229,
+ "opcode": 64,
+ "mnemonic": "push_local_dword",
+ "raw_bytes": "4006",
+ "operands": {
+ "bp_offset": 6,
+ "target": "[BP+06h]"
+ }
+ },
+ {
+ "offset": 19,
+ "absolute_body_offset": 231,
+ "opcode": 76,
+ "mnemonic": "push_indirect",
+ "raw_bytes": "4c02",
+ "operands": {
+ "size": 2
+ }
+ },
+ {
+ "offset": 21,
+ "absolute_body_offset": 233,
+ "opcode": 119,
+ "mnemonic": "set_info",
+ "raw_bytes": "77",
+ "operands": {}
+ },
+ {
+ "offset": 22,
+ "absolute_body_offset": 234,
+ "opcode": 120,
+ "mnemonic": "process_exclude",
+ "raw_bytes": "78",
+ "operands": {}
+ },
+ {
+ "offset": 23,
+ "absolute_body_offset": 235,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b1100",
+ "operands": {
+ "line_number": 17
+ }
+ },
+ {
+ "offset": 26,
+ "absolute_body_offset": 238,
+ "opcode": 64,
+ "mnemonic": "push_local_dword",
+ "raw_bytes": "4006",
+ "operands": {
+ "bp_offset": 6,
+ "target": "[BP+06h]"
+ }
+ },
+ {
+ "offset": 28,
+ "absolute_body_offset": 240,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f040100",
+ "operands": {
+ "intrinsic_ordinal": 1,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Item::getFrame(void)"
+ }
+ },
+ {
+ "offset": 32,
+ "absolute_body_offset": 244,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 34,
+ "absolute_body_offset": 246,
+ "opcode": 94,
+ "mnemonic": "push_retval_word",
+ "raw_bytes": "5e",
+ "operands": {}
+ },
+ {
+ "offset": 35,
+ "absolute_body_offset": 247,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "515c00",
+ "operands": {
+ "relative_u16": 92,
+ "relative_signed": 92,
+ "target_offset": 130
+ }
+ },
+ {
+ "offset": 38,
+ "absolute_body_offset": 250,
+ "opcode": 116,
+ "mnemonic": "loopscr",
+ "raw_bytes": "7424",
+ "operands": {
+ "value_u8": 36
+ }
+ },
+ {
+ "offset": 40,
+ "absolute_body_offset": 252,
+ "opcode": 116,
+ "mnemonic": "loopscr",
+ "raw_bytes": "743d",
+ "operands": {
+ "value_u8": 61
+ }
+ },
+ {
+ "offset": 42,
+ "absolute_body_offset": 254,
+ "opcode": 116,
+ "mnemonic": "loopscr",
+ "raw_bytes": "7440",
+ "operands": {
+ "value_u8": 64
+ }
+ },
+ {
+ "offset": 44,
+ "absolute_body_offset": 256,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b1500",
+ "operands": {
+ "line_number": 21
+ }
+ },
+ {
+ "offset": 47,
+ "absolute_body_offset": 259,
+ "opcode": 11,
+ "mnemonic": "push_word_immediate",
+ "raw_bytes": "0bd004",
+ "operands": {
+ "value_u16": 1232
+ }
+ },
+ {
+ "offset": 50,
+ "absolute_body_offset": 262,
+ "opcode": 116,
+ "mnemonic": "loopscr",
+ "raw_bytes": "7425",
+ "operands": {
+ "value_u8": 37
+ }
+ },
+ {
+ "offset": 52,
+ "absolute_body_offset": 264,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a02",
+ "operands": {
+ "value_u8": 2,
+ "value_signed": 2
+ }
+ },
+ {
+ "offset": 54,
+ "absolute_body_offset": 266,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a20",
+ "operands": {
+ "value_u8": 32,
+ "value_signed": 32
+ }
+ },
+ {
+ "offset": 56,
+ "absolute_body_offset": 268,
+ "opcode": 30,
+ "mnemonic": "mul",
+ "raw_bytes": "1e",
+ "operands": {}
+ },
+ {
+ "offset": 57,
+ "absolute_body_offset": 269,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b1600",
+ "operands": {
+ "line_number": 22
+ }
+ },
+ {
+ "offset": 60,
+ "absolute_body_offset": 272,
+ "opcode": 64,
+ "mnemonic": "push_local_dword",
+ "raw_bytes": "4006",
+ "operands": {
+ "bp_offset": 6,
+ "target": "[BP+06h]"
+ }
+ },
+ {
+ "offset": 62,
+ "absolute_body_offset": 274,
+ "opcode": 76,
+ "mnemonic": "push_indirect",
+ "raw_bytes": "4c02",
+ "operands": {
+ "size": 2
+ }
+ },
+ {
+ "offset": 64,
+ "absolute_body_offset": 276,
+ "opcode": 112,
+ "mnemonic": "loop",
+ "raw_bytes": "70fe0602",
+ "operands": {
+ "current_var": 254,
+ "string_bytes": 6,
+ "loop_type": 2
+ }
+ },
+ {
+ "offset": 68,
+ "absolute_body_offset": 280,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "513600",
+ "operands": {
+ "relative_u16": 54,
+ "relative_signed": 54,
+ "target_offset": 125
+ }
+ },
+ {
+ "offset": 71,
+ "absolute_body_offset": 283,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b1700",
+ "operands": {
+ "line_number": 23
+ }
+ },
+ {
+ "offset": 74,
+ "absolute_body_offset": 286,
+ "opcode": 75,
+ "mnemonic": "push_local_addr",
+ "raw_bytes": "4bfe",
+ "operands": {
+ "bp_offset": 254,
+ "target": "[BP-02h]"
+ }
+ },
+ {
+ "offset": 76,
+ "absolute_body_offset": 288,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f040100",
+ "operands": {
+ "intrinsic_ordinal": 1,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Item::getFrame(void)"
+ }
+ },
+ {
+ "offset": 80,
+ "absolute_body_offset": 292,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 82,
+ "absolute_body_offset": 294,
+ "opcode": 94,
+ "mnemonic": "push_retval_word",
+ "raw_bytes": "5e",
+ "operands": {}
+ },
+ {
+ "offset": 83,
+ "absolute_body_offset": 295,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a00",
+ "operands": {
+ "value_u8": 0,
+ "value_signed": 0
+ }
+ },
+ {
+ "offset": 85,
+ "absolute_body_offset": 297,
+ "opcode": 36,
+ "mnemonic": "cmp",
+ "raw_bytes": "24",
+ "operands": {}
+ },
+ {
+ "offset": 86,
+ "absolute_body_offset": 298,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "512000",
+ "operands": {
+ "relative_u16": 32,
+ "relative_signed": 32,
+ "target_offset": 121
+ }
+ },
+ {
+ "offset": 89,
+ "absolute_body_offset": 301,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b1900",
+ "operands": {
+ "line_number": 25
+ }
+ },
+ {
+ "offset": 92,
+ "absolute_body_offset": 304,
+ "opcode": 89,
+ "mnemonic": "push_pid",
+ "raw_bytes": "59",
+ "operands": {}
+ },
+ {
+ "offset": 93,
+ "absolute_body_offset": 305,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a17",
+ "operands": {
+ "value_u8": 23,
+ "value_signed": 23
+ }
+ },
+ {
+ "offset": 95,
+ "absolute_body_offset": 307,
+ "opcode": 75,
+ "mnemonic": "push_local_addr",
+ "raw_bytes": "4bfe",
+ "operands": {
+ "bp_offset": 254,
+ "target": "[BP-02h]"
+ }
+ },
+ {
+ "offset": 97,
+ "absolute_body_offset": 309,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f060600",
+ "operands": {
+ "intrinsic_ordinal": 6,
+ "arg_bytes": 6,
+ "intrinsic_name_hint": "Item::equip(sint16)"
+ }
+ },
+ {
+ "offset": 101,
+ "absolute_body_offset": 313,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efa",
+ "operands": {
+ "value_u8": 250
+ }
+ },
+ {
+ "offset": 103,
+ "absolute_body_offset": 315,
+ "opcode": 94,
+ "mnemonic": "push_retval_word",
+ "raw_bytes": "5e",
+ "operands": {}
+ },
+ {
+ "offset": 104,
+ "absolute_body_offset": 316,
+ "opcode": 84,
+ "mnemonic": "implies",
+ "raw_bytes": "540101",
+ "operands": {
+ "arg0": 1,
+ "arg1": 1
+ }
+ },
+ {
+ "offset": 107,
+ "absolute_body_offset": 319,
+ "opcode": 18,
+ "mnemonic": "pop_temp",
+ "raw_bytes": "12",
+ "operands": {}
+ },
+ {
+ "offset": 108,
+ "absolute_body_offset": 320,
+ "opcode": 83,
+ "mnemonic": "suspend",
+ "raw_bytes": "53",
+ "operands": {}
+ },
+ {
+ "offset": 109,
+ "absolute_body_offset": 321,
+ "opcode": 92,
+ "mnemonic": "symbol_info",
+ "raw_bytes": "5cf300414c41524d48415400",
+ "operands": {
+ "symbol_offset": 355,
+ "symbol": "ALARMHAT",
+ "trailing_zero": 0
+ }
+ },
+ {
+ "offset": 121,
+ "absolute_body_offset": 333,
+ "opcode": 115,
+ "mnemonic": "loopnext",
+ "raw_bytes": "73",
+ "operands": {}
+ },
+ {
+ "offset": 122,
+ "absolute_body_offset": 334,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "52c7ff",
+ "operands": {
+ "relative_u16": 65479,
+ "relative_signed": -57,
+ "target_offset": 68
+ }
+ },
+ {
+ "offset": 125,
+ "absolute_body_offset": 337,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6ec6",
+ "operands": {
+ "value_u8": 198
+ }
+ },
+ {
+ "offset": 127,
+ "absolute_body_offset": 339,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "52dd00",
+ "operands": {
+ "relative_u16": 221,
+ "relative_signed": 221,
+ "target_offset": 351
+ }
+ },
+ {
+ "offset": 130,
+ "absolute_body_offset": 342,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b2200",
+ "operands": {
+ "line_number": 34
+ }
+ },
+ {
+ "offset": 133,
+ "absolute_body_offset": 345,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b2100",
+ "operands": {
+ "line_number": 33
+ }
+ },
+ {
+ "offset": 136,
+ "absolute_body_offset": 348,
+ "opcode": 64,
+ "mnemonic": "push_local_dword",
+ "raw_bytes": "4006",
+ "operands": {
+ "bp_offset": 6,
+ "target": "[BP+06h]"
+ }
+ },
+ {
+ "offset": 138,
+ "absolute_body_offset": 350,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f040700",
+ "operands": {
+ "intrinsic_ordinal": 7,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Item::isEntirelyOnScreen()"
+ }
+ },
+ {
+ "offset": 142,
+ "absolute_body_offset": 354,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 144,
+ "absolute_body_offset": 356,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 145,
+ "absolute_body_offset": 357,
+ "opcode": 48,
+ "mnemonic": "not",
+ "raw_bytes": "30",
+ "operands": {}
+ },
+ {
+ "offset": 146,
+ "absolute_body_offset": 358,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "51ca00",
+ "operands": {
+ "relative_u16": 202,
+ "relative_signed": 202,
+ "target_offset": 351
+ }
+ },
+ {
+ "offset": 149,
+ "absolute_body_offset": 361,
+ "opcode": 116,
+ "mnemonic": "loopscr",
+ "raw_bytes": "7424",
+ "operands": {
+ "value_u8": 36
+ }
+ },
+ {
+ "offset": 151,
+ "absolute_body_offset": 363,
+ "opcode": 116,
+ "mnemonic": "loopscr",
+ "raw_bytes": "743d",
+ "operands": {
+ "value_u8": 61
+ }
+ },
+ {
+ "offset": 153,
+ "absolute_body_offset": 365,
+ "opcode": 116,
+ "mnemonic": "loopscr",
+ "raw_bytes": "743a",
+ "operands": {
+ "value_u8": 58
+ }
+ },
+ {
+ "offset": 155,
+ "absolute_body_offset": 367,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b2300",
+ "operands": {
+ "line_number": 35
+ }
+ },
+ {
+ "offset": 158,
+ "absolute_body_offset": 370,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a06",
+ "operands": {
+ "value_u8": 6,
+ "value_signed": 6
+ }
+ },
+ {
+ "offset": 160,
+ "absolute_body_offset": 372,
+ "opcode": 116,
+ "mnemonic": "loopscr",
+ "raw_bytes": "7425",
+ "operands": {
+ "value_u8": 37
+ }
+ },
+ {
+ "offset": 162,
+ "absolute_body_offset": 374,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a08",
+ "operands": {
+ "value_u8": 8,
+ "value_signed": 8
+ }
+ },
+ {
+ "offset": 164,
+ "absolute_body_offset": 376,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a20",
+ "operands": {
+ "value_u8": 32,
+ "value_signed": 32
+ }
+ },
+ {
+ "offset": 166,
+ "absolute_body_offset": 378,
+ "opcode": 30,
+ "mnemonic": "mul",
+ "raw_bytes": "1e",
+ "operands": {}
+ },
+ {
+ "offset": 167,
+ "absolute_body_offset": 379,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b2400",
+ "operands": {
+ "line_number": 36
+ }
+ },
+ {
+ "offset": 170,
+ "absolute_body_offset": 382,
+ "opcode": 64,
+ "mnemonic": "push_local_dword",
+ "raw_bytes": "4006",
+ "operands": {
+ "bp_offset": 6,
+ "target": "[BP+06h]"
+ }
+ },
+ {
+ "offset": 172,
+ "absolute_body_offset": 384,
+ "opcode": 76,
+ "mnemonic": "push_indirect",
+ "raw_bytes": "4c02",
+ "operands": {
+ "size": 2
+ }
+ },
+ {
+ "offset": 174,
+ "absolute_body_offset": 386,
+ "opcode": 112,
+ "mnemonic": "loop",
+ "raw_bytes": "70fc0602",
+ "operands": {
+ "current_var": 252,
+ "string_bytes": 6,
+ "loop_type": 2
+ }
+ },
+ {
+ "offset": 178,
+ "absolute_body_offset": 390,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "514f00",
+ "operands": {
+ "relative_u16": 79,
+ "relative_signed": 79,
+ "target_offset": 260
+ }
+ },
+ {
+ "offset": 181,
+ "absolute_body_offset": 393,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b2500",
+ "operands": {
+ "line_number": 37
+ }
+ },
+ {
+ "offset": 184,
+ "absolute_body_offset": 396,
+ "opcode": 75,
+ "mnemonic": "push_local_addr",
+ "raw_bytes": "4bfc",
+ "operands": {
+ "bp_offset": 252,
+ "target": "[BP-04h]"
+ }
+ },
+ {
+ "offset": 186,
+ "absolute_body_offset": 398,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f040800",
+ "operands": {
+ "intrinsic_ordinal": 8,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Item::isNpc(void)"
+ }
+ },
+ {
+ "offset": 190,
+ "absolute_body_offset": 402,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 192,
+ "absolute_body_offset": 404,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 193,
+ "absolute_body_offset": 405,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "513c00",
+ "operands": {
+ "relative_u16": 60,
+ "relative_signed": 60,
+ "target_offset": 256
+ }
+ },
+ {
+ "offset": 196,
+ "absolute_body_offset": 408,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b2800",
+ "operands": {
+ "line_number": 40
+ }
+ },
+ {
+ "offset": 199,
+ "absolute_body_offset": 411,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b2700",
+ "operands": {
+ "line_number": 39
+ }
+ },
+ {
+ "offset": 202,
+ "absolute_body_offset": 414,
+ "opcode": 75,
+ "mnemonic": "push_local_addr",
+ "raw_bytes": "4bfc",
+ "operands": {
+ "bp_offset": 252,
+ "target": "[BP-04h]"
+ }
+ },
+ {
+ "offset": 204,
+ "absolute_body_offset": 416,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f040900",
+ "operands": {
+ "intrinsic_ordinal": 9,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Item::getZ(void)"
+ }
+ },
+ {
+ "offset": 208,
+ "absolute_body_offset": 420,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 210,
+ "absolute_body_offset": 422,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 211,
+ "absolute_body_offset": 423,
+ "opcode": 64,
+ "mnemonic": "push_local_dword",
+ "raw_bytes": "4006",
+ "operands": {
+ "bp_offset": 6,
+ "target": "[BP+06h]"
+ }
+ },
+ {
+ "offset": 213,
+ "absolute_body_offset": 425,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f040900",
+ "operands": {
+ "intrinsic_ordinal": 9,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Item::getZ(void)"
+ }
+ },
+ {
+ "offset": 217,
+ "absolute_body_offset": 429,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 219,
+ "absolute_body_offset": 431,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 220,
+ "absolute_body_offset": 432,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a0a",
+ "operands": {
+ "value_u8": 10,
+ "value_signed": 10
+ }
+ },
+ {
+ "offset": 222,
+ "absolute_body_offset": 434,
+ "opcode": 28,
+ "mnemonic": "sub",
+ "raw_bytes": "1c",
+ "operands": {}
+ },
+ {
+ "offset": 223,
+ "absolute_body_offset": 435,
+ "opcode": 44,
+ "mnemonic": "gt",
+ "raw_bytes": "2c",
+ "operands": {}
+ },
+ {
+ "offset": 224,
+ "absolute_body_offset": 436,
+ "opcode": 75,
+ "mnemonic": "push_local_addr",
+ "raw_bytes": "4bfc",
+ "operands": {
+ "bp_offset": 252,
+ "target": "[BP-04h]"
+ }
+ },
+ {
+ "offset": 226,
+ "absolute_body_offset": 438,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f040900",
+ "operands": {
+ "intrinsic_ordinal": 9,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Item::getZ(void)"
+ }
+ },
+ {
+ "offset": 230,
+ "absolute_body_offset": 442,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 232,
+ "absolute_body_offset": 444,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 233,
+ "absolute_body_offset": 445,
+ "opcode": 64,
+ "mnemonic": "push_local_dword",
+ "raw_bytes": "4006",
+ "operands": {
+ "bp_offset": 6,
+ "target": "[BP+06h]"
+ }
+ },
+ {
+ "offset": 235,
+ "absolute_body_offset": 447,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f040900",
+ "operands": {
+ "intrinsic_ordinal": 9,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Item::getZ(void)"
+ }
+ },
+ {
+ "offset": 239,
+ "absolute_body_offset": 451,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 241,
+ "absolute_body_offset": 453,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 242,
+ "absolute_body_offset": 454,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a0a",
+ "operands": {
+ "value_u8": 10,
+ "value_signed": 10
+ }
+ },
+ {
+ "offset": 244,
+ "absolute_body_offset": 456,
+ "opcode": 20,
+ "mnemonic": "add",
+ "raw_bytes": "14",
+ "operands": {}
+ },
+ {
+ "offset": 245,
+ "absolute_body_offset": 457,
+ "opcode": 40,
+ "mnemonic": "lt",
+ "raw_bytes": "28",
+ "operands": {}
+ },
+ {
+ "offset": 246,
+ "absolute_body_offset": 458,
+ "opcode": 50,
+ "mnemonic": "and",
+ "raw_bytes": "32",
+ "operands": {}
+ },
+ {
+ "offset": 247,
+ "absolute_body_offset": 459,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "510600",
+ "operands": {
+ "relative_u16": 6,
+ "relative_signed": 6,
+ "target_offset": 256
+ }
+ },
+ {
+ "offset": 250,
+ "absolute_body_offset": 462,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b2900",
+ "operands": {
+ "line_number": 41
+ }
+ },
+ {
+ "offset": 253,
+ "absolute_body_offset": 465,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "525f00",
+ "operands": {
+ "relative_u16": 95,
+ "relative_signed": 95,
+ "target_offset": 351
+ }
+ },
+ {
+ "offset": 256,
+ "absolute_body_offset": 468,
+ "opcode": 115,
+ "mnemonic": "loopnext",
+ "raw_bytes": "73",
+ "operands": {}
+ },
+ {
+ "offset": 257,
+ "absolute_body_offset": 469,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "52aeff",
+ "operands": {
+ "relative_u16": 65454,
+ "relative_signed": -82,
+ "target_offset": 178
+ }
+ },
+ {
+ "offset": 260,
+ "absolute_body_offset": 472,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6ec6",
+ "operands": {
+ "value_u8": 198
+ }
+ },
+ {
+ "offset": 262,
+ "absolute_body_offset": 474,
+ "opcode": 116,
+ "mnemonic": "loopscr",
+ "raw_bytes": "7424",
+ "operands": {
+ "value_u8": 36
+ }
+ },
+ {
+ "offset": 264,
+ "absolute_body_offset": 476,
+ "opcode": 116,
+ "mnemonic": "loopscr",
+ "raw_bytes": "743d",
+ "operands": {
+ "value_u8": 61
+ }
+ },
+ {
+ "offset": 266,
+ "absolute_body_offset": 478,
+ "opcode": 116,
+ "mnemonic": "loopscr",
+ "raw_bytes": "7440",
+ "operands": {
+ "value_u8": 64
+ }
+ },
+ {
+ "offset": 268,
+ "absolute_body_offset": 480,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b2d00",
+ "operands": {
+ "line_number": 45
+ }
+ },
+ {
+ "offset": 271,
+ "absolute_body_offset": 483,
+ "opcode": 11,
+ "mnemonic": "push_word_immediate",
+ "raw_bytes": "0bd004",
+ "operands": {
+ "value_u16": 1232
+ }
+ },
+ {
+ "offset": 274,
+ "absolute_body_offset": 486,
+ "opcode": 116,
+ "mnemonic": "loopscr",
+ "raw_bytes": "7425",
+ "operands": {
+ "value_u8": 37
+ }
+ },
+ {
+ "offset": 276,
+ "absolute_body_offset": 488,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a02",
+ "operands": {
+ "value_u8": 2,
+ "value_signed": 2
+ }
+ },
+ {
+ "offset": 278,
+ "absolute_body_offset": 490,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a20",
+ "operands": {
+ "value_u8": 32,
+ "value_signed": 32
+ }
+ },
+ {
+ "offset": 280,
+ "absolute_body_offset": 492,
+ "opcode": 30,
+ "mnemonic": "mul",
+ "raw_bytes": "1e",
+ "operands": {}
+ },
+ {
+ "offset": 281,
+ "absolute_body_offset": 493,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b2e00",
+ "operands": {
+ "line_number": 46
+ }
+ },
+ {
+ "offset": 284,
+ "absolute_body_offset": 496,
+ "opcode": 64,
+ "mnemonic": "push_local_dword",
+ "raw_bytes": "4006",
+ "operands": {
+ "bp_offset": 6,
+ "target": "[BP+06h]"
+ }
+ },
+ {
+ "offset": 286,
+ "absolute_body_offset": 498,
+ "opcode": 76,
+ "mnemonic": "push_indirect",
+ "raw_bytes": "4c02",
+ "operands": {
+ "size": 2
+ }
+ },
+ {
+ "offset": 288,
+ "absolute_body_offset": 500,
+ "opcode": 112,
+ "mnemonic": "loop",
+ "raw_bytes": "70fe0602",
+ "operands": {
+ "current_var": 254,
+ "string_bytes": 6,
+ "loop_type": 2
+ }
+ },
+ {
+ "offset": 292,
+ "absolute_body_offset": 504,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "513600",
+ "operands": {
+ "relative_u16": 54,
+ "relative_signed": 54,
+ "target_offset": 349
+ }
+ },
+ {
+ "offset": 295,
+ "absolute_body_offset": 507,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b2f00",
+ "operands": {
+ "line_number": 47
+ }
+ },
+ {
+ "offset": 298,
+ "absolute_body_offset": 510,
+ "opcode": 75,
+ "mnemonic": "push_local_addr",
+ "raw_bytes": "4bfe",
+ "operands": {
+ "bp_offset": 254,
+ "target": "[BP-02h]"
+ }
+ },
+ {
+ "offset": 300,
+ "absolute_body_offset": 512,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f040100",
+ "operands": {
+ "intrinsic_ordinal": 1,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Item::getFrame(void)"
+ }
+ },
+ {
+ "offset": 304,
+ "absolute_body_offset": 516,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 306,
+ "absolute_body_offset": 518,
+ "opcode": 94,
+ "mnemonic": "push_retval_word",
+ "raw_bytes": "5e",
+ "operands": {}
+ },
+ {
+ "offset": 307,
+ "absolute_body_offset": 519,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a00",
+ "operands": {
+ "value_u8": 0,
+ "value_signed": 0
+ }
+ },
+ {
+ "offset": 309,
+ "absolute_body_offset": 521,
+ "opcode": 36,
+ "mnemonic": "cmp",
+ "raw_bytes": "24",
+ "operands": {}
+ },
+ {
+ "offset": 310,
+ "absolute_body_offset": 522,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "512000",
+ "operands": {
+ "relative_u16": 32,
+ "relative_signed": 32,
+ "target_offset": 345
+ }
+ },
+ {
+ "offset": 313,
+ "absolute_body_offset": 525,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b3100",
+ "operands": {
+ "line_number": 49
+ }
+ },
+ {
+ "offset": 316,
+ "absolute_body_offset": 528,
+ "opcode": 89,
+ "mnemonic": "push_pid",
+ "raw_bytes": "59",
+ "operands": {}
+ },
+ {
+ "offset": 317,
+ "absolute_body_offset": 529,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a15",
+ "operands": {
+ "value_u8": 21,
+ "value_signed": 21
+ }
+ },
+ {
+ "offset": 319,
+ "absolute_body_offset": 531,
+ "opcode": 75,
+ "mnemonic": "push_local_addr",
+ "raw_bytes": "4bfe",
+ "operands": {
+ "bp_offset": 254,
+ "target": "[BP-02h]"
+ }
+ },
+ {
+ "offset": 321,
+ "absolute_body_offset": 533,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f060600",
+ "operands": {
+ "intrinsic_ordinal": 6,
+ "arg_bytes": 6,
+ "intrinsic_name_hint": "Item::equip(sint16)"
+ }
+ },
+ {
+ "offset": 325,
+ "absolute_body_offset": 537,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efa",
+ "operands": {
+ "value_u8": 250
+ }
+ },
+ {
+ "offset": 327,
+ "absolute_body_offset": 539,
+ "opcode": 94,
+ "mnemonic": "push_retval_word",
+ "raw_bytes": "5e",
+ "operands": {}
+ },
+ {
+ "offset": 328,
+ "absolute_body_offset": 540,
+ "opcode": 84,
+ "mnemonic": "implies",
+ "raw_bytes": "540101",
+ "operands": {
+ "arg0": 1,
+ "arg1": 1
+ }
+ },
+ {
+ "offset": 331,
+ "absolute_body_offset": 543,
+ "opcode": 18,
+ "mnemonic": "pop_temp",
+ "raw_bytes": "12",
+ "operands": {}
+ },
+ {
+ "offset": 332,
+ "absolute_body_offset": 544,
+ "opcode": 83,
+ "mnemonic": "suspend",
+ "raw_bytes": "53",
+ "operands": {}
+ },
+ {
+ "offset": 333,
+ "absolute_body_offset": 545,
+ "opcode": 92,
+ "mnemonic": "symbol_info",
+ "raw_bytes": "5c1300414c41524d48415400",
+ "operands": {
+ "symbol_offset": 355,
+ "symbol": "ALARMHAT",
+ "trailing_zero": 0
+ }
+ },
+ {
+ "offset": 345,
+ "absolute_body_offset": 557,
+ "opcode": 115,
+ "mnemonic": "loopnext",
+ "raw_bytes": "73",
+ "operands": {}
+ },
+ {
+ "offset": 346,
+ "absolute_body_offset": 558,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "52c7ff",
+ "operands": {
+ "relative_u16": 65479,
+ "relative_signed": -57,
+ "target_offset": 292
+ }
+ },
+ {
+ "offset": 349,
+ "absolute_body_offset": 561,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6ec6",
+ "operands": {
+ "value_u8": 198
+ }
+ },
+ {
+ "offset": 351,
+ "absolute_body_offset": 563,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b3600",
+ "operands": {
+ "line_number": 54
+ }
+ },
+ {
+ "offset": 354,
+ "absolute_body_offset": 566,
+ "opcode": 80,
+ "mnemonic": "ret",
+ "raw_bytes": "50",
+ "operands": {}
+ }
+ ],
+ "debug_symbols": [
+ {
+ "index": 0,
+ "unknown1": 1,
+ "type_id": 105,
+ "type_char": "i",
+ "bp_offset": 0,
+ "bp_repr": "[BP+00h]",
+ "unknown3": 0,
+ "name": "referent"
+ },
+ {
+ "index": 1,
+ "unknown1": 0,
+ "type_id": 105,
+ "type_char": "i",
+ "bp_offset": 10,
+ "bp_repr": "[BP+0Ah]",
+ "unknown3": 0,
+ "name": "var"
+ },
+ {
+ "index": 2,
+ "unknown1": 0,
+ "type_id": 36,
+ "type_char": "$",
+ "bp_offset": 254,
+ "bp_repr": "[BP-02h]",
+ "unknown3": 2,
+ "name": "item"
+ },
+ {
+ "index": 3,
+ "unknown1": 0,
+ "type_id": 36,
+ "type_char": "$",
+ "bp_offset": 252,
+ "bp_repr": "[BP-04h]",
+ "unknown3": 2,
+ "name": "npc"
+ }
+ ],
+ "field_tags": [],
+ "annotation_hints": {
+ "runtime_family": "slot-backed-owner-loaded-body",
+ "payload_shape_hint": "word",
+ "compiled_anchors": [
+ {
+ "address": "000d:46ec",
+ "role": "context_create_from_slot"
+ },
+ {
+ "address": "000d:0988",
+ "role": "referent_chain_mutator"
+ },
+ {
+ "address": "000d:177c",
+ "role": "push_frame_word_literal"
+ },
+ {
+ "address": "000d:1acb",
+ "role": "compare_stream_dword_and_push_bool"
+ },
+ {
+ "address": "000d:208b",
+ "role": "materialize_or_forward_value"
+ },
+ {
+ "address": "000d:21ed",
+ "role": "prepend_inline_payload"
+ },
+ {
+ "address": "000d:22bc",
+ "role": "matrix_pushback_stage"
+ },
+ {
+ "address": "000d:2104",
+ "role": "finalize_to_outptr"
+ },
+ {
+ "address": "000d:ebe3",
+ "role": "opcode_sequence_run"
+ }
+ ],
+ "runtime_stage_hints": [
+ {
+ "stage_address": "000d:177c",
+ "ir_name": "PUSH_FRAME_WORD_LITERAL",
+ "opcode_or_lane": "same FUN_000d_ebe3 sequencer family",
+ "payload_shape": "word scalar pushed to stream stack",
+ "evidence": "000d:177c subtracts 2 from [context+0xcc] and stores frame-local word before entity_vm_opcode_finish"
+ },
+ {
+ "stage_address": "000d:1acb",
+ "ir_name": "COMPARE_STREAM_DWORD_AND_PUSH_BOOL",
+ "opcode_or_lane": "same FUN_000d_ebe3 sequencer family",
+ "payload_shape": "stream dword pair consumed, predicate word emitted",
+ "evidence": "000d:1acb reads one 32-bit pair from stream, compares against AX:DX, pushes boolean word result"
+ },
+ {
+ "stage_address": "000d:21ed",
+ "ir_name": "PREPEND_INLINE_PAYLOAD",
+ "opcode_or_lane": "inline payload substage",
+ "payload_shape": "caller-owned blob copied into context +0x102 buffer",
+ "evidence": "000d:21ed prepends caller bytes into backward-growing context buffer before metadata-driven follow-on work"
+ },
+ {
+ "stage_address": "000d:22bc",
+ "ir_name": "BUILD_ENTITY_LINK_MATRIX",
+ "opcode_or_lane": "inline payload follow-on stage",
+ "payload_shape": "two signed metadata bytes plus streamed entity/link ids",
+ "evidence": "000d:22bc consumes two signed bytes from +0xd6/+0xd8 and streamed words for repeated entity_link calls"
+ },
+ {
+ "stage_address": "000d:22bc",
+ "ir_name": "EMIT_OR_PUSHBACK_RESULT",
+ "opcode_or_lane": "inline payload follow-on stage",
+ "payload_shape": "stream writeback filter",
+ "evidence": "000d:23da..2421 pushes back only results without 0x0400 list flag before opcode finish"
+ },
+ {
+ "stage_address": "000d:2104",
+ "ir_name": "FINALIZE_MIXED_VALUE_TO_OUTPTR",
+ "opcode_or_lane": "same FUN_000d_ebe3 sequencer family",
+ "payload_shape": "mixed immediate/object scalar return",
+ "evidence": "000d:2104 writes either frame-local dword or object word with high word cleared to caller out-ptr"
+ }
+ ],
+ "slot_taxonomy": {
+ "slot": 10,
+ "event_name_hint": "equip"
+ }
+ }
+}
+function alarmhat_equip() /* entry=321 class_id=0x0561 slot=0x0A */
+{
+ var
+ referent, /* [BP+00h] type=0x69 */
+ var, /* [BP+0Ah] type=0x69 */
+ item, /* [BP-02h] type=0x24 */
+ npc; /* [BP-04h] type=0x24 */
+
+ set_info(0x0211, *(arg_06));
+ process_exclude();
+ if (!Item.getFrame(arg_06)) {
+ for item in nearby_items(shape=0x04D0, origin=arg_06) {
+ if (Item.getFrame(item) == 0) {
+ suspend;
+ }
+ /* loopnext */
+ }
+ return;
+ }
+ else if (Item.isEntirelyOnScreen(arg_06)) {
+ for npc in nearby_items(family=6, origin=arg_06) {
+ if (!Item.isNpc(npc)) {
+ if ((Item.getZ(npc) > (Item.getZ(arg_06) - 10)) && (Item.getZ(npc) >= (Item.getZ(arg_06) + 10))) {
+ return;
+ }
+ }
+ /* loopnext */
+ }
+ for item in nearby_items(shape=0x04D0, origin=arg_06) {
+ if (Item.getFrame(item) == 0) {
+ suspend;
+ }
+ /* loopnext */
+ }
+ }
+ return;
+}
+
diff --git a/blastpac_0x01_pseudocode.txt b/blastpac_0x01_pseudocode.txt
new file mode 100644
index 0000000..83aa980
--- /dev/null
+++ b/blastpac_0x01_pseudocode.txt
@@ -0,0 +1,6224 @@
+{
+ "schema_version": "crusader-usecode-ir-v1-poc",
+ "source": {
+ "game_variant": "regret",
+ "flex_path": "USECODE/EUSECODE.FLX",
+ "extracted_root": "USECODE/EUSECODE_extracted",
+ "chunk_file": "USECODE/EUSECODE_extracted/chunks/chunk_207_table_1D68_off_015048_len_00106A.bin"
+ },
+ "class": {
+ "entry_index": 207,
+ "object_index": 925,
+ "class_id": 923,
+ "class_name": "BLASTPAC",
+ "raw_code_base_u32": 218,
+ "code_base_minus_one": 217,
+ "conservative_event_count": 33
+ },
+ "event": {
+ "slot": 1,
+ "event_name_hint": "use",
+ "raw_event_entry_word": 1560,
+ "raw_code_offset": 1,
+ "derived_body_start": 218,
+ "derived_body_end": 1778,
+ "derived_body_length": 1560,
+ "repeated_template_status": ""
+ },
+ "body": {
+ "end_reason": "debug_symbols_then_end",
+ "raw_body_sha1": "16914345598ff45a23b998c90a2a31724a81758e",
+ "unknown_trailing_bytes": "",
+ "decoded_op_count": 560,
+ "debug_symbol_offset": 1447,
+ "debug_symbol_count": 10,
+ "field_tag_count": 0
+ },
+ "ops": [
+ {
+ "offset": 0,
+ "absolute_body_offset": 218,
+ "opcode": 90,
+ "mnemonic": "init",
+ "raw_bytes": "5a11",
+ "operands": {
+ "local_bytes": 17
+ }
+ },
+ {
+ "offset": 2,
+ "absolute_body_offset": 220,
+ "opcode": 92,
+ "mnemonic": "symbol_info",
+ "raw_bytes": "5ca205424c41535450414300",
+ "operands": {
+ "symbol_offset": 1447,
+ "symbol": "BLASTPAC",
+ "trailing_zero": 0
+ }
+ },
+ {
+ "offset": 14,
+ "absolute_body_offset": 232,
+ "opcode": 11,
+ "mnemonic": "push_word_immediate",
+ "raw_bytes": "0b0702",
+ "operands": {
+ "value_u16": 519
+ }
+ },
+ {
+ "offset": 17,
+ "absolute_body_offset": 235,
+ "opcode": 64,
+ "mnemonic": "push_local_dword",
+ "raw_bytes": "4006",
+ "operands": {
+ "bp_offset": 6,
+ "target": "[BP+06h]"
+ }
+ },
+ {
+ "offset": 19,
+ "absolute_body_offset": 237,
+ "opcode": 76,
+ "mnemonic": "push_indirect",
+ "raw_bytes": "4c02",
+ "operands": {
+ "size": 2
+ }
+ },
+ {
+ "offset": 21,
+ "absolute_body_offset": 239,
+ "opcode": 119,
+ "mnemonic": "set_info",
+ "raw_bytes": "77",
+ "operands": {}
+ },
+ {
+ "offset": 22,
+ "absolute_body_offset": 240,
+ "opcode": 120,
+ "mnemonic": "process_exclude",
+ "raw_bytes": "78",
+ "operands": {}
+ },
+ {
+ "offset": 23,
+ "absolute_body_offset": 241,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b1300",
+ "operands": {
+ "line_number": 19
+ }
+ },
+ {
+ "offset": 26,
+ "absolute_body_offset": 244,
+ "opcode": 64,
+ "mnemonic": "push_local_dword",
+ "raw_bytes": "4006",
+ "operands": {
+ "bp_offset": 6,
+ "target": "[BP+06h]"
+ }
+ },
+ {
+ "offset": 28,
+ "absolute_body_offset": 246,
+ "opcode": 76,
+ "mnemonic": "push_indirect",
+ "raw_bytes": "4c02",
+ "operands": {
+ "size": 2
+ }
+ },
+ {
+ "offset": 30,
+ "absolute_body_offset": 248,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01fd",
+ "operands": {
+ "bp_offset": 253,
+ "target": "[BP-03h]"
+ }
+ },
+ {
+ "offset": 32,
+ "absolute_body_offset": 250,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b1600",
+ "operands": {
+ "line_number": 22
+ }
+ },
+ {
+ "offset": 35,
+ "absolute_body_offset": 253,
+ "opcode": 11,
+ "mnemonic": "push_word_immediate",
+ "raw_bytes": "0bf000",
+ "operands": {
+ "value_u16": 240
+ }
+ },
+ {
+ "offset": 38,
+ "absolute_body_offset": 256,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a00",
+ "operands": {
+ "value_u8": 0,
+ "value_signed": 0
+ }
+ },
+ {
+ "offset": 40,
+ "absolute_body_offset": 258,
+ "opcode": 119,
+ "mnemonic": "set_info",
+ "raw_bytes": "77",
+ "operands": {}
+ },
+ {
+ "offset": 41,
+ "absolute_body_offset": 259,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b1900",
+ "operands": {
+ "line_number": 25
+ }
+ },
+ {
+ "offset": 44,
+ "absolute_body_offset": 262,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 47,
+ "absolute_body_offset": 265,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041d00",
+ "operands": {
+ "intrinsic_ordinal": 29,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Item::push(void)"
+ }
+ },
+ {
+ "offset": 51,
+ "absolute_body_offset": 269,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 53,
+ "absolute_body_offset": 271,
+ "opcode": 94,
+ "mnemonic": "push_retval_word",
+ "raw_bytes": "5e",
+ "operands": {}
+ },
+ {
+ "offset": 54,
+ "absolute_body_offset": 272,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f5",
+ "operands": {
+ "bp_offset": 245,
+ "target": "[BP-0Bh]"
+ }
+ },
+ {
+ "offset": 56,
+ "absolute_body_offset": 274,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b1c00",
+ "operands": {
+ "line_number": 28
+ }
+ },
+ {
+ "offset": 59,
+ "absolute_body_offset": 277,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a01",
+ "operands": {
+ "value_u8": 1,
+ "value_signed": 1
+ }
+ },
+ {
+ "offset": 61,
+ "absolute_body_offset": 279,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f020c00",
+ "operands": {
+ "intrinsic_ordinal": 12,
+ "arg_bytes": 2,
+ "intrinsic_name_hint": "Item::destroy(void)"
+ }
+ },
+ {
+ "offset": 65,
+ "absolute_body_offset": 283,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efe",
+ "operands": {
+ "value_u8": 254
+ }
+ },
+ {
+ "offset": 67,
+ "absolute_body_offset": 285,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b1d00",
+ "operands": {
+ "line_number": 29
+ }
+ },
+ {
+ "offset": 70,
+ "absolute_body_offset": 288,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 73,
+ "absolute_body_offset": 291,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f043300",
+ "operands": {
+ "intrinsic_ordinal": 51,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Intrinsic0033()"
+ }
+ },
+ {
+ "offset": 77,
+ "absolute_body_offset": 295,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 79,
+ "absolute_body_offset": 297,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 80,
+ "absolute_body_offset": 298,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "512600",
+ "operands": {
+ "relative_u16": 38,
+ "relative_signed": 38,
+ "target_offset": 121
+ }
+ },
+ {
+ "offset": 83,
+ "absolute_body_offset": 301,
+ "opcode": 89,
+ "mnemonic": "push_pid",
+ "raw_bytes": "59",
+ "operands": {}
+ },
+ {
+ "offset": 84,
+ "absolute_body_offset": 302,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a02",
+ "operands": {
+ "value_u8": 2,
+ "value_signed": 2
+ }
+ },
+ {
+ "offset": 86,
+ "absolute_body_offset": 304,
+ "opcode": 12,
+ "mnemonic": "push_dword_immediate",
+ "raw_bytes": "0c00000000",
+ "operands": {
+ "value_u32": 0
+ }
+ },
+ {
+ "offset": 91,
+ "absolute_body_offset": 309,
+ "opcode": 87,
+ "mnemonic": "spawn",
+ "raw_bytes": "5702000c0a3200",
+ "operands": {
+ "arg_bytes": 2,
+ "this_size": 0,
+ "target_class_id": 2572,
+ "target_event_slot": 50,
+ "target_event_name_hint": null,
+ "target_class_name_hint": "FREE"
+ }
+ },
+ {
+ "offset": 98,
+ "absolute_body_offset": 316,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efe",
+ "operands": {
+ "value_u8": 254
+ }
+ },
+ {
+ "offset": 100,
+ "absolute_body_offset": 318,
+ "opcode": 94,
+ "mnemonic": "push_retval_word",
+ "raw_bytes": "5e",
+ "operands": {}
+ },
+ {
+ "offset": 101,
+ "absolute_body_offset": 319,
+ "opcode": 84,
+ "mnemonic": "implies",
+ "raw_bytes": "540101",
+ "operands": {
+ "arg0": 1,
+ "arg1": 1
+ }
+ },
+ {
+ "offset": 104,
+ "absolute_body_offset": 322,
+ "opcode": 18,
+ "mnemonic": "pop_temp",
+ "raw_bytes": "12",
+ "operands": {}
+ },
+ {
+ "offset": 105,
+ "absolute_body_offset": 323,
+ "opcode": 83,
+ "mnemonic": "suspend",
+ "raw_bytes": "53",
+ "operands": {}
+ },
+ {
+ "offset": 106,
+ "absolute_body_offset": 324,
+ "opcode": 92,
+ "mnemonic": "symbol_info",
+ "raw_bytes": "5c3a05424c41535450414300",
+ "operands": {
+ "symbol_offset": 1447,
+ "symbol": "BLASTPAC",
+ "trailing_zero": 0
+ }
+ },
+ {
+ "offset": 118,
+ "absolute_body_offset": 336,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "52caff",
+ "operands": {
+ "relative_u16": 65482,
+ "relative_signed": -54,
+ "target_offset": 67
+ }
+ },
+ {
+ "offset": 121,
+ "absolute_body_offset": 339,
+ "opcode": 116,
+ "mnemonic": "loopscr",
+ "raw_bytes": "7424",
+ "operands": {
+ "value_u8": 36
+ }
+ },
+ {
+ "offset": 123,
+ "absolute_body_offset": 341,
+ "opcode": 116,
+ "mnemonic": "loopscr",
+ "raw_bytes": "743d",
+ "operands": {
+ "value_u8": 61
+ }
+ },
+ {
+ "offset": 125,
+ "absolute_body_offset": 343,
+ "opcode": 116,
+ "mnemonic": "loopscr",
+ "raw_bytes": "7440",
+ "operands": {
+ "value_u8": 64
+ }
+ },
+ {
+ "offset": 127,
+ "absolute_body_offset": 345,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b1f00",
+ "operands": {
+ "line_number": 31
+ }
+ },
+ {
+ "offset": 130,
+ "absolute_body_offset": 348,
+ "opcode": 11,
+ "mnemonic": "push_word_immediate",
+ "raw_bytes": "0b3a05",
+ "operands": {
+ "value_u16": 1338
+ }
+ },
+ {
+ "offset": 133,
+ "absolute_body_offset": 351,
+ "opcode": 116,
+ "mnemonic": "loopscr",
+ "raw_bytes": "7425",
+ "operands": {
+ "value_u8": 37
+ }
+ },
+ {
+ "offset": 135,
+ "absolute_body_offset": 353,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a05",
+ "operands": {
+ "value_u8": 5,
+ "value_signed": 5
+ }
+ },
+ {
+ "offset": 137,
+ "absolute_body_offset": 355,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a20",
+ "operands": {
+ "value_u8": 32,
+ "value_signed": 32
+ }
+ },
+ {
+ "offset": 139,
+ "absolute_body_offset": 357,
+ "opcode": 30,
+ "mnemonic": "mul",
+ "raw_bytes": "1e",
+ "operands": {}
+ },
+ {
+ "offset": 140,
+ "absolute_body_offset": 358,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b2000",
+ "operands": {
+ "line_number": 32
+ }
+ },
+ {
+ "offset": 143,
+ "absolute_body_offset": 361,
+ "opcode": 78,
+ "mnemonic": "push_global",
+ "raw_bytes": "4e3c0002",
+ "operands": {
+ "global_id": 60,
+ "size": 2
+ }
+ },
+ {
+ "offset": 147,
+ "absolute_body_offset": 365,
+ "opcode": 112,
+ "mnemonic": "loop",
+ "raw_bytes": "70f90602",
+ "operands": {
+ "current_var": 249,
+ "string_bytes": 6,
+ "loop_type": 2
+ }
+ },
+ {
+ "offset": 151,
+ "absolute_body_offset": 369,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "51bf00",
+ "operands": {
+ "relative_u16": 191,
+ "relative_signed": 191,
+ "target_offset": 345
+ }
+ },
+ {
+ "offset": 154,
+ "absolute_body_offset": 372,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b2100",
+ "operands": {
+ "line_number": 33
+ }
+ },
+ {
+ "offset": 157,
+ "absolute_body_offset": 375,
+ "opcode": 63,
+ "mnemonic": "push_local_word",
+ "raw_bytes": "3ff9",
+ "operands": {
+ "bp_offset": 249,
+ "target": "[BP-07h]"
+ }
+ },
+ {
+ "offset": 159,
+ "absolute_body_offset": 377,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01fb",
+ "operands": {
+ "bp_offset": 251,
+ "target": "[BP-05h]"
+ }
+ },
+ {
+ "offset": 161,
+ "absolute_body_offset": 379,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b2700",
+ "operands": {
+ "line_number": 39
+ }
+ },
+ {
+ "offset": 164,
+ "absolute_body_offset": 382,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b2500",
+ "operands": {
+ "line_number": 37
+ }
+ },
+ {
+ "offset": 167,
+ "absolute_body_offset": 385,
+ "opcode": 63,
+ "mnemonic": "push_local_word",
+ "raw_bytes": "3ffb",
+ "operands": {
+ "bp_offset": 251,
+ "target": "[BP-05h]"
+ }
+ },
+ {
+ "offset": 169,
+ "absolute_body_offset": 387,
+ "opcode": 78,
+ "mnemonic": "push_global",
+ "raw_bytes": "4e3c0002",
+ "operands": {
+ "global_id": 60,
+ "size": 2
+ }
+ },
+ {
+ "offset": 173,
+ "absolute_body_offset": 391,
+ "opcode": 17,
+ "mnemonic": "call_class_event",
+ "raw_bytes": "110c0a2900",
+ "operands": {
+ "target_class_id": 2572,
+ "target_event_slot": 41,
+ "target_event_name_hint": null,
+ "target_class_name_hint": "FREE"
+ }
+ },
+ {
+ "offset": 178,
+ "absolute_body_offset": 396,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 180,
+ "absolute_body_offset": 398,
+ "opcode": 94,
+ "mnemonic": "push_retval_word",
+ "raw_bytes": "5e",
+ "operands": {}
+ },
+ {
+ "offset": 181,
+ "absolute_body_offset": 399,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a03",
+ "operands": {
+ "value_u8": 3,
+ "value_signed": 3
+ }
+ },
+ {
+ "offset": 183,
+ "absolute_body_offset": 401,
+ "opcode": 44,
+ "mnemonic": "gt",
+ "raw_bytes": "2c",
+ "operands": {}
+ },
+ {
+ "offset": 184,
+ "absolute_body_offset": 402,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b2600",
+ "operands": {
+ "line_number": 38
+ }
+ },
+ {
+ "offset": 187,
+ "absolute_body_offset": 405,
+ "opcode": 63,
+ "mnemonic": "push_local_word",
+ "raw_bytes": "3ff7",
+ "operands": {
+ "bp_offset": 247,
+ "target": "[BP-09h]"
+ }
+ },
+ {
+ "offset": 189,
+ "absolute_body_offset": 407,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a06",
+ "operands": {
+ "value_u8": 6,
+ "value_signed": 6
+ }
+ },
+ {
+ "offset": 191,
+ "absolute_body_offset": 409,
+ "opcode": 54,
+ "mnemonic": "ne",
+ "raw_bytes": "36",
+ "operands": {}
+ },
+ {
+ "offset": 192,
+ "absolute_body_offset": 410,
+ "opcode": 50,
+ "mnemonic": "and",
+ "raw_bytes": "32",
+ "operands": {}
+ },
+ {
+ "offset": 193,
+ "absolute_body_offset": 411,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "515e00",
+ "operands": {
+ "relative_u16": 94,
+ "relative_signed": 94,
+ "target_offset": 290
+ }
+ },
+ {
+ "offset": 196,
+ "absolute_body_offset": 414,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b2800",
+ "operands": {
+ "line_number": 40
+ }
+ },
+ {
+ "offset": 199,
+ "absolute_body_offset": 417,
+ "opcode": 89,
+ "mnemonic": "push_pid",
+ "raw_bytes": "59",
+ "operands": {}
+ },
+ {
+ "offset": 200,
+ "absolute_body_offset": 418,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a01",
+ "operands": {
+ "value_u8": 1,
+ "value_signed": 1
+ }
+ },
+ {
+ "offset": 202,
+ "absolute_body_offset": 420,
+ "opcode": 75,
+ "mnemonic": "push_local_addr",
+ "raw_bytes": "4bfb",
+ "operands": {
+ "bp_offset": 251,
+ "target": "[BP-05h]"
+ }
+ },
+ {
+ "offset": 204,
+ "absolute_body_offset": 422,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041400",
+ "operands": {
+ "intrinsic_ordinal": 20,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Item::legalCreateAtCoords(uint16,uint16,uint16,uint16,uint16)"
+ }
+ },
+ {
+ "offset": 208,
+ "absolute_body_offset": 426,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 210,
+ "absolute_body_offset": 428,
+ "opcode": 94,
+ "mnemonic": "push_retval_word",
+ "raw_bytes": "5e",
+ "operands": {}
+ },
+ {
+ "offset": 211,
+ "absolute_body_offset": 429,
+ "opcode": 75,
+ "mnemonic": "push_local_addr",
+ "raw_bytes": "4bfb",
+ "operands": {
+ "bp_offset": 251,
+ "target": "[BP-05h]"
+ }
+ },
+ {
+ "offset": 213,
+ "absolute_body_offset": 431,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041300",
+ "operands": {
+ "intrinsic_ordinal": 19,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "UCMachine::I_rndRange()"
+ }
+ },
+ {
+ "offset": 217,
+ "absolute_body_offset": 435,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 219,
+ "absolute_body_offset": 437,
+ "opcode": 94,
+ "mnemonic": "push_retval_word",
+ "raw_bytes": "5e",
+ "operands": {}
+ },
+ {
+ "offset": 220,
+ "absolute_body_offset": 438,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 223,
+ "absolute_body_offset": 441,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041400",
+ "operands": {
+ "intrinsic_ordinal": 20,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Item::legalCreateAtCoords(uint16,uint16,uint16,uint16,uint16)"
+ }
+ },
+ {
+ "offset": 227,
+ "absolute_body_offset": 445,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 229,
+ "absolute_body_offset": 447,
+ "opcode": 94,
+ "mnemonic": "push_retval_word",
+ "raw_bytes": "5e",
+ "operands": {}
+ },
+ {
+ "offset": 230,
+ "absolute_body_offset": 448,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 233,
+ "absolute_body_offset": 451,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041300",
+ "operands": {
+ "intrinsic_ordinal": 19,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "UCMachine::I_rndRange()"
+ }
+ },
+ {
+ "offset": 237,
+ "absolute_body_offset": 455,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 239,
+ "absolute_body_offset": 457,
+ "opcode": 94,
+ "mnemonic": "push_retval_word",
+ "raw_bytes": "5e",
+ "operands": {}
+ },
+ {
+ "offset": 240,
+ "absolute_body_offset": 458,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f083400",
+ "operands": {
+ "intrinsic_ordinal": 52,
+ "arg_bytes": 8,
+ "intrinsic_name_hint": "Item::getDirToItem(uint16)"
+ }
+ },
+ {
+ "offset": 244,
+ "absolute_body_offset": 462,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6ef8",
+ "operands": {
+ "value_u8": 248
+ }
+ },
+ {
+ "offset": 246,
+ "absolute_body_offset": 464,
+ "opcode": 94,
+ "mnemonic": "push_retval_word",
+ "raw_bytes": "5e",
+ "operands": {}
+ },
+ {
+ "offset": 247,
+ "absolute_body_offset": 465,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 250,
+ "absolute_body_offset": 468,
+ "opcode": 87,
+ "mnemonic": "spawn",
+ "raw_bytes": "570402110a2200",
+ "operands": {
+ "arg_bytes": 4,
+ "this_size": 2,
+ "target_class_id": 2577,
+ "target_event_slot": 34,
+ "target_event_name_hint": null,
+ "target_class_name_hint": "NPC"
+ }
+ },
+ {
+ "offset": 257,
+ "absolute_body_offset": 475,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 259,
+ "absolute_body_offset": 477,
+ "opcode": 94,
+ "mnemonic": "push_retval_word",
+ "raw_bytes": "5e",
+ "operands": {}
+ },
+ {
+ "offset": 260,
+ "absolute_body_offset": 478,
+ "opcode": 84,
+ "mnemonic": "implies",
+ "raw_bytes": "540101",
+ "operands": {
+ "arg0": 1,
+ "arg1": 1
+ }
+ },
+ {
+ "offset": 263,
+ "absolute_body_offset": 481,
+ "opcode": 18,
+ "mnemonic": "pop_temp",
+ "raw_bytes": "12",
+ "operands": {}
+ },
+ {
+ "offset": 264,
+ "absolute_body_offset": 482,
+ "opcode": 83,
+ "mnemonic": "suspend",
+ "raw_bytes": "53",
+ "operands": {}
+ },
+ {
+ "offset": 265,
+ "absolute_body_offset": 483,
+ "opcode": 92,
+ "mnemonic": "symbol_info",
+ "raw_bytes": "5c9b04424c41535450414300",
+ "operands": {
+ "symbol_offset": 1447,
+ "symbol": "BLASTPAC",
+ "trailing_zero": 0
+ }
+ },
+ {
+ "offset": 277,
+ "absolute_body_offset": 495,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b2900",
+ "operands": {
+ "line_number": 41
+ }
+ },
+ {
+ "offset": 280,
+ "absolute_body_offset": 498,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a01",
+ "operands": {
+ "value_u8": 1,
+ "value_signed": 1
+ }
+ },
+ {
+ "offset": 282,
+ "absolute_body_offset": 500,
+ "opcode": 63,
+ "mnemonic": "push_local_word",
+ "raw_bytes": "3ff7",
+ "operands": {
+ "bp_offset": 247,
+ "target": "[BP-09h]"
+ }
+ },
+ {
+ "offset": 284,
+ "absolute_body_offset": 502,
+ "opcode": 20,
+ "mnemonic": "add",
+ "raw_bytes": "14",
+ "operands": {}
+ },
+ {
+ "offset": 285,
+ "absolute_body_offset": 503,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f7",
+ "operands": {
+ "bp_offset": 247,
+ "target": "[BP-09h]"
+ }
+ },
+ {
+ "offset": 287,
+ "absolute_body_offset": 505,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "527fff",
+ "operands": {
+ "relative_u16": 65407,
+ "relative_signed": -129,
+ "target_offset": 161
+ }
+ },
+ {
+ "offset": 290,
+ "absolute_body_offset": 508,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b2c00",
+ "operands": {
+ "line_number": 44
+ }
+ },
+ {
+ "offset": 293,
+ "absolute_body_offset": 511,
+ "opcode": 89,
+ "mnemonic": "push_pid",
+ "raw_bytes": "59",
+ "operands": {}
+ },
+ {
+ "offset": 294,
+ "absolute_body_offset": 512,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a01",
+ "operands": {
+ "value_u8": 1,
+ "value_signed": 1
+ }
+ },
+ {
+ "offset": 296,
+ "absolute_body_offset": 514,
+ "opcode": 63,
+ "mnemonic": "push_local_word",
+ "raw_bytes": "3ffb",
+ "operands": {
+ "bp_offset": 251,
+ "target": "[BP-05h]"
+ }
+ },
+ {
+ "offset": 298,
+ "absolute_body_offset": 516,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 301,
+ "absolute_body_offset": 519,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f060d00",
+ "operands": {
+ "intrinsic_ordinal": 13,
+ "arg_bytes": 6,
+ "intrinsic_name_hint": "Intrinsic000D()"
+ }
+ },
+ {
+ "offset": 305,
+ "absolute_body_offset": 523,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efa",
+ "operands": {
+ "value_u8": 250
+ }
+ },
+ {
+ "offset": 307,
+ "absolute_body_offset": 525,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 308,
+ "absolute_body_offset": 526,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 311,
+ "absolute_body_offset": 529,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f080e00",
+ "operands": {
+ "intrinsic_ordinal": 14,
+ "arg_bytes": 8,
+ "intrinsic_name_hint": "Item::getX(void)"
+ }
+ },
+ {
+ "offset": 315,
+ "absolute_body_offset": 533,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6ef8",
+ "operands": {
+ "value_u8": 248
+ }
+ },
+ {
+ "offset": 317,
+ "absolute_body_offset": 535,
+ "opcode": 94,
+ "mnemonic": "push_retval_word",
+ "raw_bytes": "5e",
+ "operands": {}
+ },
+ {
+ "offset": 318,
+ "absolute_body_offset": 536,
+ "opcode": 84,
+ "mnemonic": "implies",
+ "raw_bytes": "540101",
+ "operands": {
+ "arg0": 1,
+ "arg1": 1
+ }
+ },
+ {
+ "offset": 321,
+ "absolute_body_offset": 539,
+ "opcode": 18,
+ "mnemonic": "pop_temp",
+ "raw_bytes": "12",
+ "operands": {}
+ },
+ {
+ "offset": 322,
+ "absolute_body_offset": 540,
+ "opcode": 83,
+ "mnemonic": "suspend",
+ "raw_bytes": "53",
+ "operands": {}
+ },
+ {
+ "offset": 323,
+ "absolute_body_offset": 541,
+ "opcode": 92,
+ "mnemonic": "symbol_info",
+ "raw_bytes": "5c6104424c41535450414300",
+ "operands": {
+ "symbol_offset": 1447,
+ "symbol": "BLASTPAC",
+ "trailing_zero": 0
+ }
+ },
+ {
+ "offset": 335,
+ "absolute_body_offset": 553,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b2d00",
+ "operands": {
+ "line_number": 45
+ }
+ },
+ {
+ "offset": 338,
+ "absolute_body_offset": 556,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "520400",
+ "operands": {
+ "relative_u16": 4,
+ "relative_signed": 4,
+ "target_offset": 345
+ }
+ },
+ {
+ "offset": 341,
+ "absolute_body_offset": 559,
+ "opcode": 115,
+ "mnemonic": "loopnext",
+ "raw_bytes": "73",
+ "operands": {}
+ },
+ {
+ "offset": 342,
+ "absolute_body_offset": 560,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "523eff",
+ "operands": {
+ "relative_u16": 65342,
+ "relative_signed": -194,
+ "target_offset": 151
+ }
+ },
+ {
+ "offset": 345,
+ "absolute_body_offset": 563,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6ec6",
+ "operands": {
+ "value_u8": 198
+ }
+ },
+ {
+ "offset": 347,
+ "absolute_body_offset": 565,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 350,
+ "absolute_body_offset": 568,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041c00",
+ "operands": {
+ "intrinsic_ordinal": 28,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Actor::I_setDead()"
+ }
+ },
+ {
+ "offset": 354,
+ "absolute_body_offset": 572,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 356,
+ "absolute_body_offset": 574,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 357,
+ "absolute_body_offset": 575,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a00",
+ "operands": {
+ "value_u8": 0,
+ "value_signed": 0
+ }
+ },
+ {
+ "offset": 359,
+ "absolute_body_offset": 577,
+ "opcode": 36,
+ "mnemonic": "cmp",
+ "raw_bytes": "24",
+ "operands": {}
+ },
+ {
+ "offset": 360,
+ "absolute_body_offset": 578,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "510e00",
+ "operands": {
+ "relative_u16": 14,
+ "relative_signed": 14,
+ "target_offset": 377
+ }
+ },
+ {
+ "offset": 363,
+ "absolute_body_offset": 581,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b3400",
+ "operands": {
+ "line_number": 52
+ }
+ },
+ {
+ "offset": 366,
+ "absolute_body_offset": 584,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0aff",
+ "operands": {
+ "value_u8": 255,
+ "value_signed": -1
+ }
+ },
+ {
+ "offset": 368,
+ "absolute_body_offset": 586,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f3",
+ "operands": {
+ "bp_offset": 243,
+ "target": "[BP-0Dh]"
+ }
+ },
+ {
+ "offset": 370,
+ "absolute_body_offset": 588,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0afd",
+ "operands": {
+ "value_u8": 253,
+ "value_signed": -3
+ }
+ },
+ {
+ "offset": 372,
+ "absolute_body_offset": 590,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f1",
+ "operands": {
+ "bp_offset": 241,
+ "target": "[BP-0Fh]"
+ }
+ },
+ {
+ "offset": 374,
+ "absolute_body_offset": 592,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "52c201",
+ "operands": {
+ "relative_u16": 450,
+ "relative_signed": 450,
+ "target_offset": 827
+ }
+ },
+ {
+ "offset": 377,
+ "absolute_body_offset": 595,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 380,
+ "absolute_body_offset": 598,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041c00",
+ "operands": {
+ "intrinsic_ordinal": 28,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Actor::I_setDead()"
+ }
+ },
+ {
+ "offset": 384,
+ "absolute_body_offset": 602,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 386,
+ "absolute_body_offset": 604,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 387,
+ "absolute_body_offset": 605,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a01",
+ "operands": {
+ "value_u8": 1,
+ "value_signed": 1
+ }
+ },
+ {
+ "offset": 389,
+ "absolute_body_offset": 607,
+ "opcode": 36,
+ "mnemonic": "cmp",
+ "raw_bytes": "24",
+ "operands": {}
+ },
+ {
+ "offset": 390,
+ "absolute_body_offset": 608,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "510e00",
+ "operands": {
+ "relative_u16": 14,
+ "relative_signed": 14,
+ "target_offset": 407
+ }
+ },
+ {
+ "offset": 393,
+ "absolute_body_offset": 611,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b3800",
+ "operands": {
+ "line_number": 56
+ }
+ },
+ {
+ "offset": 396,
+ "absolute_body_offset": 614,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a00",
+ "operands": {
+ "value_u8": 0,
+ "value_signed": 0
+ }
+ },
+ {
+ "offset": 398,
+ "absolute_body_offset": 616,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f3",
+ "operands": {
+ "bp_offset": 243,
+ "target": "[BP-0Dh]"
+ }
+ },
+ {
+ "offset": 400,
+ "absolute_body_offset": 618,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0afd",
+ "operands": {
+ "value_u8": 253,
+ "value_signed": -3
+ }
+ },
+ {
+ "offset": 402,
+ "absolute_body_offset": 620,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f1",
+ "operands": {
+ "bp_offset": 241,
+ "target": "[BP-0Fh]"
+ }
+ },
+ {
+ "offset": 404,
+ "absolute_body_offset": 622,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "52a401",
+ "operands": {
+ "relative_u16": 420,
+ "relative_signed": 420,
+ "target_offset": 827
+ }
+ },
+ {
+ "offset": 407,
+ "absolute_body_offset": 625,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 410,
+ "absolute_body_offset": 628,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041c00",
+ "operands": {
+ "intrinsic_ordinal": 28,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Actor::I_setDead()"
+ }
+ },
+ {
+ "offset": 414,
+ "absolute_body_offset": 632,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 416,
+ "absolute_body_offset": 634,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 417,
+ "absolute_body_offset": 635,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a02",
+ "operands": {
+ "value_u8": 2,
+ "value_signed": 2
+ }
+ },
+ {
+ "offset": 419,
+ "absolute_body_offset": 637,
+ "opcode": 36,
+ "mnemonic": "cmp",
+ "raw_bytes": "24",
+ "operands": {}
+ },
+ {
+ "offset": 420,
+ "absolute_body_offset": 638,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "510e00",
+ "operands": {
+ "relative_u16": 14,
+ "relative_signed": 14,
+ "target_offset": 437
+ }
+ },
+ {
+ "offset": 423,
+ "absolute_body_offset": 641,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b3c00",
+ "operands": {
+ "line_number": 60
+ }
+ },
+ {
+ "offset": 426,
+ "absolute_body_offset": 644,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a01",
+ "operands": {
+ "value_u8": 1,
+ "value_signed": 1
+ }
+ },
+ {
+ "offset": 428,
+ "absolute_body_offset": 646,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f3",
+ "operands": {
+ "bp_offset": 243,
+ "target": "[BP-0Dh]"
+ }
+ },
+ {
+ "offset": 430,
+ "absolute_body_offset": 648,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0afd",
+ "operands": {
+ "value_u8": 253,
+ "value_signed": -3
+ }
+ },
+ {
+ "offset": 432,
+ "absolute_body_offset": 650,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f1",
+ "operands": {
+ "bp_offset": 241,
+ "target": "[BP-0Fh]"
+ }
+ },
+ {
+ "offset": 434,
+ "absolute_body_offset": 652,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "528601",
+ "operands": {
+ "relative_u16": 390,
+ "relative_signed": 390,
+ "target_offset": 827
+ }
+ },
+ {
+ "offset": 437,
+ "absolute_body_offset": 655,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 440,
+ "absolute_body_offset": 658,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041c00",
+ "operands": {
+ "intrinsic_ordinal": 28,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Actor::I_setDead()"
+ }
+ },
+ {
+ "offset": 444,
+ "absolute_body_offset": 662,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 446,
+ "absolute_body_offset": 664,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 447,
+ "absolute_body_offset": 665,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a03",
+ "operands": {
+ "value_u8": 3,
+ "value_signed": 3
+ }
+ },
+ {
+ "offset": 449,
+ "absolute_body_offset": 667,
+ "opcode": 36,
+ "mnemonic": "cmp",
+ "raw_bytes": "24",
+ "operands": {}
+ },
+ {
+ "offset": 450,
+ "absolute_body_offset": 668,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "510e00",
+ "operands": {
+ "relative_u16": 14,
+ "relative_signed": 14,
+ "target_offset": 467
+ }
+ },
+ {
+ "offset": 453,
+ "absolute_body_offset": 671,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b4000",
+ "operands": {
+ "line_number": 64
+ }
+ },
+ {
+ "offset": 456,
+ "absolute_body_offset": 674,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a02",
+ "operands": {
+ "value_u8": 2,
+ "value_signed": 2
+ }
+ },
+ {
+ "offset": 458,
+ "absolute_body_offset": 676,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f3",
+ "operands": {
+ "bp_offset": 243,
+ "target": "[BP-0Dh]"
+ }
+ },
+ {
+ "offset": 460,
+ "absolute_body_offset": 678,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0afe",
+ "operands": {
+ "value_u8": 254,
+ "value_signed": -2
+ }
+ },
+ {
+ "offset": 462,
+ "absolute_body_offset": 680,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f1",
+ "operands": {
+ "bp_offset": 241,
+ "target": "[BP-0Fh]"
+ }
+ },
+ {
+ "offset": 464,
+ "absolute_body_offset": 682,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "526801",
+ "operands": {
+ "relative_u16": 360,
+ "relative_signed": 360,
+ "target_offset": 827
+ }
+ },
+ {
+ "offset": 467,
+ "absolute_body_offset": 685,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 470,
+ "absolute_body_offset": 688,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041c00",
+ "operands": {
+ "intrinsic_ordinal": 28,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Actor::I_setDead()"
+ }
+ },
+ {
+ "offset": 474,
+ "absolute_body_offset": 692,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 476,
+ "absolute_body_offset": 694,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 477,
+ "absolute_body_offset": 695,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a04",
+ "operands": {
+ "value_u8": 4,
+ "value_signed": 4
+ }
+ },
+ {
+ "offset": 479,
+ "absolute_body_offset": 697,
+ "opcode": 36,
+ "mnemonic": "cmp",
+ "raw_bytes": "24",
+ "operands": {}
+ },
+ {
+ "offset": 480,
+ "absolute_body_offset": 698,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "510e00",
+ "operands": {
+ "relative_u16": 14,
+ "relative_signed": 14,
+ "target_offset": 497
+ }
+ },
+ {
+ "offset": 483,
+ "absolute_body_offset": 701,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b4400",
+ "operands": {
+ "line_number": 68
+ }
+ },
+ {
+ "offset": 486,
+ "absolute_body_offset": 704,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a02",
+ "operands": {
+ "value_u8": 2,
+ "value_signed": 2
+ }
+ },
+ {
+ "offset": 488,
+ "absolute_body_offset": 706,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f3",
+ "operands": {
+ "bp_offset": 243,
+ "target": "[BP-0Dh]"
+ }
+ },
+ {
+ "offset": 490,
+ "absolute_body_offset": 708,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0aff",
+ "operands": {
+ "value_u8": 255,
+ "value_signed": -1
+ }
+ },
+ {
+ "offset": 492,
+ "absolute_body_offset": 710,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f1",
+ "operands": {
+ "bp_offset": 241,
+ "target": "[BP-0Fh]"
+ }
+ },
+ {
+ "offset": 494,
+ "absolute_body_offset": 712,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "524a01",
+ "operands": {
+ "relative_u16": 330,
+ "relative_signed": 330,
+ "target_offset": 827
+ }
+ },
+ {
+ "offset": 497,
+ "absolute_body_offset": 715,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 500,
+ "absolute_body_offset": 718,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041c00",
+ "operands": {
+ "intrinsic_ordinal": 28,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Actor::I_setDead()"
+ }
+ },
+ {
+ "offset": 504,
+ "absolute_body_offset": 722,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 506,
+ "absolute_body_offset": 724,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 507,
+ "absolute_body_offset": 725,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a05",
+ "operands": {
+ "value_u8": 5,
+ "value_signed": 5
+ }
+ },
+ {
+ "offset": 509,
+ "absolute_body_offset": 727,
+ "opcode": 36,
+ "mnemonic": "cmp",
+ "raw_bytes": "24",
+ "operands": {}
+ },
+ {
+ "offset": 510,
+ "absolute_body_offset": 728,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "510e00",
+ "operands": {
+ "relative_u16": 14,
+ "relative_signed": 14,
+ "target_offset": 527
+ }
+ },
+ {
+ "offset": 513,
+ "absolute_body_offset": 731,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b4800",
+ "operands": {
+ "line_number": 72
+ }
+ },
+ {
+ "offset": 516,
+ "absolute_body_offset": 734,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a02",
+ "operands": {
+ "value_u8": 2,
+ "value_signed": 2
+ }
+ },
+ {
+ "offset": 518,
+ "absolute_body_offset": 736,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f3",
+ "operands": {
+ "bp_offset": 243,
+ "target": "[BP-0Dh]"
+ }
+ },
+ {
+ "offset": 520,
+ "absolute_body_offset": 738,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a00",
+ "operands": {
+ "value_u8": 0,
+ "value_signed": 0
+ }
+ },
+ {
+ "offset": 522,
+ "absolute_body_offset": 740,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f1",
+ "operands": {
+ "bp_offset": 241,
+ "target": "[BP-0Fh]"
+ }
+ },
+ {
+ "offset": 524,
+ "absolute_body_offset": 742,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "522c01",
+ "operands": {
+ "relative_u16": 300,
+ "relative_signed": 300,
+ "target_offset": 827
+ }
+ },
+ {
+ "offset": 527,
+ "absolute_body_offset": 745,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 530,
+ "absolute_body_offset": 748,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041c00",
+ "operands": {
+ "intrinsic_ordinal": 28,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Actor::I_setDead()"
+ }
+ },
+ {
+ "offset": 534,
+ "absolute_body_offset": 752,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 536,
+ "absolute_body_offset": 754,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 537,
+ "absolute_body_offset": 755,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a06",
+ "operands": {
+ "value_u8": 6,
+ "value_signed": 6
+ }
+ },
+ {
+ "offset": 539,
+ "absolute_body_offset": 757,
+ "opcode": 36,
+ "mnemonic": "cmp",
+ "raw_bytes": "24",
+ "operands": {}
+ },
+ {
+ "offset": 540,
+ "absolute_body_offset": 758,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "510e00",
+ "operands": {
+ "relative_u16": 14,
+ "relative_signed": 14,
+ "target_offset": 557
+ }
+ },
+ {
+ "offset": 543,
+ "absolute_body_offset": 761,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b4c00",
+ "operands": {
+ "line_number": 76
+ }
+ },
+ {
+ "offset": 546,
+ "absolute_body_offset": 764,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a02",
+ "operands": {
+ "value_u8": 2,
+ "value_signed": 2
+ }
+ },
+ {
+ "offset": 548,
+ "absolute_body_offset": 766,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f3",
+ "operands": {
+ "bp_offset": 243,
+ "target": "[BP-0Dh]"
+ }
+ },
+ {
+ "offset": 550,
+ "absolute_body_offset": 768,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a02",
+ "operands": {
+ "value_u8": 2,
+ "value_signed": 2
+ }
+ },
+ {
+ "offset": 552,
+ "absolute_body_offset": 770,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f1",
+ "operands": {
+ "bp_offset": 241,
+ "target": "[BP-0Fh]"
+ }
+ },
+ {
+ "offset": 554,
+ "absolute_body_offset": 772,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "520e01",
+ "operands": {
+ "relative_u16": 270,
+ "relative_signed": 270,
+ "target_offset": 827
+ }
+ },
+ {
+ "offset": 557,
+ "absolute_body_offset": 775,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 560,
+ "absolute_body_offset": 778,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041c00",
+ "operands": {
+ "intrinsic_ordinal": 28,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Actor::I_setDead()"
+ }
+ },
+ {
+ "offset": 564,
+ "absolute_body_offset": 782,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 566,
+ "absolute_body_offset": 784,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 567,
+ "absolute_body_offset": 785,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a07",
+ "operands": {
+ "value_u8": 7,
+ "value_signed": 7
+ }
+ },
+ {
+ "offset": 569,
+ "absolute_body_offset": 787,
+ "opcode": 36,
+ "mnemonic": "cmp",
+ "raw_bytes": "24",
+ "operands": {}
+ },
+ {
+ "offset": 570,
+ "absolute_body_offset": 788,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "510e00",
+ "operands": {
+ "relative_u16": 14,
+ "relative_signed": 14,
+ "target_offset": 587
+ }
+ },
+ {
+ "offset": 573,
+ "absolute_body_offset": 791,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b5000",
+ "operands": {
+ "line_number": 80
+ }
+ },
+ {
+ "offset": 576,
+ "absolute_body_offset": 794,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a00",
+ "operands": {
+ "value_u8": 0,
+ "value_signed": 0
+ }
+ },
+ {
+ "offset": 578,
+ "absolute_body_offset": 796,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f3",
+ "operands": {
+ "bp_offset": 243,
+ "target": "[BP-0Dh]"
+ }
+ },
+ {
+ "offset": 580,
+ "absolute_body_offset": 798,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a02",
+ "operands": {
+ "value_u8": 2,
+ "value_signed": 2
+ }
+ },
+ {
+ "offset": 582,
+ "absolute_body_offset": 800,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f1",
+ "operands": {
+ "bp_offset": 241,
+ "target": "[BP-0Fh]"
+ }
+ },
+ {
+ "offset": 584,
+ "absolute_body_offset": 802,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "52f000",
+ "operands": {
+ "relative_u16": 240,
+ "relative_signed": 240,
+ "target_offset": 827
+ }
+ },
+ {
+ "offset": 587,
+ "absolute_body_offset": 805,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 590,
+ "absolute_body_offset": 808,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041c00",
+ "operands": {
+ "intrinsic_ordinal": 28,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Actor::I_setDead()"
+ }
+ },
+ {
+ "offset": 594,
+ "absolute_body_offset": 812,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 596,
+ "absolute_body_offset": 814,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 597,
+ "absolute_body_offset": 815,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a08",
+ "operands": {
+ "value_u8": 8,
+ "value_signed": 8
+ }
+ },
+ {
+ "offset": 599,
+ "absolute_body_offset": 817,
+ "opcode": 36,
+ "mnemonic": "cmp",
+ "raw_bytes": "24",
+ "operands": {}
+ },
+ {
+ "offset": 600,
+ "absolute_body_offset": 818,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "510e00",
+ "operands": {
+ "relative_u16": 14,
+ "relative_signed": 14,
+ "target_offset": 617
+ }
+ },
+ {
+ "offset": 603,
+ "absolute_body_offset": 821,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b5400",
+ "operands": {
+ "line_number": 84
+ }
+ },
+ {
+ "offset": 606,
+ "absolute_body_offset": 824,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0aff",
+ "operands": {
+ "value_u8": 255,
+ "value_signed": -1
+ }
+ },
+ {
+ "offset": 608,
+ "absolute_body_offset": 826,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f3",
+ "operands": {
+ "bp_offset": 243,
+ "target": "[BP-0Dh]"
+ }
+ },
+ {
+ "offset": 610,
+ "absolute_body_offset": 828,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a02",
+ "operands": {
+ "value_u8": 2,
+ "value_signed": 2
+ }
+ },
+ {
+ "offset": 612,
+ "absolute_body_offset": 830,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f1",
+ "operands": {
+ "bp_offset": 241,
+ "target": "[BP-0Fh]"
+ }
+ },
+ {
+ "offset": 614,
+ "absolute_body_offset": 832,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "52d200",
+ "operands": {
+ "relative_u16": 210,
+ "relative_signed": 210,
+ "target_offset": 827
+ }
+ },
+ {
+ "offset": 617,
+ "absolute_body_offset": 835,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 620,
+ "absolute_body_offset": 838,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041c00",
+ "operands": {
+ "intrinsic_ordinal": 28,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Actor::I_setDead()"
+ }
+ },
+ {
+ "offset": 624,
+ "absolute_body_offset": 842,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 626,
+ "absolute_body_offset": 844,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 627,
+ "absolute_body_offset": 845,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a09",
+ "operands": {
+ "value_u8": 9,
+ "value_signed": 9
+ }
+ },
+ {
+ "offset": 629,
+ "absolute_body_offset": 847,
+ "opcode": 36,
+ "mnemonic": "cmp",
+ "raw_bytes": "24",
+ "operands": {}
+ },
+ {
+ "offset": 630,
+ "absolute_body_offset": 848,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "510e00",
+ "operands": {
+ "relative_u16": 14,
+ "relative_signed": 14,
+ "target_offset": 647
+ }
+ },
+ {
+ "offset": 633,
+ "absolute_body_offset": 851,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b5800",
+ "operands": {
+ "line_number": 88
+ }
+ },
+ {
+ "offset": 636,
+ "absolute_body_offset": 854,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0afe",
+ "operands": {
+ "value_u8": 254,
+ "value_signed": -2
+ }
+ },
+ {
+ "offset": 638,
+ "absolute_body_offset": 856,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f3",
+ "operands": {
+ "bp_offset": 243,
+ "target": "[BP-0Dh]"
+ }
+ },
+ {
+ "offset": 640,
+ "absolute_body_offset": 858,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a02",
+ "operands": {
+ "value_u8": 2,
+ "value_signed": 2
+ }
+ },
+ {
+ "offset": 642,
+ "absolute_body_offset": 860,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f1",
+ "operands": {
+ "bp_offset": 241,
+ "target": "[BP-0Fh]"
+ }
+ },
+ {
+ "offset": 644,
+ "absolute_body_offset": 862,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "52b400",
+ "operands": {
+ "relative_u16": 180,
+ "relative_signed": 180,
+ "target_offset": 827
+ }
+ },
+ {
+ "offset": 647,
+ "absolute_body_offset": 865,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 650,
+ "absolute_body_offset": 868,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041c00",
+ "operands": {
+ "intrinsic_ordinal": 28,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Actor::I_setDead()"
+ }
+ },
+ {
+ "offset": 654,
+ "absolute_body_offset": 872,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 656,
+ "absolute_body_offset": 874,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 657,
+ "absolute_body_offset": 875,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a0a",
+ "operands": {
+ "value_u8": 10,
+ "value_signed": 10
+ }
+ },
+ {
+ "offset": 659,
+ "absolute_body_offset": 877,
+ "opcode": 36,
+ "mnemonic": "cmp",
+ "raw_bytes": "24",
+ "operands": {}
+ },
+ {
+ "offset": 660,
+ "absolute_body_offset": 878,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "510e00",
+ "operands": {
+ "relative_u16": 14,
+ "relative_signed": 14,
+ "target_offset": 677
+ }
+ },
+ {
+ "offset": 663,
+ "absolute_body_offset": 881,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b5c00",
+ "operands": {
+ "line_number": 92
+ }
+ },
+ {
+ "offset": 666,
+ "absolute_body_offset": 884,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0afd",
+ "operands": {
+ "value_u8": 253,
+ "value_signed": -3
+ }
+ },
+ {
+ "offset": 668,
+ "absolute_body_offset": 886,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f3",
+ "operands": {
+ "bp_offset": 243,
+ "target": "[BP-0Dh]"
+ }
+ },
+ {
+ "offset": 670,
+ "absolute_body_offset": 888,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a02",
+ "operands": {
+ "value_u8": 2,
+ "value_signed": 2
+ }
+ },
+ {
+ "offset": 672,
+ "absolute_body_offset": 890,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f1",
+ "operands": {
+ "bp_offset": 241,
+ "target": "[BP-0Fh]"
+ }
+ },
+ {
+ "offset": 674,
+ "absolute_body_offset": 892,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "529600",
+ "operands": {
+ "relative_u16": 150,
+ "relative_signed": 150,
+ "target_offset": 827
+ }
+ },
+ {
+ "offset": 677,
+ "absolute_body_offset": 895,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 680,
+ "absolute_body_offset": 898,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041c00",
+ "operands": {
+ "intrinsic_ordinal": 28,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Actor::I_setDead()"
+ }
+ },
+ {
+ "offset": 684,
+ "absolute_body_offset": 902,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 686,
+ "absolute_body_offset": 904,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 687,
+ "absolute_body_offset": 905,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a0b",
+ "operands": {
+ "value_u8": 11,
+ "value_signed": 11
+ }
+ },
+ {
+ "offset": 689,
+ "absolute_body_offset": 907,
+ "opcode": 36,
+ "mnemonic": "cmp",
+ "raw_bytes": "24",
+ "operands": {}
+ },
+ {
+ "offset": 690,
+ "absolute_body_offset": 908,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "510e00",
+ "operands": {
+ "relative_u16": 14,
+ "relative_signed": 14,
+ "target_offset": 707
+ }
+ },
+ {
+ "offset": 693,
+ "absolute_body_offset": 911,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b6000",
+ "operands": {
+ "line_number": 96
+ }
+ },
+ {
+ "offset": 696,
+ "absolute_body_offset": 914,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0afd",
+ "operands": {
+ "value_u8": 253,
+ "value_signed": -3
+ }
+ },
+ {
+ "offset": 698,
+ "absolute_body_offset": 916,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f3",
+ "operands": {
+ "bp_offset": 243,
+ "target": "[BP-0Dh]"
+ }
+ },
+ {
+ "offset": 700,
+ "absolute_body_offset": 918,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a01",
+ "operands": {
+ "value_u8": 1,
+ "value_signed": 1
+ }
+ },
+ {
+ "offset": 702,
+ "absolute_body_offset": 920,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f1",
+ "operands": {
+ "bp_offset": 241,
+ "target": "[BP-0Fh]"
+ }
+ },
+ {
+ "offset": 704,
+ "absolute_body_offset": 922,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "527800",
+ "operands": {
+ "relative_u16": 120,
+ "relative_signed": 120,
+ "target_offset": 827
+ }
+ },
+ {
+ "offset": 707,
+ "absolute_body_offset": 925,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 710,
+ "absolute_body_offset": 928,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041c00",
+ "operands": {
+ "intrinsic_ordinal": 28,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Actor::I_setDead()"
+ }
+ },
+ {
+ "offset": 714,
+ "absolute_body_offset": 932,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 716,
+ "absolute_body_offset": 934,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 717,
+ "absolute_body_offset": 935,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a0c",
+ "operands": {
+ "value_u8": 12,
+ "value_signed": 12
+ }
+ },
+ {
+ "offset": 719,
+ "absolute_body_offset": 937,
+ "opcode": 36,
+ "mnemonic": "cmp",
+ "raw_bytes": "24",
+ "operands": {}
+ },
+ {
+ "offset": 720,
+ "absolute_body_offset": 938,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "510e00",
+ "operands": {
+ "relative_u16": 14,
+ "relative_signed": 14,
+ "target_offset": 737
+ }
+ },
+ {
+ "offset": 723,
+ "absolute_body_offset": 941,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b6400",
+ "operands": {
+ "line_number": 100
+ }
+ },
+ {
+ "offset": 726,
+ "absolute_body_offset": 944,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0afd",
+ "operands": {
+ "value_u8": 253,
+ "value_signed": -3
+ }
+ },
+ {
+ "offset": 728,
+ "absolute_body_offset": 946,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f3",
+ "operands": {
+ "bp_offset": 243,
+ "target": "[BP-0Dh]"
+ }
+ },
+ {
+ "offset": 730,
+ "absolute_body_offset": 948,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a00",
+ "operands": {
+ "value_u8": 0,
+ "value_signed": 0
+ }
+ },
+ {
+ "offset": 732,
+ "absolute_body_offset": 950,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f1",
+ "operands": {
+ "bp_offset": 241,
+ "target": "[BP-0Fh]"
+ }
+ },
+ {
+ "offset": 734,
+ "absolute_body_offset": 952,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "525a00",
+ "operands": {
+ "relative_u16": 90,
+ "relative_signed": 90,
+ "target_offset": 827
+ }
+ },
+ {
+ "offset": 737,
+ "absolute_body_offset": 955,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 740,
+ "absolute_body_offset": 958,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041c00",
+ "operands": {
+ "intrinsic_ordinal": 28,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Actor::I_setDead()"
+ }
+ },
+ {
+ "offset": 744,
+ "absolute_body_offset": 962,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 746,
+ "absolute_body_offset": 964,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 747,
+ "absolute_body_offset": 965,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a0d",
+ "operands": {
+ "value_u8": 13,
+ "value_signed": 13
+ }
+ },
+ {
+ "offset": 749,
+ "absolute_body_offset": 967,
+ "opcode": 36,
+ "mnemonic": "cmp",
+ "raw_bytes": "24",
+ "operands": {}
+ },
+ {
+ "offset": 750,
+ "absolute_body_offset": 968,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "510e00",
+ "operands": {
+ "relative_u16": 14,
+ "relative_signed": 14,
+ "target_offset": 767
+ }
+ },
+ {
+ "offset": 753,
+ "absolute_body_offset": 971,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b6800",
+ "operands": {
+ "line_number": 104
+ }
+ },
+ {
+ "offset": 756,
+ "absolute_body_offset": 974,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0afd",
+ "operands": {
+ "value_u8": 253,
+ "value_signed": -3
+ }
+ },
+ {
+ "offset": 758,
+ "absolute_body_offset": 976,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f3",
+ "operands": {
+ "bp_offset": 243,
+ "target": "[BP-0Dh]"
+ }
+ },
+ {
+ "offset": 760,
+ "absolute_body_offset": 978,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0aff",
+ "operands": {
+ "value_u8": 255,
+ "value_signed": -1
+ }
+ },
+ {
+ "offset": 762,
+ "absolute_body_offset": 980,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f1",
+ "operands": {
+ "bp_offset": 241,
+ "target": "[BP-0Fh]"
+ }
+ },
+ {
+ "offset": 764,
+ "absolute_body_offset": 982,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "523c00",
+ "operands": {
+ "relative_u16": 60,
+ "relative_signed": 60,
+ "target_offset": 827
+ }
+ },
+ {
+ "offset": 767,
+ "absolute_body_offset": 985,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 770,
+ "absolute_body_offset": 988,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041c00",
+ "operands": {
+ "intrinsic_ordinal": 28,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Actor::I_setDead()"
+ }
+ },
+ {
+ "offset": 774,
+ "absolute_body_offset": 992,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 776,
+ "absolute_body_offset": 994,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 777,
+ "absolute_body_offset": 995,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a0e",
+ "operands": {
+ "value_u8": 14,
+ "value_signed": 14
+ }
+ },
+ {
+ "offset": 779,
+ "absolute_body_offset": 997,
+ "opcode": 36,
+ "mnemonic": "cmp",
+ "raw_bytes": "24",
+ "operands": {}
+ },
+ {
+ "offset": 780,
+ "absolute_body_offset": 998,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "510e00",
+ "operands": {
+ "relative_u16": 14,
+ "relative_signed": 14,
+ "target_offset": 797
+ }
+ },
+ {
+ "offset": 783,
+ "absolute_body_offset": 1001,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b6c00",
+ "operands": {
+ "line_number": 108
+ }
+ },
+ {
+ "offset": 786,
+ "absolute_body_offset": 1004,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0afd",
+ "operands": {
+ "value_u8": 253,
+ "value_signed": -3
+ }
+ },
+ {
+ "offset": 788,
+ "absolute_body_offset": 1006,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f3",
+ "operands": {
+ "bp_offset": 243,
+ "target": "[BP-0Dh]"
+ }
+ },
+ {
+ "offset": 790,
+ "absolute_body_offset": 1008,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0afe",
+ "operands": {
+ "value_u8": 254,
+ "value_signed": -2
+ }
+ },
+ {
+ "offset": 792,
+ "absolute_body_offset": 1010,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f1",
+ "operands": {
+ "bp_offset": 241,
+ "target": "[BP-0Fh]"
+ }
+ },
+ {
+ "offset": 794,
+ "absolute_body_offset": 1012,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "521e00",
+ "operands": {
+ "relative_u16": 30,
+ "relative_signed": 30,
+ "target_offset": 827
+ }
+ },
+ {
+ "offset": 797,
+ "absolute_body_offset": 1015,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 800,
+ "absolute_body_offset": 1018,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041c00",
+ "operands": {
+ "intrinsic_ordinal": 28,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Actor::I_setDead()"
+ }
+ },
+ {
+ "offset": 804,
+ "absolute_body_offset": 1022,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 806,
+ "absolute_body_offset": 1024,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 807,
+ "absolute_body_offset": 1025,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a0f",
+ "operands": {
+ "value_u8": 15,
+ "value_signed": 15
+ }
+ },
+ {
+ "offset": 809,
+ "absolute_body_offset": 1027,
+ "opcode": 36,
+ "mnemonic": "cmp",
+ "raw_bytes": "24",
+ "operands": {}
+ },
+ {
+ "offset": 810,
+ "absolute_body_offset": 1028,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "510e00",
+ "operands": {
+ "relative_u16": 14,
+ "relative_signed": 14,
+ "target_offset": 827
+ }
+ },
+ {
+ "offset": 813,
+ "absolute_body_offset": 1031,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b7000",
+ "operands": {
+ "line_number": 112
+ }
+ },
+ {
+ "offset": 816,
+ "absolute_body_offset": 1034,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0afd",
+ "operands": {
+ "value_u8": 253,
+ "value_signed": -3
+ }
+ },
+ {
+ "offset": 818,
+ "absolute_body_offset": 1036,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f3",
+ "operands": {
+ "bp_offset": 243,
+ "target": "[BP-0Dh]"
+ }
+ },
+ {
+ "offset": 820,
+ "absolute_body_offset": 1038,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0afd",
+ "operands": {
+ "value_u8": 253,
+ "value_signed": -3
+ }
+ },
+ {
+ "offset": 822,
+ "absolute_body_offset": 1040,
+ "opcode": 1,
+ "mnemonic": "pop_local_word",
+ "raw_bytes": "01f1",
+ "operands": {
+ "bp_offset": 241,
+ "target": "[BP-0Fh]"
+ }
+ },
+ {
+ "offset": 824,
+ "absolute_body_offset": 1042,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "520000",
+ "operands": {
+ "relative_u16": 0,
+ "relative_signed": 0,
+ "target_offset": 827
+ }
+ },
+ {
+ "offset": 827,
+ "absolute_body_offset": 1045,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b7800",
+ "operands": {
+ "line_number": 120
+ }
+ },
+ {
+ "offset": 830,
+ "absolute_body_offset": 1048,
+ "opcode": 63,
+ "mnemonic": "push_local_word",
+ "raw_bytes": "3ffb",
+ "operands": {
+ "bp_offset": 251,
+ "target": "[BP-05h]"
+ }
+ },
+ {
+ "offset": 832,
+ "absolute_body_offset": 1050,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "510002",
+ "operands": {
+ "relative_u16": 512,
+ "relative_signed": 512,
+ "target_offset": 1347
+ }
+ },
+ {
+ "offset": 835,
+ "absolute_body_offset": 1053,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b7a00",
+ "operands": {
+ "line_number": 122
+ }
+ },
+ {
+ "offset": 838,
+ "absolute_body_offset": 1056,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 841,
+ "absolute_body_offset": 1059,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f043500",
+ "operands": {
+ "intrinsic_ordinal": 53,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Intrinsic0035()"
+ }
+ },
+ {
+ "offset": 845,
+ "absolute_body_offset": 1063,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 847,
+ "absolute_body_offset": 1065,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 848,
+ "absolute_body_offset": 1066,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "510a00",
+ "operands": {
+ "relative_u16": 10,
+ "relative_signed": 10,
+ "target_offset": 861
+ }
+ },
+ {
+ "offset": 851,
+ "absolute_body_offset": 1069,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b7c00",
+ "operands": {
+ "line_number": 124
+ }
+ },
+ {
+ "offset": 854,
+ "absolute_body_offset": 1072,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a01",
+ "operands": {
+ "value_u8": 1,
+ "value_signed": 1
+ }
+ },
+ {
+ "offset": 856,
+ "absolute_body_offset": 1074,
+ "opcode": 0,
+ "mnemonic": "pop_local_byte",
+ "raw_bytes": "00ff",
+ "operands": {
+ "bp_offset": 255,
+ "target": "[BP-01h]"
+ }
+ },
+ {
+ "offset": 858,
+ "absolute_body_offset": 1076,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "523700",
+ "operands": {
+ "relative_u16": 55,
+ "relative_signed": 55,
+ "target_offset": 916
+ }
+ },
+ {
+ "offset": 861,
+ "absolute_body_offset": 1079,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b8000",
+ "operands": {
+ "line_number": 128
+ }
+ },
+ {
+ "offset": 864,
+ "absolute_body_offset": 1082,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a00",
+ "operands": {
+ "value_u8": 0,
+ "value_signed": 0
+ }
+ },
+ {
+ "offset": 866,
+ "absolute_body_offset": 1084,
+ "opcode": 0,
+ "mnemonic": "pop_local_byte",
+ "raw_bytes": "00ff",
+ "operands": {
+ "bp_offset": 255,
+ "target": "[BP-01h]"
+ }
+ },
+ {
+ "offset": 868,
+ "absolute_body_offset": 1086,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b8100",
+ "operands": {
+ "line_number": 129
+ }
+ },
+ {
+ "offset": 871,
+ "absolute_body_offset": 1089,
+ "opcode": 89,
+ "mnemonic": "push_pid",
+ "raw_bytes": "59",
+ "operands": {}
+ },
+ {
+ "offset": 872,
+ "absolute_body_offset": 1090,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a00",
+ "operands": {
+ "value_u8": 0,
+ "value_signed": 0
+ }
+ },
+ {
+ "offset": 874,
+ "absolute_body_offset": 1092,
+ "opcode": 11,
+ "mnemonic": "push_word_immediate",
+ "raw_bytes": "0b1027",
+ "operands": {
+ "value_u16": 10000
+ }
+ },
+ {
+ "offset": 877,
+ "absolute_body_offset": 1095,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 880,
+ "absolute_body_offset": 1098,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041c00",
+ "operands": {
+ "intrinsic_ordinal": 28,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Actor::I_setDead()"
+ }
+ },
+ {
+ "offset": 884,
+ "absolute_body_offset": 1102,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 886,
+ "absolute_body_offset": 1104,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 887,
+ "absolute_body_offset": 1105,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a28",
+ "operands": {
+ "value_u8": 40,
+ "value_signed": 40
+ }
+ },
+ {
+ "offset": 889,
+ "absolute_body_offset": 1107,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 892,
+ "absolute_body_offset": 1110,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f0c3600",
+ "operands": {
+ "intrinsic_ordinal": 54,
+ "arg_bytes": 12,
+ "intrinsic_name_hint": "Intrinsic0036()"
+ }
+ },
+ {
+ "offset": 896,
+ "absolute_body_offset": 1114,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6ef4",
+ "operands": {
+ "value_u8": 244
+ }
+ },
+ {
+ "offset": 898,
+ "absolute_body_offset": 1116,
+ "opcode": 94,
+ "mnemonic": "push_retval_word",
+ "raw_bytes": "5e",
+ "operands": {}
+ },
+ {
+ "offset": 899,
+ "absolute_body_offset": 1117,
+ "opcode": 84,
+ "mnemonic": "implies",
+ "raw_bytes": "540101",
+ "operands": {
+ "arg0": 1,
+ "arg1": 1
+ }
+ },
+ {
+ "offset": 902,
+ "absolute_body_offset": 1120,
+ "opcode": 18,
+ "mnemonic": "pop_temp",
+ "raw_bytes": "12",
+ "operands": {}
+ },
+ {
+ "offset": 903,
+ "absolute_body_offset": 1121,
+ "opcode": 83,
+ "mnemonic": "suspend",
+ "raw_bytes": "53",
+ "operands": {}
+ },
+ {
+ "offset": 904,
+ "absolute_body_offset": 1122,
+ "opcode": 92,
+ "mnemonic": "symbol_info",
+ "raw_bytes": "5c1c02424c41535450414300",
+ "operands": {
+ "symbol_offset": 1447,
+ "symbol": "BLASTPAC",
+ "trailing_zero": 0
+ }
+ },
+ {
+ "offset": 916,
+ "absolute_body_offset": 1134,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b8700",
+ "operands": {
+ "line_number": 135
+ }
+ },
+ {
+ "offset": 919,
+ "absolute_body_offset": 1137,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a00",
+ "operands": {
+ "value_u8": 0,
+ "value_signed": 0
+ }
+ },
+ {
+ "offset": 921,
+ "absolute_body_offset": 1139,
+ "opcode": 11,
+ "mnemonic": "push_word_immediate",
+ "raw_bytes": "0b3f05",
+ "operands": {
+ "value_u16": 1343
+ }
+ },
+ {
+ "offset": 924,
+ "absolute_body_offset": 1142,
+ "opcode": 75,
+ "mnemonic": "push_local_addr",
+ "raw_bytes": "4bef",
+ "operands": {
+ "bp_offset": 239,
+ "target": "[BP-11h]"
+ }
+ },
+ {
+ "offset": 926,
+ "absolute_body_offset": 1144,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f081f00",
+ "operands": {
+ "intrinsic_ordinal": 31,
+ "arg_bytes": 8,
+ "intrinsic_name_hint": "Item::getQLo(void)"
+ }
+ },
+ {
+ "offset": 930,
+ "absolute_body_offset": 1148,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6ef8",
+ "operands": {
+ "value_u8": 248
+ }
+ },
+ {
+ "offset": 932,
+ "absolute_body_offset": 1150,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b8800",
+ "operands": {
+ "line_number": 136
+ }
+ },
+ {
+ "offset": 935,
+ "absolute_body_offset": 1153,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 938,
+ "absolute_body_offset": 1156,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f040900",
+ "operands": {
+ "intrinsic_ordinal": 9,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Item::getZ(void)"
+ }
+ },
+ {
+ "offset": 942,
+ "absolute_body_offset": 1160,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 944,
+ "absolute_body_offset": 1162,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 945,
+ "absolute_body_offset": 1163,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 948,
+ "absolute_body_offset": 1166,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041400",
+ "operands": {
+ "intrinsic_ordinal": 20,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Item::legalCreateAtCoords(uint16,uint16,uint16,uint16,uint16)"
+ }
+ },
+ {
+ "offset": 952,
+ "absolute_body_offset": 1170,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 954,
+ "absolute_body_offset": 1172,
+ "opcode": 94,
+ "mnemonic": "push_retval_word",
+ "raw_bytes": "5e",
+ "operands": {}
+ },
+ {
+ "offset": 955,
+ "absolute_body_offset": 1173,
+ "opcode": 63,
+ "mnemonic": "push_local_word",
+ "raw_bytes": "3ff1",
+ "operands": {
+ "bp_offset": 241,
+ "target": "[BP-0Fh]"
+ }
+ },
+ {
+ "offset": 957,
+ "absolute_body_offset": 1175,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a10",
+ "operands": {
+ "value_u8": 16,
+ "value_signed": 16
+ }
+ },
+ {
+ "offset": 959,
+ "absolute_body_offset": 1177,
+ "opcode": 30,
+ "mnemonic": "mul",
+ "raw_bytes": "1e",
+ "operands": {}
+ },
+ {
+ "offset": 960,
+ "absolute_body_offset": 1178,
+ "opcode": 20,
+ "mnemonic": "add",
+ "raw_bytes": "14",
+ "operands": {}
+ },
+ {
+ "offset": 961,
+ "absolute_body_offset": 1179,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 964,
+ "absolute_body_offset": 1182,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041300",
+ "operands": {
+ "intrinsic_ordinal": 19,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "UCMachine::I_rndRange()"
+ }
+ },
+ {
+ "offset": 968,
+ "absolute_body_offset": 1186,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 970,
+ "absolute_body_offset": 1188,
+ "opcode": 94,
+ "mnemonic": "push_retval_word",
+ "raw_bytes": "5e",
+ "operands": {}
+ },
+ {
+ "offset": 971,
+ "absolute_body_offset": 1189,
+ "opcode": 63,
+ "mnemonic": "push_local_word",
+ "raw_bytes": "3ff3",
+ "operands": {
+ "bp_offset": 243,
+ "target": "[BP-0Dh]"
+ }
+ },
+ {
+ "offset": 973,
+ "absolute_body_offset": 1191,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a10",
+ "operands": {
+ "value_u8": 16,
+ "value_signed": 16
+ }
+ },
+ {
+ "offset": 975,
+ "absolute_body_offset": 1193,
+ "opcode": 30,
+ "mnemonic": "mul",
+ "raw_bytes": "1e",
+ "operands": {}
+ },
+ {
+ "offset": 976,
+ "absolute_body_offset": 1194,
+ "opcode": 20,
+ "mnemonic": "add",
+ "raw_bytes": "14",
+ "operands": {}
+ },
+ {
+ "offset": 977,
+ "absolute_body_offset": 1195,
+ "opcode": 75,
+ "mnemonic": "push_local_addr",
+ "raw_bytes": "4bef",
+ "operands": {
+ "bp_offset": 239,
+ "target": "[BP-11h]"
+ }
+ },
+ {
+ "offset": 979,
+ "absolute_body_offset": 1197,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f0a2000",
+ "operands": {
+ "intrinsic_ordinal": 32,
+ "arg_bytes": 10,
+ "intrinsic_name_hint": "Item::setQLo(sint16)"
+ }
+ },
+ {
+ "offset": 983,
+ "absolute_body_offset": 1201,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6ef6",
+ "operands": {
+ "value_u8": 246
+ }
+ },
+ {
+ "offset": 985,
+ "absolute_body_offset": 1203,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b8900",
+ "operands": {
+ "line_number": 137
+ }
+ },
+ {
+ "offset": 988,
+ "absolute_body_offset": 1206,
+ "opcode": 63,
+ "mnemonic": "push_local_word",
+ "raw_bytes": "3fef",
+ "operands": {
+ "bp_offset": 239,
+ "target": "[BP-11h]"
+ }
+ },
+ {
+ "offset": 990,
+ "absolute_body_offset": 1208,
+ "opcode": 64,
+ "mnemonic": "push_local_dword",
+ "raw_bytes": "4006",
+ "operands": {
+ "bp_offset": 6,
+ "target": "[BP+06h]"
+ }
+ },
+ {
+ "offset": 992,
+ "absolute_body_offset": 1210,
+ "opcode": 87,
+ "mnemonic": "spawn",
+ "raw_bytes": "5702029b032000",
+ "operands": {
+ "arg_bytes": 2,
+ "this_size": 2,
+ "target_class_id": 923,
+ "target_event_slot": 32,
+ "target_event_name_hint": null,
+ "target_class_name_hint": "BLASTPAC"
+ }
+ },
+ {
+ "offset": 999,
+ "absolute_body_offset": 1217,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efe",
+ "operands": {
+ "value_u8": 254
+ }
+ },
+ {
+ "offset": 1001,
+ "absolute_body_offset": 1219,
+ "opcode": 94,
+ "mnemonic": "push_retval_word",
+ "raw_bytes": "5e",
+ "operands": {}
+ },
+ {
+ "offset": 1002,
+ "absolute_body_offset": 1220,
+ "opcode": 18,
+ "mnemonic": "pop_temp",
+ "raw_bytes": "12",
+ "operands": {}
+ },
+ {
+ "offset": 1003,
+ "absolute_body_offset": 1221,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b8b00",
+ "operands": {
+ "line_number": 139
+ }
+ },
+ {
+ "offset": 1006,
+ "absolute_body_offset": 1224,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 1009,
+ "absolute_body_offset": 1227,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f043300",
+ "operands": {
+ "intrinsic_ordinal": 51,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Intrinsic0033()"
+ }
+ },
+ {
+ "offset": 1013,
+ "absolute_body_offset": 1231,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 1015,
+ "absolute_body_offset": 1233,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 1016,
+ "absolute_body_offset": 1234,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "512600",
+ "operands": {
+ "relative_u16": 38,
+ "relative_signed": 38,
+ "target_offset": 1057
+ }
+ },
+ {
+ "offset": 1019,
+ "absolute_body_offset": 1237,
+ "opcode": 89,
+ "mnemonic": "push_pid",
+ "raw_bytes": "59",
+ "operands": {}
+ },
+ {
+ "offset": 1020,
+ "absolute_body_offset": 1238,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a02",
+ "operands": {
+ "value_u8": 2,
+ "value_signed": 2
+ }
+ },
+ {
+ "offset": 1022,
+ "absolute_body_offset": 1240,
+ "opcode": 12,
+ "mnemonic": "push_dword_immediate",
+ "raw_bytes": "0c00000000",
+ "operands": {
+ "value_u32": 0
+ }
+ },
+ {
+ "offset": 1027,
+ "absolute_body_offset": 1245,
+ "opcode": 87,
+ "mnemonic": "spawn",
+ "raw_bytes": "5702000c0a3200",
+ "operands": {
+ "arg_bytes": 2,
+ "this_size": 0,
+ "target_class_id": 2572,
+ "target_event_slot": 50,
+ "target_event_name_hint": null,
+ "target_class_name_hint": "FREE"
+ }
+ },
+ {
+ "offset": 1034,
+ "absolute_body_offset": 1252,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efe",
+ "operands": {
+ "value_u8": 254
+ }
+ },
+ {
+ "offset": 1036,
+ "absolute_body_offset": 1254,
+ "opcode": 94,
+ "mnemonic": "push_retval_word",
+ "raw_bytes": "5e",
+ "operands": {}
+ },
+ {
+ "offset": 1037,
+ "absolute_body_offset": 1255,
+ "opcode": 84,
+ "mnemonic": "implies",
+ "raw_bytes": "540101",
+ "operands": {
+ "arg0": 1,
+ "arg1": 1
+ }
+ },
+ {
+ "offset": 1040,
+ "absolute_body_offset": 1258,
+ "opcode": 18,
+ "mnemonic": "pop_temp",
+ "raw_bytes": "12",
+ "operands": {}
+ },
+ {
+ "offset": 1041,
+ "absolute_body_offset": 1259,
+ "opcode": 83,
+ "mnemonic": "suspend",
+ "raw_bytes": "53",
+ "operands": {}
+ },
+ {
+ "offset": 1042,
+ "absolute_body_offset": 1260,
+ "opcode": 92,
+ "mnemonic": "symbol_info",
+ "raw_bytes": "5c9201424c41535450414300",
+ "operands": {
+ "symbol_offset": 1447,
+ "symbol": "BLASTPAC",
+ "trailing_zero": 0
+ }
+ },
+ {
+ "offset": 1054,
+ "absolute_body_offset": 1272,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "52caff",
+ "operands": {
+ "relative_u16": 65482,
+ "relative_signed": -54,
+ "target_offset": 1003
+ }
+ },
+ {
+ "offset": 1057,
+ "absolute_body_offset": 1275,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b8d00",
+ "operands": {
+ "line_number": 141
+ }
+ },
+ {
+ "offset": 1060,
+ "absolute_body_offset": 1278,
+ "opcode": 89,
+ "mnemonic": "push_pid",
+ "raw_bytes": "59",
+ "operands": {}
+ },
+ {
+ "offset": 1061,
+ "absolute_body_offset": 1279,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a0d",
+ "operands": {
+ "value_u8": 13,
+ "value_signed": 13
+ }
+ },
+ {
+ "offset": 1063,
+ "absolute_body_offset": 1281,
+ "opcode": 12,
+ "mnemonic": "push_dword_immediate",
+ "raw_bytes": "0c00000000",
+ "operands": {
+ "value_u32": 0
+ }
+ },
+ {
+ "offset": 1068,
+ "absolute_body_offset": 1286,
+ "opcode": 87,
+ "mnemonic": "spawn",
+ "raw_bytes": "5702000c0a2100",
+ "operands": {
+ "arg_bytes": 2,
+ "this_size": 0,
+ "target_class_id": 2572,
+ "target_event_slot": 33,
+ "target_event_name_hint": null,
+ "target_class_name_hint": "FREE"
+ }
+ },
+ {
+ "offset": 1075,
+ "absolute_body_offset": 1293,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efe",
+ "operands": {
+ "value_u8": 254
+ }
+ },
+ {
+ "offset": 1077,
+ "absolute_body_offset": 1295,
+ "opcode": 94,
+ "mnemonic": "push_retval_word",
+ "raw_bytes": "5e",
+ "operands": {}
+ },
+ {
+ "offset": 1078,
+ "absolute_body_offset": 1296,
+ "opcode": 84,
+ "mnemonic": "implies",
+ "raw_bytes": "540101",
+ "operands": {
+ "arg0": 1,
+ "arg1": 1
+ }
+ },
+ {
+ "offset": 1081,
+ "absolute_body_offset": 1299,
+ "opcode": 18,
+ "mnemonic": "pop_temp",
+ "raw_bytes": "12",
+ "operands": {}
+ },
+ {
+ "offset": 1082,
+ "absolute_body_offset": 1300,
+ "opcode": 83,
+ "mnemonic": "suspend",
+ "raw_bytes": "53",
+ "operands": {}
+ },
+ {
+ "offset": 1083,
+ "absolute_body_offset": 1301,
+ "opcode": 92,
+ "mnemonic": "symbol_info",
+ "raw_bytes": "5c6901424c41535450414300",
+ "operands": {
+ "symbol_offset": 1447,
+ "symbol": "BLASTPAC",
+ "trailing_zero": 0
+ }
+ },
+ {
+ "offset": 1095,
+ "absolute_body_offset": 1313,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b9000",
+ "operands": {
+ "line_number": 144
+ }
+ },
+ {
+ "offset": 1098,
+ "absolute_body_offset": 1316,
+ "opcode": 62,
+ "mnemonic": "push_local_byte",
+ "raw_bytes": "3eff",
+ "operands": {
+ "bp_offset": 255,
+ "target": "[BP-01h]"
+ }
+ },
+ {
+ "offset": 1100,
+ "absolute_body_offset": 1318,
+ "opcode": 48,
+ "mnemonic": "not",
+ "raw_bytes": "30",
+ "operands": {}
+ },
+ {
+ "offset": 1101,
+ "absolute_body_offset": 1319,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "519b00",
+ "operands": {
+ "relative_u16": 155,
+ "relative_signed": 155,
+ "target_offset": 1259
+ }
+ },
+ {
+ "offset": 1104,
+ "absolute_body_offset": 1322,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b9100",
+ "operands": {
+ "line_number": 145
+ }
+ },
+ {
+ "offset": 1107,
+ "absolute_body_offset": 1325,
+ "opcode": 89,
+ "mnemonic": "push_pid",
+ "raw_bytes": "59",
+ "operands": {}
+ },
+ {
+ "offset": 1108,
+ "absolute_body_offset": 1326,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a00",
+ "operands": {
+ "value_u8": 0,
+ "value_signed": 0
+ }
+ },
+ {
+ "offset": 1110,
+ "absolute_body_offset": 1328,
+ "opcode": 11,
+ "mnemonic": "push_word_immediate",
+ "raw_bytes": "0b1027",
+ "operands": {
+ "value_u16": 10000
+ }
+ },
+ {
+ "offset": 1113,
+ "absolute_body_offset": 1331,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 1116,
+ "absolute_body_offset": 1334,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041c00",
+ "operands": {
+ "intrinsic_ordinal": 28,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Actor::I_setDead()"
+ }
+ },
+ {
+ "offset": 1120,
+ "absolute_body_offset": 1338,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 1122,
+ "absolute_body_offset": 1340,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 1123,
+ "absolute_body_offset": 1341,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a29",
+ "operands": {
+ "value_u8": 41,
+ "value_signed": 41
+ }
+ },
+ {
+ "offset": 1125,
+ "absolute_body_offset": 1343,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 1128,
+ "absolute_body_offset": 1346,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f0c3600",
+ "operands": {
+ "intrinsic_ordinal": 54,
+ "arg_bytes": 12,
+ "intrinsic_name_hint": "Intrinsic0036()"
+ }
+ },
+ {
+ "offset": 1132,
+ "absolute_body_offset": 1350,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6ef4",
+ "operands": {
+ "value_u8": 244
+ }
+ },
+ {
+ "offset": 1134,
+ "absolute_body_offset": 1352,
+ "opcode": 94,
+ "mnemonic": "push_retval_word",
+ "raw_bytes": "5e",
+ "operands": {}
+ },
+ {
+ "offset": 1135,
+ "absolute_body_offset": 1353,
+ "opcode": 84,
+ "mnemonic": "implies",
+ "raw_bytes": "540101",
+ "operands": {
+ "arg0": 1,
+ "arg1": 1
+ }
+ },
+ {
+ "offset": 1138,
+ "absolute_body_offset": 1356,
+ "opcode": 18,
+ "mnemonic": "pop_temp",
+ "raw_bytes": "12",
+ "operands": {}
+ },
+ {
+ "offset": 1139,
+ "absolute_body_offset": 1357,
+ "opcode": 83,
+ "mnemonic": "suspend",
+ "raw_bytes": "53",
+ "operands": {}
+ },
+ {
+ "offset": 1140,
+ "absolute_body_offset": 1358,
+ "opcode": 92,
+ "mnemonic": "symbol_info",
+ "raw_bytes": "5c3001424c41535450414300",
+ "operands": {
+ "symbol_offset": 1447,
+ "symbol": "BLASTPAC",
+ "trailing_zero": 0
+ }
+ },
+ {
+ "offset": 1152,
+ "absolute_body_offset": 1370,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b9400",
+ "operands": {
+ "line_number": 148
+ }
+ },
+ {
+ "offset": 1155,
+ "absolute_body_offset": 1373,
+ "opcode": 63,
+ "mnemonic": "push_local_word",
+ "raw_bytes": "3ffb",
+ "operands": {
+ "bp_offset": 251,
+ "target": "[BP-05h]"
+ }
+ },
+ {
+ "offset": 1157,
+ "absolute_body_offset": 1375,
+ "opcode": 81,
+ "mnemonic": "jne",
+ "raw_bytes": "516000",
+ "operands": {
+ "relative_u16": 96,
+ "relative_signed": 96,
+ "target_offset": 1256
+ }
+ },
+ {
+ "offset": 1160,
+ "absolute_body_offset": 1378,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b9500",
+ "operands": {
+ "line_number": 149
+ }
+ },
+ {
+ "offset": 1163,
+ "absolute_body_offset": 1381,
+ "opcode": 89,
+ "mnemonic": "push_pid",
+ "raw_bytes": "59",
+ "operands": {}
+ },
+ {
+ "offset": 1164,
+ "absolute_body_offset": 1382,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a00",
+ "operands": {
+ "value_u8": 0,
+ "value_signed": 0
+ }
+ },
+ {
+ "offset": 1166,
+ "absolute_body_offset": 1384,
+ "opcode": 11,
+ "mnemonic": "push_word_immediate",
+ "raw_bytes": "0b1027",
+ "operands": {
+ "value_u16": 10000
+ }
+ },
+ {
+ "offset": 1169,
+ "absolute_body_offset": 1387,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 1172,
+ "absolute_body_offset": 1390,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041c00",
+ "operands": {
+ "intrinsic_ordinal": 28,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Actor::I_setDead()"
+ }
+ },
+ {
+ "offset": 1176,
+ "absolute_body_offset": 1394,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 1178,
+ "absolute_body_offset": 1396,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 1179,
+ "absolute_body_offset": 1397,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a02",
+ "operands": {
+ "value_u8": 2,
+ "value_signed": 2
+ }
+ },
+ {
+ "offset": 1181,
+ "absolute_body_offset": 1399,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 1184,
+ "absolute_body_offset": 1402,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f0c3600",
+ "operands": {
+ "intrinsic_ordinal": 54,
+ "arg_bytes": 12,
+ "intrinsic_name_hint": "Intrinsic0036()"
+ }
+ },
+ {
+ "offset": 1188,
+ "absolute_body_offset": 1406,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6ef4",
+ "operands": {
+ "value_u8": 244
+ }
+ },
+ {
+ "offset": 1190,
+ "absolute_body_offset": 1408,
+ "opcode": 94,
+ "mnemonic": "push_retval_word",
+ "raw_bytes": "5e",
+ "operands": {}
+ },
+ {
+ "offset": 1191,
+ "absolute_body_offset": 1409,
+ "opcode": 84,
+ "mnemonic": "implies",
+ "raw_bytes": "540101",
+ "operands": {
+ "arg0": 1,
+ "arg1": 1
+ }
+ },
+ {
+ "offset": 1194,
+ "absolute_body_offset": 1412,
+ "opcode": 18,
+ "mnemonic": "pop_temp",
+ "raw_bytes": "12",
+ "operands": {}
+ },
+ {
+ "offset": 1195,
+ "absolute_body_offset": 1413,
+ "opcode": 83,
+ "mnemonic": "suspend",
+ "raw_bytes": "53",
+ "operands": {}
+ },
+ {
+ "offset": 1196,
+ "absolute_body_offset": 1414,
+ "opcode": 92,
+ "mnemonic": "symbol_info",
+ "raw_bytes": "5cf800424c41535450414300",
+ "operands": {
+ "symbol_offset": 1447,
+ "symbol": "BLASTPAC",
+ "trailing_zero": 0
+ }
+ },
+ {
+ "offset": 1208,
+ "absolute_body_offset": 1426,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b9600",
+ "operands": {
+ "line_number": 150
+ }
+ },
+ {
+ "offset": 1211,
+ "absolute_body_offset": 1429,
+ "opcode": 89,
+ "mnemonic": "push_pid",
+ "raw_bytes": "59",
+ "operands": {}
+ },
+ {
+ "offset": 1212,
+ "absolute_body_offset": 1430,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a00",
+ "operands": {
+ "value_u8": 0,
+ "value_signed": 0
+ }
+ },
+ {
+ "offset": 1214,
+ "absolute_body_offset": 1432,
+ "opcode": 11,
+ "mnemonic": "push_word_immediate",
+ "raw_bytes": "0b1027",
+ "operands": {
+ "value_u16": 10000
+ }
+ },
+ {
+ "offset": 1217,
+ "absolute_body_offset": 1435,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 1220,
+ "absolute_body_offset": 1438,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f041c00",
+ "operands": {
+ "intrinsic_ordinal": 28,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "Actor::I_setDead()"
+ }
+ },
+ {
+ "offset": 1224,
+ "absolute_body_offset": 1442,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 1226,
+ "absolute_body_offset": 1444,
+ "opcode": 93,
+ "mnemonic": "push_retval_byte",
+ "raw_bytes": "5d",
+ "operands": {}
+ },
+ {
+ "offset": 1227,
+ "absolute_body_offset": 1445,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a02",
+ "operands": {
+ "value_u8": 2,
+ "value_signed": 2
+ }
+ },
+ {
+ "offset": 1229,
+ "absolute_body_offset": 1447,
+ "opcode": 121,
+ "mnemonic": "global_address",
+ "raw_bytes": "793c00",
+ "operands": {
+ "global_id": 60
+ }
+ },
+ {
+ "offset": 1232,
+ "absolute_body_offset": 1450,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f0c3600",
+ "operands": {
+ "intrinsic_ordinal": 54,
+ "arg_bytes": 12,
+ "intrinsic_name_hint": "Intrinsic0036()"
+ }
+ },
+ {
+ "offset": 1236,
+ "absolute_body_offset": 1454,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6ef4",
+ "operands": {
+ "value_u8": 244
+ }
+ },
+ {
+ "offset": 1238,
+ "absolute_body_offset": 1456,
+ "opcode": 94,
+ "mnemonic": "push_retval_word",
+ "raw_bytes": "5e",
+ "operands": {}
+ },
+ {
+ "offset": 1239,
+ "absolute_body_offset": 1457,
+ "opcode": 84,
+ "mnemonic": "implies",
+ "raw_bytes": "540101",
+ "operands": {
+ "arg0": 1,
+ "arg1": 1
+ }
+ },
+ {
+ "offset": 1242,
+ "absolute_body_offset": 1460,
+ "opcode": 18,
+ "mnemonic": "pop_temp",
+ "raw_bytes": "12",
+ "operands": {}
+ },
+ {
+ "offset": 1243,
+ "absolute_body_offset": 1461,
+ "opcode": 83,
+ "mnemonic": "suspend",
+ "raw_bytes": "53",
+ "operands": {}
+ },
+ {
+ "offset": 1244,
+ "absolute_body_offset": 1462,
+ "opcode": 92,
+ "mnemonic": "symbol_info",
+ "raw_bytes": "5cc800424c41535450414300",
+ "operands": {
+ "symbol_offset": 1447,
+ "symbol": "BLASTPAC",
+ "trailing_zero": 0
+ }
+ },
+ {
+ "offset": 1256,
+ "absolute_body_offset": 1474,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "525500",
+ "operands": {
+ "relative_u16": 85,
+ "relative_signed": 85,
+ "target_offset": 1344
+ }
+ },
+ {
+ "offset": 1259,
+ "absolute_body_offset": 1477,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b9b00",
+ "operands": {
+ "line_number": 155
+ }
+ },
+ {
+ "offset": 1262,
+ "absolute_body_offset": 1480,
+ "opcode": 89,
+ "mnemonic": "push_pid",
+ "raw_bytes": "59",
+ "operands": {}
+ },
+ {
+ "offset": 1263,
+ "absolute_body_offset": 1481,
+ "opcode": 11,
+ "mnemonic": "push_word_immediate",
+ "raw_bytes": "0bb000",
+ "operands": {
+ "value_u16": 176
+ }
+ },
+ {
+ "offset": 1266,
+ "absolute_body_offset": 1484,
+ "opcode": 12,
+ "mnemonic": "push_dword_immediate",
+ "raw_bytes": "0c00000000",
+ "operands": {
+ "value_u32": 0
+ }
+ },
+ {
+ "offset": 1271,
+ "absolute_body_offset": 1489,
+ "opcode": 87,
+ "mnemonic": "spawn",
+ "raw_bytes": "5702000c0a2100",
+ "operands": {
+ "arg_bytes": 2,
+ "this_size": 0,
+ "target_class_id": 2572,
+ "target_event_slot": 33,
+ "target_event_name_hint": null,
+ "target_class_name_hint": "FREE"
+ }
+ },
+ {
+ "offset": 1278,
+ "absolute_body_offset": 1496,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efe",
+ "operands": {
+ "value_u8": 254
+ }
+ },
+ {
+ "offset": 1280,
+ "absolute_body_offset": 1498,
+ "opcode": 94,
+ "mnemonic": "push_retval_word",
+ "raw_bytes": "5e",
+ "operands": {}
+ },
+ {
+ "offset": 1281,
+ "absolute_body_offset": 1499,
+ "opcode": 84,
+ "mnemonic": "implies",
+ "raw_bytes": "540101",
+ "operands": {
+ "arg0": 1,
+ "arg1": 1
+ }
+ },
+ {
+ "offset": 1284,
+ "absolute_body_offset": 1502,
+ "opcode": 18,
+ "mnemonic": "pop_temp",
+ "raw_bytes": "12",
+ "operands": {}
+ },
+ {
+ "offset": 1285,
+ "absolute_body_offset": 1503,
+ "opcode": 83,
+ "mnemonic": "suspend",
+ "raw_bytes": "53",
+ "operands": {}
+ },
+ {
+ "offset": 1286,
+ "absolute_body_offset": 1504,
+ "opcode": 92,
+ "mnemonic": "symbol_info",
+ "raw_bytes": "5c9e00424c41535450414300",
+ "operands": {
+ "symbol_offset": 1447,
+ "symbol": "BLASTPAC",
+ "trailing_zero": 0
+ }
+ },
+ {
+ "offset": 1298,
+ "absolute_body_offset": 1516,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b9c00",
+ "operands": {
+ "line_number": 156
+ }
+ },
+ {
+ "offset": 1301,
+ "absolute_body_offset": 1519,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a00",
+ "operands": {
+ "value_u8": 0,
+ "value_signed": 0
+ }
+ },
+ {
+ "offset": 1303,
+ "absolute_body_offset": 1521,
+ "opcode": 11,
+ "mnemonic": "push_word_immediate",
+ "raw_bytes": "0b9b03",
+ "operands": {
+ "value_u16": 923
+ }
+ },
+ {
+ "offset": 1306,
+ "absolute_body_offset": 1524,
+ "opcode": 75,
+ "mnemonic": "push_local_addr",
+ "raw_bytes": "4bef",
+ "operands": {
+ "bp_offset": 239,
+ "target": "[BP-11h]"
+ }
+ },
+ {
+ "offset": 1308,
+ "absolute_body_offset": 1526,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f081f00",
+ "operands": {
+ "intrinsic_ordinal": 31,
+ "arg_bytes": 8,
+ "intrinsic_name_hint": "Item::getQLo(void)"
+ }
+ },
+ {
+ "offset": 1312,
+ "absolute_body_offset": 1530,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6ef8",
+ "operands": {
+ "value_u8": 248
+ }
+ },
+ {
+ "offset": 1314,
+ "absolute_body_offset": 1532,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b9d00",
+ "operands": {
+ "line_number": 157
+ }
+ },
+ {
+ "offset": 1317,
+ "absolute_body_offset": 1535,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a00",
+ "operands": {
+ "value_u8": 0,
+ "value_signed": 0
+ }
+ },
+ {
+ "offset": 1319,
+ "absolute_body_offset": 1537,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a00",
+ "operands": {
+ "value_u8": 0,
+ "value_signed": 0
+ }
+ },
+ {
+ "offset": 1321,
+ "absolute_body_offset": 1539,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a00",
+ "operands": {
+ "value_u8": 0,
+ "value_signed": 0
+ }
+ },
+ {
+ "offset": 1323,
+ "absolute_body_offset": 1541,
+ "opcode": 75,
+ "mnemonic": "push_local_addr",
+ "raw_bytes": "4bef",
+ "operands": {
+ "bp_offset": 239,
+ "target": "[BP-11h]"
+ }
+ },
+ {
+ "offset": 1325,
+ "absolute_body_offset": 1543,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f0a2000",
+ "operands": {
+ "intrinsic_ordinal": 32,
+ "arg_bytes": 10,
+ "intrinsic_name_hint": "Item::setQLo(sint16)"
+ }
+ },
+ {
+ "offset": 1329,
+ "absolute_body_offset": 1547,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6ef6",
+ "operands": {
+ "value_u8": 246
+ }
+ },
+ {
+ "offset": 1331,
+ "absolute_body_offset": 1549,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5b9e00",
+ "operands": {
+ "line_number": 158
+ }
+ },
+ {
+ "offset": 1334,
+ "absolute_body_offset": 1552,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a00",
+ "operands": {
+ "value_u8": 0,
+ "value_signed": 0
+ }
+ },
+ {
+ "offset": 1336,
+ "absolute_body_offset": 1554,
+ "opcode": 63,
+ "mnemonic": "push_local_word",
+ "raw_bytes": "3fef",
+ "operands": {
+ "bp_offset": 239,
+ "target": "[BP-11h]"
+ }
+ },
+ {
+ "offset": 1338,
+ "absolute_body_offset": 1556,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f043700",
+ "operands": {
+ "intrinsic_ordinal": 55,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "AudioProcess::I_playSFXCru()"
+ }
+ },
+ {
+ "offset": 1342,
+ "absolute_body_offset": 1560,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 1344,
+ "absolute_body_offset": 1562,
+ "opcode": 82,
+ "mnemonic": "jmp",
+ "raw_bytes": "525500",
+ "operands": {
+ "relative_u16": 85,
+ "relative_signed": 85,
+ "target_offset": 1432
+ }
+ },
+ {
+ "offset": 1347,
+ "absolute_body_offset": 1565,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5ba300",
+ "operands": {
+ "line_number": 163
+ }
+ },
+ {
+ "offset": 1350,
+ "absolute_body_offset": 1568,
+ "opcode": 89,
+ "mnemonic": "push_pid",
+ "raw_bytes": "59",
+ "operands": {}
+ },
+ {
+ "offset": 1351,
+ "absolute_body_offset": 1569,
+ "opcode": 11,
+ "mnemonic": "push_word_immediate",
+ "raw_bytes": "0bb000",
+ "operands": {
+ "value_u16": 176
+ }
+ },
+ {
+ "offset": 1354,
+ "absolute_body_offset": 1572,
+ "opcode": 12,
+ "mnemonic": "push_dword_immediate",
+ "raw_bytes": "0c00000000",
+ "operands": {
+ "value_u32": 0
+ }
+ },
+ {
+ "offset": 1359,
+ "absolute_body_offset": 1577,
+ "opcode": 87,
+ "mnemonic": "spawn",
+ "raw_bytes": "5702000c0a2100",
+ "operands": {
+ "arg_bytes": 2,
+ "this_size": 0,
+ "target_class_id": 2572,
+ "target_event_slot": 33,
+ "target_event_name_hint": null,
+ "target_class_name_hint": "FREE"
+ }
+ },
+ {
+ "offset": 1366,
+ "absolute_body_offset": 1584,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efe",
+ "operands": {
+ "value_u8": 254
+ }
+ },
+ {
+ "offset": 1368,
+ "absolute_body_offset": 1586,
+ "opcode": 94,
+ "mnemonic": "push_retval_word",
+ "raw_bytes": "5e",
+ "operands": {}
+ },
+ {
+ "offset": 1369,
+ "absolute_body_offset": 1587,
+ "opcode": 84,
+ "mnemonic": "implies",
+ "raw_bytes": "540101",
+ "operands": {
+ "arg0": 1,
+ "arg1": 1
+ }
+ },
+ {
+ "offset": 1372,
+ "absolute_body_offset": 1590,
+ "opcode": 18,
+ "mnemonic": "pop_temp",
+ "raw_bytes": "12",
+ "operands": {}
+ },
+ {
+ "offset": 1373,
+ "absolute_body_offset": 1591,
+ "opcode": 83,
+ "mnemonic": "suspend",
+ "raw_bytes": "53",
+ "operands": {}
+ },
+ {
+ "offset": 1374,
+ "absolute_body_offset": 1592,
+ "opcode": 92,
+ "mnemonic": "symbol_info",
+ "raw_bytes": "5c4600424c41535450414300",
+ "operands": {
+ "symbol_offset": 1447,
+ "symbol": "BLASTPAC",
+ "trailing_zero": 0
+ }
+ },
+ {
+ "offset": 1386,
+ "absolute_body_offset": 1604,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5ba400",
+ "operands": {
+ "line_number": 164
+ }
+ },
+ {
+ "offset": 1389,
+ "absolute_body_offset": 1607,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a00",
+ "operands": {
+ "value_u8": 0,
+ "value_signed": 0
+ }
+ },
+ {
+ "offset": 1391,
+ "absolute_body_offset": 1609,
+ "opcode": 11,
+ "mnemonic": "push_word_immediate",
+ "raw_bytes": "0b9b03",
+ "operands": {
+ "value_u16": 923
+ }
+ },
+ {
+ "offset": 1394,
+ "absolute_body_offset": 1612,
+ "opcode": 75,
+ "mnemonic": "push_local_addr",
+ "raw_bytes": "4bef",
+ "operands": {
+ "bp_offset": 239,
+ "target": "[BP-11h]"
+ }
+ },
+ {
+ "offset": 1396,
+ "absolute_body_offset": 1614,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f081f00",
+ "operands": {
+ "intrinsic_ordinal": 31,
+ "arg_bytes": 8,
+ "intrinsic_name_hint": "Item::getQLo(void)"
+ }
+ },
+ {
+ "offset": 1400,
+ "absolute_body_offset": 1618,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6ef8",
+ "operands": {
+ "value_u8": 248
+ }
+ },
+ {
+ "offset": 1402,
+ "absolute_body_offset": 1620,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5ba500",
+ "operands": {
+ "line_number": 165
+ }
+ },
+ {
+ "offset": 1405,
+ "absolute_body_offset": 1623,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a00",
+ "operands": {
+ "value_u8": 0,
+ "value_signed": 0
+ }
+ },
+ {
+ "offset": 1407,
+ "absolute_body_offset": 1625,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a00",
+ "operands": {
+ "value_u8": 0,
+ "value_signed": 0
+ }
+ },
+ {
+ "offset": 1409,
+ "absolute_body_offset": 1627,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a00",
+ "operands": {
+ "value_u8": 0,
+ "value_signed": 0
+ }
+ },
+ {
+ "offset": 1411,
+ "absolute_body_offset": 1629,
+ "opcode": 75,
+ "mnemonic": "push_local_addr",
+ "raw_bytes": "4bef",
+ "operands": {
+ "bp_offset": 239,
+ "target": "[BP-11h]"
+ }
+ },
+ {
+ "offset": 1413,
+ "absolute_body_offset": 1631,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f0a2000",
+ "operands": {
+ "intrinsic_ordinal": 32,
+ "arg_bytes": 10,
+ "intrinsic_name_hint": "Item::setQLo(sint16)"
+ }
+ },
+ {
+ "offset": 1417,
+ "absolute_body_offset": 1635,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6ef6",
+ "operands": {
+ "value_u8": 246
+ }
+ },
+ {
+ "offset": 1419,
+ "absolute_body_offset": 1637,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5ba600",
+ "operands": {
+ "line_number": 166
+ }
+ },
+ {
+ "offset": 1422,
+ "absolute_body_offset": 1640,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a00",
+ "operands": {
+ "value_u8": 0,
+ "value_signed": 0
+ }
+ },
+ {
+ "offset": 1424,
+ "absolute_body_offset": 1642,
+ "opcode": 63,
+ "mnemonic": "push_local_word",
+ "raw_bytes": "3fef",
+ "operands": {
+ "bp_offset": 239,
+ "target": "[BP-11h]"
+ }
+ },
+ {
+ "offset": 1426,
+ "absolute_body_offset": 1644,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f043700",
+ "operands": {
+ "intrinsic_ordinal": 55,
+ "arg_bytes": 4,
+ "intrinsic_name_hint": "AudioProcess::I_playSFXCru()"
+ }
+ },
+ {
+ "offset": 1430,
+ "absolute_body_offset": 1648,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efc",
+ "operands": {
+ "value_u8": 252
+ }
+ },
+ {
+ "offset": 1432,
+ "absolute_body_offset": 1650,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5baa00",
+ "operands": {
+ "line_number": 170
+ }
+ },
+ {
+ "offset": 1435,
+ "absolute_body_offset": 1653,
+ "opcode": 10,
+ "mnemonic": "push_byte_immediate",
+ "raw_bytes": "0a00",
+ "operands": {
+ "value_u8": 0,
+ "value_signed": 0
+ }
+ },
+ {
+ "offset": 1437,
+ "absolute_body_offset": 1655,
+ "opcode": 15,
+ "mnemonic": "call_intrinsic",
+ "raw_bytes": "0f020c00",
+ "operands": {
+ "intrinsic_ordinal": 12,
+ "arg_bytes": 2,
+ "intrinsic_name_hint": "Item::destroy(void)"
+ }
+ },
+ {
+ "offset": 1441,
+ "absolute_body_offset": 1659,
+ "opcode": 110,
+ "mnemonic": "add_sp",
+ "raw_bytes": "6efe",
+ "operands": {
+ "value_u8": 254
+ }
+ },
+ {
+ "offset": 1443,
+ "absolute_body_offset": 1661,
+ "opcode": 91,
+ "mnemonic": "line_number",
+ "raw_bytes": "5bab00",
+ "operands": {
+ "line_number": 171
+ }
+ },
+ {
+ "offset": 1446,
+ "absolute_body_offset": 1664,
+ "opcode": 80,
+ "mnemonic": "ret",
+ "raw_bytes": "50",
+ "operands": {}
+ }
+ ],
+ "debug_symbols": [
+ {
+ "index": 0,
+ "unknown1": 1,
+ "type_id": 105,
+ "type_char": "i",
+ "bp_offset": 0,
+ "bp_repr": "[BP+00h]",
+ "unknown3": 0,
+ "name": "referent"
+ },
+ {
+ "index": 1,
+ "unknown1": 0,
+ "type_id": 98,
+ "type_char": "b",
+ "bp_offset": 255,
+ "bp_repr": "[BP-01h]",
+ "unknown3": 0,
+ "name": "InCrouch"
+ },
+ {
+ "index": 2,
+ "unknown1": 0,
+ "type_id": 36,
+ "type_char": "$",
+ "bp_offset": 253,
+ "bp_repr": "[BP-03h]",
+ "unknown3": 2,
+ "name": "Blastpac"
+ },
+ {
+ "index": 3,
+ "unknown1": 0,
+ "type_id": 36,
+ "type_char": "$",
+ "bp_offset": 251,
+ "bp_repr": "[BP-05h]",
+ "unknown3": 2,
+ "name": "target"
+ },
+ {
+ "index": 4,
+ "unknown1": 0,
+ "type_id": 36,
+ "type_char": "$",
+ "bp_offset": 249,
+ "bp_repr": "[BP-07h]",
+ "unknown3": 2,
+ "name": "item"
+ },
+ {
+ "index": 5,
+ "unknown1": 0,
+ "type_id": 105,
+ "type_char": "i",
+ "bp_offset": 247,
+ "bp_repr": "[BP-09h]",
+ "unknown3": 0,
+ "name": "counter"
+ },
+ {
+ "index": 6,
+ "unknown1": 0,
+ "type_id": 105,
+ "type_char": "i",
+ "bp_offset": 245,
+ "bp_repr": "[BP-0Bh]",
+ "unknown3": 0,
+ "name": "lastAnim"
+ },
+ {
+ "index": 7,
+ "unknown1": 0,
+ "type_id": 105,
+ "type_char": "i",
+ "bp_offset": 243,
+ "bp_repr": "[BP-0Dh]",
+ "unknown3": 0,
+ "name": "xOff"
+ },
+ {
+ "index": 8,
+ "unknown1": 0,
+ "type_id": 105,
+ "type_char": "i",
+ "bp_offset": 241,
+ "bp_repr": "[BP-0Fh]",
+ "unknown3": 0,
+ "name": "yOff"
+ },
+ {
+ "index": 9,
+ "unknown1": 0,
+ "type_id": 36,
+ "type_char": "$",
+ "bp_offset": 239,
+ "bp_repr": "[BP-11h]",
+ "unknown3": 2,
+ "name": "mine"
+ }
+ ],
+ "field_tags": [],
+ "annotation_hints": {
+ "runtime_family": "slot-backed-owner-loaded-body",
+ "payload_shape_hint": null,
+ "compiled_anchors": [
+ {
+ "address": "000d:46ec",
+ "role": "context_create_from_slot"
+ },
+ {
+ "address": "000d:0988",
+ "role": "referent_chain_mutator"
+ },
+ {
+ "address": "000d:177c",
+ "role": "push_frame_word_literal"
+ },
+ {
+ "address": "000d:1acb",
+ "role": "compare_stream_dword_and_push_bool"
+ },
+ {
+ "address": "000d:208b",
+ "role": "materialize_or_forward_value"
+ },
+ {
+ "address": "000d:21ed",
+ "role": "prepend_inline_payload"
+ },
+ {
+ "address": "000d:22bc",
+ "role": "matrix_pushback_stage"
+ },
+ {
+ "address": "000d:2104",
+ "role": "finalize_to_outptr"
+ },
+ {
+ "address": "000d:ebe3",
+ "role": "opcode_sequence_run"
+ }
+ ],
+ "runtime_stage_hints": [
+ {
+ "stage_address": "000d:177c",
+ "ir_name": "PUSH_FRAME_WORD_LITERAL",
+ "opcode_or_lane": "same FUN_000d_ebe3 sequencer family",
+ "payload_shape": "word scalar pushed to stream stack",
+ "evidence": "000d:177c subtracts 2 from [context+0xcc] and stores frame-local word before entity_vm_opcode_finish"
+ },
+ {
+ "stage_address": "000d:1acb",
+ "ir_name": "COMPARE_STREAM_DWORD_AND_PUSH_BOOL",
+ "opcode_or_lane": "same FUN_000d_ebe3 sequencer family",
+ "payload_shape": "stream dword pair consumed, predicate word emitted",
+ "evidence": "000d:1acb reads one 32-bit pair from stream, compares against AX:DX, pushes boolean word result"
+ },
+ {
+ "stage_address": "000d:21ed",
+ "ir_name": "PREPEND_INLINE_PAYLOAD",
+ "opcode_or_lane": "inline payload substage",
+ "payload_shape": "caller-owned blob copied into context +0x102 buffer",
+ "evidence": "000d:21ed prepends caller bytes into backward-growing context buffer before metadata-driven follow-on work"
+ },
+ {
+ "stage_address": "000d:22bc",
+ "ir_name": "BUILD_ENTITY_LINK_MATRIX",
+ "opcode_or_lane": "inline payload follow-on stage",
+ "payload_shape": "two signed metadata bytes plus streamed entity/link ids",
+ "evidence": "000d:22bc consumes two signed bytes from +0xd6/+0xd8 and streamed words for repeated entity_link calls"
+ },
+ {
+ "stage_address": "000d:22bc",
+ "ir_name": "EMIT_OR_PUSHBACK_RESULT",
+ "opcode_or_lane": "inline payload follow-on stage",
+ "payload_shape": "stream writeback filter",
+ "evidence": "000d:23da..2421 pushes back only results without 0x0400 list flag before opcode finish"
+ },
+ {
+ "stage_address": "000d:2104",
+ "ir_name": "FINALIZE_MIXED_VALUE_TO_OUTPTR",
+ "opcode_or_lane": "same FUN_000d_ebe3 sequencer family",
+ "payload_shape": "mixed immediate/object scalar return",
+ "evidence": "000d:2104 writes either frame-local dword or object word with high word cleared to caller out-ptr"
+ }
+ ],
+ "slot_taxonomy": {
+ "slot": 1,
+ "event_name_hint": "use"
+ }
+ }
+}
+function blastpac_use() /* entry=207 class_id=0x039B slot=0x01 */
+{
+ var
+ referent, /* [BP+00h] type=0x69 */
+ InCrouch, /* [BP-01h] type=0x62 */
+ Blastpac, /* [BP-03h] type=0x24 */
+ target, /* [BP-05h] type=0x24 */
+ item, /* [BP-07h] type=0x24 */
+ counter, /* [BP-09h] type=0x69 */
+ lastAnim, /* [BP-0Bh] type=0x69 */
+ xOff, /* [BP-0Dh] type=0x69 */
+ yOff, /* [BP-0Fh] type=0x69 */
+ mine; /* [BP-11h] type=0x24 */
+
+ entry:
+ set_info(0x0207, *(arg_06));
+ process_exclude();
+ Blastpac = *(arg_06);
+ set_info(0x00F0, 0);
+ /* global_address global_id=0x3C */
+ lastAnim = Item.push();
+
+ block_011D:
+ /* global_address global_id=0x3C */
+ if Intrinsic0033() goto block_0153;
+
+ block_012D:
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
+ suspend;
+ goto block_011D;
+
+ block_0153:
+ /* loop_selector item in nearby_items(shape=0x053A, origin=global[0x003C]) */
+
+ block_0171:
+ if condition goto block_0233;
+
+ block_0174:
+ target = item;
+
+ block_017B:
+ FREE.slot_29(target, global[0x003C]);
+ if ((retval > 3) && (counter != 6)) goto block_01FC;
+
+ block_019E:
+ /* global_address global_id=0x3C */
+ /* global_address global_id=0x3C */
+ /* global_address global_id=0x3C */
+ spawn NPC.slot_22(Item.getDirToItem(UCMachine.rndRange(pid, 1, Item.legalCreateAtCoords(Item.legalCreateAtCoords(target), UCMachine.rndRange(target)))));
+ suspend;
+ counter = (1 + counter);
+ goto block_017B;
+
+ block_01FC:
+ /* global_address global_id=0x3C */
+ /* global_address global_id=0x3C */
+ suspend;
+ goto block_0233;
+
+ block_022F:
+ /* loopnext */
+ goto block_0171;
+
+ block_0233:
+ if (Actor.setDead() == 0) {
+ xOff = -1;
+ yOff = -3;
+ }
+ else if (Actor.setDead() == 1) {
+ xOff = 0;
+ yOff = -3;
+ }
+ else if (Actor.setDead() == 2) {
+ xOff = 1;
+ yOff = -3;
+ }
+ else if (Actor.setDead() == 3) {
+ xOff = 2;
+ yOff = -2;
+ }
+ else if (Actor.setDead() == 4) {
+ xOff = 2;
+ yOff = -1;
+ }
+ else if (Actor.setDead() == 5) {
+ xOff = 2;
+ yOff = 0;
+ }
+ else if (Actor.setDead() == 6) {
+ xOff = 2;
+ yOff = 2;
+ }
+ else if (Actor.setDead() == 7) {
+ xOff = 0;
+ yOff = 2;
+ }
+ else if (Actor.setDead() == 8) {
+ xOff = -1;
+ yOff = 2;
+ }
+ else if (Actor.setDead() == 9) {
+ xOff = -2;
+ yOff = 2;
+ }
+ else if (Actor.setDead() == 10) {
+ xOff = -3;
+ yOff = 2;
+ }
+ else if (Actor.setDead() == 11) {
+ xOff = -3;
+ yOff = 1;
+ }
+ else if (Actor.setDead() == 12) {
+ xOff = -3;
+ yOff = 0;
+ }
+ else if (Actor.setDead() == 13) {
+ xOff = -3;
+ yOff = -1;
+ }
+ else if (Actor.setDead() == 14) {
+ xOff = -3;
+ yOff = -2;
+ }
+ else if (Actor.setDead() == 15) {
+ xOff = -3;
+ yOff = -3;
+ }
+
+ block_0415:
+ if target goto block_061D;
+
+ block_041D:
+ /* global_address global_id=0x3C */
+ if Intrinsic0035() goto block_0437;
+
+ block_042D:
+ InCrouch = 1;
+ goto block_046E;
+
+ block_0437:
+ InCrouch = 0;
+ /* global_address global_id=0x3C */
+ /* global_address global_id=0x3C */
+ suspend;
+
+ block_046E:
+ /* global_address global_id=0x3C */
+ /* global_address global_id=0x3C */
+ /* global_address global_id=0x3C */
+ spawn BLASTPAC.slot_20(mine, arg_06);
+
+ block_04C5:
+ /* global_address global_id=0x3C */
+ if Intrinsic0033() goto block_04FB;
+
+ block_04D5:
+ spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
+ suspend;
+ goto block_04C5;
+
+ block_04FB:
+ spawn FREE.slot_21(pid, 13, 0x00000000);
+ suspend;
+ if (!InCrouch) goto block_05C5;
+
+ block_052A:
+ /* global_address global_id=0x3C */
+ /* global_address global_id=0x3C */
+ suspend;
+ if target goto block_05C2;
+
+ block_0562:
+ /* global_address global_id=0x3C */
+ /* global_address global_id=0x3C */
+ suspend;
+ /* global_address global_id=0x3C */
+ /* global_address global_id=0x3C */
+ suspend;
+
+ block_05C2:
+ goto block_061A;
+
+ block_05C5:
+ spawn FREE.slot_21(pid, 0x00B0, 0x00000000);
+ suspend;
+
+ block_061A:
+ goto block_0672;
+
+ block_061D:
+ spawn FREE.slot_21(pid, 0x00B0, 0x00000000);
+ suspend;
+
+ block_0672:
+ return;
+
+}
+
diff --git a/crusader_decompilation_notes.md b/crusader_decompilation_notes.md
index 1db3819..b6c3a7a 100644
--- a/crusader_decompilation_notes.md
+++ b/crusader_decompilation_notes.md
@@ -4,7 +4,7 @@ This file is an index. Detailed notes have been split into the `docs/` folder by
Active live analysis target is now `CRUSADER.EXE`. Existing `CRUSADER-RAW.EXE` notes remain in scope as cross-reference evidence and should be cited alongside live NE addresses when they support a rename, variable role, or behavior claim.
-Recent verified localized-build batch: [docs/spanish-cheat-differences.md](docs/spanish-cheat-differences.md) now records a focused live-Ghidra comparison against `/es/CRUSADER.EXE` for the known cheat/debug control areas. Current best read is now split more tightly: the Spanish executable still preserves the same broad cheat/debug framework as the English build with relocated addresses rather than different behavior, but it does **not** preserve the English `jassica16` table as the same static data object. The `-laurie` parser still sets the broad cheat/debug gate (`1478:0910`), the gameplay-input gate still exists at `1478:0927`, the lower keyboard-cheat latch still exists at `1478:5fb3`, and Hack Mover still toggles through `13e8:24a5`; but a direct live byte scan found no exact `24 1e 1f 1f 17 2e 1e 02 07 00` table anywhere in Spanish data `1478:0000-8c3f` or `1480:0000-1fff`, and the old English-side slot at `1478:2833` now contains pointer-like words instead. The same batch also tightens the secondary-latch story: Hack Mover is pre-gated by `1478:8ad6` before the broad gate check, so the Spanish target still appears to retain an additional post-sequence-style latch even though its actual writer and matcher routine remain unresolved.
+Recent verified localized-build batch: [docs/spanish-cheat-differences.md](docs/spanish-cheat-differences.md) now records a tighter live-Ghidra comparison against `/es/CRUSADER.EXE` for the known cheat/debug control areas. Current best read is now narrower than the earlier "moved matcher" theory: the Spanish executable still preserves the same broad cheat/debug framework as the English build with relocated addresses rather than different behavior, but it does **not** preserve the English `jassica16` table as the same static data object and this pass also failed to recover any replacement compiled matcher or any translated `~` cheat-latch toggle. The `-laurie` parser still sets the broad cheat/debug gate (`1478:0910`), the gameplay-input gate still exists at `1478:0927`, and Hack Mover still toggles through `13e8:24a5`; but the old English-side slot at `1478:2833` now contains pointer-like words, the old English immortality-string slots at `1478:2850/2866` are also repurposed as non-string data in Spanish, `1478:0910` has only the `-laurie` write at `1050:0985`, `1478:5fb3` only has the Laurie-hint helper writes at `13e8:0071/0077`, `World_HandleKeyboardInput` does not expose a recovered `0x7e` / tilde branch, and `1478:8ad6` still has no recovered writer even though Hack Mover checks it. The new keyboard-side conclusion is stronger too: `1478:5fb3` does not act like a live positive enable latch in Spanish, because every recovered consumer requires it to be zero and the Laurie-hint helper pulses it back to zero immediately, while the nearby `8ad7/8ad8/8ad9` runtime-state writes still do not explain `8ad6`. The Hack Mover runtime chain is also tighter now: `1478:5fb2` is the actual on/off toggle, `13e8:0ef9` / `13e8:0f77` clear it, `13e8:282f` is the adjacent runtime helper using `1478:8ad9`, and `13e8:2f0e` / `13e8:3009` bracket the active drag state via `1478:8ac0`, `1478:8acc`, and `1478:8ace`. Current safest localized-build read is therefore `-laurie is the only recovered positive enabler for the surviving broad Spanish cheat/debug family; no replacement hidden matcher, no runtime keyboard-latch bootstrap, and no direct Spanish F10 cheat branch have been recovered`, with the remaining open question narrowed to whether `1478:8ad6` is written through an analysis-dark path or is just a dead leftover gate.
Recent verified batch: [docs/retail-debug-arg.md](docs/retail-debug-arg.md) now records the live NE proof that retail `CRUSADER.EXE` still recognizes and executes a real `-debug` command-line branch. That branch prints `Debugging mode ON.`, sets `g_debugMsgLevel` at `1478:87e0`, and toggles two debug globals at `1478:0845/0859`. The later sink pass also closes the text-output target more tightly: `ProbablyPrintDebugMessage` formats through the static stdio-style table at `1478:6c32..6c81` and writes to the handle-`1` entry at `1478:6c46`, so the non-video side is ordinary DOS `stdout` gated by the debug threshold, plus the already-confirmed AVI timing overlay. Current best read remains `surviving debug-output / instrumentation switch`, not `the missing bootstrap for the hidden seg109/seg1408 usecode debugger`. The same batch also leaves the earlier `-laurie` and `0x659c/659e` debugger-state conclusions intact: `-debug` is a separate switch and is not currently evidenced as constructing the hidden usecode-debugger break-state object.
diff --git a/docs/spanish-cheat-differences.md b/docs/spanish-cheat-differences.md
index f2ce247..5b7ad2d 100644
--- a/docs/spanish-cheat-differences.md
+++ b/docs/spanish-cheat-differences.md
@@ -57,7 +57,9 @@ This is the same structural role already established in the English build: broad
- It is read repeatedly from `13e8:14b4` in the same family of keyboard/debug checks.
- Helper setters at `13e8:0071` and `13e8:0077` write `1` and `0` respectively, and are called from the Laurie-hint/computer-gump-side helper `13e8:0e31` setup path.
-This is the strongest live evidence that the Spanish build still preserves the same broad split between a master cheat/debug gate and a narrower keyboard-latch state.
+This no longer supports the older English-side `-laurie` plus `~` model by itself. The current Spanish pass found repeated **reads** of `1478:5fb3`, but still no recovered runtime writer inside the normal keyboard handler family. The only recovered writes remain the tiny `13e8:0071/0077` helpers, and `13e8:0e31` calls them back-to-back inside the Laurie hint path.
+
+Current safest read is therefore narrower: `1478:5fb3` is still a real gate byte in the Spanish keyboard/debug family, but the live Spanish session does **not** currently show the English-style runtime `~` toggle path that would make `-laurie` plus tilde a proven bootstrap for the broader keyboard-cheat state.
## Verified Hidden / Debug Event Lanes
@@ -83,6 +85,21 @@ The Spanish build still preserves the Hack Mover toggle lane:
- `1478:605c` = `HACK MOVER ON`
- `1478:606a` = `HACK MOVER OFF`
+The compiled runtime chain is now tighter too:
+
+- `1478:5fb2` is the actual Hack Mover on/off toggle, not the unresolved unlock byte
+- `13e8:0ef9` and `13e8:0f77` both clear `1478:5fb2`, so normal modal/setup helpers can forcibly shut the feature back off
+- `13e8:282f` is the adjacent runtime helper that watches `1478:5fb2`, uses temp/state byte `1478:8ad9`, and can transition into the active move setup at `13e8:2f0e`
+- `13e8:2f0e` captures cursor-to-object offsets into `1478:8acc` / `1478:8ace` and sets `1478:8ac0 = 1`
+- `13e8:3009` is the paired cleanup path that clears `1478:8ac0`
+
+So the live compiled split is now:
+
+- `1478:8ad6` = unresolved precondition / unlock gate
+- `1478:0910` = broad `-laurie` gate
+- `1478:5fb2` = Hack Mover active toggle
+- `1478:8ac0`, `1478:8acc`, `1478:8ace`, `1478:8ad9` = downstream runtime state after Hack Mover is already on
+
So Hack Mover remains present and still uses English-facing status strings in this localized executable.
That extra `1478:8ad6` pre-check matters. In the English build, Hack Mover was already strongest as a two-latch feature: it wanted the broader Laurie/debug gate plus a second post-sequence latch. The Spanish build still shows that same two-stage shape at the branch level, even though the exact sequence writer has not yet been re-identified.
@@ -110,6 +127,13 @@ The startup-side cheat text also remains English:
This is strong evidence against any broad localization-driven rewrite of the cheat/debug feature family.
+The command-line side is also tighter now:
+
+- `CommandLineArg_HandleLaurie` at `1050:093d` is the only recovered live writer of `1478:0910`
+- no second non-`-laurie` writer of the broad gate was recovered in this Spanish pass
+
+So `-laurie` still clearly enables the broad Spanish debug/event framework, but current live evidence does **not** show a second hidden input path that also raises that gate the way the English `jassica16` matcher does.
+
## F10 / Option-Key Side
The Spanish executable's option-key handler moved relative to the English live notes:
@@ -124,6 +148,18 @@ But the structure is still familiar:
This pass did **not** fully re-close the Spanish F10 immortality leaf the way the English build is already documented, but there is no recovered evidence here that the Spanish build replaced the F10 cheat/control family with a different system.
+Follow-up tightening on that question now makes the old English comparison weaker rather than stronger:
+
+- the old English immortality-string slots at `1478:2850` / `1478:2866` are **not strings** in `/es/CRUSADER.EXE`; live bytes there are now pointer-like words, not `"Immortality disabled."` / `"Immortality enabled."`
+- MCP data-use queries on those two Spanish addresses returned no code uses at all
+- no explicit scan-code `0x44` F10 comparison was recovered in the currently identified Spanish gameplay-input handlers during this pass
+
+Current safest Spanish-side answer is therefore narrower than the English build:
+
+- the Spanish executable still preserves the broad Laurie/debug family
+- but this pass still did **not** recover a direct Spanish equivalent of the English `F10` restore/refill branch or the modifier-gated immortality leaf
+- so the old English `F10` health-replenish folklore should currently be treated as **unproven in `/es/CRUSADER.EXE`**, not as a still-confirmed surviving cheat path
+
## Secret Sequence Status
This pass now closes part of the Spanish-side uncertainty more tightly: the live Spanish build does **not** preserve the English `jassica16` scan-code table as a static data object in the obvious old locations.
@@ -143,6 +179,17 @@ What can be said safely:
- the same `-laurie` parser, Laurie hint path, CD-transfer-display lane, Hack Mover lane, and broad hidden/debug gated event family all survive in recognizably the same form
- Hack Mover still has a second hidden precondition via `1478:8ad6` in addition to the broad gate at `1478:0910`, which is consistent with the Spanish build still retaining some post-sequence-style latch
+Additional live xref evidence from the current Spanish-only pass narrows that further:
+
+- `1478:0910` currently has only one recovered write in the live Spanish database: the `-laurie` parser at `1050:0985`. All other recovered uses are reads in the normal cheat/debug handler family.
+- `1478:5fb3` currently has only two recovered writes: `13e8:0071` and `13e8:0077`, and both helpers are only called from the Laurie-hint/computer-gump helper `13e8:0e31`.
+- `1478:8ad6` currently has only one recovered direct use: the Hack Mover pre-check at `13e8:249b`. No direct writer was recovered through MCP xrefs, data-use scans, or operand scans in this session.
+- the nearby state cluster does not currently explain that byte either: `1478:8ad7` and `1478:8ad8` are written by the gameplay-input modal helpers `13e8:0e7d` / `13e8:0ef9`, and `1478:8ad9` is the live temp/state slot used by the Hack-Mover-adjacent runtime helper `13e8:282f`; but none of those neighboring compiled writes touch `1478:8ad6`
+- One explicit multi-key helper still exists in the Spanish build, `11d0:024b`, but decompilation shows it is only a vararg `is current key in this list?` helper. Its only recovered caller in this session is the movement/control cluster at `1138:1b13`, not a cheat-toggle lane.
+- Full decompilation of `World_HandleKeyboardInput` (`13e8:14b4`) did **not** recover any translated `~` / `0x7e` runtime toggle branch. The visible cheat/debug lanes still cover the broad `1478:0910`-gated overlay/CD/Hack-Mover family, but no Spanish equivalent of the English `event_0x7e_cheat_latch_runtime_toggle` was recovered.
+
+That matters because it removes one easy false positive: the Spanish build still has generic key-list helpers, but the current live evidence does **not** tie any of them to a replacement `jassica16`-style cheat matcher.
+
So the live evidence now splits cleanly into two layers:
- the **framework** still matches the English cheat/debug family
@@ -152,7 +199,11 @@ Current best read:
- the online claim that the Spanish build still uses the exact same static `jassica16` table is **not** supported by the live Spanish data-segment bytes
- this pass still does not prove a replacement code
-- the remaining possibilities are narrower: the Spanish build either moved the matcher into code, rebuilds it dynamically, or uses a different hidden sequence while preserving the same surrounding cheat/debug framework
+- but the live xref picture is now narrower than before: no recovered Spanish writer currently toggles the broad gate `1478:0910`, the keyboard-cheat latch `1478:5fb3`, or the Hack Mover pre-latch `1478:8ad6` in a way that looks like a hidden input-sequence success path
+- current best working hypothesis is therefore no longer "same framework, unknown moved matcher" by default; it is now `same surrounding cheat/debug framework, but no recovered compiled Spanish replacement for the English jassica16 byte matcher`
+- the same correction now applies to the practical `-laurie` plus tilde folklore too: current live Spanish evidence does **not** support a surviving translated `~` cheat-latch toggle, so the old English-side `-laurie` plus `~` bootstrap should currently be treated as **unproven and likely absent** in `/es/CRUSADER.EXE`
+- the same caution now applies to the English `F10` replenish / immortality folklore too: the broad gameplay-input controller family is still present, but the old English immortality-string slots are repurposed in Spanish and no direct Spanish F10 cheat branch has been recovered in this pass
+- the remaining possibilities are now: the Spanish build removed the hidden sequence entirely, moved it into an analysis-dark path MCP has not surfaced yet, or preserves only a dead/unused remnant such as the unresolved `1478:8ad6` gate
## Comparison Outcome
@@ -162,16 +213,77 @@ Confirmed same-family behaviors:
- broad `-laurie` / hidden-debug gate still present
- gameplay-input suppression gate still present
-- separate low-level keyboard-cheat latch still present
+- separate `1478:5fb3` gate byte still present and widely read in the keyboard handler family
- `Ctrl+Q` still maps to CD transfer display, not immortality
- Hack Mover lane still present
- Laurie hint path still present
- English cheat/debug strings still embedded in the Spanish executable
+Current practical read for cheat use:
+
+- `-laurie` still appears to enable the broad debug/event family in the Spanish executable
+- current live Spanish evidence does **not** show the English-side `~` runtime latch toggle
+- so the usual English `-laurie` plus `~` route to the broader keyboard-cheat state is not currently supported by the Spanish static analysis
+- current live Spanish evidence also does **not** yet prove that the English `F10` restore/refill or modifier-gated immortality path still survives in compiled form
+
+## Definitive Enable Model
+
+Current strongest Spanish-side answer to "how are the cheats enabled" is now much simpler than the older folklore:
+
+- the **only recovered positive enabler** is still `-laurie`
+- `CommandLineArg_HandleLaurie` at `1050:093d` writes `1478:0910 = 1`
+- every broad hidden/debug branch recovered in `World_HandleKeyboardInput` that still behaves like the English Laurie/debug family checks that same `1478:0910` gate
+
+The supposed runtime latch at `1478:5fb3` no longer looks like an enabler in the Spanish build:
+
+- all recovered keyboard-handler branches that consult `1478:5fb3` require it to be **zero**, not one
+- the only recovered writes are still `13e8:0071` (`set 1`) and `13e8:0077` (`set 0`)
+- `Game_ShowLaurieHintComputerGump` calls those two helpers back-to-back, so the Laurie-hint path pulses the byte and leaves it cleared
+
+Current safest read is therefore:
+
+- `1478:0910` is the only proven positive Spanish cheat/debug enable gate
+- `1478:5fb3` is not a recovered "cheats on" latch in this build; it behaves more like a transient suppression/guard byte, and possibly a vestigial leftover from the English-side keyboard-latch design
+- `1478:8ad6` is the only still-plausible unresolved secondary latch, because Hack Mover checks it directly before checking `1478:0910`
+
+That gives a more definitive practical answer than the earlier passes: the compiled Spanish build still contains cheat/debug hotkeys, but the only proven way to enable the broad gated family is `-laurie`. No second runtime input path that raises the gate or a full keyboard-cheat latch has been recovered.
+
+## Keyboard Hotkey Split
+
+The main Spanish keyboard handler still contains a sizeable hotkey table, but it now splits into two different groups.
+
+### Proven `-laurie`-Gated Debug Lanes
+
+These branches all require `1478:0910 != 0`, so they are the clearest surviving Spanish cheat/debug hotkeys:
+
+- `0x410`: still toggles CD transfer display (`1478:5fb7`) and posts `CD TRANSFER DISPLAY ACTIVE/INACTIVE`
+- `0x141`, `0x241`, `0x441`: still toggle the same hidden overlay/debug bytes as the English build
+- `H` / `h`: still toggles Hack Mover, but only if `1478:8ad6 != 0` as well as `1478:0910 != 0`
+- `F`: still toggles byte `1478:2d14` after `NPC_SetAvatarInStasis(0)`
+- `T`: still has a direct `1478:0910` gate and acts on the current controlled NPC through `10a8:2667`
+
+### Player-Only Selection / Debug Utilities
+
+These branches do **not** prove a separate cheat-enable path. They mostly require the local `local_3` player/controlled-NPC condition and also require `1478:5fb3 == 0`, which is exactly the state left behind by the Laurie-hint helper pulse:
+
+- `R` / `r`: toggles the targeting reticle byte `1478:28a5` and posts the Spanish active/inactive strings
+- `Q` / `q`: cycles one `1..5` selector family backward through `13e8:0c07`
+- `W` / `w`: cycles that same `1..5` selector family forward through `13e8:0c72`
+- `I` / `i`: cycles one `0x0b..0x19` selector family backward through `13e8:0d5f`
+- `O` / `o`: cycles that same `0x0b..0x19` selector family forward through `13e8:0dc0`
+- `C` / `c` and `S` / `s`: enter the `13e8:3094` browsing/selection helper with mode `1` or `0`, which also sets `1478:5faf` while active
+- `E` / `e`, `M`, and `U` / `u`: object/selection-manipulation helpers that also require the local player-controlled condition and `1478:5fb3 == 0`
+
+So the keyboard evidence no longer supports a Spanish equivalent of the English layered model `master gate + tilde keyboard latch`. It supports a narrower model instead:
+
+- `-laurie` enables the broad Spanish debug/event hotkeys through `1478:0910`
+- several additional letter-key utilities still exist in the same handler, but they do not currently prove any second cheat-enable latch
+- Hack Mover is the one conspicuous remaining exception because it still demands the unrecovered `1478:8ad6` latch as well
+
Unclosed item:
-- direct proof of the Spanish secret scan-code matcher routine and the exact writer of the secondary latch at `1478:8ad6`
+- direct proof of any live Spanish secret scan-code matcher routine at all, direct proof of a surviving Spanish `F10` cheat lane if one still exists, plus the exact writer of the secondary latch at `1478:8ad6`
## Recommended Follow-Up
-If the Spanish question is revisited, the next focused step should be a direct recovery of the Spanish secret-sequence matcher routine and the writer for `1478:8ad6`, rather than another sweep of the already-stable broad cheat/debug event lanes.
\ No newline at end of file
+If the Spanish question is revisited, the next focused step should be a direct recovery of the writer for `1478:8ad6` and any non-`-laurie` writer of `1478:0910`, rather than another sweep of the already-stable broad cheat/debug event lanes. At the moment, those two missing writers are the strongest remaining path to proving whether the Spanish executable still has any hidden cheat-trigger sequence at all.
\ No newline at end of file
diff --git a/docs/usecode-tool-improvement-plan.md b/docs/usecode-tool-improvement-plan.md
index bcaa033..8911ccd 100644
--- a/docs/usecode-tool-improvement-plan.md
+++ b/docs/usecode-tool-improvement-plan.md
@@ -21,6 +21,23 @@ The most useful next upgrades are:
5. add corpus-level pattern clustering and family annotations
6. keep strengthening the runtime bridge back into the retail binary
+## Current status
+
+Implemented in the current local parser/exporter batch:
+
+- first evidence-backed class/slot aliasing for spawned or called helpers, so common wrappers now render with class names and known slot names such as `FREE.waitNTimerTicks(...)` instead of raw `class_0A0C_slot_32(...)`
+- first real loop-selector decoding for the common `nearby_items(...)` family/shape searches used by alarm and trigger bodies
+- structured rendering now upgrades the simpler selector loops to real `for item in nearby_items(...)` output instead of raw `loopscr` comment runs
+- a second common selector family now renders as readable `selector_0x42(arg0=..., arg1=..., arg2=..., origin=...)` signatures, and the simpler back-edge cases upgrade to `for ... in selector_0x42(...)` instead of raw `loopscr 0x42` comment runs
+- full corpus export regenerated through `tools/export_usecode_pseudocode.py`, so the checked-in pseudocode corpus matches the improved renderer
+
+Still open after this batch:
+
+- broader selector mini-language coverage beyond the common `nearby_items(...)` forms and the currently opaque but readable `selector_0x42(...)` fallback
+- more wrapper aliasing than the currently verified `FREE.waitNTimerTicks` seed entry
+- a more authoritative opcode metadata table instead of the current mixed declarative/heuristic decoder
+- corpus-level clustering/index outputs feeding back into inline annotations
+
## Priority 1: Authoritative opcode metadata
### What to borrow
diff --git a/ghidra-mcp_wishlist.md b/ghidra-mcp_wishlist.md
deleted file mode 100644
index 7721bad..0000000
--- a/ghidra-mcp_wishlist.md
+++ /dev/null
@@ -1,70 +0,0 @@
-# Ghidra MCP Wishlist
-
-Short, concrete gaps hit during live Crusader work. Each entry records what MCP lacked, what fallback was needed, and what a useful MCP feature should look like.
-
-## Open Gaps
-
-### Byte-pattern search across program memory
-
-- Status: open
-- Missing MCP capability: search raw bytes or byte patterns across the current program's mapped segments / address spaces.
-- Fallback used: manual `read_region` sweeps plus local Python over the MCP HTTP bridge to scan live Spanish `CRUSADER.EXE` memory for the `jassica16` scan-code table.
-- Useful MCP feature:
- - `search_bytes(pattern, start?, end?, segment_filter?, max_hits?)`
- - accepts hex byte patterns with optional wildcards
- - returns exact hit addresses plus nearby hex context
-- Why it matters: this would have closed the Spanish cheat-sequence question directly inside MCP instead of forcing ad hoc local scripting.
-
-### Reliable caller/xref recovery for local call sites
-
-- Status: open
-- Missing MCP capability: reliable function-call xrefs for near/local calls inside the active program.
-- Fallback used: manual `search_instructions` and instruction-window inspection because `get_function_xrefs` did not surface some obvious local call sites in the Spanish keyboard/helper cluster.
-- Useful MCP feature:
- - improve `get_function_xrefs` so it includes near calls, far calls, tail-call-style jumps, and thunk references consistently
- - or add `get_callers(address_or_name, include_near=true, include_far=true, include_jumps=true)`
-- Why it matters: tracing helper chains around hidden key-sequence code is slower and less reliable when local callers have to be reconstructed by text search.
-
-### Cross-program reads inside the same Ghidra project
-
-- Status: open
-- Missing MCP capability: read/query another program or assembly in the same project without switching the active program first.
-- Fallback used: indirect comparison against repo notes, workspace-side files, and ad hoc local scripts instead of querying `/CRUSADER.EXE`, `/es/CRUSADER.EXE`, `/Writable/...`, or other domain files side by side through MCP.
-- Useful MCP feature:
- - allow explicit target selectors on all read/query endpoints, not only write endpoints
- - example: `read_region(start, end, project_dir?, project_name?, folder_path?, program_name?)`
- - same for strings, functions, xrefs, data uses, decompile, disassemble, symbol lookup, and segment listing
-- Why it matters: live localized-build comparisons and writable-copy verification should not require changing the active Ghidra tab just to inspect another program.
-
-### Cross-project / cross-program compare tooling
-
-- Status: open
-- Missing MCP capability: first-class compare operations between two programs in the same project or across projects.
-- Fallback used: manual note-to-note comparison, address math, and repeated per-program queries.
-- Useful MCP feature:
- - `compare_regions(left_program, left_range, right_program, right_range, mode=bytes|words|disasm|strings)`
- - `compare_strings(left_program, right_program, filter?)`
- - `compare_functions(left_program, left_addr_or_name, right_program, right_addr_or_name, mode=signature|disasm|decompile|xrefs)`
- - machine-readable output with address pairs, similarity score, and differing bytes/instructions/strings
-- Why it matters: this would make English vs Spanish / Remorse vs Regret / raw vs live NE comparisons much faster and less error-prone.
-
-### Port renames/comments/symbol facts between programs
-
-- Status: open
-- Missing MCP capability: apply verified names/comments from one program to another program with explicit provenance instead of re-entering them one by one.
-- Fallback used: manual rename/comment batches plus external notes to carry mapping provenance.
-- Useful MCP feature:
- - `port_symbols(source_program, target_program, mappings, apply=names|comments|both, provenance_comment_template?)`
- - support direct address maps, segment-relative maps, and user-supplied CSV/JSON mapping tables
- - dry-run mode showing collisions and ambiguous targets
-- Why it matters: porting verified English or raw-import findings into Spanish or live NE targets is a recurring workflow.
-
-### Project inventory / browse endpoint
-
-- Status: open
-- Missing MCP capability: list project folders and available programs through MCP.
-- Fallback used: repo-side assumptions and local tooling; the current MCP read tools expose only the active program cleanly.
-- Useful MCP feature:
- - `list_project_programs(project_dir?, project_name?, folder_path?, recursive=true)`
- - returns folder path, program name, read-only/writable/versioned state, and whether it is currently open
-- Why it matters: comparing or porting across programs is awkward without a discoverable inventory of assemblies already in the Ghidra project.
\ No newline at end of file
diff --git a/ghidra_apply_fixup_comments.py b/ghidra_apply_fixup_comments.py
new file mode 100644
index 0000000..5ee8f5c
--- /dev/null
+++ b/ghidra_apply_fixup_comments.py
@@ -0,0 +1,11838 @@
+# Auto-generated NE relocation fixup comments for CRUSADER-RAW.EXE
+# Resolves every CALLF 0x0000:ffff to its real NE target.
+# Run this in Ghidra Script Manager (Python/Jython).
+
+from ghidra.program.model.listing import CodeUnit
+from ghidra.program.model.address import AddressSet
+
+listing = currentProgram.getListing()
+space = currentProgram.getAddressFactory().getDefaultAddressSpace()
+count = 0
+errors = 0
+
+def set_comment(flat_addr, comment):
+ global count, errors
+ try:
+ addr = space.getAddress(flat_addr)
+ cu = listing.getCodeUnitAt(addr)
+ if cu is not None:
+ cu.setComment(CodeUnit.EOL_COMMENT, comment)
+ count += 1
+ else:
+ errors += 1
+ except Exception as e:
+ errors += 1
+
+set_comment(0x37759, "NE FIXUP -> 0004:5479 (seg009:0079)")
+set_comment(0x3A75A, "NE FIXUP -> 0009:a27a (seg082:007a)")
+set_comment(0x3AC9C, "NE FIXUP -> 0009:a200 (seg082:0000)")
+set_comment(0x3ACED, "NE FIXUP -> 0009:a229 (seg082:0029)")
+set_comment(0x3C895, "NE FIXUP -> 0009:a200 (seg082:0000)")
+set_comment(0x3CC58, "NE FIXUP -> 0009:a27a (seg082:007a)")
+set_comment(0x3D72A, "NE FIXUP -> 0009:a200 (seg082:0000)")
+set_comment(0x3D7C8, "NE FIXUP -> 0009:a200 (seg082:0000)")
+set_comment(0x3E121, "NE FIXUP -> 0009:a27a (seg082:007a)")
+set_comment(0x3E16D, "NE FIXUP -> 0009:a200 (seg082:0000)")
+set_comment(0x4000D, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x4003F, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x4008D, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x400B4, "NE FIXUP -> 0009:1c3a (seg070:003a)")
+set_comment(0x400E8, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x4010A, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x4012B, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x40141, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x40150, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x40195, "NE FIXUP -> 0009:1ecc (seg070:02cc)")
+set_comment(0x401AC, "NE FIXUP -> 0009:8e70 (seg080:0270)")
+set_comment(0x401CF, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x4021C, "NE FIXUP -> 0003:b8e2 (seg001:42e2)")
+set_comment(0x40298, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x4056D, "NE FIXUP -> 0005:aac0 (seg025:18c0)")
+set_comment(0x40806, "NE FIXUP -> 0005:aac0 (seg025:18c0)")
+set_comment(0x40A0D, "NE FIXUP -> 000a:500a (seg092:020a)")
+set_comment(0x40A23, "NE FIXUP -> 0009:33b1 (seg071:05b1)")
+set_comment(0x40A4B, "NE FIXUP -> 0009:3184 (seg071:0384)")
+set_comment(0x40A5A, "NE FIXUP -> 0009:2f2e (seg071:012e)")
+set_comment(0x40A6D, "NE FIXUP -> 0009:3040 (seg071:0240)")
+set_comment(0x40A79, "NE FIXUP -> 0009:324c (seg071:044c)")
+set_comment(0x40A86, "NE FIXUP -> 0003:e688 (seg001:7088)")
+set_comment(0x40AC3, "NE FIXUP -> 0009:2f9a (seg071:019a)")
+set_comment(0x40AD1, "NE FIXUP -> 0003:e688 (seg001:7088)")
+set_comment(0x40ADD, "NE FIXUP -> 0009:3184 (seg071:0384)")
+set_comment(0x40BE7, "NE FIXUP -> 0003:e549 (seg001:6f49)")
+set_comment(0x40C2A, "NE FIXUP -> 0003:e549 (seg001:6f49)")
+set_comment(0x40C6D, "NE FIXUP -> 0003:e549 (seg001:6f49)")
+set_comment(0x40D20, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x40E32, "NE FIXUP -> 0003:e549 (seg001:6f49)")
+set_comment(0x40EDA, "NE FIXUP -> 0003:e549 (seg001:6f49)")
+set_comment(0x40F1D, "NE FIXUP -> 0003:e549 (seg001:6f49)")
+set_comment(0x4115A, "NE FIXUP -> 0003:e549 (seg001:6f49)")
+set_comment(0x4119D, "NE FIXUP -> 0003:e549 (seg001:6f49)")
+set_comment(0x411E0, "NE FIXUP -> 0003:e549 (seg001:6f49)")
+set_comment(0x41223, "NE FIXUP -> 0003:e549 (seg001:6f49)")
+set_comment(0x41266, "NE FIXUP -> 0003:e549 (seg001:6f49)")
+set_comment(0x412A9, "NE FIXUP -> 0003:e549 (seg001:6f49)")
+set_comment(0x412EC, "NE FIXUP -> 0003:e549 (seg001:6f49)")
+set_comment(0x4132F, "NE FIXUP -> 0003:e549 (seg001:6f49)")
+set_comment(0x41372, "NE FIXUP -> 0003:e549 (seg001:6f49)")
+set_comment(0x413B5, "NE FIXUP -> 0003:e549 (seg001:6f49)")
+set_comment(0x413F8, "NE FIXUP -> 0003:e549 (seg001:6f49)")
+set_comment(0x4143B, "NE FIXUP -> 0003:e549 (seg001:6f49)")
+set_comment(0x4147E, "NE FIXUP -> 0003:e549 (seg001:6f49)")
+set_comment(0x414C1, "NE FIXUP -> 0003:e549 (seg001:6f49)")
+set_comment(0x41504, "NE FIXUP -> 0003:e549 (seg001:6f49)")
+set_comment(0x4153B, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x415C2, "NE FIXUP -> 0003:e549 (seg001:6f49)")
+set_comment(0x415E6, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x41643, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x41678, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x41692, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x416A3, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x416C3, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x416D1, "NE FIXUP -> 0009:2ee6 (seg071:00e6)")
+set_comment(0x416DD, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x416F9, "NE FIXUP -> 0003:b64d (seg001:404d)")
+set_comment(0x41709, "NE FIXUP -> 0003:d0ca (seg001:5aca)")
+set_comment(0x41724, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x41736, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x4174D, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x4175F, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x41781, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x41795, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x417A9, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x417BD, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x417D3, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x417E9, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x41802, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x41817, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x41827, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x4183B, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x4184F, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x41865, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x41879, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x41894, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x418AF, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x418CA, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x418E5, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x41900, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x4191B, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x41936, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x41951, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x4196C, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x41987, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x4199E, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x419B0, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x419C6, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x419DF, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x419F1, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x41A08, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x41A1F, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x41A3A, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x41A51, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x41A6E, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x41A8F, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x41AA5, "NE FIXUP -> 0003:cc05 (seg001:5605)")
+set_comment(0x41E07, "NE FIXUP -> 000c:834a (seg126:0f4a)")
+set_comment(0x41E0C, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0x41E16, "NE FIXUP -> 0004:7683 (seg012:0083)")
+set_comment(0x41E20, "NE FIXUP -> 0007:0e09 (seg039:2c09)")
+set_comment(0x41E2F, "NE FIXUP -> 0008:d27e (seg061:187e)")
+set_comment(0x41E37, "NE FIXUP -> 0008:4b8f (seg055:098f)")
+set_comment(0x41E3C, "NE FIXUP -> 000c:827d (seg126:0e7d)")
+set_comment(0x41E41, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0x41E78, "NE FIXUP -> 000e:2860 (seg142:4060)")
+set_comment(0x41E8D, "NE FIXUP -> 000e:2860 (seg142:4060)")
+set_comment(0x41EB6, "NE FIXUP -> 000e:2860 (seg142:4060)")
+set_comment(0x41ECB, "NE FIXUP -> 000e:2860 (seg142:4060)")
+set_comment(0x41ED3, "NE FIXUP -> 0006:ae00 (seg037:0000)")
+set_comment(0x41EEA, "NE FIXUP -> 000c:0200 (seg122:0000)")
+set_comment(0x41EF4, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0x41F07, "NE FIXUP -> 0008:ec23 (seg064:0223)")
+set_comment(0x41F16, "NE FIXUP -> 000c:7439 (seg126:0039)")
+set_comment(0x41F22, "NE FIXUP -> 0008:7bfe (seg059:11fe)")
+set_comment(0x41F38, "NE FIXUP -> 0007:d4a5 (seg049:1aa5)")
+set_comment(0x41F40, "NE FIXUP -> 0005:67d5 (seg022:17d5)")
+set_comment(0x41F45, "NE FIXUP -> 0005:e0aa (seg030:00aa)")
+set_comment(0x41F4A, "NE FIXUP -> 0005:663a (seg022:163a)")
+set_comment(0x41F4F, "NE FIXUP -> 0005:e00c (seg030:000c)")
+set_comment(0x41F54, "NE FIXUP -> 0006:ae00 (seg037:0000)")
+set_comment(0x41F59, "NE FIXUP -> 000c:f000 (seg131:0000)")
+set_comment(0x41F63, "NE FIXUP -> 000c:f051 (seg131:0051)")
+set_comment(0x41F74, "NE FIXUP -> 0006:1854 (seg030:3854)")
+set_comment(0x41F99, "NE FIXUP -> 0005:13e7 (seg021:11e7)")
+set_comment(0x41FA9, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x41FB6, "NE FIXUP -> 0005:0376 (seg021:0176)")
+set_comment(0x41FC3, "NE FIXUP -> 0005:033e (seg021:013e)")
+set_comment(0x41FD1, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0x41FDE, "NE FIXUP -> 000c:7730 (seg126:0330)")
+set_comment(0x41FF6, "NE FIXUP -> 0005:13e7 (seg021:11e7)")
+set_comment(0x4200B, "NE FIXUP -> 0005:1528 (seg021:1328)")
+set_comment(0x4202A, "NE FIXUP -> 0007:c6ba (seg049:0cba)")
+set_comment(0x42039, "NE FIXUP -> 0007:d4a5 (seg049:1aa5)")
+set_comment(0x42049, "NE FIXUP -> 0004:eece (seg019:04ce)")
+set_comment(0x42077, "NE FIXUP -> 0006:09f2 (seg030:29f2)")
+set_comment(0x42087, "NE FIXUP -> 0007:c6ba (seg049:0cba)")
+set_comment(0x42091, "NE FIXUP -> 0007:d4a5 (seg049:1aa5)")
+set_comment(0x420B3, "NE FIXUP -> 0004:eece (seg019:04ce)")
+set_comment(0x420C6, "NE FIXUP -> 0004:eece (seg019:04ce)")
+set_comment(0x420EB, "NE FIXUP -> 0006:09f2 (seg030:29f2)")
+set_comment(0x420FE, "NE FIXUP -> 0004:eece (seg019:04ce)")
+set_comment(0x42120, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0x4213E, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0x42159, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0x42163, "NE FIXUP -> 0007:d4a5 (seg049:1aa5)")
+set_comment(0x4216B, "NE FIXUP -> 0006:16e1 (seg030:36e1)")
+set_comment(0x42170, "NE FIXUP -> 000c:82f9 (seg126:0ef9)")
+set_comment(0x4217C, "NE FIXUP -> 0004:70f1 (seg011:02f1)")
+set_comment(0x42181, "NE FIXUP -> 0008:4b32 (seg055:0932)")
+set_comment(0x421B1, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0x421B9, "NE FIXUP -> 000c:82f9 (seg126:0ef9)")
+set_comment(0x421E5, "NE FIXUP -> 000a:4a56 (seg091:0656)")
+set_comment(0x421ED, "NE FIXUP -> 0008:4b32 (seg055:0932)")
+set_comment(0x4220C, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x42233, "NE FIXUP -> 0003:b8e2 (seg001:42e2)")
+set_comment(0x42254, "NE FIXUP -> 0005:8530 (seg023:0330)")
+set_comment(0x42275, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x422B0, "NE FIXUP -> 0005:8530 (seg023:0330)")
+set_comment(0x422DA, "NE FIXUP -> 0006:4800 (seg032:0000)")
+set_comment(0x42302, "NE FIXUP -> 0005:9fef (seg025:0def)")
+set_comment(0x4235D, "NE FIXUP -> 0003:b8e2 (seg001:42e2)")
+set_comment(0x42386, "NE FIXUP -> 0006:4800 (seg032:0000)")
+set_comment(0x423AE, "NE FIXUP -> 0005:9fef (seg025:0def)")
+set_comment(0x423D0, "NE FIXUP -> 0005:1552 (seg021:1352)")
+set_comment(0x423E2, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0x42404, "NE FIXUP -> 0005:8530 (seg023:0330)")
+set_comment(0x4243B, "NE FIXUP -> 0005:86df (seg023:04df)")
+set_comment(0x42477, "NE FIXUP -> 0005:8774 (seg023:0574)")
+set_comment(0x4248D, "NE FIXUP -> 0005:1528 (seg021:1328)")
+set_comment(0x4249A, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0x424AB, "NE FIXUP -> 0005:2745 (seg021:2545)")
+set_comment(0x424E4, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x42500, "NE FIXUP -> 0005:8774 (seg023:0574)")
+set_comment(0x42516, "NE FIXUP -> 0005:1528 (seg021:1328)")
+set_comment(0x42523, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0x42534, "NE FIXUP -> 0005:2745 (seg021:2545)")
+set_comment(0x4255A, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x4257D, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x42592, "NE FIXUP -> 0008:7bfe (seg059:11fe)")
+set_comment(0x4259C, "NE FIXUP -> 0007:1388 (seg039:3188)")
+set_comment(0x425A9, "NE FIXUP -> 000a:68aa (seg095:02aa)")
+set_comment(0x425AE, "NE FIXUP -> 000a:5e95 (seg094:0095)")
+set_comment(0x425B3, "NE FIXUP -> 000d:cd22 (seg139:0122)")
+set_comment(0x425B8, "NE FIXUP -> 000d:44b3 (seg133:0cb3)")
+set_comment(0x425BD, "NE FIXUP -> 0006:ae66 (seg037:0066)")
+set_comment(0x425C2, "NE FIXUP -> 0006:ae00 (seg037:0000)")
+set_comment(0x425CC, "NE FIXUP -> 0004:7683 (seg012:0083)")
+set_comment(0x425D4, "NE FIXUP -> 0008:3982 (seg053:0d82)")
+set_comment(0x425D9, "NE FIXUP -> 0007:defe (seg050:00fe)")
+set_comment(0x425EB, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x42601, "NE FIXUP -> 0008:ba00 (seg061:0000)")
+set_comment(0x42634, "NE FIXUP -> 0005:67d5 (seg022:17d5)")
+set_comment(0x42639, "NE FIXUP -> 0005:e0aa (seg030:00aa)")
+set_comment(0x4263E, "NE FIXUP -> 0005:663a (seg022:163a)")
+set_comment(0x42643, "NE FIXUP -> 0005:e00c (seg030:000c)")
+set_comment(0x42657, "NE FIXUP -> 0004:eece (seg019:04ce)")
+set_comment(0x42698, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x426AC, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x426BE, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x42C15, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x42C25, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x42C56, "NE FIXUP -> 0009:79a3 (seg077:03a3)")
+set_comment(0x42C7D, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x42CB9, "NE FIXUP -> 0009:7905 (seg077:0305)")
+set_comment(0x42D0B, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0x42D18, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x42D42, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0x42D4F, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x42DA2, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x42DB1, "NE FIXUP -> 0009:79a3 (seg077:03a3)")
+set_comment(0x42DC1, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0x42DD2, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0x42DE7, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x42E45, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x42E58, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x42E7F, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x42E8D, "NE FIXUP -> 0009:46e7 (seg073:00e7)")
+set_comment(0x42EC6, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x42EEF, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x42F8B, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x42FBE, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x4307F, "NE FIXUP -> 0009:7905 (seg077:0305)")
+set_comment(0x4308C, "NE FIXUP -> 0009:7aa1 (seg077:04a1)")
+set_comment(0x430D2, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x430E8, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0x4310C, "NE FIXUP -> 000d:7e00 (seg137:0000)")
+set_comment(0x43139, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0x4315D, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x43173, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0x43196, "NE FIXUP -> 000d:7e00 (seg137:0000)")
+set_comment(0x431B4, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x431CA, "NE FIXUP -> 0008:ba00 (seg061:0000)")
+set_comment(0x431F4, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0x4323A, "NE FIXUP -> 0009:7905 (seg077:0305)")
+set_comment(0x43247, "NE FIXUP -> 0009:7aa1 (seg077:04a1)")
+set_comment(0x4328D, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0x4329C, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0x432D7, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x432EB, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x432FD, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x4333D, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x4334F, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x4360F, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x43625, "NE FIXUP -> 0008:ba00 (seg061:0000)")
+set_comment(0x43650, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x43678, "NE FIXUP -> 0008:ccb7 (seg061:12b7)")
+set_comment(0x436CA, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x436E3, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0x43738, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x43744, "NE FIXUP -> 0008:d3e6 (seg061:19e6)")
+set_comment(0x43752, "NE FIXUP -> 0008:d27e (seg061:187e)")
+set_comment(0x43773, "NE FIXUP -> 0008:ccb7 (seg061:12b7)")
+set_comment(0x438FF, "NE FIXUP -> 0008:d3ba (seg061:19ba)")
+set_comment(0x439E6, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x439FA, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x43A0C, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x43A42, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x43A56, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x43A68, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x43C13, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x43C43, "NE FIXUP -> 0005:05fa (seg021:03fa)")
+set_comment(0x43D20, "NE FIXUP -> 0004:0400 (seg003:0000)")
+set_comment(0x43DA3, "NE FIXUP -> 0005:aac0 (seg025:18c0)")
+set_comment(0x43EC0, "NE FIXUP -> 0004:0400 (seg003:0000)")
+set_comment(0x43FA8, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x43FC1, "NE FIXUP -> 0008:ba00 (seg061:0000)")
+set_comment(0x43FEF, "NE FIXUP -> 0008:bbb6 (seg061:01b6)")
+set_comment(0x43FFE, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x44050, "NE FIXUP -> 0005:278b (seg021:258b)")
+set_comment(0x4406F, "NE FIXUP -> 0005:2686 (seg021:2486)")
+set_comment(0x44093, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x440ED, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x44101, "NE FIXUP -> 0005:2686 (seg021:2486)")
+set_comment(0x4415A, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x44177, "NE FIXUP -> 0005:ffed (seg030:1fed)")
+set_comment(0x4418D, "NE FIXUP -> 0008:7f1d (seg059:151d)")
+set_comment(0x441A7, "NE FIXUP -> 0008:83cd (seg059:19cd)")
+set_comment(0x441B7, "NE FIXUP -> 0006:1726 (seg030:3726)")
+set_comment(0x441DA, "NE FIXUP -> 0005:ffed (seg030:1fed)")
+set_comment(0x44218, "NE FIXUP -> 0006:01ad (seg030:21ad)")
+set_comment(0x4423B, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x44248, "NE FIXUP -> 0005:ff2d (seg030:1f2d)")
+set_comment(0x44263, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x4427C, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x4428C, "NE FIXUP -> 0005:3b91 (seg021:3991)")
+set_comment(0x442A0, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x442B4, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x442C6, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x442E0, "NE FIXUP -> 0005:c400 (seg029:0000)")
+set_comment(0x44303, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x44340, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x4435D, "NE FIXUP -> 0008:770e (seg059:0d0e)")
+set_comment(0x4436C, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x443A4, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x4444C, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x4445D, "NE FIXUP -> 0005:3cf5 (seg021:3af5)")
+set_comment(0x4448D, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x444CE, "NE FIXUP -> 0005:2b70 (seg021:2970)")
+set_comment(0x44508, "NE FIXUP -> 0005:a173 (seg025:0f73)")
+set_comment(0x44526, "NE FIXUP -> 0005:a837 (seg025:1637)")
+set_comment(0x44548, "NE FIXUP -> 0005:278b (seg021:258b)")
+set_comment(0x445BA, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x445E1, "NE FIXUP -> 0005:d551 (seg029:1151)")
+set_comment(0x445FE, "NE FIXUP -> 0005:2772 (seg021:2572)")
+set_comment(0x4463A, "NE FIXUP -> 0005:d551 (seg029:1151)")
+set_comment(0x44661, "NE FIXUP -> 0005:1b45 (seg021:1945)")
+set_comment(0x44670, "NE FIXUP -> 0005:d63a (seg029:123a)")
+set_comment(0x44694, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x446DC, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x4470F, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x4483A, "NE FIXUP -> 0005:2686 (seg021:2486)")
+set_comment(0x44876, "NE FIXUP -> 0005:2686 (seg021:2486)")
+set_comment(0x449BE, "NE FIXUP -> 0005:2686 (seg021:2486)")
+set_comment(0x449E4, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x44A60, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x44A74, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x44A88, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x44A9C, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x44AF8, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x44B1E, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x44B51, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x44B9A, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x44BFE, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x44C58, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x44C7E, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x44CBA, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x44CED, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x44D16, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0x44D25, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x44D3C, "NE FIXUP -> 0005:c400 (seg029:0000)")
+set_comment(0x44DC9, "NE FIXUP -> 0005:d551 (seg029:1151)")
+set_comment(0x44DDE, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x44DF1, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x44E15, "NE FIXUP -> 0005:c400 (seg029:0000)")
+set_comment(0x44E47, "NE FIXUP -> 0005:d551 (seg029:1151)")
+set_comment(0x44E54, "NE FIXUP -> 0005:d63a (seg029:123a)")
+set_comment(0x44E78, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x44E9C, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x44EBD, "NE FIXUP -> 0008:7da4 (seg059:13a4)")
+set_comment(0x44F21, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0x44F3E, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x45473, "NE FIXUP -> 0009:1153 (seg068:0953)")
+set_comment(0x4548B, "NE FIXUP -> 0004:5bdc (seg010:01dc)")
+set_comment(0x4549C, "NE FIXUP -> 0008:9bcf (seg059:31cf)")
+set_comment(0x454BA, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x456B6, "NE FIXUP -> 0004:4ea6 (seg008:12a6)")
+set_comment(0x456CE, "NE FIXUP -> 0008:7da4 (seg059:13a4)")
+set_comment(0x45712, "NE FIXUP -> 0004:3f95 (seg008:0395)")
+set_comment(0x45745, "NE FIXUP -> 0005:05fa (seg021:03fa)")
+set_comment(0x457E1, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x457EB, "NE FIXUP -> 000a:500a (seg092:020a)")
+set_comment(0x4583E, "NE FIXUP -> 0003:d6d2 (seg001:60d2)")
+set_comment(0x45857, "NE FIXUP -> 0003:a962 (seg001:3362)")
+set_comment(0x45A0C, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x45A22, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0x45A3E, "NE FIXUP -> 0008:d27e (seg061:187e)")
+set_comment(0x45A4C, "NE FIXUP -> 0008:d3ba (seg061:19ba)")
+set_comment(0x45ADC, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0x45AE1, "NE FIXUP -> 0004:3205 (seg006:0605)")
+set_comment(0x45AE6, "NE FIXUP -> 000d:8653 (seg137:0853)")
+set_comment(0x45AF0, "NE FIXUP -> 000d:86cc (seg137:08cc)")
+set_comment(0x45AF8, "NE FIXUP -> 000d:84e6 (seg137:06e6)")
+set_comment(0x45AFF, "NE FIXUP -> 000d:82ea (seg137:04ea)")
+set_comment(0x45B07, "NE FIXUP -> 000d:85cc (seg137:07cc)")
+set_comment(0x45B0E, "NE FIXUP -> 000d:84f4 (seg137:06f4)")
+set_comment(0x45B18, "NE FIXUP -> 0004:304a (seg006:044a)")
+set_comment(0x45B22, "NE FIXUP -> 0004:3147 (seg006:0547)")
+set_comment(0x45B2D, "NE FIXUP -> 000d:89c6 (seg137:0bc6)")
+set_comment(0x45B3D, "NE FIXUP -> 000d:88b2 (seg137:0ab2)")
+set_comment(0x45B48, "NE FIXUP -> 000d:8a47 (seg137:0c47)")
+set_comment(0x45B52, "NE FIXUP -> 000d:84f4 (seg137:06f4)")
+set_comment(0x45B5A, "NE FIXUP -> 000d:887c (seg137:0a7c)")
+set_comment(0x45B5F, "NE FIXUP -> 000a:534a (seg092:054a)")
+set_comment(0x45B64, "NE FIXUP -> 000a:535b (seg092:055b)")
+set_comment(0x45B69, "NE FIXUP -> 0007:ba13 (seg049:0013)")
+set_comment(0x45B76, "NE FIXUP -> 0004:5829 (seg009:0429)")
+set_comment(0x45BA0, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0x45BA9, "NE FIXUP -> 0004:5829 (seg009:0429)")
+set_comment(0x45BD3, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0x45BE8, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x45C62, "NE FIXUP -> 0003:c166 (seg001:4b66)")
+set_comment(0x45C6C, "NE FIXUP -> 0003:c151 (seg001:4b51)")
+set_comment(0x45C76, "NE FIXUP -> 0003:c949 (seg001:5349)")
+set_comment(0x45C80, "NE FIXUP -> 0003:c949 (seg001:5349)")
+set_comment(0x45C88, "NE FIXUP -> 0003:c128 (seg001:4b28)")
+set_comment(0x45C8F, "NE FIXUP -> 0003:c166 (seg001:4b66)")
+set_comment(0x45CC3, "NE FIXUP -> 0003:c368 (seg001:4d68)")
+set_comment(0x45CD1, "NE FIXUP -> 0003:c2cf (seg001:4ccf)")
+set_comment(0x45CE5, "NE FIXUP -> 0003:c368 (seg001:4d68)")
+set_comment(0x45CEF, "NE FIXUP -> 0003:c151 (seg001:4b51)")
+set_comment(0x45D0F, "NE FIXUP -> 0003:c2cf (seg001:4ccf)")
+set_comment(0x45D27, "NE FIXUP -> 0003:c2cf (seg001:4ccf)")
+set_comment(0x45D31, "NE FIXUP -> 0003:c166 (seg001:4b66)")
+set_comment(0x45D54, "NE FIXUP -> 0003:c368 (seg001:4d68)")
+set_comment(0x45D5E, "NE FIXUP -> 0003:c151 (seg001:4b51)")
+set_comment(0x45D6B, "NE FIXUP -> 0003:c2cf (seg001:4ccf)")
+set_comment(0x45D75, "NE FIXUP -> 0003:c151 (seg001:4b51)")
+set_comment(0x45D83, "NE FIXUP -> 0003:c368 (seg001:4d68)")
+set_comment(0x45D8F, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x45DA1, "NE FIXUP -> 0004:0a00 (seg004:0000)")
+set_comment(0x45DAE, "NE FIXUP -> 000a:500a (seg092:020a)")
+set_comment(0x45DC1, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x45DD0, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x45DDF, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x45DEE, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x45DFD, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x45E09, "NE FIXUP -> 000a:4913 (seg091:0513)")
+set_comment(0x45E11, "NE FIXUP -> 0008:6a0c (seg059:000c)")
+set_comment(0x45E16, "NE FIXUP -> 0009:a091 (seg081:0291)")
+set_comment(0x45E48, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x45E52, "NE FIXUP -> 000a:3800 (seg090:0000)")
+set_comment(0x45E79, "NE FIXUP -> 0008:6c55 (seg059:0255)")
+set_comment(0x45E9F, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x45EB0, "NE FIXUP -> 0008:6bea (seg059:01ea)")
+set_comment(0x45EB7, "NE FIXUP -> 000a:4a56 (seg091:0656)")
+set_comment(0x45ED9, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x45EE3, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x45F07, "NE FIXUP -> 0009:8c93 (seg080:0093)")
+set_comment(0x45F2E, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x45F52, "NE FIXUP -> 0009:8c93 (seg080:0093)")
+set_comment(0x45F79, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0x45F88, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x45F96, "NE FIXUP -> 0004:8200 (seg013:0000)")
+set_comment(0x45F9E, "NE FIXUP -> 0004:ada8 (seg014:03a8)")
+set_comment(0x45FA7, "NE FIXUP -> 0006:49fa (seg032:01fa)")
+set_comment(0x45FB2, "NE FIXUP -> 0005:8a00 (seg024:0000)")
+set_comment(0x45FBA, "NE FIXUP -> 0004:c73f (seg015:153f)")
+set_comment(0x45FBF, "NE FIXUP -> 0004:fffd (seg020:07fd)")
+set_comment(0x45FCB, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x45FD3, "NE FIXUP -> 000d:44df (seg133:0cdf)")
+set_comment(0x45FDD, "NE FIXUP -> 000c:f051 (seg131:0051)")
+set_comment(0x45FEC, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x45FF7, "NE FIXUP -> 0004:7600 (seg012:0000)")
+set_comment(0x45FFF, "NE FIXUP -> 0007:f654 (seg051:0c54)")
+set_comment(0x46004, "NE FIXUP -> 0005:7bab (seg022:2bab)")
+set_comment(0x46009, "NE FIXUP -> 0005:e00c (seg030:000c)")
+set_comment(0x4600E, "NE FIXUP -> 0006:a600 (seg036:0000)")
+set_comment(0x46013, "NE FIXUP -> 0008:2c00 (seg053:0000)")
+set_comment(0x46018, "NE FIXUP -> 0007:de93 (seg050:0093)")
+set_comment(0x4601D, "NE FIXUP -> 0004:6e0d (seg011:000d)")
+set_comment(0x46029, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x46031, "NE FIXUP -> 0007:9e00 (seg045:0000)")
+set_comment(0x4603D, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x46054, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x4605E, "NE FIXUP -> 000a:9815 (seg099:0215)")
+set_comment(0x4606B, "NE FIXUP -> 000a:9748 (seg099:0148)")
+set_comment(0x46083, "NE FIXUP -> 000a:3292 (seg088:0492)")
+set_comment(0x46092, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x4609A, "NE FIXUP -> 0007:ba00 (seg049:0000)")
+set_comment(0x460A6, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x460B1, "NE FIXUP -> 000c:4e00 (seg124:0000)")
+set_comment(0x460C0, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x460D6, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x460E0, "NE FIXUP -> 000a:e600 (seg104:0000)")
+set_comment(0x460E8, "NE FIXUP -> 000a:a400 (seg101:0000)")
+set_comment(0x460F4, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x460FC, "NE FIXUP -> 000a:538e (seg092:058e)")
+set_comment(0x46101, "NE FIXUP -> 0008:ec4e (seg064:024e)")
+set_comment(0x46106, "NE FIXUP -> 0004:38c9 (seg007:02c9)")
+set_comment(0x4610B, "NE FIXUP -> 0004:2c00 (seg006:0000)")
+set_comment(0x46113, "NE FIXUP -> 000c:8377 (seg126:0f77)")
+set_comment(0x46122, "NE FIXUP -> 000a:b21f (seg101:0e1f)")
+set_comment(0x4612D, "NE FIXUP -> 0006:e2e3 (seg039:00e3)")
+set_comment(0x46138, "NE FIXUP -> 000d:7299 (seg135:0299)")
+set_comment(0x46140, "NE FIXUP -> 0008:420c (seg055:000c)")
+set_comment(0x46145, "NE FIXUP -> 000c:e499 (seg129:0a99)")
+set_comment(0x46151, "NE FIXUP -> 0009:6ec7 (seg076:00c7)")
+set_comment(0x46180, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0x46193, "NE FIXUP -> 000b:1e39 (seg108:0439)")
+set_comment(0x461A0, "NE FIXUP -> 000b:2492 (seg108:0a92)")
+set_comment(0x461AF, "NE FIXUP -> 000b:26bd (seg108:0cbd)")
+set_comment(0x461BF, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0x461D8, "NE FIXUP -> 000d:761c (seg136:001c)")
+set_comment(0x461ED, "NE FIXUP -> 0008:55cf (seg056:05cf)")
+set_comment(0x461FF, "NE FIXUP -> 0008:55df (seg056:05df)")
+set_comment(0x4620C, "NE FIXUP -> 000b:2706 (seg108:0d06)")
+set_comment(0x46214, "NE FIXUP -> 0004:1e00 (seg005:0000)")
+set_comment(0x4621E, "NE FIXUP -> 0008:ec23 (seg064:0223)")
+set_comment(0x46223, "NE FIXUP -> 000b:2b08 (seg108:1108)")
+set_comment(0x46228, "NE FIXUP -> 000a:38ef (seg090:00ef)")
+set_comment(0x4622D, "NE FIXUP -> 0004:21f5 (seg005:03f5)")
+set_comment(0x46232, "NE FIXUP -> 000a:a41b (seg101:001b)")
+set_comment(0x46237, "NE FIXUP -> 000a:5223 (seg092:0423)")
+set_comment(0x4623C, "NE FIXUP -> 0008:ec58 (seg064:0258)")
+set_comment(0x46241, "NE FIXUP -> 000a:e63b (seg104:003b)")
+set_comment(0x4627B, "NE FIXUP -> 0007:9e06 (seg045:0006)")
+set_comment(0x46280, "NE FIXUP -> 0008:2cae (seg053:00ae)")
+set_comment(0x46285, "NE FIXUP -> 0006:a641 (seg036:0041)")
+set_comment(0x4628A, "NE FIXUP -> 0005:e0aa (seg030:00aa)")
+set_comment(0x4628F, "NE FIXUP -> 0005:002a (seg020:082a)")
+set_comment(0x46294, "NE FIXUP -> 0004:c785 (seg015:1585)")
+set_comment(0x4629D, "NE FIXUP -> 0006:4a2b (seg032:022b)")
+set_comment(0x462A5, "NE FIXUP -> 0004:8236 (seg013:0036)")
+set_comment(0x462AA, "NE FIXUP -> 0004:add5 (seg014:03d5)")
+set_comment(0x462AF, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0x462C3, "NE FIXUP -> 0009:8e0a (seg080:020a)")
+set_comment(0x462E3, "NE FIXUP -> 0009:8e0a (seg080:020a)")
+set_comment(0x46303, "NE FIXUP -> 0009:8e0a (seg080:020a)")
+set_comment(0x46322, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x46333, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x46341, "NE FIXUP -> 000d:8bfb (seg137:0dfb)")
+set_comment(0x46349, "NE FIXUP -> 0008:6bea (seg059:01ea)")
+set_comment(0x46352, "NE FIXUP -> 000a:4a51 (seg091:0651)")
+set_comment(0x463AF, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x463FE, "NE FIXUP -> 0003:e628 (seg001:7028)")
+set_comment(0x46428, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x4643B, "NE FIXUP -> 000a:4a56 (seg091:0656)")
+set_comment(0x4649F, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x464BF, "NE FIXUP -> 000a:4a56 (seg091:0656)")
+set_comment(0x464D1, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x464FF, "NE FIXUP -> 0003:c994 (seg001:5394)")
+set_comment(0x4654A, "NE FIXUP -> 0003:c994 (seg001:5394)")
+set_comment(0x46572, "NE FIXUP -> 0003:c994 (seg001:5394)")
+set_comment(0x4659A, "NE FIXUP -> 0003:c994 (seg001:5394)")
+set_comment(0x465B9, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x465CF, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x465F7, "NE FIXUP -> 0003:c994 (seg001:5394)")
+set_comment(0x4661A, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x46642, "NE FIXUP -> 0003:c994 (seg001:5394)")
+set_comment(0x46655, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x4667C, "NE FIXUP -> 0003:c994 (seg001:5394)")
+set_comment(0x4668F, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x466A5, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x466C8, "NE FIXUP -> 0003:e628 (seg001:7028)")
+set_comment(0x46730, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0x4675D, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x46771, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x46783, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x46E04, "NE FIXUP -> 0009:8617 (seg079:0017)")
+set_comment(0x46E1F, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x46E3A, "NE FIXUP -> 0004:6edc (seg011:00dc)")
+set_comment(0x46E4A, "NE FIXUP -> 000a:500a (seg092:020a)")
+set_comment(0x46E63, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0x46EB2, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x46EC1, "NE FIXUP -> 0009:1800 (seg069:0000)")
+set_comment(0x46EF3, "NE FIXUP -> 0003:e4d3 (seg001:6ed3)")
+set_comment(0x46F0B, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x46F45, "NE FIXUP -> 0008:9de3 (seg059:33e3)")
+set_comment(0x46F71, "NE FIXUP -> 0003:b64d (seg001:404d)")
+set_comment(0x46F86, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0x4701A, "NE FIXUP -> 0005:5b86 (seg022:0b86)")
+set_comment(0x47029, "NE FIXUP -> 0005:e0c9 (seg030:00c9)")
+set_comment(0x4703C, "NE FIXUP -> 0006:1905 (seg030:3905)")
+set_comment(0x4704B, "NE FIXUP -> 0008:3aef (seg053:0eef)")
+set_comment(0x4705A, "NE FIXUP -> 000d:65ac (seg134:05ac)")
+set_comment(0x47069, "NE FIXUP -> 0006:b3b7 (seg037:05b7)")
+set_comment(0x47078, "NE FIXUP -> 000c:f2e7 (seg131:02e7)")
+set_comment(0x47087, "NE FIXUP -> 0008:ed11 (seg064:0311)")
+set_comment(0x47096, "NE FIXUP -> 0008:8e91 (seg059:2491)")
+set_comment(0x470C0, "NE FIXUP -> 0009:1800 (seg069:0000)")
+set_comment(0x470D5, "NE FIXUP -> 0008:55cf (seg056:05cf)")
+set_comment(0x470E7, "NE FIXUP -> 0008:55df (seg056:05df)")
+set_comment(0x47126, "NE FIXUP -> 000a:500a (seg092:020a)")
+set_comment(0x47155, "NE FIXUP -> 0008:9de3 (seg059:33e3)")
+set_comment(0x4717B, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0x471AC, "NE FIXUP -> 0008:7bfe (seg059:11fe)")
+set_comment(0x471B1, "NE FIXUP -> 0008:87cc (seg059:1dcc)")
+set_comment(0x471B6, "NE FIXUP -> 000d:44b3 (seg133:0cb3)")
+set_comment(0x47218, "NE FIXUP -> 0005:600c (seg022:100c)")
+set_comment(0x47227, "NE FIXUP -> 0005:e0f2 (seg030:00f2)")
+set_comment(0x4723A, "NE FIXUP -> 0006:18d5 (seg030:38d5)")
+set_comment(0x47249, "NE FIXUP -> 0008:3a1f (seg053:0e1f)")
+set_comment(0x47258, "NE FIXUP -> 000d:6501 (seg134:0501)")
+set_comment(0x47267, "NE FIXUP -> 0006:b342 (seg037:0542)")
+set_comment(0x47276, "NE FIXUP -> 000c:f051 (seg131:0051)")
+set_comment(0x47285, "NE FIXUP -> 0008:ecbf (seg064:02bf)")
+set_comment(0x47294, "NE FIXUP -> 0008:8a3e (seg059:203e)")
+set_comment(0x4729C, "NE FIXUP -> 000c:da00 (seg129:0000)")
+set_comment(0x472A1, "NE FIXUP -> 000a:5600 (seg093:0000)")
+set_comment(0x472A6, "NE FIXUP -> 0008:0319 (seg051:1919)")
+set_comment(0x472CD, "NE FIXUP -> 0009:1800 (seg069:0000)")
+set_comment(0x472EE, "NE FIXUP -> 0008:55cf (seg056:05cf)")
+set_comment(0x47300, "NE FIXUP -> 0008:55df (seg056:05df)")
+set_comment(0x47390, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x473A2, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x47610, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x47626, "NE FIXUP -> 0008:ba00 (seg061:0000)")
+set_comment(0x4765F, "NE FIXUP -> 0008:ccb7 (seg061:12b7)")
+set_comment(0x4774D, "NE FIXUP -> 0005:3a3e (seg021:383e)")
+set_comment(0x4776D, "NE FIXUP -> 0005:0e78 (seg021:0c78)")
+set_comment(0x4777E, "NE FIXUP -> 0005:0e40 (seg021:0c40)")
+set_comment(0x4785B, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0x47865, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0x47997, "NE FIXUP -> 0006:e210 (seg039:0010)")
+set_comment(0x47ADC, "NE FIXUP -> 0006:e210 (seg039:0010)")
+set_comment(0x47B29, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x47D6E, "NE FIXUP -> 0004:e7bd (seg018:07bd)")
+set_comment(0x47D95, "NE FIXUP -> 0007:be67 (seg049:0467)")
+set_comment(0x47DA7, "NE FIXUP -> 0007:c6ba (seg049:0cba)")
+set_comment(0x47E02, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0x47E4C, "NE FIXUP -> 0005:3a3e (seg021:383e)")
+set_comment(0x47E6D, "NE FIXUP -> 0005:0e78 (seg021:0c78)")
+set_comment(0x47E7E, "NE FIXUP -> 0005:0e40 (seg021:0c40)")
+set_comment(0x47EDF, "NE FIXUP -> 0007:d6e5 (seg049:1ce5)")
+set_comment(0x47F16, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x47F2A, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x47F3C, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x4825E, "NE FIXUP -> 0003:c949 (seg001:5349)")
+set_comment(0x48268, "NE FIXUP -> 0003:c949 (seg001:5349)")
+set_comment(0x482D6, "NE FIXUP -> 0004:d7e4 (seg016:03e4)")
+set_comment(0x482F4, "NE FIXUP -> 0004:d885 (seg016:0485)")
+set_comment(0x48330, "NE FIXUP -> 0009:a24f (seg082:004f)")
+set_comment(0x48351, "NE FIXUP -> 0009:af87 (seg082:0d87)")
+set_comment(0x4836C, "NE FIXUP -> 0009:b06b (seg082:0e6b)")
+set_comment(0x4838A, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x48396, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0x483A6, "NE FIXUP -> 0009:c628 (seg083:0228)")
+set_comment(0x483F8, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x48439, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x48497, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x484FC, "NE FIXUP -> 0004:d6af (seg016:02af)")
+set_comment(0x4851E, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x4853E, "NE FIXUP -> 0004:d84a (seg016:044a)")
+set_comment(0x4859C, "NE FIXUP -> 0004:d7c2 (seg016:03c2)")
+set_comment(0x485C2, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x485F1, "NE FIXUP -> 0004:d7c2 (seg016:03c2)")
+set_comment(0x48620, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x48641, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x48693, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x486DE, "NE FIXUP -> 0004:d929 (seg016:0529)")
+set_comment(0x486ED, "NE FIXUP -> 0004:d968 (seg016:0568)")
+set_comment(0x486FC, "NE FIXUP -> 0004:d948 (seg016:0548)")
+set_comment(0x48717, "NE FIXUP -> 0004:d8a1 (seg016:04a1)")
+set_comment(0x4872F, "NE FIXUP -> 0004:d506 (seg016:0106)")
+set_comment(0x48747, "NE FIXUP -> 0004:d53c (seg016:013c)")
+set_comment(0x48756, "NE FIXUP -> 0004:d498 (seg016:0098)")
+set_comment(0x48763, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x48782, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x48793, "NE FIXUP -> 0004:d948 (seg016:0548)")
+set_comment(0x487A0, "NE FIXUP -> 0004:d867 (seg016:0467)")
+set_comment(0x487D6, "NE FIXUP -> 0004:d968 (seg016:0568)")
+set_comment(0x487E6, "NE FIXUP -> 0004:d929 (seg016:0529)")
+set_comment(0x487F7, "NE FIXUP -> 0004:d8a1 (seg016:04a1)")
+set_comment(0x48804, "NE FIXUP -> 0004:d400 (seg016:0000)")
+set_comment(0x4886D, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x4889E, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x488B8, "NE FIXUP -> 0004:d7c2 (seg016:03c2)")
+set_comment(0x488FA, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x48911, "NE FIXUP -> 0004:d84a (seg016:044a)")
+set_comment(0x48920, "NE FIXUP -> 0004:d885 (seg016:0485)")
+set_comment(0x4893C, "NE FIXUP -> 0004:d885 (seg016:0485)")
+set_comment(0x4898B, "NE FIXUP -> 0004:d498 (seg016:0098)")
+set_comment(0x4899A, "NE FIXUP -> 0004:d968 (seg016:0568)")
+set_comment(0x489AA, "NE FIXUP -> 0004:d929 (seg016:0529)")
+set_comment(0x489B7, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x489CF, "NE FIXUP -> 0004:d867 (seg016:0467)")
+set_comment(0x48A0C, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x48A2B, "NE FIXUP -> 0004:d8a1 (seg016:04a1)")
+set_comment(0x48A41, "NE FIXUP -> 0004:d867 (seg016:0467)")
+set_comment(0x48A59, "NE FIXUP -> 0004:d948 (seg016:0548)")
+set_comment(0x48A6E, "NE FIXUP -> 0004:d581 (seg016:0181)")
+set_comment(0x48A83, "NE FIXUP -> 0004:d806 (seg016:0406)")
+set_comment(0x48AA1, "NE FIXUP -> 0004:d84a (seg016:044a)")
+set_comment(0x48AC5, "NE FIXUP -> 0004:d828 (seg016:0428)")
+set_comment(0x48AE3, "NE FIXUP -> 0004:d84a (seg016:044a)")
+set_comment(0x48B7F, "NE FIXUP -> 0004:d7e4 (seg016:03e4)")
+set_comment(0x48B9F, "NE FIXUP -> 0004:d7e4 (seg016:03e4)")
+set_comment(0x48C26, "NE FIXUP -> 0004:d84a (seg016:044a)")
+set_comment(0x48C45, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x48C52, "NE FIXUP -> 0004:d806 (seg016:0406)")
+set_comment(0x48C70, "NE FIXUP -> 0004:d828 (seg016:0428)")
+set_comment(0x48C96, "NE FIXUP -> 0004:d867 (seg016:0467)")
+set_comment(0x48CAA, "NE FIXUP -> 0004:d867 (seg016:0467)")
+set_comment(0x48CB9, "NE FIXUP -> 0004:d84a (seg016:044a)")
+set_comment(0x48D13, "NE FIXUP -> 0004:d948 (seg016:0548)")
+set_comment(0x48D23, "NE FIXUP -> 0004:d84a (seg016:044a)")
+set_comment(0x48D4A, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x48D68, "NE FIXUP -> 0004:da17 (seg016:0617)")
+set_comment(0x48DDF, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x48DFE, "NE FIXUP -> 0004:d8a1 (seg016:04a1)")
+set_comment(0x48E16, "NE FIXUP -> 0004:d948 (seg016:0548)")
+set_comment(0x48E23, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x48E49, "NE FIXUP -> 0004:d84a (seg016:044a)")
+set_comment(0x48E66, "NE FIXUP -> 0004:d84a (seg016:044a)")
+set_comment(0x48E83, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x48ECB, "NE FIXUP -> 0004:d84a (seg016:044a)")
+set_comment(0x48EEF, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x48F0D, "NE FIXUP -> 0004:da17 (seg016:0617)")
+set_comment(0x48F57, "NE FIXUP -> 0004:d828 (seg016:0428)")
+set_comment(0x48F7C, "NE FIXUP -> 0004:d867 (seg016:0467)")
+set_comment(0x48F90, "NE FIXUP -> 0004:d867 (seg016:0467)")
+set_comment(0x48F9F, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x48FFE, "NE FIXUP -> 0004:d948 (seg016:0548)")
+set_comment(0x4901B, "NE FIXUP -> 0004:d8e5 (seg016:04e5)")
+set_comment(0x49033, "NE FIXUP -> 0004:d907 (seg016:0507)")
+set_comment(0x4904A, "NE FIXUP -> 0004:d907 (seg016:0507)")
+set_comment(0x49062, "NE FIXUP -> 0004:d8e5 (seg016:04e5)")
+set_comment(0x49073, "NE FIXUP -> 0004:d8a1 (seg016:04a1)")
+set_comment(0x49082, "NE FIXUP -> 0004:d948 (seg016:0548)")
+set_comment(0x49091, "NE FIXUP -> 0004:d968 (seg016:0568)")
+set_comment(0x490A1, "NE FIXUP -> 0004:d929 (seg016:0529)")
+set_comment(0x490AE, "NE FIXUP -> 0004:d581 (seg016:0181)")
+set_comment(0x490D9, "NE FIXUP -> 0004:d806 (seg016:0406)")
+set_comment(0x490F7, "NE FIXUP -> 0004:d498 (seg016:0098)")
+set_comment(0x4910E, "NE FIXUP -> 0004:d5c8 (seg016:01c8)")
+set_comment(0x4911A, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x49132, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x49152, "NE FIXUP -> 0004:d8a1 (seg016:04a1)")
+set_comment(0x49176, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x49192, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x491DB, "NE FIXUP -> 0004:d84a (seg016:044a)")
+set_comment(0x49214, "NE FIXUP -> 0004:d5f9 (seg016:01f9)")
+set_comment(0x4922E, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x49251, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x49263, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x492C6, "NE FIXUP -> 0004:d828 (seg016:0428)")
+set_comment(0x492E4, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x4930C, "NE FIXUP -> 0004:d828 (seg016:0428)")
+set_comment(0x49329, "NE FIXUP -> 0004:d84a (seg016:044a)")
+set_comment(0x49362, "NE FIXUP -> 0004:d63e (seg016:023e)")
+set_comment(0x4937C, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4939F, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x493B1, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x493BE, "NE FIXUP -> 0004:d867 (seg016:0467)")
+set_comment(0x493FF, "NE FIXUP -> 0004:d907 (seg016:0507)")
+set_comment(0x4945F, "NE FIXUP -> 0004:d7e4 (seg016:03e4)")
+set_comment(0x49485, "NE FIXUP -> 0004:d84a (seg016:044a)")
+set_comment(0x494A2, "NE FIXUP -> 0004:d885 (seg016:0485)")
+set_comment(0x494B3, "NE FIXUP -> 0004:d84a (seg016:044a)")
+set_comment(0x49503, "NE FIXUP -> 0004:d84a (seg016:044a)")
+set_comment(0x4957F, "NE FIXUP -> 0004:d828 (seg016:0428)")
+set_comment(0x4959D, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x495B7, "NE FIXUP -> 0004:d867 (seg016:0467)")
+set_comment(0x49616, "NE FIXUP -> 0004:d806 (seg016:0406)")
+set_comment(0x4963C, "NE FIXUP -> 0004:d828 (seg016:0428)")
+set_comment(0x49662, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x4967A, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x49697, "NE FIXUP -> 0004:d867 (seg016:0467)")
+set_comment(0x496AF, "NE FIXUP -> 0004:d867 (seg016:0467)")
+set_comment(0x496CD, "NE FIXUP -> 0004:d84a (seg016:044a)")
+set_comment(0x496DF, "NE FIXUP -> 0004:d84a (seg016:044a)")
+set_comment(0x496F1, "NE FIXUP -> 0004:d885 (seg016:0485)")
+set_comment(0x49712, "NE FIXUP -> 0004:d885 (seg016:0485)")
+set_comment(0x497D6, "NE FIXUP -> 0004:d7c2 (seg016:03c2)")
+set_comment(0x497FC, "NE FIXUP -> 0004:d7e4 (seg016:03e4)")
+set_comment(0x49822, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x4983A, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x49859, "NE FIXUP -> 0004:d84a (seg016:044a)")
+set_comment(0x4986B, "NE FIXUP -> 0004:d84a (seg016:044a)")
+set_comment(0x4987D, "NE FIXUP -> 0004:d885 (seg016:0485)")
+set_comment(0x49903, "NE FIXUP -> 0004:d7c2 (seg016:03c2)")
+set_comment(0x49929, "NE FIXUP -> 0004:d7e4 (seg016:03e4)")
+set_comment(0x4994F, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x49967, "NE FIXUP -> 0004:d7a0 (seg016:03a0)")
+set_comment(0x49986, "NE FIXUP -> 0004:d84a (seg016:044a)")
+set_comment(0x49998, "NE FIXUP -> 0004:d84a (seg016:044a)")
+set_comment(0x499AA, "NE FIXUP -> 0004:d885 (seg016:0485)")
+set_comment(0x49A5F, "NE FIXUP -> 0004:d806 (seg016:0406)")
+set_comment(0x49B0B, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x49B27, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x49B41, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x49B66, "NE FIXUP -> 0003:d0ca (seg001:5aca)")
+set_comment(0x49B86, "NE FIXUP -> 000a:46eb (seg091:02eb)")
+set_comment(0x49B9C, "NE FIXUP -> 0003:d47f (seg001:5e7f)")
+set_comment(0x49BB2, "NE FIXUP -> 0003:d47f (seg001:5e7f)")
+set_comment(0x49BC8, "NE FIXUP -> 0003:d47f (seg001:5e7f)")
+set_comment(0x49BDE, "NE FIXUP -> 0003:d47f (seg001:5e7f)")
+set_comment(0x49BF4, "NE FIXUP -> 0003:d47f (seg001:5e7f)")
+set_comment(0x49C0A, "NE FIXUP -> 0003:d47f (seg001:5e7f)")
+set_comment(0x49C20, "NE FIXUP -> 0003:d47f (seg001:5e7f)")
+set_comment(0x49C36, "NE FIXUP -> 0003:d47f (seg001:5e7f)")
+set_comment(0x49C58, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x49CD2, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x49D3B, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x49D45, "NE FIXUP -> 0003:d47f (seg001:5e7f)")
+set_comment(0x49D69, "NE FIXUP -> 0003:d47f (seg001:5e7f)")
+set_comment(0x49D8D, "NE FIXUP -> 0003:d47f (seg001:5e7f)")
+set_comment(0x49DB1, "NE FIXUP -> 0003:d47f (seg001:5e7f)")
+set_comment(0x49DC7, "NE FIXUP -> 0003:d47f (seg001:5e7f)")
+set_comment(0x49E0E, "NE FIXUP -> 0003:d47f (seg001:5e7f)")
+set_comment(0x49E32, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x49E58, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x49E64, "NE FIXUP -> 0003:cc05 (seg001:5605)")
+set_comment(0x49E80, "NE FIXUP -> 0003:d0ca (seg001:5aca)")
+set_comment(0x49EA0, "NE FIXUP -> 000a:46eb (seg091:02eb)")
+set_comment(0x49EB6, "NE FIXUP -> 0003:d20f (seg001:5c0f)")
+set_comment(0x49ECC, "NE FIXUP -> 0003:d20f (seg001:5c0f)")
+set_comment(0x49EE2, "NE FIXUP -> 0003:d20f (seg001:5c0f)")
+set_comment(0x49EF8, "NE FIXUP -> 0003:d20f (seg001:5c0f)")
+set_comment(0x49F0E, "NE FIXUP -> 0003:d20f (seg001:5c0f)")
+set_comment(0x49F24, "NE FIXUP -> 0003:d20f (seg001:5c0f)")
+set_comment(0x49F3A, "NE FIXUP -> 0003:d20f (seg001:5c0f)")
+set_comment(0x49F50, "NE FIXUP -> 0003:d20f (seg001:5c0f)")
+set_comment(0x49F74, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x49F7E, "NE FIXUP -> 0003:d20f (seg001:5c0f)")
+set_comment(0x49F95, "NE FIXUP -> 0003:d20f (seg001:5c0f)")
+set_comment(0x49FB8, "NE FIXUP -> 0003:d20f (seg001:5c0f)")
+set_comment(0x49FDB, "NE FIXUP -> 0003:d20f (seg001:5c0f)")
+set_comment(0x49FFD, "NE FIXUP -> 0003:d20f (seg001:5c0f)")
+set_comment(0x4A01E, "NE FIXUP -> 0003:d20f (seg001:5c0f)")
+set_comment(0x4A073, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4A0EA, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4A137, "NE FIXUP -> 0003:cc05 (seg001:5605)")
+set_comment(0x4AA13, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x4AA42, "NE FIXUP -> 0004:ad76 (seg014:0376)")
+set_comment(0x4AA56, "NE FIXUP -> 0004:846c (seg013:026c)")
+set_comment(0x4AA68, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x4AA7E, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0x4AADC, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x4AB3C, "NE FIXUP -> 0004:ace2 (seg014:02e2)")
+set_comment(0x4AB4E, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x4AB96, "NE FIXUP -> 0004:d446 (seg016:0046)")
+set_comment(0x4ABE2, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x4ABF1, "NE FIXUP -> 0004:8674 (seg013:0474)")
+set_comment(0x4AC14, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4AC5E, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4AC9C, "NE FIXUP -> 0009:c400 (seg083:0000)")
+set_comment(0x4ACAC, "NE FIXUP -> 0009:c628 (seg083:0228)")
+set_comment(0x4ACC7, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4ACFC, "NE FIXUP -> 0004:84a1 (seg013:02a1)")
+set_comment(0x4AD0E, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x4AD1D, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x4AD3A, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x4AD64, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x4AD9C, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x4ADAF, "NE FIXUP -> 0004:adff (seg014:03ff)")
+set_comment(0x4ADCC, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x4AE0B, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x4AE42, "NE FIXUP -> 0004:846c (seg013:026c)")
+set_comment(0x4AE62, "NE FIXUP -> 0004:8674 (seg013:0474)")
+set_comment(0x4AE88, "NE FIXUP -> 0004:d446 (seg016:0046)")
+set_comment(0x4AEAE, "NE FIXUP -> 0004:8b1a (seg013:091a)")
+set_comment(0x4AECF, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x4AEE2, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x4AF05, "NE FIXUP -> 0004:ace2 (seg014:02e2)")
+set_comment(0x4AF17, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x4B20F, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x4B230, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x4B242, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0x4B29C, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x4B2CD, "NE FIXUP -> 0004:ad76 (seg014:0376)")
+set_comment(0x4B2DE, "NE FIXUP -> 0004:846c (seg013:026c)")
+set_comment(0x4B306, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x4B3ED, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4B4A8, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4B501, "NE FIXUP -> 0004:d446 (seg016:0046)")
+set_comment(0x4B513, "NE FIXUP -> 0004:8674 (seg013:0474)")
+set_comment(0x4B55E, "NE FIXUP -> 0004:d446 (seg016:0046)")
+set_comment(0x4B586, "NE FIXUP -> 0004:d446 (seg016:0046)")
+set_comment(0x4B5D7, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4B620, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4B6A0, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4B749, "NE FIXUP -> 0004:d446 (seg016:0046)")
+set_comment(0x4B766, "NE FIXUP -> 0004:d446 (seg016:0046)")
+set_comment(0x4B784, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4B80E, "NE FIXUP -> 0004:8674 (seg013:0474)")
+set_comment(0x4B831, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4B95B, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4B9A1, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4B9CF, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4BA09, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4BA49, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4BAB8, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4BAEB, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4BB3A, "NE FIXUP -> 0004:8905 (seg013:0705)")
+set_comment(0x4BB62, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4BBBC, "NE FIXUP -> 0004:8905 (seg013:0705)")
+set_comment(0x4BBD9, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x4BC06, "NE FIXUP -> 0004:ad76 (seg014:0376)")
+set_comment(0x4BC17, "NE FIXUP -> 0004:846c (seg013:026c)")
+set_comment(0x4BC30, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x4BC51, "NE FIXUP -> 0009:392e (seg072:032e)")
+set_comment(0x4BC74, "NE FIXUP -> 0009:3dcd (seg072:07cd)")
+set_comment(0x4BC98, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x4BCA8, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x4BCBE, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0x4BD19, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x4BD47, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x4BD68, "NE FIXUP -> 0009:392e (seg072:032e)")
+set_comment(0x4BD76, "NE FIXUP -> 0009:3dcd (seg072:07cd)")
+set_comment(0x4BD94, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x4BDA6, "NE FIXUP -> 0009:1ecc (seg070:02cc)")
+set_comment(0x4BDBE, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x4BDEA, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x4BDF9, "NE FIXUP -> 0009:1c3a (seg070:003a)")
+set_comment(0x4BE15, "NE FIXUP -> 0009:22fc (seg070:06fc)")
+set_comment(0x4BE22, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x4BE42, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x4BE52, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x4BE68, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0x4BECE, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x4BEF1, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x4BF01, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x4BF17, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0x4BF7B, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x4BF8B, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0x4BF9B, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0x4C038, "NE FIXUP -> 0004:ace2 (seg014:02e2)")
+set_comment(0x4C04A, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x4C089, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4C129, "NE FIXUP -> 0004:d446 (seg016:0046)")
+set_comment(0x4C146, "NE FIXUP -> 0004:d446 (seg016:0046)")
+set_comment(0x4C164, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4C20C, "NE FIXUP -> 0009:9ea1 (seg081:00a1)")
+set_comment(0x4C21A, "NE FIXUP -> 0003:c368 (seg001:4d68)")
+set_comment(0x4C23A, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x4C245, "NE FIXUP -> 0009:9e99 (seg081:0099)")
+set_comment(0x4C25E, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x4C27A, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x4C292, "NE FIXUP -> 0009:4a9e (seg073:049e)")
+set_comment(0x4C2A4, "NE FIXUP -> 0009:1ecc (seg070:02cc)")
+set_comment(0x4C2B1, "NE FIXUP -> 0009:22b8 (seg070:06b8)")
+set_comment(0x4C2F3, "NE FIXUP -> 0009:1ecc (seg070:02cc)")
+set_comment(0x4C30F, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x4C329, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x4C35F, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x4C37D, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x4C390, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x4C3D1, "NE FIXUP -> 0004:8674 (seg013:0474)")
+set_comment(0x4C3F4, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4C4F5, "NE FIXUP -> 0009:4f52 (seg073:0952)")
+set_comment(0x4C53E, "NE FIXUP -> 0006:4b36 (seg032:0336)")
+set_comment(0x4C5CA, "NE FIXUP -> 0009:2509 (seg070:0909)")
+set_comment(0x4C5E1, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x4C60C, "NE FIXUP -> 0004:846c (seg013:026c)")
+set_comment(0x4C635, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4C668, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x4C682, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4C6D8, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4C716, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4C77B, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x4C7CF, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x4C7D9, "NE FIXUP -> 000a:500a (seg092:020a)")
+set_comment(0x4C7F9, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x4C803, "NE FIXUP -> 0003:b64d (seg001:404d)")
+set_comment(0x4C824, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x4C833, "NE FIXUP -> 0009:1c3a (seg070:003a)")
+set_comment(0x4C84B, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x4C858, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x4C865, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x4C87C, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x4C886, "NE FIXUP -> 000a:500a (seg092:020a)")
+set_comment(0x4C89C, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x4C8AB, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x4C8BA, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x4C8C9, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x4C8D6, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0x4C8F7, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x4C906, "NE FIXUP -> 0009:4628 (seg073:0028)")
+set_comment(0x4C917, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x4C92E, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x4C941, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0x4C975, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x4CA10, "NE FIXUP -> 0006:4b36 (seg032:0336)")
+set_comment(0x4CA64, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x4CA79, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x4CA95, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x4CAA7, "NE FIXUP -> 0006:4b36 (seg032:0336)")
+set_comment(0x4CACA, "NE FIXUP -> 0009:19bb (seg069:01bb)")
+set_comment(0x4CB1C, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x4CB71, "NE FIXUP -> 0009:4a9e (seg073:049e)")
+set_comment(0x4CB83, "NE FIXUP -> 0009:1ecc (seg070:02cc)")
+set_comment(0x4CB90, "NE FIXUP -> 0009:22b8 (seg070:06b8)")
+set_comment(0x4CBB8, "NE FIXUP -> 0009:19e2 (seg069:01e2)")
+set_comment(0x4CBCA, "NE FIXUP -> 0009:1ecc (seg070:02cc)")
+set_comment(0x4CBE6, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x4CC00, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x4CC36, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x4CC54, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x4CC67, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x4CC89, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x4CC98, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x4CCAB, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x4CCB8, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0x4CCD8, "NE FIXUP -> 0009:1800 (seg069:0000)")
+set_comment(0x4CD35, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x4CD3F, "NE FIXUP -> 0003:b64d (seg001:404d)")
+set_comment(0x4CD4C, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0x4CD6D, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x4CD7C, "NE FIXUP -> 0009:4628 (seg073:0028)")
+set_comment(0x4CD89, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x4CDB5, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x4CDBF, "NE FIXUP -> 0003:b64d (seg001:404d)")
+set_comment(0x4CDDD, "NE FIXUP -> 0004:ace2 (seg014:02e2)")
+set_comment(0x4CDEF, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x4CE12, "NE FIXUP -> 0009:1800 (seg069:0000)")
+set_comment(0x4CE24, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x4CE47, "NE FIXUP -> 0009:1800 (seg069:0000)")
+set_comment(0x4CE59, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x4DC19, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x4DC3A, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x4DC6C, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0x4DC7B, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0x4DC97, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0x4DCA5, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0x4DCBD, "NE FIXUP -> 0005:0fd1 (seg021:0dd1)")
+set_comment(0x4DCCA, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0x4DCDB, "NE FIXUP -> 0005:0fd1 (seg021:0dd1)")
+set_comment(0x4DCEE, "NE FIXUP -> 0005:0fd1 (seg021:0dd1)")
+set_comment(0x4DD19, "NE FIXUP -> 0004:e094 (seg018:0094)")
+set_comment(0x4DD29, "NE FIXUP -> 0005:1552 (seg021:1352)")
+set_comment(0x4DD36, "NE FIXUP -> 0005:1528 (seg021:1328)")
+set_comment(0x4DD63, "NE FIXUP -> 0005:a04c (seg025:0e4c)")
+set_comment(0x4DD84, "NE FIXUP -> 0005:a0b3 (seg025:0eb3)")
+set_comment(0x4E02D, "NE FIXUP -> 0005:1032 (seg021:0e32)")
+set_comment(0x4E062, "NE FIXUP -> 0005:1032 (seg021:0e32)")
+set_comment(0x4E077, "NE FIXUP -> 0005:1032 (seg021:0e32)")
+set_comment(0x4E0AD, "NE FIXUP -> 0005:2686 (seg021:2486)")
+set_comment(0x4E136, "NE FIXUP -> 0005:2686 (seg021:2486)")
+set_comment(0x4E169, "NE FIXUP -> 0005:0687 (seg021:0487)")
+set_comment(0x4E1B3, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x4E1CD, "NE FIXUP -> 0006:07c0 (seg030:27c0)")
+set_comment(0x4E1FA, "NE FIXUP -> 0006:07c0 (seg030:27c0)")
+set_comment(0x4E256, "NE FIXUP -> 0005:0687 (seg021:0487)")
+set_comment(0x4E294, "NE FIXUP -> 0005:07b5 (seg021:05b5)")
+set_comment(0x4E2BB, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x4E2D9, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0x4E2EB, "NE FIXUP -> 0005:1032 (seg021:0e32)")
+set_comment(0x4E33B, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x4E409, "NE FIXUP -> 0005:07b5 (seg021:05b5)")
+set_comment(0x4E429, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x4E447, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0x4E45C, "NE FIXUP -> 0005:1032 (seg021:0e32)")
+set_comment(0x4E49F, "NE FIXUP -> 0005:1032 (seg021:0e32)")
+set_comment(0x4E4CB, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0x4E4EE, "NE FIXUP -> 0005:2686 (seg021:2486)")
+set_comment(0x4E50F, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0x4E525, "NE FIXUP -> 0005:0ff6 (seg021:0df6)")
+set_comment(0x4E536, "NE FIXUP -> 0005:1032 (seg021:0e32)")
+set_comment(0x4E544, "NE FIXUP -> 0005:1923 (seg021:1723)")
+set_comment(0x4E550, "NE FIXUP -> 0005:03e1 (seg021:01e1)")
+set_comment(0x4E55D, "NE FIXUP -> 0005:03ae (seg021:01ae)")
+set_comment(0x4E56B, "NE FIXUP -> 0005:0415 (seg021:0215)")
+set_comment(0x4E577, "NE FIXUP -> 0005:0ff6 (seg021:0df6)")
+set_comment(0x4E58F, "NE FIXUP -> 0005:05fa (seg021:03fa)")
+set_comment(0x4E59F, "NE FIXUP -> 0005:0ff6 (seg021:0df6)")
+set_comment(0x4E5B1, "NE FIXUP -> 0005:1b45 (seg021:1945)")
+set_comment(0x4E5BD, "NE FIXUP -> 0005:0ff6 (seg021:0df6)")
+set_comment(0x4E5D7, "NE FIXUP -> 0005:0ff6 (seg021:0df6)")
+set_comment(0x4E5E9, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0x4E5F5, "NE FIXUP -> 0005:0ff6 (seg021:0df6)")
+set_comment(0x4E623, "NE FIXUP -> 0005:0ff6 (seg021:0df6)")
+set_comment(0x4E64C, "NE FIXUP -> 0005:0687 (seg021:0487)")
+set_comment(0x4E686, "NE FIXUP -> 0005:0ff6 (seg021:0df6)")
+set_comment(0x4E6C5, "NE FIXUP -> 0005:06f2 (seg021:04f2)")
+set_comment(0x4E6D5, "NE FIXUP -> 0005:06f2 (seg021:04f2)")
+set_comment(0x4E6F3, "NE FIXUP -> 0005:0ff6 (seg021:0df6)")
+set_comment(0x4E742, "NE FIXUP -> 0005:0ff6 (seg021:0df6)")
+set_comment(0x4EA0C, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x4EA22, "NE FIXUP -> 0008:ba00 (seg061:0000)")
+set_comment(0x4EA81, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x4EA9A, "NE FIXUP -> 0008:ba00 (seg061:0000)")
+set_comment(0x4EAEC, "NE FIXUP -> 0005:3a89 (seg021:3889)")
+set_comment(0x4EAFF, "NE FIXUP -> 0005:3a3e (seg021:383e)")
+set_comment(0x4EB2B, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x4EB41, "NE FIXUP -> 0008:ba00 (seg061:0000)")
+set_comment(0x4EB76, "NE FIXUP -> 000d:cd22 (seg139:0122)")
+set_comment(0x4EB7B, "NE FIXUP -> 000a:5339 (seg092:0539)")
+set_comment(0x4EB80, "NE FIXUP -> 000a:5e95 (seg094:0095)")
+set_comment(0x4EB85, "NE FIXUP -> 000a:703e (seg095:0a3e)")
+set_comment(0x4EB8C, "NE FIXUP -> 0009:b1c3 (seg082:0fc3)")
+set_comment(0x4EBA8, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x4EBBE, "NE FIXUP -> 0008:ba00 (seg061:0000)")
+set_comment(0x4EBFE, "NE FIXUP -> 0008:7663 (seg059:0c63)")
+set_comment(0x4EC23, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0x4EC81, "NE FIXUP -> 0006:0b88 (seg030:2b88)")
+set_comment(0x4ECB6, "NE FIXUP -> 0006:09f2 (seg030:29f2)")
+set_comment(0x4ECCC, "NE FIXUP -> 0007:c6ba (seg049:0cba)")
+set_comment(0x4ED12, "NE FIXUP -> 0006:4800 (seg032:0000)")
+set_comment(0x4ED43, "NE FIXUP -> 0005:9971 (seg025:0771)")
+set_comment(0x4ED99, "NE FIXUP -> 0006:09f2 (seg030:29f2)")
+set_comment(0x4EDD1, "NE FIXUP -> 0007:c6ba (seg049:0cba)")
+set_comment(0x4EE2C, "NE FIXUP -> 0004:3c72 (seg008:0072)")
+set_comment(0x4EE43, "NE FIXUP -> 0004:4f34 (seg008:1334)")
+set_comment(0x4EE71, "NE FIXUP -> 0006:09f2 (seg030:29f2)")
+set_comment(0x4EE84, "NE FIXUP -> 0007:c6ba (seg049:0cba)")
+set_comment(0x4EE98, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x4F007, "NE FIXUP -> 0005:11c4 (seg021:0fc4)")
+set_comment(0x4F047, "NE FIXUP -> 000d:463a (seg133:0e3a)")
+set_comment(0x4F076, "NE FIXUP -> 000d:463a (seg133:0e3a)")
+set_comment(0x4F09E, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x4F0B4, "NE FIXUP -> 0008:ba00 (seg061:0000)")
+set_comment(0x4F0D7, "NE FIXUP -> 0008:bbb6 (seg061:01b6)")
+set_comment(0x4F0E6, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x4F1F0, "NE FIXUP -> 0005:11c4 (seg021:0fc4)")
+set_comment(0x4F2CF, "NE FIXUP -> 0005:11c4 (seg021:0fc4)")
+set_comment(0x4F304, "NE FIXUP -> 0005:11c4 (seg021:0fc4)")
+set_comment(0x4F33E, "NE FIXUP -> 0005:11c4 (seg021:0fc4)")
+set_comment(0x4F370, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x4F37E, "NE FIXUP -> 0005:0376 (seg021:0176)")
+set_comment(0x4F3BA, "NE FIXUP -> 0007:d6e5 (seg049:1ce5)")
+set_comment(0x4F456, "NE FIXUP -> 0007:d6e5 (seg049:1ce5)")
+set_comment(0x4F47A, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x4F48E, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x4F4A0, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x4F4C9, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x4F4DD, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x4F4EF, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x4F518, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x4F52C, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x4F53E, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x4F80C, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x4F833, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x4F841, "NE FIXUP -> 0009:46e7 (seg073:00e7)")
+set_comment(0x4F867, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x4F88F, "NE FIXUP -> 0004:ad76 (seg014:0376)")
+set_comment(0x4F8A0, "NE FIXUP -> 0004:846c (seg013:026c)")
+set_comment(0x4F8D7, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x4F934, "NE FIXUP -> 0004:ace2 (seg014:02e2)")
+set_comment(0x4F946, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x4F9E7, "NE FIXUP -> 0004:d446 (seg016:0046)")
+set_comment(0x4FA21, "NE FIXUP -> 0004:9444 (seg013:1244)")
+set_comment(0x4FA6B, "NE FIXUP -> 0004:8674 (seg013:0474)")
+set_comment(0x4FA8E, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4FAA8, "NE FIXUP -> 0004:8674 (seg013:0474)")
+set_comment(0x4FAD1, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4FAFF, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x4FB19, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x4FB55, "NE FIXUP -> 0005:10d8 (seg021:0ed8)")
+set_comment(0x4FBD9, "NE FIXUP -> 0003:b8e2 (seg001:42e2)")
+set_comment(0x4FC52, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x4FCEB, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x4FD86, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x4FDF4, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x4FE55, "NE FIXUP -> 0005:13e7 (seg021:11e7)")
+set_comment(0x4FE66, "NE FIXUP -> 0005:0e78 (seg021:0c78)")
+set_comment(0x4FE79, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x4FE95, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0x4FEA5, "NE FIXUP -> 0005:2772 (seg021:2572)")
+set_comment(0x4FEB9, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x4FED7, "NE FIXUP -> 0005:50a0 (seg022:00a0)")
+set_comment(0x4FEE3, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x4FF24, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x4FF68, "NE FIXUP -> 0006:410d (seg031:010d)")
+set_comment(0x4FFB7, "NE FIXUP -> 0004:8905 (seg013:0705)")
+set_comment(0x50020, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x50057, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x50069, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x50216, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x5022C, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x50242, "NE FIXUP -> 0008:ba00 (seg061:0000)")
+set_comment(0x50259, "NE FIXUP -> 0008:bbb6 (seg061:01b6)")
+set_comment(0x50268, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x50304, "NE FIXUP -> 0004:e7bd (seg018:07bd)")
+set_comment(0x505D9, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x506E3, "NE FIXUP -> 0004:e603 (seg018:0603)")
+set_comment(0x507E4, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x5083B, "NE FIXUP -> 0005:a173 (seg025:0f73)")
+set_comment(0x50858, "NE FIXUP -> 0005:a837 (seg025:1637)")
+set_comment(0x508D2, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x508F1, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x50942, "NE FIXUP -> 0006:aefe (seg037:00fe)")
+set_comment(0x50998, "NE FIXUP -> 0006:ae98 (seg037:0098)")
+set_comment(0x50A99, "NE FIXUP -> 0007:d6dd (seg049:1cdd)")
+set_comment(0x50B65, "NE FIXUP -> 0007:d6dd (seg049:1cdd)")
+set_comment(0x50B9F, "NE FIXUP -> 0008:18fc (seg052:0efc)")
+set_comment(0x50BC1, "NE FIXUP -> 0007:ec2c (seg051:022c)")
+set_comment(0x50C94, "NE FIXUP -> 0008:2290 (seg052:1890)")
+set_comment(0x50CD4, "NE FIXUP -> 0007:ea00 (seg051:0000)")
+set_comment(0x50CEC, "NE FIXUP -> 0007:ea6d (seg051:006d)")
+set_comment(0x50D9C, "NE FIXUP -> 0009:7f04 (seg078:0104)")
+set_comment(0x50DCC, "NE FIXUP -> 0007:ea6d (seg051:006d)")
+set_comment(0x50DFB, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x51268, "NE FIXUP -> 0005:c400 (seg029:0000)")
+set_comment(0x5127C, "NE FIXUP -> 0005:c4d9 (seg029:00d9)")
+set_comment(0x512BA, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x512CE, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x51319, "NE FIXUP -> 0005:c400 (seg029:0000)")
+set_comment(0x5132E, "NE FIXUP -> 0005:c4d9 (seg029:00d9)")
+set_comment(0x51365, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x51379, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x513B2, "NE FIXUP -> 0004:e315 (seg018:0315)")
+set_comment(0x51404, "NE FIXUP -> 0005:76f6 (seg022:26f6)")
+set_comment(0x5143A, "NE FIXUP -> 0005:8c2d (seg024:022d)")
+set_comment(0x514D4, "NE FIXUP -> 0006:a780 (seg036:0180)")
+set_comment(0x51504, "NE FIXUP -> 0004:78da (seg012:02da)")
+set_comment(0x5151E, "NE FIXUP -> 0005:6df5 (seg022:1df5)")
+set_comment(0x5152E, "NE FIXUP -> 0005:7369 (seg022:2369)")
+set_comment(0x5153B, "NE FIXUP -> 0005:74a8 (seg022:24a8)")
+set_comment(0x51548, "NE FIXUP -> 0005:7533 (seg022:2533)")
+set_comment(0x5155B, "NE FIXUP -> 0005:6ced (seg022:1ced)")
+set_comment(0x51593, "NE FIXUP -> 0004:78da (seg012:02da)")
+set_comment(0x515CB, "NE FIXUP -> 000d:d10b (seg139:050b)")
+set_comment(0x515D9, "NE FIXUP -> 000d:d1b1 (seg139:05b1)")
+set_comment(0x515F5, "NE FIXUP -> 0006:013d (seg030:213d)")
+set_comment(0x5166A, "NE FIXUP -> 0005:a173 (seg025:0f73)")
+set_comment(0x51679, "NE FIXUP -> 0004:4f34 (seg008:1334)")
+set_comment(0x51686, "NE FIXUP -> 0005:a837 (seg025:1637)")
+set_comment(0x516A5, "NE FIXUP -> 0005:6b7f (seg022:1b7f)")
+set_comment(0x516E6, "NE FIXUP -> 0004:e5cb (seg018:05cb)")
+set_comment(0x51727, "NE FIXUP -> 0004:e505 (seg018:0505)")
+set_comment(0x5174C, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x5175A, "NE FIXUP -> 0005:6ced (seg022:1ced)")
+set_comment(0x51768, "NE FIXUP -> 0005:6df5 (seg022:1df5)")
+set_comment(0x517BC, "NE FIXUP -> 0005:ffed (seg030:1fed)")
+set_comment(0x517D4, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x517E1, "NE FIXUP -> 0006:af58 (seg037:0158)")
+set_comment(0x51817, "NE FIXUP -> 0006:4b36 (seg032:0336)")
+set_comment(0x518D8, "NE FIXUP -> 0008:311b (seg053:051b)")
+set_comment(0x51909, "NE FIXUP -> 0006:e659 (seg039:0459)")
+set_comment(0x51917, "NE FIXUP -> 0006:e659 (seg039:0459)")
+set_comment(0x5192C, "NE FIXUP -> 0005:6ced (seg022:1ced)")
+set_comment(0x51937, "NE FIXUP -> 0005:7369 (seg022:2369)")
+set_comment(0x51958, "NE FIXUP -> 0005:c400 (seg029:0000)")
+set_comment(0x5199E, "NE FIXUP -> 0005:d551 (seg029:1151)")
+set_comment(0x519AF, "NE FIXUP -> 0005:d63a (seg029:123a)")
+set_comment(0x519BE, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x519D6, "NE FIXUP -> 0005:d63a (seg029:123a)")
+set_comment(0x519E5, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x51A0E, "NE FIXUP -> 0004:e094 (seg018:0094)")
+set_comment(0x51A4C, "NE FIXUP -> 0005:c400 (seg029:0000)")
+set_comment(0x51A9A, "NE FIXUP -> 0005:d9b4 (seg029:15b4)")
+set_comment(0x51ADA, "NE FIXUP -> 0005:d63a (seg029:123a)")
+set_comment(0x51AE9, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x51B2A, "NE FIXUP -> 0005:d63a (seg029:123a)")
+set_comment(0x51B39, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x51B4E, "NE FIXUP -> 0005:6ced (seg022:1ced)")
+set_comment(0x51B65, "NE FIXUP -> 0005:6df5 (seg022:1df5)")
+set_comment(0x51BB8, "NE FIXUP -> 0005:6ced (seg022:1ced)")
+set_comment(0x51BDE, "NE FIXUP -> 0005:6df5 (seg022:1df5)")
+set_comment(0x51C13, "NE FIXUP -> 0005:b520 (seg027:0120)")
+set_comment(0x5236A, "NE FIXUP -> 0005:c400 (seg029:0000)")
+set_comment(0x52455, "NE FIXUP -> 0005:9971 (seg025:0771)")
+set_comment(0x5246F, "NE FIXUP -> 0005:9c8e (seg025:0a8e)")
+set_comment(0x5249B, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x5257F, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x525B0, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x525D7, "NE FIXUP -> 0005:c4d9 (seg029:00d9)")
+set_comment(0x52606, "NE FIXUP -> 0004:4f34 (seg008:1334)")
+set_comment(0x52629, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x5272D, "NE FIXUP -> 0008:1ae5 (seg052:10e5)")
+set_comment(0x5273B, "NE FIXUP -> 0008:1dbe (seg052:13be)")
+set_comment(0x527BB, "NE FIXUP -> 000d:463a (seg133:0e3a)")
+set_comment(0x527EB, "NE FIXUP -> 0006:aefe (seg037:00fe)")
+set_comment(0x52828, "NE FIXUP -> 0006:ae98 (seg037:0098)")
+set_comment(0x52892, "NE FIXUP -> 0005:ffed (seg030:1fed)")
+set_comment(0x528A5, "NE FIXUP -> 0005:ff2d (seg030:1f2d)")
+set_comment(0x528D9, "NE FIXUP -> 000d:463a (seg133:0e3a)")
+set_comment(0x528FF, "NE FIXUP -> 000d:463a (seg133:0e3a)")
+set_comment(0x5294A, "NE FIXUP -> 000d:463a (seg133:0e3a)")
+set_comment(0x52970, "NE FIXUP -> 000d:45c5 (seg133:0dc5)")
+set_comment(0x529D4, "NE FIXUP -> 0005:8bdc (seg024:01dc)")
+set_comment(0x529EE, "NE FIXUP -> 0005:8d0c (seg024:030c)")
+set_comment(0x52A09, "NE FIXUP -> 0008:770e (seg059:0d0e)")
+set_comment(0x52A41, "NE FIXUP -> 0005:8c2d (seg024:022d)")
+set_comment(0x52A5B, "NE FIXUP -> 0005:8c5d (seg024:025d)")
+set_comment(0x52A7F, "NE FIXUP -> 000d:463a (seg133:0e3a)")
+set_comment(0x52AA7, "NE FIXUP -> 0005:8d0c (seg024:030c)")
+set_comment(0x52ABE, "NE FIXUP -> 0006:c690 (seg038:1090)")
+set_comment(0x52AD4, "NE FIXUP -> 0005:8d0c (seg024:030c)")
+set_comment(0x52AF9, "NE FIXUP -> 000d:463a (seg133:0e3a)")
+set_comment(0x52B58, "NE FIXUP -> 000b:8000 (seg115:0000)")
+set_comment(0x52BA6, "NE FIXUP -> 0005:a173 (seg025:0f73)")
+set_comment(0x52BBB, "NE FIXUP -> 0004:4f34 (seg008:1334)")
+set_comment(0x52BCB, "NE FIXUP -> 0008:a995 (seg059:3f95)")
+set_comment(0x52BEB, "NE FIXUP -> 0005:a837 (seg025:1637)")
+set_comment(0x52C20, "NE FIXUP -> 000d:463a (seg133:0e3a)")
+set_comment(0x52C53, "NE FIXUP -> 000d:463a (seg133:0e3a)")
+set_comment(0x52C86, "NE FIXUP -> 000d:463a (seg133:0e3a)")
+set_comment(0x52CBD, "NE FIXUP -> 000d:463a (seg133:0e3a)")
+set_comment(0x52CEC, "NE FIXUP -> 000d:463a (seg133:0e3a)")
+set_comment(0x52D1B, "NE FIXUP -> 000d:463a (seg133:0e3a)")
+set_comment(0x52D8D, "NE FIXUP -> 0006:ae98 (seg037:0098)")
+set_comment(0x52DBA, "NE FIXUP -> 0005:ffed (seg030:1fed)")
+set_comment(0x52E3C, "NE FIXUP -> 0005:bc47 (seg028:0247)")
+set_comment(0x52E52, "NE FIXUP -> 0004:f08b (seg019:068b)")
+set_comment(0x52E82, "NE FIXUP -> 0004:781b (seg012:021b)")
+set_comment(0x52EF8, "NE FIXUP -> 0007:b544 (seg047:0944)")
+set_comment(0x52F0C, "NE FIXUP -> 0007:14af (seg039:32af)")
+set_comment(0x52F42, "NE FIXUP -> 0006:0cfa (seg030:2cfa)")
+set_comment(0x52F96, "NE FIXUP -> 000d:463a (seg133:0e3a)")
+set_comment(0x5300F, "NE FIXUP -> 0006:aefe (seg037:00fe)")
+set_comment(0x53026, "NE FIXUP -> 0008:770e (seg059:0d0e)")
+set_comment(0x53056, "NE FIXUP -> 0004:78da (seg012:02da)")
+set_comment(0x5308E, "NE FIXUP -> 0005:ffed (seg030:1fed)")
+set_comment(0x530D5, "NE FIXUP -> 000d:d151 (seg139:0551)")
+set_comment(0x53129, "NE FIXUP -> 000d:463a (seg133:0e3a)")
+set_comment(0x5315C, "NE FIXUP -> 000d:463a (seg133:0e3a)")
+set_comment(0x5318B, "NE FIXUP -> 000d:463a (seg133:0e3a)")
+set_comment(0x531BE, "NE FIXUP -> 000d:463a (seg133:0e3a)")
+set_comment(0x53205, "NE FIXUP -> 0005:ffed (seg030:1fed)")
+set_comment(0x5322D, "NE FIXUP -> 000d:463a (seg133:0e3a)")
+set_comment(0x5324E, "NE FIXUP -> 0007:f871 (seg051:0e71)")
+set_comment(0x5353C, "NE FIXUP -> 0005:c400 (seg029:0000)")
+set_comment(0x53561, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x53579, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x5359E, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x53603, "NE FIXUP -> 0005:cf39 (seg029:0b39)")
+set_comment(0x5361D, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x5363E, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x53663, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x53685, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x536F3, "NE FIXUP -> 0005:cf39 (seg029:0b39)")
+set_comment(0x5370D, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x53723, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x5376C, "NE FIXUP -> 0004:c055 (seg015:0e55)")
+set_comment(0x53B17, "NE FIXUP -> 0004:54a6 (seg009:00a6)")
+set_comment(0x53B2A, "NE FIXUP -> 0004:5690 (seg009:0290)")
+set_comment(0x53B49, "NE FIXUP -> 000d:ce1e (seg139:021e)")
+set_comment(0x53B68, "NE FIXUP -> 000d:cec5 (seg139:02c5)")
+set_comment(0x53B87, "NE FIXUP -> 000d:d086 (seg139:0486)")
+set_comment(0x53BA6, "NE FIXUP -> 000d:cfad (seg139:03ad)")
+set_comment(0x53BC5, "NE FIXUP -> 000d:d086 (seg139:0486)")
+set_comment(0x53BE1, "NE FIXUP -> 000d:d151 (seg139:0551)")
+set_comment(0x53C04, "NE FIXUP -> 000d:d233 (seg139:0633)")
+set_comment(0x53C2C, "NE FIXUP -> 000d:d350 (seg139:0750)")
+set_comment(0x53C4F, "NE FIXUP -> 000e:2777 (seg142:3f77)")
+set_comment(0x53C74, "NE FIXUP -> 000e:2777 (seg142:3f77)")
+set_comment(0x53C93, "NE FIXUP -> 000e:2860 (seg142:4060)")
+set_comment(0x53CE9, "NE FIXUP -> 000e:2969 (seg142:4169)")
+set_comment(0x53D86, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x53DAB, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x53DD0, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x53DF5, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x53E1A, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x53E3F, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x53E64, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x53E89, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x53EAE, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x53ED1, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x53EF4, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x53F17, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x53FFC, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x5409C, "NE FIXUP -> 0006:0556 (seg030:2556)")
+set_comment(0x540B8, "NE FIXUP -> 0006:158c (seg030:358c)")
+set_comment(0x540E1, "NE FIXUP -> 0006:16ef (seg030:36ef)")
+set_comment(0x54118, "NE FIXUP -> 0006:15a9 (seg030:35a9)")
+set_comment(0x54129, "NE FIXUP -> 0006:0c39 (seg030:2c39)")
+set_comment(0x54139, "NE FIXUP -> 0006:0be2 (seg030:2be2)")
+set_comment(0x54149, "NE FIXUP -> 0006:0bff (seg030:2bff)")
+set_comment(0x54159, "NE FIXUP -> 0006:0c1c (seg030:2c1c)")
+set_comment(0x54177, "NE FIXUP -> 0006:1e10 (seg030:3e10)")
+set_comment(0x54190, "NE FIXUP -> 0006:0afb (seg030:2afb)")
+set_comment(0x541D7, "NE FIXUP -> 0006:07f3 (seg030:27f3)")
+set_comment(0x541E5, "NE FIXUP -> 0006:162d (seg030:362d)")
+set_comment(0x541F8, "NE FIXUP -> 0006:0afb (seg030:2afb)")
+set_comment(0x5423B, "NE FIXUP -> 0006:07f3 (seg030:27f3)")
+set_comment(0x54249, "NE FIXUP -> 0006:162d (seg030:362d)")
+set_comment(0x5425F, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x54280, "NE FIXUP -> 0005:c400 (seg029:0000)")
+set_comment(0x54294, "NE FIXUP -> 0005:c4d9 (seg029:00d9)")
+set_comment(0x542A7, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x542BB, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x5432E, "NE FIXUP -> 0004:e7bd (seg018:07bd)")
+set_comment(0x54386, "NE FIXUP -> 0004:b316 (seg015:0116)")
+set_comment(0x543E6, "NE FIXUP -> 0009:80db (seg078:02db)")
+set_comment(0x54456, "NE FIXUP -> 0004:e7bd (seg018:07bd)")
+set_comment(0x544AE, "NE FIXUP -> 0004:b316 (seg015:0116)")
+set_comment(0x5450E, "NE FIXUP -> 0009:7f04 (seg078:0104)")
+set_comment(0x5455E, "NE FIXUP -> 0006:4b36 (seg032:0336)")
+set_comment(0x54651, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x54665, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x54677, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x55137, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x55156, "NE FIXUP -> 0005:85ef (seg023:03ef)")
+set_comment(0x5517B, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x55261, "NE FIXUP -> 0005:10d8 (seg021:0ed8)")
+set_comment(0x552A6, "NE FIXUP -> 0004:fb39 (seg020:0339)")
+set_comment(0x55327, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x55338, "NE FIXUP -> 0005:2686 (seg021:2486)")
+set_comment(0x5534B, "NE FIXUP -> 0005:3cf5 (seg021:3af5)")
+set_comment(0x55370, "NE FIXUP -> 0005:2d30 (seg021:2b30)")
+set_comment(0x553EC, "NE FIXUP -> 0008:7da4 (seg059:13a4)")
+set_comment(0x55403, "NE FIXUP -> 0004:4dfd (seg008:11fd)")
+set_comment(0x55455, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x5548B, "NE FIXUP -> 0005:2fad (seg021:2dad)")
+set_comment(0x55498, "NE FIXUP -> 0005:16af (seg021:14af)")
+set_comment(0x554A5, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0x554B4, "NE FIXUP -> 0005:2fad (seg021:2dad)")
+set_comment(0x55541, "NE FIXUP -> 0005:2fad (seg021:2dad)")
+set_comment(0x55553, "NE FIXUP -> 0005:2686 (seg021:2486)")
+set_comment(0x55580, "NE FIXUP -> 0005:0ff6 (seg021:0df6)")
+set_comment(0x55596, "NE FIXUP -> 0004:e5cb (seg018:05cb)")
+set_comment(0x555A8, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0x55631, "NE FIXUP -> 0004:e5cb (seg018:05cb)")
+set_comment(0x55659, "NE FIXUP -> 0004:e5cb (seg018:05cb)")
+set_comment(0x5566C, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0x5569C, "NE FIXUP -> 0009:a229 (seg082:0029)")
+set_comment(0x556B8, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x55715, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x55807, "NE FIXUP -> 0005:1032 (seg021:0e32)")
+set_comment(0x55827, "NE FIXUP -> 0005:85ef (seg023:03ef)")
+set_comment(0x55856, "NE FIXUP -> 0005:2686 (seg021:2486)")
+set_comment(0x5587D, "NE FIXUP -> 0006:07f3 (seg030:27f3)")
+set_comment(0x558B3, "NE FIXUP -> 0005:85ef (seg023:03ef)")
+set_comment(0x558D3, "NE FIXUP -> 0006:09b8 (seg030:29b8)")
+set_comment(0x55946, "NE FIXUP -> 0005:2c9b (seg021:2a9b)")
+set_comment(0x5596D, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x559E9, "NE FIXUP -> 0005:2c9b (seg021:2a9b)")
+set_comment(0x55A03, "NE FIXUP -> 0006:4255 (seg031:0255)")
+set_comment(0x55A11, "NE FIXUP -> 0007:d6b1 (seg049:1cb1)")
+set_comment(0x55A6C, "NE FIXUP -> 0003:e4d3 (seg001:6ed3)")
+set_comment(0x55AA4, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0x55AAE, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0x55ACC, "NE FIXUP -> 0007:d6c5 (seg049:1cc5)")
+set_comment(0x55AD4, "NE FIXUP -> 0007:d6cd (seg049:1ccd)")
+set_comment(0x55B3E, "NE FIXUP -> 0007:d6c5 (seg049:1cc5)")
+set_comment(0x55B46, "NE FIXUP -> 0007:d6cd (seg049:1ccd)")
+set_comment(0x563CF, "NE FIXUP -> 0006:4255 (seg031:0255)")
+set_comment(0x56406, "NE FIXUP -> 0007:d6b1 (seg049:1cb1)")
+set_comment(0x56625, "NE FIXUP -> 0007:d6cd (seg049:1ccd)")
+set_comment(0x5662B, "NE FIXUP -> 0007:d6c5 (seg049:1cc5)")
+set_comment(0x5663E, "NE FIXUP -> 0005:8200 (seg023:0000)")
+set_comment(0x56646, "NE FIXUP -> 0005:9016 (seg024:0616)")
+set_comment(0x56659, "NE FIXUP -> 000a:500a (seg092:020a)")
+set_comment(0x56672, "NE FIXUP -> 0009:46e7 (seg073:00e7)")
+set_comment(0x5669B, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x566A6, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x566B8, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x566DE, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x56845, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x56863, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x56874, "NE FIXUP -> 0005:83c7 (seg023:01c7)")
+set_comment(0x56997, "NE FIXUP -> 0005:1178 (seg021:0f78)")
+set_comment(0x56B9F, "NE FIXUP -> 0005:32a8 (seg021:30a8)")
+set_comment(0x56BB0, "NE FIXUP -> 0005:32d2 (seg021:30d2)")
+set_comment(0x56BC1, "NE FIXUP -> 0005:284c (seg021:264c)")
+set_comment(0x56BD0, "NE FIXUP -> 0006:aefe (seg037:00fe)")
+set_comment(0x56BE5, "NE FIXUP -> 0006:e5d0 (seg039:03d0)")
+set_comment(0x56C05, "NE FIXUP -> 0005:0ff6 (seg021:0df6)")
+set_comment(0x56C1F, "NE FIXUP -> 0004:e505 (seg018:0505)")
+set_comment(0x56CB6, "NE FIXUP -> 0008:770e (seg059:0d0e)")
+set_comment(0x56D05, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x56D18, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x56D3F, "NE FIXUP -> 0005:1032 (seg021:0e32)")
+set_comment(0x56D58, "NE FIXUP -> 0006:092b (seg030:292b)")
+set_comment(0x56DBB, "NE FIXUP -> 0008:1ae5 (seg052:10e5)")
+set_comment(0x56E5B, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0x56E6E, "NE FIXUP -> 0005:033e (seg021:013e)")
+set_comment(0x56E82, "NE FIXUP -> 0005:0376 (seg021:0176)")
+set_comment(0x56E9D, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x56EBB, "NE FIXUP -> 0007:2884 (seg040:0684)")
+set_comment(0x56F27, "NE FIXUP -> 0005:2fad (seg021:2dad)")
+set_comment(0x56F47, "NE FIXUP -> 0005:2d30 (seg021:2b30)")
+set_comment(0x56F8E, "NE FIXUP -> 0004:e7bd (seg018:07bd)")
+set_comment(0x57153, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x57256, "NE FIXUP -> 0007:d6cd (seg049:1ccd)")
+set_comment(0x5725C, "NE FIXUP -> 0007:d6c5 (seg049:1cc5)")
+set_comment(0x57262, "NE FIXUP -> 0004:e7bd (seg018:07bd)")
+set_comment(0x57281, "NE FIXUP -> 0007:be67 (seg049:0467)")
+set_comment(0x57293, "NE FIXUP -> 0007:c6ba (seg049:0cba)")
+set_comment(0x57315, "NE FIXUP -> 0007:d6dd (seg049:1cdd)")
+set_comment(0x57331, "NE FIXUP -> 0008:1dbe (seg052:13be)")
+set_comment(0x573BA, "NE FIXUP -> 0005:2686 (seg021:2486)")
+set_comment(0x573D9, "NE FIXUP -> 0005:05fa (seg021:03fa)")
+set_comment(0x57411, "NE FIXUP -> 0005:0ff6 (seg021:0df6)")
+set_comment(0x57435, "NE FIXUP -> 0005:1178 (seg021:0f78)")
+set_comment(0x5747E, "NE FIXUP -> 0005:05fa (seg021:03fa)")
+set_comment(0x574E2, "NE FIXUP -> 0005:1032 (seg021:0e32)")
+set_comment(0x575B0, "NE FIXUP -> 0005:0ff6 (seg021:0df6)")
+set_comment(0x575FE, "NE FIXUP -> 0005:1178 (seg021:0f78)")
+set_comment(0x57656, "NE FIXUP -> 0005:05fa (seg021:03fa)")
+set_comment(0x576BA, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x57708, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x577B1, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x57811, "NE FIXUP -> 0004:e734 (seg018:0734)")
+set_comment(0x5785B, "NE FIXUP -> 0004:ffdb (seg020:07db)")
+set_comment(0x5795A, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x5799E, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x579A6, "NE FIXUP -> 0003:c30a (seg001:4d0a)")
+set_comment(0x579B2, "NE FIXUP -> 0003:a845 (seg001:3245)")
+set_comment(0x579D1, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x579DD, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x579E9, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x57A3D, "NE FIXUP -> 0003:e4d3 (seg001:6ed3)")
+set_comment(0x57AF5, "NE FIXUP -> 0005:0376 (seg021:0176)")
+set_comment(0x57B03, "NE FIXUP -> 0005:033e (seg021:013e)")
+set_comment(0x57B11, "NE FIXUP -> 0005:0671 (seg021:0471)")
+set_comment(0x57B37, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x57B44, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0x57B55, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x57B64, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x57B74, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x57B83, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x57B92, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x58204, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x58216, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x58228, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x5823A, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x5824C, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x5825E, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x58270, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x58282, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x58294, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x582A6, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x582B8, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x582CA, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x58337, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x583D4, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x583F2, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x58410, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x5842E, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x5844C, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x5846A, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x58488, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x584A6, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x584C4, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x584E2, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x58500, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x5851E, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x58792, "NE FIXUP -> 0005:13e7 (seg021:11e7)")
+set_comment(0x58A0F, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x58A26, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x58A3C, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0x58A98, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x58AA3, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x58AC4, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x58B40, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x58B5E, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x58CB7, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0x58D61, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0x58DAB, "NE FIXUP -> 0005:057b (seg021:037b)")
+set_comment(0x58DC8, "NE FIXUP -> 0005:057b (seg021:037b)")
+set_comment(0x58DE9, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0x58DFA, "NE FIXUP -> 0005:2745 (seg021:2545)")
+set_comment(0x58E07, "NE FIXUP -> 0005:27d0 (seg021:25d0)")
+set_comment(0x58E41, "NE FIXUP -> 0007:5291 (seg042:0891)")
+set_comment(0x58E5F, "NE FIXUP -> 0005:3b34 (seg021:3934)")
+set_comment(0x58E81, "NE FIXUP -> 0005:3a89 (seg021:3889)")
+set_comment(0x58E91, "NE FIXUP -> 0005:3a3e (seg021:383e)")
+set_comment(0x58EDE, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0x58EFE, "NE FIXUP -> 0005:124e (seg021:104e)")
+set_comment(0x58F22, "NE FIXUP -> 0005:3aa2 (seg021:38a2)")
+set_comment(0x58F32, "NE FIXUP -> 0005:3a5a (seg021:385a)")
+set_comment(0x58F68, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x58F85, "NE FIXUP -> 0005:0a10 (seg021:0810)")
+set_comment(0x58FB5, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x58FC5, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0x58FE1, "NE FIXUP -> 0005:0a10 (seg021:0810)")
+set_comment(0x59009, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0x59025, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x59048, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x5905A, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0x590B6, "NE FIXUP -> 0009:1800 (seg069:0000)")
+set_comment(0x590C8, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x59210, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x5925A, "NE FIXUP -> 0003:d9c0 (seg001:63c0)")
+set_comment(0x594D6, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0x597FD, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0x59868, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x5987D, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x598BA, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x59912, "NE FIXUP -> 0003:d9c0 (seg001:63c0)")
+set_comment(0x59A41, "NE FIXUP -> 0003:d9c0 (seg001:63c0)")
+set_comment(0x59A6C, "NE FIXUP -> 0003:d9c0 (seg001:63c0)")
+set_comment(0x59B71, "NE FIXUP -> 0003:d9c0 (seg001:63c0)")
+set_comment(0x59D51, "NE FIXUP -> 0005:ae00 (seg026:0000)")
+set_comment(0x59D6B, "NE FIXUP -> 0005:aec6 (seg026:00c6)")
+set_comment(0x59D85, "NE FIXUP -> 0005:afc8 (seg026:01c8)")
+set_comment(0x59D9F, "NE FIXUP -> 0005:b097 (seg026:0297)")
+set_comment(0x59DAE, "NE FIXUP -> 0005:b185 (seg026:0385)")
+set_comment(0x59ED4, "NE FIXUP -> 0005:0ff6 (seg021:0df6)")
+set_comment(0x59EE4, "NE FIXUP -> 0005:0ff6 (seg021:0df6)")
+set_comment(0x59EF8, "NE FIXUP -> 0005:1032 (seg021:0e32)")
+set_comment(0x5A018, "NE FIXUP -> 0005:0ff6 (seg021:0df6)")
+set_comment(0x5A036, "NE FIXUP -> 0003:d9c0 (seg001:63c0)")
+set_comment(0x5A07F, "NE FIXUP -> 0005:0ff6 (seg021:0df6)")
+set_comment(0x5A09D, "NE FIXUP -> 0003:d9c0 (seg001:63c0)")
+set_comment(0x5A0D6, "NE FIXUP -> 0005:1032 (seg021:0e32)")
+set_comment(0x5A0EB, "NE FIXUP -> 0005:1032 (seg021:0e32)")
+set_comment(0x5A10F, "NE FIXUP -> 0005:0ff6 (seg021:0df6)")
+set_comment(0x5A372, "NE FIXUP -> 0003:d9c0 (seg001:63c0)")
+set_comment(0x5A39D, "NE FIXUP -> 0003:d9c0 (seg001:63c0)")
+set_comment(0x5A4A2, "NE FIXUP -> 0003:d9c0 (seg001:63c0)")
+set_comment(0x5A8FA, "NE FIXUP -> 0005:ae00 (seg026:0000)")
+set_comment(0x5A93C, "NE FIXUP -> 0005:aec6 (seg026:00c6)")
+set_comment(0x5A97E, "NE FIXUP -> 0005:afc8 (seg026:01c8)")
+set_comment(0x5A9C0, "NE FIXUP -> 0005:b097 (seg026:0297)")
+set_comment(0x5A9F7, "NE FIXUP -> 0005:b185 (seg026:0385)")
+set_comment(0x5AB48, "NE FIXUP -> 0005:b20f (seg026:040f)")
+set_comment(0x5B660, "NE FIXUP -> 000a:39eb (seg090:01eb)")
+set_comment(0x5B685, "NE FIXUP -> 000a:39eb (seg090:01eb)")
+set_comment(0x5B6AA, "NE FIXUP -> 000a:39eb (seg090:01eb)")
+set_comment(0x5B6CF, "NE FIXUP -> 000a:39eb (seg090:01eb)")
+set_comment(0x5B971, "NE FIXUP -> 0005:5000 (seg022:0000)")
+set_comment(0x5BA72, "NE FIXUP -> 0006:4800 (seg032:0000)")
+set_comment(0x5BA90, "NE FIXUP -> 0005:9971 (seg025:0771)")
+set_comment(0x5BAB1, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0x5BAC3, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0x5BAD4, "NE FIXUP -> 0005:0a10 (seg021:0810)")
+set_comment(0x5BAE3, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0x5BAF6, "NE FIXUP -> 0005:0a10 (seg021:0810)")
+set_comment(0x5BB03, "NE FIXUP -> 0005:9c8e (seg025:0a8e)")
+set_comment(0x5BB93, "NE FIXUP -> 0006:4800 (seg032:0000)")
+set_comment(0x5BBB1, "NE FIXUP -> 0005:9971 (seg025:0771)")
+set_comment(0x5BBD2, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0x5BBE4, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0x5BBF5, "NE FIXUP -> 0005:0a10 (seg021:0810)")
+set_comment(0x5BC04, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0x5BC18, "NE FIXUP -> 0005:0a10 (seg021:0810)")
+set_comment(0x5BC25, "NE FIXUP -> 0005:9c8e (seg025:0a8e)")
+set_comment(0x5BC54, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0x5BC6A, "NE FIXUP -> 0005:0a10 (seg021:0810)")
+set_comment(0x5BCA5, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x5BCB4, "NE FIXUP -> 0005:0ff6 (seg021:0df6)")
+set_comment(0x5BD3D, "NE FIXUP -> 0005:3d10 (seg021:3b10)")
+set_comment(0x5BD5F, "NE FIXUP -> 0005:3a3e (seg021:383e)")
+set_comment(0x5BD6F, "NE FIXUP -> 0005:3a89 (seg021:3889)")
+set_comment(0x5BD7F, "NE FIXUP -> 0005:0e78 (seg021:0c78)")
+set_comment(0x5BDE4, "NE FIXUP -> 0006:0556 (seg030:2556)")
+set_comment(0x5BE00, "NE FIXUP -> 0006:158c (seg030:358c)")
+set_comment(0x5BE13, "NE FIXUP -> 0006:16ef (seg030:36ef)")
+set_comment(0x5BE2A, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0x5BE61, "NE FIXUP -> 0006:15a9 (seg030:35a9)")
+set_comment(0x5BE72, "NE FIXUP -> 0006:0c39 (seg030:2c39)")
+set_comment(0x5BE82, "NE FIXUP -> 0006:0be2 (seg030:2be2)")
+set_comment(0x5BE92, "NE FIXUP -> 0006:0bff (seg030:2bff)")
+set_comment(0x5BEA2, "NE FIXUP -> 0006:0c1c (seg030:2c1c)")
+set_comment(0x5BEB1, "NE FIXUP -> 0006:0cfa (seg030:2cfa)")
+set_comment(0x5BEC0, "NE FIXUP -> 0005:2772 (seg021:2572)")
+set_comment(0x5BECF, "NE FIXUP -> 0006:1e10 (seg030:3e10)")
+set_comment(0x5BEE6, "NE FIXUP -> 0006:0afb (seg030:2afb)")
+set_comment(0x5BF10, "NE FIXUP -> 0005:13e7 (seg021:11e7)")
+set_comment(0x5BF22, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0x5BF33, "NE FIXUP -> 0006:07f3 (seg030:27f3)")
+set_comment(0x5BF41, "NE FIXUP -> 0006:162d (seg030:362d)")
+set_comment(0x5BF56, "NE FIXUP -> 0006:0afb (seg030:2afb)")
+set_comment(0x5BF7D, "NE FIXUP -> 0005:13e7 (seg021:11e7)")
+set_comment(0x5BF8F, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0x5BFA0, "NE FIXUP -> 0006:07f3 (seg030:27f3)")
+set_comment(0x5BFAE, "NE FIXUP -> 0006:162d (seg030:362d)")
+set_comment(0x5BFD5, "NE FIXUP -> 0005:0e78 (seg021:0c78)")
+set_comment(0x5BFE8, "NE FIXUP -> 0005:0e78 (seg021:0c78)")
+set_comment(0x5BFFF, "NE FIXUP -> 0005:0e5c (seg021:0c5c)")
+set_comment(0x5C010, "NE FIXUP -> 0005:0e78 (seg021:0c78)")
+set_comment(0x5C02A, "NE FIXUP -> 0005:0e78 (seg021:0c78)")
+set_comment(0x5C045, "NE FIXUP -> 0005:0e5c (seg021:0c5c)")
+set_comment(0x5C059, "NE FIXUP -> 0005:0ff6 (seg021:0df6)")
+set_comment(0x5C094, "NE FIXUP -> 0005:0ff6 (seg021:0df6)")
+set_comment(0x5C40C, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x5C46C, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x5C4C4, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x5C5AA, "NE FIXUP -> 0004:0400 (seg003:0000)")
+set_comment(0x5C60B, "NE FIXUP -> 0004:04fd (seg003:00fd)")
+set_comment(0x5C6E1, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x5C93D, "NE FIXUP -> 0004:0400 (seg003:0000)")
+set_comment(0x5CF84, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x5D097, "NE FIXUP -> 0004:0400 (seg003:0000)")
+set_comment(0x5D115, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x5D21B, "NE FIXUP -> 0005:6cc1 (seg022:1cc1)")
+set_comment(0x5D24C, "NE FIXUP -> 0005:6cc1 (seg022:1cc1)")
+set_comment(0x5D27C, "NE FIXUP -> 0005:6cc1 (seg022:1cc1)")
+set_comment(0x5D29E, "NE FIXUP -> 0005:6cc1 (seg022:1cc1)")
+set_comment(0x5D2BD, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x5D2E6, "NE FIXUP -> 0005:6cc1 (seg022:1cc1)")
+set_comment(0x5D30B, "NE FIXUP -> 0005:6cc1 (seg022:1cc1)")
+set_comment(0x5D331, "NE FIXUP -> 0005:6cc1 (seg022:1cc1)")
+set_comment(0x5D34D, "NE FIXUP -> 0005:6cc1 (seg022:1cc1)")
+set_comment(0x5D36C, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x5D43C, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x5D46A, "NE FIXUP -> 0005:aac0 (seg025:18c0)")
+set_comment(0x5D59E, "NE FIXUP -> 0005:05fa (seg021:03fa)")
+set_comment(0x5D6C8, "NE FIXUP -> 0005:1731 (seg021:1531)")
+set_comment(0x5D781, "NE FIXUP -> 0006:446d (seg031:046d)")
+set_comment(0x5D821, "NE FIXUP -> 0004:dc00 (seg017:0000)")
+set_comment(0x5D844, "NE FIXUP -> 0006:42d9 (seg031:02d9)")
+set_comment(0x5D853, "NE FIXUP -> 0006:4502 (seg031:0502)")
+set_comment(0x5D874, "NE FIXUP -> 0006:42d9 (seg031:02d9)")
+set_comment(0x5D883, "NE FIXUP -> 0006:4502 (seg031:0502)")
+set_comment(0x5D929, "NE FIXUP -> 0006:42d9 (seg031:02d9)")
+set_comment(0x5D938, "NE FIXUP -> 0006:4502 (seg031:0502)")
+set_comment(0x5D95A, "NE FIXUP -> 0006:42d9 (seg031:02d9)")
+set_comment(0x5D969, "NE FIXUP -> 0006:4502 (seg031:0502)")
+set_comment(0x5D999, "NE FIXUP -> 0006:4631 (seg031:0631)")
+set_comment(0x5D9A8, "NE FIXUP -> 0006:46b5 (seg031:06b5)")
+set_comment(0x5DA07, "NE FIXUP -> 0005:05fa (seg021:03fa)")
+set_comment(0x5E023, "NE FIXUP -> 0003:b8e2 (seg001:42e2)")
+set_comment(0x5E041, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x5E0A3, "NE FIXUP -> 0005:678f (seg022:178f)")
+set_comment(0x5E0B7, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x5E125, "NE FIXUP -> 0008:a995 (seg059:3f95)")
+set_comment(0x5E178, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x5E1AE, "NE FIXUP -> 0005:13e7 (seg021:11e7)")
+set_comment(0x5E1EF, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0x5E28B, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x5E2AF, "NE FIXUP -> 0006:d705 (seg038:2105)")
+set_comment(0x5E2BE, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x5E2D1, "NE FIXUP -> 000c:747d (seg126:007d)")
+set_comment(0x5E309, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x5E312, "NE FIXUP -> 0007:b544 (seg047:0944)")
+set_comment(0x5E344, "NE FIXUP -> 0008:7407 (seg059:0a07)")
+set_comment(0x5E36C, "NE FIXUP -> 0008:7663 (seg059:0c63)")
+set_comment(0x5E3FD, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5E422, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5E457, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5E47C, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5E4B1, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5E4D6, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5E505, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x5E536, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5E55B, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5E590, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5E5B5, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5E5E0, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x5E611, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5E636, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5E661, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x5E692, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5E6B7, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5E702, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5E727, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5E75C, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5E781, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5E7CC, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5E7F1, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5E82A, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5E84F, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5E888, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5E8AD, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5E8E2, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5E907, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5E940, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5E965, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5E9A0, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5E9CA, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5EA20, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5EA4A, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5EAA0, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5EACA, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5EAFA, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x5EB2D, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5EB57, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5EB8B, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x5EBBE, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5EBE8, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5EC18, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x5EC4B, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5EC75, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5ECB1, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5ECDB, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5ED0F, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x5ED42, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5ED6C, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5EDA0, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x5EDD3, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5EDFD, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5EE31, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x5EE64, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5EE8E, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5EEC2, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x5EEF5, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5EF1F, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5EF53, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x5EF86, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5EFB0, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5EFE4, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x5F017, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5F041, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5F081, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5F0AB, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5F0EB, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5F115, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5F151, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5F17B, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5F1B7, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5F1E1, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5F221, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5F24B, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5F28B, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5F2B5, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5F2F1, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5F31B, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5F357, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5F381, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5F3BD, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5F3E7, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5F423, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5F44D, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5F489, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5F4B3, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5F4EF, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5F519, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5F555, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5F57F, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5F5BB, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5F5E5, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5F621, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5F64B, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5F68B, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5F6B5, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5F6F5, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5F71F, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5F75F, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5F789, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5F7B9, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x5F7EC, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5F816, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5F84A, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x5F87D, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5F8A7, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5F8D7, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x5F90A, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5F934, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5F964, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x5F997, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5F9C1, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5F9F1, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x5FA28, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5FA52, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5FA82, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x5FAB9, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5FAE3, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5FB23, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5FB4D, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5FB8D, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5FBB7, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5FBF7, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5FC21, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5FC61, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5FC8B, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5FCC7, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5FCF1, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5FD2C, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x5FD56, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x5FD88, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x5FD94, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x5FDA4, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x5FDB7, "NE FIXUP -> 0006:e499 (seg039:0299)")
+set_comment(0x5FDBE, "NE FIXUP -> 0006:e892 (seg039:0692)")
+set_comment(0x5FDC8, "NE FIXUP -> 0007:11a6 (seg039:2fa6)")
+set_comment(0x5FDDA, "NE FIXUP -> 0007:8854 (seg043:2e54)")
+set_comment(0x5FEAB, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x5FEDE, "NE FIXUP -> 0008:7a2e (seg059:102e)")
+set_comment(0x60024, "NE FIXUP -> 0005:27d0 (seg021:25d0)")
+set_comment(0x6004B, "NE FIXUP -> 0005:280f (seg021:260f)")
+set_comment(0x600AC, "NE FIXUP -> 0006:9400 (seg035:0000)")
+set_comment(0x600DE, "NE FIXUP -> 0006:95dc (seg035:01dc)")
+set_comment(0x60243, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x60295, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x60380, "NE FIXUP -> 0005:7759 (seg022:2759)")
+set_comment(0x60438, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x60487, "NE FIXUP -> 0005:3cf5 (seg021:3af5)")
+set_comment(0x604A3, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0x605D9, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x605E2, "NE FIXUP -> 0006:a70a (seg036:010a)")
+set_comment(0x60613, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0x60640, "NE FIXUP -> 0005:0a10 (seg021:0810)")
+set_comment(0x6064C, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x60655, "NE FIXUP -> 0006:a70a (seg036:010a)")
+set_comment(0x6069B, "NE FIXUP -> 0005:c400 (seg029:0000)")
+set_comment(0x606AF, "NE FIXUP -> 0005:c4d9 (seg029:00d9)")
+set_comment(0x606DD, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0x606EC, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x60703, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x60751, "NE FIXUP -> 0005:c400 (seg029:0000)")
+set_comment(0x60766, "NE FIXUP -> 0005:c4d9 (seg029:00d9)")
+set_comment(0x6078D, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0x6079C, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x607B3, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x6082A, "NE FIXUP -> 0005:11c4 (seg021:0fc4)")
+set_comment(0x60868, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0x60872, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0x6087C, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0x60886, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0x60890, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0x6089D, "NE FIXUP -> 0005:1552 (seg021:1352)")
+set_comment(0x608B0, "NE FIXUP -> 0005:1528 (seg021:1328)")
+set_comment(0x608EB, "NE FIXUP -> 0005:05c9 (seg021:03c9)")
+set_comment(0x608FB, "NE FIXUP -> 0005:2772 (seg021:2572)")
+set_comment(0x60A30, "NE FIXUP -> 0005:2fad (seg021:2dad)")
+set_comment(0x60A3E, "NE FIXUP -> 0005:6ced (seg022:1ced)")
+set_comment(0x60A48, "NE FIXUP -> 0005:7680 (seg022:2680)")
+set_comment(0x60AA0, "NE FIXUP -> 0006:ae66 (seg037:0066)")
+set_comment(0x60AA5, "NE FIXUP -> 0006:ae00 (seg037:0000)")
+set_comment(0x60AD1, "NE FIXUP -> 0007:c6ba (seg049:0cba)")
+set_comment(0x60AEA, "NE FIXUP -> 0005:6ced (seg022:1ced)")
+set_comment(0x60AF2, "NE FIXUP -> 0005:74a8 (seg022:24a8)")
+set_comment(0x60BBC, "NE FIXUP -> 000d:463a (seg133:0e3a)")
+set_comment(0x60D3C, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x60D8F, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x60E40, "NE FIXUP -> 0005:3cf5 (seg021:3af5)")
+set_comment(0x60E77, "NE FIXUP -> 0008:7864 (seg059:0e64)")
+set_comment(0x60E9A, "NE FIXUP -> 0006:52ed (seg033:02ed)")
+set_comment(0x60EAF, "NE FIXUP -> 0006:5693 (seg033:0693)")
+set_comment(0x60EC6, "NE FIXUP -> 0006:5afb (seg033:0afb)")
+set_comment(0x60EEB, "NE FIXUP -> 0006:6600 (seg034:0000)")
+set_comment(0x60F11, "NE FIXUP -> 0006:7a85 (seg034:1485)")
+set_comment(0x60F96, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0x60FAA, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0x60FD9, "NE FIXUP -> 0006:5383 (seg033:0383)")
+set_comment(0x60FEE, "NE FIXUP -> 0006:5984 (seg033:0984)")
+set_comment(0x61003, "NE FIXUP -> 0006:52ed (seg033:02ed)")
+set_comment(0x610A9, "NE FIXUP -> 0005:3cf5 (seg021:3af5)")
+set_comment(0x610E7, "NE FIXUP -> 000d:463a (seg133:0e3a)")
+set_comment(0x61154, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x61160, "NE FIXUP -> 0006:ab28 (seg036:0528)")
+set_comment(0x6116C, "NE FIXUP -> 0006:ac74 (seg036:0674)")
+set_comment(0x611C1, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x611D3, "NE FIXUP -> 0005:3cf5 (seg021:3af5)")
+set_comment(0x61216, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x61226, "NE FIXUP -> 0005:3cf5 (seg021:3af5)")
+set_comment(0x6123B, "NE FIXUP -> 0008:7da4 (seg059:13a4)")
+set_comment(0x61276, "NE FIXUP -> 0007:4a9c (seg042:009c)")
+set_comment(0x61394, "NE FIXUP -> 0006:a70a (seg036:010a)")
+set_comment(0x614CB, "NE FIXUP -> 0006:d6c5 (seg038:20c5)")
+set_comment(0x61522, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0x6164A, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0x61784, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0x617E4, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0x617FE, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x618B2, "NE FIXUP -> 0005:0a10 (seg021:0810)")
+set_comment(0x618FB, "NE FIXUP -> 000a:48e3 (seg091:04e3)")
+set_comment(0x61908, "NE FIXUP -> 000a:48f7 (seg091:04f7)")
+set_comment(0x61996, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x619E7, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x619F0, "NE FIXUP -> 0006:a87e (seg036:027e)")
+set_comment(0x61A45, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x61A4E, "NE FIXUP -> 0006:a87e (seg036:027e)")
+set_comment(0x61A64, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x61A6D, "NE FIXUP -> 0006:a7ad (seg036:01ad)")
+set_comment(0x61A9A, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0x61AD7, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x61AE0, "NE FIXUP -> 0006:a87e (seg036:027e)")
+set_comment(0x61AF6, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x61AFF, "NE FIXUP -> 0006:a7ad (seg036:01ad)")
+set_comment(0x61B1A, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0x61B29, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0x61B3B, "NE FIXUP -> 0005:0fd1 (seg021:0dd1)")
+set_comment(0x61B45, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0x61B7C, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x61B85, "NE FIXUP -> 0006:a8ee (seg036:02ee)")
+set_comment(0x61BDD, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x61BE6, "NE FIXUP -> 0006:a87e (seg036:027e)")
+set_comment(0x61BFC, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0x61C1A, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x61C23, "NE FIXUP -> 0006:a780 (seg036:0180)")
+set_comment(0x61C34, "NE FIXUP -> 0005:0fd1 (seg021:0dd1)")
+set_comment(0x61C41, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0x61C50, "NE FIXUP -> 0005:0fd1 (seg021:0dd1)")
+set_comment(0x61C5D, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0x61C6E, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0x61C7B, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x61C84, "NE FIXUP -> 0006:a951 (seg036:0351)")
+set_comment(0x61C9C, "NE FIXUP -> 0005:3b91 (seg021:3991)")
+set_comment(0x61D9C, "NE FIXUP -> 0005:0eaa (seg021:0caa)")
+set_comment(0x61DEA, "NE FIXUP -> 0005:0eee (seg021:0cee)")
+set_comment(0x61E82, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x61E96, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x61EA8, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x61ED3, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x61EE7, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x61EF9, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x61F24, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x61F38, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x61F4A, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x61F75, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x61F89, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x61F9B, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x61FC6, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x61FDA, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x61FEC, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62017, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x6202B, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x6203D, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62068, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x6207C, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x6208E, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x620B9, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x620CD, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x620DF, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x6210A, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x6211E, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62130, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x6215B, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x6216F, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62181, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x621AC, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x621C0, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x621D2, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x621FD, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62211, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62223, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x6224E, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62262, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62274, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x6229F, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x622B3, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x622C5, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x622F0, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62304, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62316, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62341, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62355, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62367, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62392, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x623A6, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x623B8, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x623E3, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x623F7, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62409, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62434, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62448, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x6245A, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62485, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62499, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x624AB, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x624D6, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x624EA, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x624FC, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62527, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x6253B, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x6254D, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62578, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x6258C, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x6259E, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x625C9, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x625DD, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x625EF, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x6261A, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x6262E, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62640, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x6266B, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x6267F, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62691, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x626BC, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x626D0, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x626E2, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x6270D, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62721, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62733, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x6275E, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62772, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62784, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x627AF, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x627C3, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x627D5, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62800, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62814, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62826, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62851, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62865, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62877, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x628A2, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x628B6, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x628C8, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x628F3, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62907, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62919, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62944, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62958, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x6296A, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62995, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x629A9, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x629BB, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x629E6, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x629FA, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62A0C, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62A37, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62A4B, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62A5D, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62A88, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62A9C, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62AAE, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62AD9, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62AED, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62AFF, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62B2A, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62B3E, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62B50, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62B7B, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62B8F, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62BA1, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62BCC, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62BE0, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62BF2, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62C1D, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62C31, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62C43, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62C6E, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62C82, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62C94, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62CBF, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62CD3, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62CE5, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62D10, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62D24, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62D36, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62D61, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62D75, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62D87, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62DB2, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62DC6, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62DD8, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62E03, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62E17, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62E29, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62E54, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62E68, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62E7A, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62EA5, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62EB9, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62ECB, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62EF6, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62F0A, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62F1C, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62F47, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62F5B, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62F6D, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62F98, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62FAC, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62FBE, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x62FE9, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x62FFD, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x6300F, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x6303A, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x6304E, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x63060, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x64078, "NE FIXUP -> 0003:b8e2 (seg001:42e2)")
+set_comment(0x640BC, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x641B0, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0x641D3, "NE FIXUP -> 0005:10d8 (seg021:0ed8)")
+set_comment(0x6420F, "NE FIXUP -> 0004:fef1 (seg020:06f1)")
+set_comment(0x64289, "NE FIXUP -> 0004:c055 (seg015:0e55)")
+set_comment(0x642B3, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x642E8, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x642FE, "NE FIXUP -> 0008:ba00 (seg061:0000)")
+set_comment(0x6432E, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x6433D, "NE FIXUP -> 0008:bbb6 (seg061:01b6)")
+set_comment(0x6438C, "NE FIXUP -> 0008:817c (seg059:177c)")
+set_comment(0x643A0, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x643C3, "NE FIXUP -> 0005:295f (seg021:275f)")
+set_comment(0x643E5, "NE FIXUP -> 0005:2918 (seg021:2718)")
+set_comment(0x643F5, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x64428, "NE FIXUP -> 0006:4542 (seg031:0542)")
+set_comment(0x6443C, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x64450, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x64462, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x6447E, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x644A7, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x644C6, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x646D1, "NE FIXUP -> 0009:a27a (seg082:007a)")
+set_comment(0x646E3, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x64810, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x648A6, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x64A15, "NE FIXUP -> 0006:4a75 (seg032:0275)")
+set_comment(0x64A21, "NE FIXUP -> 0006:4b69 (seg032:0369)")
+set_comment(0x64A3E, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x64A60, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x64A8B, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x64AA8, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x64ABF, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x64AFF, "NE FIXUP -> 0009:1c3a (seg070:003a)")
+set_comment(0x64B1D, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x64B2A, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x64B5C, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x64B7D, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x64B9A, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x64BB0, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x64BE7, "NE FIXUP -> 000a:500a (seg092:020a)")
+set_comment(0x64C01, "NE FIXUP -> 0009:1c3a (seg070:003a)")
+set_comment(0x64C1E, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x64C2B, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x64C6D, "NE FIXUP -> 0003:e688 (seg001:7088)")
+set_comment(0x64CD3, "NE FIXUP -> 0003:e688 (seg001:7088)")
+set_comment(0x64CE4, "NE FIXUP -> 0003:e721 (seg001:7121)")
+set_comment(0x65010, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x6502B, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0x65042, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x65053, "NE FIXUP -> 0008:bbb6 (seg061:01b6)")
+set_comment(0x65077, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x65080, "NE FIXUP -> 0007:b544 (seg047:0944)")
+set_comment(0x65091, "NE FIXUP -> 0007:14af (seg039:32af)")
+set_comment(0x650E9, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x650F9, "NE FIXUP -> 0006:1726 (seg030:3726)")
+set_comment(0x65110, "NE FIXUP -> 0005:43f0 (seg021:41f0)")
+set_comment(0x651A6, "NE FIXUP -> 0005:0376 (seg021:0176)")
+set_comment(0x651B4, "NE FIXUP -> 0005:033e (seg021:013e)")
+set_comment(0x651C2, "NE FIXUP -> 0005:0376 (seg021:0176)")
+set_comment(0x651D0, "NE FIXUP -> 0005:033e (seg021:013e)")
+set_comment(0x651D9, "NE FIXUP -> 0005:b520 (seg027:0120)")
+set_comment(0x65238, "NE FIXUP -> 0006:cd55 (seg038:1755)")
+set_comment(0x6525A, "NE FIXUP -> 0006:d201 (seg038:1c01)")
+set_comment(0x6528B, "NE FIXUP -> 0005:42c8 (seg021:40c8)")
+set_comment(0x6529C, "NE FIXUP -> 0006:0c8a (seg030:2c8a)")
+set_comment(0x652B4, "NE FIXUP -> 0006:1027 (seg030:3027)")
+set_comment(0x652DD, "NE FIXUP -> 0006:0cfa (seg030:2cfa)")
+set_comment(0x652FD, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x65349, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x65379, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0x65393, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x653E2, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x65414, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x65478, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x6548C, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x654A1, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x654C8, "NE FIXUP -> 0005:e119 (seg030:0119)")
+set_comment(0x654E8, "NE FIXUP -> 0005:43f0 (seg021:41f0)")
+set_comment(0x65500, "NE FIXUP -> 0005:1c74 (seg021:1a74)")
+set_comment(0x65510, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x65539, "NE FIXUP -> 0006:d201 (seg038:1c01)")
+set_comment(0x6555A, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x6558E, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x6559D, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x655A4, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x655BC, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x655C4, "NE FIXUP -> 0003:aa3c (seg001:343c)")
+set_comment(0x655CB, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x655E2, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x655EA, "NE FIXUP -> 0003:aa3c (seg001:343c)")
+set_comment(0x655F1, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x65608, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x65610, "NE FIXUP -> 0003:aa3c (seg001:343c)")
+set_comment(0x65617, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x6562E, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x6563D, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x65644, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x65662, "NE FIXUP -> 0005:3b34 (seg021:3934)")
+set_comment(0x65677, "NE FIXUP -> 0006:1263 (seg030:3263)")
+set_comment(0x65689, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0x656A3, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x656EF, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x6572A, "NE FIXUP -> 0005:05fa (seg021:03fa)")
+set_comment(0x6574B, "NE FIXUP -> 0005:e119 (seg030:0119)")
+set_comment(0x65769, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x65776, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x6579E, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x657CB, "NE FIXUP -> 0008:cfab (seg061:15ab)")
+set_comment(0x6580F, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x65844, "NE FIXUP -> 0006:0cfa (seg030:2cfa)")
+set_comment(0x65855, "NE FIXUP -> 0006:0cfa (seg030:2cfa)")
+set_comment(0x6586C, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x6587D, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x6588D, "NE FIXUP -> 0007:4a9c (seg042:009c)")
+set_comment(0x6589F, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0x658B3, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0x658C7, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0x658E7, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x658FF, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0x65909, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0x6592C, "NE FIXUP -> 0005:e119 (seg030:0119)")
+set_comment(0x65940, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x65965, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x6597A, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x65994, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x659E0, "NE FIXUP -> 0008:bbb6 (seg061:01b6)")
+set_comment(0x659F1, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x65A2B, "NE FIXUP -> 0005:e119 (seg030:0119)")
+set_comment(0x65A41, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0x65A66, "NE FIXUP -> 0006:0cfa (seg030:2cfa)")
+set_comment(0x65A72, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x65A8E, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x65A9D, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x65AA4, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x65ABA, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0x65ACB, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x65AD4, "NE FIXUP -> 0007:b544 (seg047:0944)")
+set_comment(0x65B0B, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x65B5A, "NE FIXUP -> 0008:bbb6 (seg061:01b6)")
+set_comment(0x65B6B, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x65B7B, "NE FIXUP -> 0008:d27e (seg061:187e)")
+set_comment(0x65B8B, "NE FIXUP -> 0008:d3ba (seg061:19ba)")
+set_comment(0x65BBB, "NE FIXUP -> 0005:033e (seg021:013e)")
+set_comment(0x65BCF, "NE FIXUP -> 0005:0376 (seg021:0176)")
+set_comment(0x65BE3, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x65C17, "NE FIXUP -> 0005:e119 (seg030:0119)")
+set_comment(0x65C46, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x65C4F, "NE FIXUP -> 0007:b544 (seg047:0944)")
+set_comment(0x65C5C, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x65C95, "NE FIXUP -> 000a:5093 (seg092:0293)")
+set_comment(0x65CAF, "NE FIXUP -> 000a:5093 (seg092:0293)")
+set_comment(0x65CF1, "NE FIXUP -> 0006:9400 (seg035:0000)")
+set_comment(0x65D07, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0x65D1C, "NE FIXUP -> 0008:cfab (seg061:15ab)")
+set_comment(0x65D60, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x65D70, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x65D8F, "NE FIXUP -> 0005:ffed (seg030:1fed)")
+set_comment(0x65DF1, "NE FIXUP -> 0007:b544 (seg047:0944)")
+set_comment(0x65E01, "NE FIXUP -> 0007:b544 (seg047:0944)")
+set_comment(0x65E0E, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x65E35, "NE FIXUP -> 000a:5093 (seg092:0293)")
+set_comment(0x65E4B, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0x65E6C, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x65E96, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x65EB4, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x65ECE, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x65EEC, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x65F06, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0x65F10, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0x65F27, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0x65F31, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0x65F5E, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x65F72, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x65F87, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x65FAC, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x65FC0, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x65FD5, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x65FFF, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x66013, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x66028, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x6604D, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x66061, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x66076, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x660A0, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x660B4, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x660C9, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x66611, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x6662F, "NE FIXUP -> 0006:5000 (seg033:0000)")
+set_comment(0x66661, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x66708, "NE FIXUP -> 0006:13b0 (seg030:33b0)")
+set_comment(0x66743, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x66794, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x66824, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x66839, "NE FIXUP -> 0006:1572 (seg030:3572)")
+set_comment(0x66876, "NE FIXUP -> 0005:fe7e (seg030:1e7e)")
+set_comment(0x66898, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x668A1, "NE FIXUP -> 0007:b544 (seg047:0944)")
+set_comment(0x668B2, "NE FIXUP -> 0007:14af (seg039:32af)")
+set_comment(0x66901, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x66915, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x6692A, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x669E1, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x66AC8, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x66AEE, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x66B96, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x66BB5, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x66C13, "NE FIXUP -> 0009:46e7 (seg073:00e7)")
+set_comment(0x66C2D, "NE FIXUP -> 0009:4852 (seg073:0252)")
+set_comment(0x66C43, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x66C61, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x66C81, "NE FIXUP -> 0009:48a8 (seg073:02a8)")
+set_comment(0x66CAF, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x66CEF, "NE FIXUP -> 0007:9e0c (seg045:000c)")
+set_comment(0x66CF7, "NE FIXUP -> 0006:e210 (seg039:0010)")
+set_comment(0x66D0C, "NE FIXUP -> 0005:e119 (seg030:0119)")
+set_comment(0x66D1F, "NE FIXUP -> 0005:ffed (seg030:1fed)")
+set_comment(0x66D32, "NE FIXUP -> 0005:ff2d (seg030:1f2d)")
+set_comment(0x66D43, "NE FIXUP -> 0006:1b4f (seg030:3b4f)")
+set_comment(0x66D78, "NE FIXUP -> 0007:b0de (seg047:04de)")
+set_comment(0x66E08, "NE FIXUP -> 0005:fe7e (seg030:1e7e)")
+set_comment(0x66E28, "NE FIXUP -> 0006:15d9 (seg030:35d9)")
+set_comment(0x66E3D, "NE FIXUP -> 0006:9400 (seg035:0000)")
+set_comment(0x66E53, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0x66E86, "NE FIXUP -> 0006:1df4 (seg030:3df4)")
+set_comment(0x66EA4, "NE FIXUP -> 0006:4800 (seg032:0000)")
+set_comment(0x66F01, "NE FIXUP -> 0005:9971 (seg025:0771)")
+set_comment(0x66F10, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0x66F28, "NE FIXUP -> 0005:3a89 (seg021:3889)")
+set_comment(0x66F4B, "NE FIXUP -> 0006:95dc (seg035:01dc)")
+set_comment(0x66F61, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0x66F70, "NE FIXUP -> 0005:9c8e (seg025:0a8e)")
+set_comment(0x66FA1, "NE FIXUP -> 0006:95dc (seg035:01dc)")
+set_comment(0x66FB7, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0x6706B, "NE FIXUP -> 0006:9400 (seg035:0000)")
+set_comment(0x67081, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0x67098, "NE FIXUP -> 0006:16ef (seg030:36ef)")
+set_comment(0x670A5, "NE FIXUP -> 0005:1552 (seg021:1352)")
+set_comment(0x670BC, "NE FIXUP -> 0006:15d9 (seg030:35d9)")
+set_comment(0x670CC, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x670E0, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0x670F5, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x67108, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x67123, "NE FIXUP -> 0007:4a9c (seg042:009c)")
+set_comment(0x6713B, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x67150, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x67163, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x6717E, "NE FIXUP -> 0007:4a9c (seg042:009c)")
+set_comment(0x67193, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x671A4, "NE FIXUP -> 0006:cd55 (seg038:1755)")
+set_comment(0x671C6, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x671DE, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x671F6, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x6720E, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x67226, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x6723E, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x67256, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x6726E, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x67291, "NE FIXUP -> 0006:5afb (seg033:0afb)")
+set_comment(0x672A7, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0x672F3, "NE FIXUP -> 0005:b400 (seg027:0000)")
+set_comment(0x6730A, "NE FIXUP -> 0007:4a9c (seg042:009c)")
+set_comment(0x67321, "NE FIXUP -> 0007:4a9c (seg042:009c)")
+set_comment(0x67338, "NE FIXUP -> 0007:4a9c (seg042:009c)")
+set_comment(0x6734F, "NE FIXUP -> 0007:4a9c (seg042:009c)")
+set_comment(0x67366, "NE FIXUP -> 0007:4a9c (seg042:009c)")
+set_comment(0x6737D, "NE FIXUP -> 0007:4a9c (seg042:009c)")
+set_comment(0x67394, "NE FIXUP -> 0007:4a9c (seg042:009c)")
+set_comment(0x673AB, "NE FIXUP -> 0007:4a9c (seg042:009c)")
+set_comment(0x673C2, "NE FIXUP -> 0007:4a9c (seg042:009c)")
+set_comment(0x67509, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x67543, "NE FIXUP -> 0006:16ef (seg030:36ef)")
+set_comment(0x67552, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x6758C, "NE FIXUP -> 0006:0cfa (seg030:2cfa)")
+set_comment(0x675BE, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x675CF, "NE FIXUP -> 0006:cd55 (seg038:1755)")
+set_comment(0x675F1, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x67614, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x67633, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0x676DD, "NE FIXUP -> 0005:b4ca (seg027:00ca)")
+set_comment(0x67762, "NE FIXUP -> 0005:b4ca (seg027:00ca)")
+set_comment(0x677A4, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x677B5, "NE FIXUP -> 0006:cd55 (seg038:1755)")
+set_comment(0x677F1, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x67802, "NE FIXUP -> 0006:cd55 (seg038:1755)")
+set_comment(0x67847, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x67A11, "NE FIXUP -> 0006:cd55 (seg038:1755)")
+set_comment(0x67A65, "NE FIXUP -> 0006:95dc (seg035:01dc)")
+set_comment(0x67A7B, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0x67A96, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x67AA5, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x67AAC, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x67ACD, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x67B21, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x67B31, "NE FIXUP -> 0007:9e0c (seg045:000c)")
+set_comment(0x67B50, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x67B65, "NE FIXUP -> 0005:e119 (seg030:0119)")
+set_comment(0x67B79, "NE FIXUP -> 0006:13b0 (seg030:33b0)")
+set_comment(0x67BB3, "NE FIXUP -> 0005:fe7e (seg030:1e7e)")
+set_comment(0x67BC6, "NE FIXUP -> 0005:fe7e (seg030:1e7e)")
+set_comment(0x67C09, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x67C1A, "NE FIXUP -> 0005:ffed (seg030:1fed)")
+set_comment(0x67C2B, "NE FIXUP -> 0005:42c8 (seg021:40c8)")
+set_comment(0x67C43, "NE FIXUP -> 0005:fe7e (seg030:1e7e)")
+set_comment(0x67C67, "NE FIXUP -> 0005:05fa (seg021:03fa)")
+set_comment(0x67C77, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x67C82, "NE FIXUP -> 000a:5093 (seg092:0293)")
+set_comment(0x67C93, "NE FIXUP -> 000a:5093 (seg092:0293)")
+set_comment(0x67CCE, "NE FIXUP -> 0006:9400 (seg035:0000)")
+set_comment(0x67CE4, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0x67CF3, "NE FIXUP -> 0005:ff2d (seg030:1f2d)")
+set_comment(0x67D16, "NE FIXUP -> 0007:b0de (seg047:04de)")
+set_comment(0x67D75, "NE FIXUP -> 0006:0cbe (seg030:2cbe)")
+set_comment(0x67D8B, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x67DA7, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x67DE4, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x67DEC, "NE FIXUP -> 0003:aa3c (seg001:343c)")
+set_comment(0x67DF3, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x67E00, "NE FIXUP -> 0007:4a9c (seg042:009c)")
+set_comment(0x67E6A, "NE FIXUP -> 0005:b400 (seg027:0000)")
+set_comment(0x67E8F, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x67EB4, "NE FIXUP -> 0005:3beb (seg021:39eb)")
+set_comment(0x67ED2, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x67EDB, "NE FIXUP -> 0006:a8ce (seg036:02ce)")
+set_comment(0x67EFC, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x67F15, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x67F6A, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x67FA9, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0x67FBF, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0x67FDE, "NE FIXUP -> 0008:cfab (seg061:15ab)")
+set_comment(0x67FED, "NE FIXUP -> 0006:1726 (seg030:3726)")
+set_comment(0x68011, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x68028, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x6807A, "NE FIXUP -> 0005:b400 (seg027:0000)")
+set_comment(0x680E8, "NE FIXUP -> 0005:b4ca (seg027:00ca)")
+set_comment(0x68138, "NE FIXUP -> 0005:43f0 (seg021:41f0)")
+set_comment(0x6817E, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x6818D, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x68194, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x681C4, "NE FIXUP -> 0006:c780 (seg038:1180)")
+set_comment(0x681FA, "NE FIXUP -> 0005:ffa7 (seg030:1fa7)")
+set_comment(0x6822C, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x68284, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x682DD, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x682EC, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x682F3, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x6830B, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x6831A, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x68321, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x68338, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x68340, "NE FIXUP -> 0003:aa3c (seg001:343c)")
+set_comment(0x68347, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x6835E, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x68366, "NE FIXUP -> 0003:aa3c (seg001:343c)")
+set_comment(0x6836D, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x68384, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x68393, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x6839A, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x683C4, "NE FIXUP -> 0005:3b34 (seg021:3934)")
+set_comment(0x683F6, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x68405, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x6840C, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x68423, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x68432, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x68439, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x68460, "NE FIXUP -> 0005:3b34 (seg021:3934)")
+set_comment(0x684A6, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x684C5, "NE FIXUP -> 0005:3beb (seg021:39eb)")
+set_comment(0x68529, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0x68573, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0x68597, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x685A0, "NE FIXUP -> 0006:a8ce (seg036:02ce)")
+set_comment(0x685C1, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x685DA, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x6862F, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x6866E, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0x68684, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0x686A3, "NE FIXUP -> 0008:cfab (seg061:15ab)")
+set_comment(0x686D1, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0x686E5, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0x6878F, "NE FIXUP -> 0005:b400 (seg027:0000)")
+set_comment(0x687AC, "NE FIXUP -> 0006:cd55 (seg038:1755)")
+set_comment(0x68810, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x68840, "NE FIXUP -> 0007:4a9c (seg042:009c)")
+set_comment(0x68876, "NE FIXUP -> 0007:9e0c (seg045:000c)")
+set_comment(0x688DF, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0x688F2, "NE FIXUP -> 0005:ffed (seg030:1fed)")
+set_comment(0x6892C, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x6893A, "NE FIXUP -> 0007:b0de (seg047:04de)")
+set_comment(0x689A9, "NE FIXUP -> 0005:b400 (seg027:0000)")
+set_comment(0x689C2, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x689EC, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0x68A02, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0x68A1E, "NE FIXUP -> 0008:cfab (seg061:15ab)")
+set_comment(0x68A40, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x68A52, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x68A64, "NE FIXUP -> 0006:c780 (seg038:1180)")
+set_comment(0x68A74, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x68A95, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0x68AFD, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x69410, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x6942B, "NE FIXUP -> 0008:cefb (seg061:14fb)")
+set_comment(0x69476, "NE FIXUP -> 0006:02cc (seg030:22cc)")
+set_comment(0x6948F, "NE FIXUP -> 0008:770e (seg059:0d0e)")
+set_comment(0x6949C, "NE FIXUP -> 0006:02ec (seg030:22ec)")
+set_comment(0x694AD, "NE FIXUP -> 0008:bbb6 (seg061:01b6)")
+set_comment(0x694BE, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x6952A, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x69536, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x69566, "NE FIXUP -> 0005:b498 (seg027:0098)")
+set_comment(0x6958B, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x6959D, "NE FIXUP -> 0006:4b36 (seg032:0336)")
+set_comment(0x695EC, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x69607, "NE FIXUP -> 0008:cefb (seg061:14fb)")
+set_comment(0x69652, "NE FIXUP -> 0006:02cc (seg030:22cc)")
+set_comment(0x6966B, "NE FIXUP -> 0008:770e (seg059:0d0e)")
+set_comment(0x69678, "NE FIXUP -> 0006:02ec (seg030:22ec)")
+set_comment(0x69689, "NE FIXUP -> 0008:bbb6 (seg061:01b6)")
+set_comment(0x6969A, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x696B6, "NE FIXUP -> 0005:05fa (seg021:03fa)")
+set_comment(0x696C6, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x6971A, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x69726, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x69756, "NE FIXUP -> 0005:b498 (seg027:0098)")
+set_comment(0x6977B, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x6978D, "NE FIXUP -> 0006:4b36 (seg032:0336)")
+set_comment(0x697E9, "NE FIXUP -> 0005:ff2d (seg030:1f2d)")
+set_comment(0x6981E, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x6984F, "NE FIXUP -> 0005:3cf5 (seg021:3af5)")
+set_comment(0x698AC, "NE FIXUP -> 0005:05fa (seg021:03fa)")
+set_comment(0x698BC, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x698E8, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x69A2F, "NE FIXUP -> 0007:4a9c (seg042:009c)")
+set_comment(0x69A3C, "NE FIXUP -> 0005:ff2d (seg030:1f2d)")
+set_comment(0x69A5A, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x69A81, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x69AB9, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x69AE0, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x69B10, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0x69B4B, "NE FIXUP -> 0006:0307 (seg030:2307)")
+set_comment(0x69B8B, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x69BAC, "NE FIXUP -> 0005:ffed (seg030:1fed)")
+set_comment(0x69BDF, "NE FIXUP -> 0005:1c74 (seg021:1a74)")
+set_comment(0x69BEF, "NE FIXUP -> 0007:4a9c (seg042:009c)")
+set_comment(0x69C10, "NE FIXUP -> 0005:1be9 (seg021:19e9)")
+set_comment(0x69C20, "NE FIXUP -> 0007:4a9c (seg042:009c)")
+set_comment(0x69C43, "NE FIXUP -> 0005:ff2d (seg030:1f2d)")
+set_comment(0x69C77, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x69C8E, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x69CB4, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0x69CDA, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0x69D0E, "NE FIXUP -> 0005:b520 (seg027:0120)")
+set_comment(0x69D2E, "NE FIXUP -> 0005:b498 (seg027:0098)")
+set_comment(0x69D65, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x69D6F, "NE FIXUP -> 0005:ff2d (seg030:1f2d)")
+set_comment(0x69D94, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x69DBD, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x69DFC, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x69E25, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x69E56, "NE FIXUP -> 0008:cfab (seg061:15ab)")
+set_comment(0x6A034, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x6A03E, "NE FIXUP -> 0005:ff2d (seg030:1f2d)")
+set_comment(0x6A064, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x6A08D, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x6A0CD, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x6A0F6, "NE FIXUP -> 0007:5a00 (seg043:0000)")
+set_comment(0x6A127, "NE FIXUP -> 0008:cfab (seg061:15ab)")
+set_comment(0x6A197, "NE FIXUP -> 0005:b498 (seg027:0098)")
+set_comment(0x6A23E, "NE FIXUP -> 0005:ff2d (seg030:1f2d)")
+set_comment(0x6A25A, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x6A275, "NE FIXUP -> 0008:7da4 (seg059:13a4)")
+set_comment(0x6A2B1, "NE FIXUP -> 0005:42c8 (seg021:40c8)")
+set_comment(0x6A2CF, "NE FIXUP -> 0006:cd55 (seg038:1755)")
+set_comment(0x6A2E9, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x6A2F7, "NE FIXUP -> 0006:8b2d (seg034:252d)")
+set_comment(0x6A330, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x6A344, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x6A359, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x6A604, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x6A620, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x6A660, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x6A693, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x6A6A1, "NE FIXUP -> 0009:46e7 (seg073:00e7)")
+set_comment(0x6A6BB, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x6AAFF, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x6AB0D, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x6AB14, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x6AB53, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x6AC6A, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x6AC95, "NE FIXUP -> 000a:5093 (seg092:0293)")
+set_comment(0x6AE12, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x6AE2D, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x6AE77, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x6AFF7, "NE FIXUP -> 0005:2686 (seg021:2486)")
+set_comment(0x6B014, "NE FIXUP -> 0005:32a8 (seg021:30a8)")
+set_comment(0x6B03C, "NE FIXUP -> 0005:42c8 (seg021:40c8)")
+set_comment(0x6B094, "NE FIXUP -> 0005:b400 (seg027:0000)")
+set_comment(0x6B0B3, "NE FIXUP -> 0005:b400 (seg027:0000)")
+set_comment(0x6B0E1, "NE FIXUP -> 0005:b4ca (seg027:00ca)")
+set_comment(0x6B0F6, "NE FIXUP -> 0005:2686 (seg021:2486)")
+set_comment(0x6B110, "NE FIXUP -> 0005:32a8 (seg021:30a8)")
+set_comment(0x6B136, "NE FIXUP -> 0005:2686 (seg021:2486)")
+set_comment(0x6B14B, "NE FIXUP -> 0005:32a8 (seg021:30a8)")
+set_comment(0x6B1ED, "NE FIXUP -> 0005:aac0 (seg025:18c0)")
+set_comment(0x6B20C, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x6B220, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x6B294, "NE FIXUP -> 0005:b4ca (seg027:00ca)")
+set_comment(0x6B2F1, "NE FIXUP -> 0005:b5c7 (seg027:01c7)")
+set_comment(0x6B310, "NE FIXUP -> 0006:b86b (seg038:026b)")
+set_comment(0x6B61E, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x6B636, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0x6B668, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x6B67F, "NE FIXUP -> 0008:d27e (seg061:187e)")
+set_comment(0x6B68F, "NE FIXUP -> 0008:d3ba (seg061:19ba)")
+set_comment(0x6B6B6, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0x6B70B, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x6B71D, "NE FIXUP -> 0006:4b36 (seg032:0336)")
+set_comment(0x6B72A, "NE FIXUP -> 0005:049a (seg021:029a)")
+set_comment(0x6B73D, "NE FIXUP -> 0005:04de (seg021:02de)")
+set_comment(0x6B751, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x6B784, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x6B796, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x6B803, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x6B87B, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x6B941, "NE FIXUP -> 0005:2686 (seg021:2486)")
+set_comment(0x6B966, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x6B97A, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x6B99C, "NE FIXUP -> 0008:7f1d (seg059:151d)")
+set_comment(0x6B9D2, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x6B9E7, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x6BA0C, "NE FIXUP -> 0005:ffed (seg030:1fed)")
+set_comment(0x6BA57, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x6BA94, "NE FIXUP -> 0005:ff2d (seg030:1f2d)")
+set_comment(0x6BAA5, "NE FIXUP -> 0006:1305 (seg030:3305)")
+set_comment(0x6BAB9, "NE FIXUP -> 0006:0cfa (seg030:2cfa)")
+set_comment(0x6BACA, "NE FIXUP -> 0005:fe7e (seg030:1e7e)")
+set_comment(0x6BADB, "NE FIXUP -> 0006:0cfa (seg030:2cfa)")
+set_comment(0x6BAE8, "NE FIXUP -> 0005:ff2d (seg030:1f2d)")
+set_comment(0x6BAFD, "NE FIXUP -> 0005:fe7e (seg030:1e7e)")
+set_comment(0x6BB1E, "NE FIXUP -> 0005:2686 (seg021:2486)")
+set_comment(0x6BB32, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x6BB46, "NE FIXUP -> 0006:02cc (seg030:22cc)")
+set_comment(0x6BBB0, "NE FIXUP -> 0005:b4ca (seg027:00ca)")
+set_comment(0x6BBCB, "NE FIXUP -> 0005:42c8 (seg021:40c8)")
+set_comment(0x6BC17, "NE FIXUP -> 0005:b400 (seg027:0000)")
+set_comment(0x6BC4D, "NE FIXUP -> 0008:770e (seg059:0d0e)")
+set_comment(0x6BC71, "NE FIXUP -> 0006:14eb (seg030:34eb)")
+set_comment(0x6BC93, "NE FIXUP -> 0006:ac2d (seg036:062d)")
+set_comment(0x6BCBE, "NE FIXUP -> 0006:144c (seg030:344c)")
+set_comment(0x6BCDF, "NE FIXUP -> 0006:1466 (seg030:3466)")
+set_comment(0x6BCEE, "NE FIXUP -> 0005:3b91 (seg021:3991)")
+set_comment(0x6BCFD, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0x6BD36, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x6BD65, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x6BD83, "NE FIXUP -> 0005:033e (seg021:013e)")
+set_comment(0x6BD95, "NE FIXUP -> 0005:0376 (seg021:0176)")
+set_comment(0x6BDA7, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x6BDDD, "NE FIXUP -> 0007:22de (seg040:00de)")
+set_comment(0x6BDF2, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0x6BE0A, "NE FIXUP -> 0008:cfab (seg061:15ab)")
+set_comment(0x6BE17, "NE FIXUP -> 0006:0158 (seg030:2158)")
+set_comment(0x6BE2E, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x6BE42, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0x6BE4F, "NE FIXUP -> 0006:12ec (seg030:32ec)")
+set_comment(0x6BE73, "NE FIXUP -> 0006:1556 (seg030:3556)")
+set_comment(0x6BE99, "NE FIXUP -> 0005:3bcf (seg021:39cf)")
+set_comment(0x6BEB0, "NE FIXUP -> 0008:770e (seg059:0d0e)")
+set_comment(0x6BEBE, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x6BECC, "NE FIXUP -> 0006:e659 (seg039:0459)")
+set_comment(0x6BEF7, "NE FIXUP -> 0006:e200 (seg039:0000)")
+set_comment(0x6BF23, "NE FIXUP -> 0004:5aa1 (seg010:00a1)")
+set_comment(0x6BF32, "NE FIXUP -> 0006:ac74 (seg036:0674)")
+set_comment(0x6BF72, "NE FIXUP -> 0005:1552 (seg021:1352)")
+set_comment(0x6BFBE, "NE FIXUP -> 0005:dc74 (seg029:1874)")
+set_comment(0x6C00B, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0x6C018, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x6C02B, "NE FIXUP -> 0005:08a5 (seg021:06a5)")
+set_comment(0x6C03B, "NE FIXUP -> 0007:14af (seg039:32af)")
+set_comment(0x6C048, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x6C057, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x6C05E, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x6C087, "NE FIXUP -> 000a:5093 (seg092:0293)")
+set_comment(0x6C0AD, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x6C0CE, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x6C0DB, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x6C0EA, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x6C0F1, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x6C115, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x6C136, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x6C144, "NE FIXUP -> 0007:95f0 (seg044:01f0)")
+set_comment(0x6C189, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0x6C1AC, "NE FIXUP -> 0005:08a5 (seg021:06a5)")
+set_comment(0x6C1BC, "NE FIXUP -> 0007:14af (seg039:32af)")
+set_comment(0x6C1D6, "NE FIXUP -> 0004:5aa1 (seg010:00a1)")
+set_comment(0x6C1E8, "NE FIXUP -> 0005:08a5 (seg021:06a5)")
+set_comment(0x6C1F8, "NE FIXUP -> 0007:14af (seg039:32af)")
+set_comment(0x6C217, "NE FIXUP -> 0005:08a5 (seg021:06a5)")
+set_comment(0x6C227, "NE FIXUP -> 0007:14af (seg039:32af)")
+set_comment(0x6C255, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x6C277, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x6C285, "NE FIXUP -> 0007:b544 (seg047:0944)")
+set_comment(0x6C345, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x6C351, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x6C36D, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x6C385, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x6C39D, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x6C3AE, "NE FIXUP -> 0004:5aa1 (seg010:00a1)")
+set_comment(0x6C3C5, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x6C3D1, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x6C404, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x6C410, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x6C427, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x6C436, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x6C43D, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x6C455, "NE FIXUP -> 0005:3beb (seg021:39eb)")
+set_comment(0x6C46B, "NE FIXUP -> 0005:3b34 (seg021:3934)")
+set_comment(0x6C478, "NE FIXUP -> 0006:001d (seg030:201d)")
+set_comment(0x6C4DC, "NE FIXUP -> 0005:3beb (seg021:39eb)")
+set_comment(0x6C4F2, "NE FIXUP -> 0005:3b34 (seg021:3934)")
+set_comment(0x6C536, "NE FIXUP -> 0008:770e (seg059:0d0e)")
+set_comment(0x6C54B, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x6C55C, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x6C588, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x6C5AB, "NE FIXUP -> 0008:7da4 (seg059:13a4)")
+set_comment(0x6C5C5, "NE FIXUP -> 0006:7a85 (seg034:1485)")
+set_comment(0x6C5F0, "NE FIXUP -> 0005:295f (seg021:275f)")
+set_comment(0x6C607, "NE FIXUP -> 0005:2686 (seg021:2486)")
+set_comment(0x6C61B, "NE FIXUP -> 0005:0687 (seg021:0487)")
+set_comment(0x6C650, "NE FIXUP -> 000a:5093 (seg092:0293)")
+set_comment(0x6C66F, "NE FIXUP -> 000a:5093 (seg092:0293)")
+set_comment(0x6C683, "NE FIXUP -> 0004:4ea6 (seg008:12a6)")
+set_comment(0x6C775, "NE FIXUP -> 0004:4ea6 (seg008:12a6)")
+set_comment(0x6C7EF, "NE FIXUP -> 0007:9e0c (seg045:000c)")
+set_comment(0x6C80C, "NE FIXUP -> 0005:05fa (seg021:03fa)")
+set_comment(0x6C81C, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x6C855, "NE FIXUP -> 0005:dc74 (seg029:1874)")
+set_comment(0x6C874, "NE FIXUP -> 0005:0376 (seg021:0176)")
+set_comment(0x6C882, "NE FIXUP -> 0005:033e (seg021:013e)")
+set_comment(0x6C891, "NE FIXUP -> 0005:b520 (seg027:0120)")
+set_comment(0x6C8A7, "NE FIXUP -> 0006:ac74 (seg036:0674)")
+set_comment(0x6C8C9, "NE FIXUP -> 0006:ac2d (seg036:062d)")
+set_comment(0x6C8F2, "NE FIXUP -> 0006:ac74 (seg036:0674)")
+set_comment(0x6C903, "NE FIXUP -> 0006:b19c (seg037:039c)")
+set_comment(0x6C92B, "NE FIXUP -> 0007:4cdf (seg042:02df)")
+set_comment(0x6C9E5, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x6C9F4, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x6C9FB, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x6CA1D, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x6CA2B, "NE FIXUP -> 0005:2686 (seg021:2486)")
+set_comment(0x6CA54, "NE FIXUP -> 0006:13e4 (seg030:33e4)")
+set_comment(0x6CA65, "NE FIXUP -> 0006:13e4 (seg030:33e4)")
+set_comment(0x6CA78, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x6CA81, "NE FIXUP -> 0006:ab28 (seg036:0528)")
+set_comment(0x6CA9E, "NE FIXUP -> 0006:10fe (seg030:30fe)")
+set_comment(0x6CAAE, "NE FIXUP -> 0006:1726 (seg030:3726)")
+set_comment(0x6CABD, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x6CACB, "NE FIXUP -> 0007:b0de (seg047:04de)")
+set_comment(0x6CAE4, "NE FIXUP -> 0006:ac74 (seg036:0674)")
+set_comment(0x6CAFF, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x6CB1F, "NE FIXUP -> 0006:af58 (seg037:0158)")
+set_comment(0x6CB32, "NE FIXUP -> 0006:e210 (seg039:0010)")
+set_comment(0x6CB73, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x6CB88, "NE FIXUP -> 0006:e499 (seg039:0299)")
+set_comment(0x6CBA1, "NE FIXUP -> 0007:28ce (seg040:06ce)")
+set_comment(0x6CBC4, "NE FIXUP -> 0007:2ac2 (seg040:08c2)")
+set_comment(0x6CBFF, "NE FIXUP -> 0007:3088 (seg040:0e88)")
+set_comment(0x6CC27, "NE FIXUP -> 0007:3001 (seg040:0e01)")
+set_comment(0x6CC62, "NE FIXUP -> 0007:2bc9 (seg040:09c9)")
+set_comment(0x6CC7E, "NE FIXUP -> 0007:2a9b (seg040:089b)")
+set_comment(0x6CCB9, "NE FIXUP -> 0007:3088 (seg040:0e88)")
+set_comment(0x6CCE0, "NE FIXUP -> 0007:3001 (seg040:0e01)")
+set_comment(0x6CD1A, "NE FIXUP -> 0007:2bc9 (seg040:09c9)")
+set_comment(0x6CD62, "NE FIXUP -> 0005:c400 (seg029:0000)")
+set_comment(0x6CD88, "NE FIXUP -> 0005:2686 (seg021:2486)")
+set_comment(0x6CD9C, "NE FIXUP -> 0007:9e0c (seg045:000c)")
+set_comment(0x6CDBE, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0x6CDCF, "NE FIXUP -> 0006:1b4f (seg030:3b4f)")
+set_comment(0x6CDFF, "NE FIXUP -> 0006:1b4f (seg030:3b4f)")
+set_comment(0x6CE27, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x6CE35, "NE FIXUP -> 0007:b0de (seg047:04de)")
+set_comment(0x6CE6F, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x6CE78, "NE FIXUP -> 0007:b02c (seg047:042c)")
+set_comment(0x6CE85, "NE FIXUP -> 0007:b82e (seg048:002e)")
+set_comment(0x6CF15, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x6D006, "NE FIXUP -> 0005:dc74 (seg029:1874)")
+set_comment(0x6D04C, "NE FIXUP -> 0005:cf39 (seg029:0b39)")
+set_comment(0x6D087, "NE FIXUP -> 0005:b498 (seg027:0098)")
+set_comment(0x6D0A0, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x6D0C1, "NE FIXUP -> 0005:b498 (seg027:0098)")
+set_comment(0x6D0DA, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x6D0FD, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x6D11D, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x6D12F, "NE FIXUP -> 0006:4b36 (seg032:0336)")
+set_comment(0x6D147, "NE FIXUP -> 0005:05fa (seg021:03fa)")
+set_comment(0x6D157, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x6D16B, "NE FIXUP -> 0005:05fa (seg021:03fa)")
+set_comment(0x6D17B, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x6D1BB, "NE FIXUP -> 0005:b4ca (seg027:00ca)")
+set_comment(0x6D20C, "NE FIXUP -> 0005:c400 (seg029:0000)")
+set_comment(0x6D222, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x6D234, "NE FIXUP -> 0006:4b36 (seg032:0336)")
+set_comment(0x6D24C, "NE FIXUP -> 0005:05fa (seg021:03fa)")
+set_comment(0x6D25C, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x6D270, "NE FIXUP -> 0005:05fa (seg021:03fa)")
+set_comment(0x6D280, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x6D2BB, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x6D2F6, "NE FIXUP -> 0005:cf39 (seg029:0b39)")
+set_comment(0x6D31E, "NE FIXUP -> 0005:b4ca (seg027:00ca)")
+set_comment(0x6D350, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x6D364, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x6D380, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x6D398, "NE FIXUP -> 0008:ba00 (seg061:0000)")
+set_comment(0x6D3CA, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x6D3DC, "NE FIXUP -> 0008:bbb6 (seg061:01b6)")
+set_comment(0x6D3EE, "NE FIXUP -> 0006:136d (seg030:336d)")
+set_comment(0x6D404, "NE FIXUP -> 0005:3b53 (seg021:3953)")
+set_comment(0x6D42E, "NE FIXUP -> 0005:3b72 (seg021:3972)")
+set_comment(0x6D448, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x6D45C, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x6D471, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x6D485, "NE FIXUP -> 0006:12ec (seg030:32ec)")
+set_comment(0x6D4A3, "NE FIXUP -> 0005:3beb (seg021:39eb)")
+set_comment(0x6D4B8, "NE FIXUP -> 0005:3b34 (seg021:3934)")
+set_comment(0x6D4DC, "NE FIXUP -> 0006:1556 (seg030:3556)")
+set_comment(0x6D4E6, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0x6D4F8, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0x6D52A, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x6D542, "NE FIXUP -> 0008:ba00 (seg061:0000)")
+set_comment(0x6D574, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x6D586, "NE FIXUP -> 0008:bbb6 (seg061:01b6)")
+set_comment(0x6D598, "NE FIXUP -> 0006:1483 (seg030:3483)")
+set_comment(0x6D5AE, "NE FIXUP -> 0005:3b53 (seg021:3953)")
+set_comment(0x6D5D8, "NE FIXUP -> 0005:3b72 (seg021:3972)")
+set_comment(0x6D5F2, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x6D606, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x6D61B, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x6D62F, "NE FIXUP -> 0006:144c (seg030:344c)")
+set_comment(0x6D64D, "NE FIXUP -> 0005:3beb (seg021:39eb)")
+set_comment(0x6D662, "NE FIXUP -> 0005:3b34 (seg021:3934)")
+set_comment(0x6D687, "NE FIXUP -> 0006:1466 (seg030:3466)")
+set_comment(0x6D691, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0x6D6A3, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0x6D715, "NE FIXUP -> 0006:13b0 (seg030:33b0)")
+set_comment(0x6D77D, "NE FIXUP -> 0005:e12f (seg030:012f)")
+set_comment(0x6D7DE, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x6D7E7, "NE FIXUP -> 0006:a8ee (seg036:02ee)")
+set_comment(0x6D823, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x6D82F, "NE FIXUP -> 0007:9b71 (seg044:0771)")
+set_comment(0x6D8E1, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x6D8F5, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x6D90A, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x6E22D, "NE FIXUP -> 0006:1726 (seg030:3726)")
+set_comment(0x6E289, "NE FIXUP -> 0006:1726 (seg030:3726)")
+set_comment(0x6E2CF, "NE FIXUP -> 0006:01dd (seg030:21dd)")
+set_comment(0x6E2F3, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x6E30E, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0x6E34B, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x6E359, "NE FIXUP -> 0008:ccb7 (seg061:12b7)")
+set_comment(0x6E369, "NE FIXUP -> 0008:d27e (seg061:187e)")
+set_comment(0x6E379, "NE FIXUP -> 0008:d3ba (seg061:19ba)")
+set_comment(0x6E387, "NE FIXUP -> 0008:d12a (seg061:172a)")
+set_comment(0x6E3CA, "NE FIXUP -> 0006:1956 (seg030:3956)")
+set_comment(0x6E3E8, "NE FIXUP -> 0005:0fd1 (seg021:0dd1)")
+set_comment(0x6E3FB, "NE FIXUP -> 0006:0b25 (seg030:2b25)")
+set_comment(0x6E410, "NE FIXUP -> 0005:13e7 (seg021:11e7)")
+set_comment(0x6E41C, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x6E429, "NE FIXUP -> 0005:0376 (seg021:0176)")
+set_comment(0x6E436, "NE FIXUP -> 0005:033e (seg021:013e)")
+set_comment(0x6E444, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0x6E453, "NE FIXUP -> 0005:0eee (seg021:0cee)")
+set_comment(0x6E46C, "NE FIXUP -> 0005:1552 (seg021:1352)")
+set_comment(0x6E47D, "NE FIXUP -> 0005:1542 (seg021:1342)")
+set_comment(0x6E48F, "NE FIXUP -> 0006:07f3 (seg030:27f3)")
+set_comment(0x6E4B9, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x6E560, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x6E56D, "NE FIXUP -> 0006:af58 (seg037:0158)")
+set_comment(0x6E59F, "NE FIXUP -> 0005:32a8 (seg021:30a8)")
+set_comment(0x6E60A, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x6E617, "NE FIXUP -> 0006:af58 (seg037:0158)")
+set_comment(0x6E640, "NE FIXUP -> 0005:32a8 (seg021:30a8)")
+set_comment(0x6E692, "NE FIXUP -> 0008:2dc5 (seg053:01c5)")
+set_comment(0x6E6A4, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0x6E6D1, "NE FIXUP -> 0008:2dc5 (seg053:01c5)")
+set_comment(0x6E6FB, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x6E736, "NE FIXUP -> 0006:cd55 (seg038:1755)")
+set_comment(0x6E753, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x6E765, "NE FIXUP -> 0006:4b36 (seg032:0336)")
+set_comment(0x6E77E, "NE FIXUP -> 0005:033e (seg021:013e)")
+set_comment(0x6E78E, "NE FIXUP -> 0005:0376 (seg021:0176)")
+set_comment(0x6E7B5, "NE FIXUP -> 0005:2686 (seg021:2486)")
+set_comment(0x6E7EA, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x6E87C, "NE FIXUP -> 0007:22de (seg040:00de)")
+set_comment(0x6E8A3, "NE FIXUP -> 0008:2dc5 (seg053:01c5)")
+set_comment(0x6E8C7, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0x6E8F2, "NE FIXUP -> 0008:2dc5 (seg053:01c5)")
+set_comment(0x6E921, "NE FIXUP -> 0005:049a (seg021:029a)")
+set_comment(0x6E931, "NE FIXUP -> 0005:04de (seg021:02de)")
+set_comment(0x6E94E, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x6E969, "NE FIXUP -> 0007:505d (seg042:065d)")
+set_comment(0x6E99B, "NE FIXUP -> 000a:3d79 (seg090:0579)")
+set_comment(0x6E9EE, "NE FIXUP -> 000a:3fe5 (seg090:07e5)")
+set_comment(0x6EA00, "NE FIXUP -> 000a:3aa7 (seg090:02a7)")
+set_comment(0x6EA15, "NE FIXUP -> 000a:3ef7 (seg090:06f7)")
+set_comment(0x6EA27, "NE FIXUP -> 000a:3aa7 (seg090:02a7)")
+set_comment(0x6EA55, "NE FIXUP -> 0008:2d15 (seg053:0115)")
+set_comment(0x6EA70, "NE FIXUP -> 0008:311b (seg053:051b)")
+set_comment(0x6EB30, "NE FIXUP -> 0005:ffed (seg030:1fed)")
+set_comment(0x6EB45, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x6EB64, "NE FIXUP -> 000c:747d (seg126:007d)")
+set_comment(0x6EB70, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x6EB7E, "NE FIXUP -> 0005:0376 (seg021:0176)")
+set_comment(0x6EB8C, "NE FIXUP -> 0005:033e (seg021:013e)")
+set_comment(0x6EB95, "NE FIXUP -> 0007:c6ba (seg049:0cba)")
+set_comment(0x6EC54, "NE FIXUP -> 0008:770e (seg059:0d0e)")
+set_comment(0x6EC68, "NE FIXUP -> 0008:770e (seg059:0d0e)")
+set_comment(0x6EC75, "NE FIXUP -> 0005:ffed (seg030:1fed)")
+set_comment(0x6EC99, "NE FIXUP -> 0005:08a5 (seg021:06a5)")
+set_comment(0x6ECA6, "NE FIXUP -> 0006:0044 (seg030:2044)")
+set_comment(0x6ECBC, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x6ECC5, "NE FIXUP -> 0006:a70a (seg036:010a)")
+set_comment(0x6ECE1, "NE FIXUP -> 0006:1556 (seg030:3556)")
+set_comment(0x6ECEB, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0x6ECFD, "NE FIXUP -> 0008:65a8 (seg058:01a8)")
+set_comment(0x6ED11, "NE FIXUP -> 0006:0158 (seg030:2158)")
+set_comment(0x6ED22, "NE FIXUP -> 0006:0192 (seg030:2192)")
+set_comment(0x6ED57, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0x6ED61, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0x6ED70, "NE FIXUP -> 0006:0177 (seg030:2177)")
+set_comment(0x6EDA5, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0x6EDAF, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0x6EDD4, "NE FIXUP -> 0006:1db7 (seg030:3db7)")
+set_comment(0x6EDEB, "NE FIXUP -> 0005:13e7 (seg021:11e7)")
+set_comment(0x6EE02, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0x6EE0F, "NE FIXUP -> 000c:7730 (seg126:0330)")
+set_comment(0x6EE22, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0x6EE34, "NE FIXUP -> 0005:13e7 (seg021:11e7)")
+set_comment(0x6EE4B, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0x6EE58, "NE FIXUP -> 000c:7730 (seg126:0330)")
+set_comment(0x6EE6B, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0x6EE7A, "NE FIXUP -> 0006:14c2 (seg030:34c2)")
+set_comment(0x6EE8D, "NE FIXUP -> 0008:65a8 (seg058:01a8)")
+set_comment(0x6EEAD, "NE FIXUP -> 0008:658a (seg058:018a)")
+set_comment(0x6EEE0, "NE FIXUP -> 0006:0afb (seg030:2afb)")
+set_comment(0x6EEFB, "NE FIXUP -> 0006:1956 (seg030:3956)")
+set_comment(0x6EF11, "NE FIXUP -> 0005:13e7 (seg021:11e7)")
+set_comment(0x6EF1D, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x6EF2A, "NE FIXUP -> 0005:0376 (seg021:0176)")
+set_comment(0x6EF37, "NE FIXUP -> 0005:033e (seg021:013e)")
+set_comment(0x6EF45, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0x6EF57, "NE FIXUP -> 0006:07f3 (seg030:27f3)")
+set_comment(0x6EF63, "NE FIXUP -> 0006:13b0 (seg030:33b0)")
+set_comment(0x6EF76, "NE FIXUP -> 0006:162d (seg030:362d)")
+set_comment(0x6EF8B, "NE FIXUP -> 0006:1956 (seg030:3956)")
+set_comment(0x6EFA6, "NE FIXUP -> 0005:13e7 (seg021:11e7)")
+set_comment(0x6EFBD, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0x6EFCA, "NE FIXUP -> 000c:7730 (seg126:0330)")
+set_comment(0x6EFDD, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0x6EFF7, "NE FIXUP -> 0006:1956 (seg030:3956)")
+set_comment(0x6F012, "NE FIXUP -> 0005:13e7 (seg021:11e7)")
+set_comment(0x6F029, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0x6F036, "NE FIXUP -> 000c:7730 (seg126:0330)")
+set_comment(0x6F049, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0x6F063, "NE FIXUP -> 0006:1956 (seg030:3956)")
+set_comment(0x6F07E, "NE FIXUP -> 0005:13e7 (seg021:11e7)")
+set_comment(0x6F095, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0x6F0A2, "NE FIXUP -> 000c:7730 (seg126:0330)")
+set_comment(0x6F0B5, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0x6F0CF, "NE FIXUP -> 0006:1956 (seg030:3956)")
+set_comment(0x6F0EA, "NE FIXUP -> 0005:13e7 (seg021:11e7)")
+set_comment(0x6F101, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0x6F10E, "NE FIXUP -> 000c:7730 (seg126:0330)")
+set_comment(0x6F121, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0x6F168, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0x6F172, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0x6F17C, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0x6F2EC, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x6F30F, "NE FIXUP -> 0005:e119 (seg030:0119)")
+set_comment(0x6F357, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0x6F3E3, "NE FIXUP -> 0008:39c8 (seg053:0dc8)")
+set_comment(0x6F3F0, "NE FIXUP -> 0008:39b1 (seg053:0db1)")
+set_comment(0x6F3FE, "NE FIXUP -> 0005:04de (seg021:02de)")
+set_comment(0x6F40C, "NE FIXUP -> 0005:049a (seg021:029a)")
+set_comment(0x6F415, "NE FIXUP -> 0005:b5c7 (seg027:01c7)")
+set_comment(0x6F43C, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0x6F476, "NE FIXUP -> 0006:af58 (seg037:0158)")
+set_comment(0x6F4A8, "NE FIXUP -> 0005:32a8 (seg021:30a8)")
+set_comment(0x6F50E, "NE FIXUP -> 0007:9e0c (seg045:000c)")
+set_comment(0x6F559, "NE FIXUP -> 0005:ffed (seg030:1fed)")
+set_comment(0x6F586, "NE FIXUP -> 0006:1726 (seg030:3726)")
+set_comment(0x6F596, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x6F5AD, "NE FIXUP -> 0006:13b0 (seg030:33b0)")
+set_comment(0x6F5D4, "NE FIXUP -> 0008:656c (seg058:016c)")
+set_comment(0x6F5EC, "NE FIXUP -> 0008:656c (seg058:016c)")
+set_comment(0x6F800, "NE FIXUP -> 0005:e12f (seg030:012f)")
+set_comment(0x6F817, "NE FIXUP -> 0006:01dd (seg030:21dd)")
+set_comment(0x6F828, "NE FIXUP -> 0006:01ad (seg030:21ad)")
+set_comment(0x6F850, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x6F881, "NE FIXUP -> 0008:658a (seg058:018a)")
+set_comment(0x6F980, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0x6F9A5, "NE FIXUP -> 0008:65a8 (seg058:01a8)")
+set_comment(0x6FA77, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0x6FAE0, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0x6FB01, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0x6FB22, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0x6FB50, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0x6FB88, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0x6FBAF, "NE FIXUP -> 0006:01dd (seg030:21dd)")
+set_comment(0x6FBC0, "NE FIXUP -> 0006:01ad (seg030:21ad)")
+set_comment(0x6FC21, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0x6FC42, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0x6FC63, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0x6FC84, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0x6FCA5, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0x6FCC6, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0x6FD73, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0x6FD94, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0x6FEDE, "NE FIXUP -> 0005:e119 (seg030:0119)")
+set_comment(0x6FF7C, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x6FF8A, "NE FIXUP -> 0007:b0de (seg047:04de)")
+set_comment(0x6FFC6, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x6FFDC, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x6FFF8, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x7000E, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x70022, "NE FIXUP -> 0005:e119 (seg030:0119)")
+set_comment(0x70036, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x7005B, "NE FIXUP -> 0006:01ad (seg030:21ad)")
+set_comment(0x7006E, "NE FIXUP -> 0006:01dd (seg030:21dd)")
+set_comment(0x7008A, "NE FIXUP -> 0008:7f1d (seg059:151d)")
+set_comment(0x700BA, "NE FIXUP -> 0007:8bd9 (seg043:31d9)")
+set_comment(0x700EB, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x70103, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0x7011B, "NE FIXUP -> 0007:8854 (seg043:2e54)")
+set_comment(0x7013A, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x7015C, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x7016B, "NE FIXUP -> 0008:a3b9 (seg059:39b9)")
+set_comment(0x7017E, "NE FIXUP -> 0008:a3b9 (seg059:39b9)")
+set_comment(0x70191, "NE FIXUP -> 0008:a3b9 (seg059:39b9)")
+set_comment(0x701A4, "NE FIXUP -> 0008:a3b9 (seg059:39b9)")
+set_comment(0x701B7, "NE FIXUP -> 0008:a3b9 (seg059:39b9)")
+set_comment(0x701CA, "NE FIXUP -> 0008:a3b9 (seg059:39b9)")
+set_comment(0x701DD, "NE FIXUP -> 0008:a3b9 (seg059:39b9)")
+set_comment(0x701F0, "NE FIXUP -> 0008:a3b9 (seg059:39b9)")
+set_comment(0x70203, "NE FIXUP -> 0008:a3b9 (seg059:39b9)")
+set_comment(0x70216, "NE FIXUP -> 0008:a3b9 (seg059:39b9)")
+set_comment(0x70229, "NE FIXUP -> 0008:a3b9 (seg059:39b9)")
+set_comment(0x7023C, "NE FIXUP -> 0008:a3b9 (seg059:39b9)")
+set_comment(0x7024F, "NE FIXUP -> 0008:a3b9 (seg059:39b9)")
+set_comment(0x70279, "NE FIXUP -> 0008:664b (seg058:024b)")
+set_comment(0x7028D, "NE FIXUP -> 0005:e12f (seg030:012f)")
+set_comment(0x702A6, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0x702BE, "NE FIXUP -> 0006:01ad (seg030:21ad)")
+set_comment(0x702CF, "NE FIXUP -> 0006:01dd (seg030:21dd)")
+set_comment(0x702E7, "NE FIXUP -> 0005:ff81 (seg030:1f81)")
+set_comment(0x70346, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x70434, "NE FIXUP -> 0006:1726 (seg030:3726)")
+set_comment(0x70491, "NE FIXUP -> 0005:ffed (seg030:1fed)")
+set_comment(0x7055B, "NE FIXUP -> 0005:ffed (seg030:1fed)")
+set_comment(0x70679, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0x706AC, "NE FIXUP -> 000c:8072 (seg126:0c72)")
+set_comment(0x706D0, "NE FIXUP -> 000c:81c0 (seg126:0dc0)")
+set_comment(0x70728, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0x7075F, "NE FIXUP -> 0005:e119 (seg030:0119)")
+set_comment(0x70780, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x70795, "NE FIXUP -> 0006:01ad (seg030:21ad)")
+set_comment(0x707AE, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x707C5, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x707E1, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x707F2, "NE FIXUP -> 0008:7377 (seg059:0977)")
+set_comment(0x70809, "NE FIXUP -> 0008:7f1d (seg059:151d)")
+set_comment(0x70824, "NE FIXUP -> 0006:01ad (seg030:21ad)")
+set_comment(0x7085E, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x7087B, "NE FIXUP -> 0005:e12f (seg030:012f)")
+set_comment(0x708AF, "NE FIXUP -> 0005:e119 (seg030:0119)")
+set_comment(0x708C2, "NE FIXUP -> 0005:ff4d (seg030:1f4d)")
+set_comment(0x708ED, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x708FC, "NE FIXUP -> 0005:e12f (seg030:012f)")
+set_comment(0x7097A, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0x709DD, "NE FIXUP -> 0006:13b0 (seg030:33b0)")
+set_comment(0x70A0D, "NE FIXUP -> 0005:e119 (seg030:0119)")
+set_comment(0x70A60, "NE FIXUP -> 0006:1a17 (seg030:3a17)")
+set_comment(0x70A88, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0x70A9B, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x70AB6, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x70ABF, "NE FIXUP -> 0006:a951 (seg036:0351)")
+set_comment(0x70AD8, "NE FIXUP -> 0005:3b91 (seg021:3991)")
+set_comment(0x70AFF, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x70B14, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x70B30, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x70B39, "NE FIXUP -> 0006:a7ef (seg036:01ef)")
+set_comment(0x70B49, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x70B52, "NE FIXUP -> 0006:a8ce (seg036:02ce)")
+set_comment(0x70B62, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0x70B7C, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x70B97, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x70BC1, "NE FIXUP -> 0006:1aaa (seg030:3aaa)")
+set_comment(0x70BEA, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0x70C23, "NE FIXUP -> 0006:19b9 (seg030:39b9)")
+set_comment(0x70C42, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x70C59, "NE FIXUP -> 0006:1b9b (seg030:3b9b)")
+set_comment(0x70C70, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0x70C86, "NE FIXUP -> 0005:3b91 (seg021:3991)")
+set_comment(0x70C9D, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0x70CC9, "NE FIXUP -> 0008:a3b9 (seg059:39b9)")
+set_comment(0x70CD9, "NE FIXUP -> 0008:a3b9 (seg059:39b9)")
+set_comment(0x70D78, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0x70DB4, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0x70DBE, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0x70DF5, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0x70DFF, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0x70E46, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x70E4F, "NE FIXUP -> 0007:b544 (seg047:0944)")
+set_comment(0x70E73, "NE FIXUP -> 0005:ffed (seg030:1fed)")
+set_comment(0x70E86, "NE FIXUP -> 0005:ff2d (seg030:1f2d)")
+set_comment(0x70E97, "NE FIXUP -> 0006:11a1 (seg030:31a1)")
+set_comment(0x70EAD, "NE FIXUP -> 0007:d4a5 (seg049:1aa5)")
+set_comment(0x70EDA, "NE FIXUP -> 0008:770e (seg059:0d0e)")
+set_comment(0x70EE7, "NE FIXUP -> 0005:ff2d (seg030:1f2d)")
+set_comment(0x70EF8, "NE FIXUP -> 0006:11a1 (seg030:31a1)")
+set_comment(0x70F07, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x70F15, "NE FIXUP -> 0005:0376 (seg021:0176)")
+set_comment(0x70F23, "NE FIXUP -> 0005:033e (seg021:013e)")
+set_comment(0x70F2C, "NE FIXUP -> 0007:c6ba (seg049:0cba)")
+set_comment(0x70F3E, "NE FIXUP -> 000b:2592 (seg108:0b92)")
+set_comment(0x70F61, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x7101C, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x71049, "NE FIXUP -> 0005:42c8 (seg021:40c8)")
+set_comment(0x7105D, "NE FIXUP -> 0005:ff2d (seg030:1f2d)")
+set_comment(0x7106E, "NE FIXUP -> 0006:1305 (seg030:3305)")
+set_comment(0x71082, "NE FIXUP -> 0006:0cfa (seg030:2cfa)")
+set_comment(0x71093, "NE FIXUP -> 0005:fe7e (seg030:1e7e)")
+set_comment(0x710A3, "NE FIXUP -> 0006:1305 (seg030:3305)")
+set_comment(0x710B1, "NE FIXUP -> 0006:0ca4 (seg030:2ca4)")
+set_comment(0x710E4, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x7111B, "NE FIXUP -> 0006:d201 (seg038:1c01)")
+set_comment(0x71139, "NE FIXUP -> 0006:0cfa (seg030:2cfa)")
+set_comment(0x71146, "NE FIXUP -> 0005:ff2d (seg030:1f2d)")
+set_comment(0x7115B, "NE FIXUP -> 0005:fe7e (seg030:1e7e)")
+set_comment(0x7116A, "NE FIXUP -> 0006:1305 (seg030:3305)")
+set_comment(0x7117E, "NE FIXUP -> 0006:0cfa (seg030:2cfa)")
+set_comment(0x7118F, "NE FIXUP -> 0005:fe7e (seg030:1e7e)")
+set_comment(0x71212, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x7122D, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0x7125F, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x71271, "NE FIXUP -> 0008:bbb6 (seg061:01b6)")
+set_comment(0x7128A, "NE FIXUP -> 0008:d27e (seg061:187e)")
+set_comment(0x7129A, "NE FIXUP -> 0008:d3ba (seg061:19ba)")
+set_comment(0x712D0, "NE FIXUP -> 0006:13b0 (seg030:33b0)")
+set_comment(0x712F4, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x71306, "NE FIXUP -> 0006:1a17 (seg030:3a17)")
+set_comment(0x71312, "NE FIXUP -> 0007:516c (seg042:076c)")
+set_comment(0x7132D, "NE FIXUP -> 0003:aaa1 (seg001:34a1)")
+set_comment(0x71336, "NE FIXUP -> 0007:945f (seg044:005f)")
+set_comment(0x71372, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0x713E1, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0x713FC, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x71424, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0x7143F, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x71458, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0x71472, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x7148B, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0x714A5, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x714DD, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x714EC, "NE FIXUP -> 0007:b02c (seg047:042c)")
+set_comment(0x71500, "NE FIXUP -> 0005:0a10 (seg021:0810)")
+set_comment(0x7151A, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0x7152B, "NE FIXUP -> 0005:2745 (seg021:2545)")
+set_comment(0x7157F, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x71593, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x715A8, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x715DF, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x715F3, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x71608, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x72261, "NE FIXUP -> 0004:e7bd (seg018:07bd)")
+set_comment(0x72291, "NE FIXUP -> 0007:be67 (seg049:0467)")
+set_comment(0x7237C, "NE FIXUP -> 0004:e7bd (seg018:07bd)")
+set_comment(0x723C2, "NE FIXUP -> 0008:deea (seg062:04ea)")
+set_comment(0x723CE, "NE FIXUP -> 0008:2edb (seg053:02db)")
+set_comment(0x723E3, "NE FIXUP -> 0008:32ba (seg053:06ba)")
+set_comment(0x72401, "NE FIXUP -> 0005:b498 (seg027:0098)")
+set_comment(0x72458, "NE FIXUP -> 0008:dc38 (seg062:0238)")
+set_comment(0x724AF, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x724CA, "NE FIXUP -> 0008:cefb (seg061:14fb)")
+set_comment(0x724FC, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x72537, "NE FIXUP -> 0006:4b36 (seg032:0336)")
+set_comment(0x72564, "NE FIXUP -> 0008:2d15 (seg053:0115)")
+set_comment(0x7266E, "NE FIXUP -> 0008:2f0f (seg053:030f)")
+set_comment(0x7267F, "NE FIXUP -> 0008:2dc5 (seg053:01c5)")
+set_comment(0x726AF, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x726C3, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x726D8, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x727DC, "NE FIXUP -> 0008:2dc5 (seg053:01c5)")
+set_comment(0x7281E, "NE FIXUP -> 0008:2f0f (seg053:030f)")
+set_comment(0x72851, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0x72876, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0x728A0, "NE FIXUP -> 0008:31b7 (seg053:05b7)")
+set_comment(0x728C4, "NE FIXUP -> 0008:311b (seg053:051b)")
+set_comment(0x728DF, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x728FA, "NE FIXUP -> 0008:cefb (seg061:14fb)")
+set_comment(0x72938, "NE FIXUP -> 0005:c400 (seg029:0000)")
+set_comment(0x72965, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x72A37, "NE FIXUP -> 0008:2dc5 (seg053:01c5)")
+set_comment(0x72A54, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x72A68, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x72A7C, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x72A91, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x72AE2, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x72AFA, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x72B17, "NE FIXUP -> 0005:13e7 (seg021:11e7)")
+set_comment(0x72B50, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x72B5A, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0x72B6B, "NE FIXUP -> 0005:2745 (seg021:2545)")
+set_comment(0x72B93, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0x72BAE, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x72BBC, "NE FIXUP -> 0008:bbb6 (seg061:01b6)")
+set_comment(0x72C64, "NE FIXUP -> 0006:ac2d (seg036:062d)")
+set_comment(0x72D6B, "NE FIXUP -> 0005:2686 (seg021:2486)")
+set_comment(0x72DA9, "NE FIXUP -> 0006:c780 (seg038:1180)")
+set_comment(0x72DD1, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0x72E2C, "NE FIXUP -> 000a:5093 (seg092:0293)")
+set_comment(0x72E43, "NE FIXUP -> 000a:5093 (seg092:0293)")
+set_comment(0x72E71, "NE FIXUP -> 000a:5093 (seg092:0293)")
+set_comment(0x72EE4, "NE FIXUP -> 0005:b4ca (seg027:00ca)")
+set_comment(0x72F6F, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x73092, "NE FIXUP -> 0008:39b1 (seg053:0db1)")
+set_comment(0x730A1, "NE FIXUP -> 0008:39c8 (seg053:0dc8)")
+set_comment(0x73105, "NE FIXUP -> 0005:c477 (seg029:0077)")
+set_comment(0x73145, "NE FIXUP -> 0005:d551 (seg029:1151)")
+set_comment(0x73182, "NE FIXUP -> 0005:cf39 (seg029:0b39)")
+set_comment(0x731C8, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x731E8, "NE FIXUP -> 0005:d63a (seg029:123a)")
+set_comment(0x7320B, "NE FIXUP -> 0008:311b (seg053:051b)")
+set_comment(0x73221, "NE FIXUP -> 0008:2edb (seg053:02db)")
+set_comment(0x73244, "NE FIXUP -> 0008:2f0f (seg053:030f)")
+set_comment(0x73291, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x732D3, "NE FIXUP -> 0005:b4ca (seg027:00ca)")
+set_comment(0x73364, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x7336B, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x73395, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x7339C, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x733C8, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x733CF, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x733FC, "NE FIXUP -> 0005:c477 (seg029:0077)")
+set_comment(0x73458, "NE FIXUP -> 0005:cf39 (seg029:0b39)")
+set_comment(0x734EC, "NE FIXUP -> 0005:2686 (seg021:2486)")
+set_comment(0x7352B, "NE FIXUP -> 0005:b520 (seg027:0120)")
+set_comment(0x73553, "NE FIXUP -> 0006:b86b (seg038:026b)")
+set_comment(0x73584, "NE FIXUP -> 0005:295f (seg021:275f)")
+set_comment(0x7359A, "NE FIXUP -> 0005:32fd (seg021:30fd)")
+set_comment(0x735BB, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x735C3, "NE FIXUP -> 0003:aa3c (seg001:343c)")
+set_comment(0x735CA, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x735D7, "NE FIXUP -> 0006:b86b (seg038:026b)")
+set_comment(0x7362B, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x7363C, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0x73669, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x7367B, "NE FIXUP -> 0006:4b36 (seg032:0336)")
+set_comment(0x736D6, "NE FIXUP -> 0005:033e (seg021:013e)")
+set_comment(0x736E6, "NE FIXUP -> 0005:0376 (seg021:0176)")
+set_comment(0x73765, "NE FIXUP -> 0005:b951 (seg027:0551)")
+set_comment(0x7379A, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x73801, "NE FIXUP -> 0005:0376 (seg021:0176)")
+set_comment(0x7380F, "NE FIXUP -> 0005:033e (seg021:013e)")
+set_comment(0x73823, "NE FIXUP -> 0005:b520 (seg027:0120)")
+set_comment(0x73833, "NE FIXUP -> 0005:0522 (seg021:0322)")
+set_comment(0x73A27, "NE FIXUP -> 0005:b520 (seg027:0120)")
+set_comment(0x73A59, "NE FIXUP -> 0005:0a10 (seg021:0810)")
+set_comment(0x73A73, "NE FIXUP -> 0008:2f0f (seg053:030f)")
+set_comment(0x73A9C, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x73AA3, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x73AD9, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x73AE0, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x73B14, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x73B1B, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x73BB0, "NE FIXUP -> 0006:4b36 (seg032:0336)")
+set_comment(0x73BE9, "NE FIXUP -> 0008:2d15 (seg053:0115)")
+set_comment(0x73C62, "NE FIXUP -> 0005:b951 (seg027:0551)")
+set_comment(0x73D02, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0x73D17, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0x73D3E, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x73D64, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x73DA4, "NE FIXUP -> 0007:4cdf (seg042:02df)")
+set_comment(0x73E30, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x73E47, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x73E74, "NE FIXUP -> 0005:b520 (seg027:0120)")
+set_comment(0x73EDF, "NE FIXUP -> 0005:0a10 (seg021:0810)")
+set_comment(0x73EF9, "NE FIXUP -> 0008:2f0f (seg053:030f)")
+set_comment(0x73F35, "NE FIXUP -> 0005:1552 (seg021:1352)")
+set_comment(0x73F53, "NE FIXUP -> 0005:1538 (seg021:1338)")
+set_comment(0x74016, "NE FIXUP -> 0006:ac2d (seg036:062d)")
+set_comment(0x7404B, "NE FIXUP -> 0006:b19c (seg037:039c)")
+set_comment(0x7406B, "NE FIXUP -> 0007:4cdf (seg042:02df)")
+set_comment(0x74A1F, "NE FIXUP -> 0005:dc74 (seg029:1874)")
+set_comment(0x74A3B, "NE FIXUP -> 0005:13e7 (seg021:11e7)")
+set_comment(0x74A56, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0x74A63, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0x74A74, "NE FIXUP -> 0005:2745 (seg021:2545)")
+set_comment(0x74AB5, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x74AD6, "NE FIXUP -> 0007:9e0c (seg045:000c)")
+set_comment(0x74AE8, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0x74B01, "NE FIXUP -> 0005:ff2d (seg030:1f2d)")
+set_comment(0x74B1B, "NE FIXUP -> 0006:13b0 (seg030:33b0)")
+set_comment(0x74B50, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x74B59, "NE FIXUP -> 0006:a8ee (seg036:02ee)")
+set_comment(0x74BA7, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x74BB5, "NE FIXUP -> 0007:b0de (seg047:04de)")
+set_comment(0x74CB0, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x74D07, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x74D16, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x74D1D, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x74D35, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x74D44, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x74D4B, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x74D60, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x74D6F, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x74D76, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x74D8E, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x74D9D, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x74DA4, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x74DB9, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x74DC8, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x74DCF, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x74E0C, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x74E1B, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x74E22, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x74E45, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x74E4D, "NE FIXUP -> 0003:aa3c (seg001:343c)")
+set_comment(0x74E54, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x74E70, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x74E7C, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x74EA4, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x74EB3, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x74EBA, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x74EEB, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x74EFA, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x74F01, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x74F22, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x74F2E, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x74F53, "NE FIXUP -> 000a:5093 (seg092:0293)")
+set_comment(0x74FA7, "NE FIXUP -> 0007:22de (seg040:00de)")
+set_comment(0x74FB8, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0x75006, "NE FIXUP -> 0005:e119 (seg030:0119)")
+set_comment(0x75076, "NE FIXUP -> 0007:9e0c (seg045:000c)")
+set_comment(0x75083, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0x7509D, "NE FIXUP -> 0006:d705 (seg038:2105)")
+set_comment(0x750AE, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x750BC, "NE FIXUP -> 0007:b0de (seg047:04de)")
+set_comment(0x750FA, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x75103, "NE FIXUP -> 0007:b02c (seg047:042c)")
+set_comment(0x75110, "NE FIXUP -> 0007:b82e (seg048:002e)")
+set_comment(0x75185, "NE FIXUP -> 0007:9e0c (seg045:000c)")
+set_comment(0x75192, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x751A2, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0x751BC, "NE FIXUP -> 0006:d705 (seg038:2105)")
+set_comment(0x751CD, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x751DB, "NE FIXUP -> 0007:b0de (seg047:04de)")
+set_comment(0x75218, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x75221, "NE FIXUP -> 0007:b02c (seg047:042c)")
+set_comment(0x7522D, "NE FIXUP -> 0007:b82e (seg048:002e)")
+set_comment(0x752AB, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x752C1, "NE FIXUP -> 0005:27d0 (seg021:25d0)")
+set_comment(0x752CF, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0x752F0, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0x75302, "NE FIXUP -> 0005:2745 (seg021:2545)")
+set_comment(0x75310, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0x75322, "NE FIXUP -> 0005:2745 (seg021:2545)")
+set_comment(0x75330, "NE FIXUP -> 0005:3bcf (seg021:39cf)")
+set_comment(0x75360, "NE FIXUP -> 0006:ac74 (seg036:0674)")
+set_comment(0x75397, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x753A3, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x753BA, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x753C9, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x753D0, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x753E7, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x753F6, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x753FD, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x75413, "NE FIXUP -> 0005:0522 (seg021:0322)")
+set_comment(0x75422, "NE FIXUP -> 0005:04de (seg021:02de)")
+set_comment(0x75431, "NE FIXUP -> 0005:049a (seg021:029a)")
+set_comment(0x75443, "NE FIXUP -> 0007:22de (seg040:00de)")
+set_comment(0x75460, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0x7546A, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x75492, "NE FIXUP -> 0005:3b34 (seg021:3934)")
+set_comment(0x754EE, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x75516, "NE FIXUP -> 0005:3b34 (seg021:3934)")
+set_comment(0x75533, "NE FIXUP -> 0006:b19c (seg037:039c)")
+set_comment(0x7555B, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0x75579, "NE FIXUP -> 0006:4b36 (seg032:0336)")
+set_comment(0x75591, "NE FIXUP -> 0006:4b36 (seg032:0336)")
+set_comment(0x7561B, "NE FIXUP -> 0005:dc74 (seg029:1874)")
+set_comment(0x75A10, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x75A2B, "NE FIXUP -> 0008:cefb (seg061:14fb)")
+set_comment(0x75A4B, "NE FIXUP -> 0007:9e0c (seg045:000c)")
+set_comment(0x75A78, "NE FIXUP -> 0008:bbb6 (seg061:01b6)")
+set_comment(0x75A89, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x75A97, "NE FIXUP -> 0008:cc01 (seg061:1201)")
+set_comment(0x75B35, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x75B43, "NE FIXUP -> 0007:b0de (seg047:04de)")
+set_comment(0x75BB8, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x75C48, "NE FIXUP -> 0006:02cc (seg030:22cc)")
+set_comment(0x75C8A, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x75CA0, "NE FIXUP -> 0008:ba00 (seg061:0000)")
+set_comment(0x75CCA, "NE FIXUP -> 0005:c400 (seg029:0000)")
+set_comment(0x75CD7, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x75D60, "NE FIXUP -> 0005:05fa (seg021:03fa)")
+set_comment(0x75D70, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x75DB1, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x75E12, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x75E73, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x75ED3, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x75F2A, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0x75FF3, "NE FIXUP -> 0005:c477 (seg029:0077)")
+set_comment(0x76019, "NE FIXUP -> 0005:da2f (seg029:162f)")
+set_comment(0x76064, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x760C7, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x76134, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x761A0, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x76201, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0x76256, "NE FIXUP -> 0005:d63a (seg029:123a)")
+set_comment(0x7626C, "NE FIXUP -> 0005:b498 (seg027:0098)")
+set_comment(0x7638B, "NE FIXUP -> 0005:da2f (seg029:162f)")
+set_comment(0x76399, "NE FIXUP -> 0005:d63a (seg029:123a)")
+set_comment(0x763F9, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x7646D, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x764E1, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x76555, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x765C9, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x7663D, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x766B1, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x76725, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x76799, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x7680D, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x76881, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x768DF, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x768F3, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0x769EB, "NE FIXUP -> 0005:c477 (seg029:0077)")
+set_comment(0x76A11, "NE FIXUP -> 0005:da2f (seg029:162f)")
+set_comment(0x76A3C, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x76AB0, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x76B24, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x76B98, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x76C0C, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x76C80, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x76CF4, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x76D68, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x76DDC, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x76E50, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x76EC4, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x76F22, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x76F36, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0x76FF2, "NE FIXUP -> 0005:d63a (seg029:123a)")
+set_comment(0x77032, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x7704F, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0x7706B, "NE FIXUP -> 0005:ff4d (seg030:1f4d)")
+set_comment(0x77077, "NE FIXUP -> 0006:e499 (seg039:0299)")
+set_comment(0x7709C, "NE FIXUP -> 0006:d705 (seg038:2105)")
+set_comment(0x770E0, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x770FE, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x7710C, "NE FIXUP -> 0007:b0de (seg047:04de)")
+set_comment(0x77160, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x77171, "NE FIXUP -> 0005:ff4d (seg030:1f4d)")
+set_comment(0x77182, "NE FIXUP -> 0006:117b (seg030:317b)")
+set_comment(0x77191, "NE FIXUP -> 0006:11a1 (seg030:31a1)")
+set_comment(0x771A6, "NE FIXUP -> 0006:16ef (seg030:36ef)")
+set_comment(0x7725B, "NE FIXUP -> 0006:1726 (seg030:3726)")
+set_comment(0x77275, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x7729A, "NE FIXUP -> 0005:42c8 (seg021:40c8)")
+set_comment(0x77325, "NE FIXUP -> 0005:c400 (seg029:0000)")
+set_comment(0x77332, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x77360, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x7736F, "NE FIXUP -> 0005:3cf5 (seg021:3af5)")
+set_comment(0x7738F, "NE FIXUP -> 0005:ff0e (seg030:1f0e)")
+set_comment(0x773A3, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x773F5, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x77422, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x77441, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x7746A, "NE FIXUP -> 0005:42c8 (seg021:40c8)")
+set_comment(0x774C2, "NE FIXUP -> 0007:b02c (seg047:042c)")
+set_comment(0x7754A, "NE FIXUP -> 0007:b02c (seg047:042c)")
+set_comment(0x77613, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x77644, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0x7766A, "NE FIXUP -> 0005:42c8 (seg021:40c8)")
+set_comment(0x7769F, "NE FIXUP -> 0007:b02c (seg047:042c)")
+set_comment(0x77724, "NE FIXUP -> 0008:7f1d (seg059:151d)")
+set_comment(0x77734, "NE FIXUP -> 0008:7ff2 (seg059:15f2)")
+set_comment(0x77796, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x777E4, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x77823, "NE FIXUP -> 0007:b02c (seg047:042c)")
+set_comment(0x77891, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x778A7, "NE FIXUP -> 0005:05fa (seg021:03fa)")
+set_comment(0x778B7, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x778CE, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0x778DF, "NE FIXUP -> 0005:2745 (seg021:2545)")
+set_comment(0x778EE, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0x778FF, "NE FIXUP -> 0005:2745 (seg021:2545)")
+set_comment(0x779D6, "NE FIXUP -> 0005:ff2d (seg030:1f2d)")
+set_comment(0x77A2D, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x77A3C, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x77A58, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x77A67, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x77AE3, "NE FIXUP -> 0005:c477 (seg029:0077)")
+set_comment(0x77B2C, "NE FIXUP -> 0005:da2f (seg029:162f)")
+set_comment(0x77B85, "NE FIXUP -> 0005:da2f (seg029:162f)")
+set_comment(0x77C1D, "NE FIXUP -> 0005:cf39 (seg029:0b39)")
+set_comment(0x77CB8, "NE FIXUP -> 0005:cf39 (seg029:0b39)")
+set_comment(0x77D7B, "NE FIXUP -> 0005:1a41 (seg021:1841)")
+set_comment(0x77DA9, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x77DFF, "NE FIXUP -> 0005:1a41 (seg021:1841)")
+set_comment(0x77E27, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x77E46, "NE FIXUP -> 0005:05fa (seg021:03fa)")
+set_comment(0x77E56, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x77E9B, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x77EF0, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x77F41, "NE FIXUP -> 0005:cf39 (seg029:0b39)")
+set_comment(0x77FD5, "NE FIXUP -> 0005:cf39 (seg029:0b39)")
+set_comment(0x77FF8, "NE FIXUP -> 0005:2b70 (seg021:2970)")
+set_comment(0x78006, "NE FIXUP -> 0005:d63a (seg029:123a)")
+set_comment(0x78032, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x7805E, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x78090, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x780DE, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x7810B, "NE FIXUP -> 0005:0a10 (seg021:0810)")
+set_comment(0x78134, "NE FIXUP -> 0005:3b91 (seg021:3991)")
+set_comment(0x7814E, "NE FIXUP -> 0005:2d01 (seg021:2b01)")
+set_comment(0x78173, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x78191, "NE FIXUP -> 0007:95f0 (seg044:01f0)")
+set_comment(0x781B6, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x781EC, "NE FIXUP -> 0003:aaa1 (seg001:34a1)")
+set_comment(0x781F8, "NE FIXUP -> 0007:945f (seg044:005f)")
+set_comment(0x78214, "NE FIXUP -> 0005:3b91 (seg021:3991)")
+set_comment(0x7822E, "NE FIXUP -> 0005:2d01 (seg021:2b01)")
+set_comment(0x78253, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x78271, "NE FIXUP -> 0007:95f0 (seg044:01f0)")
+set_comment(0x78296, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x782CC, "NE FIXUP -> 0003:aaa1 (seg001:34a1)")
+set_comment(0x782D8, "NE FIXUP -> 0007:945f (seg044:005f)")
+set_comment(0x782FD, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x78345, "NE FIXUP -> 0008:5b77 (seg057:0177)")
+set_comment(0x7835D, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0x78374, "NE FIXUP -> 0008:cfab (seg061:15ab)")
+set_comment(0x78384, "NE FIXUP -> 0008:5c49 (seg057:0249)")
+set_comment(0x783E7, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x78411, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x78441, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x784B8, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x784DC, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x784FE, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x78585, "NE FIXUP -> 0006:1726 (seg030:3726)")
+set_comment(0x78599, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x785AD, "NE FIXUP -> 0005:0322 (seg021:0122)")
+set_comment(0x78666, "NE FIXUP -> 0006:16ef (seg030:36ef)")
+set_comment(0x7867D, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0x7868E, "NE FIXUP -> 0005:2745 (seg021:2545)")
+set_comment(0x7869D, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0x786AE, "NE FIXUP -> 0005:2745 (seg021:2545)")
+set_comment(0x78741, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0x7875B, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x7878A, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0x787BB, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x787DA, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0x7881B, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x7884A, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0x7889C, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x788F3, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x78919, "NE FIXUP -> 0006:e499 (seg039:0299)")
+set_comment(0x789A0, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x789B0, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x789C2, "NE FIXUP -> 0006:4b36 (seg032:0336)")
+set_comment(0x78A3F, "NE FIXUP -> 0007:4600 (seg041:0000)")
+set_comment(0x78A81, "NE FIXUP -> 0007:478e (seg041:018e)")
+set_comment(0x78AAD, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x78ADB, "NE FIXUP -> 0004:3c72 (seg008:0072)")
+set_comment(0x78B02, "NE FIXUP -> 0004:3c72 (seg008:0072)")
+set_comment(0x78B22, "NE FIXUP -> 0004:3c72 (seg008:0072)")
+set_comment(0x78B62, "NE FIXUP -> 0006:1726 (seg030:3726)")
+set_comment(0x78B9F, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0x78BC9, "NE FIXUP -> 0004:4ea6 (seg008:12a6)")
+set_comment(0x78C08, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x78CAE, "NE FIXUP -> 0006:16ef (seg030:36ef)")
+set_comment(0x78CEA, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x78CFE, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x78D13, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x78D38, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x78D4C, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x78D61, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x79416, "NE FIXUP -> 0005:13e7 (seg021:11e7)")
+set_comment(0x79427, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0x79438, "NE FIXUP -> 0005:2745 (seg021:2545)")
+set_comment(0x7944E, "NE FIXUP -> 0005:1528 (seg021:1328)")
+set_comment(0x79478, "NE FIXUP -> 0006:1726 (seg030:3726)")
+set_comment(0x79485, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x79492, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x794A4, "NE FIXUP -> 0006:13e4 (seg030:33e4)")
+set_comment(0x794B5, "NE FIXUP -> 0006:1726 (seg030:3726)")
+set_comment(0x794C7, "NE FIXUP -> 0006:13e4 (seg030:33e4)")
+set_comment(0x794DF, "NE FIXUP -> 0006:13b0 (seg030:33b0)")
+set_comment(0x79509, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x79512, "NE FIXUP -> 0006:ab28 (seg036:0528)")
+set_comment(0x79575, "NE FIXUP -> 0007:1202 (seg039:3002)")
+set_comment(0x79587, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x795B9, "NE FIXUP -> 0006:c7da (seg038:11da)")
+set_comment(0x795C6, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x795CF, "NE FIXUP -> 0006:a7cf (seg036:01cf)")
+set_comment(0x795E6, "NE FIXUP -> 0005:3b91 (seg021:3991)")
+set_comment(0x79609, "NE FIXUP -> 0006:1726 (seg030:3726)")
+set_comment(0x79620, "NE FIXUP -> 0006:50c2 (seg033:00c2)")
+set_comment(0x79631, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x7964F, "NE FIXUP -> 0006:0cfa (seg030:2cfa)")
+set_comment(0x79660, "NE FIXUP -> 0006:0cfa (seg030:2cfa)")
+set_comment(0x7966F, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x7969A, "NE FIXUP -> 0007:5259 (seg042:0859)")
+set_comment(0x796A7, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0x796B8, "NE FIXUP -> 0005:2745 (seg021:2545)")
+set_comment(0x796C5, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0x796D6, "NE FIXUP -> 0005:2745 (seg021:2545)")
+set_comment(0x796E0, "NE FIXUP -> 0004:5aa1 (seg010:00a1)")
+set_comment(0x7970D, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x79719, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x7973F, "NE FIXUP -> 0005:3beb (seg021:39eb)")
+set_comment(0x79771, "NE FIXUP -> 0005:3b34 (seg021:3934)")
+set_comment(0x79780, "NE FIXUP -> 0003:ad75 (seg001:3775)")
+set_comment(0x7978F, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x79796, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x797BC, "NE FIXUP -> 0005:3beb (seg021:39eb)")
+set_comment(0x797EB, "NE FIXUP -> 0005:3b34 (seg021:3934)")
+set_comment(0x7980A, "NE FIXUP -> 0007:9e0c (seg045:000c)")
+set_comment(0x79818, "NE FIXUP -> 0007:992f (seg044:052f)")
+set_comment(0x79835, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x79843, "NE FIXUP -> 0009:4742 (seg073:0142)")
+set_comment(0x7984E, "NE FIXUP -> 0007:99b7 (seg044:05b7)")
+set_comment(0x7986D, "NE FIXUP -> 0007:b0de (seg047:04de)")
+set_comment(0x798C3, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x798E1, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x79908, "NE FIXUP -> 0009:48a8 (seg073:02a8)")
+set_comment(0x79925, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x7994E, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x799AD, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0x79A39, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x79A4E, "NE FIXUP -> 0007:9e0c (seg045:000c)")
+set_comment(0x79A8E, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x79AB7, "NE FIXUP -> 0007:b0de (seg047:04de)")
+set_comment(0x79B93, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0x79BA6, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x79E00, "NE FIXUP -> 0007:ac13 (seg047:0013)")
+set_comment(0x79E06, "NE FIXUP -> 0007:ac80 (seg047:0080)")
+set_comment(0x79E1A, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x79E4A, "NE FIXUP -> 0007:9fd2 (seg045:01d2)")
+set_comment(0x79E66, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x79E74, "NE FIXUP -> 0007:9eaa (seg045:00aa)")
+set_comment(0x79E7F, "NE FIXUP -> 0009:a229 (seg082:0029)")
+set_comment(0x79EA0, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x79F91, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x79FC8, "NE FIXUP -> 0007:b813 (seg048:0013)")
+set_comment(0x79FE8, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x7A20F, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x7A231, "NE FIXUP -> 0009:1c3a (seg070:003a)")
+set_comment(0x7A252, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x7A2AD, "NE FIXUP -> 0009:1d1b (seg070:011b)")
+set_comment(0x7A2E1, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x7A2F9, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x7A310, "NE FIXUP -> 0007:9baf (seg044:07af)")
+set_comment(0x7A386, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x7A394, "NE FIXUP -> 0007:9e41 (seg045:0041)")
+set_comment(0x7A3DF, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x7A3F8, "NE FIXUP -> 0007:9baf (seg044:07af)")
+set_comment(0x7A44C, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x7A45A, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0x7A4DE, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x7A50C, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x7A556, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0x7A564, "NE FIXUP -> 0007:9baf (seg044:07af)")
+set_comment(0x7A571, "NE FIXUP -> 0007:9e0c (seg045:000c)")
+set_comment(0x7A5A8, "NE FIXUP -> 0009:392e (seg072:032e)")
+set_comment(0x7A5D3, "NE FIXUP -> 0009:1d6a (seg070:016a)")
+set_comment(0x7A5F3, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x7A625, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x7A634, "NE FIXUP -> 0009:1d6a (seg070:016a)")
+set_comment(0x7A665, "NE FIXUP -> 0007:9bc2 (seg044:07c2)")
+set_comment(0x7A6D1, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x7A6E8, "NE FIXUP -> 0007:9e41 (seg045:0041)")
+set_comment(0x7A6F9, "NE FIXUP -> 0007:9eaa (seg045:00aa)")
+set_comment(0x7A710, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x7A76A, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0x7A77F, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0x7A797, "NE FIXUP -> 0009:22fc (seg070:06fc)")
+set_comment(0x7A7A5, "NE FIXUP -> 0009:2562 (seg070:0962)")
+set_comment(0x7A7B2, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x7A7BF, "NE FIXUP -> 0003:b64d (seg001:404d)")
+set_comment(0x7A7CD, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x7A7E9, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0x7A7F6, "NE FIXUP -> 0007:9fd2 (seg045:01d2)")
+set_comment(0x7A803, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x7A833, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x7A85A, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x7A888, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x7A8AF, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x7A8CC, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0x7A8E0, "NE FIXUP -> 0007:9baf (seg044:07af)")
+set_comment(0x7A909, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x7A928, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x7A963, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x7A98B, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x7A9D0, "NE FIXUP -> 0009:1c8f (seg070:008f)")
+set_comment(0x7AC2C, "NE FIXUP -> 0009:a229 (seg082:0029)")
+set_comment(0x7AC75, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x7AC96, "NE FIXUP -> 0009:a24f (seg082:004f)")
+set_comment(0x7ACF1, "NE FIXUP -> 0007:9fd2 (seg045:01d2)")
+set_comment(0x7ACFF, "NE FIXUP -> 0009:a24f (seg082:004f)")
+set_comment(0x7AD82, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x7AD98, "NE FIXUP -> 0007:9baf (seg044:07af)")
+set_comment(0x7ADBF, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x7AE06, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x7AE2B, "NE FIXUP -> 0007:a815 (seg046:0615)")
+set_comment(0x7AE3F, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x7AE8D, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x7AEA7, "NE FIXUP -> 0007:9e0c (seg045:000c)")
+set_comment(0x7AEDD, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x7AF3C, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x7AF4A, "NE FIXUP -> 0007:9e41 (seg045:0041)")
+set_comment(0x7AF5C, "NE FIXUP -> 0007:9eaa (seg045:00aa)")
+set_comment(0x7AF75, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x7AFC7, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x7B03F, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x7B09D, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x7B0B3, "NE FIXUP -> 0007:9f06 (seg045:0106)")
+set_comment(0x7B0C3, "NE FIXUP -> 0007:b813 (seg048:0013)")
+set_comment(0x7B0D4, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x7B307, "NE FIXUP -> 0007:9e0c (seg045:000c)")
+set_comment(0x7B488, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x7B4C2, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x7B4D0, "NE FIXUP -> 0009:1d6a (seg070:016a)")
+set_comment(0x7B4DD, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x7B502, "NE FIXUP -> 0007:9baf (seg044:07af)")
+set_comment(0x7B52E, "NE FIXUP -> 0007:a815 (seg046:0615)")
+set_comment(0x7B59E, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0x7B5AB, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x7BA54, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x7BA6A, "NE FIXUP -> 000a:8627 (seg097:0827)")
+set_comment(0x7BA89, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x7BAC0, "NE FIXUP -> 0008:0319 (seg051:1919)")
+set_comment(0x7BAE0, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0x7BB1F, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0x7BB44, "NE FIXUP -> 000a:31b4 (seg088:03b4)")
+set_comment(0x7BB69, "NE FIXUP -> 000a:31b4 (seg088:03b4)")
+set_comment(0x7BB8D, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0x7BBC2, "NE FIXUP -> 000d:cdd0 (seg139:01d0)")
+set_comment(0x7BBD4, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0x7BBEA, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x7BC00, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x7BC16, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x7BC2C, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x7BC42, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x7BC58, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x7BC6E, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x7BC84, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x7BC9A, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x7BCB0, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x7BCC6, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x7BCDC, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x7BCF2, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x7BD08, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x7BD29, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0x7BD3F, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x7BD55, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x7BD6B, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x7BD81, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x7BD97, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x7BDAD, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x7BDC3, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x7BDD9, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x7BDEF, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x7BE05, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x7BE1B, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x7BE31, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x7BE47, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x7BE5D, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x7BEBF, "NE FIXUP -> 0007:f871 (seg051:0e71)")
+set_comment(0x7C126, "NE FIXUP -> 0008:1dd5 (seg052:13d5)")
+set_comment(0x7C174, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x7C1BC, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x7C1FF, "NE FIXUP -> 0005:5000 (seg022:0000)")
+set_comment(0x7C274, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x7C2DD, "NE FIXUP -> 0005:5000 (seg022:0000)")
+set_comment(0x7C47E, "NE FIXUP -> 0007:eada (seg051:00da)")
+set_comment(0x7C549, "NE FIXUP -> 0008:135d (seg052:095d)")
+set_comment(0x7C58A, "NE FIXUP -> 0005:2772 (seg021:2572)")
+set_comment(0x7C593, "NE FIXUP -> 0007:ef9f (seg051:059f)")
+set_comment(0x7C59C, "NE FIXUP -> 0007:f09c (seg051:069c)")
+set_comment(0x7C5B1, "NE FIXUP -> 0005:278b (seg021:258b)")
+set_comment(0x7C5BA, "NE FIXUP -> 0007:efca (seg051:05ca)")
+set_comment(0x7C5C6, "NE FIXUP -> 0007:eb12 (seg051:0112)")
+set_comment(0x7C5D4, "NE FIXUP -> 0007:eb12 (seg051:0112)")
+set_comment(0x7C5E4, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x7C686, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x7C6D7, "NE FIXUP -> 000a:8a55 (seg097:0c55)")
+set_comment(0x7C709, "NE FIXUP -> 0005:63dd (seg022:13dd)")
+set_comment(0x7C756, "NE FIXUP -> 0008:0319 (seg051:1919)")
+set_comment(0x7C858, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x7C8AC, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x7C9AA, "NE FIXUP -> 0007:efca (seg051:05ca)")
+set_comment(0x7C9C0, "NE FIXUP -> 0008:17cb (seg052:0dcb)")
+set_comment(0x7C9CC, "NE FIXUP -> 0007:eb12 (seg051:0112)")
+set_comment(0x7C9D7, "NE FIXUP -> 0007:f848 (seg051:0e48)")
+set_comment(0x7CB7F, "NE FIXUP -> 0007:f336 (seg051:0936)")
+set_comment(0x7CBAD, "NE FIXUP -> 0005:278b (seg021:258b)")
+set_comment(0x7CBB6, "NE FIXUP -> 0007:efca (seg051:05ca)")
+set_comment(0x7CBC2, "NE FIXUP -> 0007:eb12 (seg051:0112)")
+set_comment(0x7CCE8, "NE FIXUP -> 000d:d409 (seg139:0809)")
+set_comment(0x7CD7C, "NE FIXUP -> 0008:1dd5 (seg052:13d5)")
+set_comment(0x7CD81, "NE FIXUP -> 0008:2290 (seg052:1890)")
+set_comment(0x7CD9E, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0x7CDF5, "NE FIXUP -> 0007:f9e2 (seg051:0fe2)")
+set_comment(0x7CE1A, "NE FIXUP -> 0009:8e38 (seg080:0238)")
+set_comment(0x7CE70, "NE FIXUP -> 0007:eca8 (seg051:02a8)")
+set_comment(0x7CEB0, "NE FIXUP -> 0004:7e14 (seg012:0814)")
+set_comment(0x7CEEA, "NE FIXUP -> 000a:b19a (seg101:0d9a)")
+set_comment(0x7CF1F, "NE FIXUP -> 000a:87fd (seg097:09fd)")
+set_comment(0x7CF4D, "NE FIXUP -> 0004:e7bd (seg018:07bd)")
+set_comment(0x7CF79, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0x7CF9B, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0x7CFBF, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0x7CFE5, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0x7D038, "NE FIXUP -> 0004:e7bd (seg018:07bd)")
+set_comment(0x7D066, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0x7D08C, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0x7D0C4, "NE FIXUP -> 0008:7da4 (seg059:13a4)")
+set_comment(0x7D0D8, "NE FIXUP -> 0004:f321 (seg019:0921)")
+set_comment(0x7D0E0, "NE FIXUP -> 0008:7e5c (seg059:145c)")
+set_comment(0x7D156, "NE FIXUP -> 0004:38a5 (seg007:02a5)")
+set_comment(0x7D16A, "NE FIXUP -> 0008:1dd5 (seg052:13d5)")
+set_comment(0x7D16F, "NE FIXUP -> 0008:002b (seg051:162b)")
+set_comment(0x7D19F, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0x7D203, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0x7D26F, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0x7D2D7, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0x7D33F, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0x7D379, "NE FIXUP -> 0004:38b2 (seg007:02b2)")
+set_comment(0x7D3B5, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x7D3C7, "NE FIXUP -> 0008:1dd5 (seg052:13d5)")
+set_comment(0x7D3CC, "NE FIXUP -> 0008:2290 (seg052:1890)")
+set_comment(0x7D3D1, "NE FIXUP -> 0008:23e5 (seg052:19e5)")
+set_comment(0x7D3D6, "NE FIXUP -> 0008:3404 (seg053:0804)")
+set_comment(0x7D3DB, "NE FIXUP -> 0008:4392 (seg055:0192)")
+set_comment(0x7D3E0, "NE FIXUP -> 0007:df0f (seg050:010f)")
+set_comment(0x7D3F1, "NE FIXUP -> 000a:8742 (seg097:0942)")
+set_comment(0x7D409, "NE FIXUP -> 000a:2bd1 (seg087:03d1)")
+set_comment(0x7D43E, "NE FIXUP -> 0004:e7bd (seg018:07bd)")
+set_comment(0x7D46F, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0x7D48C, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0x7D494, "NE FIXUP -> 0007:e194 (seg050:0394)")
+set_comment(0x7D499, "NE FIXUP -> 0008:4aaa (seg055:08aa)")
+set_comment(0x7D49E, "NE FIXUP -> 0008:3916 (seg053:0d16)")
+set_comment(0x7D537, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x7D5A7, "NE FIXUP -> 0005:c400 (seg029:0000)")
+set_comment(0x7D5B9, "NE FIXUP -> 0005:05fa (seg021:03fa)")
+set_comment(0x7D5CA, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x7D5DF, "NE FIXUP -> 0005:05fa (seg021:03fa)")
+set_comment(0x7D60D, "NE FIXUP -> 0005:cf39 (seg029:0b39)")
+set_comment(0x7D62F, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0x7D64A, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0x7D6BE, "NE FIXUP -> 0008:1dd5 (seg052:13d5)")
+set_comment(0x7D6FD, "NE FIXUP -> 0004:e7bd (seg018:07bd)")
+set_comment(0x7D73D, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0x7D76E, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0x7D7A6, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0x7D7BF, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0x7D800, "NE FIXUP -> 0008:17cb (seg052:0dcb)")
+set_comment(0x7D81E, "NE FIXUP -> 000a:86ad (seg097:08ad)")
+set_comment(0x7D830, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x7DE0C, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x7DE22, "NE FIXUP -> 0008:ba00 (seg061:0000)")
+set_comment(0x7DE47, "NE FIXUP -> 0008:ccb7 (seg061:12b7)")
+set_comment(0x7DEB1, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x7DED5, "NE FIXUP -> 0009:8c93 (seg080:0093)")
+set_comment(0x7DF30, "NE FIXUP -> 000a:9748 (seg099:0148)")
+set_comment(0x7DF3F, "NE FIXUP -> 000a:9748 (seg099:0148)")
+set_comment(0x7DFCF, "NE FIXUP -> 0009:80db (seg078:02db)")
+set_comment(0x7DFF9, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0x7E057, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0x7E094, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0x7E0CC, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0x7E0FB, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0x7E11F, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0x7E157, "NE FIXUP -> 000a:87fd (seg097:09fd)")
+set_comment(0x7E179, "NE FIXUP -> 000a:2e00 (seg088:0000)")
+set_comment(0x7E188, "NE FIXUP -> 000a:2e00 (seg088:0000)")
+set_comment(0x7E1F1, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0x7E261, "NE FIXUP -> 000a:87fd (seg097:09fd)")
+set_comment(0x7E27A, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x7E307, "NE FIXUP -> 0005:0eaa (seg021:0caa)")
+set_comment(0x7E395, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x7E408, "NE FIXUP -> 000a:e842 (seg104:0242)")
+set_comment(0x7E418, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x7E424, "NE FIXUP -> 000a:9748 (seg099:0148)")
+set_comment(0x7E43D, "NE FIXUP -> 000a:30aa (seg088:02aa)")
+set_comment(0x7E4BD, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x7E4CF, "NE FIXUP -> 0005:0eaa (seg021:0caa)")
+set_comment(0x7E4F2, "NE FIXUP -> 000a:2e00 (seg088:0000)")
+set_comment(0x7E524, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x7E569, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x7E583, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0x7E5A8, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x7E5D9, "NE FIXUP -> 0005:11c4 (seg021:0fc4)")
+set_comment(0x7E5FC, "NE FIXUP -> 0006:a90e (seg036:030e)")
+set_comment(0x7E618, "NE FIXUP -> 0006:a92e (seg036:032e)")
+set_comment(0x7E632, "NE FIXUP -> 0005:11c4 (seg021:0fc4)")
+set_comment(0x7E655, "NE FIXUP -> 0006:a840 (seg036:0240)")
+set_comment(0x7E671, "NE FIXUP -> 0006:a8ab (seg036:02ab)")
+set_comment(0x7E68B, "NE FIXUP -> 0005:11c4 (seg021:0fc4)")
+set_comment(0x7E6AE, "NE FIXUP -> 0006:a9a4 (seg036:03a4)")
+set_comment(0x7E6CA, "NE FIXUP -> 0006:a9c3 (seg036:03c3)")
+set_comment(0x7E6E4, "NE FIXUP -> 0005:11c4 (seg021:0fc4)")
+set_comment(0x7E707, "NE FIXUP -> 0006:aa55 (seg036:0455)")
+set_comment(0x7E723, "NE FIXUP -> 0006:aa74 (seg036:0474)")
+set_comment(0x7E73F, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x7E75E, "NE FIXUP -> 0003:b8e2 (seg001:42e2)")
+set_comment(0x7E793, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x7E7A7, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x7E7B9, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x7EB42, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x7EB60, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x7EBC1, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x7EEDB, "NE FIXUP -> 0009:8e38 (seg080:0238)")
+set_comment(0x7F0DA, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x7F2F3, "NE FIXUP -> 0008:0a00 (seg052:0000)")
+set_comment(0x7F379, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x7F611, "NE FIXUP -> 0008:0a00 (seg052:0000)")
+set_comment(0x7F747, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x7F75C, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x7F79D, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x7F7C4, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x7F7FA, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x7F818, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x7F8BA, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x80043, "NE FIXUP -> 0008:2290 (seg052:1890)")
+set_comment(0x8004B, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x80067, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x8009A, "NE FIXUP -> 0008:2290 (seg052:1890)")
+set_comment(0x8010C, "NE FIXUP -> 0004:b387 (seg015:0187)")
+set_comment(0x80133, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x80146, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x80154, "NE FIXUP -> 0005:0a10 (seg021:0810)")
+set_comment(0x80164, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0x80185, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x801A1, "NE FIXUP -> 0005:0a10 (seg021:0810)")
+set_comment(0x801E2, "NE FIXUP -> 0005:0a10 (seg021:0810)")
+set_comment(0x801F2, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0x8020E, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x8022D, "NE FIXUP -> 0005:0a10 (seg021:0810)")
+set_comment(0x8023D, "NE FIXUP -> 0005:2ae2 (seg021:28e2)")
+set_comment(0x8024D, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0x8026E, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0x8028F, "NE FIXUP -> 0005:0a10 (seg021:0810)")
+set_comment(0x802E4, "NE FIXUP -> 0005:0a10 (seg021:0810)")
+set_comment(0x80301, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x804E8, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x80506, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x80567, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x806F2, "NE FIXUP -> 0009:8e0a (seg080:020a)")
+set_comment(0x80D45, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0x80D57, "NE FIXUP -> 0004:c055 (seg015:0e55)")
+set_comment(0x80DD4, "NE FIXUP -> 0009:9e6d (seg081:006d)")
+set_comment(0x80E38, "NE FIXUP -> 0009:9e75 (seg081:0075)")
+set_comment(0x80E7A, "NE FIXUP -> 0009:9e65 (seg081:0065)")
+set_comment(0x80ED3, "NE FIXUP -> 0009:9e69 (seg081:0069)")
+set_comment(0x80F37, "NE FIXUP -> 0009:9e71 (seg081:0071)")
+set_comment(0x80F78, "NE FIXUP -> 0009:9e61 (seg081:0061)")
+set_comment(0x80F98, "NE FIXUP -> 0005:ff2d (seg030:1f2d)")
+set_comment(0x80FA8, "NE FIXUP -> 0006:1726 (seg030:3726)")
+set_comment(0x80FD5, "NE FIXUP -> 0006:13b0 (seg030:33b0)")
+set_comment(0x80FFF, "NE FIXUP -> 0006:1726 (seg030:3726)")
+set_comment(0x8100D, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x81016, "NE FIXUP -> 0007:9b38 (seg044:0738)")
+set_comment(0x81051, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x8105F, "NE FIXUP -> 0006:1726 (seg030:3726)")
+set_comment(0x8106D, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x81076, "NE FIXUP -> 0007:9a43 (seg044:0643)")
+set_comment(0x81095, "NE FIXUP -> 0004:c055 (seg015:0e55)")
+set_comment(0x810E6, "NE FIXUP -> 0009:9e61 (seg081:0061)")
+set_comment(0x81203, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0x81223, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0x8123A, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0x81265, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0x8128C, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0x812B4, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0x812DC, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0x81319, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0x81351, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0x81557, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0x81573, "NE FIXUP -> 0004:c055 (seg015:0e55)")
+set_comment(0x81598, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0x815B4, "NE FIXUP -> 0004:b424 (seg015:0224)")
+set_comment(0x81632, "NE FIXUP -> 0005:ff2d (seg030:1f2d)")
+set_comment(0x81642, "NE FIXUP -> 0006:1726 (seg030:3726)")
+set_comment(0x81660, "NE FIXUP -> 0006:13b0 (seg030:33b0)")
+set_comment(0x81689, "NE FIXUP -> 0006:1726 (seg030:3726)")
+set_comment(0x81697, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x816A0, "NE FIXUP -> 0007:9b38 (seg044:0738)")
+set_comment(0x816DA, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0x816E7, "NE FIXUP -> 0006:1726 (seg030:3726)")
+set_comment(0x816F5, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x816FE, "NE FIXUP -> 0007:9a43 (seg044:0643)")
+set_comment(0x81725, "NE FIXUP -> 0004:b424 (seg015:0224)")
+set_comment(0x817C2, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x817ED, "NE FIXUP -> 0005:278b (seg021:258b)")
+set_comment(0x81B5A, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x81BF4, "NE FIXUP -> 0007:f82a (seg051:0e2a)")
+set_comment(0x81C37, "NE FIXUP -> 0007:ea00 (seg051:0000)")
+set_comment(0x81C6E, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0x81CAD, "NE FIXUP -> 000a:87fd (seg097:09fd)")
+set_comment(0x81D4D, "NE FIXUP -> 0007:ea6d (seg051:006d)")
+set_comment(0x81D84, "NE FIXUP -> 0007:ea6d (seg051:006d)")
+set_comment(0x81DB2, "NE FIXUP -> 0005:278b (seg021:258b)")
+set_comment(0x81E8E, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x81E95, "NE FIXUP -> 0007:eada (seg051:00da)")
+set_comment(0x81FB4, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x82087, "NE FIXUP -> 000a:87fd (seg097:09fd)")
+set_comment(0x82096, "NE FIXUP -> 0005:2772 (seg021:2572)")
+set_comment(0x8209F, "NE FIXUP -> 0007:ef9f (seg051:059f)")
+set_comment(0x820A8, "NE FIXUP -> 0007:f09c (seg051:069c)")
+set_comment(0x820BD, "NE FIXUP -> 0005:278b (seg021:258b)")
+set_comment(0x820C6, "NE FIXUP -> 0007:efca (seg051:05ca)")
+set_comment(0x820D2, "NE FIXUP -> 0007:eb12 (seg051:0112)")
+set_comment(0x82106, "NE FIXUP -> 0007:f9e2 (seg051:0fe2)")
+set_comment(0x82149, "NE FIXUP -> 0007:ea00 (seg051:0000)")
+set_comment(0x82161, "NE FIXUP -> 0007:ea6d (seg051:006d)")
+set_comment(0x82211, "NE FIXUP -> 0009:7f04 (seg078:0104)")
+set_comment(0x82241, "NE FIXUP -> 0007:ea6d (seg051:006d)")
+set_comment(0x8226F, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x8227F, "NE FIXUP -> 0007:eb12 (seg051:0112)")
+set_comment(0x822C1, "NE FIXUP -> 0009:8e38 (seg080:0238)")
+set_comment(0x82322, "NE FIXUP -> 0007:eca8 (seg051:02a8)")
+set_comment(0x8236D, "NE FIXUP -> 0007:ea00 (seg051:0000)")
+set_comment(0x82385, "NE FIXUP -> 0007:ea6d (seg051:006d)")
+set_comment(0x823BC, "NE FIXUP -> 0007:ea6d (seg051:006d)")
+set_comment(0x8242A, "NE FIXUP -> 000a:b19a (seg101:0d9a)")
+set_comment(0x8264E, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0x8266A, "NE FIXUP -> 0004:c055 (seg015:0e55)")
+set_comment(0x82687, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0x82716, "NE FIXUP -> 0007:47c8 (seg041:01c8)")
+set_comment(0x82C13, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x82C24, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x82C48, "NE FIXUP -> 0009:8c93 (seg080:0093)")
+set_comment(0x82C7B, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x82C9F, "NE FIXUP -> 0008:dba3 (seg062:01a3)")
+set_comment(0x82CC5, "NE FIXUP -> 0008:dba3 (seg062:01a3)")
+set_comment(0x82CE3, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x82D03, "NE FIXUP -> 0009:8e0a (seg080:020a)")
+set_comment(0x82D26, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x82DDD, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x82DFD, "NE FIXUP -> 0008:ddaf (seg062:03af)")
+set_comment(0x82E16, "NE FIXUP -> 000a:87fd (seg097:09fd)")
+set_comment(0x82EBE, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x82EF3, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x82F2E, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x82F6D, "NE FIXUP -> 0004:c055 (seg015:0e55)")
+set_comment(0x82FF0, "NE FIXUP -> 000a:87fd (seg097:09fd)")
+set_comment(0x83018, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x83067, "NE FIXUP -> 0004:c055 (seg015:0e55)")
+set_comment(0x8310F, "NE FIXUP -> 000a:87fd (seg097:09fd)")
+set_comment(0x83170, "NE FIXUP -> 000a:87fd (seg097:09fd)")
+set_comment(0x83222, "NE FIXUP -> 0004:e7bd (seg018:07bd)")
+set_comment(0x832E6, "NE FIXUP -> 0004:e7bd (seg018:07bd)")
+set_comment(0x8334A, "NE FIXUP -> 0004:e7bd (seg018:07bd)")
+set_comment(0x8348C, "NE FIXUP -> 000a:7e00 (seg097:0000)")
+set_comment(0x834B6, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0x8351A, "NE FIXUP -> 000a:7f8c (seg097:018c)")
+set_comment(0x8353A, "NE FIXUP -> 000a:80e8 (seg097:02e8)")
+set_comment(0x8357E, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0x83590, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0x835A1, "NE FIXUP -> 000a:2bd1 (seg087:03d1)")
+set_comment(0x83620, "NE FIXUP -> 000a:7f8c (seg097:018c)")
+set_comment(0x8363D, "NE FIXUP -> 0004:c055 (seg015:0e55)")
+set_comment(0x836A2, "NE FIXUP -> 0009:9e71 (seg081:0071)")
+set_comment(0x836DD, "NE FIXUP -> 0009:9e61 (seg081:0061)")
+set_comment(0x83700, "NE FIXUP -> 000a:87fd (seg097:09fd)")
+set_comment(0x83712, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x83753, "NE FIXUP -> 000a:7e00 (seg097:0000)")
+set_comment(0x83777, "NE FIXUP -> 0004:c055 (seg015:0e55)")
+set_comment(0x837DC, "NE FIXUP -> 0009:9e71 (seg081:0071)")
+set_comment(0x83817, "NE FIXUP -> 0009:9e61 (seg081:0061)")
+set_comment(0x8383A, "NE FIXUP -> 000a:87fd (seg097:09fd)")
+set_comment(0x83861, "NE FIXUP -> 000a:7f8c (seg097:018c)")
+set_comment(0x83872, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8390A, "NE FIXUP -> 000a:2bd1 (seg087:03d1)")
+set_comment(0x83920, "NE FIXUP -> 000a:80e8 (seg097:02e8)")
+set_comment(0x83957, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0x83968, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0x83978, "NE FIXUP -> 000a:2bd1 (seg087:03d1)")
+set_comment(0x83A38, "NE FIXUP -> 000a:2bd1 (seg087:03d1)")
+set_comment(0x83AB2, "NE FIXUP -> 0009:4a9e (seg073:049e)")
+set_comment(0x83AC2, "NE FIXUP -> 0008:e1b3 (seg062:07b3)")
+set_comment(0x83B9C, "NE FIXUP -> 0009:1ecc (seg070:02cc)")
+set_comment(0x83BA8, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0x83BC5, "NE FIXUP -> 0008:e21c (seg062:081c)")
+set_comment(0x83BD1, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0x83C50, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x83C62, "NE FIXUP -> 000a:2bd1 (seg087:03d1)")
+set_comment(0x83C86, "NE FIXUP -> 000a:2bd1 (seg087:03d1)")
+set_comment(0x83C98, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x83CBD, "NE FIXUP -> 000a:2bd1 (seg087:03d1)")
+set_comment(0x83CCF, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x84271, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x842D3, "NE FIXUP -> 000a:e842 (seg104:0242)")
+set_comment(0x842E3, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x84336, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x8435A, "NE FIXUP -> 0009:8c93 (seg080:0093)")
+set_comment(0x8441B, "NE FIXUP -> 0009:80db (seg078:02db)")
+set_comment(0x84444, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0x8448F, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0x844B8, "NE FIXUP -> 0006:13b0 (seg030:33b0)")
+set_comment(0x844EB, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0x84517, "NE FIXUP -> 0006:13b0 (seg030:33b0)")
+set_comment(0x84538, "NE FIXUP -> 0006:a87e (seg036:027e)")
+set_comment(0x84566, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0x8459F, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0x845F6, "NE FIXUP -> 0006:13b0 (seg030:33b0)")
+set_comment(0x84625, "NE FIXUP -> 0006:a90e (seg036:030e)")
+set_comment(0x84656, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0x8468C, "NE FIXUP -> 0006:1418 (seg030:3418)")
+set_comment(0x846CE, "NE FIXUP -> 0005:11c4 (seg021:0fc4)")
+set_comment(0x846E9, "NE FIXUP -> 0006:a9a4 (seg036:03a4)")
+set_comment(0x84708, "NE FIXUP -> 0006:aa55 (seg036:0455)")
+set_comment(0x84727, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0x84748, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0x84769, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0x847A3, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0x847B0, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0x847C9, "NE FIXUP -> 000a:9748 (seg099:0148)")
+set_comment(0x847EE, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0x847FD, "NE FIXUP -> 000a:2e00 (seg088:0000)")
+set_comment(0x8480C, "NE FIXUP -> 0006:13b0 (seg030:33b0)")
+set_comment(0x8483B, "NE FIXUP -> 0006:a87e (seg036:027e)")
+set_comment(0x84851, "NE FIXUP -> 000a:9748 (seg099:0148)")
+set_comment(0x8485E, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0x84883, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0x8488F, "NE FIXUP -> 0006:19b9 (seg030:39b9)")
+set_comment(0x848B2, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0x848D7, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0x848FD, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0x8490C, "NE FIXUP -> 000a:2e00 (seg088:0000)")
+set_comment(0x84917, "NE FIXUP -> 0006:e210 (seg039:0010)")
+set_comment(0x8492B, "NE FIXUP -> 0006:12ec (seg030:32ec)")
+set_comment(0x8493F, "NE FIXUP -> 0006:12ec (seg030:32ec)")
+set_comment(0x8495A, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0x84963, "NE FIXUP -> 0006:a70a (seg036:010a)")
+set_comment(0x849B9, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0x849C4, "NE FIXUP -> 0006:e210 (seg039:0010)")
+set_comment(0x849D8, "NE FIXUP -> 0006:144c (seg030:344c)")
+set_comment(0x849E9, "NE FIXUP -> 0006:144c (seg030:344c)")
+set_comment(0x84A46, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0x84A81, "NE FIXUP -> 000a:87fd (seg097:09fd)")
+set_comment(0x84AF9, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0x84B72, "NE FIXUP -> 0008:55df (seg056:05df)")
+set_comment(0x84B85, "NE FIXUP -> 000b:29d6 (seg108:0fd6)")
+set_comment(0x84B9D, "NE FIXUP -> 0008:55df (seg056:05df)")
+set_comment(0x84BB0, "NE FIXUP -> 000b:29d6 (seg108:0fd6)")
+set_comment(0x84BED, "NE FIXUP -> 0003:b8e2 (seg001:42e2)")
+set_comment(0x85010, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x8502B, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0x8504A, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x85081, "NE FIXUP -> 0008:bca8 (seg061:02a8)")
+set_comment(0x85091, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x8509F, "NE FIXUP -> 0008:ccb7 (seg061:12b7)")
+set_comment(0x850AD, "NE FIXUP -> 0008:d3e6 (seg061:19e6)")
+set_comment(0x850BD, "NE FIXUP -> 0008:d27e (seg061:187e)")
+set_comment(0x850CD, "NE FIXUP -> 0008:d3ba (seg061:19ba)")
+set_comment(0x8513F, "NE FIXUP -> 0008:a474 (seg059:3a74)")
+set_comment(0x8515E, "NE FIXUP -> 0008:9e12 (seg059:3412)")
+set_comment(0x85208, "NE FIXUP -> 0008:6413 (seg058:0013)")
+set_comment(0x85215, "NE FIXUP -> 0008:9e62 (seg059:3462)")
+set_comment(0x8522B, "NE FIXUP -> 0008:9f33 (seg059:3533)")
+set_comment(0x8527C, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0x852AA, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x852BE, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x852D3, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x852F1, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x8530C, "NE FIXUP -> 0008:cefb (seg061:14fb)")
+set_comment(0x85344, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8535D, "NE FIXUP -> 0008:bca8 (seg061:02a8)")
+set_comment(0x8536D, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x8537B, "NE FIXUP -> 0008:d12a (seg061:172a)")
+set_comment(0x8538F, "NE FIXUP -> 0008:ccb7 (seg061:12b7)")
+set_comment(0x8539D, "NE FIXUP -> 0008:d1a4 (seg061:17a4)")
+set_comment(0x85406, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x85440, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0x8545E, "NE FIXUP -> 0008:6400 (seg058:0000)")
+set_comment(0x854DC, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x854F0, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x85505, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x85533, "NE FIXUP -> 0008:aa32 (seg059:4032)")
+set_comment(0x85564, "NE FIXUP -> 0008:55bf (seg056:05bf)")
+set_comment(0x8557F, "NE FIXUP -> 0008:558b (seg056:058b)")
+set_comment(0x856C4, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x85A10, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x85A2B, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0x85A72, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x85A8B, "NE FIXUP -> 0008:bca8 (seg061:02a8)")
+set_comment(0x85A9B, "NE FIXUP -> 0008:d27e (seg061:187e)")
+set_comment(0x85AB6, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x85AC4, "NE FIXUP -> 0008:d3e6 (seg061:19e6)")
+set_comment(0x85AD8, "NE FIXUP -> 0008:ccb7 (seg061:12b7)")
+set_comment(0x85AE8, "NE FIXUP -> 0008:d3ba (seg061:19ba)")
+set_comment(0x85B2A, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0x85B87, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x85BA2, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0x85BD4, "NE FIXUP -> 0008:bbb6 (seg061:01b6)")
+set_comment(0x85C00, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x85C18, "NE FIXUP -> 0008:d27e (seg061:187e)")
+set_comment(0x85C2C, "NE FIXUP -> 0008:d3e6 (seg061:19e6)")
+set_comment(0x85C69, "NE FIXUP -> 0008:d3ba (seg061:19ba)")
+set_comment(0x85D55, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x85D70, "NE FIXUP -> 0008:cefb (seg061:14fb)")
+set_comment(0x85DA2, "NE FIXUP -> 0008:bbb6 (seg061:01b6)")
+set_comment(0x85DD5, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x85EF1, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x85F0C, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0x85F3B, "NE FIXUP -> 0008:d3e6 (seg061:19e6)")
+set_comment(0x85F49, "NE FIXUP -> 0008:ccb7 (seg061:12b7)")
+set_comment(0x85F59, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x85F7B, "NE FIXUP -> 0008:d27e (seg061:187e)")
+set_comment(0x85FB9, "NE FIXUP -> 0008:d3d2 (seg061:19d2)")
+set_comment(0x85FE0, "NE FIXUP -> 0008:d3ba (seg061:19ba)")
+set_comment(0x8605A, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x8606E, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x86083, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x860A8, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x860BC, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x860D1, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x860F6, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x8610A, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x8611F, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x86164, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x86178, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x8618D, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x865FC, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x86681, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x866E1, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x866FC, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0x86745, "NE FIXUP -> 0008:bca8 (seg061:02a8)")
+set_comment(0x86758, "NE FIXUP -> 0008:d2c7 (seg061:18c7)")
+set_comment(0x86773, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x86781, "NE FIXUP -> 0008:d3e6 (seg061:19e6)")
+set_comment(0x86795, "NE FIXUP -> 0008:ccb7 (seg061:12b7)")
+set_comment(0x86814, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x86828, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x8683D, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x86A21, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x86A37, "NE FIXUP -> 0003:d7ff (seg001:61ff)")
+set_comment(0x86A52, "NE FIXUP -> 0003:e628 (seg001:7028)")
+set_comment(0x86A8E, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x86ABC, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x86B1B, "NE FIXUP -> 0003:aa7d (seg001:347d)")
+set_comment(0x86B43, "NE FIXUP -> 0008:e400 (seg063:0000)")
+set_comment(0x86B4D, "NE FIXUP -> 0008:e860 (seg063:0460)")
+set_comment(0x86B5E, "NE FIXUP -> 0008:66d1 (seg058:02d1)")
+set_comment(0x86B7E, "NE FIXUP -> 0008:67a5 (seg058:03a5)")
+set_comment(0x86B8E, "NE FIXUP -> 0008:d3ba (seg061:19ba)")
+set_comment(0x86B9A, "NE FIXUP -> 0008:5a00 (seg057:0000)")
+set_comment(0x86BA4, "NE FIXUP -> 0008:e860 (seg063:0460)")
+set_comment(0x86BB3, "NE FIXUP -> 0008:e895 (seg063:0495)")
+set_comment(0x86BBF, "NE FIXUP -> 0008:52e1 (seg056:02e1)")
+set_comment(0x86BCB, "NE FIXUP -> 0008:5000 (seg056:0000)")
+set_comment(0x86BD8, "NE FIXUP -> 0008:5546 (seg056:0546)")
+set_comment(0x86C14, "NE FIXUP -> 0008:e895 (seg063:0495)")
+set_comment(0x86C1C, "NE FIXUP -> 0008:55a8 (seg056:05a8)")
+set_comment(0x86C4C, "NE FIXUP -> 0008:e895 (seg063:0495)")
+set_comment(0x86CE9, "NE FIXUP -> 0008:bd79 (seg061:0379)")
+set_comment(0x86DCD, "NE FIXUP -> 0003:aaa1 (seg001:34a1)")
+set_comment(0x86F81, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x86F96, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x86FAB, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x86FD8, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x870F0, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x870FE, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x8710C, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x87136, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8714C, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8715B, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x8716F, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x87184, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x871B1, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8734E, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x8735C, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x8736A, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x87515, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x87539, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x87698, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x87722, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8773A, "NE FIXUP -> 0008:5668 (seg056:0668)")
+set_comment(0x8774F, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8780D, "NE FIXUP -> 0008:5696 (seg056:0696)")
+set_comment(0x87878, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x87890, "NE FIXUP -> 0008:5668 (seg056:0668)")
+set_comment(0x878A5, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x878F5, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8799E, "NE FIXUP -> 0008:5696 (seg056:0696)")
+set_comment(0x87A42, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x87A5A, "NE FIXUP -> 0008:5668 (seg056:0668)")
+set_comment(0x87A6F, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x87ABF, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x87B68, "NE FIXUP -> 0008:5696 (seg056:0696)")
+set_comment(0x87C7C, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x87D5A, "NE FIXUP -> 0008:dcab (seg062:02ab)")
+set_comment(0x87D89, "NE FIXUP -> 0008:c890 (seg061:0e90)")
+set_comment(0x87D9A, "NE FIXUP -> 0008:c7f1 (seg061:0df1)")
+set_comment(0x880F2, "NE FIXUP -> 0008:deea (seg062:04ea)")
+set_comment(0x8816C, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x881FF, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8822A, "NE FIXUP -> 0008:cce8 (seg061:12e8)")
+set_comment(0x8826B, "NE FIXUP -> 0008:c890 (seg061:0e90)")
+set_comment(0x88280, "NE FIXUP -> 0008:c7f1 (seg061:0df1)")
+set_comment(0x88299, "NE FIXUP -> 0008:dc38 (seg062:0238)")
+set_comment(0x88321, "NE FIXUP -> 0009:a27a (seg082:007a)")
+set_comment(0x88331, "NE FIXUP -> 0008:cd4e (seg061:134e)")
+set_comment(0x8849E, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x884B9, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x884CE, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x884DF, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x88510, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x88555, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x88571, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x88589, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x885A5, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x885BD, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x885D9, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x885ED, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x88609, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x886C0, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x886CE, "NE FIXUP -> 0009:a27a (seg082:007a)")
+set_comment(0x8878F, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8879D, "NE FIXUP -> 0009:a27a (seg082:007a)")
+set_comment(0x88835, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8884D, "NE FIXUP -> 0009:a27a (seg082:007a)")
+set_comment(0x88887, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x888A3, "NE FIXUP -> 0009:a27a (seg082:007a)")
+set_comment(0x888B3, "NE FIXUP -> 0009:a27a (seg082:007a)")
+set_comment(0x888C3, "NE FIXUP -> 0009:a27a (seg082:007a)")
+set_comment(0x88907, "NE FIXUP -> 0008:dba3 (seg062:01a3)")
+set_comment(0x88927, "NE FIXUP -> 0008:dba3 (seg062:01a3)")
+set_comment(0x88947, "NE FIXUP -> 0008:dba3 (seg062:01a3)")
+set_comment(0x88957, "NE FIXUP -> 0009:a27a (seg082:007a)")
+set_comment(0x88973, "NE FIXUP -> 0009:a27a (seg082:007a)")
+set_comment(0x8898F, "NE FIXUP -> 0009:a27a (seg082:007a)")
+set_comment(0x889AB, "NE FIXUP -> 0009:a27a (seg082:007a)")
+set_comment(0x88A14, "NE FIXUP -> 0008:6400 (seg058:0000)")
+set_comment(0x88A66, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x88A70, "NE FIXUP -> 0008:e860 (seg063:0460)")
+set_comment(0x88A93, "NE FIXUP -> 0008:e895 (seg063:0495)")
+set_comment(0x88AD9, "NE FIXUP -> 0009:4a9e (seg073:049e)")
+set_comment(0x88B01, "NE FIXUP -> 0009:4a9e (seg073:049e)")
+set_comment(0x88B29, "NE FIXUP -> 0009:4a9e (seg073:049e)")
+set_comment(0x88C98, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x88CD1, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x88D16, "NE FIXUP -> 0009:4a9e (seg073:049e)")
+set_comment(0x88DEB, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x88E0D, "NE FIXUP -> 0008:67a5 (seg058:03a5)")
+set_comment(0x88E27, "NE FIXUP -> 0008:e860 (seg063:0460)")
+set_comment(0x88E58, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x88E73, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x88E87, "NE FIXUP -> 0008:e895 (seg063:0495)")
+set_comment(0x88EF2, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x88FA7, "NE FIXUP -> 0008:e895 (seg063:0495)")
+set_comment(0x88FF2, "NE FIXUP -> 0003:e4d3 (seg001:6ed3)")
+set_comment(0x89082, "NE FIXUP -> 0009:1ecc (seg070:02cc)")
+set_comment(0x89090, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0x890B8, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0x89112, "NE FIXUP -> 0009:1ecc (seg070:02cc)")
+set_comment(0x89120, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0x89148, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0x891A2, "NE FIXUP -> 0009:1ecc (seg070:02cc)")
+set_comment(0x891B0, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0x891D8, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0x893AE, "NE FIXUP -> 0009:1ecc (seg070:02cc)")
+set_comment(0x893BC, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0x893E8, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0x89444, "NE FIXUP -> 0008:e860 (seg063:0460)")
+set_comment(0x89498, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x894AD, "NE FIXUP -> 0003:a995 (seg001:3395)")
+set_comment(0x894E1, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0x894E8, "NE FIXUP -> 0003:a995 (seg001:3395)")
+set_comment(0x894FC, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x895EF, "NE FIXUP -> 0008:deea (seg062:04ea)")
+set_comment(0x89670, "NE FIXUP -> 0008:d313 (seg061:1913)")
+set_comment(0x896B7, "NE FIXUP -> 0008:d313 (seg061:1913)")
+set_comment(0x896F0, "NE FIXUP -> 0008:d313 (seg061:1913)")
+set_comment(0x8971C, "NE FIXUP -> 0008:d313 (seg061:1913)")
+set_comment(0x89749, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8977F, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8982C, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x89865, "NE FIXUP -> 0008:e7bb (seg063:03bb)")
+set_comment(0x89909, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8994E, "NE FIXUP -> 0008:e741 (seg063:0341)")
+set_comment(0x899BB, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x899D1, "NE FIXUP -> 0009:0efd (seg068:06fd)")
+set_comment(0x899FC, "NE FIXUP -> 0009:0efd (seg068:06fd)")
+set_comment(0x89A1C, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x89A36, "NE FIXUP -> 0009:0d9b (seg068:059b)")
+set_comment(0x89A6E, "NE FIXUP -> 0009:0e4a (seg068:064a)")
+set_comment(0x89AB0, "NE FIXUP -> 0008:e895 (seg063:0495)")
+set_comment(0x89AD5, "NE FIXUP -> 0008:e860 (seg063:0460)")
+set_comment(0x89B62, "NE FIXUP -> 0008:deea (seg062:04ea)")
+set_comment(0x89C3E, "NE FIXUP -> 0008:e895 (seg063:0495)")
+set_comment(0x89C5A, "NE FIXUP -> 0008:e860 (seg063:0460)")
+set_comment(0x89CD7, "NE FIXUP -> 0008:e8ce (seg063:04ce)")
+set_comment(0x89CE3, "NE FIXUP -> 0008:e8ce (seg063:04ce)")
+set_comment(0x89D35, "NE FIXUP -> 0008:e860 (seg063:0460)")
+set_comment(0x89D43, "NE FIXUP -> 0008:e895 (seg063:0495)")
+set_comment(0x89DB5, "NE FIXUP -> 0003:aaa1 (seg001:34a1)")
+set_comment(0x89EAD, "NE FIXUP -> 0008:deea (seg062:04ea)")
+set_comment(0x89EF2, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x89F5C, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x8A0B8, "NE FIXUP -> 0008:e8ce (seg063:04ce)")
+set_comment(0x8A24E, "NE FIXUP -> 0008:6400 (seg058:0000)")
+set_comment(0x8A37F, "NE FIXUP -> 0008:6413 (seg058:0013)")
+set_comment(0x8A40C, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8A428, "NE FIXUP -> 0009:0d9b (seg068:059b)")
+set_comment(0x8A465, "NE FIXUP -> 0009:0e4a (seg068:064a)")
+set_comment(0x8A4F7, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8A514, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x8A585, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8A5AB, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8A5DD, "NE FIXUP -> 0008:e7bb (seg063:03bb)")
+set_comment(0x8A5F8, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8A643, "NE FIXUP -> 0008:e741 (seg063:0341)")
+set_comment(0x8A671, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x8A6A9, "NE FIXUP -> 0008:deea (seg062:04ea)")
+set_comment(0x8A7F1, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8AAA3, "NE FIXUP -> 0008:deea (seg062:04ea)")
+set_comment(0x8AB22, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8AB48, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8AB79, "NE FIXUP -> 0008:e7bb (seg063:03bb)")
+set_comment(0x8AB94, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8ABDE, "NE FIXUP -> 0008:e741 (seg063:0341)")
+set_comment(0x8AC62, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x8AC70, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x8AC7E, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x8B624, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0x8B664, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0x8B68C, "NE FIXUP -> 0008:c443 (seg061:0a43)")
+set_comment(0x8B6AE, "NE FIXUP -> 0008:c5e3 (seg061:0be3)")
+set_comment(0x8B716, "NE FIXUP -> 0008:c0e0 (seg061:06e0)")
+set_comment(0x8B753, "NE FIXUP -> 0008:c373 (seg061:0973)")
+set_comment(0x8B7FD, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8B811, "NE FIXUP -> 0008:deea (seg062:04ea)")
+set_comment(0x8BA7C, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8BAF0, "NE FIXUP -> 0008:74ff (seg059:0aff)")
+set_comment(0x8BAFF, "NE FIXUP -> 0008:817c (seg059:177c)")
+set_comment(0x8BB0E, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0x8BB3F, "NE FIXUP -> 0008:83cd (seg059:19cd)")
+set_comment(0x8BB58, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x8BB71, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8BB7C, "NE FIXUP -> 0008:848d (seg059:1a8d)")
+set_comment(0x8BBAC, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8BBCE, "NE FIXUP -> 0008:a80b (seg059:3e0b)")
+set_comment(0x8BBDF, "NE FIXUP -> 0008:a87f (seg059:3e7f)")
+set_comment(0x8BC09, "NE FIXUP -> 0008:a8ed (seg059:3eed)")
+set_comment(0x8BC1D, "NE FIXUP -> 0008:a959 (seg059:3f59)")
+set_comment(0x8BC64, "NE FIXUP -> 0008:a8ed (seg059:3eed)")
+set_comment(0x8BC84, "NE FIXUP -> 0008:a959 (seg059:3f59)")
+set_comment(0x8BC9E, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8BCC1, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8BE26, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8BE44, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8BE61, "NE FIXUP -> 0008:83b5 (seg059:19b5)")
+set_comment(0x8BE91, "NE FIXUP -> 0008:7f1d (seg059:151d)")
+set_comment(0x8BE99, "NE FIXUP -> 0008:7ff2 (seg059:15f2)")
+set_comment(0x8BEE4, "NE FIXUP -> 0008:b600 (seg060:0000)")
+set_comment(0x8BF84, "NE FIXUP -> 0008:82a3 (seg059:18a3)")
+set_comment(0x8C081, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8C0B0, "NE FIXUP -> 0008:e906 (seg063:0506)")
+set_comment(0x8C0C9, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8C115, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0x8C155, "NE FIXUP -> 0008:deea (seg062:04ea)")
+set_comment(0x8C172, "NE FIXUP -> 0008:df1b (seg062:051b)")
+set_comment(0x8C18A, "NE FIXUP -> 0008:deea (seg062:04ea)")
+set_comment(0x8C1A9, "NE FIXUP -> 0008:deea (seg062:04ea)")
+set_comment(0x8C235, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0x8C275, "NE FIXUP -> 0008:deea (seg062:04ea)")
+set_comment(0x8C296, "NE FIXUP -> 0008:83cd (seg059:19cd)")
+set_comment(0x8C2A8, "NE FIXUP -> 0008:dba3 (seg062:01a3)")
+set_comment(0x8C335, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8C365, "NE FIXUP -> 0008:da00 (seg062:0000)")
+set_comment(0x8C390, "NE FIXUP -> 0008:e073 (seg062:0673)")
+set_comment(0x8C3BC, "NE FIXUP -> 0008:df1b (seg062:051b)")
+set_comment(0x8C439, "NE FIXUP -> 0008:ddaf (seg062:03af)")
+set_comment(0x8C460, "NE FIXUP -> 0008:e073 (seg062:0673)")
+set_comment(0x8C48C, "NE FIXUP -> 0008:df1b (seg062:051b)")
+set_comment(0x8C509, "NE FIXUP -> 0008:ddaf (seg062:03af)")
+set_comment(0x8C530, "NE FIXUP -> 0008:e073 (seg062:0673)")
+set_comment(0x8C55C, "NE FIXUP -> 0008:df1b (seg062:051b)")
+set_comment(0x8C5D9, "NE FIXUP -> 0008:ddaf (seg062:03af)")
+set_comment(0x8C600, "NE FIXUP -> 0008:e073 (seg062:0673)")
+set_comment(0x8C62C, "NE FIXUP -> 0008:df1b (seg062:051b)")
+set_comment(0x8C6A9, "NE FIXUP -> 0008:ddaf (seg062:03af)")
+set_comment(0x8C6D5, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8C6F4, "NE FIXUP -> 0008:e073 (seg062:0673)")
+set_comment(0x8C71D, "NE FIXUP -> 0008:df1b (seg062:051b)")
+set_comment(0x8C748, "NE FIXUP -> 0008:dcab (seg062:02ab)")
+set_comment(0x8C774, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8C793, "NE FIXUP -> 0008:e073 (seg062:0673)")
+set_comment(0x8C7BC, "NE FIXUP -> 0008:df1b (seg062:051b)")
+set_comment(0x8C7E7, "NE FIXUP -> 0008:dcab (seg062:02ab)")
+set_comment(0x8C813, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8C832, "NE FIXUP -> 0008:e073 (seg062:0673)")
+set_comment(0x8C85B, "NE FIXUP -> 0008:df1b (seg062:051b)")
+set_comment(0x8C886, "NE FIXUP -> 0008:dcab (seg062:02ab)")
+set_comment(0x8C8B2, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8C8D1, "NE FIXUP -> 0008:e073 (seg062:0673)")
+set_comment(0x8C8FA, "NE FIXUP -> 0008:df1b (seg062:051b)")
+set_comment(0x8C925, "NE FIXUP -> 0008:dcab (seg062:02ab)")
+set_comment(0x8C9C3, "NE FIXUP -> 0008:dcab (seg062:02ab)")
+set_comment(0x8C9DE, "NE FIXUP -> 0008:dcab (seg062:02ab)")
+set_comment(0x8CAAC, "NE FIXUP -> 0008:dcab (seg062:02ab)")
+set_comment(0x8CAC7, "NE FIXUP -> 0008:dcab (seg062:02ab)")
+set_comment(0x8CB0A, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0x8CBA7, "NE FIXUP -> 0008:840b (seg059:1a0b)")
+set_comment(0x8CBBA, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0x8CC23, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8CC42, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8CC72, "NE FIXUP -> 0008:81db (seg059:17db)")
+set_comment(0x8CC86, "NE FIXUP -> 0008:8138 (seg059:1738)")
+set_comment(0x8CC8E, "NE FIXUP -> 0008:7ff2 (seg059:15f2)")
+set_comment(0x8CC9E, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8CCD6, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8CD09, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8CD2D, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8CD6D, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8CD91, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8CDCC, "NE FIXUP -> 0008:dba3 (seg062:01a3)")
+set_comment(0x8CDF6, "NE FIXUP -> 0008:dba3 (seg062:01a3)")
+set_comment(0x8CE92, "NE FIXUP -> 0009:b06b (seg082:0e6b)")
+set_comment(0x8CEB8, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8CED9, "NE FIXUP -> 0009:b224 (seg082:1024)")
+set_comment(0x8CEF1, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8CF51, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0x8CF7D, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8CFB4, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0x8CFE0, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8D03C, "NE FIXUP -> 0008:e7bb (seg063:03bb)")
+set_comment(0x8D055, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8D08D, "NE FIXUP -> 0008:e741 (seg063:0341)")
+set_comment(0x8D0A6, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8D0D2, "NE FIXUP -> 0008:ab11 (seg059:4111)")
+set_comment(0x8D0E3, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8D10F, "NE FIXUP -> 0008:ab83 (seg059:4183)")
+set_comment(0x8D120, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8D14C, "NE FIXUP -> 0008:a574 (seg059:3b74)")
+set_comment(0x8D15D, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8D189, "NE FIXUP -> 0008:a5e7 (seg059:3be7)")
+set_comment(0x8D19A, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8D1D2, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8D20A, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8D281, "NE FIXUP -> 0008:9c48 (seg059:3248)")
+set_comment(0x8D298, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0x8D2B8, "NE FIXUP -> 0008:9ae5 (seg059:30e5)")
+set_comment(0x8D2C0, "NE FIXUP -> 0008:9c32 (seg059:3232)")
+set_comment(0x8D2CA, "NE FIXUP -> 0008:9c48 (seg059:3248)")
+set_comment(0x8D2DA, "NE FIXUP -> 0003:a995 (seg001:3395)")
+set_comment(0x8D304, "NE FIXUP -> 0008:9ae5 (seg059:30e5)")
+set_comment(0x8D30C, "NE FIXUP -> 0008:9c32 (seg059:3232)")
+set_comment(0x8D3C8, "NE FIXUP -> 0008:97d8 (seg059:2dd8)")
+set_comment(0x8D3DC, "NE FIXUP -> 0008:98b5 (seg059:2eb5)")
+set_comment(0x8D495, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x8D4A9, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x8D4E3, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x8D4F7, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x8D539, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x8D54D, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x8DA2D, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8DA43, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0x8DA66, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x8DA74, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x8DA97, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8DAFB, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0x8DB0E, "NE FIXUP -> 0008:c890 (seg061:0e90)")
+set_comment(0x8DB1F, "NE FIXUP -> 0008:c7f1 (seg061:0df1)")
+set_comment(0x8DB3E, "NE FIXUP -> 0008:bbb6 (seg061:01b6)")
+set_comment(0x8DB5F, "NE FIXUP -> 0008:bbb6 (seg061:01b6)")
+set_comment(0x8DB91, "NE FIXUP -> 0008:c0e0 (seg061:06e0)")
+set_comment(0x8DBBA, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8DBCD, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x8DC2E, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x8DCDC, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x8DCF6, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8DD6F, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x8DE2D, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x8DE47, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8DEB4, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x8DEE0, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8DF00, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8DF31, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8E043, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x8E11E, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x8E170, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8E17E, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x8E1A9, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8E212, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x8E255, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x8E410, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x8E42B, "NE FIXUP -> 0008:ba00 (seg061:0000)")
+set_comment(0x8E492, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8E4AB, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0x8E4D5, "NE FIXUP -> 0008:ccb7 (seg061:12b7)")
+set_comment(0x8E51E, "NE FIXUP -> 0008:deea (seg062:04ea)")
+set_comment(0x8E532, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0x8E60E, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0x8E638, "NE FIXUP -> 0008:dba3 (seg062:01a3)")
+set_comment(0x8E65D, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0x8E692, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0x8E6D0, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x8E6E4, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x8E6F8, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x8E70C, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x8E721, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x8E750, "NE FIXUP -> 0008:ddaf (seg062:03af)")
+set_comment(0x8E824, "NE FIXUP -> 0008:dcab (seg062:02ab)")
+set_comment(0x8EA0D, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0x8EA23, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0x8EA3B, "NE FIXUP -> 0008:d27e (seg061:187e)")
+set_comment(0x8EA55, "NE FIXUP -> 0008:d3e6 (seg061:19e6)")
+set_comment(0x8EA63, "NE FIXUP -> 0008:ccb7 (seg061:12b7)")
+set_comment(0x8EA92, "NE FIXUP -> 0008:d3ba (seg061:19ba)")
+set_comment(0x8EB2E, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0x8EBA5, "NE FIXUP -> 000a:5960 (seg093:0360)")
+set_comment(0x8EC44, "NE FIXUP -> 000a:58ba (seg093:02ba)")
+set_comment(0x8ED78, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x8ED8C, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0x8EDA0, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0x8F00C, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x8F026, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0x8F1EC, "NE FIXUP -> 0008:f59c (seg065:059c)")
+set_comment(0x8F217, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8F242, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8F283, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x8F2CE, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8F37D, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8F3AA, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x8F3D0, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8F3FD, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x8F423, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8F450, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x8F475, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8F499, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x8F4B7, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8F4DB, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x8F4F9, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8F51D, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x8F535, "NE FIXUP -> 0009:e15f (seg085:015f)")
+set_comment(0x8F54B, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x8F573, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x8FB77, "NE FIXUP -> 0009:0fa6 (seg068:07a6)")
+set_comment(0x8FC2A, "NE FIXUP -> 0009:0fa6 (seg068:07a6)")
+set_comment(0x8FC58, "NE FIXUP -> 0009:0faf (seg068:07af)")
+set_comment(0x90834, "NE FIXUP -> 0008:f000 (seg065:0000)")
+set_comment(0x90849, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x90851, "NE FIXUP -> 0008:f1d0 (seg065:01d0)")
+set_comment(0x90875, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x908A8, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x908D2, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x908FA, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9091D, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x90928, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x90938, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x9095C, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x90964, "NE FIXUP -> 0008:f800 (seg066:0000)")
+set_comment(0x90969, "NE FIXUP -> 0008:f80b (seg066:000b)")
+set_comment(0x9097C, "NE FIXUP -> 0008:f525 (seg065:0525)")
+set_comment(0x90991, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x909F4, "NE FIXUP -> 0008:f40c (seg065:040c)")
+set_comment(0x90A04, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x90AA4, "NE FIXUP -> 0008:f17a (seg065:017a)")
+set_comment(0x90AD7, "NE FIXUP -> 0008:f40c (seg065:040c)")
+set_comment(0x90AE7, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x90B15, "NE FIXUP -> 0008:f3b9 (seg065:03b9)")
+set_comment(0x90B25, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x90B2F, "NE FIXUP -> 0008:f0e5 (seg065:00e5)")
+set_comment(0x90B7C, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x90BAB, "NE FIXUP -> 0008:f4e3 (seg065:04e3)")
+set_comment(0x90BE3, "NE FIXUP -> 0008:f000 (seg065:0000)")
+set_comment(0x90BEB, "NE FIXUP -> 0009:05d0 (seg067:07d0)")
+set_comment(0x90C0F, "NE FIXUP -> 0008:f3b9 (seg065:03b9)")
+set_comment(0x90C1F, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x90C34, "NE FIXUP -> 0008:f4a1 (seg065:04a1)")
+set_comment(0x90C3C, "NE FIXUP -> 0009:e15f (seg085:015f)")
+set_comment(0x90C51, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x90C92, "NE FIXUP -> 0008:f17a (seg065:017a)")
+set_comment(0x90CA6, "NE FIXUP -> 0008:f4a1 (seg065:04a1)")
+set_comment(0x90CCB, "NE FIXUP -> 0009:e15f (seg085:015f)")
+set_comment(0x90CE0, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x90CF5, "NE FIXUP -> 0008:f17a (seg065:017a)")
+set_comment(0x90D09, "NE FIXUP -> 0008:f4a1 (seg065:04a1)")
+set_comment(0x90D5D, "NE FIXUP -> 0008:f4e3 (seg065:04e3)")
+set_comment(0x90DA4, "NE FIXUP -> 0008:f000 (seg065:0000)")
+set_comment(0x90DB1, "NE FIXUP -> 0008:f000 (seg065:0000)")
+set_comment(0x90DC8, "NE FIXUP -> 0008:f40c (seg065:040c)")
+set_comment(0x90DD8, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x90E04, "NE FIXUP -> 0008:f40c (seg065:040c)")
+set_comment(0x90E14, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x90E21, "NE FIXUP -> 0008:f4e3 (seg065:04e3)")
+set_comment(0x90E42, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x90E53, "NE FIXUP -> 0008:f000 (seg065:0000)")
+set_comment(0x90E60, "NE FIXUP -> 0008:f000 (seg065:0000)")
+set_comment(0x90E77, "NE FIXUP -> 0008:f40c (seg065:040c)")
+set_comment(0x90E87, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x90EB7, "NE FIXUP -> 0008:f40c (seg065:040c)")
+set_comment(0x90EC7, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x90ED4, "NE FIXUP -> 0008:f4e3 (seg065:04e3)")
+set_comment(0x90EF5, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x90F06, "NE FIXUP -> 0008:f000 (seg065:0000)")
+set_comment(0x90F13, "NE FIXUP -> 0008:f000 (seg065:0000)")
+set_comment(0x90F2A, "NE FIXUP -> 0008:f40c (seg065:040c)")
+set_comment(0x90F3A, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x90F60, "NE FIXUP -> 0008:f40c (seg065:040c)")
+set_comment(0x90F70, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x90F7D, "NE FIXUP -> 0008:f4e3 (seg065:04e3)")
+set_comment(0x90F9E, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x90FC8, "NE FIXUP -> 0003:d0ca (seg001:5aca)")
+set_comment(0x90FE4, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x90FF6, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x91008, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x9101F, "NE FIXUP -> 0008:f40c (seg065:040c)")
+set_comment(0x91048, "NE FIXUP -> 0008:f038 (seg065:0038)")
+set_comment(0x9106C, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x9108E, "NE FIXUP -> 0003:d0ff (seg001:5aff)")
+set_comment(0x9109C, "NE FIXUP -> 0003:cc05 (seg001:5605)")
+set_comment(0x910EA, "NE FIXUP -> 0003:d907 (seg001:6307)")
+set_comment(0x9113C, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9121C, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0x9123A, "NE FIXUP -> 0009:1d6a (seg070:016a)")
+set_comment(0x9125B, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x91290, "NE FIXUP -> 0003:e4d3 (seg001:6ed3)")
+set_comment(0x912A0, "NE FIXUP -> 0003:e669 (seg001:7069)")
+set_comment(0x912B8, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x912D4, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x912FA, "NE FIXUP -> 0009:a229 (seg082:0029)")
+set_comment(0x91318, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x91819, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x91837, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x91851, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x91866, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x91889, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x918A3, "NE FIXUP -> 000a:500a (seg092:020a)")
+set_comment(0x918C8, "NE FIXUP -> 000a:46eb (seg091:02eb)")
+set_comment(0x918E1, "NE FIXUP -> 0009:4628 (seg073:0028)")
+set_comment(0x91902, "NE FIXUP -> 0003:b8e2 (seg001:42e2)")
+set_comment(0x91926, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x91942, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0x9195E, "NE FIXUP -> 0009:4742 (seg073:0142)")
+set_comment(0x9197F, "NE FIXUP -> 0003:b8e2 (seg001:42e2)")
+set_comment(0x919A3, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x919DB, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x91A02, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x91A25, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x91A59, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x91A6F, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x91C0C, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x91C46, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x91CA7, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x91CC7, "NE FIXUP -> 0003:e669 (seg001:7069)")
+set_comment(0x91CD6, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x91CF6, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x91D11, "NE FIXUP -> 0003:d907 (seg001:6307)")
+set_comment(0x91D3C, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0x91D7E, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0x91D92, "NE FIXUP -> 000a:500a (seg092:020a)")
+set_comment(0x91DAE, "NE FIXUP -> 0003:b64d (seg001:404d)")
+set_comment(0x91DF4, "NE FIXUP -> 000a:46eb (seg091:02eb)")
+set_comment(0x91E23, "NE FIXUP -> 000a:500a (seg092:020a)")
+set_comment(0x91EA8, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0x91F08, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0x91F5C, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0x91F6A, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0x91FC6, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0x91FF9, "NE FIXUP -> 0009:c496 (seg083:0096)")
+set_comment(0x9201F, "NE FIXUP -> 0009:c496 (seg083:0096)")
+set_comment(0x9207E, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0x9208C, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0x920E8, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0x9211B, "NE FIXUP -> 0009:c496 (seg083:0096)")
+set_comment(0x92141, "NE FIXUP -> 0009:c496 (seg083:0096)")
+set_comment(0x921A6, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0x92208, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0x92248, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0x92263, "NE FIXUP -> 0003:ca1a (seg001:541a)")
+set_comment(0x9227B, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x92296, "NE FIXUP -> 0003:ca1a (seg001:541a)")
+set_comment(0x922AE, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x922F2, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0x923F5, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x92420, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x924FF, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x92514, "NE FIXUP -> 0003:b607 (seg001:4007)")
+set_comment(0x9252D, "NE FIXUP -> 0003:ca81 (seg001:5481)")
+set_comment(0x9256C, "NE FIXUP -> 0003:b607 (seg001:4007)")
+set_comment(0x926CD, "NE FIXUP -> 0003:e080 (seg001:6a80)")
+set_comment(0x926E4, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0x926FC, "NE FIXUP -> 0003:e5ff (seg001:6fff)")
+set_comment(0x9270D, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9272E, "NE FIXUP -> 000a:500a (seg092:020a)")
+set_comment(0x92740, "NE FIXUP -> 0003:b64d (seg001:404d)")
+set_comment(0x927BA, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x928DA, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x928F1, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x92966, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0x929A5, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0x929ED, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0x92A2C, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x92A43, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x92E0C, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x92E2C, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x92E3A, "NE FIXUP -> 0009:c400 (seg083:0000)")
+set_comment(0x92E44, "NE FIXUP -> 0009:c642 (seg083:0242)")
+set_comment(0x92E6C, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x92E86, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x92EA6, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x92EC5, "NE FIXUP -> 0003:d907 (seg001:6307)")
+set_comment(0x92F04, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x92F24, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x9322E, "NE FIXUP -> 0003:c994 (seg001:5394)")
+set_comment(0x933BD, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x93402, "NE FIXUP -> 0009:1c3a (seg070:003a)")
+set_comment(0x93414, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0x9343D, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x93459, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x9347A, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x934A1, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x93614, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x9363E, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x936AE, "NE FIXUP -> 0003:e590 (seg001:6f90)")
+set_comment(0x936F6, "NE FIXUP -> 0003:e669 (seg001:7069)")
+set_comment(0x93714, "NE FIXUP -> 0003:e669 (seg001:7069)")
+set_comment(0x93745, "NE FIXUP -> 0003:e669 (seg001:7069)")
+set_comment(0x93766, "NE FIXUP -> 0003:e669 (seg001:7069)")
+set_comment(0x9378F, "NE FIXUP -> 0003:e590 (seg001:6f90)")
+set_comment(0x937AC, "NE FIXUP -> 0003:e590 (seg001:6f90)")
+set_comment(0x937C3, "NE FIXUP -> 0003:e669 (seg001:7069)")
+set_comment(0x937EA, "NE FIXUP -> 0003:e590 (seg001:6f90)")
+set_comment(0x93843, "NE FIXUP -> 0003:e721 (seg001:7121)")
+set_comment(0x9386F, "NE FIXUP -> 0003:e590 (seg001:6f90)")
+set_comment(0x93881, "NE FIXUP -> 0003:e590 (seg001:6f90)")
+set_comment(0x938AB, "NE FIXUP -> 0003:e590 (seg001:6f90)")
+set_comment(0x938E2, "NE FIXUP -> 0003:e590 (seg001:6f90)")
+set_comment(0x938FF, "NE FIXUP -> 0003:e590 (seg001:6f90)")
+set_comment(0x9395C, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x9396F, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x9399C, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0x939C1, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x939FA, "NE FIXUP -> 0003:cec8 (seg001:58c8)")
+set_comment(0x93A12, "NE FIXUP -> 0003:e5ff (seg001:6fff)")
+set_comment(0x93A2E, "NE FIXUP -> 0003:e5ff (seg001:6fff)")
+set_comment(0x93AA7, "NE FIXUP -> 0009:1d6a (seg070:016a)")
+set_comment(0x93AC8, "NE FIXUP -> 0009:27c4 (seg070:0bc4)")
+set_comment(0x93AE5, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0x93B04, "NE FIXUP -> 0003:ce26 (seg001:5826)")
+set_comment(0x93B29, "NE FIXUP -> 0003:aaa1 (seg001:34a1)")
+set_comment(0x93B77, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x93B92, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0x93BCF, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x93C17, "NE FIXUP -> 0003:e5ff (seg001:6fff)")
+set_comment(0x93C40, "NE FIXUP -> 0003:e5ff (seg001:6fff)")
+set_comment(0x93C69, "NE FIXUP -> 0003:e5ff (seg001:6fff)")
+set_comment(0x93C7D, "NE FIXUP -> 0003:e5ff (seg001:6fff)")
+set_comment(0x93CAE, "NE FIXUP -> 0003:e5ff (seg001:6fff)")
+set_comment(0x93CC6, "NE FIXUP -> 0003:e5ff (seg001:6fff)")
+set_comment(0x93D16, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x93D29, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x93D4C, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x93DB1, "NE FIXUP -> 0003:b64d (seg001:404d)")
+set_comment(0x93E01, "NE FIXUP -> 000a:500a (seg092:020a)")
+set_comment(0x93E2E, "NE FIXUP -> 0003:ce59 (seg001:5859)")
+set_comment(0x93E73, "NE FIXUP -> 0009:27c4 (seg070:0bc4)")
+set_comment(0x93E94, "NE FIXUP -> 0003:ce26 (seg001:5826)")
+set_comment(0x93EB9, "NE FIXUP -> 0003:aaa1 (seg001:34a1)")
+set_comment(0x93ED7, "NE FIXUP -> 0009:2583 (seg070:0983)")
+set_comment(0x93F56, "NE FIXUP -> 0003:aaa1 (seg001:34a1)")
+set_comment(0x93F8D, "NE FIXUP -> 0003:e721 (seg001:7121)")
+set_comment(0x93FB2, "NE FIXUP -> 0003:e5ff (seg001:6fff)")
+set_comment(0x93FE6, "NE FIXUP -> 0003:e5ff (seg001:6fff)")
+set_comment(0x9402C, "NE FIXUP -> 0003:ce26 (seg001:5826)")
+set_comment(0x94078, "NE FIXUP -> 0003:ce26 (seg001:5826)")
+set_comment(0x94107, "NE FIXUP -> 0003:ce26 (seg001:5826)")
+set_comment(0x9417D, "NE FIXUP -> 0003:ce26 (seg001:5826)")
+set_comment(0x94213, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0x94229, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0x9423F, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0x94255, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0x9427B, "NE FIXUP -> 0003:e5ff (seg001:6fff)")
+set_comment(0x94297, "NE FIXUP -> 0003:e5ff (seg001:6fff)")
+set_comment(0x94611, "NE FIXUP -> 0003:d8df (seg001:62df)")
+set_comment(0x94638, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9465A, "NE FIXUP -> 0009:1d6a (seg070:016a)")
+set_comment(0x9468E, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x946CE, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x946F3, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x94709, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0x9474C, "NE FIXUP -> 000a:500a (seg092:020a)")
+set_comment(0x9476C, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x947B0, "NE FIXUP -> 0009:1d6a (seg070:016a)")
+set_comment(0x947DD, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x94805, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x9481D, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x94848, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x94868, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x94907, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x94928, "NE FIXUP -> 0003:e5ff (seg001:6fff)")
+set_comment(0x9494A, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0x94997, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x949A5, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0x94A32, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x94A40, "NE FIXUP -> 0009:2214 (seg070:0614)")
+set_comment(0x94A61, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0x94AD9, "NE FIXUP -> 0009:1ecc (seg070:02cc)")
+set_comment(0x94AF0, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0x94B05, "NE FIXUP -> 0003:e6ac (seg001:70ac)")
+set_comment(0x94B1F, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x94B3E, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x94B60, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x94B90, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x94BC1, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x94BD5, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0x94C56, "NE FIXUP -> 0009:22fc (seg070:06fc)")
+set_comment(0x94C87, "NE FIXUP -> 0009:2214 (seg070:0614)")
+set_comment(0x94D3E, "NE FIXUP -> 0009:22fc (seg070:06fc)")
+set_comment(0x94D4C, "NE FIXUP -> 0009:2214 (seg070:0614)")
+set_comment(0x94D6C, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x94DA8, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0x94DD8, "NE FIXUP -> 0009:1ecc (seg070:02cc)")
+set_comment(0x94E1A, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x94E61, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x94EE9, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0x94F5F, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x94F7A, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0x94F8C, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0x9520D, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x952E6, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x9530B, "NE FIXUP -> 0003:b8e2 (seg001:42e2)")
+set_comment(0x95332, "NE FIXUP -> 0009:1d6a (seg070:016a)")
+set_comment(0x95366, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0x953B0, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x953DA, "NE FIXUP -> 0003:b665 (seg001:4065)")
+set_comment(0x953F9, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x9540E, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x95454, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0x954A1, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0x954C7, "NE FIXUP -> 0009:22fc (seg070:06fc)")
+set_comment(0x9551F, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x9552D, "NE FIXUP -> 0009:2214 (seg070:0614)")
+set_comment(0x9560E, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x9563B, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0x95720, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x95742, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x957E0, "NE FIXUP -> 0009:4f52 (seg073:0952)")
+set_comment(0x95809, "NE FIXUP -> 0003:e5ff (seg001:6fff)")
+set_comment(0x9584D, "NE FIXUP -> 0009:1800 (seg069:0000)")
+set_comment(0x95862, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x958B1, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x958CA, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x95917, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x95933, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x95960, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x959AC, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0x959B6, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x959DE, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x95A0E, "NE FIXUP -> 0003:e5ff (seg001:6fff)")
+set_comment(0x95A2C, "NE FIXUP -> 0009:4f52 (seg073:0952)")
+set_comment(0x95A57, "NE FIXUP -> 0003:e5cf (seg001:6fcf)")
+set_comment(0x95A73, "NE FIXUP -> 0003:e669 (seg001:7069)")
+set_comment(0x95A9F, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x95AD9, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x95B00, "NE FIXUP -> 0003:d907 (seg001:6307)")
+set_comment(0x95B36, "NE FIXUP -> 0003:b5af (seg001:3faf)")
+set_comment(0x95B4F, "NE FIXUP -> 0003:e669 (seg001:7069)")
+set_comment(0x95B7F, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x95BB9, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x95BFE, "NE FIXUP -> 0003:d907 (seg001:6307)")
+set_comment(0x95C5A, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x95CC2, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x95D09, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x95D33, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x95D7F, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x95D9B, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x95DC9, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x95E00, "NE FIXUP -> 0003:b5af (seg001:3faf)")
+set_comment(0x95E1F, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x95E5A, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x95EA3, "NE FIXUP -> 0003:d92b (seg001:632b)")
+set_comment(0x95EE5, "NE FIXUP -> 0003:e5ff (seg001:6fff)")
+set_comment(0x95F9F, "NE FIXUP -> 0009:c400 (seg083:0000)")
+set_comment(0x95FA9, "NE FIXUP -> 0009:c642 (seg083:0242)")
+set_comment(0x95FBD, "NE FIXUP -> 0003:e669 (seg001:7069)")
+set_comment(0x96001, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x96029, "NE FIXUP -> 0003:e669 (seg001:7069)")
+set_comment(0x96035, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x96074, "NE FIXUP -> 0003:b5af (seg001:3faf)")
+set_comment(0x960BE, "NE FIXUP -> 0003:e5ff (seg001:6fff)")
+set_comment(0x96191, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x961B3, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x96215, "NE FIXUP -> 0003:e669 (seg001:7069)")
+set_comment(0x96242, "NE FIXUP -> 0003:d907 (seg001:6307)")
+set_comment(0x962D3, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x96310, "NE FIXUP -> 0003:e5cf (seg001:6fcf)")
+set_comment(0x963A0, "NE FIXUP -> 0003:e5ff (seg001:6fff)")
+set_comment(0x963CC, "NE FIXUP -> 0003:e669 (seg001:7069)")
+set_comment(0x96401, "NE FIXUP -> 0003:e5cf (seg001:6fcf)")
+set_comment(0x96448, "NE FIXUP -> 0003:e5ff (seg001:6fff)")
+set_comment(0x964D3, "NE FIXUP -> 0003:e5ff (seg001:6fff)")
+set_comment(0x96516, "NE FIXUP -> 0003:e5ff (seg001:6fff)")
+set_comment(0x9665B, "NE FIXUP -> 0009:a229 (seg082:0029)")
+set_comment(0x96677, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x9670F, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x96785, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x9679F, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x967E8, "NE FIXUP -> 0003:e669 (seg001:7069)")
+set_comment(0x9682E, "NE FIXUP -> 0003:e4d3 (seg001:6ed3)")
+set_comment(0x96841, "NE FIXUP -> 0003:e590 (seg001:6f90)")
+set_comment(0x9686A, "NE FIXUP -> 0009:1c3a (seg070:003a)")
+set_comment(0x9687B, "NE FIXUP -> 0003:e669 (seg001:7069)")
+set_comment(0x96894, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x968A9, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x968BE, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x968DD, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x968F7, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x96948, "NE FIXUP -> 0003:e669 (seg001:7069)")
+set_comment(0x9698E, "NE FIXUP -> 0003:e4d3 (seg001:6ed3)")
+set_comment(0x969A1, "NE FIXUP -> 0003:e590 (seg001:6f90)")
+set_comment(0x969CA, "NE FIXUP -> 0009:1c3a (seg070:003a)")
+set_comment(0x969DB, "NE FIXUP -> 0003:e669 (seg001:7069)")
+set_comment(0x969F4, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0x96A09, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x96A1E, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x96E17, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x96E3F, "NE FIXUP -> 0003:b8e2 (seg001:42e2)")
+set_comment(0x96E61, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x96E9D, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x96EBD, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x9763B, "NE FIXUP -> 0009:7905 (seg077:0305)")
+set_comment(0x97648, "NE FIXUP -> 0009:7aa1 (seg077:04a1)")
+set_comment(0x976D1, "NE FIXUP -> 0009:8e70 (seg080:0270)")
+set_comment(0x9774D, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0x97792, "NE FIXUP -> 0009:7905 (seg077:0305)")
+set_comment(0x9779F, "NE FIXUP -> 0009:7aa1 (seg077:04a1)")
+set_comment(0x977C5, "NE FIXUP -> 0009:8e70 (seg080:0270)")
+set_comment(0x97849, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0x9786B, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x97892, "NE FIXUP -> 0003:b8e2 (seg001:42e2)")
+set_comment(0x978B4, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x978EF, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0x9791C, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x97944, "NE FIXUP -> 0003:b8e2 (seg001:42e2)")
+set_comment(0x97966, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x97999, "NE FIXUP -> 0003:d907 (seg001:6307)")
+set_comment(0x979B6, "NE FIXUP -> 0009:1c3a (seg070:003a)")
+set_comment(0x979D2, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x97A0F, "NE FIXUP -> 0003:b8e2 (seg001:42e2)")
+set_comment(0x97A31, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x97A5C, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0x97A69, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0x97A97, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0x98253, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x98283, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x9829C, "NE FIXUP -> 0009:82ae (seg078:04ae)")
+set_comment(0x982C1, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0x982D3, "NE FIXUP -> 0009:8617 (seg079:0017)")
+set_comment(0x982F4, "NE FIXUP -> 0003:e6dd (seg001:70dd)")
+set_comment(0x9831F, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0x98338, "NE FIXUP -> 0009:8600 (seg079:0000)")
+set_comment(0x983FB, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0x9842A, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0x98C2F, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x98C51, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x98D2E, "NE FIXUP -> 0009:a229 (seg082:0029)")
+set_comment(0x98D5B, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x98DCE, "NE FIXUP -> 0009:a24f (seg082:004f)")
+set_comment(0x98DF4, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x98E2E, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x98E56, "NE FIXUP -> 0003:d907 (seg001:6307)")
+set_comment(0x98EB3, "NE FIXUP -> 0009:c47d (seg083:007d)")
+set_comment(0x98ECD, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x98F53, "NE FIXUP -> 0009:8957 (seg079:0357)")
+set_comment(0x98FB7, "NE FIXUP -> 0009:888e (seg079:028e)")
+set_comment(0x99099, "NE FIXUP -> 0009:862b (seg079:002b)")
+set_comment(0x990EB, "NE FIXUP -> 0009:862b (seg079:002b)")
+set_comment(0x991AF, "NE FIXUP -> 0009:862b (seg079:002b)")
+set_comment(0x99201, "NE FIXUP -> 0009:862b (seg079:002b)")
+set_comment(0x99297, "NE FIXUP -> 0009:8771 (seg079:0171)")
+set_comment(0x992CF, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0x99362, "NE FIXUP -> 0009:8957 (seg079:0357)")
+set_comment(0x993A1, "NE FIXUP -> 0009:8957 (seg079:0357)")
+set_comment(0x993E0, "NE FIXUP -> 0009:888e (seg079:028e)")
+set_comment(0x9941F, "NE FIXUP -> 0009:888e (seg079:028e)")
+set_comment(0x99430, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x994E3, "NE FIXUP -> 0009:874d (seg079:014d)")
+set_comment(0x994F4, "NE FIXUP -> 0009:9e92 (seg081:0092)")
+set_comment(0x9953E, "NE FIXUP -> 0009:9e79 (seg081:0079)")
+set_comment(0x9957E, "NE FIXUP -> 0009:9e80 (seg081:0080)")
+set_comment(0x995D6, "NE FIXUP -> 0009:9e8b (seg081:008b)")
+set_comment(0x99610, "NE FIXUP -> 0009:9e84 (seg081:0084)")
+set_comment(0x9965A, "NE FIXUP -> 0009:9e79 (seg081:0079)")
+set_comment(0x9969A, "NE FIXUP -> 0009:9e80 (seg081:0080)")
+set_comment(0x99B1F, "NE FIXUP -> 0009:9e99 (seg081:0099)")
+set_comment(0x9A09B, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x9A0CC, "NE FIXUP -> 0008:f525 (seg065:0525)")
+set_comment(0x9A0FA, "NE FIXUP -> 0008:f3b9 (seg065:03b9)")
+set_comment(0x9A116, "NE FIXUP -> 0008:f4a1 (seg065:04a1)")
+set_comment(0x9A260, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9A28B, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9A304, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0x9A30C, "NE FIXUP -> 0009:c628 (seg083:0228)")
+set_comment(0x9A389, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9A3A7, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9A3F1, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9A407, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9A47B, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9A4A1, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9A4E3, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9A4F9, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9A5D8, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0x9A5E0, "NE FIXUP -> 0009:c628 (seg083:0228)")
+set_comment(0x9A5F8, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9A61E, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9A648, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9A669, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9A710, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9A726, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9A776, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9A823, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9A839, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9A889, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9A8E4, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9A8FA, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9A96C, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9A99B, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9A9D4, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9AA73, "NE FIXUP -> 000a:2800 (seg087:0000)")
+set_comment(0x9AA8F, "NE FIXUP -> 0009:e361 (seg085:0361)")
+set_comment(0x9AA9C, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9AADA, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9AB0E, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9AB80, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9ABFD, "NE FIXUP -> 0003:e4d3 (seg001:6ed3)")
+set_comment(0x9AC63, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9AC72, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9AC90, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9ACA0, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9ACB4, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9ACC8, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9ACDC, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9AD10, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9AD47, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9AD59, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9AD69, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9AD7D, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9AD98, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9ADEB, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9AE28, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9AE46, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9AE83, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9AEA1, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9AEE5, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9AF03, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9AF7D, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9AFB0, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9AFCE, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9B0A6, "NE FIXUP -> 0009:e15f (seg085:015f)")
+set_comment(0x9B109, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9B157, "NE FIXUP -> 0009:e2b4 (seg085:02b4)")
+set_comment(0x9B1B8, "NE FIXUP -> 0009:e1f6 (seg085:01f6)")
+set_comment(0x9B235, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9B240, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0x9B25F, "NE FIXUP -> 0009:c628 (seg083:0228)")
+set_comment(0x9B2E7, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9B2F2, "NE FIXUP -> 0009:e1f6 (seg085:01f6)")
+set_comment(0x9B326, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9B372, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9B398, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9B3F9, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9B4D6, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9B551, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9B560, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9B5CC, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9B5E0, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9B60D, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0x9B620, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9B62C, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9B641, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9B696, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9B6A5, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9B6D0, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9B76C, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9B77B, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9B84B, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9B8C4, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9B8D6, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9B8E8, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0x9BA44, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9BA5F, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9BA76, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9BABC, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9BB80, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9BBA5, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9BBEB, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9BBFD, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0x9BC0F, "NE FIXUP -> 0009:c628 (seg083:0228)")
+set_comment(0x9BC41, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9BC66, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9BC75, "NE FIXUP -> 000a:4a56 (seg091:0656)")
+set_comment(0x9BC86, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9BC92, "NE FIXUP -> 0009:e114 (seg085:0114)")
+set_comment(0x9BCA2, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9BD55, "NE FIXUP -> 0003:c994 (seg001:5394)")
+set_comment(0x9BD6A, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9BD76, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9BD93, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9BDC6, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9BDD2, "NE FIXUP -> 0009:c523 (seg083:0123)")
+set_comment(0x9BDDB, "NE FIXUP -> 0009:e000 (seg085:0000)")
+set_comment(0x9BE0F, "NE FIXUP -> 0003:a845 (seg001:3245)")
+set_comment(0x9BE25, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9BE36, "NE FIXUP -> 0003:c30a (seg001:4d0a)")
+set_comment(0x9BE3B, "NE FIXUP -> 0003:c45d (seg001:4e5d)")
+set_comment(0x9BE48, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9BE50, "NE FIXUP -> 0003:c30a (seg001:4d0a)")
+set_comment(0x9BE80, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0x9C550, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9C80A, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0x9C84F, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0x9C869, "NE FIXUP -> 0009:c611 (seg083:0211)")
+set_comment(0x9C882, "NE FIXUP -> 0009:c496 (seg083:0096)")
+set_comment(0x9C8B2, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x9C930, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x9C950, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9C974, "NE FIXUP -> 0009:a229 (seg082:0029)")
+set_comment(0x9C998, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x9C9B9, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0x9CA14, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x9CA8D, "NE FIXUP -> 0009:c400 (seg083:0000)")
+set_comment(0x9CA97, "NE FIXUP -> 0009:c642 (seg083:0242)")
+set_comment(0x9CAA7, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0x9CADA, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9CB25, "NE FIXUP -> 0009:e15f (seg085:015f)")
+set_comment(0x9CB4C, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0x9CB65, "NE FIXUP -> 0009:c6ae (seg083:02ae)")
+set_comment(0x9CBAC, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0x9CC1A, "NE FIXUP -> 0009:e15f (seg085:015f)")
+set_comment(0x9CC41, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0x9CC8E, "NE FIXUP -> 0009:c6ae (seg083:02ae)")
+set_comment(0x9CCBF, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9CCE3, "NE FIXUP -> 0009:a229 (seg082:0029)")
+set_comment(0x9CD08, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0x9CD29, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0x9CD7D, "NE FIXUP -> 0009:e15f (seg085:015f)")
+set_comment(0x9CDA3, "NE FIXUP -> 0009:c400 (seg083:0000)")
+set_comment(0x9CDB7, "NE FIXUP -> 0009:c642 (seg083:0242)")
+set_comment(0x9CDD0, "NE FIXUP -> 0009:c628 (seg083:0228)")
+set_comment(0x9CDEA, "NE FIXUP -> 0009:c628 (seg083:0228)")
+set_comment(0x9CE04, "NE FIXUP -> 0009:c628 (seg083:0228)")
+set_comment(0x9CE1F, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0x9CE6C, "NE FIXUP -> 0009:c6ae (seg083:02ae)")
+set_comment(0x9CE84, "NE FIXUP -> 0009:e15f (seg085:015f)")
+set_comment(0x9CF06, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0x9CF53, "NE FIXUP -> 0009:c6ae (seg083:02ae)")
+set_comment(0x9CF6B, "NE FIXUP -> 0009:e15f (seg085:015f)")
+set_comment(0x9CFC9, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0x9D012, "NE FIXUP -> 0009:c6ae (seg083:02ae)")
+set_comment(0x9D041, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0x9D060, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0x9D0AD, "NE FIXUP -> 0009:c6ae (seg083:02ae)")
+set_comment(0x9D0BE, "NE FIXUP -> 0009:a24f (seg082:004f)")
+set_comment(0x9D0D9, "NE FIXUP -> 0009:e1f6 (seg085:01f6)")
+set_comment(0x9D121, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9D177, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9D1B5, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9D1F1, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9D221, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9D251, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9D2BD, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0x9D387, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0x9D457, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0x9D4F3, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9D502, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0x9D57A, "NE FIXUP -> 0003:f0c6 (seg001:7ac6)")
+set_comment(0x9D5AF, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9D5BE, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0x9D636, "NE FIXUP -> 0003:f0c6 (seg001:7ac6)")
+set_comment(0x9D64B, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0x9D709, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0x9D7D3, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0x9D88F, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9D8F1, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9D931, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9D970, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9D9A6, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9D9DD, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9DA53, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0x9DB10, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9DB72, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9DBB2, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9DBF1, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9DC29, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9DC62, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0x9E00D, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0x9E015, "NE FIXUP -> 0009:c642 (seg083:0242)")
+set_comment(0x9E276, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0x9E2BB, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0x9E32F, "NE FIXUP -> 0009:c6ae (seg083:02ae)")
+set_comment(0x9E34F, "NE FIXUP -> 0009:c6ae (seg083:02ae)")
+set_comment(0x9E398, "NE FIXUP -> 0009:c628 (seg083:0228)")
+set_comment(0x9E3BB, "NE FIXUP -> 0009:1146 (seg068:0946)")
+set_comment(0xA285C, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xA2A63, "NE FIXUP -> 000a:2b18 (seg087:0318)")
+set_comment(0xA2A95, "NE FIXUP -> 000a:2b18 (seg087:0318)")
+set_comment(0xA2AC7, "NE FIXUP -> 000a:2b18 (seg087:0318)")
+set_comment(0xA2AF7, "NE FIXUP -> 000a:2b18 (seg087:0318)")
+set_comment(0xA2E20, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xA2E37, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA310A, "NE FIXUP -> 0003:e4f5 (seg001:6ef5)")
+set_comment(0xA3177, "NE FIXUP -> 0003:e4f5 (seg001:6ef5)")
+set_comment(0xA31E7, "NE FIXUP -> 0003:e4f5 (seg001:6ef5)")
+set_comment(0xA32B8, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA3319, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xA341F, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xA3807, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA3817, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA3827, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA3852, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xA3860, "NE FIXUP -> 000a:500a (seg092:020a)")
+set_comment(0xA387E, "NE FIXUP -> 0009:1c3a (seg070:003a)")
+set_comment(0xA389C, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xA38BA, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xA38D8, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xA38E5, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xA3902, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xA3923, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xA3944, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xA39AB, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA3A0F, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xA3A67, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA3B00, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA3B68, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xA3BC0, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA3C69, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA3CC8, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xA3D43, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA3DE7, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA3E46, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xA3EC1, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA3F0A, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xA3FB2, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA3FF8, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xA40A0, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA40E6, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xA418E, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA4510, "NE FIXUP -> 000a:4a56 (seg091:0656)")
+set_comment(0xA451A, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0xA452F, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0xA453B, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0xA4545, "NE FIXUP -> 0003:a845 (seg001:3245)")
+set_comment(0xA4591, "NE FIXUP -> 0003:e4f5 (seg001:6ef5)")
+set_comment(0xA45B1, "NE FIXUP -> 0003:e5ff (seg001:6fff)")
+set_comment(0xA45BB, "NE FIXUP -> 000a:4a56 (seg091:0656)")
+set_comment(0xA45C5, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0xA45E0, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0xA45EC, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0xA45F6, "NE FIXUP -> 0003:a845 (seg001:3245)")
+set_comment(0xA4611, "NE FIXUP -> 000a:4a56 (seg091:0656)")
+set_comment(0xA461B, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0xA4630, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0xA463C, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0xA4646, "NE FIXUP -> 0003:a845 (seg001:3245)")
+set_comment(0xA4692, "NE FIXUP -> 0003:e4f5 (seg001:6ef5)")
+set_comment(0xA46A6, "NE FIXUP -> 000a:4a56 (seg091:0656)")
+set_comment(0xA46B0, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0xA46CD, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0xA46D9, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0xA46E3, "NE FIXUP -> 0003:a845 (seg001:3245)")
+set_comment(0xA4700, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0xA471B, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0xA4727, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0xA4732, "NE FIXUP -> 000a:4a56 (seg091:0656)")
+set_comment(0xA473A, "NE FIXUP -> 0003:a845 (seg001:3245)")
+set_comment(0xA476E, "NE FIXUP -> 0003:e4f5 (seg001:6ef5)")
+set_comment(0xA4787, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0xA47BD, "NE FIXUP -> 0003:e4f5 (seg001:6ef5)")
+set_comment(0xA47D4, "NE FIXUP -> 0003:c368 (seg001:4d68)")
+set_comment(0xA47E4, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0xA481A, "NE FIXUP -> 0003:e4f5 (seg001:6ef5)")
+set_comment(0xA4833, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0xA483B, "NE FIXUP -> 0003:c30a (seg001:4d0a)")
+set_comment(0xA486E, "NE FIXUP -> 0003:e4f5 (seg001:6ef5)")
+set_comment(0xA4885, "NE FIXUP -> 0003:c368 (seg001:4d68)")
+set_comment(0xA4895, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0xA4924, "NE FIXUP -> 0009:082b (seg068:002b)")
+set_comment(0xA4929, "NE FIXUP -> 000a:4a1f (seg091:061f)")
+set_comment(0xA494D, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA4968, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xA498B, "NE FIXUP -> 0009:82ae (seg078:04ae)")
+set_comment(0xA49A2, "NE FIXUP -> 0009:83d8 (seg078:05d8)")
+set_comment(0xA49BA, "NE FIXUP -> 0009:82ae (seg078:04ae)")
+set_comment(0xA49CE, "NE FIXUP -> 0009:83d8 (seg078:05d8)")
+set_comment(0xA49E6, "NE FIXUP -> 0009:82ae (seg078:04ae)")
+set_comment(0xA49FA, "NE FIXUP -> 0009:83d8 (seg078:05d8)")
+set_comment(0xA4AB5, "NE FIXUP -> 0009:0d30 (seg068:0530)")
+set_comment(0xA4AC2, "NE FIXUP -> 0003:a845 (seg001:3245)")
+set_comment(0xA4AD1, "NE FIXUP -> 0009:8246 (seg078:0446)")
+set_comment(0xA4ADD, "NE FIXUP -> 0009:5200 (seg074:0000)")
+set_comment(0xA4AF0, "NE FIXUP -> 0009:52c2 (seg074:00c2)")
+set_comment(0xA4E0A, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0xA4E28, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0xA4E66, "NE FIXUP -> 0003:d907 (seg001:6307)")
+set_comment(0xA4E9A, "NE FIXUP -> 0009:c496 (seg083:0096)")
+set_comment(0xA4EAC, "NE FIXUP -> 0009:c496 (seg083:0096)")
+set_comment(0xA4ECF, "NE FIXUP -> 0009:c496 (seg083:0096)")
+set_comment(0xA4EEB, "NE FIXUP -> 0009:c496 (seg083:0096)")
+set_comment(0xA4EFF, "NE FIXUP -> 0003:e669 (seg001:7069)")
+set_comment(0xA4F0E, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA4F30, "NE FIXUP -> 0003:d907 (seg001:6307)")
+set_comment(0xA4F53, "NE FIXUP -> 0003:ce26 (seg001:5826)")
+set_comment(0xA4F8B, "NE FIXUP -> 0003:ce26 (seg001:5826)")
+set_comment(0xA4FE8, "NE FIXUP -> 0003:b621 (seg001:4021)")
+set_comment(0xA501B, "NE FIXUP -> 0003:ce26 (seg001:5826)")
+set_comment(0xA503D, "NE FIXUP -> 0003:ce26 (seg001:5826)")
+set_comment(0xA505D, "NE FIXUP -> 0003:a962 (seg001:3362)")
+set_comment(0xA50AC, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0xA50C6, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0xA51A6, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xA51CA, "NE FIXUP -> 0009:5600 (seg075:0000)")
+set_comment(0xA51E7, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xA51F1, "NE FIXUP -> 000a:5360 (seg092:0560)")
+set_comment(0xA51FF, "NE FIXUP -> 000a:6898 (seg095:0298)")
+set_comment(0xA5209, "NE FIXUP -> 000a:6600 (seg095:0000)")
+set_comment(0xA520F, "NE FIXUP -> 000a:5e00 (seg094:0000)")
+set_comment(0xA5216, "NE FIXUP -> 000d:cca3 (seg139:00a3)")
+set_comment(0xA522D, "NE FIXUP -> 000a:5e59 (seg094:0059)")
+set_comment(0xA5232, "NE FIXUP -> 000d:ccec (seg139:00ec)")
+set_comment(0xA526A, "NE FIXUP -> 000a:67d9 (seg095:01d9)")
+set_comment(0xA528A, "NE FIXUP -> 000a:5f36 (seg094:0136)")
+set_comment(0xA52AC, "NE FIXUP -> 000a:5f36 (seg094:0136)")
+set_comment(0xA52C6, "NE FIXUP -> 000a:6007 (seg094:0207)")
+set_comment(0xA52E4, "NE FIXUP -> 000a:5f36 (seg094:0136)")
+set_comment(0xA5303, "NE FIXUP -> 000a:5f36 (seg094:0136)")
+set_comment(0xA531B, "NE FIXUP -> 000a:63bc (seg094:05bc)")
+set_comment(0xA532E, "NE FIXUP -> 000a:60eb (seg094:02eb)")
+set_comment(0xA5343, "NE FIXUP -> 000a:612e (seg094:032e)")
+set_comment(0xA5354, "NE FIXUP -> 000a:612e (seg094:032e)")
+set_comment(0xA536A, "NE FIXUP -> 000d:cdd0 (seg139:01d0)")
+set_comment(0xA5372, "NE FIXUP -> 000a:63bc (seg094:05bc)")
+set_comment(0xA562E, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xA5647, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0xA567E, "NE FIXUP -> 0008:d27e (seg061:187e)")
+set_comment(0xA568C, "NE FIXUP -> 0008:d3e6 (seg061:19e6)")
+set_comment(0xA569C, "NE FIXUP -> 0008:bca8 (seg061:02a8)")
+set_comment(0xA56C6, "NE FIXUP -> 0008:ccb7 (seg061:12b7)")
+set_comment(0xA56D6, "NE FIXUP -> 0008:d3ba (seg061:19ba)")
+set_comment(0xA56F6, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xA5714, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xA5772, "NE FIXUP -> 0009:0d9b (seg068:059b)")
+set_comment(0xA5793, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0xA585D, "NE FIXUP -> 0009:0e4a (seg068:064a)")
+set_comment(0xA5881, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xA5895, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xA58A9, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0xA58D2, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xA58FB, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xA5939, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xA5974, "NE FIXUP -> 0009:1c3a (seg070:003a)")
+set_comment(0xA597F, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA599E, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0xA59BE, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xA59D6, "NE FIXUP -> 0003:d8df (seg001:62df)")
+set_comment(0xA59EC, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0xA5A06, "NE FIXUP -> 0009:a229 (seg082:0029)")
+set_comment(0xA5A49, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xA5A7D, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA5AC2, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xA5AD5, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xA5AE2, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xA5E0F, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA5E2A, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xA5E45, "NE FIXUP -> 000a:577d (seg093:017d)")
+set_comment(0xA5E6D, "NE FIXUP -> 000a:582d (seg093:022d)")
+set_comment(0xA5E82, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xA5EC2, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0xA5F5E, "NE FIXUP -> 000a:6b2d (seg095:052d)")
+set_comment(0xA609F, "NE FIXUP -> 000a:6b2d (seg095:052d)")
+set_comment(0xA61F4, "NE FIXUP -> 000d:d3b9 (seg139:07b9)")
+set_comment(0xA629F, "NE FIXUP -> 000a:6b2d (seg095:052d)")
+set_comment(0xA631C, "NE FIXUP -> 000d:d3b9 (seg139:07b9)")
+set_comment(0xA6612, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA662D, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xA6639, "NE FIXUP -> 0009:e15f (seg085:015f)")
+set_comment(0xA6669, "NE FIXUP -> 0009:c496 (seg083:0096)")
+set_comment(0xA6692, "NE FIXUP -> 0009:c400 (seg083:0000)")
+set_comment(0xA669C, "NE FIXUP -> 0009:c6ae (seg083:02ae)")
+set_comment(0xA66B9, "NE FIXUP -> 0009:af87 (seg082:0d87)")
+set_comment(0xA66D8, "NE FIXUP -> 0009:b06b (seg082:0e6b)")
+set_comment(0xA66F5, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xA6705, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0xA6719, "NE FIXUP -> 000a:3683 (seg089:0283)")
+set_comment(0xA6728, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA6743, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xA6751, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA676C, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xA6776, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA67C9, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xA67F1, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xA6812, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xA6864, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xA6885, "NE FIXUP -> 0009:a24f (seg082:004f)")
+set_comment(0xA68C6, "NE FIXUP -> 000a:3683 (seg089:0283)")
+set_comment(0xA68D7, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA692B, "NE FIXUP -> 000a:346e (seg089:006e)")
+set_comment(0xA6981, "NE FIXUP -> 0009:c496 (seg083:0096)")
+set_comment(0xA69AA, "NE FIXUP -> 0009:c400 (seg083:0000)")
+set_comment(0xA69B4, "NE FIXUP -> 0009:c6ae (seg083:02ae)")
+set_comment(0xA69DA, "NE FIXUP -> 000a:2bd1 (seg087:03d1)")
+set_comment(0xA69EA, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA6A44, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xA6A7B, "NE FIXUP -> 000a:2866 (seg087:0066)")
+set_comment(0xA6ABC, "NE FIXUP -> 000a:62d8 (seg094:04d8)")
+set_comment(0xA6AE0, "NE FIXUP -> 0009:c496 (seg083:0096)")
+set_comment(0xA6B09, "NE FIXUP -> 0009:c400 (seg083:0000)")
+set_comment(0xA6B13, "NE FIXUP -> 0009:c6ae (seg083:02ae)")
+set_comment(0xA6BEF, "NE FIXUP -> 000a:34c2 (seg089:00c2)")
+set_comment(0xA6C04, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xA6C5D, "NE FIXUP -> 0009:c400 (seg083:0000)")
+set_comment(0xA6C67, "NE FIXUP -> 0009:c6ae (seg083:02ae)")
+set_comment(0xA6C99, "NE FIXUP -> 0009:c496 (seg083:0096)")
+set_comment(0xA6CEC, "NE FIXUP -> 000a:34c2 (seg089:00c2)")
+set_comment(0xA6D25, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xA6D71, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA6E02, "NE FIXUP -> 000a:291c (seg087:011c)")
+set_comment(0xA6E47, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xA6E99, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA6F28, "NE FIXUP -> 000a:28c1 (seg087:00c1)")
+set_comment(0xA6F3C, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xA6FBC, "NE FIXUP -> 000a:2b9d (seg087:039d)")
+set_comment(0xA7003, "NE FIXUP -> 000a:2b9d (seg087:039d)")
+set_comment(0xA701E, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xA7034, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xA70B9, "NE FIXUP -> 000a:2800 (seg087:0000)")
+set_comment(0xA70F7, "NE FIXUP -> 0009:c496 (seg083:0096)")
+set_comment(0xA710E, "NE FIXUP -> 000a:2b18 (seg087:0318)")
+set_comment(0xA714A, "NE FIXUP -> 000a:291c (seg087:011c)")
+set_comment(0xA717E, "NE FIXUP -> 000a:2b9d (seg087:039d)")
+set_comment(0xA71B0, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xA71E4, "NE FIXUP -> 000a:3683 (seg089:0283)")
+set_comment(0xA720A, "NE FIXUP -> 000a:3683 (seg089:0283)")
+set_comment(0xA721E, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xA723F, "NE FIXUP -> 000a:283d (seg087:003d)")
+set_comment(0xA7253, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xA727A, "NE FIXUP -> 000a:3400 (seg089:0000)")
+set_comment(0xA728E, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xA7619, "NE FIXUP -> 0009:92d9 (seg080:06d9)")
+set_comment(0xA7641, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xA7667, "NE FIXUP -> 0009:92d9 (seg080:06d9)")
+set_comment(0xA768F, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xA76D1, "NE FIXUP -> 0009:888e (seg079:028e)")
+set_comment(0xA7715, "NE FIXUP -> 0009:8957 (seg079:0357)")
+set_comment(0xA7757, "NE FIXUP -> 0009:8957 (seg079:0357)")
+set_comment(0xA779B, "NE FIXUP -> 0009:888e (seg079:028e)")
+set_comment(0xA77C1, "NE FIXUP -> 0009:92d9 (seg080:06d9)")
+set_comment(0xA77E9, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xA7814, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0xA7841, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0xA7858, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xA788B, "NE FIXUP -> 000a:c000 (seg102:0000)")
+set_comment(0xA794C, "NE FIXUP -> 000a:c06b (seg102:006b)")
+set_comment(0xA7960, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xA7975, "NE FIXUP -> 000a:9748 (seg099:0148)")
+set_comment(0xA7A59, "NE FIXUP -> 000a:c267 (seg102:0267)")
+set_comment(0xA7AA9, "NE FIXUP -> 0003:e4f5 (seg001:6ef5)")
+set_comment(0xA7AFB, "NE FIXUP -> 000b:3a35 (seg109:0c35)")
+set_comment(0xA7B0D, "NE FIXUP -> 000b:3a00 (seg109:0c00)")
+set_comment(0xA7B24, "NE FIXUP -> 000a:3144 (seg088:0344)")
+set_comment(0xA7B6E, "NE FIXUP -> 000b:3943 (seg109:0b43)")
+set_comment(0xA7FE4, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA805A, "NE FIXUP -> 000a:28c1 (seg087:00c1)")
+set_comment(0xA80A9, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xA80BA, "NE FIXUP -> 000a:2b9d (seg087:039d)")
+set_comment(0xA82FB, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA8361, "NE FIXUP -> 000a:28c1 (seg087:00c1)")
+set_comment(0xA842F, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA8495, "NE FIXUP -> 000a:28c1 (seg087:00c1)")
+set_comment(0xA84E1, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA8547, "NE FIXUP -> 000a:28c1 (seg087:00c1)")
+set_comment(0xA858E, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xA85A8, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xA8605, "NE FIXUP -> 000a:2b9d (seg087:039d)")
+set_comment(0xA8618, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xA8637, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xA864F, "NE FIXUP -> 0008:ba00 (seg061:0000)")
+set_comment(0xA868A, "NE FIXUP -> 0008:ccb7 (seg061:12b7)")
+set_comment(0xA86DC, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xA86F0, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xA8704, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0xA8789, "NE FIXUP -> 000b:2893 (seg108:0e93)")
+set_comment(0xA87BC, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xA87CC, "NE FIXUP -> 000b:2941 (seg108:0f41)")
+set_comment(0xA87DD, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xA87ED, "NE FIXUP -> 000a:2bd1 (seg087:03d1)")
+set_comment(0xA89A7, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA8A13, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA8A5C, "NE FIXUP -> 000a:2bd1 (seg087:03d1)")
+set_comment(0xA8A93, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xA8AFD, "NE FIXUP -> 0003:c30a (seg001:4d0a)")
+set_comment(0xA8B3A, "NE FIXUP -> 000a:2bd1 (seg087:03d1)")
+set_comment(0xA8B8D, "NE FIXUP -> 000a:283d (seg087:003d)")
+set_comment(0xA8BA1, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xA8E29, "NE FIXUP -> 000b:2e6f (seg109:006f)")
+set_comment(0xA8E56, "NE FIXUP -> 000b:4053 (seg109:1253)")
+set_comment(0xA8E99, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xA8EA9, "NE FIXUP -> 000b:2e9b (seg109:009b)")
+set_comment(0xA8EE8, "NE FIXUP -> 000b:4082 (seg109:1282)")
+set_comment(0xA8F07, "NE FIXUP -> 000b:3943 (seg109:0b43)")
+set_comment(0xA8F37, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xA8F47, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xA8F60, "NE FIXUP -> 000b:3943 (seg109:0b43)")
+set_comment(0xA8F90, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xA8FC1, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xA8FE0, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xA902C, "NE FIXUP -> 000b:316a (seg109:036a)")
+set_comment(0xA9070, "NE FIXUP -> 000b:2e9b (seg109:009b)")
+set_comment(0xA909D, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xA90B7, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xA9103, "NE FIXUP -> 000b:316a (seg109:036a)")
+set_comment(0xA9138, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xA917D, "NE FIXUP -> 000b:2e6f (seg109:006f)")
+set_comment(0xA91CB, "NE FIXUP -> 000b:4053 (seg109:1253)")
+set_comment(0xA920D, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xA925A, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xA926A, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xA927A, "NE FIXUP -> 000b:2e9b (seg109:009b)")
+set_comment(0xA9299, "NE FIXUP -> 000b:4082 (seg109:1282)")
+set_comment(0xA92C3, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xA9388, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xA9398, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xA93B9, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xA93CD, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xA93F3, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xA9407, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xA942D, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xA9441, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xA9467, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xA947B, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xA9617, "NE FIXUP -> 0004:ac6a (seg014:026a)")
+set_comment(0xA9655, "NE FIXUP -> 0004:ac6a (seg014:026a)")
+set_comment(0xA9679, "NE FIXUP -> 0009:9e61 (seg081:0061)")
+set_comment(0xA969E, "NE FIXUP -> 0004:ac6a (seg014:026a)")
+set_comment(0xA96D7, "NE FIXUP -> 0004:ac6a (seg014:026a)")
+set_comment(0xA9710, "NE FIXUP -> 0004:ac6a (seg014:026a)")
+set_comment(0xA9755, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA976D, "NE FIXUP -> 000a:2e2a (seg088:002a)")
+set_comment(0xA9790, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0xA97BE, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA97D6, "NE FIXUP -> 000a:2e2a (seg088:002a)")
+set_comment(0xA97F5, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xA9828, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xA983E, "NE FIXUP -> 0004:aa00 (seg014:0000)")
+set_comment(0xA985A, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xA9877, "NE FIXUP -> 0004:aaed (seg014:00ed)")
+set_comment(0xA98DF, "NE FIXUP -> 000a:2e00 (seg088:0000)")
+set_comment(0xA98F3, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xA990D, "NE FIXUP -> 000a:307d (seg088:027d)")
+set_comment(0xA9926, "NE FIXUP -> 000a:30aa (seg088:02aa)")
+set_comment(0xA994B, "NE FIXUP -> 000a:2ff9 (seg088:01f9)")
+set_comment(0xA9C10, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xA9C54, "NE FIXUP -> 000b:316a (seg109:036a)")
+set_comment(0xA9C83, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA9CA1, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xA9CD9, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xA9D18, "NE FIXUP -> 000b:7000 (seg114:0000)")
+set_comment(0xA9DAF, "NE FIXUP -> 000a:ec00 (seg105:0000)")
+set_comment(0xA9E18, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xA9E2B, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xA9E3B, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xA9E4F, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xA9EE5, "NE FIXUP -> 0003:e6dd (seg001:70dd)")
+set_comment(0xA9F85, "NE FIXUP -> 000a:f306 (seg105:0706)")
+set_comment(0xA9FB3, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xA9FE3, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xA9FF3, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xAA064, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xAA094, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xAA0A4, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xAA122, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xAA152, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xAA162, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xAA1F1, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xAA221, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xAA231, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xAA457, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xAA46F, "NE FIXUP -> 0008:cefb (seg061:14fb)")
+set_comment(0xAA49E, "NE FIXUP -> 0008:ccb7 (seg061:12b7)")
+set_comment(0xAA4AC, "NE FIXUP -> 0008:d12a (seg061:172a)")
+set_comment(0xAA4BA, "NE FIXUP -> 0008:d1a4 (seg061:17a4)")
+set_comment(0xAA513, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xAA527, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xAA53B, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0xAA555, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xAA622, "NE FIXUP -> 000a:e8ed (seg104:02ed)")
+set_comment(0xAA658, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xAA671, "NE FIXUP -> 000a:e8ed (seg104:02ed)")
+set_comment(0xAA693, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xAA6E7, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xAA71D, "NE FIXUP -> 0003:b8e2 (seg001:42e2)")
+set_comment(0xAA73E, "NE FIXUP -> 0003:b8e2 (seg001:42e2)")
+set_comment(0xAA797, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xAA7F5, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xAA80C, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xAA81F, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0xAA846, "NE FIXUP -> 000a:47ee (seg091:03ee)")
+set_comment(0xAA881, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xAA8ED, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xAA949, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xAA959, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xAA969, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xAA9AF, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0xAA9C6, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0xAA9D6, "NE FIXUP -> 0009:2214 (seg070:0614)")
+set_comment(0xAA9E6, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xAAA03, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xAAA13, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xAAA6C, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xAAA8D, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xAAACD, "NE FIXUP -> 000b:281f (seg108:0e1f)")
+set_comment(0xAAB2D, "NE FIXUP -> 000a:e942 (seg104:0342)")
+set_comment(0xAAB3D, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xAAB66, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xAAC52, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xAAC92, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xAACB3, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xAAD0F, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xAAE18, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xAAE91, "NE FIXUP -> 000b:415d (seg109:135d)")
+set_comment(0xAAF2D, "NE FIXUP -> 000b:3a00 (seg109:0c00)")
+set_comment(0xAAF48, "NE FIXUP -> 000b:3a35 (seg109:0c35)")
+set_comment(0xAAFA7, "NE FIXUP -> 000b:3755 (seg109:0955)")
+set_comment(0xAAFC2, "NE FIXUP -> 000b:415d (seg109:135d)")
+set_comment(0xAB05D, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xAB0A3, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xAB160, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xAB190, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xAB1E1, "NE FIXUP -> 000b:33d4 (seg109:05d4)")
+set_comment(0xAB24F, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xAB2B2, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xAB348, "NE FIXUP -> 000b:311f (seg109:031f)")
+set_comment(0xAB3FF, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xAB458, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0xAB48E, "NE FIXUP -> 0009:22b8 (seg070:06b8)")
+set_comment(0xAB4A4, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0xAB4C2, "NE FIXUP -> 000a:47ee (seg091:03ee)")
+set_comment(0xAB4FD, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0xAB514, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xAB5B2, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xAB5F5, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0xAB60C, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0xAB61C, "NE FIXUP -> 0009:2214 (seg070:0614)")
+set_comment(0xAB73A, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xAB7A0, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xAB7BC, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xAB7D2, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xAB804, "NE FIXUP -> 000b:316a (seg109:036a)")
+set_comment(0xAB89F, "NE FIXUP -> 000b:2f61 (seg109:0161)")
+set_comment(0xAB8AF, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xAB8F6, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xAB91A, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xAB978, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xAB9B0, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xAB9B8, "NE FIXUP -> 000a:4a1f (seg091:061f)")
+set_comment(0xABA08, "NE FIXUP -> 000b:1e39 (seg108:0439)")
+set_comment(0xABA89, "NE FIXUP -> 000b:1e39 (seg108:0439)")
+set_comment(0xABAA6, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xABB1A, "NE FIXUP -> 0003:b8e2 (seg001:42e2)")
+set_comment(0xABB53, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xABB6A, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xABB99, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xABBAD, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xAC00D, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xAC044, "NE FIXUP -> 000b:316a (seg109:036a)")
+set_comment(0xAC093, "NE FIXUP -> 0009:8e0a (seg080:020a)")
+set_comment(0xAC0A8, "NE FIXUP -> 0009:8e0a (seg080:020a)")
+set_comment(0xAC0B8, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xAC0CC, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xAC13F, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xAC162, "NE FIXUP -> 000a:87fd (seg097:09fd)")
+set_comment(0xAC207, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xAC23A, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xAC25D, "NE FIXUP -> 000a:87fd (seg097:09fd)")
+set_comment(0xAC273, "NE FIXUP -> 000b:2e9b (seg109:009b)")
+set_comment(0xAC299, "NE FIXUP -> 0009:8e0a (seg080:020a)")
+set_comment(0xAC2AE, "NE FIXUP -> 0009:8e0a (seg080:020a)")
+set_comment(0xAC2D3, "NE FIXUP -> 000b:2f7a (seg109:017a)")
+set_comment(0xAC2E8, "NE FIXUP -> 0003:aa5d (seg001:345d)")
+set_comment(0xAC30B, "NE FIXUP -> 000b:4082 (seg109:1282)")
+set_comment(0xAC31B, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xAC32B, "NE FIXUP -> 000b:2e6f (seg109:006f)")
+set_comment(0xAC346, "NE FIXUP -> 000b:4053 (seg109:1253)")
+set_comment(0xAC356, "NE FIXUP -> 000b:3965 (seg109:0b65)")
+set_comment(0xAC364, "NE FIXUP -> 000b:3ed8 (seg109:10d8)")
+set_comment(0xAC379, "NE FIXUP -> 0003:aa5d (seg001:345d)")
+set_comment(0xAC3AF, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xAC3D6, "NE FIXUP -> 0009:8c93 (seg080:0093)")
+set_comment(0xAC42A, "NE FIXUP -> 000b:3a00 (seg109:0c00)")
+set_comment(0xAC43B, "NE FIXUP -> 000b:3a35 (seg109:0c35)")
+set_comment(0xAC481, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xAC4AF, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xAC4D6, "NE FIXUP -> 0009:8c93 (seg080:0093)")
+set_comment(0xAC50A, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xAC5C3, "NE FIXUP -> 000b:33d4 (seg109:05d4)")
+set_comment(0xAC5F0, "NE FIXUP -> 000b:3965 (seg109:0b65)")
+set_comment(0xAC692, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xAC70A, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xACA11, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xACA51, "NE FIXUP -> 000a:9c00 (seg100:0000)")
+set_comment(0xACAAB, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xACBB5, "NE FIXUP -> 0009:3b6a (seg072:056a)")
+set_comment(0xACBCF, "NE FIXUP -> 0009:392e (seg072:032e)")
+set_comment(0xACBE5, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0xACBFD, "NE FIXUP -> 0009:3e0d (seg072:080d)")
+set_comment(0xACC17, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xACC3A, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xACC4F, "NE FIXUP -> 0009:41aa (seg072:0baa)")
+set_comment(0xACC59, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xACC99, "NE FIXUP -> 0003:e4d3 (seg001:6ed3)")
+set_comment(0xACCA8, "NE FIXUP -> 0009:3e0d (seg072:080d)")
+set_comment(0xACCEA, "NE FIXUP -> 000a:f35f (seg105:075f)")
+set_comment(0xACD01, "NE FIXUP -> 000a:f306 (seg105:0706)")
+set_comment(0xACD11, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0xACD50, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xACD84, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xACDB1, "NE FIXUP -> 000a:f35f (seg105:075f)")
+set_comment(0xACE00, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xACE65, "NE FIXUP -> 000a:500a (seg092:020a)")
+set_comment(0xACE93, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xACEA3, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xACEBA, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xACEFD, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xACF0D, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xACF2F, "NE FIXUP -> 0003:d760 (seg001:6160)")
+set_comment(0xACF50, "NE FIXUP -> 0009:392e (seg072:032e)")
+set_comment(0xACF95, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xACFEC, "NE FIXUP -> 000a:f306 (seg105:0706)")
+set_comment(0xAD04E, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0xAD086, "NE FIXUP -> 0009:392e (seg072:032e)")
+set_comment(0xAD0B0, "NE FIXUP -> 0009:392e (seg072:032e)")
+set_comment(0xAD128, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xAD17F, "NE FIXUP -> 000a:f306 (seg105:0706)")
+set_comment(0xAD1E1, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0xAD1F1, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0xAD20A, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xAD24B, "NE FIXUP -> 000a:ec00 (seg105:0000)")
+set_comment(0xAD2C2, "NE FIXUP -> 0009:392e (seg072:032e)")
+set_comment(0xAD30F, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xAD34D, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xAD379, "NE FIXUP -> 000a:f35f (seg105:075f)")
+set_comment(0xAD397, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xAD3A7, "NE FIXUP -> 0009:392e (seg072:032e)")
+set_comment(0xAD3BF, "NE FIXUP -> 0009:3e0d (seg072:080d)")
+set_comment(0xAD3D5, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xAD3F9, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xAD403, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xAD430, "NE FIXUP -> 0009:41aa (seg072:0baa)")
+set_comment(0xAD49A, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xAD4E2, "NE FIXUP -> 0003:e4d3 (seg001:6ed3)")
+set_comment(0xAD50B, "NE FIXUP -> 0003:e4d3 (seg001:6ed3)")
+set_comment(0xAD51C, "NE FIXUP -> 0009:3e0d (seg072:080d)")
+set_comment(0xAD55A, "NE FIXUP -> 000a:f35f (seg105:075f)")
+set_comment(0xAD56C, "NE FIXUP -> 000a:f306 (seg105:0706)")
+set_comment(0xAD57C, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0xAD59F, "NE FIXUP -> 000a:f020 (seg105:0420)")
+set_comment(0xAD5AD, "NE FIXUP -> 000b:2e85 (seg109:0085)")
+set_comment(0xAD60D, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xAD640, "NE FIXUP -> 0009:392e (seg072:032e)")
+set_comment(0xAD691, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0xAD705, "NE FIXUP -> 0009:4268 (seg072:0c68)")
+set_comment(0xAD723, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xAD750, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xAD774, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xAD784, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0xAD7A3, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xAD800, "NE FIXUP -> 000a:784b (seg096:024b)")
+set_comment(0xAD81A, "NE FIXUP -> 0009:3b6a (seg072:056a)")
+set_comment(0xAD86A, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xAD895, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xAD8F6, "NE FIXUP -> 000b:6a00 (seg113:0000)")
+set_comment(0xAD980, "NE FIXUP -> 0003:a738 (seg001:3138)")
+set_comment(0xAD9B1, "NE FIXUP -> 0003:e4d3 (seg001:6ed3)")
+set_comment(0xAD9E4, "NE FIXUP -> 0003:a8b3 (seg001:32b3)")
+set_comment(0xADA0A, "NE FIXUP -> 0003:e4d3 (seg001:6ed3)")
+set_comment(0xADAF8, "NE FIXUP -> 000b:6a00 (seg113:0000)")
+set_comment(0xADB69, "NE FIXUP -> 000b:6a00 (seg113:0000)")
+set_comment(0xADBC3, "NE FIXUP -> 0003:a7a0 (seg001:31a0)")
+set_comment(0xADBF4, "NE FIXUP -> 0003:a703 (seg001:3103)")
+set_comment(0xADC34, "NE FIXUP -> 000b:6a00 (seg113:0000)")
+set_comment(0xADCC5, "NE FIXUP -> 0003:a703 (seg001:3103)")
+set_comment(0xADD13, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xADD33, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0xADD43, "NE FIXUP -> 000a:78e4 (seg096:02e4)")
+set_comment(0xADD57, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xADD72, "NE FIXUP -> 000a:798a (seg096:038a)")
+set_comment(0xADDAE, "NE FIXUP -> 000b:30e4 (seg109:02e4)")
+set_comment(0xADDC8, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xADE83, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xADED5, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xADEE5, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xADF11, "NE FIXUP -> 0009:3b6a (seg072:056a)")
+set_comment(0xADF34, "NE FIXUP -> 000b:30e4 (seg109:02e4)")
+set_comment(0xADF56, "NE FIXUP -> 0009:392e (seg072:032e)")
+set_comment(0xADF64, "NE FIXUP -> 000a:a23d (seg100:063d)")
+set_comment(0xADF90, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0xADFAC, "NE FIXUP -> 0009:392e (seg072:032e)")
+set_comment(0xAE02E, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0xAE070, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xAE084, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xAE0AA, "NE FIXUP -> 000a:9df9 (seg100:01f9)")
+set_comment(0xAE0BE, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xAE616, "NE FIXUP -> 000a:e663 (seg104:0063)")
+set_comment(0xAE631, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xAE64E, "NE FIXUP -> 000a:e6bc (seg104:00bc)")
+set_comment(0xAE670, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xAE691, "NE FIXUP -> 0004:aa00 (seg014:0000)")
+set_comment(0xAE6AC, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xAE6DE, "NE FIXUP -> 0004:aaed (seg014:00ed)")
+set_comment(0xAE6FE, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xAE73F, "NE FIXUP -> 0004:ac6a (seg014:026a)")
+set_comment(0xAE763, "NE FIXUP -> 0009:9e61 (seg081:0061)")
+set_comment(0xAE788, "NE FIXUP -> 0004:ac6a (seg014:026a)")
+set_comment(0xAE7C4, "NE FIXUP -> 0009:9e71 (seg081:0071)")
+set_comment(0xAE7ED, "NE FIXUP -> 0004:ac6a (seg014:026a)")
+set_comment(0xAE838, "NE FIXUP -> 0007:47c8 (seg041:01c8)")
+set_comment(0xAE86A, "NE FIXUP -> 0004:ac6a (seg014:026a)")
+set_comment(0xAE8E3, "NE FIXUP -> 0004:ac6a (seg014:026a)")
+set_comment(0xAE92B, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xAE9C4, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xAEC10, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xAEC54, "NE FIXUP -> 000b:316a (seg109:036a)")
+set_comment(0xAECD5, "NE FIXUP -> 000b:5d4c (seg112:0d4c)")
+set_comment(0xAECFF, "NE FIXUP -> 000b:3d2a (seg109:0f2a)")
+set_comment(0xAED62, "NE FIXUP -> 0009:92d9 (seg080:06d9)")
+set_comment(0xAEDA0, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xAEE5B, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xAEEAD, "NE FIXUP -> 000a:3144 (seg088:0344)")
+set_comment(0xAEF84, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xAEF94, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xAF001, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xAF02C, "NE FIXUP -> 000b:2e6f (seg109:006f)")
+set_comment(0xAF04D, "NE FIXUP -> 000b:4053 (seg109:1253)")
+set_comment(0xAF075, "NE FIXUP -> 000b:2e9b (seg109:009b)")
+set_comment(0xAF092, "NE FIXUP -> 000b:4082 (seg109:1282)")
+set_comment(0xAF0BE, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xAF0CE, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xAF0DE, "NE FIXUP -> 000b:2e85 (seg109:0085)")
+set_comment(0xAF126, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xAF136, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xAF16D, "NE FIXUP -> 000b:3943 (seg109:0b43)")
+set_comment(0xAF218, "NE FIXUP -> 000b:3a7d (seg109:0c7d)")
+set_comment(0xAF25D, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xAF2DC, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xAF2EC, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xAF2FC, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xAF354, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xAF5D3, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xAF5E7, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xAF934, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xAF969, "NE FIXUP -> 000b:316a (seg109:036a)")
+set_comment(0xAF9D4, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xAF9EB, "NE FIXUP -> 000b:3965 (seg109:0b65)")
+set_comment(0xAFA62, "NE FIXUP -> 000b:3a00 (seg109:0c00)")
+set_comment(0xAFA78, "NE FIXUP -> 000b:3a35 (seg109:0c35)")
+set_comment(0xAFABC, "NE FIXUP -> 000b:3f8e (seg109:118e)")
+set_comment(0xAFAD3, "NE FIXUP -> 000b:2e6f (seg109:006f)")
+set_comment(0xAFAEB, "NE FIXUP -> 000b:4053 (seg109:1253)")
+set_comment(0xAFB14, "NE FIXUP -> 000b:2e9b (seg109:009b)")
+set_comment(0xAFB52, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xAFB62, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xAFB76, "NE FIXUP -> 000b:3943 (seg109:0b43)")
+set_comment(0xAFBB1, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xAFBC1, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xAFBCF, "NE FIXUP -> 000b:4082 (seg109:1282)")
+set_comment(0xAFC16, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xAFC2A, "NE FIXUP -> 000b:3943 (seg109:0b43)")
+set_comment(0xAFC58, "NE FIXUP -> 0003:aa5d (seg001:345d)")
+set_comment(0xAFC7F, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xAFCFD, "NE FIXUP -> 000b:2f7a (seg109:017a)")
+set_comment(0xAFD12, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xAFD2A, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xAFD56, "NE FIXUP -> 000b:3943 (seg109:0b43)")
+set_comment(0xAFDA0, "NE FIXUP -> 0003:aa5d (seg001:345d)")
+set_comment(0xAFDC7, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xAFDDB, "NE FIXUP -> 000b:4053 (seg109:1253)")
+set_comment(0xAFE75, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xAFE85, "NE FIXUP -> 000b:3a00 (seg109:0c00)")
+set_comment(0xAFE9B, "NE FIXUP -> 000b:3a35 (seg109:0c35)")
+set_comment(0xAFEB1, "NE FIXUP -> 000b:3a00 (seg109:0c00)")
+set_comment(0xAFEC7, "NE FIXUP -> 000b:3a35 (seg109:0c35)")
+set_comment(0xAFEE4, "NE FIXUP -> 000b:3755 (seg109:0955)")
+set_comment(0xAFF50, "NE FIXUP -> 000b:3965 (seg109:0b65)")
+set_comment(0xAFF84, "NE FIXUP -> 000b:3ed8 (seg109:10d8)")
+set_comment(0xAFFD8, "NE FIXUP -> 000b:4053 (seg109:1253)")
+set_comment(0xB0050, "NE FIXUP -> 000b:3965 (seg109:0b65)")
+set_comment(0xB0084, "NE FIXUP -> 000b:2f61 (seg109:0161)")
+set_comment(0xB011B, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xB019F, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xB020A, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xB024D, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xB02C5, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0xB0301, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0xB032F, "NE FIXUP -> 000a:2ff9 (seg088:01f9)")
+set_comment(0xB0352, "NE FIXUP -> 000b:2e6f (seg109:006f)")
+set_comment(0xB0379, "NE FIXUP -> 000b:2e9b (seg109:009b)")
+set_comment(0xB0391, "NE FIXUP -> 000b:3943 (seg109:0b43)")
+set_comment(0xB0462, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0xB0486, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0xB053D, "NE FIXUP -> 0009:92d9 (seg080:06d9)")
+set_comment(0xB0575, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xB05C6, "NE FIXUP -> 000b:3965 (seg109:0b65)")
+set_comment(0xB0604, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB061D, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xB0671, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xB06FD, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xB0758, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xB0780, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xB07C2, "NE FIXUP -> 000b:316a (seg109:036a)")
+set_comment(0xB0804, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xB08A7, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xB098A, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xB09BB, "NE FIXUP -> 000b:2f61 (seg109:0161)")
+set_comment(0xB0A44, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xB0A6E, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xB0A7E, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xB0A98, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xB0AE6, "NE FIXUP -> 000b:316a (seg109:036a)")
+set_comment(0xB0B30, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xB0B5B, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xB0BA5, "NE FIXUP -> 000a:2ff9 (seg088:01f9)")
+set_comment(0xB0C02, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xB0CE2, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xB0D13, "NE FIXUP -> 000b:2f61 (seg109:0161)")
+set_comment(0xB0DA4, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xB0E41, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0xB0E77, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xB0E8B, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xB0EA3, "NE FIXUP -> 000b:3ed8 (seg109:10d8)")
+set_comment(0xB0EC4, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xB0ED8, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xB0EFE, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xB0F12, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xB0F38, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xB0F4C, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xB0F72, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xB0F86, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xB143C, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xB1457, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xB14A8, "NE FIXUP -> 000a:784b (seg096:024b)")
+set_comment(0xB14DA, "NE FIXUP -> 000b:6a00 (seg113:0000)")
+set_comment(0xB152F, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xB155B, "NE FIXUP -> 000a:2ff9 (seg088:01f9)")
+set_comment(0xB165E, "NE FIXUP -> 000b:3a00 (seg109:0c00)")
+set_comment(0xB1675, "NE FIXUP -> 000b:3a35 (seg109:0c35)")
+set_comment(0xB16A0, "NE FIXUP -> 000b:3d2a (seg109:0f2a)")
+set_comment(0xB16F4, "NE FIXUP -> 000a:798a (seg096:038a)")
+set_comment(0xB1778, "NE FIXUP -> 000a:2ff9 (seg088:01f9)")
+set_comment(0xB17B8, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0xB17E4, "NE FIXUP -> 000a:78e4 (seg096:02e4)")
+set_comment(0xB17F8, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xB1A12, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xB1A2D, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0xB1A63, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xB1A8F, "NE FIXUP -> 0008:d27e (seg061:187e)")
+set_comment(0xB1A9D, "NE FIXUP -> 0008:d0b0 (seg061:16b0)")
+set_comment(0xB1AAD, "NE FIXUP -> 0008:d3ba (seg061:19ba)")
+set_comment(0xB1ABB, "NE FIXUP -> 0008:d3e6 (seg061:19e6)")
+set_comment(0xB1AC9, "NE FIXUP -> 0008:ccb7 (seg061:12b7)")
+set_comment(0xB1B1F, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xB1B47, "NE FIXUP -> 0009:8c93 (seg080:0093)")
+set_comment(0xB1B89, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xB1BB1, "NE FIXUP -> 0009:8c93 (seg080:0093)")
+set_comment(0xB1CFD, "NE FIXUP -> 0008:55bf (seg056:05bf)")
+set_comment(0xB1D38, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xB1D4C, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xB1D60, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xB1D74, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0xB1D8E, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xB1DBF, "NE FIXUP -> 0009:8e0a (seg080:020a)")
+set_comment(0xB1DD1, "NE FIXUP -> 0009:8e0a (seg080:020a)")
+set_comment(0xB1E23, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xB1E41, "NE FIXUP -> 0008:55cf (seg056:05cf)")
+set_comment(0xB1E4E, "NE FIXUP -> 0008:55df (seg056:05df)")
+set_comment(0xB1EB8, "NE FIXUP -> 000a:c652 (seg102:0652)")
+set_comment(0xB1EDF, "NE FIXUP -> 000a:c652 (seg102:0652)")
+set_comment(0xB1F43, "NE FIXUP -> 000a:c652 (seg102:0652)")
+set_comment(0xB1F6A, "NE FIXUP -> 000a:c652 (seg102:0652)")
+set_comment(0xB204D, "NE FIXUP -> 0009:9ea1 (seg081:00a1)")
+set_comment(0xB2082, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xB20EA, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xB210E, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xB214B, "NE FIXUP -> 0009:9e61 (seg081:0061)")
+set_comment(0xB217E, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xB218A, "NE FIXUP -> 0009:9e99 (seg081:0099)")
+set_comment(0xB21DC, "NE FIXUP -> 000a:c652 (seg102:0652)")
+set_comment(0xB225C, "NE FIXUP -> 000a:c652 (seg102:0652)")
+set_comment(0xB22D9, "NE FIXUP -> 000a:c652 (seg102:0652)")
+set_comment(0xB2325, "NE FIXUP -> 000a:c652 (seg102:0652)")
+set_comment(0xB23AB, "NE FIXUP -> 000a:c652 (seg102:0652)")
+set_comment(0xB2429, "NE FIXUP -> 000a:c652 (seg102:0652)")
+set_comment(0xB2488, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xB24EB, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xB250F, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xB254C, "NE FIXUP -> 0009:9e61 (seg081:0061)")
+set_comment(0xB257F, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xB25A8, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xB2615, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0xB276F, "NE FIXUP -> 0009:1c3a (seg070:003a)")
+set_comment(0xB277C, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0xB2785, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xB27A1, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xB27B2, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0xB27C9, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xB27D6, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xB2815, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xB284E, "NE FIXUP -> 000a:c6ab (seg102:06ab)")
+set_comment(0xB287C, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xB28EF, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xB2937, "NE FIXUP -> 0009:9e61 (seg081:0061)")
+set_comment(0xB2977, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xB29B6, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xB29EA, "NE FIXUP -> 0008:55bf (seg056:05bf)")
+set_comment(0xB2ACA, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xB2AEF, "NE FIXUP -> 0008:55cf (seg056:05cf)")
+set_comment(0xB2AFC, "NE FIXUP -> 0008:55df (seg056:05df)")
+set_comment(0xB2E0D, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xB2ED4, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xB2F2E, "NE FIXUP -> 000a:2bd1 (seg087:03d1)")
+set_comment(0xB2F42, "NE FIXUP -> 000a:2bd1 (seg087:03d1)")
+set_comment(0xB2F56, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xB2F70, "NE FIXUP -> 000a:28c1 (seg087:00c1)")
+set_comment(0xB2FA4, "NE FIXUP -> 000a:2ae8 (seg087:02e8)")
+set_comment(0xB2FB9, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xB2FF1, "NE FIXUP -> 000a:2b9d (seg087:039d)")
+set_comment(0xB3008, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xB3042, "NE FIXUP -> 000a:2b18 (seg087:0318)")
+set_comment(0xB3059, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xB308B, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xB30D0, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xB3107, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xB3156, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xB32BB, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xB32ED, "NE FIXUP -> 000a:283d (seg087:003d)")
+set_comment(0xB3317, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xB3331, "NE FIXUP -> 000a:47ee (seg091:03ee)")
+set_comment(0xB3340, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xB3372, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xB34C1, "NE FIXUP -> 000a:87fd (seg097:09fd)")
+set_comment(0xB34E6, "NE FIXUP -> 000a:87fd (seg097:09fd)")
+set_comment(0xB356C, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xB35EC, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xB373E, "NE FIXUP -> 000a:2c8c (seg087:048c)")
+set_comment(0xB3898, "NE FIXUP -> 000a:2c8c (seg087:048c)")
+set_comment(0xB395B, "NE FIXUP -> 0009:7ec7 (seg078:00c7)")
+set_comment(0xB3994, "NE FIXUP -> 0003:aa3c (seg001:343c)")
+set_comment(0xB3AA4, "NE FIXUP -> 000a:895c (seg097:0b5c)")
+set_comment(0xB3C98, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xB3D10, "NE FIXUP -> 000a:b186 (seg101:0d86)")
+set_comment(0xB3D76, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xB3DD8, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xB3DF2, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xB3E30, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xB3FD6, "NE FIXUP -> 0009:7f04 (seg078:0104)")
+set_comment(0xB3FF4, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xB4049, "NE FIXUP -> 000a:87fd (seg097:09fd)")
+set_comment(0xB4078, "NE FIXUP -> 000a:b1fc (seg101:0dfc)")
+set_comment(0xB408D, "NE FIXUP -> 000a:b20e (seg101:0e0e)")
+set_comment(0xB40A8, "NE FIXUP -> 000a:b0bd (seg101:0cbd)")
+set_comment(0xB40C3, "NE FIXUP -> 000a:b10b (seg101:0d0b)")
+set_comment(0xB40E4, "NE FIXUP -> 000a:b186 (seg101:0d86)")
+set_comment(0xB412F, "NE FIXUP -> 000a:bab6 (seg101:16b6)")
+set_comment(0xB418B, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0xB41D6, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xB4411, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xB4462, "NE FIXUP -> 000a:784b (seg096:024b)")
+set_comment(0xB4494, "NE FIXUP -> 000b:6a00 (seg113:0000)")
+set_comment(0xB44C2, "NE FIXUP -> 000b:7000 (seg114:0000)")
+set_comment(0xB4529, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xB4555, "NE FIXUP -> 000a:2ff9 (seg088:01f9)")
+set_comment(0xB4713, "NE FIXUP -> 000b:3a00 (seg109:0c00)")
+set_comment(0xB472A, "NE FIXUP -> 000b:3a35 (seg109:0c35)")
+set_comment(0xB47B1, "NE FIXUP -> 000a:798a (seg096:038a)")
+set_comment(0xB4835, "NE FIXUP -> 000a:2ff9 (seg088:01f9)")
+set_comment(0xB4875, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0xB48A1, "NE FIXUP -> 000a:78e4 (seg096:02e4)")
+set_comment(0xB48B5, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xB4A10, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xB4A32, "NE FIXUP -> 000a:8fd0 (seg098:01d0)")
+set_comment(0xB4A76, "NE FIXUP -> 000a:e842 (seg104:0242)")
+set_comment(0xB4A86, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xB4AC3, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xB4ADF, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB4AFB, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB4B20, "NE FIXUP -> 0009:7ec7 (seg078:00c7)")
+set_comment(0xB4B74, "NE FIXUP -> 000a:e7cf (seg104:01cf)")
+set_comment(0xB4B8E, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xB4BB3, "NE FIXUP -> 000a:90a7 (seg098:02a7)")
+set_comment(0xB4BE8, "NE FIXUP -> 0004:ab59 (seg014:0159)")
+set_comment(0xB4C1E, "NE FIXUP -> 000a:e842 (seg104:0242)")
+set_comment(0xB4C2E, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xB4C6B, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xB4C9D, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB4CBF, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xB4CE1, "NE FIXUP -> 000a:912b (seg098:032b)")
+set_comment(0xB4D25, "NE FIXUP -> 000a:e842 (seg104:0242)")
+set_comment(0xB4D35, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xB4D72, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xB4D8E, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB4DAA, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB4DCB, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xB4DDF, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xB4E05, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xB4E19, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xB4E3D, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB4E66, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xB4E7A, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xB5086, "NE FIXUP -> 000a:77a5 (seg096:01a5)")
+set_comment(0xB50B8, "NE FIXUP -> 000a:764b (seg096:004b)")
+set_comment(0xB5125, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0xB5149, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0xB516D, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0xB51FD, "NE FIXUP -> 000a:77a5 (seg096:01a5)")
+set_comment(0xB522F, "NE FIXUP -> 000a:764b (seg096:004b)")
+set_comment(0xB529C, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0xB52C0, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0xB52E4, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0xB5374, "NE FIXUP -> 000a:77a5 (seg096:01a5)")
+set_comment(0xB53A6, "NE FIXUP -> 000a:764b (seg096:004b)")
+set_comment(0xB5413, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0xB5437, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0xB545B, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0xB54EB, "NE FIXUP -> 000a:77a5 (seg096:01a5)")
+set_comment(0xB551D, "NE FIXUP -> 000a:764b (seg096:004b)")
+set_comment(0xB558A, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0xB55AE, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0xB55D2, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0xB55EC, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xB5625, "NE FIXUP -> 000b:316a (seg109:036a)")
+set_comment(0xB56BF, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xB5761, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0xB57B0, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xB5827, "NE FIXUP -> 0009:888e (seg079:028e)")
+set_comment(0xB5877, "NE FIXUP -> 0009:888e (seg079:028e)")
+set_comment(0xB58BD, "NE FIXUP -> 0009:8957 (seg079:0357)")
+set_comment(0xB590A, "NE FIXUP -> 0009:8957 (seg079:0357)")
+set_comment(0xB592F, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xB59F4, "NE FIXUP -> 000a:764b (seg096:004b)")
+set_comment(0xB5A1A, "NE FIXUP -> 000b:3a7d (seg109:0c7d)")
+set_comment(0xB5A47, "NE FIXUP -> 000b:3a6a (seg109:0c6a)")
+set_comment(0xB5A98, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0xB5ADA, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xB5AEA, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xB5AFA, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB5B10, "NE FIXUP -> 000b:2e6f (seg109:006f)")
+set_comment(0xB5B31, "NE FIXUP -> 000b:4053 (seg109:1253)")
+set_comment(0xB5B66, "NE FIXUP -> 000b:2e9b (seg109:009b)")
+set_comment(0xB5B85, "NE FIXUP -> 000b:4082 (seg109:1282)")
+set_comment(0xB5BB9, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xB5BC9, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xB5CBB, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0xB5D65, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xB5DAD, "NE FIXUP -> 000b:316a (seg109:036a)")
+set_comment(0xB5E19, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xB5E7D, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xB5EB3, "NE FIXUP -> 000a:912b (seg098:032b)")
+set_comment(0xB5F36, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xB5F6C, "NE FIXUP -> 000a:912b (seg098:032b)")
+set_comment(0xB6017, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xB604D, "NE FIXUP -> 000a:912b (seg098:032b)")
+set_comment(0xB60D7, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xB611A, "NE FIXUP -> 000a:912b (seg098:032b)")
+set_comment(0xB6351, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB6382, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB63C0, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xB63D0, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xB6451, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xB6465, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xB6486, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB64A2, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB64C3, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xB64D7, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xB64FD, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xB6511, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xB6537, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xB654B, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xB6571, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xB6585, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xB65AB, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xB65BF, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xB65E5, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xB65F9, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xB6A10, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xB6A35, "NE FIXUP -> 000a:8fd0 (seg098:01d0)")
+set_comment(0xB6A6D, "NE FIXUP -> 000a:2ff9 (seg088:01f9)")
+set_comment(0xB6AAF, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xB6B5A, "NE FIXUP -> 000a:764b (seg096:004b)")
+set_comment(0xB6B85, "NE FIXUP -> 000a:77a5 (seg096:01a5)")
+set_comment(0xB6BA0, "NE FIXUP -> 000a:307d (seg088:027d)")
+set_comment(0xB6BD5, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0xB6BF3, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB6C0F, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB6C29, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xB6C4E, "NE FIXUP -> 000a:912b (seg098:032b)")
+set_comment(0xB6C86, "NE FIXUP -> 000a:2ff9 (seg088:01f9)")
+set_comment(0xB6CC8, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xB6D73, "NE FIXUP -> 000a:764b (seg096:004b)")
+set_comment(0xB6D9E, "NE FIXUP -> 000a:77a5 (seg096:01a5)")
+set_comment(0xB6DB9, "NE FIXUP -> 000a:307d (seg088:027d)")
+set_comment(0xB6DEE, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0xB6E0C, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB6E28, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB6E49, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xB6E5D, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xB6E83, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xB6E97, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xB7012, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xB7056, "NE FIXUP -> 000b:316a (seg109:036a)")
+set_comment(0xB7119, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xB714E, "NE FIXUP -> 000b:3d2a (seg109:0f2a)")
+set_comment(0xB71AA, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xB71BE, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xB7281, "NE FIXUP -> 0009:92d9 (seg080:06d9)")
+set_comment(0xB72BD, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xB7350, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xB7391, "NE FIXUP -> 000a:3144 (seg088:0344)")
+set_comment(0xB73F4, "NE FIXUP -> 0009:8ef6 (seg080:02f6)")
+set_comment(0xB746A, "NE FIXUP -> 000a:2ff9 (seg088:01f9)")
+set_comment(0xB7572, "NE FIXUP -> 000b:2e6f (seg109:006f)")
+set_comment(0xB75AF, "NE FIXUP -> 000b:3380 (seg109:0580)")
+set_comment(0xB75C5, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB75E2, "NE FIXUP -> 000b:2f7a (seg109:017a)")
+set_comment(0xB75FF, "NE FIXUP -> 000b:4053 (seg109:1253)")
+set_comment(0xB7627, "NE FIXUP -> 000b:2e9b (seg109:009b)")
+set_comment(0xB764A, "NE FIXUP -> 000b:3a6a (seg109:0c6a)")
+set_comment(0xB766B, "NE FIXUP -> 000b:4082 (seg109:1282)")
+set_comment(0xB767B, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB76A1, "NE FIXUP -> 000b:3943 (seg109:0b43)")
+set_comment(0xB76B9, "NE FIXUP -> 000b:3a6a (seg109:0c6a)")
+set_comment(0xB7784, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB77FF, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xB78D1, "NE FIXUP -> 0003:d9c0 (seg001:63c0)")
+set_comment(0xB792B, "NE FIXUP -> 0003:d9c0 (seg001:63c0)")
+set_comment(0xB7980, "NE FIXUP -> 0003:d9c0 (seg001:63c0)")
+set_comment(0xB7A65, "NE FIXUP -> 0003:b621 (seg001:4021)")
+set_comment(0xB7ACE, "NE FIXUP -> 0003:d9c0 (seg001:63c0)")
+set_comment(0xB7B35, "NE FIXUP -> 0003:d9c0 (seg001:63c0)")
+set_comment(0xB7B7A, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xB7B97, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB7BDF, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xB7C3C, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xB7C8B, "NE FIXUP -> 000b:2f7a (seg109:017a)")
+set_comment(0xB7CD6, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xB7D40, "NE FIXUP -> 000b:30e4 (seg109:02e4)")
+set_comment(0xB7D5B, "NE FIXUP -> 000b:3380 (seg109:0580)")
+set_comment(0xB7D76, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB7DAB, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB7DCC, "NE FIXUP -> 000b:3380 (seg109:0580)")
+set_comment(0xB7DE7, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB8012, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xB8058, "NE FIXUP -> 000b:ea33 (seg120:0233)")
+set_comment(0xB809C, "NE FIXUP -> 000a:9748 (seg099:0148)")
+set_comment(0xB80B5, "NE FIXUP -> 000a:9683 (seg099:0083)")
+set_comment(0xB80DF, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xB810E, "NE FIXUP -> 000b:e200 (seg119:0000)")
+set_comment(0xB8133, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xB8156, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xB81AE, "NE FIXUP -> 0005:09b4 (seg021:07b4)")
+set_comment(0xB81BC, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xB81CD, "NE FIXUP -> 0004:b316 (seg015:0116)")
+set_comment(0xB81EE, "NE FIXUP -> 0005:02d8 (seg021:00d8)")
+set_comment(0xB824F, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xB827D, "NE FIXUP -> 000b:2f7a (seg109:017a)")
+set_comment(0xB82B0, "NE FIXUP -> 000a:2e00 (seg088:0000)")
+set_comment(0xB82EB, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xB830D, "NE FIXUP -> 000b:ecf7 (seg120:04f7)")
+set_comment(0xB8321, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xB840B, "NE FIXUP -> 0009:7fb9 (seg078:01b9)")
+set_comment(0xB843E, "NE FIXUP -> 0009:7fb9 (seg078:01b9)")
+set_comment(0xB84FD, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xB851F, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xB8538, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xB8552, "NE FIXUP -> 0005:033e (seg021:013e)")
+set_comment(0xB856F, "NE FIXUP -> 0005:0376 (seg021:0176)")
+set_comment(0xB858A, "NE FIXUP -> 0004:e7bd (seg018:07bd)")
+set_comment(0xB85A4, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0xB86AA, "NE FIXUP -> 000b:ed80 (seg120:0580)")
+set_comment(0xB86C4, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0xB8723, "NE FIXUP -> 000b:3965 (seg109:0b65)")
+set_comment(0xB8731, "NE FIXUP -> 000b:3ed8 (seg109:10d8)")
+set_comment(0xB8746, "NE FIXUP -> 0003:aa5d (seg001:345d)")
+set_comment(0xB875F, "NE FIXUP -> 000a:9748 (seg099:0148)")
+set_comment(0xB878E, "NE FIXUP -> 000a:3206 (seg088:0406)")
+set_comment(0xB87B8, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB87C7, "NE FIXUP -> 000a:2e00 (seg088:0000)")
+set_comment(0xB87DF, "NE FIXUP -> 000b:efc7 (seg120:07c7)")
+set_comment(0xB8803, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xB8813, "NE FIXUP -> 000b:2e9b (seg109:009b)")
+set_comment(0xB8870, "NE FIXUP -> 000a:9748 (seg099:0148)")
+set_comment(0xB8891, "NE FIXUP -> 000a:9600 (seg099:0000)")
+set_comment(0xB88A7, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0xB88B6, "NE FIXUP -> 000a:2e00 (seg088:0000)")
+set_comment(0xB891B, "NE FIXUP -> 000b:30e4 (seg109:02e4)")
+set_comment(0xB8949, "NE FIXUP -> 0003:b8e2 (seg001:42e2)")
+set_comment(0xB8960, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xB8C08, "NE FIXUP -> 000c:827d (seg126:0e7d)")
+set_comment(0xB8C25, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xB8C2D, "NE FIXUP -> 000c:82f9 (seg126:0ef9)")
+set_comment(0xB8C44, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xB8C7B, "NE FIXUP -> 000b:316a (seg109:036a)")
+set_comment(0xB8CE3, "NE FIXUP -> 000c:e4e0 (seg129:0ae0)")
+set_comment(0xB8D05, "NE FIXUP -> 000b:3d2a (seg109:0f2a)")
+set_comment(0xB8D38, "NE FIXUP -> 000a:e842 (seg104:0242)")
+set_comment(0xB8D48, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xB8D65, "NE FIXUP -> 000a:e842 (seg104:0242)")
+set_comment(0xB8DE1, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xB8DED, "NE FIXUP -> 0008:55bf (seg056:05bf)")
+set_comment(0xB8E02, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB8E4A, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xB8E69, "NE FIXUP -> 000b:2492 (seg108:0a92)")
+set_comment(0xB8E9A, "NE FIXUP -> 0008:9de3 (seg059:33e3)")
+set_comment(0xB8EB2, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xB8EC6, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xB8F12, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xB8F42, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xB8F7B, "NE FIXUP -> 000a:9748 (seg099:0148)")
+set_comment(0xB8FA4, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0xB8FB3, "NE FIXUP -> 000a:2e00 (seg088:0000)")
+set_comment(0xB8FDA, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xB90A8, "NE FIXUP -> 000a:9748 (seg099:0148)")
+set_comment(0xB9103, "NE FIXUP -> 000a:96bc (seg099:00bc)")
+set_comment(0xB9116, "NE FIXUP -> 000a:9683 (seg099:0083)")
+set_comment(0xB916E, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xB917B, "NE FIXUP -> 000a:895c (seg097:0b5c)")
+set_comment(0xB919E, "NE FIXUP -> 000a:87fd (seg097:09fd)")
+set_comment(0xB922D, "NE FIXUP -> 000a:96bc (seg099:00bc)")
+set_comment(0xB924B, "NE FIXUP -> 000a:9683 (seg099:0083)")
+set_comment(0xB92A3, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xB92B0, "NE FIXUP -> 000a:895c (seg097:0b5c)")
+set_comment(0xB92D3, "NE FIXUP -> 000a:87fd (seg097:09fd)")
+set_comment(0xB9312, "NE FIXUP -> 000a:2e71 (seg088:0071)")
+set_comment(0xB93C7, "NE FIXUP -> 000a:2e71 (seg088:0071)")
+set_comment(0xB93F6, "NE FIXUP -> 000a:96bc (seg099:00bc)")
+set_comment(0xB9409, "NE FIXUP -> 000a:9683 (seg099:0083)")
+set_comment(0xB946C, "NE FIXUP -> 000a:87fd (seg097:09fd)")
+set_comment(0xB947B, "NE FIXUP -> 000a:2e00 (seg088:0000)")
+set_comment(0xB9490, "NE FIXUP -> 000b:2e6f (seg109:006f)")
+set_comment(0xB94DF, "NE FIXUP -> 000c:e4e0 (seg129:0ae0)")
+set_comment(0xB9507, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xB959B, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB95CA, "NE FIXUP -> 000e:3a92 (seg143:0692)")
+set_comment(0xB95F0, "NE FIXUP -> 000a:530d (seg092:050d)")
+set_comment(0xB95FA, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0xB960E, "NE FIXUP -> 0008:5b41 (seg057:0141)")
+set_comment(0xB9620, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xB9A09, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xB9A1A, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xB9A2C, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xB9A42, "NE FIXUP -> 000c:ea00 (seg130:0000)")
+set_comment(0xB9A7C, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xB9AB3, "NE FIXUP -> 000c:ee44 (seg130:0444)")
+set_comment(0xB9AC5, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xB9AE7, "NE FIXUP -> 0009:392e (seg072:032e)")
+set_comment(0xB9B1E, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xB9B28, "NE FIXUP -> 0003:e628 (seg001:7028)")
+set_comment(0xB9B48, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xB9BA6, "NE FIXUP -> 000b:2492 (seg108:0a92)")
+set_comment(0xB9BB8, "NE FIXUP -> 000b:26bd (seg108:0cbd)")
+set_comment(0xB9BCA, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xB9BDA, "NE FIXUP -> 000b:2706 (seg108:0d06)")
+set_comment(0xB9BF3, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xB9C03, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0xB9C2A, "NE FIXUP -> 000b:2492 (seg108:0a92)")
+set_comment(0xB9C3C, "NE FIXUP -> 000b:26bd (seg108:0cbd)")
+set_comment(0xB9C5E, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xB9C6E, "NE FIXUP -> 000b:2706 (seg108:0d06)")
+set_comment(0xB9C87, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xB9CBA, "NE FIXUP -> 0003:b621 (seg001:4021)")
+set_comment(0xB9CCF, "NE FIXUP -> 0003:f922 (seg001:8322)")
+set_comment(0xB9CE2, "NE FIXUP -> 0003:e4d3 (seg001:6ed3)")
+set_comment(0xB9CED, "NE FIXUP -> 000d:63a3 (seg134:03a3)")
+set_comment(0xB9D09, "NE FIXUP -> 000c:f39f (seg131:039f)")
+set_comment(0xB9D1B, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xB9D35, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xB9D65, "NE FIXUP -> 0003:e4d3 (seg001:6ed3)")
+set_comment(0xB9DA6, "NE FIXUP -> 0003:e4d3 (seg001:6ed3)")
+set_comment(0xB9DC3, "NE FIXUP -> 0003:e4d3 (seg001:6ed3)")
+set_comment(0xB9DD1, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xBA0D4, "NE FIXUP -> 0003:e4d3 (seg001:6ed3)")
+set_comment(0xBA112, "NE FIXUP -> 0003:e4d3 (seg001:6ed3)")
+set_comment(0xBA1AF, "NE FIXUP -> 0003:e4d3 (seg001:6ed3)")
+set_comment(0xBA1E0, "NE FIXUP -> 000d:6651 (seg134:0651)")
+set_comment(0xBA231, "NE FIXUP -> 0003:e4d3 (seg001:6ed3)")
+set_comment(0xBA26D, "NE FIXUP -> 0003:e4d3 (seg001:6ed3)")
+set_comment(0xBA29F, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xBA2F9, "NE FIXUP -> 000a:784b (seg096:024b)")
+set_comment(0xBA354, "NE FIXUP -> 000b:3d2a (seg109:0f2a)")
+set_comment(0xBA39A, "NE FIXUP -> 000a:796b (seg096:036b)")
+set_comment(0xBA42C, "NE FIXUP -> 000b:5d4c (seg112:0d4c)")
+set_comment(0xBA467, "NE FIXUP -> 000b:5d4c (seg112:0d4c)")
+set_comment(0xBA4DE, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xBA548, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xBA67D, "NE FIXUP -> 000c:ec9e (seg130:029e)")
+set_comment(0xBA6B8, "NE FIXUP -> 000c:eba5 (seg130:01a5)")
+set_comment(0xBA6F1, "NE FIXUP -> 000c:eadd (seg130:00dd)")
+set_comment(0xBA701, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xBA855, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xBA88A, "NE FIXUP -> 000b:2e6f (seg109:006f)")
+set_comment(0xBA8A0, "NE FIXUP -> 000b:4053 (seg109:1253)")
+set_comment(0xBA8D0, "NE FIXUP -> 000b:2e9b (seg109:009b)")
+set_comment(0xBA8E2, "NE FIXUP -> 000b:4082 (seg109:1282)")
+set_comment(0xBA92B, "NE FIXUP -> 000b:3943 (seg109:0b43)")
+set_comment(0xBAA17, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xBAB2C, "NE FIXUP -> 000a:798a (seg096:038a)")
+set_comment(0xBABF0, "NE FIXUP -> 000c:ec30 (seg130:0230)")
+set_comment(0xBAD17, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xBAD48, "NE FIXUP -> 000a:7a63 (seg096:0463)")
+set_comment(0xBADF3, "NE FIXUP -> 0009:92d9 (seg080:06d9)")
+set_comment(0xBB05C, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0xBB066, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xBB0FB, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xBB152, "NE FIXUP -> 000a:784b (seg096:024b)")
+set_comment(0xBB181, "NE FIXUP -> 000a:796b (seg096:036b)")
+set_comment(0xBB1A5, "NE FIXUP -> 000a:798a (seg096:038a)")
+set_comment(0xBB262, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xBB2F6, "NE FIXUP -> 000a:7a63 (seg096:0463)")
+set_comment(0xBB322, "NE FIXUP -> 000a:7a63 (seg096:0463)")
+set_comment(0xBB348, "NE FIXUP -> 000b:2e6f (seg109:006f)")
+set_comment(0xBB3A7, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xBB3C2, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xBB415, "NE FIXUP -> 000a:784b (seg096:024b)")
+set_comment(0xBB590, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xBB5AA, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xBB5B8, "NE FIXUP -> 0009:392e (seg072:032e)")
+set_comment(0xBB5F7, "NE FIXUP -> 000b:3d2a (seg109:0f2a)")
+set_comment(0xBB622, "NE FIXUP -> 000a:798a (seg096:038a)")
+set_comment(0xBB6FE, "NE FIXUP -> 000b:3965 (seg109:0b65)")
+set_comment(0xBB70C, "NE FIXUP -> 000b:3ed8 (seg109:10d8)")
+set_comment(0xBB724, "NE FIXUP -> 0003:aa5d (seg001:345d)")
+set_comment(0xBB73A, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xBB83F, "NE FIXUP -> 000c:ee19 (seg130:0419)")
+set_comment(0xBB8AC, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xBB913, "NE FIXUP -> 000a:d790 (seg103:0d90)")
+set_comment(0xBB91D, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xBB93C, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xBB946, "NE FIXUP -> 000a:500a (seg092:020a)")
+set_comment(0xBB983, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0xBB98D, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xBB9A7, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xBB9FA, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0xBBA04, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xBBA14, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xBBA29, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xBBA8C, "NE FIXUP -> 000b:4400 (seg110:0000)")
+set_comment(0xBBA96, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xBBB91, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0xBBB9B, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xBBBE7, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xBBC2D, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0xBBC37, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xBBC6D, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xBBC99, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xBBCDD, "NE FIXUP -> 000b:4400 (seg110:0000)")
+set_comment(0xBBCE7, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xBBCFD, "NE FIXUP -> 0003:c994 (seg001:5394)")
+set_comment(0xBBD4C, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0xBBD56, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xBBDC2, "NE FIXUP -> 000b:4400 (seg110:0000)")
+set_comment(0xBBDCC, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xBBE1E, "NE FIXUP -> 0003:e721 (seg001:7121)")
+set_comment(0xBBE66, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xBBEB1, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0xBBEBB, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xBBEF8, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0xBBF02, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xBBF4A, "NE FIXUP -> 000b:4400 (seg110:0000)")
+set_comment(0xBBF54, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xBBFA3, "NE FIXUP -> 000c:f39f (seg131:039f)")
+set_comment(0xBBFE4, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xBBFFE, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xBC032, "NE FIXUP -> 0003:e4d3 (seg001:6ed3)")
+set_comment(0xBC078, "NE FIXUP -> 000b:4400 (seg110:0000)")
+set_comment(0xBC082, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xBC11E, "NE FIXUP -> 0003:e549 (seg001:6f49)")
+set_comment(0xBC164, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0xBC16E, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xBC1ED, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0xBC1F7, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xBC205, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xBC242, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0xBC24C, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xBC294, "NE FIXUP -> 000b:010b (seg106:090b)")
+set_comment(0xBC2AA, "NE FIXUP -> 000b:010b (seg106:090b)")
+set_comment(0xBC2C0, "NE FIXUP -> 000b:010b (seg106:090b)")
+set_comment(0xBC2D6, "NE FIXUP -> 000b:010b (seg106:090b)")
+set_comment(0xBC2EC, "NE FIXUP -> 000b:010b (seg106:090b)")
+set_comment(0xBC302, "NE FIXUP -> 000b:010b (seg106:090b)")
+set_comment(0xBC30C, "NE FIXUP -> 000a:f823 (seg106:0023)")
+set_comment(0xBC316, "NE FIXUP -> 000a:f86f (seg106:006f)")
+set_comment(0xBC320, "NE FIXUP -> 000a:f86f (seg106:006f)")
+set_comment(0xBC32A, "NE FIXUP -> 000a:f86f (seg106:006f)")
+set_comment(0xBC340, "NE FIXUP -> 000b:010b (seg106:090b)")
+set_comment(0xBC34A, "NE FIXUP -> 000a:f800 (seg106:0000)")
+set_comment(0xBC360, "NE FIXUP -> 000b:010b (seg106:090b)")
+set_comment(0xBC36C, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xBC38A, "NE FIXUP -> 000a:f924 (seg106:0124)")
+set_comment(0xBC3B6, "NE FIXUP -> 000b:010b (seg106:090b)")
+set_comment(0xBC3CC, "NE FIXUP -> 000b:010b (seg106:090b)")
+set_comment(0xBC3D6, "NE FIXUP -> 000a:f823 (seg106:0023)")
+set_comment(0xBC3E0, "NE FIXUP -> 000a:f8b5 (seg106:00b5)")
+set_comment(0xBC3EA, "NE FIXUP -> 000a:f86f (seg106:006f)")
+set_comment(0xBC400, "NE FIXUP -> 000b:010b (seg106:090b)")
+set_comment(0xBC40A, "NE FIXUP -> 000a:f800 (seg106:0000)")
+set_comment(0xBC420, "NE FIXUP -> 000b:010b (seg106:090b)")
+set_comment(0xBC436, "NE FIXUP -> 000b:010b (seg106:090b)")
+set_comment(0xBC44C, "NE FIXUP -> 000b:010b (seg106:090b)")
+set_comment(0xBC456, "NE FIXUP -> 000a:f823 (seg106:0023)")
+set_comment(0xBC460, "NE FIXUP -> 000a:f86f (seg106:006f)")
+set_comment(0xBC476, "NE FIXUP -> 000b:010b (seg106:090b)")
+set_comment(0xBC480, "NE FIXUP -> 000a:f800 (seg106:0000)")
+set_comment(0xBC496, "NE FIXUP -> 000b:010b (seg106:090b)")
+set_comment(0xBC4AC, "NE FIXUP -> 000b:010b (seg106:090b)")
+set_comment(0xBC4C2, "NE FIXUP -> 000b:010b (seg106:090b)")
+set_comment(0xBC4D8, "NE FIXUP -> 000b:010b (seg106:090b)")
+set_comment(0xBC4EE, "NE FIXUP -> 000b:010b (seg106:090b)")
+set_comment(0xBC4F8, "NE FIXUP -> 000a:f823 (seg106:0023)")
+set_comment(0xBC502, "NE FIXUP -> 000a:f86f (seg106:006f)")
+set_comment(0xBC50C, "NE FIXUP -> 000a:f86f (seg106:006f)")
+set_comment(0xBC516, "NE FIXUP -> 000a:f86f (seg106:006f)")
+set_comment(0xBC52C, "NE FIXUP -> 000b:010b (seg106:090b)")
+set_comment(0xBC536, "NE FIXUP -> 000a:f800 (seg106:0000)")
+set_comment(0xBC54C, "NE FIXUP -> 000b:010b (seg106:090b)")
+set_comment(0xBC562, "NE FIXUP -> 000b:010b (seg106:090b)")
+set_comment(0xBC56C, "NE FIXUP -> 000a:f823 (seg106:0023)")
+set_comment(0xBC582, "NE FIXUP -> 000b:010b (seg106:090b)")
+set_comment(0xBC58C, "NE FIXUP -> 000a:f800 (seg106:0000)")
+set_comment(0xBC5A2, "NE FIXUP -> 000b:0a88 (seg106:1288)")
+set_comment(0xBC5AC, "NE FIXUP -> 000a:f892 (seg106:0092)")
+set_comment(0xBC5B6, "NE FIXUP -> 000a:f892 (seg106:0092)")
+set_comment(0xBC5C0, "NE FIXUP -> 000a:f892 (seg106:0092)")
+set_comment(0xBC5CA, "NE FIXUP -> 000a:f892 (seg106:0092)")
+set_comment(0xBC5D4, "NE FIXUP -> 000a:f892 (seg106:0092)")
+set_comment(0xBC5DE, "NE FIXUP -> 000a:f892 (seg106:0092)")
+set_comment(0xBC624, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xBC63D, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xBC655, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0xBC6B5, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xBC6D6, "NE FIXUP -> 0009:a27a (seg082:007a)")
+set_comment(0xBC6F5, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xBC709, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xBC736, "NE FIXUP -> 0009:a24f (seg082:004f)")
+set_comment(0xBC786, "NE FIXUP -> 0009:392e (seg072:032e)")
+set_comment(0xBC7D0, "NE FIXUP -> 0009:1d6a (seg070:016a)")
+set_comment(0xBC7EC, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xBC7FC, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0xBC816, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0xBC832, "NE FIXUP -> 0009:a229 (seg082:0029)")
+set_comment(0xBC85A, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xBC87D, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xBC88D, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0xBC897, "NE FIXUP -> 0009:c628 (seg083:0228)")
+set_comment(0xBC8D8, "NE FIXUP -> 0003:a995 (seg001:3395)")
+set_comment(0xBC915, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0xBC91F, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xBC934, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xBC98E, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0xBCA3B, "NE FIXUP -> 0009:c563 (seg083:0163)")
+set_comment(0xBCA52, "NE FIXUP -> 0009:3b6a (seg072:056a)")
+set_comment(0xBCA65, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0xBCA86, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xBCA9A, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xBCAC0, "NE FIXUP -> 000a:78e4 (seg096:02e4)")
+set_comment(0xBCAD4, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xBCAFA, "NE FIXUP -> 000a:78e4 (seg096:02e4)")
+set_comment(0xBCB0E, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xBCB34, "NE FIXUP -> 000a:78e4 (seg096:02e4)")
+set_comment(0xBCB48, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xBD410, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xBD4ED, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xBD4FF, "NE FIXUP -> 000a:b0bd (seg101:0cbd)")
+set_comment(0xBD537, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0xBD5D1, "NE FIXUP -> 0005:124e (seg021:104e)")
+set_comment(0xBD62D, "NE FIXUP -> 0005:c400 (seg029:0000)")
+set_comment(0xBD64C, "NE FIXUP -> 0005:1552 (seg021:1352)")
+set_comment(0xBD67A, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xBD688, "NE FIXUP -> 0005:c4d9 (seg029:00d9)")
+set_comment(0xBD6A8, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0xBD6CB, "NE FIXUP -> 0005:1538 (seg021:1338)")
+set_comment(0xBD6DA, "NE FIXUP -> 0005:c448 (seg029:0048)")
+set_comment(0xBD6FE, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0xBD71F, "NE FIXUP -> 0007:be9e (seg049:049e)")
+set_comment(0xBD736, "NE FIXUP -> 0005:13e7 (seg021:11e7)")
+set_comment(0xBD74E, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0xBD7A2, "NE FIXUP -> 0006:0908 (seg030:2908)")
+set_comment(0xBD7BF, "NE FIXUP -> 0004:e094 (seg018:0094)")
+set_comment(0xBD7D8, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0xBD7EF, "NE FIXUP -> 0005:1032 (seg021:0e32)")
+set_comment(0xBD812, "NE FIXUP -> 0005:1552 (seg021:1352)")
+set_comment(0xBD825, "NE FIXUP -> 0005:1542 (seg021:1342)")
+set_comment(0xBD83D, "NE FIXUP -> 0005:0415 (seg021:0215)")
+set_comment(0xBD865, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0xBD87C, "NE FIXUP -> 0005:13e7 (seg021:11e7)")
+set_comment(0xBD8A1, "NE FIXUP -> 0004:4f34 (seg008:1334)")
+set_comment(0xBD8BD, "NE FIXUP -> 0005:11c4 (seg021:0fc4)")
+set_comment(0xBD8CD, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xBD8F5, "NE FIXUP -> 0005:115f (seg021:0f5f)")
+set_comment(0xBD907, "NE FIXUP -> 0005:115f (seg021:0f5f)")
+set_comment(0xBD948, "NE FIXUP -> 0006:0908 (seg030:2908)")
+set_comment(0xBD962, "NE FIXUP -> 0005:1032 (seg021:0e32)")
+set_comment(0xBD9B4, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xBD9CF, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xBDA0F, "NE FIXUP -> 0005:1552 (seg021:1352)")
+set_comment(0xBDA2C, "NE FIXUP -> 0005:3242 (seg021:3042)")
+set_comment(0xBDA40, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xBDA53, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xBDA68, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0xBDA7A, "NE FIXUP -> 0005:1032 (seg021:0e32)")
+set_comment(0xBDA8D, "NE FIXUP -> 0005:1528 (seg021:1328)")
+set_comment(0xBDA9A, "NE FIXUP -> 0005:03e1 (seg021:01e1)")
+set_comment(0xBDAA8, "NE FIXUP -> 0005:03ae (seg021:01ae)")
+set_comment(0xBDABB, "NE FIXUP -> 0005:0415 (seg021:0215)")
+set_comment(0xBDACF, "NE FIXUP -> 0005:05fa (seg021:03fa)")
+set_comment(0xBDAF9, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0xBDB16, "NE FIXUP -> 0004:dc00 (seg017:0000)")
+set_comment(0xBDB2A, "NE FIXUP -> 0005:1538 (seg021:1338)")
+set_comment(0xBDB3E, "NE FIXUP -> 0005:1538 (seg021:1338)")
+set_comment(0xBDB50, "NE FIXUP -> 0005:1032 (seg021:0e32)")
+set_comment(0xBDB70, "NE FIXUP -> 0006:07c0 (seg030:27c0)")
+set_comment(0xBDB84, "NE FIXUP -> 0006:07c0 (seg030:27c0)")
+set_comment(0xBDBBA, "NE FIXUP -> 0006:0908 (seg030:2908)")
+set_comment(0xBDBC7, "NE FIXUP -> 0005:1552 (seg021:1352)")
+set_comment(0xBDBD5, "NE FIXUP -> 0006:07c0 (seg030:27c0)")
+set_comment(0xBDBE3, "NE FIXUP -> 0005:1542 (seg021:1342)")
+set_comment(0xBDBF4, "NE FIXUP -> 0005:0415 (seg021:0215)")
+set_comment(0xBDC06, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0xBDC24, "NE FIXUP -> 0004:4f34 (seg008:1334)")
+set_comment(0xBDC75, "NE FIXUP -> 0007:be9e (seg049:049e)")
+set_comment(0xBDCA5, "NE FIXUP -> 0007:be67 (seg049:0467)")
+set_comment(0xBDCF6, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xBDD11, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xBDD9E, "NE FIXUP -> 0007:be9e (seg049:049e)")
+set_comment(0xBE210, "NE FIXUP -> 000a:9748 (seg099:0148)")
+set_comment(0xBE254, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xBE296, "NE FIXUP -> 000a:96f5 (seg099:00f5)")
+set_comment(0xBE532, "NE FIXUP -> 000a:96f5 (seg099:00f5)")
+set_comment(0xBE5CE, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xBE5F1, "NE FIXUP -> 000a:2e00 (seg088:0000)")
+set_comment(0xBE812, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xBE83A, "NE FIXUP -> 0008:5d45 (seg057:0345)")
+set_comment(0xBE862, "NE FIXUP -> 0003:b8e2 (seg001:42e2)")
+set_comment(0xBE873, "NE FIXUP -> 0008:bbb6 (seg061:01b6)")
+set_comment(0xBE884, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0xBE8FE, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xBE968, "NE FIXUP -> 000a:b2bc (seg101:0ebc)")
+set_comment(0xBE99B, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xBE9AF, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xBE9C3, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0xBE9ED, "NE FIXUP -> 000a:b2bc (seg101:0ebc)")
+set_comment(0xBEA29, "NE FIXUP -> 0008:5e18 (seg057:0418)")
+set_comment(0xBEA49, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xBEAAA, "NE FIXUP -> 000a:784b (seg096:024b)")
+set_comment(0xBEB0B, "NE FIXUP -> 000b:30e4 (seg109:02e4)")
+set_comment(0xBEB42, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xBEB78, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xBEBC8, "NE FIXUP -> 0005:033e (seg021:013e)")
+set_comment(0xBEBE6, "NE FIXUP -> 0005:0376 (seg021:0176)")
+set_comment(0xBEC04, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0xBEC19, "NE FIXUP -> 0005:033e (seg021:013e)")
+set_comment(0xBEC2C, "NE FIXUP -> 0005:0376 (seg021:0176)")
+set_comment(0xBEC3F, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0xBEC50, "NE FIXUP -> 0007:d6c5 (seg049:1cc5)")
+set_comment(0xBEC5C, "NE FIXUP -> 0007:d6cd (seg049:1ccd)")
+set_comment(0xBEC68, "NE FIXUP -> 0007:d6d5 (seg049:1cd5)")
+set_comment(0xBECB6, "NE FIXUP -> 0008:bbb6 (seg061:01b6)")
+set_comment(0xBECC4, "NE FIXUP -> 0008:5df7 (seg057:03f7)")
+set_comment(0xBED4D, "NE FIXUP -> 000b:30e4 (seg109:02e4)")
+set_comment(0xBED61, "NE FIXUP -> 000a:78e4 (seg096:02e4)")
+set_comment(0xBED75, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xBED94, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0xBEDDE, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xBEE4C, "NE FIXUP -> 000b:30e4 (seg109:02e4)")
+set_comment(0xBEE77, "NE FIXUP -> 0005:0ff6 (seg021:0df6)")
+set_comment(0xBEE8C, "NE FIXUP -> 0005:0671 (seg021:0471)")
+set_comment(0xBEF1A, "NE FIXUP -> 000b:2f7a (seg109:017a)")
+set_comment(0xBEF4A, "NE FIXUP -> 000a:2c8c (seg087:048c)")
+set_comment(0xBEFB8, "NE FIXUP -> 000b:30e4 (seg109:02e4)")
+set_comment(0xBEFE9, "NE FIXUP -> 000b:3965 (seg109:0b65)")
+set_comment(0xBEFF7, "NE FIXUP -> 000b:3ed8 (seg109:10d8)")
+set_comment(0xBF02B, "NE FIXUP -> 0005:033e (seg021:013e)")
+set_comment(0xBF049, "NE FIXUP -> 0005:0376 (seg021:0176)")
+set_comment(0xBF067, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0xBF07C, "NE FIXUP -> 0005:033e (seg021:013e)")
+set_comment(0xBF08F, "NE FIXUP -> 0005:0376 (seg021:0176)")
+set_comment(0xBF0A2, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0xBF0C0, "NE FIXUP -> 0003:aa5d (seg001:345d)")
+set_comment(0xBF0D6, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xBF0FF, "NE FIXUP -> 0004:e7bd (seg018:07bd)")
+set_comment(0xBF14F, "NE FIXUP -> 0003:aa5d (seg001:345d)")
+set_comment(0xBF165, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xBF410, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xBF432, "NE FIXUP -> 000a:8fd0 (seg098:01d0)")
+set_comment(0xBF4AC, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0xBF4F4, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xBF504, "NE FIXUP -> 000c:827d (seg126:0e7d)")
+set_comment(0xBF51E, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xBF529, "NE FIXUP -> 000c:82f9 (seg126:0ef9)")
+set_comment(0xBF543, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xBF57A, "NE FIXUP -> 000b:316a (seg109:036a)")
+set_comment(0xBF5D8, "NE FIXUP -> 000a:e842 (seg104:0242)")
+set_comment(0xBF5E8, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xBF602, "NE FIXUP -> 000b:3d2a (seg109:0f2a)")
+set_comment(0xBF8DE, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xBF90C, "NE FIXUP -> 0008:9de3 (seg059:33e3)")
+set_comment(0xBF924, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xBF938, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xBF9F0, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xBFA00, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xBFA24, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xBFB6A, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0xBFB7A, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xBFB95, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0xBFBA5, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xBFBDE, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xBFBEE, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xBFC55, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xBFC65, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xBFCC8, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0xBFD27, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xBFD98, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xBFDB3, "NE FIXUP -> 000a:e842 (seg104:0242)")
+set_comment(0xBFE25, "NE FIXUP -> 0003:a99d (seg001:339d)")
+set_comment(0xBFE5C, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xBFE7A, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0xBFE8A, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xBFEAB, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xBFEBF, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xC0212, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xC0249, "NE FIXUP -> 000b:316a (seg109:036a)")
+set_comment(0xC0270, "NE FIXUP -> 0008:9de3 (seg059:33e3)")
+set_comment(0xC0295, "NE FIXUP -> 0008:d27e (seg061:187e)")
+set_comment(0xC02B5, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xC02D9, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xC0333, "NE FIXUP -> 000b:3d2a (seg109:0f2a)")
+set_comment(0xC0354, "NE FIXUP -> 0008:770e (seg059:0d0e)")
+set_comment(0xC0370, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xC0384, "NE FIXUP -> 0009:79a3 (seg077:03a3)")
+set_comment(0xC0590, "NE FIXUP -> 0008:ec62 (seg064:0262)")
+set_comment(0xC05A6, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xC05B6, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC05C8, "NE FIXUP -> 000b:26e9 (seg108:0ce9)")
+set_comment(0xC05D8, "NE FIXUP -> 000b:2492 (seg108:0a92)")
+set_comment(0xC0612, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0xC061F, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xC0627, "NE FIXUP -> 0008:ec8e (seg064:028e)")
+set_comment(0xC064A, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xC066E, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xC068E, "NE FIXUP -> 0008:d27e (seg061:187e)")
+set_comment(0xC06A3, "NE FIXUP -> 0008:9de3 (seg059:33e3)")
+set_comment(0xC06BF, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xC06CF, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xC06E3, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xC0708, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xC0782, "NE FIXUP -> 0004:ac6a (seg014:026a)")
+set_comment(0xC07A6, "NE FIXUP -> 0009:9e61 (seg081:0061)")
+set_comment(0xC07D1, "NE FIXUP -> 0004:ac6a (seg014:026a)")
+set_comment(0xC07F5, "NE FIXUP -> 0009:9e61 (seg081:0061)")
+set_comment(0xC0820, "NE FIXUP -> 0004:ac6a (seg014:026a)")
+set_comment(0xC0844, "NE FIXUP -> 0009:9e61 (seg081:0061)")
+set_comment(0xC0874, "NE FIXUP -> 0004:ac6a (seg014:026a)")
+set_comment(0xC0898, "NE FIXUP -> 0009:9e61 (seg081:0061)")
+set_comment(0xC0948, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC0980, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC09B5, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC09EA, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC0A51, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xC0A63, "NE FIXUP -> 000c:3c0e (seg123:000e)")
+set_comment(0xC0A6D, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xC0A7F, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0xC0A8E, "NE FIXUP -> 000b:26e9 (seg108:0ce9)")
+set_comment(0xC0A9E, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xC0AC9, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xC0AD9, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xC0AFE, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC0B14, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xC0B26, "NE FIXUP -> 000b:26e9 (seg108:0ce9)")
+set_comment(0xC0B36, "NE FIXUP -> 000b:2492 (seg108:0a92)")
+set_comment(0xC0B55, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xC0B67, "NE FIXUP -> 000c:3c0e (seg123:000e)")
+set_comment(0xC0B71, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xC0B83, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0xC0B92, "NE FIXUP -> 000b:26e9 (seg108:0ce9)")
+set_comment(0xC0BA2, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xC0BCD, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xC0BDD, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xC0C02, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC0C18, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xC0C2A, "NE FIXUP -> 000b:26e9 (seg108:0ce9)")
+set_comment(0xC0C3A, "NE FIXUP -> 000b:2492 (seg108:0a92)")
+set_comment(0xC0C4D, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xC0C67, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xC0C81, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xC0CA5, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xC0CBB, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xC0CCD, "NE FIXUP -> 000b:26e9 (seg108:0ce9)")
+set_comment(0xC0CDD, "NE FIXUP -> 000b:2492 (seg108:0a92)")
+set_comment(0xC0CED, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC0D00, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xC0D08, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0xC0D0D, "NE FIXUP -> 000c:c9f4 (seg127:03f4)")
+set_comment(0xC0D12, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0xC0D25, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xC0D35, "NE FIXUP -> 000b:2492 (seg108:0a92)")
+set_comment(0xC0D50, "NE FIXUP -> 0008:9de3 (seg059:33e3)")
+set_comment(0xC0D68, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC0D87, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xC0D8F, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0xC0D9C, "NE FIXUP -> 000b:2492 (seg108:0a92)")
+set_comment(0xC0DC7, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xC0DD7, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xC0E06, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xC0E23, "NE FIXUP -> 000b:26e9 (seg108:0ce9)")
+set_comment(0xC0E33, "NE FIXUP -> 000b:2492 (seg108:0a92)")
+set_comment(0xC0E49, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xC0E59, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC0E64, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0xC0E71, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xC0E81, "NE FIXUP -> 000b:2492 (seg108:0a92)")
+set_comment(0xC0EAC, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xC0EBC, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xC0EF7, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xC0F3B, "NE FIXUP -> 000b:316a (seg109:036a)")
+set_comment(0xC0F7F, "NE FIXUP -> 000a:e842 (seg104:0242)")
+set_comment(0xC0F8F, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xC0FCC, "NE FIXUP -> 000b:2e6f (seg109:006f)")
+set_comment(0xC1013, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xC1023, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xC105C, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC1081, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC10C4, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xC10E0, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xC1117, "NE FIXUP -> 000b:316a (seg109:036a)")
+set_comment(0xC113E, "NE FIXUP -> 0008:9de3 (seg059:33e3)")
+set_comment(0xC118F, "NE FIXUP -> 000b:3d2a (seg109:0f2a)")
+set_comment(0xC1197, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0xC11AE, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xC11D2, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xC11EC, "NE FIXUP -> 0009:79a3 (seg077:03a3)")
+set_comment(0xC18A0, "NE FIXUP -> 000b:4a00 (seg111:0000)")
+set_comment(0xC18FF, "NE FIXUP -> 0008:770e (seg059:0d0e)")
+set_comment(0xC1915, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xC1925, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC1937, "NE FIXUP -> 000b:26e9 (seg108:0ce9)")
+set_comment(0xC1947, "NE FIXUP -> 000b:2492 (seg108:0a92)")
+set_comment(0xC1970, "NE FIXUP -> 0004:16ed (seg004:0ced)")
+set_comment(0xC1975, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0xC1982, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xC1996, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xC19A6, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xC19BA, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xC19D3, "NE FIXUP -> 000a:895c (seg097:0b5c)")
+set_comment(0xC1A80, "NE FIXUP -> 000a:87fd (seg097:09fd)")
+set_comment(0xC1AA6, "NE FIXUP -> 0004:ac6a (seg014:026a)")
+set_comment(0xC1ACA, "NE FIXUP -> 0009:9e61 (seg081:0061)")
+set_comment(0xC1AF5, "NE FIXUP -> 0004:ac6a (seg014:026a)")
+set_comment(0xC1B19, "NE FIXUP -> 0009:9e61 (seg081:0061)")
+set_comment(0xC1B44, "NE FIXUP -> 0004:ac6a (seg014:026a)")
+set_comment(0xC1B68, "NE FIXUP -> 0009:9e61 (seg081:0061)")
+set_comment(0xC1B98, "NE FIXUP -> 0004:ac6a (seg014:026a)")
+set_comment(0xC1BBC, "NE FIXUP -> 0009:9e61 (seg081:0061)")
+set_comment(0xC1BEC, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xC1C1C, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xC1C57, "NE FIXUP -> 0009:92d9 (seg080:06d9)")
+set_comment(0xC1C81, "NE FIXUP -> 000a:e842 (seg104:0242)")
+set_comment(0xC1C99, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0xC1D19, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xC1D55, "NE FIXUP -> 000a:87fd (seg097:09fd)")
+set_comment(0xC1D7F, "NE FIXUP -> 000a:e842 (seg104:0242)")
+set_comment(0xC1D97, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0xC1E17, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xC1E53, "NE FIXUP -> 000a:87fd (seg097:09fd)")
+set_comment(0xC1E71, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0xC1EA9, "NE FIXUP -> 000a:e842 (seg104:0242)")
+set_comment(0xC1F38, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xC1F75, "NE FIXUP -> 000a:87fd (seg097:09fd)")
+set_comment(0xC200D, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC2022, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC2352, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC2376, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC238A, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC23B2, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC23D6, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC23E6, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC2455, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC248C, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC24FB, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC2532, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC262B, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0xC263B, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC267B, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0xC268B, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC26C2, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0xC26D2, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC2712, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0xC2722, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC273A, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0xC274A, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC2762, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0xC2772, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC27B2, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xC2805, "NE FIXUP -> 000a:784b (seg096:024b)")
+set_comment(0xC281F, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0xC282E, "NE FIXUP -> 000b:26bd (seg108:0cbd)")
+set_comment(0xC2844, "NE FIXUP -> 000b:29d6 (seg108:0fd6)")
+set_comment(0xC2873, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xC2882, "NE FIXUP -> 0009:79a3 (seg077:03a3)")
+set_comment(0xC2A57, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xC2A7B, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xC2A8F, "NE FIXUP -> 0008:770e (seg059:0d0e)")
+set_comment(0xC2AA0, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xC2AB0, "NE FIXUP -> 000b:2492 (seg108:0a92)")
+set_comment(0xC2AC2, "NE FIXUP -> 000b:3d2a (seg109:0f2a)")
+set_comment(0xC2AD1, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xC2B03, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xC2B0B, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0xC2B22, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xC2B46, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xC2B56, "NE FIXUP -> 000a:78e4 (seg096:02e4)")
+set_comment(0xC2B6A, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xC2C0F, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xC2C1F, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xC2C55, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC2C8D, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC2CEA, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xC2CFA, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xC2D2E, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xC2D57, "NE FIXUP -> 000a:e842 (seg104:0242)")
+set_comment(0xC2D85, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xC2D9F, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xC2DC4, "NE FIXUP -> 000a:8fd0 (seg098:01d0)")
+set_comment(0xC2E16, "NE FIXUP -> 000a:e842 (seg104:0242)")
+set_comment(0xC2E26, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xC2E86, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xC2EB0, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC2EE8, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC2EFF, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC2F0F, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC2F3F, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC2F59, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xC2F7E, "NE FIXUP -> 000a:8fd0 (seg098:01d0)")
+set_comment(0xC2FD0, "NE FIXUP -> 000a:e842 (seg104:0242)")
+set_comment(0xC2FE0, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xC304E, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xC3085, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xC30BE, "NE FIXUP -> 0009:92d9 (seg080:06d9)")
+set_comment(0xC30EA, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC3118, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC3128, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC3147, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xC3169, "NE FIXUP -> 000a:912b (seg098:032b)")
+set_comment(0xC31AD, "NE FIXUP -> 000a:e842 (seg104:0242)")
+set_comment(0xC31BD, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xC31FA, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xC3216, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC3226, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC3242, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC3252, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC3273, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xC3287, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xC32AD, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xC32C1, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xC32E7, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xC32FB, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xC3326, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xC333A, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xC3C20, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xC3C57, "NE FIXUP -> 000b:316a (seg109:036a)")
+set_comment(0xC3C7E, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0xC3C95, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xC3CB9, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xC3CD9, "NE FIXUP -> 0008:d27e (seg061:187e)")
+set_comment(0xC3DA6, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xC3DBA, "NE FIXUP -> 0009:79a3 (seg077:03a3)")
+set_comment(0xC3DD0, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xC3DE0, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC3DF2, "NE FIXUP -> 000b:26bd (seg108:0cbd)")
+set_comment(0xC3E02, "NE FIXUP -> 000b:2492 (seg108:0a92)")
+set_comment(0xC3E14, "NE FIXUP -> 000b:3d2a (seg109:0f2a)")
+set_comment(0xC3E4F, "NE FIXUP -> 0008:d27e (seg061:187e)")
+set_comment(0xC3E60, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0xC3E6D, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xC3E88, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xC3E9C, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xC3EAC, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xC3EC0, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xC3EFD, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xC3F0D, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xC3F6A, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC3F9B, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC3FC3, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC4006, "NE FIXUP -> 0004:5829 (seg009:0429)")
+set_comment(0xC4047, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0xC4051, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xC407B, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xC408B, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xC40C1, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xC40D1, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xC40DD, "NE FIXUP -> 0004:731f (seg011:051f)")
+set_comment(0xC4122, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xC4132, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xC415E, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xC416E, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xC422C, "NE FIXUP -> 0004:ac6a (seg014:026a)")
+set_comment(0xC4250, "NE FIXUP -> 0009:9e61 (seg081:0061)")
+set_comment(0xC427B, "NE FIXUP -> 0004:ac6a (seg014:026a)")
+set_comment(0xC429F, "NE FIXUP -> 0009:9e61 (seg081:0061)")
+set_comment(0xC42CA, "NE FIXUP -> 0004:ac6a (seg014:026a)")
+set_comment(0xC42EE, "NE FIXUP -> 0009:9e61 (seg081:0061)")
+set_comment(0xC431E, "NE FIXUP -> 0004:ac6a (seg014:026a)")
+set_comment(0xC4342, "NE FIXUP -> 0009:9e61 (seg081:0061)")
+set_comment(0xC435F, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xC43A3, "NE FIXUP -> 000b:316a (seg109:036a)")
+set_comment(0xC43E3, "NE FIXUP -> 000a:e842 (seg104:0242)")
+set_comment(0xC43F3, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xC4409, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xC4430, "NE FIXUP -> 000b:3d2a (seg109:0f2a)")
+set_comment(0xC446A, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xC4489, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xC449D, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xC44F0, "NE FIXUP -> 000b:4082 (seg109:1282)")
+set_comment(0xC4500, "NE FIXUP -> 000b:2492 (seg108:0a92)")
+set_comment(0xC453E, "NE FIXUP -> 0004:7332 (seg011:0532)")
+set_comment(0xC4568, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xC4578, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xC4592, "NE FIXUP -> 000b:4082 (seg109:1282)")
+set_comment(0xC45A2, "NE FIXUP -> 000b:2492 (seg108:0a92)")
+set_comment(0xC4644, "NE FIXUP -> 0003:b621 (seg001:4021)")
+set_comment(0xC467D, "NE FIXUP -> 000a:9748 (seg099:0148)")
+set_comment(0xC469D, "NE FIXUP -> 000a:30aa (seg088:02aa)")
+set_comment(0xC46F0, "NE FIXUP -> 000a:2e00 (seg088:0000)")
+set_comment(0xC4700, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC4720, "NE FIXUP -> 000b:2e6f (seg109:006f)")
+set_comment(0xC473F, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC4761, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC4771, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC47A4, "NE FIXUP -> 0004:731f (seg011:051f)")
+set_comment(0xC47F1, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xC4801, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xC482E, "NE FIXUP -> 0004:731f (seg011:051f)")
+set_comment(0xC48A9, "NE FIXUP -> 000b:4053 (seg109:1253)")
+set_comment(0xC48B9, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xC48C9, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC4907, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xC4943, "NE FIXUP -> 0009:92d9 (seg080:06d9)")
+set_comment(0xC495C, "NE FIXUP -> 000a:9748 (seg099:0148)")
+set_comment(0xC4996, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0xC49BB, "NE FIXUP -> 000a:2e00 (seg088:0000)")
+set_comment(0xC49CE, "NE FIXUP -> 000a:9748 (seg099:0148)")
+set_comment(0xC49E2, "NE FIXUP -> 0004:731f (seg011:051f)")
+set_comment(0xC49FD, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0xC4A0C, "NE FIXUP -> 000a:2e00 (seg088:0000)")
+set_comment(0xC4A31, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC4A53, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC4A63, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC4E0E, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xC4E30, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xC4E40, "NE FIXUP -> 000b:1a00 (seg108:0000)")
+set_comment(0xC4E5F, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xC4F50, "NE FIXUP -> 0009:7ec7 (seg078:00c7)")
+set_comment(0xC4F70, "NE FIXUP -> 0009:7ec7 (seg078:00c7)")
+set_comment(0xC50EC, "NE FIXUP -> 000b:29c9 (seg108:0fc9)")
+set_comment(0xC510D, "NE FIXUP -> 000b:29c9 (seg108:0fc9)")
+set_comment(0xC5194, "NE FIXUP -> 000b:1d1b (seg108:031b)")
+set_comment(0xC51A8, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0xC51C6, "NE FIXUP -> 000b:1d7f (seg108:037f)")
+set_comment(0xC5418, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xC5472, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xC54A9, "NE FIXUP -> 000b:316a (seg109:036a)")
+set_comment(0xC54BD, "NE FIXUP -> 0006:1d6c (seg030:3d6c)")
+set_comment(0xC55B8, "NE FIXUP -> 000b:4a00 (seg111:0000)")
+set_comment(0xC55F5, "NE FIXUP -> 000b:4a00 (seg111:0000)")
+set_comment(0xC5632, "NE FIXUP -> 000b:4a00 (seg111:0000)")
+set_comment(0xC566F, "NE FIXUP -> 000b:4a00 (seg111:0000)")
+set_comment(0xC56AC, "NE FIXUP -> 000b:4a00 (seg111:0000)")
+set_comment(0xC56E9, "NE FIXUP -> 000b:4a00 (seg111:0000)")
+set_comment(0xC5726, "NE FIXUP -> 000b:4a00 (seg111:0000)")
+set_comment(0xC5763, "NE FIXUP -> 000b:4a00 (seg111:0000)")
+set_comment(0xC5796, "NE FIXUP -> 000b:33a6 (seg109:05a6)")
+set_comment(0xC57AC, "NE FIXUP -> 000b:4a00 (seg111:0000)")
+set_comment(0xC5810, "NE FIXUP -> 000b:3d2a (seg109:0f2a)")
+set_comment(0xC5818, "NE FIXUP -> 000c:827d (seg126:0e7d)")
+set_comment(0xC5823, "NE FIXUP -> 000b:33a6 (seg109:05a6)")
+set_comment(0xC584C, "NE FIXUP -> 000c:82f9 (seg126:0ef9)")
+set_comment(0xC5867, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xC587B, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xC5898, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC58A8, "NE FIXUP -> 000b:33a6 (seg109:05a6)")
+set_comment(0xC58BC, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC58CC, "NE FIXUP -> 000b:33a6 (seg109:05a6)")
+set_comment(0xC58E0, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC58F0, "NE FIXUP -> 000b:33a6 (seg109:05a6)")
+set_comment(0xC5904, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC5914, "NE FIXUP -> 000b:33a6 (seg109:05a6)")
+set_comment(0xC5928, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC5938, "NE FIXUP -> 000b:33a6 (seg109:05a6)")
+set_comment(0xC594C, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC595C, "NE FIXUP -> 000b:33a6 (seg109:05a6)")
+set_comment(0xC5970, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC5980, "NE FIXUP -> 000b:33a6 (seg109:05a6)")
+set_comment(0xC5994, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC59AF, "NE FIXUP -> 0003:aa5d (seg001:345d)")
+set_comment(0xC59CB, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC59E6, "NE FIXUP -> 0003:aa5d (seg001:345d)")
+set_comment(0xC59FE, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC5A1A, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC5A2A, "NE FIXUP -> 000b:33a6 (seg109:05a6)")
+set_comment(0xC5A3E, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC5A4E, "NE FIXUP -> 000b:33a6 (seg109:05a6)")
+set_comment(0xC5A62, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC5A7D, "NE FIXUP -> 0003:aa5d (seg001:345d)")
+set_comment(0xC5A99, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC5AB4, "NE FIXUP -> 0003:aa5d (seg001:345d)")
+set_comment(0xC5AD0, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC5AEB, "NE FIXUP -> 0003:aa5d (seg001:345d)")
+set_comment(0xC5B07, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC5B22, "NE FIXUP -> 0003:aa5d (seg001:345d)")
+set_comment(0xC5B3E, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC5B59, "NE FIXUP -> 0003:aa5d (seg001:345d)")
+set_comment(0xC5B75, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC5B90, "NE FIXUP -> 0003:aa5d (seg001:345d)")
+set_comment(0xC5BA8, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC5C24, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xC5C4F, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xC5C7F, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xC5CAF, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xC5CBE, "NE FIXUP -> 000a:9748 (seg099:0148)")
+set_comment(0xC5CF8, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0xC5D15, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0xC5D32, "NE FIXUP -> 0006:ab6a (seg036:056a)")
+set_comment(0xC5D87, "NE FIXUP -> 0006:abdc (seg036:05dc)")
+set_comment(0xC5DC4, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xC5DEA, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0xC5E20, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0xC5E56, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0xC5E8C, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0xC5E9D, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xC5EC5, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0xC5EE4, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0xC5F01, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0xC5F10, "NE FIXUP -> 000a:2e00 (seg088:0000)")
+set_comment(0xC5F4D, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xC5F5C, "NE FIXUP -> 0009:1c3a (seg070:003a)")
+set_comment(0xC5F75, "NE FIXUP -> 0009:1ecc (seg070:02cc)")
+set_comment(0xC5F94, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xC5FBD, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xC5FCA, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xC6064, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xC6085, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC60E3, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xC60FC, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xC6111, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0xC6176, "NE FIXUP -> 000e:2777 (seg142:3f77)")
+set_comment(0xC619C, "NE FIXUP -> 000e:2777 (seg142:3f77)")
+set_comment(0xC61B2, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xC61C6, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xC621E, "NE FIXUP -> 000a:87fd (seg097:09fd)")
+set_comment(0xC6245, "NE FIXUP -> 000b:2492 (seg108:0a92)")
+set_comment(0xC6280, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xC6290, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xC62DA, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC6346, "NE FIXUP -> 0003:aa5d (seg001:345d)")
+set_comment(0xC6376, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC6565, "NE FIXUP -> 0006:1d6c (seg030:3d6c)")
+set_comment(0xC660E, "NE FIXUP -> 0006:1d6c (seg030:3d6c)")
+set_comment(0xC664C, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC666D, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC6691, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC66AC, "NE FIXUP -> 0003:aa5d (seg001:345d)")
+set_comment(0xC66C8, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC66D8, "NE FIXUP -> 000b:33a6 (seg109:05a6)")
+set_comment(0xC6709, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC672A, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC6745, "NE FIXUP -> 0003:aa5d (seg001:345d)")
+set_comment(0xC6761, "NE FIXUP -> 000b:30a5 (seg109:02a5)")
+set_comment(0xC6771, "NE FIXUP -> 000b:33a6 (seg109:05a6)")
+set_comment(0xC6799, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC6A21, "NE FIXUP -> 0006:1956 (seg030:3956)")
+set_comment(0xC6A3B, "NE FIXUP -> 0006:1956 (seg030:3956)")
+set_comment(0xC6A5F, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0xC6AAD, "NE FIXUP -> 0006:1956 (seg030:3956)")
+set_comment(0xC6AEE, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0xC6BA1, "NE FIXUP -> 0005:13e7 (seg021:11e7)")
+set_comment(0xC6BB4, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0xC6BBF, "NE FIXUP -> 000c:74c8 (seg126:00c8)")
+set_comment(0xC6C38, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xC6C45, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0xC6C52, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0xC6C5F, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0xC6C6D, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0xC6CA0, "NE FIXUP -> 0005:13e7 (seg021:11e7)")
+set_comment(0xC6CC4, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0xC6CD1, "NE FIXUP -> 000c:7730 (seg126:0330)")
+set_comment(0xC6CEA, "NE FIXUP -> 0006:1956 (seg030:3956)")
+set_comment(0xC6D15, "NE FIXUP -> 0005:0eee (seg021:0cee)")
+set_comment(0xC6DE6, "NE FIXUP -> 0006:4b36 (seg032:0336)")
+set_comment(0xC7403, "NE FIXUP -> 0008:ec23 (seg064:0223)")
+set_comment(0xC7408, "NE FIXUP -> 0008:ecad (seg064:02ad)")
+set_comment(0xC741A, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xC7422, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0xC7427, "NE FIXUP -> 000c:c9f4 (seg127:03f4)")
+set_comment(0xC742C, "NE FIXUP -> 0004:1e00 (seg005:0000)")
+set_comment(0xC7447, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xC745D, "NE FIXUP -> 0008:ba00 (seg061:0000)")
+set_comment(0xC74B3, "NE FIXUP -> 0008:9de3 (seg059:33e3)")
+set_comment(0xC7500, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xC7512, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xC751F, "NE FIXUP -> 0006:1956 (seg030:3956)")
+set_comment(0xC753B, "NE FIXUP -> 0005:0eaa (seg021:0caa)")
+set_comment(0xC7549, "NE FIXUP -> 0005:0eaa (seg021:0caa)")
+set_comment(0xC7568, "NE FIXUP -> 0006:0b5a (seg030:2b5a)")
+set_comment(0xC7588, "NE FIXUP -> 0005:11c4 (seg021:0fc4)")
+set_comment(0xC7599, "NE FIXUP -> 0006:0afb (seg030:2afb)")
+set_comment(0xC75B9, "NE FIXUP -> 0005:11c4 (seg021:0fc4)")
+set_comment(0xC75CB, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xC75D8, "NE FIXUP -> 0006:1956 (seg030:3956)")
+set_comment(0xC75F4, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0xC760F, "NE FIXUP -> 0006:0b25 (seg030:2b25)")
+set_comment(0xC762F, "NE FIXUP -> 0005:11c4 (seg021:0fc4)")
+set_comment(0xC7641, "NE FIXUP -> 0005:11c4 (seg021:0fc4)")
+set_comment(0xC7656, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xC768B, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xC7698, "NE FIXUP -> 0006:1956 (seg030:3956)")
+set_comment(0xC76B4, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xC76E7, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0xC76FF, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0xC7716, "NE FIXUP -> 0006:0b5a (seg030:2b5a)")
+set_comment(0xC776C, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xC7781, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xC778E, "NE FIXUP -> 0006:1956 (seg030:3956)")
+set_comment(0xC77A1, "NE FIXUP -> 0005:0eaa (seg021:0caa)")
+set_comment(0xC77BA, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0xC77CD, "NE FIXUP -> 0005:0fd1 (seg021:0dd1)")
+set_comment(0xC77DC, "NE FIXUP -> 0007:e29c (seg050:049c)")
+set_comment(0xC77E9, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0xC77F7, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0xC7806, "NE FIXUP -> 0006:0b5a (seg030:2b5a)")
+set_comment(0xC781C, "NE FIXUP -> 0005:1552 (seg021:1352)")
+set_comment(0xC782D, "NE FIXUP -> 0005:1542 (seg021:1342)")
+set_comment(0xC783C, "NE FIXUP -> 0005:0a10 (seg021:0810)")
+set_comment(0xC784A, "NE FIXUP -> 0006:07f3 (seg030:27f3)")
+set_comment(0xC7857, "NE FIXUP -> 0006:1671 (seg030:3671)")
+set_comment(0xC7861, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0xC7870, "NE FIXUP -> 0007:e29c (seg050:049c)")
+set_comment(0xC7884, "NE FIXUP -> 0005:11c4 (seg021:0fc4)")
+set_comment(0xC78A6, "NE FIXUP -> 0006:1956 (seg030:3956)")
+set_comment(0xC78B9, "NE FIXUP -> 0006:0afb (seg030:2afb)")
+set_comment(0xC78CF, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xC78DB, "NE FIXUP -> 0006:a87e (seg036:027e)")
+set_comment(0xC78EA, "NE FIXUP -> 0006:a87e (seg036:027e)")
+set_comment(0xC78F3, "NE FIXUP -> 0006:a80f (seg036:020f)")
+set_comment(0xC790D, "NE FIXUP -> 0005:0fd1 (seg021:0dd1)")
+set_comment(0xC791E, "NE FIXUP -> 0005:0fd1 (seg021:0dd1)")
+set_comment(0xC792B, "NE FIXUP -> 0005:1552 (seg021:1352)")
+set_comment(0xC793C, "NE FIXUP -> 0005:1542 (seg021:1342)")
+set_comment(0xC794A, "NE FIXUP -> 0006:07f3 (seg030:27f3)")
+set_comment(0xC7956, "NE FIXUP -> 0006:13b0 (seg030:33b0)")
+set_comment(0xC7967, "NE FIXUP -> 0006:162d (seg030:362d)")
+set_comment(0xC7976, "NE FIXUP -> 0007:e29c (seg050:049c)")
+set_comment(0xC7980, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0xC798A, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0xC799E, "NE FIXUP -> 0005:11c4 (seg021:0fc4)")
+set_comment(0xC79B3, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xC79C0, "NE FIXUP -> 0006:1956 (seg030:3956)")
+set_comment(0xC79DC, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0xC79F1, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0xC7A00, "NE FIXUP -> 0005:0fd1 (seg021:0dd1)")
+set_comment(0xC7A0F, "NE FIXUP -> 0007:e29c (seg050:049c)")
+set_comment(0xC7A1C, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0xC7A2A, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0xC7A37, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0xC7A43, "NE FIXUP -> 0006:0b25 (seg030:2b25)")
+set_comment(0xC7A5B, "NE FIXUP -> 0005:0fd1 (seg021:0dd1)")
+set_comment(0xC7A68, "NE FIXUP -> 0005:1552 (seg021:1352)")
+set_comment(0xC7A79, "NE FIXUP -> 0005:1542 (seg021:1342)")
+set_comment(0xC7A87, "NE FIXUP -> 0006:07f3 (seg030:27f3)")
+set_comment(0xC7A96, "NE FIXUP -> 0007:e29c (seg050:049c)")
+set_comment(0xC7AAA, "NE FIXUP -> 0005:11c4 (seg021:0fc4)")
+set_comment(0xC7ABC, "NE FIXUP -> 0005:11c4 (seg021:0fc4)")
+set_comment(0xC7AD1, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xC7AE6, "NE FIXUP -> 0005:3a89 (seg021:3889)")
+set_comment(0xC7AF6, "NE FIXUP -> 0006:1d06 (seg030:3d06)")
+set_comment(0xC7B05, "NE FIXUP -> 0007:e29c (seg050:049c)")
+set_comment(0xC7B12, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0xC7B3D, "NE FIXUP -> 0007:e29c (seg050:049c)")
+set_comment(0xC7B4A, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0xC7B6B, "NE FIXUP -> 0006:152c (seg030:352c)")
+set_comment(0xC7B7D, "NE FIXUP -> 0006:1534 (seg030:3534)")
+set_comment(0xC7B90, "NE FIXUP -> 0006:152c (seg030:352c)")
+set_comment(0xC7BA3, "NE FIXUP -> 0006:1534 (seg030:3534)")
+set_comment(0xC7BB6, "NE FIXUP -> 0006:152c (seg030:352c)")
+set_comment(0xC7BC9, "NE FIXUP -> 0006:1534 (seg030:3534)")
+set_comment(0xC7BDF, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xC7BEC, "NE FIXUP -> 0006:1792 (seg030:3792)")
+set_comment(0xC7BF6, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0xC7C0A, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xC7C17, "NE FIXUP -> 0006:1956 (seg030:3956)")
+set_comment(0xC7C39, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xC7C5A, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0xC7C74, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0xC7C89, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0xC7C9B, "NE FIXUP -> 0005:0fd1 (seg021:0dd1)")
+set_comment(0xC7CA8, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xC7CBC, "NE FIXUP -> 0007:e29c (seg050:049c)")
+set_comment(0xC7CC9, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0xC7CD7, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0xC7CE7, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0xC7CFC, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0xC7D0E, "NE FIXUP -> 0005:0fd1 (seg021:0dd1)")
+set_comment(0xC7D1B, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xC7D2F, "NE FIXUP -> 0007:e29c (seg050:049c)")
+set_comment(0xC7D3C, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0xC7D4A, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0xC7D80, "NE FIXUP -> 0006:14eb (seg030:34eb)")
+set_comment(0xC7D93, "NE FIXUP -> 0006:1505 (seg030:3505)")
+set_comment(0xC7DA0, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0xC7DBA, "NE FIXUP -> 0007:e29c (seg050:049c)")
+set_comment(0xC7DC9, "NE FIXUP -> 0006:14eb (seg030:34eb)")
+set_comment(0xC7DDC, "NE FIXUP -> 0006:1505 (seg030:3505)")
+set_comment(0xC7DE9, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0xC7E00, "NE FIXUP -> 0007:e29c (seg050:049c)")
+set_comment(0xC7E0E, "NE FIXUP -> 0006:14eb (seg030:34eb)")
+set_comment(0xC7E21, "NE FIXUP -> 0006:1505 (seg030:3505)")
+set_comment(0xC7E2E, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0xC7E45, "NE FIXUP -> 0007:e29c (seg050:049c)")
+set_comment(0xC7E5A, "NE FIXUP -> 0006:0b5a (seg030:2b5a)")
+set_comment(0xC7E70, "NE FIXUP -> 0005:1552 (seg021:1352)")
+set_comment(0xC7E81, "NE FIXUP -> 0005:1542 (seg021:1342)")
+set_comment(0xC7E90, "NE FIXUP -> 0005:0a10 (seg021:0810)")
+set_comment(0xC7E9E, "NE FIXUP -> 0006:07f3 (seg030:27f3)")
+set_comment(0xC7EAD, "NE FIXUP -> 0005:0fd1 (seg021:0dd1)")
+set_comment(0xC7EBA, "NE FIXUP -> 0006:1671 (seg030:3671)")
+set_comment(0xC7EC4, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0xC7ED1, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xC7EE5, "NE FIXUP -> 0007:e29c (seg050:049c)")
+set_comment(0xC7F3F, "NE FIXUP -> 0006:1956 (seg030:3956)")
+set_comment(0xC7F57, "NE FIXUP -> 0005:11c4 (seg021:0fc4)")
+set_comment(0xC7F6B, "NE FIXUP -> 0006:0973 (seg030:2973)")
+set_comment(0xC7F86, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0xC7F93, "NE FIXUP -> 0006:0908 (seg030:2908)")
+set_comment(0xC7FA8, "NE FIXUP -> 0006:0973 (seg030:2973)")
+set_comment(0xC7FBB, "NE FIXUP -> 0005:0eaa (seg021:0caa)")
+set_comment(0xC7FCA, "NE FIXUP -> 0005:0eee (seg021:0cee)")
+set_comment(0xC7FD7, "NE FIXUP -> 0005:0eaa (seg021:0caa)")
+set_comment(0xC7FE8, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0xC7FF5, "NE FIXUP -> 0006:0908 (seg030:2908)")
+set_comment(0xC800D, "NE FIXUP -> 0006:131f (seg030:331f)")
+set_comment(0xC803E, "NE FIXUP -> 0006:07c0 (seg030:27c0)")
+set_comment(0xC8053, "NE FIXUP -> 0006:162d (seg030:362d)")
+set_comment(0xC805D, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0xC8067, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0xC8078, "NE FIXUP -> 0006:131f (seg030:331f)")
+set_comment(0xC80B6, "NE FIXUP -> 0006:07c0 (seg030:27c0)")
+set_comment(0xC80CE, "NE FIXUP -> 0006:162d (seg030:362d)")
+set_comment(0xC80D8, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0xC80E2, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0xC80F1, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0xC8101, "NE FIXUP -> 0006:1b4f (seg030:3b4f)")
+set_comment(0xC8117, "NE FIXUP -> 0006:e214 (seg039:0014)")
+set_comment(0xC8126, "NE FIXUP -> 0006:1b4f (seg030:3b4f)")
+set_comment(0xC8143, "NE FIXUP -> 0005:e119 (seg030:0119)")
+set_comment(0xC8154, "NE FIXUP -> 0007:14af (seg039:32af)")
+set_comment(0xC8165, "NE FIXUP -> 0006:1353 (seg030:3353)")
+set_comment(0xC8196, "NE FIXUP -> 0006:07c0 (seg030:27c0)")
+set_comment(0xC81AB, "NE FIXUP -> 0006:1671 (seg030:3671)")
+set_comment(0xC81B5, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0xC81C6, "NE FIXUP -> 0006:1353 (seg030:3353)")
+set_comment(0xC81F7, "NE FIXUP -> 0006:07c0 (seg030:27c0)")
+set_comment(0xC820C, "NE FIXUP -> 0006:1671 (seg030:3671)")
+set_comment(0xC8216, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0xC825E, "NE FIXUP -> 000b:f4fe (seg121:00fe)")
+set_comment(0xC8268, "NE FIXUP -> 000c:5400 (seg125:0000)")
+set_comment(0xC8274, "NE FIXUP -> 000b:8c05 (seg116:0005)")
+set_comment(0xC827D, "NE FIXUP -> 000a:534a (seg092:054a)")
+set_comment(0xC828A, "NE FIXUP -> 0008:4b1b (seg055:091b)")
+set_comment(0xC8292, "NE FIXUP -> 0008:39df (seg053:0ddf)")
+set_comment(0xC82A9, "NE FIXUP -> 000b:2492 (seg108:0a92)")
+set_comment(0xC82BB, "NE FIXUP -> 000b:26e9 (seg108:0ce9)")
+set_comment(0xC82F9, "NE FIXUP -> 0008:39e9 (seg053:0de9)")
+set_comment(0xC8305, "NE FIXUP -> 0008:4b1b (seg055:091b)")
+set_comment(0xC831F, "NE FIXUP -> 000b:2706 (seg108:0d06)")
+set_comment(0xC832F, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xC8340, "NE FIXUP -> 000a:535b (seg092:055b)")
+set_comment(0xC8356, "NE FIXUP -> 0008:3982 (seg053:0d82)")
+set_comment(0xC8362, "NE FIXUP -> 000a:612e (seg094:032e)")
+set_comment(0xC8367, "NE FIXUP -> 000a:5e95 (seg094:0095)")
+set_comment(0xC836C, "NE FIXUP -> 000d:cd22 (seg139:0122)")
+set_comment(0xC8371, "NE FIXUP -> 000a:703e (seg095:0a3e)")
+set_comment(0xC8387, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xC83BE, "NE FIXUP -> 000b:316a (seg109:036a)")
+set_comment(0xC844C, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xC845B, "NE FIXUP -> 000b:3d2a (seg109:0f2a)")
+set_comment(0xC849B, "NE FIXUP -> 000b:29d6 (seg108:0fd6)")
+set_comment(0xC84AC, "NE FIXUP -> 0008:7bfe (seg059:11fe)")
+set_comment(0xC84B9, "NE FIXUP -> 000a:b38b (seg101:0f8b)")
+set_comment(0xC84D3, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0xC84EE, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xC8512, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xC8526, "NE FIXUP -> 0008:4b8f (seg055:098f)")
+set_comment(0xC8533, "NE FIXUP -> 000c:0200 (seg122:0000)")
+set_comment(0xC853D, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xC854D, "NE FIXUP -> 0008:4b32 (seg055:0932)")
+set_comment(0xC855C, "NE FIXUP -> 000b:26e9 (seg108:0ce9)")
+set_comment(0xC856C, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xC8586, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xC85AA, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xC85B9, "NE FIXUP -> 000a:4a56 (seg091:0656)")
+set_comment(0xC85CD, "NE FIXUP -> 000a:5339 (seg092:0539)")
+set_comment(0xC85D2, "NE FIXUP -> 0004:70f1 (seg011:02f1)")
+set_comment(0xC85F8, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xC860C, "NE FIXUP -> 0004:6f15 (seg011:0115)")
+set_comment(0xC8632, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xC864C, "NE FIXUP -> 0008:ec23 (seg064:0223)")
+set_comment(0xC8651, "NE FIXUP -> 0008:7bfe (seg059:11fe)")
+set_comment(0xC8656, "NE FIXUP -> 0008:87cc (seg059:1dcc)")
+set_comment(0xC8660, "NE FIXUP -> 0006:ae00 (seg037:0000)")
+set_comment(0xC8665, "NE FIXUP -> 000d:60bf (seg134:00bf)")
+set_comment(0xC866A, "NE FIXUP -> 000d:6000 (seg134:0000)")
+set_comment(0xC8677, "NE FIXUP -> 0007:1388 (seg039:3188)")
+set_comment(0xC8687, "NE FIXUP -> 0004:7683 (seg012:0083)")
+set_comment(0xC8698, "NE FIXUP -> 0008:3982 (seg053:0d82)")
+set_comment(0xC869D, "NE FIXUP -> 000c:f000 (seg131:0000)")
+set_comment(0xC86A8, "NE FIXUP -> 000c:f051 (seg131:0051)")
+set_comment(0xC86B0, "NE FIXUP -> 0005:67d5 (seg022:17d5)")
+set_comment(0xC86B5, "NE FIXUP -> 0005:663a (seg022:163a)")
+set_comment(0xC86BA, "NE FIXUP -> 0005:e0aa (seg030:00aa)")
+set_comment(0xC86BF, "NE FIXUP -> 0005:e00c (seg030:000c)")
+set_comment(0xC86C8, "NE FIXUP -> 0006:1854 (seg030:3854)")
+set_comment(0xC86DF, "NE FIXUP -> 0005:13e7 (seg021:11e7)")
+set_comment(0xC86EF, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0xC86FC, "NE FIXUP -> 0005:0376 (seg021:0176)")
+set_comment(0xC8709, "NE FIXUP -> 0005:033e (seg021:013e)")
+set_comment(0xC8717, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0xC873A, "NE FIXUP -> 0005:13e7 (seg021:11e7)")
+set_comment(0xC874F, "NE FIXUP -> 0005:1528 (seg021:1328)")
+set_comment(0xC8759, "NE FIXUP -> 0007:d4a5 (seg049:1aa5)")
+set_comment(0xC8769, "NE FIXUP -> 0007:c6ba (seg049:0cba)")
+set_comment(0xC8778, "NE FIXUP -> 0007:d4a5 (seg049:1aa5)")
+set_comment(0xC8786, "NE FIXUP -> 0004:eece (seg019:04ce)")
+set_comment(0xC87A0, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xC87C4, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xC87CC, "NE FIXUP -> 0006:16e1 (seg030:36e1)")
+set_comment(0xC87FD, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xC8835, "NE FIXUP -> 0005:3242 (seg021:3042)")
+set_comment(0xC8845, "NE FIXUP -> 000b:2706 (seg108:0d06)")
+set_comment(0xC88C7, "NE FIXUP -> 0005:ffed (seg030:1fed)")
+set_comment(0xC88D5, "NE FIXUP -> 0006:e210 (seg039:0010)")
+set_comment(0xC8909, "NE FIXUP -> 000b:2706 (seg108:0d06)")
+set_comment(0xC898B, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0xC89D8, "NE FIXUP -> 000c:d200 (seg128:0000)")
+set_comment(0xC89E2, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xC89F9, "NE FIXUP -> 000d:8b10 (seg137:0d10)")
+set_comment(0xC8A07, "NE FIXUP -> 000a:4a56 (seg091:0656)")
+set_comment(0xC8B30, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xC8B42, "NE FIXUP -> 0006:4b36 (seg032:0336)")
+set_comment(0xC8B5B, "NE FIXUP -> 0005:2867 (seg021:2667)")
+set_comment(0xC8BC8, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xC8BD1, "NE FIXUP -> 0006:aa24 (seg036:0424)")
+set_comment(0xC8BE2, "NE FIXUP -> 0005:2867 (seg021:2667)")
+set_comment(0xC8D59, "NE FIXUP -> 0005:2867 (seg021:2667)")
+set_comment(0xC8D72, "NE FIXUP -> 0005:033e (seg021:013e)")
+set_comment(0xC8D80, "NE FIXUP -> 0005:0376 (seg021:0176)")
+set_comment(0xC8DB0, "NE FIXUP -> 0006:4800 (seg032:0000)")
+set_comment(0xC8DDD, "NE FIXUP -> 0005:9971 (seg025:0771)")
+set_comment(0xC8DEC, "NE FIXUP -> 0005:2867 (seg021:2667)")
+set_comment(0xC8DF9, "NE FIXUP -> 0005:9c8e (seg025:0a8e)")
+set_comment(0xC8EAA, "NE FIXUP -> 0006:e210 (seg039:0010)")
+set_comment(0xC8EBE, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0xC8F0B, "NE FIXUP -> 000c:d200 (seg128:0000)")
+set_comment(0xC8F15, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xC8F21, "NE FIXUP -> 000a:5339 (seg092:0539)")
+set_comment(0xC8F2C, "NE FIXUP -> 0004:70f1 (seg011:02f1)")
+set_comment(0xC8F66, "NE FIXUP -> 000c:d583 (seg128:0383)")
+set_comment(0xC8F70, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xC8F9C, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0xC8FE9, "NE FIXUP -> 000c:d200 (seg128:0000)")
+set_comment(0xC8FF3, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xC9005, "NE FIXUP -> 0004:6f15 (seg011:0115)")
+set_comment(0xC903F, "NE FIXUP -> 000c:d583 (seg128:0383)")
+set_comment(0xC9049, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xC9059, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0xC9074, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xC9098, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xC90A8, "NE FIXUP -> 000c:10ce (seg122:0ece)")
+set_comment(0xC90B2, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xC90C4, "NE FIXUP -> 000b:26e9 (seg108:0ce9)")
+set_comment(0xC90D4, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xC90EE, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xC9112, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xC912A, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xC9160, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0xC917B, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xC919F, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xC91B1, "NE FIXUP -> 000c:3c0e (seg123:000e)")
+set_comment(0xC91BB, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xC91D1, "NE FIXUP -> 000b:26e9 (seg108:0ce9)")
+set_comment(0xC91E1, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xC91E9, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0xC9200, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xC9224, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xC922C, "NE FIXUP -> 0004:70f1 (seg011:02f1)")
+set_comment(0xC923D, "NE FIXUP -> 000b:26e9 (seg108:0ce9)")
+set_comment(0xC924D, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xC9267, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xC928B, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xC929F, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xC92E2, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0xC92FD, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xC9321, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xC9333, "NE FIXUP -> 000c:3c0e (seg123:000e)")
+set_comment(0xC933D, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xC9353, "NE FIXUP -> 000b:26e9 (seg108:0ce9)")
+set_comment(0xC9363, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xC936B, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0xC9382, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xC93A6, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xC93AE, "NE FIXUP -> 0004:6f15 (seg011:0115)")
+set_comment(0xC93C7, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xC93EB, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xC93FF, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xC9478, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0xC9482, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xC94BF, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0xC94C9, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xC94E7, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xC950F, "NE FIXUP -> 0006:1956 (seg030:3956)")
+set_comment(0xC9536, "NE FIXUP -> 0005:2867 (seg021:2667)")
+set_comment(0xC9543, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0xC9552, "NE FIXUP -> 0005:0fd1 (seg021:0dd1)")
+set_comment(0xC955F, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0xC9570, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0xC957F, "NE FIXUP -> 0006:092b (seg030:292b)")
+set_comment(0xC958B, "NE FIXUP -> 0006:1418 (seg030:3418)")
+set_comment(0xC959E, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0xC95C6, "NE FIXUP -> 0006:1956 (seg030:3956)")
+set_comment(0xC95ED, "NE FIXUP -> 0005:2867 (seg021:2667)")
+set_comment(0xC95FA, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0xC9609, "NE FIXUP -> 0005:0fd1 (seg021:0dd1)")
+set_comment(0xC9616, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0xC9627, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0xC9636, "NE FIXUP -> 0006:092b (seg030:292b)")
+set_comment(0xC9642, "NE FIXUP -> 0006:1418 (seg030:3418)")
+set_comment(0xC9655, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0xC96A6, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0xC96B0, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xC96ED, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0xC96F7, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xC9752, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0xC975C, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xC9799, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0xC97A3, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xC97D1, "NE FIXUP -> 0008:eb43 (seg064:0143)")
+set_comment(0xC97DD, "NE FIXUP -> 0006:e210 (seg039:0010)")
+set_comment(0xC97FC, "NE FIXUP -> 0006:e210 (seg039:0010)")
+set_comment(0xC9828, "NE FIXUP -> 0006:1418 (seg030:3418)")
+set_comment(0xC984F, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xC9868, "NE FIXUP -> 0005:2867 (seg021:2667)")
+set_comment(0xC98A2, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0xC98B1, "NE FIXUP -> 0005:0fd1 (seg021:0dd1)")
+set_comment(0xC98BE, "NE FIXUP -> 0005:0fbb (seg021:0dbb)")
+set_comment(0xC98CF, "NE FIXUP -> 0005:1565 (seg021:1365)")
+set_comment(0xC98DE, "NE FIXUP -> 0006:092b (seg030:292b)")
+set_comment(0xC98EC, "NE FIXUP -> 0008:4bba (seg055:09ba)")
+set_comment(0xC98F8, "NE FIXUP -> 0006:e210 (seg039:0010)")
+set_comment(0xC9917, "NE FIXUP -> 0006:e210 (seg039:0010)")
+set_comment(0xC993A, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0xC9949, "NE FIXUP -> 0005:0376 (seg021:0176)")
+set_comment(0xC9956, "NE FIXUP -> 0005:033e (seg021:013e)")
+set_comment(0xC9968, "NE FIXUP -> 0003:e4d3 (seg001:6ed3)")
+set_comment(0xC99A2, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0xC99AC, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xC99C4, "NE FIXUP -> 0006:1696 (seg030:3696)")
+set_comment(0xC99E0, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0xC99EB, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xC9A05, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xC9A37, "NE FIXUP -> 0009:baa9 (seg082:18a9)")
+set_comment(0xC9AAE, "NE FIXUP -> 0009:baa9 (seg082:18a9)")
+set_comment(0xC9B2A, "NE FIXUP -> 0006:0b88 (seg030:2b88)")
+set_comment(0xC9B41, "NE FIXUP -> 0003:e4d3 (seg001:6ed3)")
+set_comment(0xC9B7C, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0xC9B86, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xC9B94, "NE FIXUP -> 0009:a24f (seg082:004f)")
+set_comment(0xC9C06, "NE FIXUP -> 000b:2492 (seg108:0a92)")
+set_comment(0xC9C18, "NE FIXUP -> 000b:26e9 (seg108:0ce9)")
+set_comment(0xC9C51, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0xC9C5B, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xC9C98, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0xC9CA2, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xC9CB2, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xC9CFC, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0xC9D18, "NE FIXUP -> 0006:13b0 (seg030:33b0)")
+set_comment(0xC9D3C, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xC9D4E, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xC9D6B, "NE FIXUP -> 0005:1552 (seg021:1352)")
+set_comment(0xC9D77, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0xC9D84, "NE FIXUP -> 0005:0376 (seg021:0176)")
+set_comment(0xC9D91, "NE FIXUP -> 0005:033e (seg021:013e)")
+set_comment(0xC9D9F, "NE FIXUP -> 0005:1511 (seg021:1311)")
+set_comment(0xC9E3E, "NE FIXUP -> 000b:29d6 (seg108:0fd6)")
+set_comment(0xC9E81, "NE FIXUP -> 0006:e270 (seg039:0070)")
+set_comment(0xC9FAD, "NE FIXUP -> 000b:2e6f (seg109:006f)")
+set_comment(0xC9FDC, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xC9FEE, "NE FIXUP -> 0006:4b36 (seg032:0336)")
+set_comment(0xCA007, "NE FIXUP -> 0005:2867 (seg021:2667)")
+set_comment(0xCA05F, "NE FIXUP -> 000b:2706 (seg108:0d06)")
+set_comment(0xCA06B, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0xCA087, "NE FIXUP -> 000b:2e9b (seg109:009b)")
+set_comment(0xCA0A2, "NE FIXUP -> 0005:27a4 (seg021:25a4)")
+set_comment(0xCA0FE, "NE FIXUP -> 0007:4fe8 (seg042:05e8)")
+set_comment(0xCA13F, "NE FIXUP -> 0005:3242 (seg021:3042)")
+set_comment(0xCA17E, "NE FIXUP -> 0005:3242 (seg021:3042)")
+set_comment(0xCA1E7, "NE FIXUP -> 000b:2706 (seg108:0d06)")
+set_comment(0xCA1F3, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0xCA20C, "NE FIXUP -> 000b:2e9b (seg109:009b)")
+set_comment(0xCA22F, "NE FIXUP -> 000b:2e9b (seg109:009b)")
+set_comment(0xCA29F, "NE FIXUP -> 000b:2e6f (seg109:006f)")
+set_comment(0xCA2C0, "NE FIXUP -> 0006:e270 (seg039:0070)")
+set_comment(0xCA2F9, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0xCA312, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0xCA327, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0xCA334, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0xCA344, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0xCA370, "NE FIXUP -> 0005:e119 (seg030:0119)")
+set_comment(0xCA38C, "NE FIXUP -> 0007:4a9c (seg042:009c)")
+set_comment(0xCA39B, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0xCA3AB, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0xCA3D7, "NE FIXUP -> 0005:e119 (seg030:0119)")
+set_comment(0xCA3F3, "NE FIXUP -> 0007:4a9c (seg042:009c)")
+set_comment(0xCA403, "NE FIXUP -> 000b:2e85 (seg109:0085)")
+set_comment(0xCA414, "NE FIXUP -> 0005:e119 (seg030:0119)")
+set_comment(0xCA422, "NE FIXUP -> 0006:e270 (seg039:0070)")
+set_comment(0xCA430, "NE FIXUP -> 0006:0208 (seg030:2208)")
+set_comment(0xCA449, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0xCA45E, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0xCA475, "NE FIXUP -> 0005:e252 (seg030:0252)")
+set_comment(0xCA497, "NE FIXUP -> 0005:02c1 (seg021:00c1)")
+set_comment(0xCA4E9, "NE FIXUP -> 0005:0522 (seg021:0322)")
+set_comment(0xCA4F9, "NE FIXUP -> 0005:04de (seg021:02de)")
+set_comment(0xCA507, "NE FIXUP -> 0005:049a (seg021:029a)")
+set_comment(0xCA5A9, "NE FIXUP -> 0006:170c (seg030:370c)")
+set_comment(0xCA5BA, "NE FIXUP -> 0005:e119 (seg030:0119)")
+set_comment(0xCA5D3, "NE FIXUP -> 0007:4a9c (seg042:009c)")
+set_comment(0xCA605, "NE FIXUP -> 0006:e270 (seg039:0070)")
+set_comment(0xCA649, "NE FIXUP -> 0007:4fe8 (seg042:05e8)")
+set_comment(0xCA664, "NE FIXUP -> 0007:f871 (seg051:0e71)")
+set_comment(0xCA6AE, "NE FIXUP -> 000b:d924 (seg118:0524)")
+set_comment(0xCA70B, "NE FIXUP -> 0005:2b70 (seg021:2970)")
+set_comment(0xCA71F, "NE FIXUP -> 000b:4053 (seg109:1253)")
+set_comment(0xCA760, "NE FIXUP -> 000b:4082 (seg109:1282)")
+set_comment(0xCA77E, "NE FIXUP -> 000b:d987 (seg118:0587)")
+set_comment(0xCA797, "NE FIXUP -> 0005:033e (seg021:013e)")
+set_comment(0xCA7A6, "NE FIXUP -> 0005:0376 (seg021:0176)")
+set_comment(0xCA7B5, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0xCA7CF, "NE FIXUP -> 000b:d5ee (seg118:01ee)")
+set_comment(0xCA7F5, "NE FIXUP -> 000a:2bd1 (seg087:03d1)")
+set_comment(0xCA81C, "NE FIXUP -> 0005:0466 (seg021:0266)")
+set_comment(0xCA830, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0xCA845, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xCA857, "NE FIXUP -> 0006:4b36 (seg032:0336)")
+set_comment(0xCA864, "NE FIXUP -> 0005:11c4 (seg021:0fc4)")
+set_comment(0xCA873, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xCA8AA, "NE FIXUP -> 0005:04de (seg021:02de)")
+set_comment(0xCA8B7, "NE FIXUP -> 0005:049a (seg021:029a)")
+set_comment(0xCA8C5, "NE FIXUP -> 0005:04de (seg021:02de)")
+set_comment(0xCA8D3, "NE FIXUP -> 0005:049a (seg021:029a)")
+set_comment(0xCA8DC, "NE FIXUP -> 0005:b498 (seg027:0098)")
+set_comment(0xCA927, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0xCA936, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xCA995, "NE FIXUP -> 000a:28c1 (seg087:00c1)")
+set_comment(0xCAA04, "NE FIXUP -> 000a:2a54 (seg087:0254)")
+set_comment(0xCAA1F, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xCAA5E, "NE FIXUP -> 0005:0522 (seg021:0322)")
+set_comment(0xCAA6E, "NE FIXUP -> 0005:04de (seg021:02de)")
+set_comment(0xCAA7C, "NE FIXUP -> 0005:049a (seg021:029a)")
+set_comment(0xCAAD6, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0xCAB05, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xCAC48, "NE FIXUP -> 0008:2d15 (seg053:0115)")
+set_comment(0xCAC63, "NE FIXUP -> 0008:2dc5 (seg053:01c5)")
+set_comment(0xCAC85, "NE FIXUP -> 0008:311b (seg053:051b)")
+set_comment(0xCACF6, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xCAD49, "NE FIXUP -> 000a:784b (seg096:024b)")
+set_comment(0xCAD7A, "NE FIXUP -> 0004:0000 (seg002:0000)")
+set_comment(0xCAD82, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0xCAD9D, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xCADC1, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xCADDE, "NE FIXUP -> 000b:3d2a (seg109:0f2a)")
+set_comment(0xCAE14, "NE FIXUP -> 000b:26e9 (seg108:0ce9)")
+set_comment(0xCAE24, "NE FIXUP -> 000b:2492 (seg108:0a92)")
+set_comment(0xCAE3A, "NE FIXUP -> 000b:4a00 (seg111:0000)")
+set_comment(0xCAE77, "NE FIXUP -> 000b:4a00 (seg111:0000)")
+set_comment(0xCAEC8, "NE FIXUP -> 0008:9de3 (seg059:33e3)")
+set_comment(0xCAECD, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0xCAEE4, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xCAF08, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xCAF18, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xCAF2C, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xCAF62, "NE FIXUP -> 0004:0069 (seg002:0069)")
+set_comment(0xCAF76, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xCAF86, "NE FIXUP -> 000a:78e4 (seg096:02e4)")
+set_comment(0xCAF9A, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xCAFEC, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xCB010, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xCB03D, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xCB051, "NE FIXUP -> 0004:0098 (seg002:0098)")
+set_comment(0xCB077, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xCB08B, "NE FIXUP -> 0004:0098 (seg002:0098)")
+set_comment(0xCB0B1, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xCB0C5, "NE FIXUP -> 0004:0098 (seg002:0098)")
+set_comment(0xCB0DF, "NE FIXUP -> 0004:0167 (seg002:0167)")
+set_comment(0xCB0FB, "NE FIXUP -> 0004:01eb (seg002:01eb)")
+set_comment(0xCB10F, "NE FIXUP -> 0008:770e (seg059:0d0e)")
+set_comment(0xCB125, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xCB137, "NE FIXUP -> 0004:0117 (seg002:0117)")
+set_comment(0xCB147, "NE FIXUP -> 000b:358d (seg109:078d)")
+set_comment(0xCB206, "NE FIXUP -> 0008:9de3 (seg059:33e3)")
+set_comment(0xCB258, "NE FIXUP -> 0008:9de3 (seg059:33e3)")
+set_comment(0xCB2D8, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0xCB2E7, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0xCB300, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0xCB30C, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0xCB318, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0xCB324, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0xCB330, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0xCB360, "NE FIXUP -> 000a:283d (seg087:003d)")
+set_comment(0xCB374, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xCB3A5, "NE FIXUP -> 000a:2bd1 (seg087:03d1)")
+set_comment(0xCB3B5, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xCB3C9, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xCB3F3, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xCB407, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xCB41B, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0xCC641, "NE FIXUP -> 0008:ec23 (seg064:0223)")
+set_comment(0xCC654, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0xCC65F, "NE FIXUP -> 000a:9748 (seg099:0148)")
+set_comment(0xCC674, "NE FIXUP -> 000a:9748 (seg099:0148)")
+set_comment(0xCC693, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0xCC6AB, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0xCC6BB, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xCC6C3, "NE FIXUP -> 0008:55a8 (seg056:05a8)")
+set_comment(0xCC6E7, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xCC6F5, "NE FIXUP -> 0009:79a3 (seg077:03a3)")
+set_comment(0xCC703, "NE FIXUP -> 0004:0000 (seg002:0000)")
+set_comment(0xCC71D, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xCC72D, "NE FIXUP -> 0004:0098 (seg002:0098)")
+set_comment(0xCC743, "NE FIXUP -> 0004:0167 (seg002:0167)")
+set_comment(0xCC751, "NE FIXUP -> 0004:0117 (seg002:0117)")
+set_comment(0xCC775, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xCC799, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xCC7AD, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xCC7CB, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xCC7DA, "NE FIXUP -> 0009:1c3a (seg070:003a)")
+set_comment(0xCC7E7, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0xCC7F0, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xCC808, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0xCC81F, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xCC82C, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xCC836, "NE FIXUP -> 0008:ec62 (seg064:0262)")
+set_comment(0xCC876, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xCC886, "NE FIXUP -> 0004:0069 (seg002:0069)")
+set_comment(0xCC905, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xCC919, "NE FIXUP -> 0008:ec23 (seg064:0223)")
+set_comment(0xCC91E, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0xCC943, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xCC95B, "NE FIXUP -> 000e:2777 (seg142:3f77)")
+set_comment(0xCC96C, "NE FIXUP -> 000d:85da (seg137:07da)")
+set_comment(0xCC983, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xCC9A7, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xCC9AF, "NE FIXUP -> 0008:5546 (seg056:0546)")
+set_comment(0xCC9B9, "NE FIXUP -> 0008:55cf (seg056:05cf)")
+set_comment(0xCC9C6, "NE FIXUP -> 0008:55df (seg056:05df)")
+set_comment(0xCC9D6, "NE FIXUP -> 000b:2492 (seg108:0a92)")
+set_comment(0xCC9DE, "NE FIXUP -> 0008:ec8e (seg064:028e)")
+set_comment(0xCC9E3, "NE FIXUP -> 0008:9de3 (seg059:33e3)")
+set_comment(0xCCA52, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xCCA76, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xCCBBF, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0xCCBE1, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xCCC9F, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0xCCCC1, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xCCEED, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xCD210, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xCD266, "NE FIXUP -> 000a:784b (seg096:024b)")
+set_comment(0xCD298, "NE FIXUP -> 000b:4a00 (seg111:0000)")
+set_comment(0xCD2E2, "NE FIXUP -> 000b:4a00 (seg111:0000)")
+set_comment(0xCD33F, "NE FIXUP -> 000a:e842 (seg104:0242)")
+set_comment(0xCD34F, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xCD3B7, "NE FIXUP -> 000b:3d2a (seg109:0f2a)")
+set_comment(0xCD3C9, "NE FIXUP -> 000b:26e9 (seg108:0ce9)")
+set_comment(0xCD3D9, "NE FIXUP -> 000b:2492 (seg108:0a92)")
+set_comment(0xCD408, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xCD418, "NE FIXUP -> 000a:78e4 (seg096:02e4)")
+set_comment(0xCD42C, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xCD46D, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xCD47D, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xCD4A6, "NE FIXUP -> 0003:b621 (seg001:4021)")
+set_comment(0xCD4E1, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xCD4F1, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xCD51D, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xCD52D, "NE FIXUP -> 000b:4097 (seg109:1297)")
+set_comment(0xCD579, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xCD593, "NE FIXUP -> 000b:330c (seg109:050c)")
+set_comment(0xCD5E9, "NE FIXUP -> 000a:784b (seg096:024b)")
+set_comment(0xCD61B, "NE FIXUP -> 000b:4a00 (seg111:0000)")
+set_comment(0xCD678, "NE FIXUP -> 000a:e842 (seg104:0242)")
+set_comment(0xCD688, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xCD6DE, "NE FIXUP -> 000b:3d2a (seg109:0f2a)")
+set_comment(0xCD6F0, "NE FIXUP -> 000b:26e9 (seg108:0ce9)")
+set_comment(0xCD700, "NE FIXUP -> 000b:2492 (seg108:0a92)")
+set_comment(0xCD72F, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xCD73F, "NE FIXUP -> 000a:78e4 (seg096:02e4)")
+set_comment(0xCD753, "NE FIXUP -> 000b:3362 (seg109:0562)")
+set_comment(0xCD7BC, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xCDA3E, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xCDA56, "NE FIXUP -> 0008:ba00 (seg061:0000)")
+set_comment(0xCDA88, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0xCDA96, "NE FIXUP -> 0008:ccb7 (seg061:12b7)")
+set_comment(0xCDB32, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xCDB52, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xCDCED, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0xCDD24, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xCDD6C, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xCDDAD, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xCDDD3, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0xCDE11, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xCDE37, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0xCDF3D, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0xCDF86, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xCDFCF, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xCE018, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xCE061, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xCE0AA, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xCE104, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xCE14D, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xCE196, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xCE1DF, "NE FIXUP -> 000b:2e00 (seg109:0000)")
+set_comment(0xCE3F5, "NE FIXUP -> 0008:bd20 (seg061:0320)")
+set_comment(0xCE4C1, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0xCE4D0, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0xCE4F9, "NE FIXUP -> 000a:44c6 (seg091:00c6)")
+set_comment(0xCE52C, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0xCE534, "NE FIXUP -> 0008:9de3 (seg059:33e3)")
+set_comment(0xCE54D, "NE FIXUP -> 0008:9de3 (seg059:33e3)")
+set_comment(0xCE57D, "NE FIXUP -> 0003:c2cf (seg001:4ccf)")
+set_comment(0xCE5BC, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0xCE5CD, "NE FIXUP -> 0008:9de3 (seg059:33e3)")
+set_comment(0xCE5FD, "NE FIXUP -> 0003:c2cf (seg001:4ccf)")
+set_comment(0xCE614, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0xCE69A, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0xCE6B0, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0xCE6C1, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0xCE740, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xCE754, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xCE768, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0xCEA0F, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xCEB11, "NE FIXUP -> 0003:e628 (seg001:7028)")
+set_comment(0xCEB4E, "NE FIXUP -> 0003:d96e (seg001:636e)")
+set_comment(0xCEBE0, "NE FIXUP -> 0003:e628 (seg001:7028)")
+set_comment(0xCEC0B, "NE FIXUP -> 0003:d96e (seg001:636e)")
+set_comment(0xCEC5A, "NE FIXUP -> 0003:e628 (seg001:7028)")
+set_comment(0xCECCF, "NE FIXUP -> 0003:e628 (seg001:7028)")
+set_comment(0xCED5A, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xCEDA4, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xCEDEB, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xCEE0F, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xCF011, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xCF036, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xCF06D, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xCF092, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xCF0C5, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xCF0D5, "NE FIXUP -> 000a:500a (seg092:020a)")
+set_comment(0xCF0F3, "NE FIXUP -> 0009:1c3a (seg070:003a)")
+set_comment(0xCF100, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0xCF118, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xCF133, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xCF152, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xCF15F, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xCF18D, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xCF1A8, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xCF1E8, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xCF20A, "NE FIXUP -> 0009:392e (seg072:032e)")
+set_comment(0xCF218, "NE FIXUP -> 0009:3dcd (seg072:07cd)")
+set_comment(0xCF23F, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xCF24E, "NE FIXUP -> 0009:1c3a (seg070:003a)")
+set_comment(0xCF25B, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0xCF273, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xCF28D, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xCF29D, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0xCF2BF, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xCF2CC, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xCF2DC, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0xCF309, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xCF319, "NE FIXUP -> 0003:b64d (seg001:404d)")
+set_comment(0xCF326, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0xCF33D, "NE FIXUP -> 0009:1d6a (seg070:016a)")
+set_comment(0xCF35C, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0xCF369, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xCF632, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xCF650, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xCF683, "NE FIXUP -> 0003:d86f (seg001:626f)")
+set_comment(0xCF690, "NE FIXUP -> 000d:60e5 (seg134:00e5)")
+set_comment(0xCF6AE, "NE FIXUP -> 0003:c994 (seg001:5394)")
+set_comment(0xCF6CB, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xCF6FB, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xCF856, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xCF8BD, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xCF90A, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xCF974, "NE FIXUP -> 000d:5572 (seg133:1d72)")
+set_comment(0xCF9D5, "NE FIXUP -> 0003:b8e2 (seg001:42e2)")
+set_comment(0xCF9EE, "NE FIXUP -> 000c:ee32 (seg130:0432)")
+set_comment(0xCFAB5, "NE FIXUP -> 000c:ea53 (seg130:0053)")
+set_comment(0xCFB1D, "NE FIXUP -> 000c:ecf5 (seg130:02f5)")
+set_comment(0xD0286, "NE FIXUP -> 000d:613e (seg134:013e)")
+set_comment(0xD039F, "NE FIXUP -> 000d:6694 (seg134:0694)")
+set_comment(0xD0434, "NE FIXUP -> 000d:6602 (seg134:0602)")
+set_comment(0xD050A, "NE FIXUP -> 000d:67f2 (seg134:07f2)")
+set_comment(0xD0528, "NE FIXUP -> 000d:60e5 (seg134:00e5)")
+set_comment(0xD0585, "NE FIXUP -> 000d:6602 (seg134:0602)")
+set_comment(0xD05F6, "NE FIXUP -> 000d:687b (seg134:087b)")
+set_comment(0xD066D, "NE FIXUP -> 000d:6602 (seg134:0602)")
+set_comment(0xD0710, "NE FIXUP -> 000d:6c31 (seg134:0c31)")
+set_comment(0xD0721, "NE FIXUP -> 000d:6602 (seg134:0602)")
+set_comment(0xD073A, "NE FIXUP -> 000d:62ac (seg134:02ac)")
+set_comment(0xD0842, "NE FIXUP -> 000d:6cf6 (seg134:0cf6)")
+set_comment(0xD08A2, "NE FIXUP -> 000d:6694 (seg134:0694)")
+set_comment(0xD0937, "NE FIXUP -> 000d:6602 (seg134:0602)")
+set_comment(0xD0A1D, "NE FIXUP -> 000d:6a9a (seg134:0a9a)")
+set_comment(0xD0A31, "NE FIXUP -> 000d:68c3 (seg134:08c3)")
+set_comment(0xD0A69, "NE FIXUP -> 000d:6602 (seg134:0602)")
+set_comment(0xD0AB8, "NE FIXUP -> 000d:6602 (seg134:0602)")
+set_comment(0xD0AE1, "NE FIXUP -> 000d:613e (seg134:013e)")
+set_comment(0xD0AF9, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xD0C05, "NE FIXUP -> 000d:613e (seg134:013e)")
+set_comment(0xD0CB6, "NE FIXUP -> 000d:613e (seg134:013e)")
+set_comment(0xD0E05, "NE FIXUP -> 000d:613e (seg134:013e)")
+set_comment(0xD0E7F, "NE FIXUP -> 000d:62ac (seg134:02ac)")
+set_comment(0xD0E8A, "NE FIXUP -> 000d:62ac (seg134:02ac)")
+set_comment(0xD0EE7, "NE FIXUP -> 000d:62ac (seg134:02ac)")
+set_comment(0xD0F2A, "NE FIXUP -> 000d:62ac (seg134:02ac)")
+set_comment(0xD0F5D, "NE FIXUP -> 000d:60e5 (seg134:00e5)")
+set_comment(0xD12B1, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0xD13F6, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0xD153A, "NE FIXUP -> 0003:a99d (seg001:339d)")
+set_comment(0xD2049, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xD2056, "NE FIXUP -> 000c:edf7 (seg130:03f7)")
+set_comment(0xD208B, "NE FIXUP -> 000d:46ec (seg133:0eec)")
+set_comment(0xD20B9, "NE FIXUP -> 000c:edb0 (seg130:03b0)")
+set_comment(0xD21ED, "NE FIXUP -> 000d:46ec (seg133:0eec)")
+set_comment(0xD237B, "NE FIXUP -> 0008:7d27 (seg059:1327)")
+set_comment(0xD24CB, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0xD24E3, "NE FIXUP -> 0008:bbb6 (seg061:01b6)")
+set_comment(0xD24FE, "NE FIXUP -> 0008:7377 (seg059:0977)")
+set_comment(0xD25FB, "NE FIXUP -> 000d:6d7a (seg134:0d7a)")
+set_comment(0xD262D, "NE FIXUP -> 000d:6d7a (seg134:0d7a)")
+set_comment(0xD2930, "NE FIXUP -> 000d:558d (seg133:1d8d)")
+set_comment(0xD2978, "NE FIXUP -> 000c:edf7 (seg130:03f7)")
+set_comment(0xD2AAD, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xD2B0E, "NE FIXUP -> 0005:9971 (seg025:0771)")
+set_comment(0xD2B7E, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xD2BE5, "NE FIXUP -> 0005:9971 (seg025:0771)")
+set_comment(0xD2C2F, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xD2C6A, "NE FIXUP -> 0005:9fef (seg025:0def)")
+set_comment(0xD2CB4, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xD2CF5, "NE FIXUP -> 0005:a04c (seg025:0e4c)")
+set_comment(0xD2D77, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xD2DC0, "NE FIXUP -> 0005:a173 (seg025:0f73)")
+set_comment(0xD2DF9, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xD2ED9, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xD3042, "NE FIXUP -> 000d:6602 (seg134:0602)")
+set_comment(0xD30B9, "NE FIXUP -> 000d:62ac (seg134:02ac)")
+set_comment(0xD30D0, "NE FIXUP -> 000d:60e5 (seg134:00e5)")
+set_comment(0xD3348, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0xD3378, "NE FIXUP -> 000c:edf7 (seg130:03f7)")
+set_comment(0xD34A0, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xD3812, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xD385B, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xD387E, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xD38AA, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xD38EC, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xD38FC, "NE FIXUP -> 000a:283d (seg087:003d)")
+set_comment(0xD3910, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xD392A, "NE FIXUP -> 000a:2866 (seg087:0066)")
+set_comment(0xD395E, "NE FIXUP -> 000a:2ab8 (seg087:02b8)")
+set_comment(0xD3973, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xD3993, "NE FIXUP -> 0003:e721 (seg001:7121)")
+set_comment(0xD39B0, "NE FIXUP -> 0003:e721 (seg001:7121)")
+set_comment(0xD3A7F, "NE FIXUP -> 0003:e721 (seg001:7121)")
+set_comment(0xD3A97, "NE FIXUP -> 0003:e721 (seg001:7121)")
+set_comment(0xD3AAF, "NE FIXUP -> 0003:e721 (seg001:7121)")
+set_comment(0xD3D42, "NE FIXUP -> 0003:e721 (seg001:7121)")
+set_comment(0xD3D58, "NE FIXUP -> 0003:e721 (seg001:7121)")
+set_comment(0xD3E4E, "NE FIXUP -> 0009:3bc2 (seg072:05c2)")
+set_comment(0xD3E6C, "NE FIXUP -> 0009:3bc2 (seg072:05c2)")
+set_comment(0xD3E8E, "NE FIXUP -> 0009:3bc2 (seg072:05c2)")
+set_comment(0xD3EA0, "NE FIXUP -> 0009:3dcd (seg072:07cd)")
+set_comment(0xD3EB5, "NE FIXUP -> 0009:3dcd (seg072:07cd)")
+set_comment(0xD3ED0, "NE FIXUP -> 0009:3ff0 (seg072:09f0)")
+set_comment(0xD3EE8, "NE FIXUP -> 0009:3ff0 (seg072:09f0)")
+set_comment(0xD3F13, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xD3F1D, "NE FIXUP -> 0003:d0ca (seg001:5aca)")
+set_comment(0xD3F48, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xD3F59, "NE FIXUP -> 000a:46eb (seg091:02eb)")
+set_comment(0xD3F7D, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xD3F8C, "NE FIXUP -> 0009:1c3a (seg070:003a)")
+set_comment(0xD3F99, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0xD3FB7, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xD3FC1, "NE FIXUP -> 000a:500a (seg092:020a)")
+set_comment(0xD3FE7, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xD3FF6, "NE FIXUP -> 0009:1d6a (seg070:016a)")
+set_comment(0xD4003, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0xD4017, "NE FIXUP -> 0003:a995 (seg001:3395)")
+set_comment(0xD4023, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xD403F, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xD4062, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xD407C, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xD4099, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xD40B0, "NE FIXUP -> 0003:cd8a (seg001:578a)")
+set_comment(0xD40C2, "NE FIXUP -> 0003:e721 (seg001:7121)")
+set_comment(0xD40DD, "NE FIXUP -> 0003:cd8a (seg001:578a)")
+set_comment(0xD415B, "NE FIXUP -> 0003:e7c1 (seg001:71c1)")
+set_comment(0xD41FD, "NE FIXUP -> 0003:e7c1 (seg001:71c1)")
+set_comment(0xD4213, "NE FIXUP -> 0003:e7c1 (seg001:71c1)")
+set_comment(0xD424C, "NE FIXUP -> 0003:e721 (seg001:7121)")
+set_comment(0xD4287, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0xD42A8, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xD42BE, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0xD42CB, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xD42D8, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xD42E8, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0xD42F8, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0xD4308, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0xD432E, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0xD433B, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xD4348, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xD437F, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xD438E, "NE FIXUP -> 0009:1c3a (seg070:003a)")
+set_comment(0xD439B, "NE FIXUP -> 0009:2156 (seg070:0556)")
+set_comment(0xD43BC, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xD43D7, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xD43F3, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xD440F, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xD4430, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xD4487, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0xD4497, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0xD44A7, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0xD44D3, "NE FIXUP -> 000d:60bf (seg134:00bf)")
+set_comment(0xD44D8, "NE FIXUP -> 000d:6000 (seg134:0000)")
+set_comment(0xD44E0, "NE FIXUP -> 000d:6000 (seg134:0000)")
+set_comment(0xD4509, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xD4513, "NE FIXUP -> 000a:500a (seg092:020a)")
+set_comment(0xD4533, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xD4583, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xD45BE, "NE FIXUP -> 000d:60bf (seg134:00bf)")
+set_comment(0xD45CE, "NE FIXUP -> 0005:2686 (seg021:2486)")
+set_comment(0xD45E0, "NE FIXUP -> 0005:1238 (seg021:1038)")
+set_comment(0xD45FF, "NE FIXUP -> 0005:11c4 (seg021:0fc4)")
+set_comment(0xD4612, "NE FIXUP -> 0005:0f31 (seg021:0d31)")
+set_comment(0xD4628, "NE FIXUP -> 0005:088f (seg021:068f)")
+set_comment(0xD4705, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xD4720, "NE FIXUP -> 0008:ba00 (seg061:0000)")
+set_comment(0xD4788, "NE FIXUP -> 000c:f844 (seg132:0244)")
+set_comment(0xD48CE, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xD48FA, "NE FIXUP -> 000c:f98b (seg132:038b)")
+set_comment(0xD496B, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xD4985, "NE FIXUP -> 000d:6251 (seg134:0251)")
+set_comment(0xD49A1, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xD49C1, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0xD49E1, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0xD4A07, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0xD4A27, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0xD4A49, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0xD4A6E, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0xD4A8C, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xD4AC4, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xD4AE4, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xD4B75, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xD4B80, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xD4BD6, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xD4BF8, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xD4C1D, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xD4CA7, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xD4CCE, "NE FIXUP -> 0003:b8e2 (seg001:42e2)")
+set_comment(0xD4D19, "NE FIXUP -> 000d:7000 (seg135:0000)")
+set_comment(0xD4D9E, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xD4DCA, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xD4DF5, "NE FIXUP -> 000a:2bd1 (seg087:03d1)")
+set_comment(0xD4E5D, "NE FIXUP -> 000a:2bd1 (seg087:03d1)")
+set_comment(0xD4E71, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xD4F15, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xD4F95, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xD4FCC, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xD5008, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xD503A, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xD5098, "NE FIXUP -> 000d:7195 (seg135:0195)")
+set_comment(0xD50C0, "NE FIXUP -> 000d:714c (seg135:014c)")
+set_comment(0xD50FB, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xD5117, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xD512F, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xD514C, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xD517A, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xD51CB, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0xD51F1, "NE FIXUP -> 000d:714c (seg135:014c)")
+set_comment(0xD5297, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xD532F, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xD53B4, "NE FIXUP -> 000d:714c (seg135:014c)")
+set_comment(0xD5458, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0xD5467, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xD5478, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xD5491, "NE FIXUP -> 0003:a98e (seg001:338e)")
+set_comment(0xD54EF, "NE FIXUP -> 0003:c368 (seg001:4d68)")
+set_comment(0xD550A, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0xD554D, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0xD5564, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xD560B, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xD562D, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xD56BC, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xD5712, "NE FIXUP -> 000a:2b9d (seg087:039d)")
+set_comment(0xD576F, "NE FIXUP -> 000a:2c8c (seg087:048c)")
+set_comment(0xD57EA, "NE FIXUP -> 000a:2c41 (seg087:0441)")
+set_comment(0xD5806, "NE FIXUP -> 0008:7663 (seg059:0c63)")
+set_comment(0xD581C, "NE FIXUP -> 0008:7da4 (seg059:13a4)")
+set_comment(0xD5836, "NE FIXUP -> 0008:bbb6 (seg061:01b6)")
+set_comment(0xD584D, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xD58BA, "NE FIXUP -> 000a:2bd1 (seg087:03d1)")
+set_comment(0xD58CE, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xD590B, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xD5923, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xD5937, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xD594B, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0xD6011, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xD602C, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xD60D0, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xD6243, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xD63B1, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0xD6405, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0xD6430, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0xD6539, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xD6550, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xD656C, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xD6753, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xD6E10, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0xD6E67, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0xD6EC2, "NE FIXUP -> 000a:4742 (seg091:0342)")
+set_comment(0xD6EEA, "NE FIXUP -> 0003:c30a (seg001:4d0a)")
+set_comment(0xD7010, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xD7037, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0xD70A6, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xD70CA, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xD711D, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xD712D, "NE FIXUP -> 0009:1800 (seg069:0000)")
+set_comment(0xD7141, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xD718B, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xD7220, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xD7243, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xD725D, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xD72A7, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xD72BD, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0xD72F2, "NE FIXUP -> 0008:ccb7 (seg061:12b7)")
+set_comment(0xD7346, "NE FIXUP -> 0006:e4f3 (seg039:02f3)")
+set_comment(0xD737E, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xD7392, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xD73A6, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0xD762A, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xD7643, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0xD767B, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0xD768B, "NE FIXUP -> 0008:d27e (seg061:187e)")
+set_comment(0xD7699, "NE FIXUP -> 0008:d3e6 (seg061:19e6)")
+set_comment(0xD76CF, "NE FIXUP -> 0008:ccb7 (seg061:12b7)")
+set_comment(0xD7704, "NE FIXUP -> 0008:d3ba (seg061:19ba)")
+set_comment(0xD774A, "NE FIXUP -> 0008:9e12 (seg059:3412)")
+set_comment(0xD77B8, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xD77D5, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xD7805, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xD7839, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xD785A, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xD7874, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xD789C, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0xD78AF, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0xD78C2, "NE FIXUP -> 000a:48ff (seg091:04ff)")
+set_comment(0xD78E5, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xD7906, "NE FIXUP -> 0003:a897 (seg001:3297)")
+set_comment(0xD7A6A, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xD7B72, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xD7B86, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xD7B9A, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0xD7E52, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xD7E85, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0xD7E94, "NE FIXUP -> 0008:d27e (seg061:187e)")
+set_comment(0xD7EA2, "NE FIXUP -> 0008:d3e6 (seg061:19e6)")
+set_comment(0xD7EF0, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xD7F14, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xD7F6F, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xD7F86, "NE FIXUP -> 0009:6ec7 (seg076:00c7)")
+set_comment(0xD7F9C, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xD7FEA, "NE FIXUP -> 0009:7905 (seg077:0305)")
+set_comment(0xD801E, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xD806D, "NE FIXUP -> 0008:d3ba (seg061:19ba)")
+set_comment(0xD80B9, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xD80CC, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xD810C, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xD811F, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xD816D, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xD8181, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xD8195, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0xD82DE, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xD8327, "NE FIXUP -> 0009:7853 (seg077:0253)")
+set_comment(0xD8349, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xD835F, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0xD83AF, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xD83FC, "NE FIXUP -> 0009:7853 (seg077:0253)")
+set_comment(0xD840D, "NE FIXUP -> 0009:6ec7 (seg076:00c7)")
+set_comment(0xD841A, "NE FIXUP -> 0009:7aa1 (seg077:04a1)")
+set_comment(0xD8470, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xD8486, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0xD84D6, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xD850D, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xD8523, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0xD8565, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xD857B, "NE FIXUP -> 0008:ba00 (seg061:0000)")
+set_comment(0xD85AB, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0xD8629, "NE FIXUP -> 0009:7853 (seg077:0253)")
+set_comment(0xD863A, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xD8649, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xD86A2, "NE FIXUP -> 0009:7853 (seg077:0253)")
+set_comment(0xD86B3, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xD86C2, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xD8733, "NE FIXUP -> 0009:7853 (seg077:0253)")
+set_comment(0xD8744, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xD8753, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xD878C, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xD87E5, "NE FIXUP -> 0009:7853 (seg077:0253)")
+set_comment(0xD8807, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xD881D, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0xD886D, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xD888B, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xD88E1, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xD893A, "NE FIXUP -> 0009:7853 (seg077:0253)")
+set_comment(0xD8950, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xD8966, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0xD89B7, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xD89E5, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xD89FB, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0xD8A84, "NE FIXUP -> 0009:7853 (seg077:0253)")
+set_comment(0xD8A9A, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xD8AB0, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0xD8B01, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xD8B4D, "NE FIXUP -> 0009:7853 (seg077:0253)")
+set_comment(0xD8B5D, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xD8B73, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0xD8BC1, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xD8BF1, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xD8C13, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xD8C29, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0xD8C78, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xD8CE0, "NE FIXUP -> 0009:7853 (seg077:0253)")
+set_comment(0xD8CF1, "NE FIXUP -> 0008:75f3 (seg059:0bf3)")
+set_comment(0xD8D25, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xD8D82, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xD8D96, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xD8DAA, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0xD9227, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xD924C, "NE FIXUP -> 000b:2492 (seg108:0a92)")
+set_comment(0xD9264, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xD927A, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0xD92BC, "NE FIXUP -> 0008:d27e (seg061:187e)")
+set_comment(0xD92D9, "NE FIXUP -> 0008:d3ba (seg061:19ba)")
+set_comment(0xD9337, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xD934D, "NE FIXUP -> 0008:ba00 (seg061:0000)")
+set_comment(0xD937A, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0xD93EA, "NE FIXUP -> 0009:7853 (seg077:0253)")
+set_comment(0xD93F4, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xD940A, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0xD942D, "NE FIXUP -> 000d:7e00 (seg137:0000)")
+set_comment(0xD9471, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xD94BC, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xD94F1, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xD9507, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0xD952B, "NE FIXUP -> 000d:7e00 (seg137:0000)")
+set_comment(0xD957F, "NE FIXUP -> 0006:16e1 (seg030:36e1)")
+set_comment(0xD95BD, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xD95D6, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0xD9616, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0xD9624, "NE FIXUP -> 0008:cc01 (seg061:1201)")
+set_comment(0xD9651, "NE FIXUP -> 0008:d3e6 (seg061:19e6)")
+set_comment(0xD965F, "NE FIXUP -> 0009:3b6a (seg072:056a)")
+set_comment(0xD9675, "NE FIXUP -> 0009:392e (seg072:032e)")
+set_comment(0xD967D, "NE FIXUP -> 0006:16d3 (seg030:36d3)")
+set_comment(0xD96D3, "NE FIXUP -> 0008:cfab (seg061:15ab)")
+set_comment(0xD96E6, "NE FIXUP -> 0003:e5ff (seg001:6fff)")
+set_comment(0xD9708, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xD9712, "NE FIXUP -> 000a:500a (seg092:020a)")
+set_comment(0xD972A, "NE FIXUP -> 0003:c368 (seg001:4d68)")
+set_comment(0xD974C, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xD975A, "NE FIXUP -> 0003:dbcc (seg001:65cc)")
+set_comment(0xD9775, "NE FIXUP -> 0003:c8e0 (seg001:52e0)")
+set_comment(0xD9783, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0xD97A8, "NE FIXUP -> 0009:3600 (seg072:0000)")
+set_comment(0xD97B8, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xD97CE, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0xD9844, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xD9990, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0xD99F8, "NE FIXUP -> 0008:ebdd (seg064:01dd)")
+set_comment(0xD9A16, "NE FIXUP -> 000a:4a1f (seg091:061f)")
+set_comment(0xD9ADE, "NE FIXUP -> 0004:5441 (seg009:0041)")
+set_comment(0xD9AEB, "NE FIXUP -> 0009:3ceb (seg072:06eb)")
+set_comment(0xD9B2B, "NE FIXUP -> 0004:545a (seg009:005a)")
+set_comment(0xD9B6F, "NE FIXUP -> 0006:16e1 (seg030:36e1)")
+set_comment(0xD9B9E, "NE FIXUP -> 0008:7f1d (seg059:151d)")
+set_comment(0xD9BBE, "NE FIXUP -> 000a:5339 (seg092:0539)")
+set_comment(0xD9BFB, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xD9C48, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xD9CC5, "NE FIXUP -> 0009:7853 (seg077:0253)")
+set_comment(0xD9CDA, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xD9CF0, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0xD9D14, "NE FIXUP -> 000d:7e00 (seg137:0000)")
+set_comment(0xD9D7C, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xD9D8B, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xD9DF1, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xD9E19, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xD9E2D, "NE FIXUP -> 0009:1c3a (seg070:003a)")
+set_comment(0xD9E67, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0xD9E7D, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xD9E9B, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xD9EA9, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xD9EC1, "NE FIXUP -> 0003:b64d (seg001:404d)")
+set_comment(0xD9EEA, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xD9F0C, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xD9F22, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0xD9F47, "NE FIXUP -> 000d:7e00 (seg137:0000)")
+set_comment(0xD9FB1, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xD9FC6, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xD9FF9, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xDA03D, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xDA052, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xDA0D9, "NE FIXUP -> 0009:8e0a (seg080:020a)")
+set_comment(0xDA11D, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xDA132, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xDA168, "NE FIXUP -> 0008:eb43 (seg064:0143)")
+set_comment(0xDA1AE, "NE FIXUP -> 0006:16e1 (seg030:36e1)")
+set_comment(0xDA206, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xDA21A, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xDA22E, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0xDA2B5, "NE FIXUP -> 0008:bca8 (seg061:02a8)")
+set_comment(0xDA2C7, "NE FIXUP -> 0008:83b5 (seg059:19b5)")
+set_comment(0xDA31E, "NE FIXUP -> 0009:7853 (seg077:0253)")
+set_comment(0xDA333, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xDA349, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0xDA36D, "NE FIXUP -> 000d:7e00 (seg137:0000)")
+set_comment(0xDA42B, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xDA435, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xDA45E, "NE FIXUP -> 0009:6e00 (seg076:0000)")
+set_comment(0xDA497, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xDA4B0, "NE FIXUP -> 0009:6ec7 (seg076:00c7)")
+set_comment(0xDA4BE, "NE FIXUP -> 0009:4f52 (seg073:0952)")
+set_comment(0xDA4F4, "NE FIXUP -> 0003:e5cf (seg001:6fcf)")
+set_comment(0xDA516, "NE FIXUP -> 000a:8a55 (seg097:0c55)")
+set_comment(0xDA54A, "NE FIXUP -> 0009:718c (seg076:038c)")
+set_comment(0xDA584, "NE FIXUP -> 0009:718c (seg076:038c)")
+set_comment(0xDA5B1, "NE FIXUP -> 0009:8e70 (seg080:0270)")
+set_comment(0xDA650, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xDA69E, "NE FIXUP -> 0009:7905 (seg077:0305)")
+set_comment(0xDA6D7, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xDA6EC, "NE FIXUP -> 0009:7aa1 (seg077:04a1)")
+set_comment(0xDA820, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xDA836, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0xDA85B, "NE FIXUP -> 000d:7e00 (seg137:0000)")
+set_comment(0xDA883, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0xDA8AC, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xDA8C0, "NE FIXUP -> 0009:1c3a (seg070:003a)")
+set_comment(0xDA8FA, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0xDA910, "NE FIXUP -> 0009:2034 (seg070:0434)")
+set_comment(0xDA92E, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xDA93C, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xDA952, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xDA978, "NE FIXUP -> 0009:8c93 (seg080:0093)")
+set_comment(0xDA9AD, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xDA9F8, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xDAA18, "NE FIXUP -> 0009:7757 (seg077:0157)")
+set_comment(0xDAAE4, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xDAB28, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xDAB74, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xDAB91, "NE FIXUP -> 0009:7757 (seg077:0157)")
+set_comment(0xDABD9, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xDAC97, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xDACDB, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xDAD27, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xDAD49, "NE FIXUP -> 0009:7757 (seg077:0157)")
+set_comment(0xDAD74, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xDAE0D, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0xDAE1B, "NE FIXUP -> 0009:a229 (seg082:0029)")
+set_comment(0xDAE50, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xDAE6F, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0xDAEAB, "NE FIXUP -> 0009:a229 (seg082:0029)")
+set_comment(0xDB001, "NE FIXUP -> 0009:a229 (seg082:0029)")
+set_comment(0xDB03C, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xDB15C, "NE FIXUP -> 0008:d3ba (seg061:19ba)")
+set_comment(0xDB263, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xDB2F9, "NE FIXUP -> 0009:4a9e (seg073:049e)")
+set_comment(0xDB37E, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xDB483, "NE FIXUP -> 0008:d27e (seg061:187e)")
+set_comment(0xDB4A7, "NE FIXUP -> 0008:d27e (seg061:187e)")
+set_comment(0xDB548, "NE FIXUP -> 0003:d907 (seg001:6307)")
+set_comment(0xDB583, "NE FIXUP -> 0003:d907 (seg001:6307)")
+set_comment(0xDB5AD, "NE FIXUP -> 0003:d907 (seg001:6307)")
+set_comment(0xDB6E9, "NE FIXUP -> 000a:5339 (seg092:0539)")
+set_comment(0xDB75C, "NE FIXUP -> 0008:eb43 (seg064:0143)")
+set_comment(0xDB777, "NE FIXUP -> 000a:5276 (seg092:0476)")
+set_comment(0xDB78F, "NE FIXUP -> 000a:530d (seg092:050d)")
+set_comment(0xDB815, "NE FIXUP -> 0008:d27e (seg061:187e)")
+set_comment(0xDB855, "NE FIXUP -> 0008:cfab (seg061:15ab)")
+set_comment(0xDB8B8, "NE FIXUP -> 0009:a229 (seg082:0029)")
+set_comment(0xDB8D5, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xDB95F, "NE FIXUP -> 0009:7853 (seg077:0253)")
+set_comment(0xDB974, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xDB98A, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0xDB9AE, "NE FIXUP -> 000d:7e00 (seg137:0000)")
+set_comment(0xDB9C8, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xDB9F3, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xDBA09, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0xDBA2E, "NE FIXUP -> 000d:7e00 (seg137:0000)")
+set_comment(0xDBA7D, "NE FIXUP -> 0009:7853 (seg077:0253)")
+set_comment(0xDBA92, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xDBAA8, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0xDBACC, "NE FIXUP -> 000d:7e00 (seg137:0000)")
+set_comment(0xDBAE6, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xDBB61, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xDBBD3, "NE FIXUP -> 0009:a229 (seg082:0029)")
+set_comment(0xDBBFE, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xDBCBB, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xDBCD0, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xDBD03, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xDBD43, "NE FIXUP -> 0009:7905 (seg077:0305)")
+set_comment(0xDBD7C, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xDBEAB, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xDBEC5, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xDBEFB, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xDBF26, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xDBF8E, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0xDC001, "NE FIXUP -> 000d:e31c (seg140:0b1c)")
+set_comment(0xDC175, "NE FIXUP -> 0008:7f1d (seg059:151d)")
+set_comment(0xDC1C0, "NE FIXUP -> 0008:ca18 (seg061:1018)")
+set_comment(0xDC339, "NE FIXUP -> 000d:e31c (seg140:0b1c)")
+set_comment(0xDC367, "NE FIXUP -> 000d:e3c1 (seg140:0bc1)")
+set_comment(0xDC43C, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xDC450, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xDC464, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0xDC4AB, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xDC4BF, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xDC4D3, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0xDCC21, "NE FIXUP -> 0005:42c8 (seg021:40c8)")
+set_comment(0xDCC67, "NE FIXUP -> 0005:b498 (seg027:0098)")
+set_comment(0xDCCBC, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xDCCD8, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xDCD07, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xDCD3D, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0xDCDD5, "NE FIXUP -> 000a:6228 (seg094:0428)")
+set_comment(0xDCDF6, "NE FIXUP -> 000a:637a (seg094:057a)")
+set_comment(0xDCEAB, "NE FIXUP -> 000a:5f36 (seg094:0136)")
+set_comment(0xDCED3, "NE FIXUP -> 000a:6b2d (seg095:052d)")
+set_comment(0xDCF93, "NE FIXUP -> 000a:5f36 (seg094:0136)")
+set_comment(0xDD023, "NE FIXUP -> 000a:606a (seg094:026a)")
+set_comment(0xDD0D5, "NE FIXUP -> 000a:60eb (seg094:02eb)")
+set_comment(0xDD17E, "NE FIXUP -> 000a:60eb (seg094:02eb)")
+set_comment(0xDD1F0, "NE FIXUP -> 000a:60eb (seg094:02eb)")
+set_comment(0xDD28D, "NE FIXUP -> 000a:637a (seg094:057a)")
+set_comment(0xDD318, "NE FIXUP -> 000a:637a (seg094:057a)")
+set_comment(0xDD3A4, "NE FIXUP -> 000a:6343 (seg094:0543)")
+set_comment(0xDD47C, "NE FIXUP -> 0005:42c8 (seg021:40c8)")
+set_comment(0xDD4D4, "NE FIXUP -> 0005:b498 (seg027:0098)")
+set_comment(0xDD56E, "NE FIXUP -> 000a:6343 (seg094:0543)")
+set_comment(0xDD808, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xDD816, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xDD85C, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xDD882, "NE FIXUP -> 0009:8c93 (seg080:0093)")
+set_comment(0xDD8BC, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xDD8CE, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0xDD8E0, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0xDD911, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xDD935, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xDD96A, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0xDD97C, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0xDDBF0, "NE FIXUP -> 0003:f0c6 (seg001:7ac6)")
+set_comment(0xDDC0D, "NE FIXUP -> 0003:f0c6 (seg001:7ac6)")
+set_comment(0xDDC2C, "NE FIXUP -> 0003:f0c6 (seg001:7ac6)")
+set_comment(0xDDC49, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xDDC69, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xDDC8B, "NE FIXUP -> 0009:8e0a (seg080:020a)")
+set_comment(0xDDDD7, "NE FIXUP -> 0009:8e70 (seg080:0270)")
+set_comment(0xDDEFB, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xDDF15, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xDDF3B, "NE FIXUP -> 0009:8c93 (seg080:0093)")
+set_comment(0xDDF6E, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xDDF80, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0xDDFA5, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xDDFC9, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xDDFFA, "NE FIXUP -> 0003:d94f (seg001:634f)")
+set_comment(0xDE01A, "NE FIXUP -> 0009:8e70 (seg080:0270)")
+set_comment(0xDE0D8, "NE FIXUP -> 000a:44fd (seg091:00fd)")
+set_comment(0xDE15A, "NE FIXUP -> 0003:f0c6 (seg001:7ac6)")
+set_comment(0xDE178, "NE FIXUP -> 0003:f0c6 (seg001:7ac6)")
+set_comment(0xDE195, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xDE1B7, "NE FIXUP -> 0009:8e0a (seg080:020a)")
+set_comment(0xDE271, "NE FIXUP -> 0009:8e70 (seg080:0270)")
+set_comment(0xDE3B5, "NE FIXUP -> 0009:9e9d (seg081:009d)")
+set_comment(0xDE463, "NE FIXUP -> 0009:9ea5 (seg081:00a5)")
+set_comment(0xDE810, "NE FIXUP -> 000a:454d (seg091:014d)")
+set_comment(0xDE826, "NE FIXUP -> 0003:db7d (seg001:657d)")
+set_comment(0xDE83D, "NE FIXUP -> 0003:cb70 (seg001:5570)")
+set_comment(0xDE858, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xDE871, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0xDE8A0, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0xDE8AF, "NE FIXUP -> 0008:d27e (seg061:187e)")
+set_comment(0xDE8BB, "NE FIXUP -> 0008:d3e6 (seg061:19e6)")
+set_comment(0xDE8DC, "NE FIXUP -> 0008:ccb7 (seg061:12b7)")
+set_comment(0xDE8FB, "NE FIXUP -> 0008:d3ba (seg061:19ba)")
+set_comment(0xDE945, "NE FIXUP -> 0008:bb4f (seg061:014f)")
+set_comment(0xDE95E, "NE FIXUP -> 0008:d214 (seg061:1814)")
+set_comment(0xDE978, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0xDE98D, "NE FIXUP -> 0008:bc27 (seg061:0227)")
+set_comment(0xDE999, "NE FIXUP -> 0008:cc01 (seg061:1201)")
+set_comment(0xDE9BD, "NE FIXUP -> 0008:9de3 (seg059:33e3)")
+set_comment(0xDEBD9, "NE FIXUP -> 0003:e4d3 (seg001:6ed3)")
+set_comment(0xDEC62, "NE FIXUP -> 000a:5339 (seg092:0539)")
+set_comment(0xDEC79, "NE FIXUP -> 0008:ebe7 (seg064:01e7)")
+set_comment(0xDECB4, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xDECC8, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xDECDC, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xDECEE, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0xDED11, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0xDED40, "NE FIXUP -> 0009:c4df (seg083:00df)")
+set_comment(0xDED5A, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0xDED64, "NE FIXUP -> 0009:c6ae (seg083:02ae)")
+set_comment(0xDEE04, "NE FIXUP -> 0009:9e99 (seg081:0099)")
+set_comment(0xDEE1A, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0xDEE50, "NE FIXUP -> 0009:9e99 (seg081:0099)")
+set_comment(0xDEE7A, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0xDEECD, "NE FIXUP -> 000d:e600 (seg141:0000)")
+set_comment(0xDEF1F, "NE FIXUP -> 000d:e600 (seg141:0000)")
+set_comment(0xDEFB1, "NE FIXUP -> 0009:fb96 (seg086:1596)")
+set_comment(0xDEFCD, "NE FIXUP -> 0009:9e99 (seg081:0099)")
+set_comment(0xDEFF2, "NE FIXUP -> 0009:fb96 (seg086:1596)")
+set_comment(0xDF014, "NE FIXUP -> 0009:9e99 (seg081:0099)")
+set_comment(0xDF049, "NE FIXUP -> 0009:fb96 (seg086:1596)")
+set_comment(0xDF096, "NE FIXUP -> 000d:e600 (seg141:0000)")
+set_comment(0xDF0E8, "NE FIXUP -> 000d:e600 (seg141:0000)")
+set_comment(0xDF157, "NE FIXUP -> 0009:fb96 (seg086:1596)")
+set_comment(0xDF1AD, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0xDF1DC, "NE FIXUP -> 0009:c4df (seg083:00df)")
+set_comment(0xDF1F6, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0xDF200, "NE FIXUP -> 0009:c6ae (seg083:02ae)")
+set_comment(0xDF2B0, "NE FIXUP -> 0009:9e99 (seg081:0099)")
+set_comment(0xDF2C6, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0xDF2FC, "NE FIXUP -> 0009:9e99 (seg081:0099)")
+set_comment(0xDF32C, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0xDF37F, "NE FIXUP -> 000d:e600 (seg141:0000)")
+set_comment(0xDF3D1, "NE FIXUP -> 000d:e600 (seg141:0000)")
+set_comment(0xDF465, "NE FIXUP -> 000a:14b3 (seg086:2eb3)")
+set_comment(0xDF482, "NE FIXUP -> 0009:9e99 (seg081:0099)")
+set_comment(0xDF4A8, "NE FIXUP -> 000a:14b3 (seg086:2eb3)")
+set_comment(0xDF4CB, "NE FIXUP -> 0009:9e99 (seg081:0099)")
+set_comment(0xDF501, "NE FIXUP -> 000a:14b3 (seg086:2eb3)")
+set_comment(0xDF54F, "NE FIXUP -> 000d:e600 (seg141:0000)")
+set_comment(0xDF5A1, "NE FIXUP -> 000d:e600 (seg141:0000)")
+set_comment(0xDF612, "NE FIXUP -> 000a:14b3 (seg086:2eb3)")
+set_comment(0xDF669, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0xDF698, "NE FIXUP -> 0009:c4df (seg083:00df)")
+set_comment(0xDF6B2, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0xDF6BC, "NE FIXUP -> 0009:c6ae (seg083:02ae)")
+set_comment(0xDF754, "NE FIXUP -> 0009:9e99 (seg081:0099)")
+set_comment(0xDF762, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0xDF79E, "NE FIXUP -> 0009:9e99 (seg081:0099)")
+set_comment(0xDF7C8, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0xDF81B, "NE FIXUP -> 000d:e600 (seg141:0000)")
+set_comment(0xDF86D, "NE FIXUP -> 000d:e600 (seg141:0000)")
+set_comment(0xDF8F4, "NE FIXUP -> 000a:2800 (seg087:0000)")
+set_comment(0xDF90D, "NE FIXUP -> 0009:9e99 (seg081:0099)")
+set_comment(0xDF924, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0xDF953, "NE FIXUP -> 000a:2800 (seg087:0000)")
+set_comment(0xDF972, "NE FIXUP -> 0009:9e99 (seg081:0099)")
+set_comment(0xDF989, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0xDF9C6, "NE FIXUP -> 000a:2800 (seg087:0000)")
+set_comment(0xDFA10, "NE FIXUP -> 000d:e600 (seg141:0000)")
+set_comment(0xDFA62, "NE FIXUP -> 000d:e600 (seg141:0000)")
+set_comment(0xDFAC3, "NE FIXUP -> 000a:2800 (seg087:0000)")
+set_comment(0xDFB16, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0xDFB45, "NE FIXUP -> 0009:c4df (seg083:00df)")
+set_comment(0xDFB5F, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0xDFB69, "NE FIXUP -> 0009:c6ae (seg083:02ae)")
+set_comment(0xDFC19, "NE FIXUP -> 0009:9e99 (seg081:0099)")
+set_comment(0xDFC2F, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0xDFC65, "NE FIXUP -> 0009:9e99 (seg081:0099)")
+set_comment(0xDFC95, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0xDFCE8, "NE FIXUP -> 000d:e600 (seg141:0000)")
+set_comment(0xDFD3A, "NE FIXUP -> 000d:e600 (seg141:0000)")
+set_comment(0xDFDCC, "NE FIXUP -> 0009:fb96 (seg086:1596)")
+set_comment(0xDFDE8, "NE FIXUP -> 0009:9e99 (seg081:0099)")
+set_comment(0xDFE0D, "NE FIXUP -> 0009:fb96 (seg086:1596)")
+set_comment(0xDFE2F, "NE FIXUP -> 0009:9e99 (seg081:0099)")
+set_comment(0xDFE64, "NE FIXUP -> 0009:fb96 (seg086:1596)")
+set_comment(0xDFEB1, "NE FIXUP -> 000d:e600 (seg141:0000)")
+set_comment(0xDFF03, "NE FIXUP -> 000d:e600 (seg141:0000)")
+set_comment(0xDFF72, "NE FIXUP -> 0009:fb96 (seg086:1596)")
+set_comment(0xE0036, "NE FIXUP -> 0009:c4df (seg083:00df)")
+set_comment(0xE0068, "NE FIXUP -> 0009:c4df (seg083:00df)")
+set_comment(0xE00CD, "NE FIXUP -> 0009:c4df (seg083:00df)")
+set_comment(0xE0236, "NE FIXUP -> 000a:2800 (seg087:0000)")
+set_comment(0xE02B2, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0xE02EB, "NE FIXUP -> 0009:c4df (seg083:00df)")
+set_comment(0xE0305, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0xE030F, "NE FIXUP -> 0009:c6ae (seg083:02ae)")
+set_comment(0xE034A, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0xE0371, "NE FIXUP -> 0009:c4df (seg083:00df)")
+set_comment(0xE038B, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0xE0395, "NE FIXUP -> 0009:c6ae (seg083:02ae)")
+set_comment(0xE058D, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xE05DD, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xE05EE, "NE FIXUP -> 000e:35ef (seg143:01ef)")
+set_comment(0xE0679, "NE FIXUP -> 000a:30d7 (seg088:02d7)")
+set_comment(0xE06E0, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xE07C7, "NE FIXUP -> 000a:2800 (seg087:0000)")
+set_comment(0xE07FC, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0xE082F, "NE FIXUP -> 0009:c4df (seg083:00df)")
+set_comment(0xE0849, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0xE0853, "NE FIXUP -> 0009:c6ae (seg083:02ae)")
+set_comment(0xE09AC, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xE09CF, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xE0DB0, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xE0E15, "NE FIXUP -> 0009:a229 (seg082:0029)")
+set_comment(0xE101C, "NE FIXUP -> 0009:c4df (seg083:00df)")
+set_comment(0xE1070, "NE FIXUP -> 0008:a3b9 (seg059:39b9)")
+set_comment(0xE1080, "NE FIXUP -> 0008:a3b9 (seg059:39b9)")
+set_comment(0xE1090, "NE FIXUP -> 0008:a3b9 (seg059:39b9)")
+set_comment(0xE13DA, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xE142A, "NE FIXUP -> 000a:2800 (seg087:0000)")
+set_comment(0xE146B, "NE FIXUP -> 0009:c4df (seg083:00df)")
+set_comment(0xE148E, "NE FIXUP -> 0008:a3b9 (seg059:39b9)")
+set_comment(0xE149E, "NE FIXUP -> 0008:a3b9 (seg059:39b9)")
+set_comment(0xE14AE, "NE FIXUP -> 0008:a3b9 (seg059:39b9)")
+set_comment(0xE14E3, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xE1538, "NE FIXUP -> 000a:2800 (seg087:0000)")
+set_comment(0xE1575, "NE FIXUP -> 0009:c4df (seg083:00df)")
+set_comment(0xE15A1, "NE FIXUP -> 0009:c4df (seg083:00df)")
+set_comment(0xE162B, "NE FIXUP -> 0009:9e99 (seg081:0099)")
+set_comment(0xE163C, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0xE16A0, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0xE16C2, "NE FIXUP -> 000a:2800 (seg087:0000)")
+set_comment(0xE1746, "NE FIXUP -> 0009:c45f (seg083:005f)")
+set_comment(0xE1770, "NE FIXUP -> 000a:2800 (seg087:0000)")
+set_comment(0xE17D2, "NE FIXUP -> 0003:e8a5 (seg001:72a5)")
+set_comment(0xE1A0B, "NE FIXUP -> 000e:345e (seg143:005e)")
+set_comment(0xE1A79, "NE FIXUP -> 000a:500a (seg092:020a)")
+set_comment(0xE1A9F, "NE FIXUP -> 0009:1d6a (seg070:016a)")
+set_comment(0xE1B24, "NE FIXUP -> 000b:1446 (seg107:0046)")
+set_comment(0xE1B2E, "NE FIXUP -> 000a:b988 (seg101:1588)")
+set_comment(0xE1B44, "NE FIXUP -> 0004:8674 (seg013:0474)")
+set_comment(0xE1B63, "NE FIXUP -> 0009:e15f (seg085:015f)")
+set_comment(0xE1B7B, "NE FIXUP -> 0009:c4df (seg083:00df)")
+set_comment(0xE1B95, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0xE1B9F, "NE FIXUP -> 0009:c6ae (seg083:02ae)")
+set_comment(0xE1BC9, "NE FIXUP -> 0009:c800 (seg084:0000)")
+set_comment(0xE1C0E, "NE FIXUP -> 0009:e15f (seg085:015f)")
+set_comment(0xE1C1B, "NE FIXUP -> 0009:e15f (seg085:015f)")
+set_comment(0xE1C28, "NE FIXUP -> 0009:e15f (seg085:015f)")
+set_comment(0xE1C40, "NE FIXUP -> 0009:c4df (seg083:00df)")
+set_comment(0xE1C5A, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0xE1C64, "NE FIXUP -> 0009:c6ae (seg083:02ae)")
+set_comment(0xE1C80, "NE FIXUP -> 0009:e15f (seg085:015f)")
+set_comment(0xE1C98, "NE FIXUP -> 0009:c4df (seg083:00df)")
+set_comment(0xE1CB2, "NE FIXUP -> 0009:c433 (seg083:0033)")
+set_comment(0xE1CBC, "NE FIXUP -> 0009:c6ae (seg083:02ae)")
+set_comment(0xE1CE8, "NE FIXUP -> 000a:9748 (seg099:0148)")
+set_comment(0xE1D09, "NE FIXUP -> 000e:3639 (seg143:0239)")
+set_comment(0xE1D30, "NE FIXUP -> 000e:34cc (seg143:00cc)")
+set_comment(0xE1D75, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xE1D99, "NE FIXUP -> 0009:6e00 (seg076:0000)")
+set_comment(0xE1DDB, "NE FIXUP -> 0009:6ec7 (seg076:00c7)")
+set_comment(0xE1FB8, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xE202A, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xE206E, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xE20BE, "NE FIXUP -> 000a:e709 (seg104:0109)")
+set_comment(0xE20FA, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xE2268, "NE FIXUP -> 0008:d27e (seg061:187e)")
+set_comment(0xE2274, "NE FIXUP -> 0008:d3e6 (seg061:19e6)")
+set_comment(0xE2282, "NE FIXUP -> 0008:d3ba (seg061:19ba)")
+set_comment(0xE22EA, "NE FIXUP -> 000b:2446 (seg108:0a46)")
+set_comment(0xE230C, "NE FIXUP -> 0006:16d3 (seg030:36d3)")
+set_comment(0xE234D, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xE2371, "NE FIXUP -> 0009:6e00 (seg076:0000)")
+set_comment(0xE23A4, "NE FIXUP -> 000a:45fe (seg091:01fe)")
+set_comment(0xE23B8, "NE FIXUP -> 0009:6ec7 (seg076:00c7)")
+set_comment(0xE23D5, "NE FIXUP -> 000d:8ca3 (seg137:0ea3)")
+set_comment(0xE23FE, "NE FIXUP -> 0009:7757 (seg077:0157)")
+set_comment(0xE2419, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xE243E, "NE FIXUP -> 0009:9216 (seg080:0616)")
+set_comment(0xE2459, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xE24B0, "NE FIXUP -> 0009:6f5a (seg076:015a)")
+set_comment(0xE24CB, "NE FIXUP -> 0009:943a (seg080:083a)")
+set_comment(0xE24F7, "NE FIXUP -> 0006:16e1 (seg030:36e1)")
+set_comment(0xE252C, "NE FIXUP -> 000b:2492 (seg108:0a92)")
+set_comment(0xE2587, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xE25B9, "NE FIXUP -> 0008:ec05 (seg064:0205)")
+set_comment(0xE25D2, "NE FIXUP -> 0009:6e7f (seg076:007f)")
+set_comment(0xE25F9, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xE2620, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xE2651, "NE FIXUP -> 000e:34cc (seg143:00cc)")
+set_comment(0xE26CB, "NE FIXUP -> 0009:e1f6 (seg085:01f6)")
+set_comment(0xE26ED, "NE FIXUP -> 0009:e1f6 (seg085:01f6)")
+set_comment(0xE270F, "NE FIXUP -> 0009:e1f6 (seg085:01f6)")
+set_comment(0xE2731, "NE FIXUP -> 0009:e1f6 (seg085:01f6)")
+set_comment(0xE2753, "NE FIXUP -> 0009:e1f6 (seg085:01f6)")
+set_comment(0xE2765, "NE FIXUP -> 0008:9de3 (seg059:33e3)")
+set_comment(0xE2A0D, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0xE2A1E, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xE2B3C, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xE2B50, "NE FIXUP -> 0008:dbec (seg062:01ec)")
+set_comment(0xE2B62, "NE FIXUP -> 0008:bb8c (seg061:018c)")
+set_comment(0xE340E, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xE346C, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xE34F0, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xE3506, "NE FIXUP -> 000a:500a (seg092:020a)")
+set_comment(0xE351A, "NE FIXUP -> 0003:ac7e (seg001:367e)")
+set_comment(0xE354F, "NE FIXUP -> 0009:1c00 (seg070:0000)")
+set_comment(0xE3564, "NE FIXUP -> 0009:1d6a (seg070:016a)")
+set_comment(0xE3582, "NE FIXUP -> 0009:1f12 (seg070:0312)")
+set_comment(0xE359F, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xE35B9, "NE FIXUP -> 0009:1e61 (seg070:0261)")
+set_comment(0xE35D9, "NE FIXUP -> 0003:a751 (seg001:3151)")
+set_comment(0xE3A37, "NE FIXUP -> 0003:c994 (seg001:5394)")
+set_comment(0xE3AAD, "NE FIXUP -> 0003:a880 (seg001:3280)")
+set_comment(0xE40B5, "NE FIXUP -> 0004:2620 (seg005:0820)")
+set_comment(0xE40B9, "NE FIXUP -> 0004:267e (seg005:087e)")
+set_comment(0xE40BD, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE40C1, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE40C5, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE40C9, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE40CD, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE40D1, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE40D5, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE40D9, "NE FIXUP -> 0005:92b9 (seg025:00b9)")
+set_comment(0xE40DD, "NE FIXUP -> 0005:92b9 (seg025:00b9)")
+set_comment(0xE40F9, "NE FIXUP -> 0004:32a7 (seg006:06a7)")
+set_comment(0xE40FD, "NE FIXUP -> 0004:32bd (seg006:06bd)")
+set_comment(0xE4101, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE4105, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE4109, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE410D, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE4111, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE4115, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE4119, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE411D, "NE FIXUP -> 0004:330c (seg006:070c)")
+set_comment(0xE4121, "NE FIXUP -> 000d:8078 (seg137:0278)")
+set_comment(0xE4125, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE4129, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE412D, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE4131, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE4135, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE4139, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE413D, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE4141, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE4145, "NE FIXUP -> 000d:81a0 (seg137:03a0)")
+set_comment(0xE4149, "NE FIXUP -> 0009:4742 (seg073:0142)")
+set_comment(0xE414D, "NE FIXUP -> 0009:47c8 (seg073:01c8)")
+set_comment(0xE4151, "NE FIXUP -> 0009:4827 (seg073:0227)")
+set_comment(0xE4155, "NE FIXUP -> 0009:48a8 (seg073:02a8)")
+set_comment(0xE4159, "NE FIXUP -> 0009:4954 (seg073:0354)")
+set_comment(0xE415D, "NE FIXUP -> 0009:4ae3 (seg073:04e3)")
+set_comment(0xE4161, "NE FIXUP -> 0009:4b29 (seg073:0529)")
+set_comment(0xE4165, "NE FIXUP -> 0009:4b48 (seg073:0548)")
+set_comment(0xE4169, "NE FIXUP -> 0009:4b78 (seg073:0578)")
+set_comment(0xE416D, "NE FIXUP -> 0009:4bcb (seg073:05cb)")
+set_comment(0xE4171, "NE FIXUP -> 0009:4a4a (seg073:044a)")
+set_comment(0xE4175, "NE FIXUP -> 0009:4d56 (seg073:0756)")
+set_comment(0xE4179, "NE FIXUP -> 0009:4e72 (seg073:0872)")
+set_comment(0xE417D, "NE FIXUP -> 0009:4852 (seg073:0252)")
+set_comment(0xE4181, "NE FIXUP -> 0004:332b (seg006:072b)")
+set_comment(0xE41A1, "NE FIXUP -> 0004:39c7 (seg007:03c7)")
+set_comment(0xE41A5, "NE FIXUP -> 0004:39cc (seg007:03cc)")
+set_comment(0xE41A9, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE41AD, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE41B1, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE41B5, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE41B9, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE41BD, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE41C1, "NE FIXUP -> 0004:3a1b (seg007:041b)")
+set_comment(0xE41C5, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE41C9, "NE FIXUP -> 0004:3783 (seg007:0183)")
+set_comment(0xE41CD, "NE FIXUP -> 0004:3688 (seg007:0088)")
+set_comment(0xE41D1, "NE FIXUP -> 0004:3a28 (seg007:0428)")
+set_comment(0xE41D5, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE41D9, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE41DD, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE41E1, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE41E5, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE41E9, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE41ED, "NE FIXUP -> 0004:3a77 (seg007:0477)")
+set_comment(0xE41FB, "NE FIXUP -> 0005:92b9 (seg025:00b9)")
+set_comment(0xE41FF, "NE FIXUP -> 0005:9c8e (seg025:0a8e)")
+set_comment(0xE4203, "NE FIXUP -> 0005:9c46 (seg025:0a46)")
+set_comment(0xE4207, "NE FIXUP -> 0005:a837 (seg025:1637)")
+set_comment(0xE420B, "NE FIXUP -> 0005:a538 (seg025:1338)")
+set_comment(0xE420F, "NE FIXUP -> 0004:42d2 (seg008:06d2)")
+set_comment(0xE4213, "NE FIXUP -> 0004:40bc (seg008:04bc)")
+set_comment(0xE4217, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE421B, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE421F, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE4223, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE4227, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE422B, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE422F, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE42A9, "NE FIXUP -> 000e:433a (seg144:073a)")
+set_comment(0xE42B1, "NE FIXUP -> 000e:433d (seg144:073d)")
+set_comment(0xE42B5, "NE FIXUP -> 000e:4348 (seg144:0748)")
+set_comment(0xE42B9, "NE FIXUP -> 000e:4355 (seg144:0755)")
+set_comment(0xE42BD, "NE FIXUP -> 000e:435f (seg144:075f)")
+set_comment(0xE42C1, "NE FIXUP -> 000e:436c (seg144:076c)")
+set_comment(0xE42C5, "NE FIXUP -> 000e:4375 (seg144:0775)")
+set_comment(0xE42C9, "NE FIXUP -> 000e:4382 (seg144:0782)")
+set_comment(0xE42CD, "NE FIXUP -> 000e:438c (seg144:078c)")
+set_comment(0xE42D1, "NE FIXUP -> 000e:4396 (seg144:0796)")
+set_comment(0xE42D5, "NE FIXUP -> 000e:43a0 (seg144:07a0)")
+set_comment(0xE42D9, "NE FIXUP -> 000e:43ad (seg144:07ad)")
+set_comment(0xE42DD, "NE FIXUP -> 000e:43b6 (seg144:07b6)")
+set_comment(0xE42E1, "NE FIXUP -> 000e:43c3 (seg144:07c3)")
+set_comment(0xE42E5, "NE FIXUP -> 000e:43cf (seg144:07cf)")
+set_comment(0xE42E9, "NE FIXUP -> 000e:43db (seg144:07db)")
+set_comment(0xE42ED, "NE FIXUP -> 000e:43e8 (seg144:07e8)")
+set_comment(0xE42F1, "NE FIXUP -> 000e:43f2 (seg144:07f2)")
+set_comment(0xE42F5, "NE FIXUP -> 000e:43fb (seg144:07fb)")
+set_comment(0xE42F9, "NE FIXUP -> 000e:441e (seg144:081e)")
+set_comment(0xE42FD, "NE FIXUP -> 000e:4433 (seg144:0833)")
+set_comment(0xE445F, "NE FIXUP -> 000e:449c (seg144:089c)")
+set_comment(0xE4463, "NE FIXUP -> 000e:44ab (seg144:08ab)")
+set_comment(0xE4467, "NE FIXUP -> 000e:44b6 (seg144:08b6)")
+set_comment(0xE446B, "NE FIXUP -> 000e:44bc (seg144:08bc)")
+set_comment(0xE446F, "NE FIXUP -> 000e:44bf (seg144:08bf)")
+set_comment(0xE4473, "NE FIXUP -> 000e:44c2 (seg144:08c2)")
+set_comment(0xE4477, "NE FIXUP -> 000e:44c9 (seg144:08c9)")
+set_comment(0xE447B, "NE FIXUP -> 000e:44d1 (seg144:08d1)")
+set_comment(0xE447F, "NE FIXUP -> 000e:44db (seg144:08db)")
+set_comment(0xE4483, "NE FIXUP -> 000e:44e3 (seg144:08e3)")
+set_comment(0xE4487, "NE FIXUP -> 000e:44e9 (seg144:08e9)")
+set_comment(0xE448B, "NE FIXUP -> 000e:44f0 (seg144:08f0)")
+set_comment(0xE448F, "NE FIXUP -> 000e:44f8 (seg144:08f8)")
+set_comment(0xE4493, "NE FIXUP -> 000e:44fd (seg144:08fd)")
+set_comment(0xE4497, "NE FIXUP -> 000e:4503 (seg144:0903)")
+set_comment(0xE47A3, "NE FIXUP -> 0004:5d9b (seg010:039b)")
+set_comment(0xE47A7, "NE FIXUP -> 0004:621b (seg010:081b)")
+set_comment(0xE47AB, "NE FIXUP -> 0004:6739 (seg010:0d39)")
+set_comment(0xE47AF, "NE FIXUP -> 000a:4972 (seg091:0572)")
+set_comment(0xE47B3, "NE FIXUP -> 000a:4913 (seg091:0513)")
+set_comment(0xE47B7, "NE FIXUP -> 000a:4a51 (seg091:0651)")
+set_comment(0xE47BB, "NE FIXUP -> 0004:6739 (seg010:0d39)")
+set_comment(0xE47BF, "NE FIXUP -> 000a:4972 (seg091:0572)")
+set_comment(0xE47C3, "NE FIXUP -> 0004:673e (seg010:0d3e)")
+set_comment(0xE47C7, "NE FIXUP -> 0004:6743 (seg010:0d43)")
+set_comment(0xE47CB, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE47CF, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE47D3, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE47D7, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE47DB, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE47DF, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE47E3, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE47E7, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE47EB, "NE FIXUP -> 0004:5a65 (seg010:0065)")
+set_comment(0xE47FD, "NE FIXUP -> 0009:4742 (seg073:0142)")
+set_comment(0xE4801, "NE FIXUP -> 0009:47c8 (seg073:01c8)")
+set_comment(0xE4805, "NE FIXUP -> 0009:4827 (seg073:0227)")
+set_comment(0xE4809, "NE FIXUP -> 0009:48a8 (seg073:02a8)")
+set_comment(0xE480D, "NE FIXUP -> 0009:4954 (seg073:0354)")
+set_comment(0xE4811, "NE FIXUP -> 0009:4ae3 (seg073:04e3)")
+set_comment(0xE4815, "NE FIXUP -> 0009:4b29 (seg073:0529)")
+set_comment(0xE4819, "NE FIXUP -> 0009:4b48 (seg073:0548)")
+set_comment(0xE481D, "NE FIXUP -> 0009:4b78 (seg073:0578)")
+set_comment(0xE4821, "NE FIXUP -> 0009:4bcb (seg073:05cb)")
+set_comment(0xE4825, "NE FIXUP -> 0009:4a4a (seg073:044a)")
+set_comment(0xE4829, "NE FIXUP -> 0009:4d56 (seg073:0756)")
+set_comment(0xE482D, "NE FIXUP -> 0009:4e72 (seg073:0872)")
+set_comment(0xE4831, "NE FIXUP -> 0009:4852 (seg073:0252)")
+set_comment(0xE4835, "NE FIXUP -> 0004:737e (seg011:057e)")
+set_comment(0xE4839, "NE FIXUP -> 0009:1870 (seg069:0070)")
+set_comment(0xE483D, "NE FIXUP -> 0009:19bb (seg069:01bb)")
+set_comment(0xE4841, "NE FIXUP -> 0009:19e2 (seg069:01e2)")
+set_comment(0xE4845, "NE FIXUP -> 0009:48a8 (seg073:02a8)")
+set_comment(0xE4849, "NE FIXUP -> 0009:4954 (seg073:0354)")
+set_comment(0xE484D, "NE FIXUP -> 0009:4ae3 (seg073:04e3)")
+set_comment(0xE4851, "NE FIXUP -> 0009:4b29 (seg073:0529)")
+set_comment(0xE4855, "NE FIXUP -> 0009:4b48 (seg073:0548)")
+set_comment(0xE4859, "NE FIXUP -> 0009:4b78 (seg073:0578)")
+set_comment(0xE485D, "NE FIXUP -> 0009:4bcb (seg073:05cb)")
+set_comment(0xE4861, "NE FIXUP -> 0009:4a4a (seg073:044a)")
+set_comment(0xE4865, "NE FIXUP -> 0009:4d56 (seg073:0756)")
+set_comment(0xE4869, "NE FIXUP -> 0009:4e72 (seg073:0872)")
+set_comment(0xE486D, "NE FIXUP -> 0009:4852 (seg073:0252)")
+set_comment(0xE4871, "NE FIXUP -> 0009:1800 (seg069:0000)")
+set_comment(0xE4899, "NE FIXUP -> 0004:76d3 (seg012:00d3)")
+set_comment(0xE489D, "NE FIXUP -> 0004:7efc (seg012:08fc)")
+set_comment(0xE48A1, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE48A5, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE48A9, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE48AD, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE48B1, "NE FIXUP -> 0004:7df7 (seg012:07f7)")
+set_comment(0xE48B5, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE48B9, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE4923, "NE FIXUP -> 0004:acd1 (seg014:02d1)")
+set_comment(0xE4927, "NE FIXUP -> 0004:acd6 (seg014:02d6)")
+set_comment(0xE492B, "NE FIXUP -> 0004:acdb (seg014:02db)")
+set_comment(0xE492F, "NE FIXUP -> 0004:acd1 (seg014:02d1)")
+set_comment(0xE4933, "NE FIXUP -> 0004:acd6 (seg014:02d6)")
+set_comment(0xE4937, "NE FIXUP -> 0004:acdb (seg014:02db)")
+set_comment(0xE4958, "NE FIXUP -> 0004:aed9 (seg014:04d9)")
+set_comment(0xE495C, "NE FIXUP -> 0004:aeec (seg014:04ec)")
+set_comment(0xE4960, "NE FIXUP -> 0004:acdb (seg014:02db)")
+set_comment(0xE4964, "NE FIXUP -> 0004:aef1 (seg014:04f1)")
+set_comment(0xE4A2E, "NE FIXUP -> 0004:c61c (seg015:141c)")
+set_comment(0xE4A32, "NE FIXUP -> 0004:c6c0 (seg015:14c0)")
+set_comment(0xE4A36, "NE FIXUP -> 0004:acdb (seg014:02db)")
+set_comment(0xE4A3A, "NE FIXUP -> 0004:cdc9 (seg015:1bc9)")
+set_comment(0xE4A3E, "NE FIXUP -> 0004:acd1 (seg014:02d1)")
+set_comment(0xE4A42, "NE FIXUP -> 0004:acd6 (seg014:02d6)")
+set_comment(0xE4A46, "NE FIXUP -> 0004:b987 (seg015:0787)")
+set_comment(0xE4A4A, "NE FIXUP -> 0004:acd1 (seg014:02d1)")
+set_comment(0xE4A4E, "NE FIXUP -> 0004:acd6 (seg014:02d6)")
+set_comment(0xE4A52, "NE FIXUP -> 0004:b987 (seg015:0787)")
+set_comment(0xE4A56, "NE FIXUP -> 0009:1870 (seg069:0070)")
+set_comment(0xE4A5A, "NE FIXUP -> 0009:19bb (seg069:01bb)")
+set_comment(0xE4A5E, "NE FIXUP -> 0009:19e2 (seg069:01e2)")
+set_comment(0xE4A62, "NE FIXUP -> 0009:48a8 (seg073:02a8)")
+set_comment(0xE4A66, "NE FIXUP -> 0009:4954 (seg073:0354)")
+set_comment(0xE4A6A, "NE FIXUP -> 0009:4ae3 (seg073:04e3)")
+set_comment(0xE4A6E, "NE FIXUP -> 0009:4b29 (seg073:0529)")
+set_comment(0xE4A72, "NE FIXUP -> 0009:4b48 (seg073:0548)")
+set_comment(0xE4A76, "NE FIXUP -> 0009:4b78 (seg073:0578)")
+set_comment(0xE4A7A, "NE FIXUP -> 0009:4bcb (seg073:05cb)")
+set_comment(0xE4A7E, "NE FIXUP -> 0009:4a4a (seg073:044a)")
+set_comment(0xE4A82, "NE FIXUP -> 0009:4d56 (seg073:0756)")
+set_comment(0xE4A86, "NE FIXUP -> 0009:4e72 (seg073:0872)")
+set_comment(0xE4A8A, "NE FIXUP -> 0009:4852 (seg073:0252)")
+set_comment(0xE4A8E, "NE FIXUP -> 0004:cdfe (seg015:1bfe)")
+set_comment(0xE4A92, "NE FIXUP -> 0009:5418 (seg074:0218)")
+set_comment(0xE4A96, "NE FIXUP -> 0009:1870 (seg069:0070)")
+set_comment(0xE4A9A, "NE FIXUP -> 0009:19bb (seg069:01bb)")
+set_comment(0xE4A9E, "NE FIXUP -> 0009:19e2 (seg069:01e2)")
+set_comment(0xE4AA2, "NE FIXUP -> 0009:48a8 (seg073:02a8)")
+set_comment(0xE4AA6, "NE FIXUP -> 0009:4954 (seg073:0354)")
+set_comment(0xE4AAA, "NE FIXUP -> 0009:4ae3 (seg073:04e3)")
+set_comment(0xE4AAE, "NE FIXUP -> 0009:4b29 (seg073:0529)")
+set_comment(0xE4AB2, "NE FIXUP -> 0009:4b48 (seg073:0548)")
+set_comment(0xE4AB6, "NE FIXUP -> 0009:4b78 (seg073:0578)")
+set_comment(0xE4ABA, "NE FIXUP -> 0009:4bcb (seg073:05cb)")
+set_comment(0xE4ABE, "NE FIXUP -> 0009:4a4a (seg073:044a)")
+set_comment(0xE4AC2, "NE FIXUP -> 0009:4d56 (seg073:0756)")
+set_comment(0xE4AC6, "NE FIXUP -> 0009:4e72 (seg073:0872)")
+set_comment(0xE4ACA, "NE FIXUP -> 0009:4852 (seg073:0252)")
+set_comment(0xE4ACE, "NE FIXUP -> 0004:ce33 (seg015:1c33)")
+set_comment(0xE4AD2, "NE FIXUP -> 0009:5418 (seg074:0218)")
+set_comment(0xE4AD9, "NE FIXUP -> 0005:a0b3 (seg025:0eb3)")
+set_comment(0xE4B15, "NE FIXUP -> 0004:f118 (seg019:0718)")
+set_comment(0xE4B19, "NE FIXUP -> 0004:f460 (seg019:0a60)")
+set_comment(0xE4B1D, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE4B21, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE4B25, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE4B29, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE4B2D, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE4B31, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE4B35, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE4B39, "NE FIXUP -> 0004:ec2d (seg019:022d)")
+set_comment(0xE4B3D, "NE FIXUP -> 0004:f4af (seg019:0aaf)")
+set_comment(0xE4B41, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE4B45, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE4B49, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE4B4D, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE4B51, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE4B55, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE4B59, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE4B5D, "NE FIXUP -> 0004:ea47 (seg019:0047)")
+set_comment(0xE4B61, "NE FIXUP -> 0004:f4fe (seg019:0afe)")
+set_comment(0xE4B65, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE4B69, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE4B6D, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE4B71, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE4B75, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE4B79, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE4B7D, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE4BB4, "NE FIXUP -> 0004:acd1 (seg014:02d1)")
+set_comment(0xE4BB8, "NE FIXUP -> 0004:fb25 (seg020:0325)")
+set_comment(0xE4BBC, "NE FIXUP -> 0004:acdb (seg014:02db)")
+set_comment(0xE4BC0, "NE FIXUP -> 0009:4742 (seg073:0142)")
+set_comment(0xE4BC4, "NE FIXUP -> 0009:47c8 (seg073:01c8)")
+set_comment(0xE4BC8, "NE FIXUP -> 0009:4827 (seg073:0227)")
+set_comment(0xE4BCC, "NE FIXUP -> 0009:48a8 (seg073:02a8)")
+set_comment(0xE4BD0, "NE FIXUP -> 0009:4954 (seg073:0354)")
+set_comment(0xE4BD4, "NE FIXUP -> 0009:4ae3 (seg073:04e3)")
+set_comment(0xE4BD8, "NE FIXUP -> 0009:4b29 (seg073:0529)")
+set_comment(0xE4BDC, "NE FIXUP -> 0009:4b48 (seg073:0548)")
+set_comment(0xE4BE0, "NE FIXUP -> 0009:4b78 (seg073:0578)")
+set_comment(0xE4BE4, "NE FIXUP -> 0009:4bcb (seg073:05cb)")
+set_comment(0xE4BE8, "NE FIXUP -> 0009:4a4a (seg073:044a)")
+set_comment(0xE4BEC, "NE FIXUP -> 0009:4d56 (seg073:0756)")
+set_comment(0xE4BF0, "NE FIXUP -> 0009:4e72 (seg073:0872)")
+set_comment(0xE4BF4, "NE FIXUP -> 0009:4852 (seg073:0252)")
+set_comment(0xE4BF8, "NE FIXUP -> 0005:0045 (seg020:0845)")
+set_comment(0xE4C2E, "NE FIXUP -> 0005:0278 (seg021:0078)")
+set_comment(0xE4C32, "NE FIXUP -> 0005:4637 (seg021:4437)")
+set_comment(0xE4C36, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE4C3A, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE4C3E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE4C42, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE4C46, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE4C4A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE4C4E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE4E1F, "NE FIXUP -> 0009:1870 (seg069:0070)")
+set_comment(0xE4E23, "NE FIXUP -> 0009:19bb (seg069:01bb)")
+set_comment(0xE4E27, "NE FIXUP -> 0009:19e2 (seg069:01e2)")
+set_comment(0xE4E2B, "NE FIXUP -> 0009:48a8 (seg073:02a8)")
+set_comment(0xE4E2F, "NE FIXUP -> 0009:4954 (seg073:0354)")
+set_comment(0xE4E33, "NE FIXUP -> 0009:4ae3 (seg073:04e3)")
+set_comment(0xE4E37, "NE FIXUP -> 0009:4b29 (seg073:0529)")
+set_comment(0xE4E3B, "NE FIXUP -> 0009:4b48 (seg073:0548)")
+set_comment(0xE4E3F, "NE FIXUP -> 0009:4b78 (seg073:0578)")
+set_comment(0xE4E43, "NE FIXUP -> 0009:4bcb (seg073:05cb)")
+set_comment(0xE4E47, "NE FIXUP -> 0009:4a4a (seg073:044a)")
+set_comment(0xE4E4B, "NE FIXUP -> 0009:4d56 (seg073:0756)")
+set_comment(0xE4E4F, "NE FIXUP -> 0009:4e72 (seg073:0872)")
+set_comment(0xE4E53, "NE FIXUP -> 0009:4852 (seg073:0252)")
+set_comment(0xE4E57, "NE FIXUP -> 0005:90a2 (seg024:06a2)")
+set_comment(0xE4EEE, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE4EF2, "NE FIXUP -> 0006:1e68 (seg030:3e68)")
+set_comment(0xE4EF6, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE4EFA, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE4EFE, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE4F02, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE4F06, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE4F0A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE4F0E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE4F12, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE4F16, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE4F1A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE4F1E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE4F22, "NE FIXUP -> 0006:1eb9 (seg030:3eb9)")
+set_comment(0xE4F26, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE4F2A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE4F2E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE4F32, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE4F36, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE4F3A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE4F3E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE4F42, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE4F46, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE4F4A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE4F4E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE4F52, "NE FIXUP -> 0006:1f0a (seg030:3f0a)")
+set_comment(0xE4F56, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE4F5A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE4F5E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE4F62, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE4F66, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE4F6A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE4F6E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE4F72, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE4F76, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE4F7A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE4F7E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE4F82, "NE FIXUP -> 0006:1f5b (seg030:3f5b)")
+set_comment(0xE4F86, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE4F8A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE4F8E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE4F92, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE4F96, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE4F9A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE4F9E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE4FA2, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE4FA6, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE4FAA, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE4FAE, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE4FB2, "NE FIXUP -> 0006:1fac (seg030:3fac)")
+set_comment(0xE4FB6, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE4FBA, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE4FBE, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE4FC2, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE4FC6, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE4FCA, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE4FCE, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE4FD2, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE4FD6, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE4FDA, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE4FDE, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE4FE2, "NE FIXUP -> 0006:1ffd (seg030:3ffd)")
+set_comment(0xE4FE6, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE4FEA, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE4FEE, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE4FF2, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE4FF6, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE4FFA, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE4FFE, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5002, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5006, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE500A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE500E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5012, "NE FIXUP -> 0006:204e (seg030:404e)")
+set_comment(0xE5016, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE501A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE501E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5022, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5026, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE502A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE502E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5032, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5036, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE503A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE503E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5042, "NE FIXUP -> 0006:209f (seg030:409f)")
+set_comment(0xE5046, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE504A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE504E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5052, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5056, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE505A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE505E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5062, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5066, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE506A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE506E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5072, "NE FIXUP -> 0006:20f0 (seg030:40f0)")
+set_comment(0xE5076, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE507A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE507E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5082, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5086, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE508A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE508E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5092, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5096, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE509A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE509E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE50A2, "NE FIXUP -> 0006:2141 (seg030:4141)")
+set_comment(0xE50A6, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE50AA, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE50AE, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE50B2, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE50B6, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE50BA, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE50BE, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE50C2, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE50C6, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE50CA, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE50CE, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE50D2, "NE FIXUP -> 0006:2192 (seg030:4192)")
+set_comment(0xE50D6, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE50DA, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE50DE, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE50E2, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE50E6, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE50EA, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE50EE, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE50F2, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE50F6, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE50FA, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE50FE, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5102, "NE FIXUP -> 0006:21e3 (seg030:41e3)")
+set_comment(0xE5106, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE510A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE510E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5112, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5116, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE511A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE511E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5122, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5126, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE512A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE512E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5132, "NE FIXUP -> 0006:2234 (seg030:4234)")
+set_comment(0xE5136, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE513A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE513E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5142, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5146, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE514A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE514E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5152, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5156, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE515A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE515E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5162, "NE FIXUP -> 0006:2285 (seg030:4285)")
+set_comment(0xE5166, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE516A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE516E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5172, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5176, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE517A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE517E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5182, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5186, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE518A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE518E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5192, "NE FIXUP -> 0006:22d6 (seg030:42d6)")
+set_comment(0xE5196, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE519A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE519E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE51A2, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE51A6, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE51AA, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE51AE, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE51B2, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE51B6, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE51BA, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE51BE, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE51C2, "NE FIXUP -> 0006:2327 (seg030:4327)")
+set_comment(0xE51C6, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE51CA, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE51CE, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE51D2, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE51D6, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE51DA, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE51DE, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE51E2, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE51E6, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE51EA, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE51EE, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE51F2, "NE FIXUP -> 0006:2378 (seg030:4378)")
+set_comment(0xE51F6, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE51FA, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE51FE, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5202, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5206, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE520A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE520E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5212, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5216, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE521A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE521E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5222, "NE FIXUP -> 0006:23c9 (seg030:43c9)")
+set_comment(0xE5226, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE522A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE522E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5232, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5236, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE523A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE523E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5242, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5246, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE524A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE524E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5252, "NE FIXUP -> 0006:241a (seg030:441a)")
+set_comment(0xE5256, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE525A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE525E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5262, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5266, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE526A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE526E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5272, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5276, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE527A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE527E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5282, "NE FIXUP -> 0006:246b (seg030:446b)")
+set_comment(0xE5286, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE528A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE528E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5292, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5296, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE529A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE529E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE52A2, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE52A6, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE52AA, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE52AE, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE52B2, "NE FIXUP -> 0006:24bc (seg030:44bc)")
+set_comment(0xE52B6, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE52BA, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE52BE, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE52C2, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE52C6, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE52CA, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE52CE, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE52D2, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE52D6, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE52DA, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE52DE, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE52E2, "NE FIXUP -> 0006:250d (seg030:450d)")
+set_comment(0xE52E6, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE52EA, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE52EE, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE52F2, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE52F6, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE52FA, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE52FE, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5302, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5306, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE530A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE530E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5312, "NE FIXUP -> 0006:255e (seg030:455e)")
+set_comment(0xE5316, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE531A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE531E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5322, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5326, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE532A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE532E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5332, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5336, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE533A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE533E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5342, "NE FIXUP -> 0006:25af (seg030:45af)")
+set_comment(0xE5346, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE534A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE534E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5352, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5356, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE535A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE535E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5362, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5366, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE536A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE536E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5372, "NE FIXUP -> 0006:2600 (seg030:4600)")
+set_comment(0xE5376, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE537A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE537E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5382, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5386, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE538A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE538E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5392, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5396, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE539A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE539E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE53A2, "NE FIXUP -> 0006:2651 (seg030:4651)")
+set_comment(0xE53A6, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE53AA, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE53AE, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE53B2, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE53B6, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE53BA, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE53BE, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE53C2, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE53C6, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE53CA, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE53CE, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE53D2, "NE FIXUP -> 0006:26a2 (seg030:46a2)")
+set_comment(0xE53D6, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE53DA, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE53DE, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE53E2, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE53E6, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE53EA, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE53EE, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE53F2, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE53F6, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE53FA, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE53FE, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5402, "NE FIXUP -> 0006:26f3 (seg030:46f3)")
+set_comment(0xE5406, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE540A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE540E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5412, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5416, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE541A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE541E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5422, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5426, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE542A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE542E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5432, "NE FIXUP -> 0006:2744 (seg030:4744)")
+set_comment(0xE5436, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE543A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE543E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5442, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5446, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE544A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE544E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5452, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5456, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE545A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE545E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5462, "NE FIXUP -> 0006:2795 (seg030:4795)")
+set_comment(0xE5466, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE546A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE546E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5472, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5476, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE547A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE547E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5482, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5486, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE548A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE548E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5492, "NE FIXUP -> 0006:27e6 (seg030:47e6)")
+set_comment(0xE5496, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE549A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE549E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE54A2, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE54A6, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE54AA, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE54AE, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE54B2, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE54B6, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE54BA, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE54BE, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE54C2, "NE FIXUP -> 0006:2837 (seg030:4837)")
+set_comment(0xE54C6, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE54CA, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE54CE, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE54D2, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE54D6, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE54DA, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE54DE, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE54E2, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE54E6, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE54EA, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE54EE, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE54F2, "NE FIXUP -> 0006:2888 (seg030:4888)")
+set_comment(0xE54F6, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE54FA, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE54FE, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5502, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5506, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE550A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE550E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5512, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5516, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE551A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE551E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5522, "NE FIXUP -> 0006:28d9 (seg030:48d9)")
+set_comment(0xE5526, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE552A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE552E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5532, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5536, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE553A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE553E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5542, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5546, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE554A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE554E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5552, "NE FIXUP -> 0006:292a (seg030:492a)")
+set_comment(0xE5556, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE555A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE555E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5562, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5566, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE556A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE556E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5572, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5576, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE557A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE557E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5582, "NE FIXUP -> 0006:297b (seg030:497b)")
+set_comment(0xE5586, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE558A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE558E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5592, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5596, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE559A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE559E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE55A2, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE55A6, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE55AA, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE55AE, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE55B2, "NE FIXUP -> 0006:29cc (seg030:49cc)")
+set_comment(0xE55B6, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE55BA, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE55BE, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE55C2, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE55C6, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE55CA, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE55CE, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE55D2, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE55D6, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE55DA, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE55DE, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE55E2, "NE FIXUP -> 0006:2a1d (seg030:4a1d)")
+set_comment(0xE55E6, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE55EA, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE55EE, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE55F2, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE55F6, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE55FA, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE55FE, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5602, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5606, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE560A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE560E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5612, "NE FIXUP -> 0006:2a6e (seg030:4a6e)")
+set_comment(0xE5616, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE561A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE561E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5622, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5626, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE562A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE562E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5632, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5636, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE563A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE563E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5642, "NE FIXUP -> 0006:2abf (seg030:4abf)")
+set_comment(0xE5646, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE564A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE564E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5652, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5656, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE565A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE565E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5662, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5666, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE566A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE566E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5672, "NE FIXUP -> 0006:2b10 (seg030:4b10)")
+set_comment(0xE5676, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE567A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE567E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5682, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5686, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE568A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE568E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5692, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5696, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE569A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE569E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE56A2, "NE FIXUP -> 0006:2b61 (seg030:4b61)")
+set_comment(0xE56A6, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE56AA, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE56AE, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE56B2, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE56B6, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE56BA, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE56BE, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE56C2, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE56C6, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE56CA, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE56CE, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE56D2, "NE FIXUP -> 0006:2bb2 (seg030:4bb2)")
+set_comment(0xE56D6, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE56DA, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE56DE, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE56E2, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE56E6, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE56EA, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE56EE, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE56F2, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE56F6, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE56FA, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE56FE, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5702, "NE FIXUP -> 0006:2c03 (seg030:4c03)")
+set_comment(0xE5706, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE570A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE570E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5712, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5716, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE571A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE571E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5722, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5726, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE572A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE572E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5732, "NE FIXUP -> 0006:2c54 (seg030:4c54)")
+set_comment(0xE5736, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE573A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE573E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5742, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5746, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE574A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE574E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5752, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5756, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE575A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE575E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5762, "NE FIXUP -> 0006:2ca5 (seg030:4ca5)")
+set_comment(0xE5766, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE576A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE576E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5772, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5776, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE577A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE577E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5782, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5786, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE578A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE578E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5792, "NE FIXUP -> 0006:2cf6 (seg030:4cf6)")
+set_comment(0xE5796, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE579A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE579E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE57A2, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE57A6, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE57AA, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE57AE, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE57B2, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE57B6, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE57BA, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE57BE, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE57C2, "NE FIXUP -> 0006:2d47 (seg030:4d47)")
+set_comment(0xE57C6, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE57CA, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE57CE, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE57D2, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE57D6, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE57DA, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE57DE, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE57E2, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE57E6, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE57EA, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE57EE, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE57F2, "NE FIXUP -> 0006:2d98 (seg030:4d98)")
+set_comment(0xE57F6, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE57FA, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE57FE, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5802, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5806, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE580A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE580E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5812, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5816, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE581A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE581E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5822, "NE FIXUP -> 0006:2de9 (seg030:4de9)")
+set_comment(0xE5826, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE582A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE582E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5832, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5836, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE583A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE583E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5842, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5846, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE584A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE584E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5852, "NE FIXUP -> 0006:2e3a (seg030:4e3a)")
+set_comment(0xE5856, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE585A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE585E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5862, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5866, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE586A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE586E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5872, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5876, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE587A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE587E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5882, "NE FIXUP -> 0006:2e8b (seg030:4e8b)")
+set_comment(0xE5886, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE588A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE588E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5892, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5896, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE589A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE589E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE58A2, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE58A6, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE58AA, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE58AE, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE58B2, "NE FIXUP -> 0006:2edc (seg030:4edc)")
+set_comment(0xE58B6, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE58BA, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE58BE, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE58C2, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE58C6, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE58CA, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE58CE, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE58D2, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE58D6, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE58DA, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE58DE, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE58E2, "NE FIXUP -> 0006:2f2d (seg030:4f2d)")
+set_comment(0xE58E6, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE58EA, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE58EE, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE58F2, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE58F6, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE58FA, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE58FE, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5902, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5906, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE590A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE590E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5912, "NE FIXUP -> 0006:2f7e (seg030:4f7e)")
+set_comment(0xE5916, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE591A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE591E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5922, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5926, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE592A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE592E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5932, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5936, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE593A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE593E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5942, "NE FIXUP -> 0006:2fcf (seg030:4fcf)")
+set_comment(0xE5946, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE594A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE594E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5952, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5956, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE595A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE595E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5962, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5966, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE596A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE596E, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE5972, "NE FIXUP -> 0006:3020 (seg030:5020)")
+set_comment(0xE5976, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE597A, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE597E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5982, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5986, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE598A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE598E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5992, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5996, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE599A, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE59BE, "NE FIXUP -> 0006:4379 (seg031:0379)")
+set_comment(0xE59C2, "NE FIXUP -> 0006:43ff (seg031:03ff)")
+set_comment(0xE59C6, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE59CA, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE59CE, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE59D2, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE59D6, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE59DA, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE59DE, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5A5E, "NE FIXUP -> 0006:5bfa (seg033:0bfa)")
+set_comment(0xE5A62, "NE FIXUP -> 0006:5f47 (seg033:0f47)")
+set_comment(0xE5A66, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE5A6A, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE5A6E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5A72, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5A76, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE5A7A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE5A7E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5A82, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5A86, "NE FIXUP -> 0006:5d3e (seg033:0d3e)")
+set_comment(0xE5A8A, "NE FIXUP -> 0006:5a0e (seg033:0a0e)")
+set_comment(0xE5A8E, "NE FIXUP -> 0006:5f95 (seg033:0f95)")
+set_comment(0xE5A92, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE5A96, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE5A9A, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5A9E, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5AA2, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE5AA6, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE5AAA, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5AAE, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5AB2, "NE FIXUP -> 0006:5fe3 (seg033:0fe3)")
+set_comment(0xE5AB6, "NE FIXUP -> 0006:5708 (seg033:0708)")
+set_comment(0xE5ABA, "NE FIXUP -> 0006:5fe8 (seg033:0fe8)")
+set_comment(0xE5ABE, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE5AC2, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE5AC6, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5ACA, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5ACE, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE5AD2, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE5AD6, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5ADA, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5ADE, "NE FIXUP -> 0006:5fe3 (seg033:0fe3)")
+set_comment(0xE5AE2, "NE FIXUP -> 0006:54ab (seg033:04ab)")
+set_comment(0xE5AE6, "NE FIXUP -> 0006:5437 (seg033:0437)")
+set_comment(0xE5AEA, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE5AEE, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE5AF2, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5AF6, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5AFA, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE5AFE, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE5B02, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5B06, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5B0A, "NE FIXUP -> 0006:5fe3 (seg033:0fe3)")
+set_comment(0xE5B0E, "NE FIXUP -> 0006:5359 (seg033:0359)")
+set_comment(0xE5B12, "NE FIXUP -> 0006:6036 (seg033:1036)")
+set_comment(0xE5B16, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE5B1A, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE5B1E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5B22, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5B26, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE5B2A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE5B2E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5B32, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5B36, "NE FIXUP -> 0006:5fe3 (seg033:0fe3)")
+set_comment(0xE5B3A, "NE FIXUP -> 0006:6084 (seg033:1084)")
+set_comment(0xE5B3E, "NE FIXUP -> 0006:6089 (seg033:1089)")
+set_comment(0xE5B42, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE5B46, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE5B4A, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5B4E, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5B52, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE5B56, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE5B5A, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5B5E, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5B62, "NE FIXUP -> 0006:5fe3 (seg033:0fe3)")
+set_comment(0xE5BC8, "NE FIXUP -> 0006:6cb9 (seg034:06b9)")
+set_comment(0xE5BCC, "NE FIXUP -> 0006:68e2 (seg034:02e2)")
+set_comment(0xE5BD0, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE5BD4, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE5BD8, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5BDC, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5BE0, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE5BE4, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE5BE8, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5BEC, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5BF0, "NE FIXUP -> 0006:8859 (seg034:2259)")
+set_comment(0xE5C11, "NE FIXUP -> 0006:9828 (seg035:0428)")
+set_comment(0xE5C15, "NE FIXUP -> 0006:a319 (seg035:0f19)")
+set_comment(0xE5C19, "NE FIXUP -> 0006:9c98 (seg035:0898)")
+set_comment(0xE5C1D, "NE FIXUP -> 0006:9cbe (seg035:08be)")
+set_comment(0xE5C21, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE5C25, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE5C29, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE5C2D, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE5C31, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE5C35, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE5C39, "NE FIXUP -> 0006:5fe3 (seg033:0fe3)")
+set_comment(0xE5C3D, "NE FIXUP -> 000e:5f69 (seg144:2369)")
+set_comment(0xE5CC1, "NE FIXUP -> 000e:5f74 (seg144:2374)")
+set_comment(0xE5E3F, "NE FIXUP -> 000e:5f81 (seg144:2381)")
+set_comment(0xE5EBB, "NE FIXUP -> 000e:5f8c (seg144:238c)")
+set_comment(0xE5EBF, "NE FIXUP -> 000e:5f94 (seg144:2394)")
+set_comment(0xE5EC3, "NE FIXUP -> 000e:5f9a (seg144:239a)")
+set_comment(0xE5EC7, "NE FIXUP -> 000e:5fa0 (seg144:23a0)")
+set_comment(0xE5ECB, "NE FIXUP -> 000e:5fa6 (seg144:23a6)")
+set_comment(0xE5ECF, "NE FIXUP -> 000e:5fab (seg144:23ab)")
+set_comment(0xE5ED3, "NE FIXUP -> 000e:5fb1 (seg144:23b1)")
+set_comment(0xE5ED7, "NE FIXUP -> 000e:5fb7 (seg144:23b7)")
+set_comment(0xE5EDB, "NE FIXUP -> 000e:5fbd (seg144:23bd)")
+set_comment(0xE5EDF, "NE FIXUP -> 000e:5fc2 (seg144:23c2)")
+set_comment(0xE5EE3, "NE FIXUP -> 000e:5fc9 (seg144:23c9)")
+set_comment(0xE5EE7, "NE FIXUP -> 000e:5fcf (seg144:23cf)")
+set_comment(0xE5EEB, "NE FIXUP -> 000e:5fd4 (seg144:23d4)")
+set_comment(0xE5EEF, "NE FIXUP -> 000e:5fda (seg144:23da)")
+set_comment(0xE5EF3, "NE FIXUP -> 000e:5f8c (seg144:238c)")
+set_comment(0xE5EF7, "NE FIXUP -> 000e:5fdf (seg144:23df)")
+set_comment(0xE5EFB, "NE FIXUP -> 000e:5feb (seg144:23eb)")
+set_comment(0xE5EFF, "NE FIXUP -> 000e:5ff5 (seg144:23f5)")
+set_comment(0xE5F03, "NE FIXUP -> 000e:5fff (seg144:23ff)")
+set_comment(0xE5F07, "NE FIXUP -> 000e:600f (seg144:240f)")
+set_comment(0xE5F0B, "NE FIXUP -> 000e:601b (seg144:241b)")
+set_comment(0xE5F0F, "NE FIXUP -> 000e:602c (seg144:242c)")
+set_comment(0xE5F13, "NE FIXUP -> 000e:6034 (seg144:2434)")
+set_comment(0xE5F17, "NE FIXUP -> 000e:6047 (seg144:2447)")
+set_comment(0xE5F1B, "NE FIXUP -> 000e:6058 (seg144:2458)")
+set_comment(0xE5F1F, "NE FIXUP -> 000e:6067 (seg144:2467)")
+set_comment(0xE5F23, "NE FIXUP -> 000e:5f8c (seg144:238c)")
+set_comment(0xE5F27, "NE FIXUP -> 000e:6077 (seg144:2477)")
+set_comment(0xE5F2B, "NE FIXUP -> 000e:6082 (seg144:2482)")
+set_comment(0xE5F2F, "NE FIXUP -> 000e:608d (seg144:248d)")
+set_comment(0xE5F33, "NE FIXUP -> 000e:6098 (seg144:2498)")
+set_comment(0xE5F37, "NE FIXUP -> 000e:60a2 (seg144:24a2)")
+set_comment(0xE5F3B, "NE FIXUP -> 000e:5f8c (seg144:238c)")
+set_comment(0xE5F3F, "NE FIXUP -> 000e:60ae (seg144:24ae)")
+set_comment(0xE5F43, "NE FIXUP -> 000e:60b6 (seg144:24b6)")
+set_comment(0xE5F47, "NE FIXUP -> 000e:60c9 (seg144:24c9)")
+set_comment(0xE5F4B, "NE FIXUP -> 000e:60db (seg144:24db)")
+set_comment(0xE5F4F, "NE FIXUP -> 000e:60e7 (seg144:24e7)")
+set_comment(0xE5F53, "NE FIXUP -> 000e:60f3 (seg144:24f3)")
+set_comment(0xE5F57, "NE FIXUP -> 000e:60fd (seg144:24fd)")
+set_comment(0xE5F5B, "NE FIXUP -> 000e:6107 (seg144:2507)")
+set_comment(0xE5F64, "NE FIXUP -> 000e:6112 (seg144:2512)")
+set_comment(0xE6125, "NE FIXUP -> 000e:623a (seg144:263a)")
+set_comment(0xE634F, "NE FIXUP -> 0006:d625 (seg038:2025)")
+set_comment(0xE6353, "NE FIXUP -> 0006:d5be (seg038:1fbe)")
+set_comment(0xE6357, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE635B, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE635F, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE6363, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE6367, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE636B, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE636F, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE6373, "NE FIXUP -> 0006:d47b (seg038:1e7b)")
+set_comment(0xE6377, "NE FIXUP -> 0006:d414 (seg038:1e14)")
+set_comment(0xE637B, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE637F, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE6383, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE6387, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE638B, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE638F, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE6393, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE6397, "NE FIXUP -> 0006:b6b1 (seg038:00b1)")
+set_comment(0xE639B, "NE FIXUP -> 0006:d8ca (seg038:22ca)")
+set_comment(0xE639F, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE63A3, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE63A7, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE63AB, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE63AF, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE63B3, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE63B7, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE63BB, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE63BF, "NE FIXUP -> 0006:b6d6 (seg038:00d6)")
+set_comment(0xE64B4, "NE FIXUP -> 0007:1563 (seg039:3363)")
+set_comment(0xE64B8, "NE FIXUP -> 0007:1568 (seg039:3368)")
+set_comment(0xE64BC, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE64C0, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE64C4, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE64C8, "NE FIXUP -> 0007:1369 (seg039:3169)")
+set_comment(0xE64CC, "NE FIXUP -> 0007:1449 (seg039:3249)")
+set_comment(0xE64D0, "NE FIXUP -> 0007:147c (seg039:327c)")
+set_comment(0xE64D4, "NE FIXUP -> 0007:15b6 (seg039:33b6)")
+set_comment(0xE64D8, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE64DC, "NE FIXUP -> 0007:12b7 (seg039:30b7)")
+set_comment(0xE64E0, "NE FIXUP -> 0006:ea7f (seg039:087f)")
+set_comment(0xE64E4, "NE FIXUP -> 0007:15c8 (seg039:33c8)")
+set_comment(0xE64E8, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE64EC, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE64F0, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE64F4, "NE FIXUP -> 0007:0971 (seg039:2771)")
+set_comment(0xE64F8, "NE FIXUP -> 0007:13c3 (seg039:31c3)")
+set_comment(0xE64FC, "NE FIXUP -> 0007:1406 (seg039:3206)")
+set_comment(0xE6500, "NE FIXUP -> 0007:0959 (seg039:2759)")
+set_comment(0xE6504, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE6508, "NE FIXUP -> 0007:0411 (seg039:2211)")
+set_comment(0xE657D, "NE FIXUP -> 0007:371d (seg040:151d)")
+set_comment(0xE6581, "NE FIXUP -> 0007:2a19 (seg040:0819)")
+set_comment(0xE6585, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE6589, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE658D, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE6591, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE6595, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE6599, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE659D, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE65A1, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE65A5, "NE FIXUP -> 0007:4075 (seg040:1e75)")
+set_comment(0xE65A9, "NE FIXUP -> 0007:26e2 (seg040:04e2)")
+set_comment(0xE65AD, "NE FIXUP -> 0007:2644 (seg040:0444)")
+set_comment(0xE65B1, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE65B5, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE65B9, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE65BD, "NE FIXUP -> 0007:286d (seg040:066d)")
+set_comment(0xE65C1, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE65C5, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE65C9, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE65CD, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE65D1, "NE FIXUP -> 0007:2868 (seg040:0668)")
+set_comment(0xE6632, "NE FIXUP -> 0007:8cb8 (seg043:32b8)")
+set_comment(0xE6636, "NE FIXUP -> 0007:8cd3 (seg043:32d3)")
+set_comment(0xE663A, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE663E, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE6642, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE6646, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE664A, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE664E, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE6652, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE6656, "NE FIXUP -> 0007:7306 (seg043:1906)")
+set_comment(0xE665A, "NE FIXUP -> 0007:8d21 (seg043:3321)")
+set_comment(0xE665E, "NE FIXUP -> 0007:8709 (seg043:2d09)")
+set_comment(0xE6662, "NE FIXUP -> 0007:87c5 (seg043:2dc5)")
+set_comment(0xE6666, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE666A, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE666E, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE6672, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE6676, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE667A, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE667E, "NE FIXUP -> 0007:8508 (seg043:2b08)")
+set_comment(0xE6682, "NE FIXUP -> 0007:8920 (seg043:2f20)")
+set_comment(0xE6695, "NE FIXUP -> 000e:6725 (seg144:2b25)")
+set_comment(0xE6699, "NE FIXUP -> 000e:6732 (seg144:2b32)")
+set_comment(0xE669D, "NE FIXUP -> 000e:673d (seg144:2b3d)")
+set_comment(0xE66A1, "NE FIXUP -> 000e:6748 (seg144:2b48)")
+set_comment(0xE66A5, "NE FIXUP -> 000e:6753 (seg144:2b53)")
+set_comment(0xE66A9, "NE FIXUP -> 000e:675e (seg144:2b5e)")
+set_comment(0xE66AD, "NE FIXUP -> 000e:6731 (seg144:2b31)")
+set_comment(0xE66B1, "NE FIXUP -> 000e:6731 (seg144:2b31)")
+set_comment(0xE66B5, "NE FIXUP -> 000e:6731 (seg144:2b31)")
+set_comment(0xE66B9, "NE FIXUP -> 000e:6731 (seg144:2b31)")
+set_comment(0xE66BD, "NE FIXUP -> 000e:6731 (seg144:2b31)")
+set_comment(0xE66C1, "NE FIXUP -> 000e:6731 (seg144:2b31)")
+set_comment(0xE66C5, "NE FIXUP -> 000e:6731 (seg144:2b31)")
+set_comment(0xE66C9, "NE FIXUP -> 000e:6731 (seg144:2b31)")
+set_comment(0xE66CD, "NE FIXUP -> 000e:6731 (seg144:2b31)")
+set_comment(0xE66D1, "NE FIXUP -> 000e:6731 (seg144:2b31)")
+set_comment(0xE6812, "NE FIXUP -> 0007:d7e8 (seg049:1de8)")
+set_comment(0xE6816, "NE FIXUP -> 0007:d7ed (seg049:1ded)")
+set_comment(0xE681A, "NE FIXUP -> 0007:d7f4 (seg049:1df4)")
+set_comment(0xE681E, "NE FIXUP -> 0008:0ce4 (seg052:02e4)")
+set_comment(0xE6822, "NE FIXUP -> 0008:2439 (seg052:1a39)")
+set_comment(0xE6826, "NE FIXUP -> 0007:d7f9 (seg049:1df9)")
+set_comment(0xE682A, "NE FIXUP -> 0007:baea (seg049:00ea)")
+set_comment(0xE682E, "NE FIXUP -> 0007:d80a (seg049:1e0a)")
+set_comment(0xE6832, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE6836, "NE FIXUP -> 0007:bacc (seg049:00cc)")
+set_comment(0xE683A, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE683E, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE6842, "NE FIXUP -> 0007:bbc9 (seg049:01c9)")
+set_comment(0xE6846, "NE FIXUP -> 0007:bd1e (seg049:031e)")
+set_comment(0xE684A, "NE FIXUP -> 0007:bab5 (seg049:00b5)")
+set_comment(0xE684E, "NE FIXUP -> 0007:d119 (seg049:1719)")
+set_comment(0xE6852, "NE FIXUP -> 0007:cd56 (seg049:1356)")
+set_comment(0xE6856, "NE FIXUP -> 0007:ccf1 (seg049:12f1)")
+set_comment(0xE685A, "NE FIXUP -> 0007:d3c1 (seg049:19c1)")
+set_comment(0xE685E, "NE FIXUP -> 0007:ba40 (seg049:0040)")
+set_comment(0xE6881, "NE FIXUP -> 0007:de57 (seg050:0057)")
+set_comment(0xE6885, "NE FIXUP -> 0007:e779 (seg050:0979)")
+set_comment(0xE6889, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE688D, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE6891, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE6895, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE6899, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE689D, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE68A1, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE68E3, "NE FIXUP -> 0008:4000 (seg054:0000)")
+set_comment(0xE68E7, "NE FIXUP -> 0007:d7ed (seg049:1ded)")
+set_comment(0xE68EB, "NE FIXUP -> 0007:d7f4 (seg049:1df4)")
+set_comment(0xE68EF, "NE FIXUP -> 0008:06fb (seg051:1cfb)")
+set_comment(0xE690F, "NE FIXUP -> 0008:e1b3 (seg062:07b3)")
+set_comment(0xE6913, "NE FIXUP -> 0008:e21c (seg062:081c)")
+set_comment(0xE6917, "NE FIXUP -> 0008:3c6c (seg053:106c)")
+set_comment(0xE691B, "NE FIXUP -> 0008:3ca3 (seg053:10a3)")
+set_comment(0xE691F, "NE FIXUP -> 000a:80e8 (seg097:02e8)")
+set_comment(0xE6951, "NE FIXUP -> 0008:50ef (seg056:00ef)")
+set_comment(0xE6955, "NE FIXUP -> 0008:5293 (seg056:0293)")
+set_comment(0xE6959, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE695D, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE6961, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE6965, "NE FIXUP -> 0008:525c (seg056:025c)")
+set_comment(0xE6969, "NE FIXUP -> 0008:526d (seg056:026d)")
+set_comment(0xE696D, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE6971, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE6975, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE6979, "NE FIXUP -> 0008:50f4 (seg056:00f4)")
+set_comment(0xE69A5, "NE FIXUP -> 0008:54c0 (seg056:04c0)")
+set_comment(0xE69A9, "NE FIXUP -> 0008:54c5 (seg056:04c5)")
+set_comment(0xE69AD, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE69B1, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE69B5, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE69B9, "NE FIXUP -> 0008:5420 (seg056:0420)")
+set_comment(0xE69BD, "NE FIXUP -> 0008:5431 (seg056:0431)")
+set_comment(0xE69C1, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE69C5, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE69C9, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE69CD, "NE FIXUP -> 0008:53ad (seg056:03ad)")
+set_comment(0xE6A06, "NE FIXUP -> 0008:603e (seg057:063e)")
+set_comment(0xE6A0A, "NE FIXUP -> 0008:6043 (seg057:0643)")
+set_comment(0xE6A0E, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE6A12, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE6A16, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE6A1A, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE6A1E, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE6A22, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE6A26, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE6A2A, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE6A2E, "NE FIXUP -> 0008:5fea (seg057:05ea)")
+set_comment(0xE6A32, "NE FIXUP -> 0008:5e34 (seg057:0434)")
+set_comment(0xE6A36, "NE FIXUP -> 0008:6091 (seg057:0691)")
+set_comment(0xE6A3A, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE6A3E, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE6A42, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE6A46, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE6A4A, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE6A4E, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE6A52, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE6A56, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE6A5A, "NE FIXUP -> 0008:5e83 (seg057:0483)")
+set_comment(0xE6A5E, "NE FIXUP -> 0008:5e18 (seg057:0418)")
+set_comment(0xE6A62, "NE FIXUP -> 0008:5ca8 (seg057:02a8)")
+set_comment(0xE6A66, "NE FIXUP -> 0008:60df (seg057:06df)")
+set_comment(0xE6A6A, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE6A6E, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE6A72, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE6A76, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE6A7A, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE6A7E, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE6A82, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE6A86, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE6A8A, "NE FIXUP -> 0008:5cbf (seg057:02bf)")
+set_comment(0xE6A8E, "NE FIXUP -> 0008:5c73 (seg057:0273)")
+set_comment(0xE6A92, "NE FIXUP -> 0008:612d (seg057:072d)")
+set_comment(0xE6A96, "NE FIXUP -> 0008:6148 (seg057:0748)")
+set_comment(0xE6A9A, "NE FIXUP -> 0008:614d (seg057:074d)")
+set_comment(0xE6A9E, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE6AA2, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE6AA6, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE6AAA, "NE FIXUP -> 0008:5b0a (seg057:010a)")
+set_comment(0xE6AAE, "NE FIXUP -> 0008:5b1b (seg057:011b)")
+set_comment(0xE6AB2, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE6AB6, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE6ABA, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE6ABE, "NE FIXUP -> 0008:5af8 (seg057:00f8)")
+set_comment(0xE6D71, "NE FIXUP -> 0008:67f8 (seg058:03f8)")
+set_comment(0xE6D75, "NE FIXUP -> 0008:67fd (seg058:03fd)")
+set_comment(0xE6D79, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE6D7D, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE6D81, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE6D85, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE6D89, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE6D8D, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE6D91, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE6D95, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE6D99, "NE FIXUP -> 0008:67c9 (seg058:03c9)")
+set_comment(0xE7688, "NE FIXUP -> 0008:e1b3 (seg062:07b3)")
+set_comment(0xE768C, "NE FIXUP -> 0008:e21c (seg062:081c)")
+set_comment(0xE76A5, "NE FIXUP -> 0006:6084 (seg033:1084)")
+set_comment(0xE76A9, "NE FIXUP -> 0008:d47e (seg061:1a7e)")
+set_comment(0xE76AD, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE76B1, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE76B5, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE76B9, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE76BD, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE76C1, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE76C5, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE76C9, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE76CD, "NE FIXUP -> 0006:5fe3 (seg033:0fe3)")
+set_comment(0xE76D1, "NE FIXUP -> 0006:6084 (seg033:1084)")
+set_comment(0xE76D5, "NE FIXUP -> 0008:d4cc (seg061:1acc)")
+set_comment(0xE76D9, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE76DD, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE76E1, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE76E5, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE76E9, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE76ED, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE76F1, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE76F5, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE76F9, "NE FIXUP -> 0006:5fe3 (seg033:0fe3)")
+set_comment(0xE76FD, "NE FIXUP -> 0008:e1b3 (seg062:07b3)")
+set_comment(0xE7701, "NE FIXUP -> 0008:e21c (seg062:081c)")
+set_comment(0xE7705, "NE FIXUP -> 0003:ad46 (seg001:3746)")
+set_comment(0xE7709, "NE FIXUP -> 0008:d51a (seg061:1b1a)")
+set_comment(0xE770D, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE7711, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE7715, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE7719, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE771D, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE7721, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE7725, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE774C, "NE FIXUP -> 0008:e4e5 (seg063:00e5)")
+set_comment(0xE7750, "NE FIXUP -> 0008:e6b9 (seg063:02b9)")
+set_comment(0xE7754, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE7758, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE775C, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE7760, "NE FIXUP -> 0008:e605 (seg063:0205)")
+set_comment(0xE7764, "NE FIXUP -> 0008:e64e (seg063:024e)")
+set_comment(0xE7768, "NE FIXUP -> 0008:e683 (seg063:0283)")
+set_comment(0xE776C, "NE FIXUP -> 0008:e72f (seg063:032f)")
+set_comment(0xE7776, "NE FIXUP -> 000e:781f (seg144:3c1f)")
+set_comment(0xE777E, "NE FIXUP -> 000e:7823 (seg144:3c23)")
+set_comment(0xE7782, "NE FIXUP -> 000e:7827 (seg144:3c27)")
+set_comment(0xE7786, "NE FIXUP -> 000e:782b (seg144:3c2b)")
+set_comment(0xE778A, "NE FIXUP -> 000e:782f (seg144:3c2f)")
+set_comment(0xE778E, "NE FIXUP -> 000e:7833 (seg144:3c33)")
+set_comment(0xE7792, "NE FIXUP -> 000e:7837 (seg144:3c37)")
+set_comment(0xE7796, "NE FIXUP -> 000e:783b (seg144:3c3b)")
+set_comment(0xE779A, "NE FIXUP -> 000e:783f (seg144:3c3f)")
+set_comment(0xE779E, "NE FIXUP -> 000e:7843 (seg144:3c43)")
+set_comment(0xE77A2, "NE FIXUP -> 000e:7847 (seg144:3c47)")
+set_comment(0xE77A6, "NE FIXUP -> 000e:784b (seg144:3c4b)")
+set_comment(0xE77AA, "NE FIXUP -> 000e:784f (seg144:3c4f)")
+set_comment(0xE77AE, "NE FIXUP -> 000e:7853 (seg144:3c53)")
+set_comment(0xE77B2, "NE FIXUP -> 000e:7857 (seg144:3c57)")
+set_comment(0xE77B6, "NE FIXUP -> 000e:785b (seg144:3c5b)")
+set_comment(0xE77BA, "NE FIXUP -> 000e:785f (seg144:3c5f)")
+set_comment(0xE77BE, "NE FIXUP -> 000e:7864 (seg144:3c64)")
+set_comment(0xE77C2, "NE FIXUP -> 000e:7869 (seg144:3c69)")
+set_comment(0xE77C6, "NE FIXUP -> 000e:786e (seg144:3c6e)")
+set_comment(0xE7880, "NE FIXUP -> 0008:eaa4 (seg064:00a4)")
+set_comment(0xE7884, "NE FIXUP -> 0008:ed5e (seg064:035e)")
+set_comment(0xE7888, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE788C, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE7890, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE7894, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE7898, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE789C, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE78A0, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE78A4, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE78A8, "NE FIXUP -> 0008:eaa9 (seg064:00a9)")
+set_comment(0xE7B57, "NE FIXUP -> 0009:1870 (seg069:0070)")
+set_comment(0xE7B5B, "NE FIXUP -> 0009:19bb (seg069:01bb)")
+set_comment(0xE7B5F, "NE FIXUP -> 0009:19e2 (seg069:01e2)")
+set_comment(0xE7B63, "NE FIXUP -> 0009:48a8 (seg073:02a8)")
+set_comment(0xE7B67, "NE FIXUP -> 0009:4954 (seg073:0354)")
+set_comment(0xE7B6B, "NE FIXUP -> 0009:4ae3 (seg073:04e3)")
+set_comment(0xE7B6F, "NE FIXUP -> 0009:4b29 (seg073:0529)")
+set_comment(0xE7B73, "NE FIXUP -> 0009:4b48 (seg073:0548)")
+set_comment(0xE7B77, "NE FIXUP -> 0009:4b78 (seg073:0578)")
+set_comment(0xE7B7B, "NE FIXUP -> 0009:4bcb (seg073:05cb)")
+set_comment(0xE7B7F, "NE FIXUP -> 0009:4a4a (seg073:044a)")
+set_comment(0xE7B83, "NE FIXUP -> 0009:4d56 (seg073:0756)")
+set_comment(0xE7B87, "NE FIXUP -> 0009:4e72 (seg073:0872)")
+set_comment(0xE7B8B, "NE FIXUP -> 0009:4852 (seg073:0252)")
+set_comment(0xE7B8F, "NE FIXUP -> 0009:57ba (seg075:01ba)")
+set_comment(0xE7B93, "NE FIXUP -> 0009:5418 (seg074:0218)")
+set_comment(0xE8059, "NE FIXUP -> 000a:283d (seg087:003d)")
+set_comment(0xE805D, "NE FIXUP -> 000a:3400 (seg089:0000)")
+set_comment(0xE81D0, "NE FIXUP -> 000e:81f1 (seg144:45f1)")
+set_comment(0xE81D4, "NE FIXUP -> 000e:81f6 (seg144:45f6)")
+set_comment(0xE81D8, "NE FIXUP -> 000e:81f9 (seg144:45f9)")
+set_comment(0xE81DC, "NE FIXUP -> 000e:81ff (seg144:45ff)")
+set_comment(0xE81E0, "NE FIXUP -> 000e:8204 (seg144:4604)")
+set_comment(0xE81E4, "NE FIXUP -> 000e:820a (seg144:460a)")
+set_comment(0xE81E8, "NE FIXUP -> 000e:820e (seg144:460e)")
+set_comment(0xE821E, "NE FIXUP -> 000a:5723 (seg093:0123)")
+set_comment(0xE8222, "NE FIXUP -> 000a:5867 (seg093:0267)")
+set_comment(0xE8226, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE822A, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE822E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE8232, "NE FIXUP -> 000a:56ed (seg093:00ed)")
+set_comment(0xE8236, "NE FIXUP -> 000a:5705 (seg093:0105)")
+set_comment(0xE823A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE823E, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE8242, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE8246, "NE FIXUP -> 000a:572f (seg093:012f)")
+set_comment(0xE82C1, "NE FIXUP -> 000a:71ee (seg095:0bee)")
+set_comment(0xE82C5, "NE FIXUP -> 000a:7229 (seg095:0c29)")
+set_comment(0xE82C9, "NE FIXUP -> 000a:7264 (seg095:0c64)")
+set_comment(0xE82CD, "NE FIXUP -> 000a:78e4 (seg096:02e4)")
+set_comment(0xE82D1, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE82D5, "NE FIXUP -> 000a:7a4a (seg096:044a)")
+set_comment(0xE82D9, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE82DD, "NE FIXUP -> 000a:c0d7 (seg102:00d7)")
+set_comment(0xE82E1, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE82E5, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE82E9, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE82ED, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE82F1, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE82F5, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE82F9, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE82FD, "NE FIXUP -> 000a:798a (seg096:038a)")
+set_comment(0xE8301, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE8305, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE8309, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE830D, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE8311, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE8323, "NE FIXUP -> 000a:870f (seg097:090f)")
+set_comment(0xE8327, "NE FIXUP -> 000a:86ad (seg097:08ad)")
+set_comment(0xE832B, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE832F, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE8333, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE8337, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE833B, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE833F, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE8343, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE8347, "NE FIXUP -> 000a:8b44 (seg097:0d44)")
+set_comment(0xE834B, "NE FIXUP -> 000a:8b4e (seg097:0d4e)")
+set_comment(0xE834F, "NE FIXUP -> 000a:8b76 (seg097:0d76)")
+set_comment(0xE8355, "NE FIXUP -> 000a:93a2 (seg098:05a2)")
+set_comment(0xE8359, "NE FIXUP -> 000a:92fd (seg098:04fd)")
+set_comment(0xE835D, "NE FIXUP -> 000a:9171 (seg098:0371)")
+set_comment(0xE8361, "NE FIXUP -> 000a:8e00 (seg098:0000)")
+set_comment(0xE8365, "NE FIXUP -> 000a:92cd (seg098:04cd)")
+set_comment(0xE8369, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE836D, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE8371, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE8375, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE8379, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE837D, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE8381, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE8385, "NE FIXUP -> 0003:ad46 (seg001:3746)")
+set_comment(0xE8389, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE838D, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE8391, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE8395, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE8399, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE839D, "NE FIXUP -> 0003:ad46 (seg001:3746)")
+set_comment(0xE83A1, "NE FIXUP -> 0003:ad46 (seg001:3746)")
+set_comment(0xE83A5, "NE FIXUP -> 000a:93dc (seg098:05dc)")
+set_comment(0xE83A9, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE83AD, "NE FIXUP -> 000a:8e1d (seg098:001d)")
+set_comment(0xE83B1, "NE FIXUP -> 000a:8e00 (seg098:0000)")
+set_comment(0xE83B5, "NE FIXUP -> 000a:8f51 (seg098:0151)")
+set_comment(0xE83B9, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE83BD, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE83C1, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE83C5, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE83C9, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE83CD, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE83D1, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE83D5, "NE FIXUP -> 0003:ad46 (seg001:3746)")
+set_comment(0xE83D9, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE83DD, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE83E1, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE83E5, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE83E9, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE83ED, "NE FIXUP -> 0003:ad46 (seg001:3746)")
+set_comment(0xE83F1, "NE FIXUP -> 0003:ad46 (seg001:3746)")
+set_comment(0xE83F5, "NE FIXUP -> 000a:9416 (seg098:0616)")
+set_comment(0xE83F9, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE83FD, "NE FIXUP -> 000a:9054 (seg098:0254)")
+set_comment(0xE8401, "NE FIXUP -> 000a:8e00 (seg098:0000)")
+set_comment(0xE8405, "NE FIXUP -> 000a:8f51 (seg098:0151)")
+set_comment(0xE8409, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE840D, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE8411, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE8415, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE8419, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE841D, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE8421, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE8425, "NE FIXUP -> 0003:ad46 (seg001:3746)")
+set_comment(0xE8429, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE842D, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE8431, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE8435, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE8439, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE843D, "NE FIXUP -> 0003:ad46 (seg001:3746)")
+set_comment(0xE8441, "NE FIXUP -> 0003:ad46 (seg001:3746)")
+set_comment(0xE8445, "NE FIXUP -> 000a:9450 (seg098:0650)")
+set_comment(0xE8449, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE844D, "NE FIXUP -> 000a:8e1d (seg098:001d)")
+set_comment(0xE8451, "NE FIXUP -> 000a:8e00 (seg098:0000)")
+set_comment(0xE8455, "NE FIXUP -> 000a:8f51 (seg098:0151)")
+set_comment(0xE8459, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE845D, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE8461, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE8465, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE8469, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE846D, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE8471, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE8475, "NE FIXUP -> 0003:ad46 (seg001:3746)")
+set_comment(0xE8479, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE847D, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE8481, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE8485, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE8489, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE848D, "NE FIXUP -> 0003:ad46 (seg001:3746)")
+set_comment(0xE8491, "NE FIXUP -> 0003:ad46 (seg001:3746)")
+set_comment(0xE8539, "NE FIXUP -> 000a:962e (seg099:002e)")
+set_comment(0xE853D, "NE FIXUP -> 000a:98c2 (seg099:02c2)")
+set_comment(0xE8541, "NE FIXUP -> 000a:98fe (seg099:02fe)")
+set_comment(0xE8545, "NE FIXUP -> 000a:9917 (seg099:0317)")
+set_comment(0xE8549, "NE FIXUP -> 000a:9930 (seg099:0330)")
+set_comment(0xE854D, "NE FIXUP -> 000a:9683 (seg099:0083)")
+set_comment(0xE8551, "NE FIXUP -> 000a:96bc (seg099:00bc)")
+set_comment(0xE8555, "NE FIXUP -> 000a:96f5 (seg099:00f5)")
+set_comment(0xE8559, "NE FIXUP -> 000a:9600 (seg099:0000)")
+set_comment(0xE8568, "NE FIXUP -> 000a:9df9 (seg100:01f9)")
+set_comment(0xE856C, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE8570, "NE FIXUP -> 000a:a28d (seg100:068d)")
+set_comment(0xE8574, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE8578, "NE FIXUP -> 000a:a292 (seg100:0692)")
+set_comment(0xE857C, "NE FIXUP -> 000a:9e5a (seg100:025a)")
+set_comment(0xE8580, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE8584, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE8588, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE858C, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE8590, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE8594, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE8598, "NE FIXUP -> 000b:3a90 (seg109:0c90)")
+set_comment(0xE859C, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE85A0, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE85A4, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE85A8, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE85AC, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE85B0, "NE FIXUP -> 0003:ad46 (seg001:3746)")
+set_comment(0xE85B4, "NE FIXUP -> 0003:ad46 (seg001:3746)")
+set_comment(0xE85B9, "NE FIXUP -> 000e:8608 (seg144:4a08)")
+set_comment(0xE868B, "NE FIXUP -> 000a:bb82 (seg101:1782)")
+set_comment(0xE868F, "NE FIXUP -> 000a:b6cc (seg101:12cc)")
+set_comment(0xE8693, "NE FIXUP -> 000a:a28d (seg100:068d)")
+set_comment(0xE8697, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE869B, "NE FIXUP -> 000a:a292 (seg100:0692)")
+set_comment(0xE869F, "NE FIXUP -> 000a:b70f (seg101:130f)")
+set_comment(0xE86A3, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE86A7, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE86AB, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE86AF, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE86B3, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE86B7, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE86BB, "NE FIXUP -> 000b:3a90 (seg109:0c90)")
+set_comment(0xE86BF, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE86C3, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE86C7, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE86CB, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE86CF, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE86D3, "NE FIXUP -> 000a:a56c (seg101:016c)")
+set_comment(0xE86D7, "NE FIXUP -> 000a:a4e4 (seg101:00e4)")
+set_comment(0xE86DB, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE86DF, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE86E3, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE86E7, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE86EB, "NE FIXUP -> 000a:a546 (seg101:0146)")
+set_comment(0xE86EF, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE86F3, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE86F7, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE86FB, "NE FIXUP -> 000a:a581 (seg101:0181)")
+set_comment(0xE86FF, "NE FIXUP -> 000a:c06b (seg102:006b)")
+set_comment(0xE8703, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE8707, "NE FIXUP -> 000a:c267 (seg102:0267)")
+set_comment(0xE870B, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE870F, "NE FIXUP -> 000a:c0d7 (seg102:00d7)")
+set_comment(0xE8713, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE8717, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE871B, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE871F, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE8723, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE8727, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE872B, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE872F, "NE FIXUP -> 000a:c64d (seg102:064d)")
+set_comment(0xE8733, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE8737, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE873B, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE873F, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE8743, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE877E, "NE FIXUP -> 000a:dcd7 (seg103:12d7)")
+set_comment(0xE8782, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE8786, "NE FIXUP -> 000a:7a4a (seg096:044a)")
+set_comment(0xE878A, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE878E, "NE FIXUP -> 000a:c0d7 (seg102:00d7)")
+set_comment(0xE8792, "NE FIXUP -> 000a:dd7c (seg103:137c)")
+set_comment(0xE8796, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE879A, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE879E, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE87A2, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE87A6, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE87AA, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE87AE, "NE FIXUP -> 000a:dd63 (seg103:1363)")
+set_comment(0xE87B2, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE87B6, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE87BA, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE87BE, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE87C2, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE87C6, "NE FIXUP -> 000a:e059 (seg103:1659)")
+set_comment(0xE87CA, "NE FIXUP -> 000a:f268 (seg105:0668)")
+set_comment(0xE87CE, "NE FIXUP -> 000a:d58a (seg103:0b8a)")
+set_comment(0xE87D2, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE87D6, "NE FIXUP -> 000a:f140 (seg105:0540)")
+set_comment(0xE87DA, "NE FIXUP -> 000a:f285 (seg105:0685)")
+set_comment(0xE87DE, "NE FIXUP -> 000a:eee3 (seg105:02e3)")
+set_comment(0xE87E2, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE87E6, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE87EA, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE87EE, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE87F2, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE87F6, "NE FIXUP -> 000a:ed29 (seg105:0129)")
+set_comment(0xE87FA, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE87FE, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE8802, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE8806, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE880A, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE880E, "NE FIXUP -> 000a:f44d (seg105:084d)")
+set_comment(0xE8812, "NE FIXUP -> 000a:e093 (seg103:1693)")
+set_comment(0xE8816, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE881A, "NE FIXUP -> 000a:a28d (seg100:068d)")
+set_comment(0xE881E, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE8822, "NE FIXUP -> 000a:a292 (seg100:0692)")
+set_comment(0xE8826, "NE FIXUP -> 000a:cdbc (seg103:03bc)")
+set_comment(0xE882A, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE882E, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE8832, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE8836, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE883A, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE883E, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE8842, "NE FIXUP -> 000b:3a90 (seg109:0c90)")
+set_comment(0xE8846, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE884A, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE884E, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE8852, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE8856, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE885A, "NE FIXUP -> 000a:cb8c (seg103:018c)")
+set_comment(0xE885E, "NE FIXUP -> 000a:cd1d (seg103:031d)")
+set_comment(0xE886B, "NE FIXUP -> 0003:ad46 (seg001:3746)")
+set_comment(0xE886F, "NE FIXUP -> 000a:2e00 (seg088:0000)")
+set_comment(0xE8873, "NE FIXUP -> 000a:307d (seg088:027d)")
+set_comment(0xE8877, "NE FIXUP -> 000a:30aa (seg088:02aa)")
+set_comment(0xE887B, "NE FIXUP -> 000a:2ff9 (seg088:01f9)")
+set_comment(0xE887F, "NE FIXUP -> 0003:ad46 (seg001:3746)")
+set_comment(0xE8883, "NE FIXUP -> 0003:ad46 (seg001:3746)")
+set_comment(0xE8887, "NE FIXUP -> 0003:ad46 (seg001:3746)")
+set_comment(0xE888B, "NE FIXUP -> 0003:ad46 (seg001:3746)")
+set_comment(0xE88CF, "NE FIXUP -> 000e:88b0 (seg144:4cb0)")
+set_comment(0xE88E7, "NE FIXUP -> 000a:f5bc (seg105:09bc)")
+set_comment(0xE88EB, "NE FIXUP -> 000a:f268 (seg105:0668)")
+set_comment(0xE88EF, "NE FIXUP -> 000a:f020 (seg105:0420)")
+set_comment(0xE88F3, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE88F7, "NE FIXUP -> 000a:f140 (seg105:0540)")
+set_comment(0xE88FB, "NE FIXUP -> 000a:f285 (seg105:0685)")
+set_comment(0xE88FF, "NE FIXUP -> 000a:eee3 (seg105:02e3)")
+set_comment(0xE8903, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE8907, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE890B, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE890F, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE8913, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE8917, "NE FIXUP -> 000a:ed29 (seg105:0129)")
+set_comment(0xE891B, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE891F, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE8923, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE8927, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE892B, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE892F, "NE FIXUP -> 000a:f44d (seg105:084d)")
+set_comment(0xE8933, "NE FIXUP -> 000b:0e60 (seg106:1660)")
+set_comment(0xE8937, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE893B, "NE FIXUP -> 000a:a28d (seg100:068d)")
+set_comment(0xE893F, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE8943, "NE FIXUP -> 000a:a292 (seg100:0692)")
+set_comment(0xE8947, "NE FIXUP -> 000b:0d61 (seg106:1561)")
+set_comment(0xE894B, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE894F, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE8953, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE8957, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE895B, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE895F, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE8963, "NE FIXUP -> 000b:0507 (seg106:0d07)")
+set_comment(0xE8967, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE896B, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE896F, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE8973, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE8977, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE897B, "NE FIXUP -> 000b:0581 (seg106:0d81)")
+set_comment(0xE897F, "NE FIXUP -> 000b:062e (seg106:0e2e)")
+set_comment(0xE8983, "NE FIXUP -> 000b:0b77 (seg106:1377)")
+set_comment(0xE8987, "NE FIXUP -> 000b:0e9a (seg106:169a)")
+set_comment(0xE898B, "NE FIXUP -> 000b:0ead (seg106:16ad)")
+set_comment(0xE898F, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE8993, "NE FIXUP -> 000a:a28d (seg100:068d)")
+set_comment(0xE8997, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE899B, "NE FIXUP -> 000a:a292 (seg100:0692)")
+set_comment(0xE899F, "NE FIXUP -> 000b:0a12 (seg106:1212)")
+set_comment(0xE89A3, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE89A7, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE89AB, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE89AF, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE89B3, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE89B7, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE89BB, "NE FIXUP -> 000b:0507 (seg106:0d07)")
+set_comment(0xE89BF, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE89C3, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE89C7, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE89CB, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE89CF, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE89D3, "NE FIXUP -> 000b:0581 (seg106:0d81)")
+set_comment(0xE89D7, "NE FIXUP -> 000b:062e (seg106:0e2e)")
+set_comment(0xE89DB, "NE FIXUP -> 000b:0825 (seg106:1025)")
+set_comment(0xE89DF, "NE FIXUP -> 000b:0e9a (seg106:169a)")
+set_comment(0xE89E3, "NE FIXUP -> 000b:0ee7 (seg106:16e7)")
+set_comment(0xE89E7, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE89EB, "NE FIXUP -> 000a:a28d (seg100:068d)")
+set_comment(0xE89EF, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE89F3, "NE FIXUP -> 000a:a292 (seg100:0692)")
+set_comment(0xE89F7, "NE FIXUP -> 0003:ad46 (seg001:3746)")
+set_comment(0xE89FB, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE89FF, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE8A03, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE8A07, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE8A0B, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE8A0F, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE8A13, "NE FIXUP -> 000b:0507 (seg106:0d07)")
+set_comment(0xE8A17, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE8A1B, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE8A1F, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE8A23, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE8A27, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE8A2B, "NE FIXUP -> 000b:0581 (seg106:0d81)")
+set_comment(0xE8A2F, "NE FIXUP -> 000b:062e (seg106:0e2e)")
+set_comment(0xE8A33, "NE FIXUP -> 0003:ad46 (seg001:3746)")
+set_comment(0xE8A37, "NE FIXUP -> 000b:0e9a (seg106:169a)")
+set_comment(0xE8A3B, "NE FIXUP -> 000b:0f21 (seg106:1721)")
+set_comment(0xE8A3F, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE8A43, "NE FIXUP -> 000a:fac6 (seg106:02c6)")
+set_comment(0xE8A47, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE8A4B, "NE FIXUP -> 000a:fbda (seg106:03da)")
+set_comment(0xE8A4F, "NE FIXUP -> 000a:f99b (seg106:019b)")
+set_comment(0xE8A53, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE8A57, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE8A5B, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE8A5F, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE8A63, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE8A67, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE8A6B, "NE FIXUP -> 000b:01bb (seg106:09bb)")
+set_comment(0xE8A6F, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE8A73, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE8A77, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE8A7B, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE8A7F, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE8A83, "NE FIXUP -> 000b:030d (seg106:0b0d)")
+set_comment(0xE8A87, "NE FIXUP -> 000b:0023 (seg106:0823)")
+set_comment(0xE8A8B, "NE FIXUP -> 000b:0f5b (seg106:175b)")
+set_comment(0xE8A8F, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE8A93, "NE FIXUP -> 000a:fac6 (seg106:02c6)")
+set_comment(0xE8A97, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE8A9B, "NE FIXUP -> 000a:fbda (seg106:03da)")
+set_comment(0xE8A9F, "NE FIXUP -> 000a:f99b (seg106:019b)")
+set_comment(0xE8AA3, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE8AA7, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE8AAB, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE8AAF, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE8AB3, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE8AB7, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE8ABB, "NE FIXUP -> 0003:ad46 (seg001:3746)")
+set_comment(0xE8ABF, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE8AC3, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE8AC7, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE8ACB, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE8ACF, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE8AD3, "NE FIXUP -> 0003:ad46 (seg001:3746)")
+set_comment(0xE8AD7, "NE FIXUP -> 000b:0023 (seg106:0823)")
+set_comment(0xE8ADE, "NE FIXUP -> 000b:17cd (seg107:03cd)")
+set_comment(0xE8AE2, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE8AE6, "NE FIXUP -> 000b:1807 (seg107:0407)")
+set_comment(0xE8AEA, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE8AEE, "NE FIXUP -> 000a:c0d7 (seg102:00d7)")
+set_comment(0xE8AF2, "NE FIXUP -> 000b:16b1 (seg107:02b1)")
+set_comment(0xE8AF6, "NE FIXUP -> 000b:16c8 (seg107:02c8)")
+set_comment(0xE8AFA, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE8AFE, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE8B02, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE8B06, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE8B0A, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE8B0E, "NE FIXUP -> 000b:16df (seg107:02df)")
+set_comment(0xE8B12, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE8B16, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE8B1A, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE8B1E, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE8B22, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE8B6B, "NE FIXUP -> 000b:1e58 (seg108:0458)")
+set_comment(0xE8B6F, "NE FIXUP -> 000b:1d1b (seg108:031b)")
+set_comment(0xE8B73, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE8B77, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE8B7B, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE8B7F, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE8B83, "NE FIXUP -> 000b:1d7f (seg108:037f)")
+set_comment(0xE8B87, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE8B8B, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE8B8F, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE8B93, "NE FIXUP -> 000b:1e5d (seg108:045d)")
+set_comment(0xE8B97, "NE FIXUP -> 000b:2b38 (seg108:1138)")
+set_comment(0xE8C19, "NE FIXUP -> 000b:326e (seg109:046e)")
+set_comment(0xE8C1D, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE8C21, "NE FIXUP -> 000a:a28d (seg100:068d)")
+set_comment(0xE8C25, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE8C29, "NE FIXUP -> 000a:a292 (seg100:0692)")
+set_comment(0xE8C2D, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE8C31, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE8C35, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE8C39, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE8C3D, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE8C41, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE8C45, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE8C49, "NE FIXUP -> 000b:3a90 (seg109:0c90)")
+set_comment(0xE8C4D, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE8C51, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE8C55, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE8C59, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE8C5D, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE8C61, "NE FIXUP -> 000b:2f13 (seg109:0113)")
+set_comment(0xE8C68, "NE FIXUP -> 000b:488a (seg110:048a)")
+set_comment(0xE8C6C, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE8C70, "NE FIXUP -> 000a:7a4a (seg096:044a)")
+set_comment(0xE8C74, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE8C78, "NE FIXUP -> 000a:c0d7 (seg102:00d7)")
+set_comment(0xE8C7C, "NE FIXUP -> 000b:4752 (seg110:0352)")
+set_comment(0xE8C80, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE8C84, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE8C88, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE8C8C, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE8C90, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE8C94, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE8C98, "NE FIXUP -> 000b:479c (seg110:039c)")
+set_comment(0xE8C9C, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE8CA0, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE8CA4, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE8CA8, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE8CAC, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE8CB1, "NE FIXUP -> 000b:4db4 (seg111:03b4)")
+set_comment(0xE8CB5, "NE FIXUP -> 000a:92fd (seg098:04fd)")
+set_comment(0xE8CB9, "NE FIXUP -> 000a:9171 (seg098:0371)")
+set_comment(0xE8CBD, "NE FIXUP -> 000a:8e00 (seg098:0000)")
+set_comment(0xE8CC1, "NE FIXUP -> 000a:92cd (seg098:04cd)")
+set_comment(0xE8CC5, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE8CC9, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE8CCD, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE8CD1, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE8CD5, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE8CD9, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE8CDD, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE8CE1, "NE FIXUP -> 000b:4d42 (seg111:0342)")
+set_comment(0xE8CE5, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE8CE9, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE8CED, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE8CF1, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE8CF5, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE8CF9, "NE FIXUP -> 000b:4d7c (seg111:037c)")
+set_comment(0xE8CFD, "NE FIXUP -> 000b:4d98 (seg111:0398)")
+set_comment(0xE8D01, "NE FIXUP -> 000b:4dee (seg111:03ee)")
+set_comment(0xE8D05, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE8D09, "NE FIXUP -> 000a:8e1d (seg098:001d)")
+set_comment(0xE8D0D, "NE FIXUP -> 000a:8e00 (seg098:0000)")
+set_comment(0xE8D11, "NE FIXUP -> 000a:8f51 (seg098:0151)")
+set_comment(0xE8D15, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE8D19, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE8D1D, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE8D21, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE8D25, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE8D29, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE8D2D, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE8D31, "NE FIXUP -> 000b:4c3b (seg111:023b)")
+set_comment(0xE8D35, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE8D39, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE8D3D, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE8D41, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE8D45, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE8D49, "NE FIXUP -> 000b:4c75 (seg111:0275)")
+set_comment(0xE8D4D, "NE FIXUP -> 000b:4e28 (seg111:0428)")
+set_comment(0xE8D51, "NE FIXUP -> 000b:4e4f (seg111:044f)")
+set_comment(0xE8D55, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE8D59, "NE FIXUP -> 000a:9054 (seg098:0254)")
+set_comment(0xE8D5D, "NE FIXUP -> 000a:8e00 (seg098:0000)")
+set_comment(0xE8D61, "NE FIXUP -> 000a:8f51 (seg098:0151)")
+set_comment(0xE8D65, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE8D69, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE8D6D, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE8D71, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE8D75, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE8D79, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE8D7D, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE8D81, "NE FIXUP -> 000b:4a93 (seg111:0093)")
+set_comment(0xE8D85, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE8D89, "NE FIXUP -> 000b:4b05 (seg111:0105)")
+set_comment(0xE8D8D, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE8D91, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE8D95, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE8D99, "NE FIXUP -> 000b:4acd (seg111:00cd)")
+set_comment(0xE8D9D, "NE FIXUP -> 000b:4ae9 (seg111:00e9)")
+set_comment(0xE8DA1, "NE FIXUP -> 000b:643a (seg112:143a)")
+set_comment(0xE8DA5, "NE FIXUP -> 000a:92fd (seg098:04fd)")
+set_comment(0xE8DA9, "NE FIXUP -> 000a:9171 (seg098:0371)")
+set_comment(0xE8DAD, "NE FIXUP -> 000a:8e00 (seg098:0000)")
+set_comment(0xE8DB1, "NE FIXUP -> 000a:92cd (seg098:04cd)")
+set_comment(0xE8DB5, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE8DB9, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE8DBD, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE8DC1, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE8DC5, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE8DC9, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE8DCD, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE8DD1, "NE FIXUP -> 000b:5000 (seg112:0000)")
+set_comment(0xE8DD5, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE8DD9, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE8DDD, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE8DE1, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE8DE5, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE8DE9, "NE FIXUP -> 000b:6474 (seg112:1474)")
+set_comment(0xE8DED, "NE FIXUP -> 000b:6490 (seg112:1490)")
+set_comment(0xE8DF1, "NE FIXUP -> 000b:64ac (seg112:14ac)")
+set_comment(0xE8DF5, "NE FIXUP -> 000a:92fd (seg098:04fd)")
+set_comment(0xE8DF9, "NE FIXUP -> 000a:9171 (seg098:0371)")
+set_comment(0xE8DFD, "NE FIXUP -> 000a:8e00 (seg098:0000)")
+set_comment(0xE8E01, "NE FIXUP -> 000a:92cd (seg098:04cd)")
+set_comment(0xE8E05, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE8E09, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE8E0D, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE8E11, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE8E15, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE8E19, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE8E1D, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE8E21, "NE FIXUP -> 000b:5177 (seg112:0177)")
+set_comment(0xE8E25, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE8E29, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE8E2D, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE8E31, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE8E35, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE8E39, "NE FIXUP -> 000b:6474 (seg112:1474)")
+set_comment(0xE8E3D, "NE FIXUP -> 000b:6490 (seg112:1490)")
+set_comment(0xE8E41, "NE FIXUP -> 000b:64e6 (seg112:14e6)")
+set_comment(0xE8E45, "NE FIXUP -> 000a:92fd (seg098:04fd)")
+set_comment(0xE8E49, "NE FIXUP -> 000a:9171 (seg098:0371)")
+set_comment(0xE8E4D, "NE FIXUP -> 000a:8e00 (seg098:0000)")
+set_comment(0xE8E51, "NE FIXUP -> 000a:92cd (seg098:04cd)")
+set_comment(0xE8E55, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE8E59, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE8E5D, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE8E61, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE8E65, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE8E69, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE8E6D, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE8E71, "NE FIXUP -> 000b:5465 (seg112:0465)")
+set_comment(0xE8E75, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE8E79, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE8E7D, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE8E81, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE8E85, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE8E89, "NE FIXUP -> 000b:6474 (seg112:1474)")
+set_comment(0xE8E8D, "NE FIXUP -> 000b:6490 (seg112:1490)")
+set_comment(0xE8E91, "NE FIXUP -> 000b:6520 (seg112:1520)")
+set_comment(0xE8E95, "NE FIXUP -> 000a:92fd (seg098:04fd)")
+set_comment(0xE8E99, "NE FIXUP -> 000a:9171 (seg098:0371)")
+set_comment(0xE8E9D, "NE FIXUP -> 000a:8e00 (seg098:0000)")
+set_comment(0xE8EA1, "NE FIXUP -> 000a:92cd (seg098:04cd)")
+set_comment(0xE8EA5, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE8EA9, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE8EAD, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE8EB1, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE8EB5, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE8EB9, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE8EBD, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE8EC1, "NE FIXUP -> 0003:ad46 (seg001:3746)")
+set_comment(0xE8EC5, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE8EC9, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE8ECD, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE8ED1, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE8ED5, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE8ED9, "NE FIXUP -> 000b:6474 (seg112:1474)")
+set_comment(0xE8EDD, "NE FIXUP -> 000b:6490 (seg112:1490)")
+set_comment(0xE8EE1, "NE FIXUP -> 000b:655a (seg112:155a)")
+set_comment(0xE8EE5, "NE FIXUP -> 000a:92fd (seg098:04fd)")
+set_comment(0xE8EE9, "NE FIXUP -> 000a:9171 (seg098:0371)")
+set_comment(0xE8EED, "NE FIXUP -> 000a:8e00 (seg098:0000)")
+set_comment(0xE8EF1, "NE FIXUP -> 000a:92cd (seg098:04cd)")
+set_comment(0xE8EF5, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE8EF9, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE8EFD, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE8F01, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE8F05, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE8F09, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE8F0D, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE8F11, "NE FIXUP -> 000b:52ee (seg112:02ee)")
+set_comment(0xE8F15, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE8F19, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE8F1D, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE8F21, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE8F25, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE8F29, "NE FIXUP -> 000b:6474 (seg112:1474)")
+set_comment(0xE8F2D, "NE FIXUP -> 000b:6490 (seg112:1490)")
+set_comment(0xE8F31, "NE FIXUP -> 000b:6594 (seg112:1594)")
+set_comment(0xE8F35, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE8F39, "NE FIXUP -> 000a:a28d (seg100:068d)")
+set_comment(0xE8F3D, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE8F41, "NE FIXUP -> 000a:a292 (seg100:0692)")
+set_comment(0xE8F45, "NE FIXUP -> 000b:6309 (seg112:1309)")
+set_comment(0xE8F49, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE8F4D, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE8F51, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE8F55, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE8F59, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE8F5D, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE8F61, "NE FIXUP -> 000b:3a90 (seg109:0c90)")
+set_comment(0xE8F65, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE8F69, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE8F6D, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE8F71, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE8F75, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE8F79, "NE FIXUP -> 000b:63da (seg112:13da)")
+set_comment(0xE8F7D, "NE FIXUP -> 000b:63fd (seg112:13fd)")
+set_comment(0xE8F81, "NE FIXUP -> 000b:641a (seg112:141a)")
+set_comment(0xE8F85, "NE FIXUP -> 000b:65ce (seg112:15ce)")
+set_comment(0xE8F89, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE8F8D, "NE FIXUP -> 000b:5b04 (seg112:0b04)")
+set_comment(0xE8F91, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE8F95, "NE FIXUP -> 000b:5a00 (seg112:0a00)")
+set_comment(0xE8F99, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE8F9D, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE8FA1, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE8FA5, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE8FA9, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE8FAD, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE8FB1, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE8FB5, "NE FIXUP -> 000b:5790 (seg112:0790)")
+set_comment(0xE8FB9, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE8FBD, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE8FC1, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE8FC5, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE8FC9, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE8FCD, "NE FIXUP -> 000b:5bd3 (seg112:0bd3)")
+set_comment(0xE8FD1, "NE FIXUP -> 000b:6608 (seg112:1608)")
+set_comment(0xE8FD5, "NE FIXUP -> 000b:56e1 (seg112:06e1)")
+set_comment(0xE8FD9, "NE FIXUP -> 000b:6618 (seg112:1618)")
+set_comment(0xE8FDD, "NE FIXUP -> 000b:6644 (seg112:1644)")
+set_comment(0xE8FE1, "NE FIXUP -> 000b:6e32 (seg113:0432)")
+set_comment(0xE8FE5, "NE FIXUP -> 000a:92fd (seg098:04fd)")
+set_comment(0xE8FE9, "NE FIXUP -> 000a:9171 (seg098:0371)")
+set_comment(0xE8FED, "NE FIXUP -> 000a:8e00 (seg098:0000)")
+set_comment(0xE8FF1, "NE FIXUP -> 000a:92cd (seg098:04cd)")
+set_comment(0xE8FF5, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE8FF9, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE8FFD, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE9001, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE9005, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE9009, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE900D, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE9011, "NE FIXUP -> 000b:6ce5 (seg113:02e5)")
+set_comment(0xE9015, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE9019, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE901D, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE9021, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE9025, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE9029, "NE FIXUP -> 000b:6dfa (seg113:03fa)")
+set_comment(0xE902D, "NE FIXUP -> 000b:6e16 (seg113:0416)")
+set_comment(0xE9031, "NE FIXUP -> 000b:6e6c (seg113:046c)")
+set_comment(0xE9035, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE9039, "NE FIXUP -> 000a:9054 (seg098:0254)")
+set_comment(0xE903D, "NE FIXUP -> 000a:8e00 (seg098:0000)")
+set_comment(0xE9041, "NE FIXUP -> 000a:8f51 (seg098:0151)")
+set_comment(0xE9045, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE9049, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE904D, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE9051, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE9055, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE9059, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE905D, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE9061, "NE FIXUP -> 000b:6acc (seg113:00cc)")
+set_comment(0xE9065, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE9069, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE906D, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE9071, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE9075, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE9079, "NE FIXUP -> 000b:6be1 (seg113:01e1)")
+set_comment(0xE907D, "NE FIXUP -> 000b:6bfd (seg113:01fd)")
+set_comment(0xE9086, "NE FIXUP -> 000b:716e (seg114:016e)")
+set_comment(0xE908A, "NE FIXUP -> 000b:778e (seg114:078e)")
+set_comment(0xE908E, "NE FIXUP -> 000b:7566 (seg114:0566)")
+set_comment(0xE9092, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE9096, "NE FIXUP -> 000b:7685 (seg114:0685)")
+set_comment(0xE909A, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE909E, "NE FIXUP -> 000b:77ab (seg114:07ab)")
+set_comment(0xE90A2, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE90A6, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE90AA, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE90AE, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE90B2, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE90B6, "NE FIXUP -> 000b:7248 (seg114:0248)")
+set_comment(0xE90BA, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE90BE, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE90C2, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE90C6, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE90CA, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE90CE, "NE FIXUP -> 000b:71c9 (seg114:01c9)")
+set_comment(0xE90DF, "NE FIXUP -> 000b:82c2 (seg115:02c2)")
+set_comment(0xE90E3, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE90E7, "NE FIXUP -> 000b:880a (seg115:080a)")
+set_comment(0xE90EB, "NE FIXUP -> 000b:f174 (seg120:0974)")
+set_comment(0xE90EF, "NE FIXUP -> 000a:c0d7 (seg102:00d7)")
+set_comment(0xE90F3, "NE FIXUP -> 000b:85ce (seg115:05ce)")
+set_comment(0xE90F7, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE90FB, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE90FF, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE9103, "NE FIXUP -> 000b:f16f (seg120:096f)")
+set_comment(0xE9107, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE910B, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE910F, "NE FIXUP -> 000b:885e (seg115:085e)")
+set_comment(0xE9113, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE9117, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE911B, "NE FIXUP -> 000b:8639 (seg115:0639)")
+set_comment(0xE911F, "NE FIXUP -> 000b:892f (seg115:092f)")
+set_comment(0xE9123, "NE FIXUP -> 000b:88c0 (seg115:08c0)")
+set_comment(0xE9127, "NE FIXUP -> 000b:87d3 (seg115:07d3)")
+set_comment(0xE9133, "NE FIXUP -> 000b:8e12 (seg116:0212)")
+set_comment(0xE9137, "NE FIXUP -> 000b:94d2 (seg116:08d2)")
+set_comment(0xE913B, "NE FIXUP -> 000b:9487 (seg116:0887)")
+set_comment(0xE913F, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE9143, "NE FIXUP -> 000a:a292 (seg100:0692)")
+set_comment(0xE9147, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE914B, "NE FIXUP -> 000b:962a (seg116:0a2a)")
+set_comment(0xE914F, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE9153, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE9157, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE915B, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE915F, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE9163, "NE FIXUP -> 000b:8ed1 (seg116:02d1)")
+set_comment(0xE9167, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE916B, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE916F, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE9173, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE9177, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE9185, "NE FIXUP -> 000e:91b6 (seg144:55b6)")
+set_comment(0xE918A, "NE FIXUP -> 000e:91bc (seg144:55bc)")
+set_comment(0xE918F, "NE FIXUP -> 000e:91c6 (seg144:55c6)")
+set_comment(0xE9194, "NE FIXUP -> 000e:91cb (seg144:55cb)")
+set_comment(0xE9199, "NE FIXUP -> 000e:91d2 (seg144:55d2)")
+set_comment(0xE919E, "NE FIXUP -> 000e:91d7 (seg144:55d7)")
+set_comment(0xE91A3, "NE FIXUP -> 000e:91df (seg144:55df)")
+set_comment(0xE91A8, "NE FIXUP -> 000e:91e6 (seg144:55e6)")
+set_comment(0xE91AD, "NE FIXUP -> 000e:91f1 (seg144:55f1)")
+set_comment(0xE91B1, "NE FIXUP -> 000e:9264 (seg144:5664)")
+set_comment(0xE94D9, "NE FIXUP -> 000b:ca6f (seg117:306f)")
+set_comment(0xE94DD, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE94E1, "NE FIXUP -> 000a:fac6 (seg106:02c6)")
+set_comment(0xE94E5, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE94E9, "NE FIXUP -> 000a:fbda (seg106:03da)")
+set_comment(0xE94ED, "NE FIXUP -> 000a:f99b (seg106:019b)")
+set_comment(0xE94F1, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE94F5, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE94F9, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE94FD, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE9501, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE9505, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE9509, "NE FIXUP -> 000b:0dd4 (seg106:15d4)")
+set_comment(0xE950D, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE9511, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE9515, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE9519, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE951D, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE9521, "NE FIXUP -> 000b:0e4b (seg106:164b)")
+set_comment(0xE9525, "NE FIXUP -> 000b:0023 (seg106:0823)")
+set_comment(0xE9529, "NE FIXUP -> 000b:caa9 (seg117:30a9)")
+set_comment(0xE952D, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE9531, "NE FIXUP -> 000a:7a4a (seg096:044a)")
+set_comment(0xE9535, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE9539, "NE FIXUP -> 000a:c0d7 (seg102:00d7)")
+set_comment(0xE953D, "NE FIXUP -> 000b:b7c6 (seg117:1dc6)")
+set_comment(0xE9541, "NE FIXUP -> 000b:b62c (seg117:1c2c)")
+set_comment(0xE9545, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE9549, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE954D, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE9551, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE9555, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE9559, "NE FIXUP -> 000b:b608 (seg117:1c08)")
+set_comment(0xE955D, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE9561, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE9565, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE9569, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE956D, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE9571, "NE FIXUP -> 000b:cae3 (seg117:30e3)")
+set_comment(0xE9575, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE9579, "NE FIXUP -> 000b:b33f (seg117:193f)")
+set_comment(0xE957D, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE9581, "NE FIXUP -> 000a:c0d7 (seg102:00d7)")
+set_comment(0xE9585, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE9589, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE958D, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE9591, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE9595, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE9599, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE959D, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE95A1, "NE FIXUP -> 000b:b191 (seg117:1791)")
+set_comment(0xE95A5, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE95A9, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE95AD, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE95B1, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE95B5, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE95B9, "NE FIXUP -> 000b:cb1d (seg117:311d)")
+set_comment(0xE95BD, "NE FIXUP -> 000b:a8f9 (seg117:0ef9)")
+set_comment(0xE95C1, "NE FIXUP -> 000b:a881 (seg117:0e81)")
+set_comment(0xE95C5, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE95C9, "NE FIXUP -> 000b:a916 (seg117:0f16)")
+set_comment(0xE95CD, "NE FIXUP -> 000b:a4a1 (seg117:0aa1)")
+set_comment(0xE95D1, "NE FIXUP -> 000b:a5a7 (seg117:0ba7)")
+set_comment(0xE95D5, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE95D9, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE95DD, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE95E1, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE95E5, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE95E9, "NE FIXUP -> 000b:ab18 (seg117:1118)")
+set_comment(0xE95ED, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE95F1, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE95F5, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE95F9, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE95FD, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE9601, "NE FIXUP -> 000b:9a86 (seg117:0086)")
+set_comment(0xE9605, "NE FIXUP -> 000b:9c91 (seg117:0291)")
+set_comment(0xE961C, "NE FIXUP -> 000b:ecf7 (seg120:04f7)")
+set_comment(0xE9620, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE9624, "NE FIXUP -> 000a:7a4a (seg096:044a)")
+set_comment(0xE9628, "NE FIXUP -> 000b:f174 (seg120:0974)")
+set_comment(0xE962C, "NE FIXUP -> 000a:c0d7 (seg102:00d7)")
+set_comment(0xE9630, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE9634, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE9638, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE963C, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE9640, "NE FIXUP -> 000b:f16f (seg120:096f)")
+set_comment(0xE9644, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE9648, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE964C, "NE FIXUP -> 000a:798a (seg096:038a)")
+set_comment(0xE9650, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE9654, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE9658, "NE FIXUP -> 000b:ed80 (seg120:0580)")
+set_comment(0xE965C, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE9660, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE9664, "NE FIXUP -> 000b:efc7 (seg120:07c7)")
+set_comment(0xE9668, "NE FIXUP -> 0008:5e34 (seg057:0434)")
+set_comment(0xE966C, "NE FIXUP -> 000b:e92e (seg120:012e)")
+set_comment(0xE9670, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE9674, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE9678, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE967C, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE9680, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE9684, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE9688, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE968C, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE9690, "NE FIXUP -> 0008:5e83 (seg057:0483)")
+set_comment(0xE9694, "NE FIXUP -> 000b:ea1a (seg120:021a)")
+set_comment(0xE9698, "NE FIXUP -> 000b:e9ce (seg120:01ce)")
+set_comment(0xE969D, "NE FIXUP -> 000b:f8ee (seg121:04ee)")
+set_comment(0xE96A1, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE96A5, "NE FIXUP -> 000a:a28d (seg100:068d)")
+set_comment(0xE96A9, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE96AD, "NE FIXUP -> 000a:a292 (seg100:0692)")
+set_comment(0xE96B1, "NE FIXUP -> 000b:f943 (seg121:0543)")
+set_comment(0xE96B5, "NE FIXUP -> 000b:fa46 (seg121:0646)")
+set_comment(0xE96B9, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE96BD, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE96C1, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE96C5, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE96C9, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE96CD, "NE FIXUP -> 000b:fcf5 (seg121:08f5)")
+set_comment(0xE96D1, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE96D5, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE96D9, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE96DD, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE96E1, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE96E5, "NE FIXUP -> 000b:fe94 (seg121:0a94)")
+set_comment(0xE96E9, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE96ED, "NE FIXUP -> 000a:9054 (seg098:0254)")
+set_comment(0xE96F1, "NE FIXUP -> 000a:8e00 (seg098:0000)")
+set_comment(0xE96F5, "NE FIXUP -> 000a:8f51 (seg098:0151)")
+set_comment(0xE96F9, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE96FD, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE9701, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE9705, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE9709, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE970D, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE9711, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE9715, "NE FIXUP -> 000b:f4c4 (seg121:00c4)")
+set_comment(0xE9719, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE971D, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE9721, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE9725, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE9729, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE972D, "NE FIXUP -> 000b:f46d (seg121:006d)")
+set_comment(0xE9731, "NE FIXUP -> 000b:f486 (seg121:0086)")
+set_comment(0xE9791, "NE FIXUP -> 000c:325c (seg122:305c)")
+set_comment(0xE9795, "NE FIXUP -> 000a:92fd (seg098:04fd)")
+set_comment(0xE9799, "NE FIXUP -> 000a:9171 (seg098:0371)")
+set_comment(0xE979D, "NE FIXUP -> 000a:8e00 (seg098:0000)")
+set_comment(0xE97A1, "NE FIXUP -> 000a:92cd (seg098:04cd)")
+set_comment(0xE97A5, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE97A9, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE97AD, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE97B1, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE97B5, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE97B9, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE97BD, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE97C1, "NE FIXUP -> 000c:31ca (seg122:2fca)")
+set_comment(0xE97C5, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE97C9, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE97CD, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE97D1, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE97D5, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE97D9, "NE FIXUP -> 000c:3204 (seg122:3004)")
+set_comment(0xE97DD, "NE FIXUP -> 000c:3230 (seg122:3030)")
+set_comment(0xE97E1, "NE FIXUP -> 000c:3296 (seg122:3096)")
+set_comment(0xE97E5, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE97E9, "NE FIXUP -> 000a:9054 (seg098:0254)")
+set_comment(0xE97ED, "NE FIXUP -> 000a:8e00 (seg098:0000)")
+set_comment(0xE97F1, "NE FIXUP -> 000a:8f51 (seg098:0151)")
+set_comment(0xE97F5, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE97F9, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE97FD, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE9801, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE9805, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE9809, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE980D, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE9811, "NE FIXUP -> 000c:3016 (seg122:2e16)")
+set_comment(0xE9815, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE9819, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE981D, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE9821, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE9825, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE9829, "NE FIXUP -> 000c:30ca (seg122:2eca)")
+set_comment(0xE982D, "NE FIXUP -> 000c:3132 (seg122:2f32)")
+set_comment(0xE9831, "NE FIXUP -> 000c:32d0 (seg122:30d0)")
+set_comment(0xE9835, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE9839, "NE FIXUP -> 000a:9054 (seg098:0254)")
+set_comment(0xE983D, "NE FIXUP -> 000a:8e00 (seg098:0000)")
+set_comment(0xE9841, "NE FIXUP -> 000a:8f51 (seg098:0151)")
+set_comment(0xE9845, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE9849, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE984D, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE9851, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE9855, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE9859, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE985D, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE9861, "NE FIXUP -> 000c:2e56 (seg122:2c56)")
+set_comment(0xE9865, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE9869, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE986D, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE9871, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE9875, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE9879, "NE FIXUP -> 000c:2e90 (seg122:2c90)")
+set_comment(0xE987D, "NE FIXUP -> 000c:2f19 (seg122:2d19)")
+set_comment(0xE9881, "NE FIXUP -> 000c:2ae1 (seg122:28e1)")
+set_comment(0xE9885, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE9889, "NE FIXUP -> 000c:330a (seg122:310a)")
+set_comment(0xE988D, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE9891, "NE FIXUP -> 000a:c0d7 (seg102:00d7)")
+set_comment(0xE9895, "NE FIXUP -> 000c:2b75 (seg122:2975)")
+set_comment(0xE9899, "NE FIXUP -> 000c:2bb3 (seg122:29b3)")
+set_comment(0xE989D, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE98A1, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE98A5, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE98A9, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE98AD, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE98B1, "NE FIXUP -> 000c:2d16 (seg122:2b16)")
+set_comment(0xE98B5, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE98B9, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE98BD, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE98C1, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE98C5, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE98C9, "NE FIXUP -> 000c:1959 (seg122:1759)")
+set_comment(0xE98CD, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE98D1, "NE FIXUP -> 000a:a28d (seg100:068d)")
+set_comment(0xE98D5, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE98D9, "NE FIXUP -> 000a:a292 (seg100:0692)")
+set_comment(0xE98DD, "NE FIXUP -> 000c:1f81 (seg122:1d81)")
+set_comment(0xE98E1, "NE FIXUP -> 000c:22b7 (seg122:20b7)")
+set_comment(0xE98E5, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE98E9, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE98ED, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE98F1, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE98F5, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE98F9, "NE FIXUP -> 000c:19c5 (seg122:17c5)")
+set_comment(0xE98FD, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE9901, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE9905, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE9909, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE990D, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE9911, "NE FIXUP -> 000c:330f (seg122:310f)")
+set_comment(0xE9915, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE9919, "NE FIXUP -> 000c:0fc0 (seg122:0dc0)")
+set_comment(0xE991D, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE9921, "NE FIXUP -> 000a:a292 (seg100:0692)")
+set_comment(0xE9925, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE9929, "NE FIXUP -> 000a:7b3f (seg096:053f)")
+set_comment(0xE992D, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE9931, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE9935, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE9939, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE993D, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE9941, "NE FIXUP -> 000c:1094 (seg122:0e94)")
+set_comment(0xE9945, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE9949, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE994D, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE9951, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE9955, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE9959, "NE FIXUP -> 000c:05f5 (seg122:03f5)")
+set_comment(0xE995D, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE9961, "NE FIXUP -> 000a:a28d (seg100:068d)")
+set_comment(0xE9965, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE9969, "NE FIXUP -> 000a:a292 (seg100:0692)")
+set_comment(0xE996D, "NE FIXUP -> 000c:08a4 (seg122:06a4)")
+set_comment(0xE9971, "NE FIXUP -> 000c:08cd (seg122:06cd)")
+set_comment(0xE9975, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE9979, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE997D, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE9981, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE9985, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE9989, "NE FIXUP -> 000c:06ee (seg122:04ee)")
+set_comment(0xE998D, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE9991, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE9995, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE9999, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE999D, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE99F0, "NE FIXUP -> 000c:4441 (seg123:0841)")
+set_comment(0xE99F4, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE99F8, "NE FIXUP -> 000c:470a (seg123:0b0a)")
+set_comment(0xE99FC, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE9A00, "NE FIXUP -> 000a:a292 (seg100:0692)")
+set_comment(0xE9A04, "NE FIXUP -> 000a:7b3a (seg096:053a)")
+set_comment(0xE9A08, "NE FIXUP -> 000c:44a8 (seg123:08a8)")
+set_comment(0xE9A0C, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE9A10, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE9A14, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE9A18, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE9A1C, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE9A20, "NE FIXUP -> 000c:48d5 (seg123:0cd5)")
+set_comment(0xE9A24, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE9A28, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE9A2C, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE9A30, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE9A34, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE9A38, "NE FIXUP -> 000c:3e26 (seg123:0226)")
+set_comment(0xE9A3C, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE9A40, "NE FIXUP -> 000a:a28d (seg100:068d)")
+set_comment(0xE9A44, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE9A48, "NE FIXUP -> 000a:a292 (seg100:0692)")
+set_comment(0xE9A4C, "NE FIXUP -> 000c:3fdd (seg123:03dd)")
+set_comment(0xE9A50, "NE FIXUP -> 000c:3ecb (seg123:02cb)")
+set_comment(0xE9A54, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE9A58, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE9A5C, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE9A60, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE9A64, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE9A68, "NE FIXUP -> 000c:418c (seg123:058c)")
+set_comment(0xE9A6C, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE9A70, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE9A74, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE9A78, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE9A7C, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE9AB1, "NE FIXUP -> 000b:1e58 (seg108:0458)")
+set_comment(0xE9AB5, "NE FIXUP -> 000c:517d (seg124:037d)")
+set_comment(0xE9AB9, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE9ABD, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE9AC1, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE9AC5, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE9AC9, "NE FIXUP -> 000c:51b7 (seg124:03b7)")
+set_comment(0xE9ACD, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE9AD1, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE9AD5, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xE9AD9, "NE FIXUP -> 000b:1e5d (seg108:045d)")
+set_comment(0xE9ADD, "NE FIXUP -> 000c:4fa0 (seg124:01a0)")
+set_comment(0xE9AE2, "NE FIXUP -> 000e:9b30 (seg144:5f30)")
+set_comment(0xE9AE6, "NE FIXUP -> 000e:9b34 (seg144:5f34)")
+set_comment(0xE9AEA, "NE FIXUP -> 000e:9b38 (seg144:5f38)")
+set_comment(0xE9AEE, "NE FIXUP -> 000e:9b3c (seg144:5f3c)")
+set_comment(0xE9AF2, "NE FIXUP -> 000e:9b40 (seg144:5f40)")
+set_comment(0xE9AF6, "NE FIXUP -> 000e:9b44 (seg144:5f44)")
+set_comment(0xE9AFA, "NE FIXUP -> 000e:9b48 (seg144:5f48)")
+set_comment(0xE9AFE, "NE FIXUP -> 000e:9b4c (seg144:5f4c)")
+set_comment(0xE9B02, "NE FIXUP -> 000e:9b50 (seg144:5f50)")
+set_comment(0xE9B06, "NE FIXUP -> 000e:9b54 (seg144:5f54)")
+set_comment(0xE9B0A, "NE FIXUP -> 000e:9b58 (seg144:5f58)")
+set_comment(0xE9B0E, "NE FIXUP -> 000e:9b5c (seg144:5f5c)")
+set_comment(0xE9B12, "NE FIXUP -> 000e:9b60 (seg144:5f60)")
+set_comment(0xE9B16, "NE FIXUP -> 000e:9b64 (seg144:5f64)")
+set_comment(0xE9B1A, "NE FIXUP -> 000e:9b68 (seg144:5f68)")
+set_comment(0xE9B1E, "NE FIXUP -> 000e:9b6c (seg144:5f6c)")
+set_comment(0xE9B22, "NE FIXUP -> 000e:9b70 (seg144:5f70)")
+set_comment(0xE9B26, "NE FIXUP -> 000e:9b74 (seg144:5f74)")
+set_comment(0xE9B2A, "NE FIXUP -> 000e:9b78 (seg144:5f78)")
+set_comment(0xE9BF9, "NE FIXUP -> 000c:5835 (seg125:0435)")
+set_comment(0xE9BFD, "NE FIXUP -> 000c:6493 (seg125:1093)")
+set_comment(0xE9C01, "NE FIXUP -> 000a:a28d (seg100:068d)")
+set_comment(0xE9C05, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE9C09, "NE FIXUP -> 000a:a292 (seg100:0692)")
+set_comment(0xE9C0D, "NE FIXUP -> 000c:629a (seg125:0e9a)")
+set_comment(0xE9C11, "NE FIXUP -> 000c:67b6 (seg125:13b6)")
+set_comment(0xE9C15, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE9C19, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE9C1D, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE9C21, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE9C25, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE9C29, "NE FIXUP -> 000c:5bbb (seg125:07bb)")
+set_comment(0xE9C2D, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE9C31, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE9C35, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE9C39, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE9C3D, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE9E40, "NE FIXUP -> 000c:aeae (seg126:3aae)")
+set_comment(0xE9E44, "NE FIXUP -> 000c:b2c8 (seg126:3ec8)")
+set_comment(0xE9E48, "NE FIXUP -> 000c:b344 (seg126:3f44)")
+set_comment(0xE9E4C, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE9E50, "NE FIXUP -> 000a:c0d7 (seg102:00d7)")
+set_comment(0xE9E54, "NE FIXUP -> 000c:b153 (seg126:3d53)")
+set_comment(0xE9E58, "NE FIXUP -> 000c:b199 (seg126:3d99)")
+set_comment(0xE9E5C, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE9E60, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE9E64, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE9E68, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE9E6C, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE9E70, "NE FIXUP -> 000c:b2c3 (seg126:3ec3)")
+set_comment(0xE9E74, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE9E78, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE9E7C, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE9E80, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE9E84, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE9E88, "NE FIXUP -> 000c:b349 (seg126:3f49)")
+set_comment(0xE9E8C, "NE FIXUP -> 000c:b383 (seg126:3f83)")
+set_comment(0xE9E90, "NE FIXUP -> 000c:a47f (seg126:307f)")
+set_comment(0xE9E94, "NE FIXUP -> 000c:9f74 (seg126:2b74)")
+set_comment(0xE9E98, "NE FIXUP -> 000c:a1ad (seg126:2dad)")
+set_comment(0xE9E9C, "NE FIXUP -> 000c:9e13 (seg126:2a13)")
+set_comment(0xE9EA0, "NE FIXUP -> 000c:880c (seg126:140c)")
+set_comment(0xE9EA4, "NE FIXUP -> 000c:88b4 (seg126:14b4)")
+set_comment(0xE9EA8, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE9EAC, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE9EB0, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE9EB4, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE9EB8, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE9EBC, "NE FIXUP -> 000b:3a90 (seg109:0c90)")
+set_comment(0xE9EC0, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE9EC4, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE9EC8, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE9ECC, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE9ED0, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE9ED4, "NE FIXUP -> 000c:7400 (seg126:0000)")
+set_comment(0xE9ED8, "NE FIXUP -> 000c:b3d8 (seg126:3fd8)")
+set_comment(0xE9EDC, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xE9EE0, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xE9EE4, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xE9EE8, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xE9EEC, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xE9EF0, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xE9EF4, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xE9F45, "NE FIXUP -> 000c:d710 (seg128:0510)")
+set_comment(0xE9F49, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE9F4D, "NE FIXUP -> 000c:d7c6 (seg128:05c6)")
+set_comment(0xE9F51, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE9F55, "NE FIXUP -> 000a:c0d7 (seg102:00d7)")
+set_comment(0xE9F59, "NE FIXUP -> 000c:d75e (seg128:055e)")
+set_comment(0xE9F5D, "NE FIXUP -> 000c:d775 (seg128:0575)")
+set_comment(0xE9F61, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE9F65, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE9F69, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE9F6D, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE9F71, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE9F75, "NE FIXUP -> 000c:d78c (seg128:058c)")
+set_comment(0xE9F79, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE9F7D, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE9F81, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE9F85, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE9F89, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xE9F8D, "NE FIXUP -> 000c:d3e9 (seg128:01e9)")
+set_comment(0xE9F91, "NE FIXUP -> 000a:7b30 (seg096:0530)")
+set_comment(0xE9F95, "NE FIXUP -> 000c:d7cb (seg128:05cb)")
+set_comment(0xE9F99, "NE FIXUP -> 000a:7b35 (seg096:0535)")
+set_comment(0xE9F9D, "NE FIXUP -> 000a:c0d7 (seg102:00d7)")
+set_comment(0xE9FA1, "NE FIXUP -> 000c:d437 (seg128:0237)")
+set_comment(0xE9FA5, "NE FIXUP -> 000c:d499 (seg128:0299)")
+set_comment(0xE9FA9, "NE FIXUP -> 000a:7b44 (seg096:0544)")
+set_comment(0xE9FAD, "NE FIXUP -> 000a:7b49 (seg096:0549)")
+set_comment(0xE9FB1, "NE FIXUP -> 000a:7b4e (seg096:054e)")
+set_comment(0xE9FB5, "NE FIXUP -> 000a:7b53 (seg096:0553)")
+set_comment(0xE9FB9, "NE FIXUP -> 000a:7b58 (seg096:0558)")
+set_comment(0xE9FBD, "NE FIXUP -> 000c:d549 (seg128:0349)")
+set_comment(0xE9FC1, "NE FIXUP -> 000b:3ab2 (seg109:0cb2)")
+set_comment(0xE9FC5, "NE FIXUP -> 000a:7b5f (seg096:055f)")
+set_comment(0xE9FC9, "NE FIXUP -> 000b:40ee (seg109:12ee)")
+set_comment(0xE9FCD, "NE FIXUP -> 000a:7b78 (seg096:0578)")
+set_comment(0xE9FD1, "NE FIXUP -> 000a:7b7d (seg096:057d)")
+set_comment(0xEA176, "NE FIXUP -> 000c:db68 (seg129:0168)")
+set_comment(0xEA17A, "NE FIXUP -> 000c:e725 (seg129:0d25)")
+set_comment(0xEA17E, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xEA182, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xEA186, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xEA18A, "NE FIXUP -> 000c:db49 (seg129:0149)")
+set_comment(0xEA18E, "NE FIXUP -> 000c:db23 (seg129:0123)")
+set_comment(0xEA192, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xEA196, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xEA1AA, "NE FIXUP -> 000c:ee6f (seg130:046f)")
+set_comment(0xEA1AE, "NE FIXUP -> 000c:ee74 (seg130:0474)")
+set_comment(0xEA1B3, "NE FIXUP -> 000e:a1c4 (seg144:65c4)")
+set_comment(0xEA1B7, "NE FIXUP -> 000e:a1ce (seg144:65ce)")
+set_comment(0xEA1FF, "NE FIXUP -> 0005:9eca (seg025:0cca)")
+set_comment(0xEA203, "NE FIXUP -> 0005:9fa7 (seg025:0da7)")
+set_comment(0xEA30F, "NE FIXUP -> 000d:589f (seg133:209f)")
+set_comment(0xEA313, "NE FIXUP -> 000d:48da (seg133:10da)")
+set_comment(0xEA317, "NE FIXUP -> 000d:58dd (seg133:20dd)")
+set_comment(0xEA31B, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xEA31F, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xEA323, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xEA327, "NE FIXUP -> 000d:4962 (seg133:1162)")
+set_comment(0xEA32B, "NE FIXUP -> 000d:4a78 (seg133:1278)")
+set_comment(0xEA32F, "NE FIXUP -> 000d:498f (seg133:118f)")
+set_comment(0xEA333, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xEA337, "NE FIXUP -> 000d:48b6 (seg133:10b6)")
+set_comment(0xEA33B, "NE FIXUP -> 000d:38cd (seg133:00cd)")
+set_comment(0xEA3B5, "NE FIXUP -> 0009:1870 (seg069:0070)")
+set_comment(0xEA3B9, "NE FIXUP -> 0009:19bb (seg069:01bb)")
+set_comment(0xEA3BD, "NE FIXUP -> 0009:19e2 (seg069:01e2)")
+set_comment(0xEA3C1, "NE FIXUP -> 0009:48a8 (seg073:02a8)")
+set_comment(0xEA3C5, "NE FIXUP -> 0009:4954 (seg073:0354)")
+set_comment(0xEA3C9, "NE FIXUP -> 0009:4ae3 (seg073:04e3)")
+set_comment(0xEA3CD, "NE FIXUP -> 0009:4b29 (seg073:0529)")
+set_comment(0xEA3D1, "NE FIXUP -> 0009:4b48 (seg073:0548)")
+set_comment(0xEA3D5, "NE FIXUP -> 0009:4b78 (seg073:0578)")
+set_comment(0xEA3D9, "NE FIXUP -> 0009:4bcb (seg073:05cb)")
+set_comment(0xEA3DD, "NE FIXUP -> 0009:4a4a (seg073:044a)")
+set_comment(0xEA3E1, "NE FIXUP -> 0009:4d56 (seg073:0756)")
+set_comment(0xEA3E5, "NE FIXUP -> 0009:4e72 (seg073:0872)")
+set_comment(0xEA3E9, "NE FIXUP -> 0009:4852 (seg073:0252)")
+set_comment(0xEA3ED, "NE FIXUP -> 000d:70fd (seg135:00fd)")
+set_comment(0xEA3FB, "NE FIXUP -> 000d:7313 (seg135:0313)")
+set_comment(0xEA3FF, "NE FIXUP -> 000d:7363 (seg135:0363)")
+set_comment(0xEA403, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xEA407, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xEA40B, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xEA40F, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xEA413, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xEA417, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xEA41B, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xEA41F, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xEA423, "NE FIXUP -> 000d:735e (seg135:035e)")
+set_comment(0xEA47E, "NE FIXUP -> 000d:7716 (seg136:0116)")
+set_comment(0xEA482, "NE FIXUP -> 000d:7b57 (seg136:0557)")
+set_comment(0xEA486, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xEA48A, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xEA48E, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xEA492, "NE FIXUP -> 000d:7a61 (seg136:0461)")
+set_comment(0xEA496, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xEA49A, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xEA49E, "NE FIXUP -> 000d:7bab (seg136:05ab)")
+set_comment(0xEA4A2, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xEA4A6, "NE FIXUP -> 000d:771b (seg136:011b)")
+set_comment(0xEA4BE, "NE FIXUP -> 000d:8d2f (seg137:0f2f)")
+set_comment(0xEA4C2, "NE FIXUP -> 000d:8d67 (seg137:0f67)")
+set_comment(0xEA4C6, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xEA4CA, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xEA4CE, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xEA4D2, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xEA4D6, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xEA4DA, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xEA4DE, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xEA52F, "NE FIXUP -> 000d:b0f9 (seg138:1ef9)")
+set_comment(0xEA533, "NE FIXUP -> 000d:9afd (seg138:08fd)")
+set_comment(0xEA537, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xEA53B, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xEA53F, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xEA543, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xEA547, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xEA54B, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xEA54F, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xEA553, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xEA557, "NE FIXUP -> 000d:c156 (seg138:2f56)")
+set_comment(0xEA55B, "NE FIXUP -> 000d:938c (seg138:018c)")
+set_comment(0xEA55F, "NE FIXUP -> 000d:c421 (seg138:3221)")
+set_comment(0xEA563, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xEA567, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xEA56B, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xEA56F, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xEA573, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xEA577, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xEA57B, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xEA57F, "NE FIXUP -> 000d:c475 (seg138:3275)")
+set_comment(0xEA583, "NE FIXUP -> 000d:c490 (seg138:3290)")
+set_comment(0xEA587, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xEA58B, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xEA58F, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xEA593, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xEA597, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xEA59B, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xEA59F, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xEA5A3, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xEA5A7, "NE FIXUP -> 000d:92eb (seg138:00eb)")
+set_comment(0xEA6C8, "NE FIXUP -> 000e:103f (seg142:283f)")
+set_comment(0xEA6CC, "NE FIXUP -> 000d:ec94 (seg142:0494)")
+set_comment(0xEA6D0, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xEA6D4, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xEA6D8, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xEA6DC, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xEA6E0, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xEA6E4, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xEA6E8, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xEA6EC, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xEA6F0, "NE FIXUP -> 000e:1069 (seg142:2869)")
+set_comment(0xEA6F4, "NE FIXUP -> 000e:2b1d (seg142:431d)")
+set_comment(0xEA6F8, "NE FIXUP -> 000e:2b22 (seg142:4322)")
+set_comment(0xEA6FC, "NE FIXUP -> 0008:cb2c (seg061:112c)")
+set_comment(0xEA700, "NE FIXUP -> 0008:cb5c (seg061:115c)")
+set_comment(0xEA704, "NE FIXUP -> 0004:26cd (seg005:08cd)")
+set_comment(0xEA708, "NE FIXUP -> 0008:cda7 (seg061:13a7)")
+set_comment(0xEA70C, "NE FIXUP -> 0008:ce00 (seg061:1400)")
+set_comment(0xEA710, "NE FIXUP -> 0008:ce3d (seg061:143d)")
+set_comment(0xEA714, "NE FIXUP -> 0004:26d2 (seg005:08d2)")
+set_comment(0xEA718, "NE FIXUP -> 0004:3324 (seg006:0724)")
+set_comment(0xEA71C, "NE FIXUP -> 000d:e914 (seg142:0114)")
+set_comment(0xEA825, "NE FIXUP -> 0003:a7ed (seg001:31ed)")
+set_comment(0xEA829, "NE FIXUP -> 0003:a7ed (seg001:31ed)")
+set_comment(0xEA82D, "NE FIXUP -> 0003:a7ed (seg001:31ed)")
+set_comment(0xEAB87, "NE FIXUP -> 000e:c9b8 (seg144:8db8)")
+set_comment(0xEAB8B, "NE FIXUP -> 000e:c9b4 (seg144:8db4)")
+set_comment(0xEB451, "NE FIXUP -> 0004:6715 (seg010:0d15)")
+set_comment(0xEB457, "NE FIXUP -> 0004:a143 (seg013:1f43)")
+set_comment(0xEB45D, "NE FIXUP -> 0005:7bb9 (seg022:2bb9)")
+set_comment(0xEB463, "NE FIXUP -> 0006:1e47 (seg030:3e47)")
+set_comment(0xEB469, "NE FIXUP -> 0006:d8b4 (seg038:22b4)")
+set_comment(0xEB46F, "NE FIXUP -> 0007:9b8f (seg044:078f)")
+set_comment(0xEB475, "NE FIXUP -> 0007:b59a (seg047:099a)")
+set_comment(0xEB47B, "NE FIXUP -> 0007:d7cb (seg049:1dcb)")
+set_comment(0xEB481, "NE FIXUP -> 0007:e74a (seg050:094a)")
+set_comment(0xEB487, "NE FIXUP -> 0008:06b4 (seg051:1cb4)")
+set_comment(0xEB48D, "NE FIXUP -> 0008:2730 (seg052:1d30)")
+set_comment(0xEB493, "NE FIXUP -> 0008:3c09 (seg053:1009)")
+set_comment(0xEB499, "NE FIXUP -> 0008:4bd9 (seg055:09d9)")
+set_comment(0xEB49F, "NE FIXUP -> 0008:54bf (seg056:04bf)")
+set_comment(0xEB4A5, "NE FIXUP -> 0008:abe8 (seg059:41e8)")
+set_comment(0xEB4AB, "NE FIXUP -> 000a:4aca (seg091:06ca)")
+set_comment(0xEB4B1, "NE FIXUP -> 000a:71c1 (seg095:0bc1)")
+set_comment(0xEB4B7, "NE FIXUP -> 000a:8b04 (seg097:0d04)")
+set_comment(0xEB4BD, "NE FIXUP -> 000a:bb05 (seg101:1705)")
+set_comment(0xEB4C3, "NE FIXUP -> 000a:e03c (seg103:163c)")
+set_comment(0xEB4C9, "NE FIXUP -> 000b:41e6 (seg109:13e6)")
+set_comment(0xEB4CF, "NE FIXUP -> 000b:8934 (seg115:0934)")
+set_comment(0xEB4D5, "NE FIXUP -> 000b:ca4b (seg117:304b)")
+set_comment(0xEB4DB, "NE FIXUP -> 000b:ddfe (seg118:09fe)")
+set_comment(0xEB4E1, "NE FIXUP -> 000c:cecf (seg127:08cf)")
+set_comment(0xEB4E7, "NE FIXUP -> 000c:e724 (seg129:0d24)")
+set_comment(0xEB4ED, "NE FIXUP -> 000d:7a80 (seg136:0480)")
+set_comment(0xEB4F3, "NE FIXUP -> 000e:2a06 (seg142:4206)")
+set_comment(0xEB505, "NE FIXUP -> 0003:ebf7 (seg001:75f7)")
+set_comment(0xEB517, "NE FIXUP -> 000e:3a6b (seg143:066b)")
+set_comment(0xEB51D, "NE FIXUP -> 0004:672a (seg010:0d2a)")
+set_comment(0xEB523, "NE FIXUP -> 0007:9ba2 (seg044:07a2)")
+set_comment(0xEB529, "NE FIXUP -> 0007:b5a7 (seg047:09a7)")
+set_comment(0xEB52F, "NE FIXUP -> 0008:06ec (seg051:1cec)")
+set_comment(0xEB535, "NE FIXUP -> 0008:3c47 (seg053:1047)")
+set_comment(0xEB53B, "NE FIXUP -> 0008:ac59 (seg059:4259)")
+set_comment(0xEB541, "NE FIXUP -> 000a:4ae7 (seg091:06e7)")
+set_comment(0xEB547, "NE FIXUP -> 000a:71d7 (seg095:0bd7)")
+set_comment(0xEB54D, "NE FIXUP -> 000a:8b2d (seg097:0d2d)")
+set_comment(0xEB553, "NE FIXUP -> 000a:bb2f (seg101:172f)")
+set_comment(0xEB559, "NE FIXUP -> 000b:4212 (seg109:1412)")
+set_comment(0xEB55F, "NE FIXUP -> 000b:ca5c (seg117:305c)")
+set_comment(0xEB565, "NE FIXUP -> 000c:cee7 (seg127:08e7)")
+set_comment(0xEB56B, "NE FIXUP -> 000e:2a17 (seg142:4217)")
+set_comment(0x3761D, "NE IMPORT -> PHAPI.DOSCREATEDSALIAS")
+set_comment(0x376B0, "NE IMPORT -> DOSCALLS.38")
+set_comment(0x376BD, "NE IMPORT -> DOSCALLS.38")
+set_comment(0x37794, "NE IMPORT -> DOSCALLS.89")
+set_comment(0x377AA, "NE IMPORT -> DOSCALLS.89")
+set_comment(0x3F46D, "NE IMPORT -> DOSCALLS.39")
+set_comment(0x3F51C, "NE IMPORT -> DOSCALLS.40")
+set_comment(0x3F538, "NE IMPORT -> DOSCALLS.41")
+set_comment(0x3F560, "NE IMPORT -> DOSCALLS.40")
+set_comment(0x3F59B, "NE IMPORT -> DOSCALLS.42")
+set_comment(0x3F6C8, "NE IMPORT -> DOSCALLS.42")
+set_comment(0x3F850, "NE IMPORT -> PHAPI.DOSMAPREALSEG")
+set_comment(0x3F88C, "NE IMPORT -> DOSCALLS.39")
+set_comment(0x3F895, "NE IMPORT -> DOSCALLS.39")
+set_comment(0x3F8B2, "NE IMPORT -> PHAPI.DOSMAPREALSEG")
+set_comment(0x3F942, "NE IMPORT -> DOSCALLS.127")
+set_comment(0x417C5, "NE IMPORT -> ASYLUM.36")
+set_comment(0x417DB, "NE IMPORT -> ASYLUM.28")
+set_comment(0x419CE, "NE IMPORT -> ASYLUM.45")
+set_comment(0x425A4, "NE IMPORT -> ASYLUM.24")
+set_comment(0x46F25, "NE IMPORT -> ASYLUM.36")
+set_comment(0x46F2D, "NE IMPORT -> ASYLUM.28")
+set_comment(0x46F4C, "NE IMPORT -> ASYLUM.37")
+set_comment(0x46F56, "NE IMPORT -> ASYLUM.29")
+set_comment(0x470A1, "NE IMPORT -> ASYLUM.37")
+set_comment(0x470AC, "NE IMPORT -> ASYLUM.29")
+set_comment(0x47135, "NE IMPORT -> ASYLUM.36")
+set_comment(0x4713D, "NE IMPORT -> ASYLUM.28")
+set_comment(0x4715C, "NE IMPORT -> ASYLUM.37")
+set_comment(0x47166, "NE IMPORT -> ASYLUM.29")
+set_comment(0x472AE, "NE IMPORT -> ASYLUM.37")
+set_comment(0x472B9, "NE IMPORT -> ASYLUM.29")
+set_comment(0x6EBA1, "NE IMPORT -> ASYLUM.36")
+set_comment(0x6EBB4, "NE IMPORT -> ASYLUM.37")
+set_comment(0x6EBBF, "NE IMPORT -> ASYLUM.36")
+set_comment(0x6EBD2, "NE IMPORT -> ASYLUM.37")
+set_comment(0x867ED, "NE IMPORT -> PHAPI._DosRealFarCall")
+set_comment(0x86A7E, "NE IMPORT -> PHAPI.DOSALLOCREALSEG")
+set_comment(0x86AAC, "NE IMPORT -> PHAPI.DOSALLOCREALSEG")
+set_comment(0x86AE7, "NE IMPORT -> PHAPI._DosRealIntr")
+set_comment(0x86B2D, "NE IMPORT -> PHAPI.DOSMAPREALSEG")
+set_comment(0x89796, "NE IMPORT -> PHAPI.BORISREALINTR")
+set_comment(0x897AB, "NE IMPORT -> PHAPI.BORISREALINTR")
+set_comment(0x8A06A, "NE IMPORT -> PHAPI._DosRealFarCall")
+set_comment(0x8EBB1, "NE IMPORT -> ASYLUM.34")
+set_comment(0x8EBB9, "NE IMPORT -> ASYLUM.33")
+set_comment(0x8EBFE, "NE IMPORT -> ASYLUM.31")
+set_comment(0x8EC17, "NE IMPORT -> ASYLUM.30")
+set_comment(0x8EC3B, "NE IMPORT -> ASYLUM.32")
+set_comment(0x8F207, "NE IMPORT -> PHAPI.DOSMAPLINSEG")
+set_comment(0x8F232, "NE IMPORT -> PHAPI.DOSMAPLINSEG")
+set_comment(0x8F2BE, "NE IMPORT -> PHAPI.DOSMAPLINSEG")
+set_comment(0x9080E, "NE IMPORT -> DOSCALLS.7")
+set_comment(0x90866, "NE IMPORT -> PHAPI.DOSALLOCREALSEG")
+set_comment(0x90898, "NE IMPORT -> PHAPI.DOSALLOCREALSEG")
+set_comment(0x908EA, "NE IMPORT -> PHAPI.DOSALLOCREALSEG")
+set_comment(0x90BC1, "NE IMPORT -> DOSCALLS.39")
+set_comment(0x90BD3, "NE IMPORT -> DOSCALLS.7")
+set_comment(0x90D79, "NE IMPORT -> DOSCALLS.39")
+set_comment(0x90D8B, "NE IMPORT -> DOSCALLS.39")
+set_comment(0x90DF2, "NE IMPORT -> PHAPI.DOSSETPASSTOPROTVEC")
+set_comment(0x90EA5, "NE IMPORT -> PHAPI.DOSSETREALPROTVEC")
+set_comment(0x90F4E, "NE IMPORT -> PHAPI.DOSSETPROTVEC")
+set_comment(0x9B362, "NE IMPORT -> PHAPI.DOSALLOCREALSEG")
+set_comment(0x9B388, "NE IMPORT -> PHAPI.DOSALLOCREALSEG")
+set_comment(0x9B40A, "NE IMPORT -> PHAPI.DOSALLOCLINMEM")
+set_comment(0x9B479, "NE IMPORT -> PHAPI.DOSALLOCLINMEM")
+set_comment(0x9B490, "NE IMPORT -> PHAPI.DOSFREELINMEM")
+set_comment(0x9B4F5, "NE IMPORT -> PHAPI.DOSFREELINMEM")
+set_comment(0x9B576, "NE IMPORT -> PHAPI.DOSALLOCLINMEM")
+set_comment(0x9B597, "NE IMPORT -> PHAPI.DOSALLOCLINMEM")
+set_comment(0x9B661, "NE IMPORT -> PHAPI.DOSALLOCLINMEM")
+set_comment(0x9B747, "NE IMPORT -> PHAPI.DOSALLOCLINMEM")
+set_comment(0x9B7B2, "NE IMPORT -> PHAPI.DOSALLOCLINMEM")
+set_comment(0x9B7D0, "NE IMPORT -> PHAPI.DOSFREELINMEM")
+set_comment(0x9BA34, "NE IMPORT -> DOSCALLS.39")
+set_comment(0x9BA4F, "NE IMPORT -> DOSCALLS.39")
+set_comment(0x9BA96, "NE IMPORT -> PHAPI.DOSFREELINMEM")
+set_comment(0x9BB5E, "NE IMPORT -> PHAPI.DOSGETBIOSSEG")
+set_comment(0x9BB70, "NE IMPORT -> PHAPI.DOSMAPREALSEG")
+set_comment(0x9BB95, "NE IMPORT -> PHAPI.DOSMAPREALSEG")
+set_comment(0x9BBDB, "NE IMPORT -> PHAPI.DOSMAPLINSEG")
+set_comment(0x9BC31, "NE IMPORT -> PHAPI.DOSMAPLINSEG")
+set_comment(0x9BC56, "NE IMPORT -> PHAPI.DOSMAPLINSEG")
+set_comment(0x9BCB0, "NE IMPORT -> DOSCALLS.7")
+set_comment(0x9BDED, "NE IMPORT -> DOSCALLS.7")
+set_comment(0x9C541, "NE IMPORT -> PHAPI.DOSMAPLINSEG")
+set_comment(0xA5745, "NE IMPORT -> ASYLUM.56")
+set_comment(0xA57DD, "NE IMPORT -> ASYLUM.58")
+set_comment(0xA57E9, "NE IMPORT -> ASYLUM.37")
+set_comment(0xA57F3, "NE IMPORT -> ASYLUM.29")
+set_comment(0xA5800, "NE IMPORT -> ASYLUM.49")
+set_comment(0xA580F, "NE IMPORT -> ASYLUM.47")
+set_comment(0xA5816, "NE IMPORT -> ASYLUM.46")
+set_comment(0xA583D, "NE IMPORT -> ASYLUM.57")
+set_comment(0xA5ECF, "NE IMPORT -> ASYLUM.25")
+set_comment(0xA5FDD, "NE IMPORT -> ASYLUM.27")
+set_comment(0xA6021, "NE IMPORT -> ASYLUM.27")
+set_comment(0xA60CC, "NE IMPORT -> ASYLUM.27")
+set_comment(0xA6112, "NE IMPORT -> ASYLUM.25")
+set_comment(0xA61FD, "NE IMPORT -> ASYLUM.25")
+set_comment(0xA62F5, "NE IMPORT -> ASYLUM.25")
+set_comment(0xA636E, "NE IMPORT -> ASYLUM.23")
+set_comment(0xC11FC, "NE IMPORT -> ASYLUM.28")
+set_comment(0xC120D, "NE IMPORT -> ASYLUM.36")
+set_comment(0xC1520, "NE IMPORT -> ASYLUM.45")
+set_comment(0xC158C, "NE IMPORT -> ASYLUM.45")
+set_comment(0xC25C0, "NE IMPORT -> ASYLUM.47")
+set_comment(0xC25C7, "NE IMPORT -> ASYLUM.46")
+set_comment(0xC2620, "NE IMPORT -> ASYLUM.29")
+set_comment(0xC2670, "NE IMPORT -> ASYLUM.29")
+set_comment(0xC26B7, "NE IMPORT -> ASYLUM.37")
+set_comment(0xC2707, "NE IMPORT -> ASYLUM.37")
+set_comment(0xD9B39, "NE IMPORT -> ASYLUM.25")
+set_comment(0xDB1CB, "NE IMPORT -> ASYLUM.27")
+set_comment(0xE090B, "NE IMPORT -> ASYLUM.18")
+set_comment(0xE095F, "NE IMPORT -> ASYLUM.27")
+set_comment(0xE2591, "NE IMPORT -> ASYLUM.25")
+set_comment(0xE259B, "NE IMPORT -> ASYLUM.19")
+
+println("Applied %d fixup comments (%d errors)" % (count, errors))
\ No newline at end of file
diff --git a/ghidra_fixup_annotator.py b/ghidra_fixup_annotator.py
new file mode 100644
index 0000000..9768e7d
--- /dev/null
+++ b/ghidra_fixup_annotator.py
@@ -0,0 +1,121 @@
+#!/usr/bin/env python3
+"""
+Ghidra Fixup Annotator — Batch-applies NE relocation fixup comments.
+Reads ne_reloc_far_calls.tsv and applies a disassembly comment at each
+CALLF 0000:ffff call site identifying the resolved real target.
+
+Usage via Ghidra MCP: call set_disassembly_comment for each entry.
+Usage standalone: generates a Ghidra Python script (.py) for GhidraScript runner.
+
+This script generates the Ghidra-side .py script.
+"""
+
+import os, csv
+
+BASE_DIR = r'k:\ghidra\Crusader_Decomp'
+TSV_PATH = os.path.join(BASE_DIR, 'ne_reloc_far_calls.tsv')
+IMPORT_TSV = os.path.join(BASE_DIR, 'ne_reloc_far_imports.tsv')
+OUT_SCRIPT = os.path.join(BASE_DIR, 'ghidra_apply_fixup_comments.py')
+
+
+def ghidra_addr_to_flat(addr_str):
+ """Convert 'SSSS:OOOO' to flat integer."""
+ seg, off = addr_str.split(':')
+ return (int(seg, 16) << 16) + int(off, 16)
+
+
+def main():
+ # Read internal far call fixups
+ entries = []
+ with open(TSV_PATH, 'r') as f:
+ reader = csv.DictReader(f, delimiter='\t')
+ for row in reader:
+ entries.append(row)
+
+ # Read import far call fixups
+ imports = []
+ with open(IMPORT_TSV, 'r') as f:
+ reader = csv.DictReader(f, delimiter='\t')
+ for row in reader:
+ imports.append(row)
+
+ print(f"Loaded {len(entries)} internal far-call fixups")
+ print(f"Loaded {len(imports)} import far-call fixups")
+
+ # Generate Ghidra Python script
+ # The CALLF instruction is at source_ghidra (the opcode byte 0x9A).
+ # The comment should go on that instruction address.
+ lines = []
+ lines.append('# Auto-generated NE relocation fixup comments for CRUSADER-RAW.EXE')
+ lines.append('# Resolves every CALLF 0x0000:ffff to its real NE target.')
+ lines.append('# Run this in Ghidra Script Manager (Python/Jython).')
+ lines.append('')
+ lines.append('from ghidra.program.model.listing import CodeUnit')
+ lines.append('from ghidra.program.model.address import AddressSet')
+ lines.append('')
+ lines.append('listing = currentProgram.getListing()')
+ lines.append('space = currentProgram.getAddressFactory().getDefaultAddressSpace()')
+ lines.append('count = 0')
+ lines.append('errors = 0')
+ lines.append('')
+ lines.append('def set_comment(flat_addr, comment):')
+ lines.append(' global count, errors')
+ lines.append(' try:')
+ lines.append(' addr = space.getAddress(flat_addr)')
+ lines.append(' cu = listing.getCodeUnitAt(addr)')
+ lines.append(' if cu is not None:')
+ lines.append(' cu.setComment(CodeUnit.EOL_COMMENT, comment)')
+ lines.append(' count += 1')
+ lines.append(' else:')
+ lines.append(' errors += 1')
+ lines.append(' except Exception as e:')
+ lines.append(' errors += 1')
+ lines.append('')
+
+ # Internal fixups: comment = "NE FIXUP -> target_ghidra (target_label)"
+ for row in entries:
+ src = row['source_ghidra']
+ tgt = row['target_ghidra']
+ label = row['target_label']
+ # The CALLF opcode is at source_ghidra, operand at +1.
+ # But the TSV source_ghidra is the OPERAND address (file_offset of the fixup).
+ # We need the CALLF instruction address = source - 1.
+ flat = ghidra_addr_to_flat(src) - 1 # back up 1 byte to the 0x9A opcode
+ comment = f"NE FIXUP -> {tgt} ({label})"
+ lines.append(f'set_comment(0x{flat:X}, "{comment}")')
+
+ # Import fixups
+ for row in imports:
+ src = row['source_ghidra']
+ tgt = row['target']
+ flat = ghidra_addr_to_flat(src) - 1
+ comment = f"NE IMPORT -> {tgt}"
+ lines.append(f'set_comment(0x{flat:X}, "{comment}")')
+
+ lines.append('')
+ lines.append(f'println("Applied %d fixup comments (%d errors)" % (count, errors))')
+
+ with open(OUT_SCRIPT, 'w') as f:
+ f.write('\n'.join(lines))
+
+ print(f"Generated Ghidra script: {OUT_SCRIPT}")
+ print(f" {len(entries) + len(imports)} comment operations")
+ print(f" Copy to your Ghidra scripts directory and run from Script Manager.")
+
+ # Also generate a quick stats summary
+ # Count unique targets
+ target_counts = {}
+ for row in entries:
+ tgt = row['target_ghidra']
+ target_counts[tgt] = target_counts.get(tgt, 0) + 1
+
+ print(f"\n Unique internal far-call targets: {len(target_counts)}")
+ print(f"\n Top 20 most-called targets:")
+ for tgt, cnt in sorted(target_counts.items(), key=lambda x: -x[1])[:20]:
+ # Find the label
+ label = next((r['target_label'] for r in entries if r['target_ghidra'] == tgt), '?')
+ print(f" {tgt} ({label}) — {cnt} call sites")
+
+
+if __name__ == '__main__':
+ main()
diff --git a/ghidra_mcp_wishlist.md b/ghidra_mcp_wishlist.md
new file mode 100644
index 0000000..ad966ee
--- /dev/null
+++ b/ghidra_mcp_wishlist.md
@@ -0,0 +1,270 @@
+# Ghidra MCP Wishlist
+
+This file records concrete gaps in the current Ghidra MCP workflow.
+Update it whenever a task requires PyGhidra or another local-only fallback because MCP lacks the needed operation.
+
+For each new entry, keep the format short:
+- Missing capability
+- Current fallback
+- Why it matters in this repo
+- Proposed MCP endpoint or behavior
+
+## Current Wishlist
+
+### Live MCP Issues Hit During Spanish Cheat Pass (2026-03-26)
+
+- Missing capability: working `search_bytes(...)` requests against the currently opened program.
+- Current fallback: `read_region(...)`, `get_data_uses(...)`, `search_instructions(...)`, and manual/xref-driven narrowing inside `/es/CRUSADER.EXE`.
+- Why it matters: the Spanish-cheat question specifically needed a direct full-memory search for the English `jassica16` scan-code table and any plausible replacement sequence.
+- Proposed MCP behavior: `search_bytes(...)` should honor the active program context by default and return a machine-friendly empty-hit result when no matches exist, not `HTTP 404 No context found for request`.
+
+- Missing capability: reliable explicit target selection on read/query endpoints in the live server session.
+- Current fallback: repo notes plus manual project `.prp` metadata inspection after `read_region(...)` and `get_function_by_address(...)` ignored explicit root-vs-`/es` selectors and still resolved against the active Spanish program.
+- Why it matters: this repo routinely needs side-by-side comparisons between `/CRUSADER.EXE`, `/es/CRUSADER.EXE`, `/Writable/...`, and other project entries without changing the active Ghidra tab.
+- Proposed MCP behavior: all selector-aware read endpoints should actually bind to the requested `project_dir` / `project_name` / `folder_path` / `program_name`, or return a structured target-resolution failure instead of silently reading the active program.
+
+- Missing capability: consistent context handling for project/runtime metadata helpers in the live server session.
+- Current fallback: direct `get_project_access_info()` plus workspace-side `.prp` reads after `list_project_programs(...)`, `get_callers(...)`, `compare_functions(...)`, and `get_runtime_capabilities()` returned `404 No context found for request` during an otherwise healthy active-program session.
+- Why it matters: these are the exact helper endpoints needed to validate which program is active, enumerate comparison targets, and reason about whether a failure is a real analysis result or an MCP/session problem.
+- Proposed MCP behavior: metadata helpers should either work whenever an active program exists or return structured unsupported-state details, not raw 404 context failures.
+- Status update (2026-03-26, later Spanish pass): the refreshed live server still returned `404 No context found for request` for `get_runtime_capabilities(...)` and `get_callers(...)` during an active `/es/CRUSADER.EXE` session, so this is still a live deployment or routing problem, not just an earlier-session artifact.
+
+### Open Gaps Found During Hidden Usecode Debugger Patch Batch (2026-03-24)
+
+- Missing capability: write-capable project/program selection for MCP edit operations.
+- Current fallback: local PyGhidra `run-script` plus `read-region` against `--project-dir K:\ghidra\Crusader_Decomp --project-name Crusader --folder-path /Writable --program-name CRUSADER-PATCHED.EXE`.
+- Why it matters: retail NE patch work in this repo must sometimes modify and save `/Writable/CRUSADER-PATCHED.EXE` with the GUI closed, while current MCP write flows depend on the active Ghidra session/program context.
+- Proposed MCP addition: add bridge-exposed target selectors (`project_dir`, `project_name`, `folder_path`, `program_name`) for write endpoints, backed by plugin support to open the requested project file, apply `patch_bytes_and_reanalyze` or edit-plan writes, and save deterministically.
+- Status update (2026-03-24): local fork now accepts optional `project_dir`, `project_name`, `folder_path`, and `program_name` selectors on `apply_program_edit_plan` and `patch_bytes_and_reanalyze`; explicit targets are opened through `GhidraProject`, written, saved deterministically, and then released.
+- Status update (2026-03-24, follow-up): explicit target resolution now reuses an already-open matching program when possible and otherwise opens a writable domain object directly; MCP no longer opens explicit targets in read-only mode for edit operations.
+
+### Open Gaps Found During Current 0x4588 Pass (2026-03-21)
+
+- Missing capability: usable read-only scripting in the live MCP/Ghidra session.
+- Current fallback: terminal-side Python and manual MCP inspection windows after `run_readonly_script` returned `Ghidra was not started with PyGhidra. Python is not available`.
+- Why it matters: one-off structure probes and byte-pattern scans are still common during EUSECODE and overlap work, and they are much cleaner as constrained in-process reads than as external heuristics.
+- Proposed MCP addition: expose runtime capability state for `run_readonly_script` and either guarantee a working in-process script engine or return a machine-friendly unsupported-state response early.
+- Status update (2026-03-24): local fork now exposes `get_runtime_capabilities()` with readonly-script probe state and `run_readonly_script()` returns structured `status`/`reason`/`detail` output early when Python support is unavailable in the live session.
+- Status update (2026-03-24, follow-up): `open_current_program_readonly()` is now intentionally disabled and returns an unsupported-state response so MCP does not create accidental read-only program instances in normal workflow.
+
+- Status update (2026-03-21): the current live plugin process still returns HTTP 404 for direct symbol routes (`/get_symbol_at`, `/symbol_at`) in this chat session, but bridge `get_symbol_at(address)` now avoids raw 404s by falling back to compatible legacy endpoints and returning deterministic symbol-state output (for example `0x844` -> `symbol=`).
+- Remaining gap: reload/redeploy the updated plugin build so direct symbol routes are present in the live process; bridge fallback now covers older live builds in the meantime.
+- Implemented now:
+ - `get_xrefs_to(address)` / `get_xrefs_from(address)` with typed ref kinds (`call`, `read`, `write`, `jump`, `other`) plus containing-function metadata.
+ - tolerant `set_function_prototype` retries for legacy calling-convention tokens (for example `__cdecl16far`) and returns an accepted template example on parse/apply failure.
+ - `rename_data(address, new_name)` now renames or creates the primary symbol at any valid address and returns the resolved symbol metadata instead of `Rename data attempted`.
+ - `get_symbol_at(address)` returns the primary symbol state at an address so label changes can be verified directly without depending on decompiler refresh timing.
+ - `get_symbol_at(address)` now resolves the active program on the Swing thread, falls back to the visible/open program when the current-program pointer is transiently unavailable, and the bridge retries the compatible `/symbol_at` alias if a stale server route returns `404 No context found for request`.
+ - bridge `get_symbol_at(address)` now probes additional legacy aliases (`getSymbolAt`, `symbolAt`, `get_symbol`) and, if symbol routes are absent, derives symbol state from legacy endpoints (`get_function_by_address`, paged `data`) so callers receive machine-friendly output instead of a raw 404.
+- Local bridge audit (2026-03-21): `get_xrefs_to` / `get_xrefs_from` wrappers are already present in `K:\mcp\GhidraMCP\bridge_mcp_ghidra.py`; if a client still does not surface them, that is a client/tool-refresh issue rather than a missing local-fork endpoint.
+
+## Implemented In Local GhidraMCP Fork (2026-03-21)
+
+Added endpoints in `K:\mcp\GhidraMCP\src\main\java\com\lauriewired\GhidraMCPPlugin.java` and tools in `K:\mcp\GhidraMCP\bridge_mcp_ghidra.py`:
+
+- Function boundary repair:
+ - `create_function_by_address(entry, name, body_start, body_end, comment?)`
+ - `delete_function_by_address(entry)`
+ - `get_function_containing(address)`
+- Arbitrary code and memory inspection:
+ - `read_region(start, end)`
+ - `disassemble_region(start, end)`
+ - `get_instruction_window(address, before_count, after_count)`
+ - `search_instructions(query, mode=text|operand|address, limit?)`
+ - `get_data_uses(address, include_operand_scans=true, limit?)`
+- Batch and transactional edits:
+ - `set_comments(batch)`
+ - `set_decompiler_comments(batch)`
+ - `rename_functions_by_address(batch)`
+ - `apply_program_edit_plan(plan, dry_run=false)`
+- Reanalysis and repair helpers:
+ - `reanalyze_region(start, end)`
+ - `patch_bytes_and_reanalyze(start, bytes, comment?)`
+ - `analyze_function_boundaries(start, end)`
+- Read-only project access and scripting:
+ - `get_project_access_info()`
+ - `get_runtime_capabilities()`
+ - `open_current_program_readonly(version=-1, make_current=true)`
+ - `run_readonly_script(script_path|script_text)` with a constrained token denylist policy
+
+- Explicit write targeting:
+ - optional `project_dir`, `project_name`, `folder_path`, `program_name` selectors on `apply_program_edit_plan(...)`
+ - optional `project_dir`, `project_name`, `folder_path`, `program_name` selectors on `patch_bytes_and_reanalyze(...)`
+
+Batch encoding used by the current bridge:
+
+- `set_comments` and `set_decompiler_comments`: list of `(address, comment)` pairs.
+- `rename_functions_by_address`: list of `(address, new_name)` pairs.
+- `apply_program_edit_plan`: one action per line with `|` separators, for example:
+ - `create_function_by_address|000c:1234|name|000c:1234|000c:1260|note`
+ - `delete_function_by_address|000c:1234`
+ - `rename_function_by_address|000c:1234|new_name`
+ - `set_disassembly_comment|000c:1234|comment text`
+ - `set_decompiler_comment|000c:1234|comment text`
+
+Notes on read-only coverage:
+
+- `open_current_program_readonly` opens a read-only program object for the currently loaded domain file.
+- Project-switch/open-by-path is still not implemented; MCP still operates on the active Ghidra GUI project context.
+
+### Function boundary repair
+
+- Missing capability: create a function at an explicit entry with an explicit body start/end.
+- Current fallback: local PyGhidra `create-function` and JSON repair plans.
+- Why it matters: boundary repair is a recurring part of this project, especially for overlapped or truncated raw functions.
+- Proposed MCP addition: `create_function_by_address(entry, name, body_start, body_end, comment?)`.
+
+- Missing capability: delete an incorrect auto-created function.
+- Current fallback: local PyGhidra `delete-function`.
+- Why it matters: bad auto-analysis often blocks decompilation of adjacent real functions.
+- Proposed MCP addition: `delete_function_by_address(entry)`.
+
+- Missing capability: get the function containing an arbitrary address.
+- Current fallback: local PyGhidra `get-function-containing`.
+- Why it matters: no-function windows and overlap investigations depend on quickly mapping instruction hits back to owning functions.
+- Proposed MCP addition: `get_function_containing(address)`.
+
+### Arbitrary code and memory inspection
+
+- Missing capability: read raw bytes from an arbitrary address range in program memory.
+- Current fallback: local PyGhidra `read-region`.
+- Why it matters: some important sites are real code bytes that are not yet part of any function object.
+- Proposed MCP addition: `read_region(start, end)` returning bytes and a compact hex view.
+
+- Missing capability: dump nearby instructions around an arbitrary address even when no function exists there.
+- Current fallback: custom read-only PyGhidra scripts such as `pyghidra_plans/dump_instruction_windows.py`.
+- Why it matters: the `0x4588` investigation depended on inspecting instruction windows in no-function regions.
+- Proposed MCP addition: `disassemble_region(start, end)` or `get_instruction_window(address, before_count, after_count)`.
+
+- Missing capability: scan all instructions for a literal operand or address token.
+- Current fallback: custom PyGhidra scripts such as `scan_4588_instruction_uses.py`.
+- Why it matters: normal xref APIs can miss useful operand-text hits in partially analyzed regions.
+- Proposed MCP addition: `search_instructions(query, mode=text|operand|address, limit?)`.
+
+- Missing capability: robust data-address xrefs that include operand-based uses even when the reference manager has none.
+- Current fallback: instruction-text scans and manual disassembly windows.
+- Why it matters: globals like `0x4588` can be heavily used before formal references exist in the database.
+- Proposed MCP addition: `get_data_uses(address, include_operand_scans=true)`.
+
+### Batch and transactional edits
+
+- Missing capability: apply a small transactional edit plan containing function removals, function creations, renames, and comments.
+- Current fallback: local PyGhidra `apply-plan` with JSON.
+- Why it matters: boundary repair work is safer when a verified batch can be replayed atomically.
+- Proposed MCP addition: `apply_program_edit_plan(plan)` with dry-run support.
+
+- Missing capability: batch comment creation for a verified address set.
+- Current fallback: repeated single-address comment calls or PyGhidra plan files.
+- Why it matters: reverse-engineering batches often produce several related evidence comments at once.
+- Proposed MCP addition: `set_comments(batch)` and `set_decompiler_comments(batch)`.
+
+- Missing capability: batch rename-by-address for a small verified set.
+- Current fallback: repeated `rename_function_by_address` calls or local plan files.
+- Why it matters: verified raw-import ports often land in short, evidence-backed batches.
+- Proposed MCP addition: `rename_functions_by_address(batch)`.
+
+### Reanalysis and repair helpers
+
+- Missing capability: re-disassemble or reanalyze a small address range after patching bytes or changing function boundaries.
+- Current fallback: local scripted repair passes.
+- Why it matters: the far-call fixup workflow and boundary recovery both depend on deterministic reanalysis of touched ranges.
+- Proposed MCP addition: `reanalyze_region(start, end, options?)`.
+
+- Missing capability: patch a small byte range and immediately re-disassemble affected instructions.
+- Current fallback: local PyGhidra repair scripts.
+- Why it matters: the NE far-call fixup pass was a major workflow improvement and is exactly the sort of task MCP should eventually support.
+- Proposed MCP addition: `patch_bytes_and_reanalyze(start, bytes, comment?)`.
+
+- Missing capability: detect likely bad function overlaps or candidate function starts in a small range.
+- Current fallback: manual repair plus custom PyGhidra probing.
+- Why it matters: overlap repair is one of the main reasons the workflow still has to leave MCP.
+- Proposed MCP addition: `analyze_function_boundaries(start, end)` returning overlap warnings and candidate entries.
+
+### Read-only project access and scripting
+
+- Missing capability: open a locked project read-only or query a specified project clone directly from MCP.
+- Current fallback: local PyGhidra against an unlocked temporary project clone.
+- Why it matters: the GUI often owns the main project while read-only inspection still needs to continue.
+- Proposed MCP addition: read-only project selection/open options for all analysis endpoints.
+
+- Missing capability: run a small read-only script for one-off inspections that do not justify a permanent MCP endpoint yet.
+- Current fallback: local PyGhidra `run-script --read-only`.
+- Why it matters: several repo workflows start as one-off analysis helpers before they prove worth productizing.
+- Proposed MCP addition: a constrained `run_readonly_script(script_text|script_path)` endpoint with explicit safety limits.
+
+### Migrated entries from `ghidra-mcp_wishlist.md`
+
+Short, concrete gaps hit during live Crusader work. Each entry records what MCP lacked, what fallback was needed, and what a useful MCP feature should look like.
+
+## Open Gaps (migrated)
+
+### Byte-pattern search across program memory
+
+- Status: implemented in local fork (2026-03-26)
+- Missing MCP capability: search raw bytes or byte patterns across the current program's mapped segments / address spaces.
+- Fallback used: manual `read_region` sweeps plus local Python over the MCP HTTP bridge to scan live Spanish `CRUSADER.EXE` memory for the `jassica16` scan-code table.
+- Useful MCP feature:
+ - `search_bytes(pattern, start?, end?, segment_filter?, max_hits?)`
+ - accepts hex byte patterns with optional wildcards
+ - returns exact hit addresses plus nearby hex context
+- Why it matters: this would have closed the Spanish cheat-sequence question directly inside MCP instead of forcing ad hoc local scripting.
+- Status update (2026-03-26): local fork now exposes `search_bytes(pattern, start?, end?, segment_filter?, max_hits?)` in both the Java plugin and Python bridge; it accepts `??` wildcards, scans mapped memory blocks, and returns machine-friendly hit lines with block names and nearby hex context.
+
+### Reliable caller/xref recovery for local call sites
+
+- Status: implemented in local fork (2026-03-26)
+- Missing MCP capability: reliable function-call xrefs for near/local calls inside the active program.
+- Fallback used: manual `search_instructions` and instruction-window inspection because `get_function_xrefs` did not surface some obvious local call sites in the Spanish keyboard/helper cluster.
+- Useful MCP feature:
+ - improve `get_function_xrefs` so it includes near calls, far calls, tail-call-style jumps, and thunk references consistently
+ - or add `get_callers(address_or_name, include_near=true, include_far=true, include_jumps=true)`
+- Why it matters: tracing helper chains around hidden key-sequence code is slower and less reliable when local callers have to be reconstructed by text search.
+- Status update (2026-03-26): local fork now exposes `get_callers(target, include_near=true, include_far=true, include_jumps=true, limit?)`, combining reference-manager hits with instruction-flow scans so local near-call sites show up even when plain xrefs are incomplete; `get_function_xrefs` now reuses the same caller recovery path.
+
+### Cross-program reads inside the same Ghidra project
+
+- Status: implemented in local fork (2026-03-26)
+- Missing MCP capability: read/query another program or assembly in the same project without switching the active program first.
+- Fallback used: indirect comparison against repo notes, workspace-side files, and ad hoc local scripts instead of querying `/CRUSADER.EXE`, `/es/CRUSADER.EXE`, `/Writable/...`, or other domain files side by side through MCP.
+- Useful MCP feature:
+ - allow explicit target selectors on all read/query endpoints, not only write endpoints
+ - example: `read_region(start, end, project_dir?, project_name?, folder_path?, program_name?)`
+ - same for strings, functions, xrefs, data uses, decompile, disassemble, symbol lookup, and segment listing
+- Why it matters: live localized-build comparisons and writable-copy verification should not require changing the active Ghidra tab just to inspect another program.
+- Status update (2026-03-26): read/query endpoints in the local fork now accept optional explicit target selectors (`project_dir`, `project_name`, `folder_path`, `program_name`) and reuse the same target-resolution layer as write flows; this now covers method/class listings, segments, imports/exports, namespaces, data items, function lookup/listing, decompile/disassembly, symbol lookup, regions, instruction scans, strings, xrefs, and data-use queries.
+
+### Cross-project / cross-program compare tooling
+
+- Status: implemented in local fork (2026-03-26)
+- Missing MCP capability: first-class compare operations between two programs in the same project or across projects.
+- Fallback used: manual note-to-note comparison, address math, and repeated per-program queries.
+- Useful MCP feature:
+ - `compare_regions(left_program, left_range, right_program, right_range, mode=bytes|words|disasm|strings)`
+ - `compare_strings(left_program, right_program, filter?)`
+ - `compare_functions(left_program, left_addr_or_name, right_program, right_addr_or_name, mode=signature|disasm|decompile|xrefs)`
+ - machine-readable output with address pairs, similarity score, and differing bytes/instructions/strings
+- Why it matters: this would make English vs Spanish / Remorse vs Regret / raw vs live NE comparisons much faster and less error-prone.
+- Status update (2026-03-26): local fork now exposes `compare_regions(...)`, `compare_strings(...)`, and `compare_functions(...)` with left/right explicit target selectors; outputs are machine-friendly and include comparison mode, similarity score, and capped difference samples for byte/word, disassembly, string, signature, decompile, and xref views.
+
+### Port renames/comments/symbol facts between programs
+
+- Status: implemented in local fork (2026-03-26)
+- Missing MCP capability: apply verified names/comments from one program to another program with explicit provenance instead of re-entering them one by one.
+- Fallback used: manual rename/comment batches plus external notes to carry mapping provenance.
+- Useful MCP feature:
+ - `port_symbols(source_program, target_program, mappings, apply=names|comments|both, provenance_comment_template?)`
+ - support direct address maps, segment-relative maps, and user-supplied CSV/JSON mapping tables
+ - dry-run mode showing collisions and ambiguous targets
+- Why it matters: porting verified English or raw-import findings into Spanish or live NE targets is a recurring workflow.
+- Status update (2026-03-26): local fork now exposes `port_symbols(mappings, apply=names|comments|both, provenance_comment_template?, dry_run?)` with `source_*` and `target_*` selectors; the bridge accepts a verified list of source/target address pairs and the plugin ports names plus PRE/EOL comments with optional provenance text and explicit-target save support.
+
+### Project inventory / browse endpoint
+
+- Status: implemented in local fork (2026-03-26)
+- Missing MCP capability: list project folders and available programs through MCP.
+- Fallback used: repo-side assumptions and local tooling; the current MCP read tools expose only the active program cleanly.
+- Useful MCP feature:
+ - `list_project_programs(project_dir?, project_name?, folder_path?, recursive=true)`
+ - returns folder path, program name, read-only/writable/versioned state, and whether it is currently open
+- Why it matters: comparing or porting across programs is awkward without a discoverable inventory of assemblies already in the Ghidra project.
+- Status update (2026-03-26): local fork now exposes `list_project_programs(project_dir?, project_name?, folder_path?, recursive=true)` plus a `project_programs` alias; it walks project folders and returns machine-friendly program inventory lines with folder path, program name, content type, read-only/versioned flags, and current-open state.
\ No newline at end of file
diff --git a/plan-mid.md b/plan-mid.md
index dc43bf6..dd8e639 100644
--- a/plan-mid.md
+++ b/plan-mid.md
@@ -54,6 +54,7 @@ Detailed completed analysis belongs in the files under `docs/`, not in this plan
- The USECODE tooling lane now also has a first full readable corpus export: `tools/export_usecode_pseudocode.py` writes `977` current pseudocode bodies into `USECODE/EUSECODE_extracted/pseudocode`, and the first focused read of that corpus now shows `JELYHACK::use` / `JELYH2::use` as tiny shared `set_info(0x0207) -> process_exclude -> return` stubs rather than hidden active event cores.
- The USECODE tooling lane now also has two new follow-up notes grounded in the exported corpus: `docs/usecode-tool-improvement-plan.md` turns the Pentagram/`crusader-disasm` comparison into a concrete parser roadmap, and `docs/usecode-alarmhat-analysis.md` records the current best evidence-backed read of `ALARMHAT::equip` as a frame-driven local alarm-state controller that equips nearby `shape 0x04D0` helper objects in different modes.
- The USECODE tooling lane now also has a broader equipment-event note: `docs/usecode-equipment-system.md` records live binary proof that `Item_Equip` / `Item_Unequip` are real generic usecode event dispatchers gated by owner-row capability masks (`0x400` / `0x800`), and that the exported corpus currently contains `77` `equip` bodies plus `50` `unequip` bodies spread across actor, turret, alarm, conveyor, camera, and hazard classes. Current best read is `surviving Ultima-style event vocabulary generalized into activation/setup/state-change semantics`, not yet `fully proven paper-doll RPG gear subsystem`.
+- The USECODE tooling lane now also has its first implemented readability follow-through from that improvement list: `tools/poc_crusader_usecode_parser.py` and `tools/export_usecode_pseudocode.py` now regenerate the full `977`-body corpus with one verified wrapper alias seed (`FREE.waitNTimerTicks` for `0A0C:0032`), class-name-aware target rendering (`FREE.slot_21`, `BLASTPAC.slot_20`, `TRIGGER.slot_20`, etc.), first-pass selector decoding that upgrades the simpler alarm/trigger `loopscr` runs into `for ... in nearby_items(shape=..., origin=...)` / `for ... in nearby_items(family=..., origin=...)` loops, and a second readable selector-family fallback that collapses raw `loopscr 0x42` runs into `selector_0x42(arg0=..., arg1=..., arg2=..., origin=...)` annotations or `for ... in selector_0x42(...)` loops where the control flow is simple enough.
- The USECODE/VM lane now also has a verified generic masked-context creation hub (`000d:463a`) plus two concrete sequencer-internal consumer blocks (`000d:208b`, `000d:21ed`) built directly on `entity_vm_context_create_from_slot_index`.
- The USECODE/VM lane now also has first caller-role evidence outside the older seg021 wrapper island: the new seg004 callers keep masks `0x8000:0x0007` and `0x2000:0x0015` in gameplay-side materialization lanes, while the newly named seg006 helpers now separate one extra-word masked lane with a real local class-state transition fallback (`0x0008:0x0030`) from a guarded `0x0010:0x0008` materializer that simply returns `0` on miss after readiness checks.
- The USECODE/VM lane now also has a wider verified higher-slot wrapper ladder: the `0005` island reaches slot ordinals `0x10..0x14`, slot `0x12` is a zero-extra-word lane, slots `0x11/0x13/0x14` carry extra-word payloads, and the current safest read is `slot-stable payload-shape taxonomy` rather than direct event-name promotion.
@@ -128,6 +129,10 @@ Detailed completed analysis belongs in the files under `docs/`, not in this plan
- The print inventory behind that same `-debug` lane is now materially tighter too. A focused pass recovered concrete `ConsolePrintf` / `DebugPrintAndWaitForInput` strings instead of only caller families: startup/arg strings such as `Debugging mode ON.`, `You DO need help!`, `Enabling ENHANCED mode. (NOT!)`, `Warping to mission %d ...`, `Defaulting to skill level %d`, and `Demo mode.`; init/config strings such as `Using map patch file.`, `Running with partial installation.`, `Running with full installation.`, and `Redirecting mission %d tune to '%s'`; cache/swap progress scaffolding such as `Creating Swap file [` and repeated `.` / bracket fragments; plus stronger failure/debug-stop fingerprints like `COULD NOT CREATE GLOB ITEM!`, `No room for Dispatcher Record/Playback.`, `End of script! (press any key)`, and `Out of Memory! [%u]`. Recovered call levels so far are `0x32` and `0xff`, both above the `-debug` threshold of `10`, which reinforces that the practical scarcity of visible text is about path frequency and graphics-mode presentation, not about the threshold still filtering these known messages out.
- The older folklore claim about flat offset `E69FB` and a possible secondary monochrome monitor is now materially weaker too. Local NE-segment mapping puts `0xE69FB` at live address `1478:2dfb`, which falls inside the `SYSTIMER.C` string in a data/name table (`KeyboardProcess`, `KEYIO.C`, `PRIORITY.C`, `SystemTimer`, `SYSTIMER.C`, `AccWait`), not inside executable instructions. The current retail print lane still points to ordinary `stdout` at `1478:6c46`, and targeted searches found no direct `mono`/`monochrome`/`hercules`/`MDA` strings or obvious monochrome-adapter port/memory references (`0x3b4/0x3b5/0x3b8/0x3ba`, `B000`). Current best read is therefore `folklore or address-mapping mistake`, not evidence for a hidden retail secondary-monitor debug display.
- A focused localized-build comparison is now tighter too. The live `/es/CRUSADER.EXE` pass still shows the same broad cheat/debug framework with shifted addresses rather than a rewritten system: `-laurie` sets the broad master gate at `1478:0910`, the gameplay-input gate still exists at `1478:0927`, the lower keyboard-cheat latch still exists at `1478:5fb3`, event `0x410` at `13e8:2211` still toggles the CD transfer display, and `13e8:24a5` still toggles Hack Mover with English-facing strings. But the sequence side is narrower and more specific now: a direct live byte scan found no exact `jassica16` table `24 1e 1f 1f 17 2e 1e 02 07 00` anywhere in Spanish data `1478:0000-8c3f` or `1480:0000-1fff`, and the old English-side slot at `1478:2833` now holds pointer-like words instead of the matcher bytes. The same pass also surfaced a likely Spanish post-sequence latch analog: Hack Mover is pre-gated by `1478:8ad6` before the broad gate check. So the remaining open question is no longer "does Spanish have the same cheat/debug family"; it is "where did the Spanish secret matcher move, and what writes `1478:8ad6`?" Detailed notes now live in `docs/spanish-cheat-differences.md`.
+- The follow-up Spanish-cheat pass narrows that further: in the live `/es/CRUSADER.EXE` database, `1478:0910` still has only the `-laurie` write at `1050:0985`, `1478:5fb3` still has only the Laurie-hint helper writes at `13e8:0071/0077`, and `1478:8ad6` still has no recovered direct writer even though `13e8:249b` tests it before Hack Mover. The old English matcher slot at `1478:2833` remains repurposed as pointer-like words, and the only explicit multi-key helper recovered in this pass (`11d0:024b`) is just a generic key-list membership check used from a movement/control cluster, not a cheat-toggle lane. Current best read is therefore now stronger than "unknown moved Spanish matcher": no live replacement cheat-trigger byte matcher has been recovered at all, and the remaining proof frontier is any non-`-laurie` writer of `1478:0910` or a real writer for `1478:8ad6`.
+- The next localized-build pass narrows the practical keyboard side too. Full decompilation of `World_HandleKeyboardInput` (`13e8:14b4`) still shows the Spanish broad-gate debug family (`0x141`, `0x241`, `0x410`, Hack Mover), but no recovered translated `~` / `0x7e` cheat-latch branch. That means the old English `-laurie` plus tilde bootstrap is no longer a defensible Spanish assumption: `-laurie` still raises `1478:0910`, but no runtime tilde writer of `1478:5fb3` has been recovered, and `1478:5fb3` itself now reads more like a widely consulted gate byte than a proven English-style keyboard-cheat latch.
+- The deeper keyboard-handler pass strengthens that again: `1478:5fb3` is not just missing a recovered tilde writer, it no longer behaves like a positive enable latch at all. Every recovered consumer in `World_HandleKeyboardInput` requires `1478:5fb3 == 0`, and the only recovered writers are the Laurie-hint helper pulse `13e8:0071` then `13e8:0077`, which leaves the byte cleared. Current best localized-build answer to the user-facing cheat question is therefore: `-laurie` is the only recovered positive enabler for the surviving broad Spanish cheat/debug hotkeys, while Hack Mover remains separately blocked behind the still-unwritten `1478:8ad6` gate.
+- The next Spanish follow-up narrows two remaining folklore assumptions too. First, the old English immortality-string slots at `1478:2850/2866` are repurposed as pointer-like data in `/es/CRUSADER.EXE`, and no direct uses of those addresses were recovered, so the English `F10` replenish / immortality path is now `unproven in Spanish` rather than merely `not yet re-closed`. Second, the new `8ad6` hunt found a nearby runtime-state cluster at `8ad7/8ad8/8ad9`, but the actual neighbor writes belong to gameplay-input modal helpers and the Hack-Mover-adjacent runtime helper `13e8:282f`; they still do not touch `8ad6`, which keeps the best writer hypothesis pointed at an indirect or script-driven path rather than ordinary compiled keyboard logic.
### Recently Closed Or No Longer Live
diff --git a/tools/export_usecode_pseudocode.py b/tools/export_usecode_pseudocode.py
index caedd09..077220e 100644
--- a/tools/export_usecode_pseudocode.py
+++ b/tools/export_usecode_pseudocode.py
@@ -12,7 +12,13 @@ if str(REPO_ROOT) not in sys.path:
sys.path.insert(0, str(REPO_ROOT))
-from tools.poc_crusader_usecode_parser import EXTRACTED_ROOT, parse_body_ir, render_pseudocode
+from tools.poc_crusader_usecode_parser import (
+ EXTRACTED_ROOT,
+ default_shape_catalog_path,
+ load_shape_catalog,
+ parse_body_ir,
+ render_pseudocode,
+)
def load_rows(class_event_index: Path) -> list[dict[str, str]]:
@@ -42,6 +48,14 @@ def safe_name(value: str) -> str:
return cleaned.strip("._") or "unknown"
+def describe_row(row: dict[str, str]) -> str:
+ class_name = row.get("class_name_hint") or "unknown"
+ slot = parse_int(row.get("slot", "0"))
+ event_name = row.get("event_name_hint") or f"slot_{slot:02X}"
+ entry_index = row.get("entry_index", "?")
+ return f"entry {entry_index} {class_name}::${event_name}".replace("::$", "::") + f" (slot 0x{slot:02X})"
+
+
def output_path_for_row(output_root: Path, row: dict[str, str]) -> Path:
class_name = row["class_name_hint"]
slot = parse_int(row["slot"])
@@ -119,35 +133,57 @@ def main() -> None:
default="auto",
help="Crusader intrinsic numbering to apply during export (default: auto, fallback regret)",
)
+ parser.add_argument(
+ "--shape-csv",
+ help=(
+ "Shape catalog CSV to apply to pseudocode output "
+ "(default: Remorse uses /usecode_shape_catalog_remorse.csv; "
+ "Regret uses /usecode_shape_catalog_regret.csv)"
+ ),
+ )
args = parser.parse_args()
extracted_root = Path(args.extracted_root)
class_event_index = extracted_root / "class_event_index.tsv"
class_layout_index = extracted_root / "class_layout_index.tsv"
output_root = Path(args.output_dir) if args.output_dir else extracted_root / "pseudocode"
+ shape_csv = Path(args.shape_csv) if args.shape_csv else default_shape_catalog_path(extracted_root, args.variant)
+ shape_catalog = load_shape_catalog(shape_csv)
output_root.mkdir(parents=True, exist_ok=True)
rows = load_rows(class_event_index)
+ work_rows = [row for row in rows if row.get("derived_body_start") and row.get("derived_body_end")]
layout_by_entry = load_layout_by_entry(class_layout_index)
index_rows: list[dict[str, str]] = []
exported = 0
- for row in rows:
- if not row.get("derived_body_start") or not row.get("derived_body_end"):
- continue
+ print(
+ f"Exporting pseudocode from {extracted_root} to {output_root} using variant={args.variant} and shape_csv={shape_csv}",
+ flush=True,
+ )
+ for position, row in enumerate(work_rows, start=1):
entry_index = parse_int(row["entry_index"])
layout_row = layout_by_entry.get(entry_index)
if layout_row is None:
+ print(
+ f"[{position}/{len(work_rows)}] Skipping {describe_row(row)} because no layout row was found",
+ flush=True,
+ )
continue
+
+ label = describe_row(row)
+ print(f"[{position}/{len(work_rows)}] Decoding {label}", flush=True)
ir = parse_body_ir(row, layout_row, None if args.variant == "auto" else args.variant, extracted_root)
- pseudocode = render_pseudocode(ir)
+ print(f"[{position}/{len(work_rows)}] Rendering {label}", flush=True)
+ pseudocode = render_pseudocode(ir, shape_catalog=shape_catalog)
path = output_path_for_row(output_root, row)
path.parent.mkdir(parents=True, exist_ok=True)
path.write_text(pseudocode, encoding="utf-8")
index_rows.append(build_index_row(output_root, row, path, ir))
exported += 1
+ print(f"[{position}/{len(work_rows)}] Wrote {path.relative_to(output_root.parent).as_posix()}", flush=True)
write_index(output_root, index_rows)
write_readme(output_root, exported)
diff --git a/tools/poc_crusader_usecode_parser.py b/tools/poc_crusader_usecode_parser.py
index e568f16..4095472 100644
--- a/tools/poc_crusader_usecode_parser.py
+++ b/tools/poc_crusader_usecode_parser.py
@@ -6,6 +6,7 @@ import csv
import hashlib
import json
import re
+from functools import lru_cache
from dataclasses import dataclass
from pathlib import Path
from typing import Any
@@ -457,6 +458,158 @@ VARIANT_INTRINSIC_CALLSITE_HINTS: dict[str, dict[tuple[int, int], str]] = {
}
+CLASS_EVENT_NAME_HINTS: dict[tuple[int, int], str] = {
+ (0x0A0C, 0x32): "waitNTimerTicks",
+}
+
+
+LOOP_SELECTOR_FIELD_HINTS = {
+ 0x3A: "family",
+ 0x40: "shape",
+}
+
+SHAPE_CATALOG_FILENAME = "usecode_shape_catalog.csv"
+SHAPE_CATALOG_FILENAMES = {
+ "remorse": "usecode_shape_catalog_remorse.csv",
+ "regret": "usecode_shape_catalog_regret.csv",
+}
+SHAPE_CATALOG_FIELDNAMES = ["shape_code", "human_readable_id", "description"]
+NUMERIC_SHAPE_LITERAL_PATTERN = r"(?:0x[0-9A-Fa-f]+|\d+)"
+SHAPE_REFERENCE_PATTERNS = (
+ re.compile(rf"(?P\bshape=)(?P{NUMERIC_SHAPE_LITERAL_PATTERN})\b"),
+ re.compile(
+ rf"(?P\bItem\.(?:getShape|getType)\([^\)\n]*\)\s*(?:==|!=|<=|>=|<|>)\s*)(?P{NUMERIC_SHAPE_LITERAL_PATTERN})\b"
+ ),
+ re.compile(rf"(?P\bItem\.create\(\s*[^,\n]+,\s*)(?P{NUMERIC_SHAPE_LITERAL_PATTERN})\b"),
+ re.compile(rf"(?P\bItem\.legal_create\(\s*)(?P{NUMERIC_SHAPE_LITERAL_PATTERN})\b"),
+)
+
+ShapeCatalog = dict[int, dict[str, str]]
+
+
+def infer_shape_catalog_variant(extracted_root: Path | str | None = None, game_variant: str | None = None) -> str | None:
+ normalized = normalize_game_variant(game_variant)
+ if normalized is not None:
+ return normalized
+
+ root = resolve_extracted_root(extracted_root)
+ inferred = infer_game_variant_from_path(root)
+ if inferred is not None:
+ return inferred
+
+ try:
+ relative_root = root.resolve().relative_to(REPO_ROOT.resolve())
+ except ValueError:
+ relative_root = None
+
+ if relative_root is not None:
+ relative_parts = tuple(part.lower() for part in relative_root.parts)
+ if relative_parts[:2] == ("usecode", "eusecode_extracted"):
+ return "remorse"
+ if relative_parts[:3] == ("usecode", "regret", "regret_usecode_extracted"):
+ return "regret"
+ return None
+
+
+def default_shape_catalog_path(
+ extracted_root: Path | str | None = None,
+ game_variant: str | None = None,
+) -> Path:
+ root = resolve_extracted_root(extracted_root)
+ variant = infer_shape_catalog_variant(root, game_variant)
+ filename = SHAPE_CATALOG_FILENAMES.get(variant, SHAPE_CATALOG_FILENAME)
+ return root / filename
+
+
+def format_shape_code(shape_code: int) -> str:
+ return f"0x{shape_code:04X}"
+
+
+def load_shape_catalog(path: Path | str | None) -> ShapeCatalog:
+ if path is None:
+ return {}
+
+ shape_path = Path(path)
+ if not shape_path.exists():
+ return {}
+
+ catalog: ShapeCatalog = {}
+ with shape_path.open("r", encoding="utf-8", newline="") as handle:
+ reader = csv.DictReader(handle)
+ for row in reader:
+ shape_code = try_parse_int((row.get("shape_code") or "").strip())
+ if shape_code is None:
+ continue
+ catalog[shape_code] = {
+ "shape_code": format_shape_code(shape_code),
+ "human_readable_id": (row.get("human_readable_id") or "").strip(),
+ "description": row.get("description") or "",
+ }
+ return catalog
+
+
+def shape_catalog_identifier(shape_code: int, shape_catalog: ShapeCatalog | None = None) -> str | None:
+ if not shape_catalog:
+ return None
+
+ row = shape_catalog.get(shape_code)
+ if row is None:
+ return None
+
+ human_readable_id = (row.get("human_readable_id") or "").strip()
+ if not human_readable_id:
+ return None
+ return sanitize_identifier(human_readable_id)
+
+
+def format_shape_reference(
+ shape_code: int,
+ shape_catalog: ShapeCatalog | None = None,
+ frame_expr: str | None = None,
+) -> str:
+ base = shape_catalog_identifier(shape_code, shape_catalog) or format_shape_code(shape_code)
+ if frame_expr is None or not frame_expr.strip():
+ return base
+ return f"{base}[{frame_expr}]"
+
+
+def iter_shape_code_matches(text: str):
+ for pattern in SHAPE_REFERENCE_PATTERNS:
+ for match in pattern.finditer(text):
+ shape_code = try_parse_int(match.group("value"))
+ if shape_code is not None:
+ yield shape_code
+
+
+def collect_shape_codes_from_pseudocode(text: str) -> set[int]:
+ return set(iter_shape_code_matches(text))
+
+
+def apply_shape_catalog_to_pseudocode(text: str, shape_catalog: ShapeCatalog | None = None) -> str:
+ if not shape_catalog:
+ return text
+
+ def replace_match(match: re.Match[str]) -> str:
+ shape_code = try_parse_int(match.group("value"))
+ if shape_code is None:
+ return match.group(0)
+
+ shape_id = shape_catalog_identifier(shape_code, shape_catalog)
+ if shape_id is None:
+ return match.group(0)
+ return f"{match.group('prefix')}{shape_id}"
+
+ rendered = text
+ for pattern in SHAPE_REFERENCE_PATTERNS:
+ rendered = pattern.sub(replace_match, rendered)
+ return rendered
+
+
+def generic_loop_selector_call(name: str, arguments: list[tuple[str, str]]) -> str:
+ rendered_args = ", ".join(f"{label}={expr}" for label, expr in arguments)
+ return f"{name}({rendered_args})"
+
+
def normalize_game_variant(value: str | None) -> str | None:
if value is None:
return None
@@ -998,6 +1151,24 @@ def load_tsv_rows(path: Path) -> list[dict[str, str]]:
return list(csv.DictReader(handle, delimiter="\t"))
+@lru_cache(maxsize=None)
+def load_class_name_hints_by_id(extracted_root_key: str) -> dict[int, str]:
+ _, class_layout_index, _, _ = extracted_root_paths(Path(extracted_root_key))
+ hints: dict[int, str] = {}
+ for row in load_tsv_rows(class_layout_index):
+ class_id = try_parse_int(row.get("class_id", ""))
+ class_name = (row.get("class_name_hint") or "").strip()
+ if class_id is None or not class_name:
+ continue
+ hints[class_id] = class_name
+ return hints
+
+
+def class_name_hints_by_id(extracted_root: Path | str | None = None) -> dict[int, str]:
+ root = resolve_extracted_root(extracted_root)
+ return load_class_name_hints_by_id(str(root))
+
+
def find_chunk_file(entry_index: int, extracted_root: Path | str | None = None) -> Path:
_, _, _, chunks_dir = extracted_root_paths(extracted_root)
matches = sorted(chunks_dir.glob(f"chunk_{entry_index:03d}_*.bin"))
@@ -1174,6 +1345,7 @@ def parse_body_ir(
resolved_game_variant = resolve_game_variant(game_variant, chunk_file)
intrinsic_hints = get_intrinsic_hints(resolved_game_variant, chunk_file)
intrinsic_callsite_hints = get_intrinsic_callsite_hints(resolved_game_variant, chunk_file)
+ target_class_name_hints = class_name_hints_by_id(resolved_extracted_root)
body_start = parse_int(event_row["derived_body_start"])
body_end = parse_int(event_row["derived_body_end"])
@@ -1190,6 +1362,10 @@ def parse_body_ir(
while offset < len(body):
result = parse_one_op(body, offset, intrinsic_hints, intrinsic_callsite_hints)
if result.op is not None:
+ operands = result.op["operands"]
+ if "target_class_id" in operands:
+ class_id = operands["target_class_id"]
+ operands["target_class_name_hint"] = target_class_name_hints.get(class_id)
result.op["absolute_body_offset"] = body_start + result.op["offset"]
ops.append(result.op)
if result.end_reason is not None:
@@ -1598,9 +1774,7 @@ def format_script_statement(op: dict[str, Any], label_map: dict[int, str], body_
target = label_map.get(body_start + operands["target_offset"], f"0x{body_start + operands['target_offset']:04X}")
return f"call {target}"
if mnemonic == "call_class_event":
- event_hint = operands.get("target_event_name_hint")
- suffix = f" {event_hint}" if event_hint else ""
- return f"call class 0x{operands['target_class_id']:04X}.slot 0x{operands['target_event_slot']:02X}{suffix}"
+ return f"call {format_target_event_reference(operands)}"
if mnemonic in {"append_unique_inline", "append_unique_indirect", "remove_matching_indirect", "remove_matching_inline"}:
return f"{mnemonic} size=0x{operands['element_size']:X}"
if mnemonic == "create_list":
@@ -1617,17 +1791,13 @@ def format_script_statement(op: dict[str, Any], label_map: dict[int, str], body_
target = label_map.get(body_start + operands["target_offset"], f"0x{body_start + operands['target_offset']:04X}")
return f"{mnemonic} {operands['target_var']} elem_size=0x{operands['element_size']:X} -> {target}"
if mnemonic == "spawn":
- event_hint = operands.get("target_event_name_hint")
- suffix = f" {event_hint}" if event_hint else ""
return (
- f"spawn class 0x{operands['target_class_id']:04X}.slot 0x{operands['target_event_slot']:02X}{suffix} "
+ f"spawn {format_target_event_reference(operands)} "
f"args=0x{operands['arg_bytes']:02X} this_size=0x{operands['this_size']:02X}"
)
if mnemonic == "spawn_inline":
- event_hint = operands.get("target_event_name_hint")
- suffix = f" {event_hint}" if event_hint else ""
return (
- f"spawn_inline class 0x{operands['target_class_id']:04X}.slot 0x{operands['target_event_slot']:02X}{suffix} "
+ f"spawn_inline {format_target_event_reference(operands)} "
f"inline=0x{operands['inline_offset']:04X} this_size=0x{operands['this_size']:02X} unk=0x{operands['unknown']:02X}"
)
if mnemonic == "line_number":
@@ -1701,6 +1871,20 @@ def sanitize_identifier(name: str) -> str:
return identifier
+def target_event_display_name(operands: dict[str, Any]) -> str:
+ class_id = operands["target_class_id"]
+ slot = operands["target_event_slot"]
+ return CLASS_EVENT_NAME_HINTS.get((class_id, slot)) or operands.get("target_event_name_hint") or f"slot_{slot:02X}"
+
+
+def format_target_event_reference(operands: dict[str, Any]) -> str:
+ class_name_hint = operands.get("target_class_name_hint")
+ event_name = sanitize_identifier(target_event_display_name(operands))
+ if class_name_hint:
+ return f"{sanitize_identifier(class_name_hint)}.{event_name}"
+ return f"class_{operands['target_class_id']:04X}_{event_name}"
+
+
def build_local_name_map(ir: dict[str, Any]) -> dict[int, str]:
return {
symbol["bp_offset"]: sanitize_identifier(symbol["name"])
@@ -1782,6 +1966,105 @@ def combine_binary(stack: list[tuple[str, int]], operator: str, result_width: in
stack.append((f"({left_expr} {operator} {right_expr})", result_width))
+def evaluate_loop_setup_op(
+ op: dict[str, Any],
+ stack: list[tuple[str, int]],
+ local_name_map: dict[int, str],
+) -> bool:
+ pushed = push_expr_from_op(op, local_name_map)
+ if pushed is not None:
+ stack.append(pushed)
+ return True
+
+ mnemonic = op["mnemonic"]
+ operands = op["operands"]
+ if mnemonic == "push_indirect":
+ if stack:
+ expr, _ = stack.pop()
+ stack.append((f"*({expr})", max(1, operands["size"])))
+ return True
+ if mnemonic in {"add", "add_dword"}:
+ combine_binary(stack, "+", 4 if mnemonic.endswith("dword") else 2)
+ return True
+ if mnemonic in {"sub", "sub_dword"}:
+ combine_binary(stack, "-", 4 if mnemonic.endswith("dword") else 2)
+ return True
+ if mnemonic in {"mul", "mul_dword"}:
+ combine_binary(stack, "*", 4 if mnemonic.endswith("dword") else 2)
+ return True
+ if mnemonic in {"div", "div_dword"}:
+ combine_binary(stack, "/", 4 if mnemonic.endswith("dword") else 2)
+ return True
+ if mnemonic == "line_number":
+ return True
+ return False
+
+
+def normalize_loop_origin(expr: str) -> str:
+ normalized = expr.strip()
+ if normalized.startswith("*(") and normalized.endswith(")"):
+ return normalized[2:-1]
+ return normalized
+
+
+def try_decode_loop_selector(
+ ops: list[dict[str, Any]],
+ start_index: int,
+ local_name_map: dict[int, str],
+) -> tuple[str, int] | None:
+ selector_tokens: list[int] = []
+ selector_stack: list[tuple[str, int]] = []
+ index = start_index
+
+ while index < len(ops):
+ op = ops[index]
+ mnemonic = op["mnemonic"]
+ if mnemonic == "loopscr":
+ selector_tokens.append(op["operands"]["value_u8"])
+ index += 1
+ continue
+ if mnemonic == "loop":
+ break
+ if not evaluate_loop_setup_op(op, selector_stack, local_name_map):
+ return None
+ index += 1
+
+ if index >= len(ops) or ops[index]["mnemonic"] != "loop":
+ return None
+
+ loop_operands = ops[index]["operands"]
+ if loop_operands.get("string_bytes") != 0x6 or loop_operands.get("loop_type") != 0x2:
+ return None
+ if len(selector_tokens) != 4 or selector_tokens[0] != 0x24 or selector_tokens[1] != 0x3D or selector_tokens[3] != 0x25:
+ if selector_tokens == [0x24, 0x42] and len(selector_stack) >= 4:
+ current_var = format_bp_name(loop_operands["current_var"], local_name_map)
+ return (
+ f"{current_var} in {generic_loop_selector_call('selector_0x42', [
+ ('arg0', selector_stack[-4][0]),
+ ('arg1', selector_stack[-3][0]),
+ ('arg2', selector_stack[-2][0]),
+ ('origin', normalize_loop_origin(selector_stack[-1][0])),
+ ])}",
+ index + 1,
+ )
+ return None
+ selector_field = LOOP_SELECTOR_FIELD_HINTS.get(selector_tokens[2])
+ if selector_field is None or len(selector_stack) < 3:
+ return None
+
+ current_var = format_bp_name(loop_operands["current_var"], local_name_map)
+ selector_value = selector_stack[-3][0]
+ origin_expr = normalize_loop_origin(selector_stack[-1][0])
+ return (
+ f"{current_var} in nearby_items({selector_field}={selector_value}, origin={origin_expr})",
+ index + 1,
+ )
+
+
+def loop_selector_statement(selector_text: str) -> str:
+ return f"/* loop_selector {selector_text} */"
+
+
def decompile_pseudocode_blocks(ir: dict[str, Any]) -> list[tuple[str, list[str]]]:
label_map, blocks = build_script_blocks(ir)
local_name_map = build_local_name_map(ir)
@@ -1799,6 +2082,16 @@ def decompile_pseudocode_blocks(ir: dict[str, Any]) -> list[tuple[str, list[str]
mnemonic = op["mnemonic"]
operands = op["operands"]
+ if mnemonic == "loopscr":
+ decoded_loop = try_decode_loop_selector(ops, index, local_name_map)
+ if decoded_loop is not None:
+ selector_text, next_index = decoded_loop
+ block_lines.append(loop_selector_statement(selector_text))
+ stack.clear()
+ pending_result = None
+ index = next_index
+ continue
+
pushed = push_expr_from_op(op, local_name_map)
if pushed is not None:
stack.append(pushed)
@@ -1855,10 +2148,7 @@ def decompile_pseudocode_blocks(ir: dict[str, Any]) -> list[tuple[str, list[str]
if mnemonic == "call_class_event":
arg_text = ", ".join(expr for expr, _ in stack)
stack.clear()
- event_name = operands.get("target_event_name_hint") or f"slot_{operands['target_event_slot']:02X}"
- block_lines.append(
- f"class_{operands['target_class_id']:04X}_{sanitize_identifier(event_name)}({arg_text});"
- )
+ block_lines.append(f"{format_target_event_reference(operands)}({arg_text});")
pending_result = None
index += 1
continue
@@ -1866,10 +2156,7 @@ def decompile_pseudocode_blocks(ir: dict[str, Any]) -> list[tuple[str, list[str]
if mnemonic == "spawn":
arg_text = ", ".join(expr for expr, _ in stack)
stack.clear()
- event_name = operands.get("target_event_name_hint") or f"slot_{operands['target_event_slot']:02X}"
- block_lines.append(
- f"spawn class_{operands['target_class_id']:04X}_{sanitize_identifier(event_name)}({arg_text});"
- )
+ block_lines.append(f"spawn {format_target_event_reference(operands)}({arg_text});")
pending_result = None
index += 1
continue
@@ -1877,9 +2164,8 @@ def decompile_pseudocode_blocks(ir: dict[str, Any]) -> list[tuple[str, list[str]
if mnemonic == "spawn_inline":
arg_text = ", ".join(expr for expr, _ in stack)
stack.clear()
- event_name = operands.get("target_event_name_hint") or f"slot_{operands['target_event_slot']:02X}"
block_lines.append(
- f"spawn_inline class_{operands['target_class_id']:04X}_{sanitize_identifier(event_name)}({arg_text}) /* inline=0x{operands['inline_offset']:04X} */;"
+ f"spawn_inline {format_target_event_reference(operands)}({arg_text}) /* inline=0x{operands['inline_offset']:04X} */;"
)
pending_result = None
index += 1
@@ -2154,12 +2440,25 @@ def parse_selector_condition(condition: str) -> tuple[str, str] | None:
return match.group(1).strip(), match.group(2).strip()
+def parse_loop_selector_statement(statement: str) -> str | None:
+ match = re.fullmatch(r"/\* loop_selector (.+) \*/", statement)
+ if match is None:
+ return None
+ return match.group(1)
+
+
+def is_loop_selector_only_block(statements: list[str]) -> bool:
+ return len(statements) == 1 and parse_loop_selector_statement(statements[0]) is not None
+
+
def render_selector_chain(
blocks: list[tuple[str, list[str]]],
label_to_index: dict[str, int],
start_index: int,
end_index: int,
return_labels: set[str],
+ active_regions: set[tuple[int, int, tuple[str, ...]]] | None = None,
+ render_cache: dict[tuple[int, int, tuple[str, ...]], tuple[list[str], bool] | None] | None = None,
) -> tuple[list[str], int] | None:
if not blocks[start_index][1]:
return None
@@ -2220,6 +2519,8 @@ def render_selector_chain(
target_index,
return_labels,
{join_label},
+ active_regions,
+ render_cache,
)
if body_result is None:
return None
@@ -2250,7 +2551,19 @@ def render_structured_region(
end_index: int,
return_labels: set[str],
exit_labels: set[str] | None = None,
+ active_regions: set[tuple[int, int, tuple[str, ...]]] | None = None,
+ render_cache: dict[tuple[int, int, tuple[str, ...]], tuple[list[str], bool] | None] | None = None,
) -> tuple[list[str], bool] | None:
+ region_key = (start_index, end_index, tuple(sorted(exit_labels or ())))
+ if render_cache is not None and region_key in render_cache:
+ return render_cache[region_key]
+ if active_regions is None:
+ active_regions = set()
+ elif region_key in active_regions:
+ return None
+
+ active_regions = set(active_regions)
+ active_regions.add(region_key)
allowed_exit_labels = set(exit_labels or ())
lines: list[str] = []
index = start_index
@@ -2265,6 +2578,9 @@ def render_structured_region(
if not statements:
index += 1
continue
+ if is_loop_selector_only_block(statements):
+ index += 1
+ continue
terminal = parse_terminal_statement(statements[-1])
if terminal is None:
@@ -2304,7 +2620,15 @@ def render_structured_region(
index += 1
continue
- selector_chain = render_selector_chain(blocks, label_to_index, index, end_index, return_labels)
+ selector_chain = render_selector_chain(
+ blocks,
+ label_to_index,
+ index,
+ end_index,
+ return_labels,
+ active_regions,
+ render_cache,
+ )
if selector_chain is not None:
selector_lines, selector_join_index = selector_chain
lines.extend(selector_lines)
@@ -2323,10 +2647,18 @@ def render_structured_region(
target_index,
return_labels,
{blocks[index][0]},
+ active_regions,
+ render_cache,
)
if loop_body is not None:
loop_lines, _ = loop_body
- lines.append(f"while ({invert_condition_text(terminal.condition or 'condition')}) {{")
+ loop_selector = None
+ if index > start_index:
+ loop_selector = parse_loop_selector_statement(blocks[index - 1][1][0]) if is_loop_selector_only_block(blocks[index - 1][1]) else None
+ if loop_selector is not None:
+ lines.append(f"for {loop_selector} {{")
+ else:
+ lines.append(f"while ({invert_condition_text(terminal.condition or 'condition')}) {{")
lines.extend(indent_lines(loop_lines))
lines.append("}")
index = target_index
@@ -2346,6 +2678,8 @@ def render_structured_region(
target_index,
return_labels,
{join_label},
+ active_regions,
+ render_cache,
)
false_result = render_structured_region(
blocks,
@@ -2354,6 +2688,8 @@ def render_structured_region(
join_index,
return_labels,
{join_label},
+ active_regions,
+ render_cache,
)
if true_result is not None and false_result is not None:
true_lines, _ = true_result
@@ -2372,8 +2708,19 @@ def render_structured_region(
index = join_index
continue
- inner_result = render_structured_region(blocks, label_to_index, index + 1, target_index, return_labels)
+ inner_result = render_structured_region(
+ blocks,
+ label_to_index,
+ index + 1,
+ target_index,
+ return_labels,
+ None,
+ active_regions,
+ render_cache,
+ )
if inner_result is None:
+ if render_cache is not None:
+ render_cache[region_key] = None
return None
inner_lines, inner_falls_through = inner_result
@@ -2387,7 +2734,10 @@ def render_structured_region(
index = target_index
- return lines, True
+ result = (lines, True)
+ if render_cache is not None:
+ render_cache[region_key] = result
+ return result
def render_structured_pseudocode(blocks: list[tuple[str, list[str]]]) -> list[str] | None:
@@ -2400,7 +2750,8 @@ def render_structured_pseudocode(blocks: list[tuple[str, list[str]]]) -> list[st
for label, statements in blocks
if len(statements) == 1 and statements[0] == "return;"
}
- structured = render_structured_region(blocks, label_to_index, 0, len(blocks), return_labels)
+ render_cache: dict[tuple[int, int, tuple[str, ...]], tuple[list[str], bool] | None] = {}
+ structured = render_structured_region(blocks, label_to_index, 0, len(blocks), return_labels, None, None, render_cache)
if structured is None:
return None
return structured[0]
@@ -2421,6 +2772,41 @@ def render_partially_structured_blocks(blocks: list[tuple[str, list[str]]]) -> l
index = 0
while index < len(blocks):
label, statements = blocks[index]
+ if is_loop_selector_only_block(statements):
+ loop_selector = parse_loop_selector_statement(statements[0])
+ if loop_selector is not None and index + 1 < len(blocks):
+ next_label, next_statements = blocks[index + 1]
+ next_terminal = parse_terminal_statement(next_statements[-1]) if next_statements else None
+ if next_terminal is not None and next_terminal.kind == "if":
+ target_index = label_to_index.get(next_terminal.target or "")
+ if target_index is not None and target_index > index + 1:
+ loop_tail_index = last_nonempty_block_index(blocks, index + 2, target_index)
+ if loop_tail_index is not None:
+ loop_tail_terminal = parse_terminal_statement(blocks[loop_tail_index][1][-1])
+ if loop_tail_terminal is not None and loop_tail_terminal.kind == "goto" and loop_tail_terminal.target == next_label:
+ loop_body = render_structured_region(
+ blocks,
+ label_to_index,
+ index + 2,
+ target_index,
+ return_labels,
+ {next_label},
+ )
+ if loop_body is not None:
+ loop_lines, _ = loop_body
+ lines.append(f" {label}:")
+ lines.append(f" for {loop_selector} {{")
+ lines.extend(f" {line}" for line in indent_lines(loop_lines))
+ lines.append(" }")
+ lines.append("")
+ index = target_index
+ continue
+
+ lines.append(f" {label}:")
+ lines.append(f" {statements[0]}")
+ lines.append("")
+ index += 1
+ continue
selector_chain = render_selector_chain(blocks, label_to_index, index, len(blocks), return_labels)
if selector_chain is not None:
selector_lines, selector_join_index = selector_chain
@@ -2440,7 +2826,7 @@ def render_partially_structured_blocks(blocks: list[tuple[str, list[str]]]) -> l
return lines
-def render_pseudocode(ir: dict[str, Any]) -> str:
+def render_pseudocode(ir: dict[str, Any], shape_catalog: ShapeCatalog | None = None) -> str:
slot_name = sanitize_identifier(ir["event"]["event_name_hint"] or f"slot_{ir['event']['slot']:02X}")
lines = [
(
@@ -2466,7 +2852,7 @@ def render_pseudocode(ir: dict[str, Any]) -> str:
lines.extend(render_partially_structured_blocks(rendered_blocks))
lines.append("}")
- return "\n".join(lines) + "\n"
+ return apply_shape_catalog_to_pseudocode("\n".join(lines) + "\n", shape_catalog)
def render_text(ir: dict[str, Any]) -> str:
@@ -2525,6 +2911,14 @@ def main() -> None:
parser.add_argument("--slot", required=True, help="Event slot, for example 0x0A")
parser.add_argument("--extracted-root", default=str(EXTRACTED_ROOT), help="Extracted USECODE root containing class_event_index.tsv and chunks/")
parser.add_argument("--variant", choices=["auto", "regret", "remorse"], default="auto", help="Crusader intrinsic numbering to apply (default: auto, fallback regret)")
+ parser.add_argument(
+ "--shape-csv",
+ help=(
+ "Shape catalog CSV to apply to pseudocode output "
+ "(default: Remorse uses /usecode_shape_catalog_remorse.csv; "
+ "Regret uses /usecode_shape_catalog_regret.csv)"
+ ),
+ )
parser.add_argument("--output", help="Write IR JSON to this file instead of stdout")
parser.add_argument("--emit-text", action="store_true", help="Emit a readable text listing beside the JSON")
parser.add_argument("--text-output", help="Write the text listing to this file")
@@ -2539,6 +2933,8 @@ def main() -> None:
slot = parse_int(args.slot)
extracted_root = Path(args.extracted_root)
+ shape_csv = Path(args.shape_csv) if args.shape_csv else default_shape_catalog_path(extracted_root, args.variant)
+ shape_catalog = load_shape_catalog(shape_csv)
event_row, layout_row = select_rows(args.class_name, slot, extracted_root)
ir = parse_body_ir(event_row, layout_row, None if args.variant == "auto" else args.variant, extracted_root)
@@ -2563,7 +2959,7 @@ def main() -> None:
print(rendered_script)
if args.emit_pseudocode:
- rendered_pseudocode = render_pseudocode(ir)
+ rendered_pseudocode = render_pseudocode(ir, shape_catalog=shape_catalog)
if args.pseudocode_output:
Path(args.pseudocode_output).write_text(rendered_pseudocode, encoding="utf-8")
else:
diff --git a/tools/tests/test_usecode_structuring.py b/tools/tests/test_usecode_structuring.py
index c35d8bc..8b501d2 100644
--- a/tools/tests/test_usecode_structuring.py
+++ b/tools/tests/test_usecode_structuring.py
@@ -3,10 +3,12 @@ from __future__ import annotations
import unittest
from tools.poc_crusader_usecode_parser import (
+ format_target_event_reference,
get_intrinsic_hints,
intrinsic_display_name,
render_partially_structured_blocks,
render_structured_pseudocode,
+ try_decode_loop_selector,
)
@@ -91,6 +93,78 @@ class UsecodeStructuringTests(unittest.TestCase):
self.assertIn("while (!condition) {", text)
self.assertNotIn("goto block_0118;", text)
+ def test_loop_selector_block_renders_as_for_loop(self) -> None:
+ blocks = [
+ ("entry", ["/* loop_selector item in nearby_items(shape=0x04D0, origin=arg_06) */"]),
+ ("block_0118", ["if condition goto block_0151;"]),
+ ("block_011B", ["if (Item.getFrame(item) != 0) goto block_014D;", "suspend;"]),
+ ("block_014D", ["goto block_0118;"]),
+ ("block_0151", ["return;"]),
+ ]
+
+ rendered = render_structured_pseudocode(blocks)
+
+ self.assertIsNotNone(rendered)
+ text = "\n".join(rendered or [])
+ self.assertIn("for item in nearby_items(shape=0x04D0, origin=arg_06) {", text)
+ self.assertNotIn("while (!condition) {", text)
+
+ def test_loop_selector_renders_in_partial_fallback(self) -> None:
+ blocks = [
+ ("entry", ["/* loop_selector item in nearby_items(shape=0x04D0, origin=arg_06) */"]),
+ ("block_0118", ["if condition goto block_0151;"]),
+ ("block_011B", ["if other goto block_014D;", "suspend;"]),
+ ("block_014D", ["goto block_0118;"]),
+ ("block_0151", ["goto block_0200;"]),
+ ("block_0200", ["return;"]),
+ ]
+
+ rendered = render_partially_structured_blocks(blocks)
+
+ text = "\n".join(rendered)
+ self.assertIn("entry:", text)
+ self.assertIn("for item in nearby_items(shape=0x04D0, origin=arg_06) {", text)
+
+ def test_target_event_reference_prefers_alias_and_class_name(self) -> None:
+ target = format_target_event_reference(
+ {
+ "target_class_id": 0x0A0C,
+ "target_class_name_hint": "FREE",
+ "target_event_slot": 0x32,
+ "target_event_name_hint": None,
+ }
+ )
+
+ self.assertEqual(target, "FREE.waitNTimerTicks")
+
+ def test_selector_0x42_decodes_to_readable_fallback(self) -> None:
+ decoded = try_decode_loop_selector(
+ [
+ {"mnemonic": "loopscr", "operands": {"value_u8": 0x24}},
+ {"mnemonic": "push_word_immediate", "operands": {"value_u16": 0x04C8}},
+ {"mnemonic": "push_word_immediate", "operands": {"value_u16": 0x01CD}},
+ {"mnemonic": "loopscr", "operands": {"value_u8": 0x42}},
+ {"mnemonic": "push_byte_immediate", "operands": {"value_u8": 0x32, "value_signed": 50}},
+ {"mnemonic": "push_byte_immediate", "operands": {"value_u8": 0x20, "value_signed": 32}},
+ {"mnemonic": "mul", "operands": {}},
+ {"mnemonic": "push_local_word", "operands": {"bp_offset": 0x0A}},
+ {
+ "mnemonic": "loop",
+ "operands": {"current_var": 0xFE, "string_bytes": 0x6, "loop_type": 0x2},
+ },
+ ],
+ 0,
+ {0xFE: "n", 0x0A: "eventTrigger"},
+ )
+
+ self.assertEqual(
+ decoded,
+ (
+ "n in selector_0x42(arg0=0x04C8, arg1=0x01CD, arg2=(50 * 32), origin=eventTrigger)",
+ 9,
+ ),
+ )
+
def test_selector_ladder_renders_as_else_if_chain(self) -> None:
blocks = [
("entry", ["if (dir != 0) goto block_0358;"]),
diff --git a/tools/update_usecode_shape_catalog.py b/tools/update_usecode_shape_catalog.py
new file mode 100644
index 0000000..b679fdf
--- /dev/null
+++ b/tools/update_usecode_shape_catalog.py
@@ -0,0 +1,228 @@
+from __future__ import annotations
+
+import argparse
+import csv
+import re
+import sys
+from pathlib import Path
+
+
+REPO_ROOT = Path(__file__).resolve().parents[1]
+if str(REPO_ROOT) not in sys.path:
+ sys.path.insert(0, str(REPO_ROOT))
+
+
+from tools.poc_crusader_usecode_parser import (
+ EXTRACTED_ROOT,
+ NUMERIC_SHAPE_LITERAL_PATTERN,
+ SHAPE_CATALOG_FIELDNAMES,
+ collect_shape_codes_from_pseudocode,
+ default_shape_catalog_path,
+ format_shape_code,
+ load_tsv_rows,
+ parse_body_ir,
+ parse_int,
+ render_pseudocode,
+ sanitize_identifier,
+ try_parse_int,
+)
+
+
+SELF_SHAPE_COMPARISON_PATTERN = re.compile(
+ rf"\bItem\.(?:getShape|getType)\(\s*arg_06\s*\)\s*(?:==|!=|<=|>=|<|>)\s*(?P{NUMERIC_SHAPE_LITERAL_PATTERN})\b"
+)
+
+
+def describe_row(row: dict[str, str]) -> str:
+ class_name = row.get("class_name_hint") or "unknown"
+ slot = parse_int(row.get("slot", "0"))
+ event_name = row.get("event_name_hint") or f"slot_{slot:02X}"
+ entry_index = row.get("entry_index", "?")
+ return f"entry {entry_index} {class_name}::${event_name}".replace("::$", "::") + f" (slot 0x{slot:02X})"
+
+
+def load_layout_by_entry(class_layout_index: Path) -> dict[int, dict[str, str]]:
+ rows = load_tsv_rows(class_layout_index)
+ layout_by_entry: dict[int, dict[str, str]] = {}
+ for row in rows:
+ entry_index = try_parse_int(row.get("entry_index", ""))
+ if entry_index is None:
+ continue
+ layout_by_entry[entry_index] = row
+ return layout_by_entry
+
+
+def load_existing_catalog(csv_path: Path) -> tuple[list[str], list[dict[str, str]], set[int]]:
+ if not csv_path.exists():
+ return SHAPE_CATALOG_FIELDNAMES[:], [], set()
+
+ with csv_path.open("r", encoding="utf-8", newline="") as handle:
+ reader = csv.DictReader(handle)
+ fieldnames = [name for name in (reader.fieldnames or []) if name] or SHAPE_CATALOG_FIELDNAMES[:]
+ for required_name in SHAPE_CATALOG_FIELDNAMES:
+ if required_name not in fieldnames:
+ fieldnames.append(required_name)
+
+ rows: list[dict[str, str]] = []
+ existing_codes: set[int] = set()
+ for raw_row in reader:
+ row = {fieldname: raw_row.get(fieldname, "") for fieldname in fieldnames}
+ shape_code = try_parse_int((row.get("shape_code") or "").strip())
+ if shape_code is not None:
+ if shape_code in existing_codes:
+ continue
+ row["shape_code"] = format_shape_code(shape_code)
+ existing_codes.add(shape_code)
+ rows.append(row)
+ return fieldnames, rows, existing_codes
+
+
+def write_catalog(csv_path: Path, fieldnames: list[str], rows: list[dict[str, str]]) -> None:
+ csv_path.parent.mkdir(parents=True, exist_ok=True)
+ with csv_path.open("w", encoding="utf-8", newline="") as handle:
+ writer = csv.DictWriter(handle, fieldnames=fieldnames)
+ writer.writeheader()
+ writer.writerows(rows)
+
+
+def scan_exported_pseudocode_shape_codes(extracted_root: Path) -> set[int]:
+ pseudocode_root = extracted_root / "pseudocode"
+ if not pseudocode_root.exists():
+ print(f"No exported pseudocode directory at {pseudocode_root}; skipping pre-scan", flush=True)
+ return set()
+
+ shape_codes: set[int] = set()
+ pseudocode_paths = sorted(pseudocode_root.rglob("*.txt"))
+ print(f"Scanning {len(pseudocode_paths)} exported pseudocode files under {pseudocode_root}", flush=True)
+ for index, pseudocode_path in enumerate(pseudocode_paths, start=1):
+ print(f"[pseudocode {index}/{len(pseudocode_paths)}] {pseudocode_path.relative_to(extracted_root).as_posix()}", flush=True)
+ shape_codes.update(collect_shape_codes_from_pseudocode(pseudocode_path.read_text(encoding="utf-8")))
+ return shape_codes
+
+
+def auto_shape_identifier(class_name: str, shape_code: int) -> str:
+ class_id = sanitize_identifier((class_name or "shape").lower())
+ return sanitize_identifier(f"{class_id}_shape_{shape_code:04x}")
+
+
+def collect_shape_suggestions_from_pseudocode(text: str, row: dict[str, str]) -> dict[int, dict[str, str]]:
+ class_name = (row.get("class_name_hint") or "").strip()
+ if not class_name:
+ return {}
+
+ suggestions: dict[int, dict[str, str]] = {}
+ for match in SELF_SHAPE_COMPARISON_PATTERN.finditer(text):
+ shape_code = try_parse_int(match.group("value"))
+ if shape_code is None:
+ continue
+ suggestions[shape_code] = {
+ "human_readable_id": auto_shape_identifier(class_name, shape_code),
+ "description": f"Auto-derived from {class_name} self-shape comparison in USECODE",
+ }
+ return suggestions
+
+
+def scan_shape_codes(extracted_root: Path, variant: str) -> tuple[set[int], dict[int, dict[str, str]]]:
+ class_event_index = extracted_root / "class_event_index.tsv"
+ class_layout_index = extracted_root / "class_layout_index.tsv"
+ rows = load_tsv_rows(class_event_index)
+ work_rows = [row for row in rows if row.get("derived_body_start") and row.get("derived_body_end")]
+ layout_by_entry = load_layout_by_entry(class_layout_index)
+ shape_codes = scan_exported_pseudocode_shape_codes(extracted_root)
+ suggestion_candidates: dict[int, dict[str, dict[str, str]]] = {}
+ print(f"Scanning {len(work_rows)} decoded USECODE bodies from {extracted_root}", flush=True)
+
+ for position, row in enumerate(work_rows, start=1):
+ entry_index = parse_int(row["entry_index"])
+ layout_row = layout_by_entry.get(entry_index)
+ if layout_row is None:
+ print(
+ f"[{position}/{len(work_rows)}] Skipping {describe_row(row)} because no layout row was found",
+ flush=True,
+ )
+ continue
+
+ label = describe_row(row)
+ print(f"[{position}/{len(work_rows)}] Decoding {label}", flush=True)
+ ir = parse_body_ir(row, layout_row, None if variant == "auto" else variant, extracted_root)
+ print(f"[{position}/{len(work_rows)}] Rendering {label}", flush=True)
+ pseudocode = render_pseudocode(ir)
+ shape_codes.update(collect_shape_codes_from_pseudocode(pseudocode))
+ for shape_code, suggestion in collect_shape_suggestions_from_pseudocode(pseudocode, row).items():
+ suggestion_candidates.setdefault(shape_code, {})[suggestion["human_readable_id"]] = suggestion
+
+ resolved_suggestions: dict[int, dict[str, str]] = {}
+ for shape_code, candidates in suggestion_candidates.items():
+ if len(candidates) == 1:
+ resolved_suggestions[shape_code] = next(iter(candidates.values()))
+
+ return shape_codes, resolved_suggestions
+
+
+def main() -> None:
+ parser = argparse.ArgumentParser(description="Generate or update the append-only USECODE shape catalog CSV")
+ parser.add_argument(
+ "--extracted-root",
+ default=str(EXTRACTED_ROOT),
+ help="Extracted USECODE root containing class_event_index.tsv and chunks/",
+ )
+ parser.add_argument(
+ "--output-csv",
+ help=(
+ "Catalog CSV path "
+ "(default: Remorse uses /usecode_shape_catalog_remorse.csv; "
+ "Regret uses /usecode_shape_catalog_regret.csv)"
+ ),
+ )
+ parser.add_argument(
+ "--variant",
+ choices=["auto", "regret", "remorse"],
+ default="auto",
+ help="Crusader intrinsic numbering to apply during scanning (default: auto, fallback regret)",
+ )
+ args = parser.parse_args()
+
+ extracted_root = Path(args.extracted_root)
+ output_csv = Path(args.output_csv) if args.output_csv else default_shape_catalog_path(extracted_root, args.variant)
+
+ print(
+ f"Updating shape catalog {output_csv} from extracted_root={extracted_root} using variant={args.variant}",
+ flush=True,
+ )
+ shape_codes, suggested_rows = scan_shape_codes(extracted_root, args.variant)
+ fieldnames, rows, existing_codes = load_existing_catalog(output_csv)
+
+ backfilled = 0
+ for row in rows:
+ shape_code = try_parse_int((row.get("shape_code") or "").strip())
+ if shape_code is None:
+ continue
+ suggestion = suggested_rows.get(shape_code)
+ if suggestion is None:
+ continue
+ if not (row.get("human_readable_id") or "").strip():
+ row["human_readable_id"] = suggestion["human_readable_id"]
+ backfilled += 1
+ if not (row.get("description") or "").strip():
+ row["description"] = suggestion["description"]
+
+ missing_codes = sorted(shape_codes - existing_codes)
+ for shape_code in missing_codes:
+ row = {fieldname: "" for fieldname in fieldnames}
+ row["shape_code"] = format_shape_code(shape_code)
+ suggestion = suggested_rows.get(shape_code)
+ if suggestion is not None:
+ row["human_readable_id"] = suggestion["human_readable_id"]
+ row["description"] = suggestion["description"]
+ rows.append(row)
+
+ write_catalog(output_csv, fieldnames, rows)
+ print(
+ f"Catalog {output_csv} now contains {len(rows)} rows; "
+ f"scanned {len(shape_codes)} distinct shape codes, added {len(missing_codes)} new rows, "
+ f"and backfilled {backfilled} existing rows."
+ )
+
+
+if __name__ == "__main__":
+ main()
\ No newline at end of file
diff --git a/usecode_menu.bat b/usecode_menu.bat
new file mode 100644
index 0000000..2f99323
--- /dev/null
+++ b/usecode_menu.bat
@@ -0,0 +1,60 @@
+@echo off
+setlocal
+
+pushd "%~dp0" >nul
+
+:menu
+cls
+echo Crusader USECODE Tools
+echo.
+echo 1. Decompile No Remorse USECODE to pseudocode
+echo 2. Decompile No Regret USECODE to pseudocode
+echo 3. Update No Remorse shape catalog
+echo 4. Update No Regret shape catalog
+echo 5. Exit
+echo.
+set /p choice=Choose an option:
+
+if "%choice%"=="1" goto remorse_decompile
+if "%choice%"=="2" goto regret_decompile
+if "%choice%"=="3" goto remorse_shapes
+if "%choice%"=="4" goto regret_shapes
+if "%choice%"=="5" goto end
+
+echo.
+echo Invalid choice.
+pause
+goto menu
+
+:remorse_decompile
+cls
+echo Exporting No Remorse USECODE pseudocode...
+python tools\export_usecode_pseudocode.py --extracted-root USECODE\EUSECODE_extracted --variant remorse --shape-csv USECODE\EUSECODE_extracted\usecode_shape_catalog_remorse.csv
+goto after_run
+
+:regret_decompile
+cls
+echo Exporting No Regret USECODE pseudocode...
+python tools\export_usecode_pseudocode.py --extracted-root USECODE\REGRET\REGRET_USECODE_extracted --variant regret --shape-csv USECODE\REGRET\REGRET_USECODE_extracted\usecode_shape_catalog_regret.csv
+goto after_run
+
+:remorse_shapes
+cls
+echo Updating No Remorse shape catalog...
+python tools\update_usecode_shape_catalog.py --extracted-root USECODE\EUSECODE_extracted --variant remorse --output-csv USECODE\EUSECODE_extracted\usecode_shape_catalog_remorse.csv
+goto after_run
+
+:regret_shapes
+cls
+echo Updating No Regret shape catalog...
+python tools\update_usecode_shape_catalog.py --extracted-root USECODE\REGRET\REGRET_USECODE_extracted --variant regret --output-csv USECODE\REGRET\REGRET_USECODE_extracted\usecode_shape_catalog_regret.csv
+goto after_run
+
+:after_run
+echo.
+pause
+goto menu
+
+:end
+popd >nul
+endlocal
\ No newline at end of file