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

@ -9,13 +9,39 @@ function upplate_gotHit() /* entry=241 class_id=0x0447 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
class_0A0C_slot_2C(vel, ref);
if (retval) {
item = ref;
if (Item.getFrame(arg_06) == 2) {
}
else if ((Intrinsic0057(arg_06) != 0) || (Item.use(*(arg_06), item) == 0)) {
}
if (!retval) {
return;
}
else if (Item.getFrame(arg_06) == 2) {
return;
}
else {
item = ref;
if ((Item.getSurfaceWeight(arg_06) == 0) || (Item.isCentreOn(*(arg_06), item) != 0)) {
return;
}
else if (Item.getMapArray(arg_06) == 0) {
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
spawn class_0A0C_slot_32(pid, 20, 0x00000000);
suspend;
while (!(1)) {
if (Item.getSurfaceWeight(arg_06) == 0) {
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
}
else {
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
suspend;
return;
}
}
return;
}
else {
spawn class_0A0C_slot_32(pid, 20, 0x00000000);
suspend;
}
}
return;
}