Pseudocode decompialtion improvements and docs

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

View file

@ -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);
}