Usecode pseudocode

This commit is contained in:
MaddoScientisto 2026-03-26 00:37:17 +01:00
commit c12bb39437
1362 changed files with 71072 additions and 38056 deletions

View file

@ -8,48 +8,28 @@ function podboy_gotHit() /* entry=129 class_id=0x022D slot=0x06 */
counter, /* [BP-04h] type=0x69 */
item; /* [BP-06h] type=0x24 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
if (Item.getFrame(arg_06) != 1) goto block_0222;
block_0218:
set_info(0x020C, *(arg_06));
process_exclude();
if (Item.getFrame(arg_06) == 1) {
fram = 22;
goto block_025B;
block_0222:
if (Item.getFrame(arg_06) != 2) goto block_023B;
block_0231:
}
else if (Item.getFrame(arg_06) == 2) {
fram = 11;
goto block_025B;
block_023B:
if (Item.getFrame(arg_06) != 3) goto block_0254;
block_024A:
}
else if (Item.getFrame(arg_06) == 3) {
fram = 0;
goto block_025B;
block_0254:
}
else {
fram = 34;
block_025B:
spawn class_022D_slot_20(*(arg_06), 0x00000000);
spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
suspend;
counter = 0;
block_02FA:
if (counter <= 10) goto block_0348;
block_0302:
}
spawn class_022D_slot_20(*(arg_06), 0x00000000);
spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
suspend;
counter = 0;
while (counter > 10) {
spawn class_0A0C_slot_32(pid, (15 - counter), 0x00000000);
suspend;
counter = (1 + counter);
goto block_02FA;
block_0348:
return;
}
return;
}

View file

@ -7,30 +7,16 @@ function podboy_slot_20() /* entry=129 class_id=0x022D slot=0x20 */
fram, /* [BP-06h] type=0x69 */
counter; /* [BP-08h] type=0x69 */
entry:
set_info(1, 0);
item = ref;
fram = (Intrinsic00DA(3, 0) * 8);
counter = 0;
block_0150:
if (counter <= 5) goto block_01BB;
block_0158:
block_0173:
if Item.touch(0x0094, spooge) goto block_01AE;
block_0185:
spawn class_0A0C_slot_32(pid, 4, 0x00000000);
suspend;
goto block_0173;
block_01AE:
set_info(1, 0);
item = ref;
fram = (UCMachine.rndRange(3, 0) * 8);
counter = 0;
while (counter > 5) {
while (!AudioProcess.isSFXPlayingForObject(0x0094, spooge)) {
spawn class_0A0C_slot_32(pid, 4, 0x00000000);
suspend;
}
counter = (1 + counter);
goto block_0150;
block_01BB:
return;
}
return;
}