26 lines
638 B
Text
26 lines
638 B
Text
|
|
/* synthesized appendix for SFXTRIG */
|
|
/* sparse lines above preserve recovered debugger line numbers where available */
|
|
|
|
/* ===== slot 0x0A equip ===== */
|
|
function sfxtrig_equip() /* entry=286 class_id=0x04E2 slot=0x0A */
|
|
{
|
|
set_info(0x0211, *(arg_06));
|
|
process_exclude();
|
|
local_02 = Item.getQHi(arg_06);
|
|
if (!(Item.getStatus(arg_06) & 0x1000)) {
|
|
return;
|
|
}
|
|
else {
|
|
ITEM.slot_24(0x1000, arg_06);
|
|
if (!local_02) {
|
|
arg_0A = (arg_0A + 0x00FF);
|
|
}
|
|
while (!Intrinsic0035(arg_0A, arg_06)) {
|
|
spawn FREE.slot_3B(pid, 2, 0x00000000);
|
|
suspend;
|
|
}
|
|
ITEM.slot_25(0x1000, arg_06);
|
|
}
|
|
return;
|
|
}
|