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

@ -6,34 +6,18 @@ function brokencw_gotHit() /* entry=43 class_id=0x00D1 slot=0x06 */
vel, /* [BP+0Ch] type=0x69 */
item; /* [BP-02h] type=0x24 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
/* loopscr value_u8=0x24 */
/* loop current_var=0xFE string_bytes=0x1 loop_type=0x2 */
block_0100:
if condition goto block_0188;
block_0103:
if (Intrinsic0016(item) != 0x00D1) goto block_012C;
block_011C:
goto block_0184;
block_012C:
if ((Intrinsic003C(item) != 6) && (Item.isNpc(item) != 0)) goto block_0184;
block_0151:
spawn class_0A1E_slot_28(pid, 1, 0, item);
suspend;
goto block_0184;
block_0184:
set_info(0x020C, *(arg_06));
process_exclude();
/* loopscr value_u8=0x24 */
/* loop current_var=0xFE string_bytes=0x1 loop_type=0x2 */
while (!condition) {
if (Item.getShape(item) == 0x00D1) {
}
else if ((Item.getItemFamily(item) == 6) && (Actor.isNPC(item) != 0)) {
spawn class_0A1E_slot_28(pid, 1, 0, item);
suspend;
}
/* loopnext */
goto block_0100;
block_0188:
return;
}
return;
}