32 lines
734 B
Text
32 lines
734 B
Text
function alarmbox_equip() /* entry=256 class_id=0x0477 slot=0x0A */
|
|
{
|
|
var
|
|
referent, /* [BP+00h] type=0x69 */
|
|
var, /* [BP+0Ah] type=0x69 */
|
|
a; /* [BP-02h] type=0x69 */
|
|
|
|
set_info(0x0211, *(arg_06));
|
|
process_exclude();
|
|
if (!var) {
|
|
if (Intrinsic0000()) {
|
|
spawn class_0A0C_slot_3B(0x00000000);
|
|
}
|
|
a = Item.getStatus(arg_06);
|
|
if ((a & 4) == 0) {
|
|
if (Item.getMapNum(arg_06) == 0) {
|
|
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
|
|
suspend;
|
|
}
|
|
}
|
|
return;
|
|
}
|
|
if (!Intrinsic0000()) {
|
|
spawn class_0A0C_slot_3C(0x00000000);
|
|
if (Item.getMapNum(arg_06) == 0) {
|
|
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
|
|
suspend;
|
|
}
|
|
}
|
|
return;
|
|
|
|
}
|