31 lines
774 B
Text
31 lines
774 B
Text
function fffloor_unequip() /* entry=54 class_id=0x0135 slot=0x0B */
|
|
{
|
|
var
|
|
referent, /* [BP+00h] type=0x69 */
|
|
var, /* [BP+0Ah] type=0x69 */
|
|
item; /* [BP-02h] type=0x24 */
|
|
|
|
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 */
|
|
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;
|
|
}
|