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

@ -5,42 +5,27 @@ function fffloor2_unequip() /* entry=96 class_id=0x01C8 slot=0x0B */
var, /* [BP+0Ah] type=0x69 */
item; /* [BP-02h] type=0x24 */
entry:
set_info(0x0212, *(arg_06));
process_exclude();
if (Item.getFrame(arg_06) != 1) goto block_03C0;
block_03BA:
goto block_0438;
block_03C0:
set_info(0x0212, *(arg_06));
process_exclude();
if (Item.getFrame(arg_06) == 1) {
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 */
block_03DD:
if condition goto block_0436;
block_03E0:
if (Item.isNpc(item) != 1) goto block_0432;
block_03F2:
if Item.overlaps(item, arg_06) goto block_0432;
block_0403:
class_0A0C_slot_20(pid, 8);
spawn class_0A11_slot_2D(retval, *(arg_06), item);
suspend;
block_0432:
/* loopnext */
goto block_03DD;
block_0436:
block_0438:
return;
while (!condition) {
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);
suspend;
}
}
/* loopnext */
}
}
return;
}