Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
|
|
@ -5,42 +5,27 @@ function fffloor_unequip() /* entry=54 class_id=0x0135 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_03E3;
|
||||
|
||||
block_03DD:
|
||||
goto block_045B;
|
||||
|
||||
block_03E3:
|
||||
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_0400:
|
||||
if condition goto block_0459;
|
||||
|
||||
block_0403:
|
||||
if (Item.isNpc(item) != 1) goto block_0455;
|
||||
|
||||
block_0415:
|
||||
if Item.overlaps(item, arg_06) goto block_0455;
|
||||
|
||||
block_0426:
|
||||
class_0A0C_slot_20(pid, 8);
|
||||
spawn class_0A11_slot_2D(retval, *(arg_06), item);
|
||||
suspend;
|
||||
|
||||
block_0455:
|
||||
/* loopnext */
|
||||
goto block_0400;
|
||||
|
||||
block_0459:
|
||||
|
||||
block_045B:
|
||||
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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue