Crusader_Decomp/USECODE/REGRET/BETTY.unk

23 lines
532 B
Text

/* synthesized appendix for BETTY */
/* sparse lines above preserve recovered debugger line numbers where available */
/* ===== slot 0x0A equip ===== */
function betty_equip() /* entry=128 class_id=0x021D slot=0x0A */
{
set_info(0x0211, *(arg_06));
process_exclude();
if (!arg_0A) {
if (!(Item.getStatus(arg_06) & 0x1000)) {
return;
}
ITEM.slot_24(0x1000, arg_06);
spawn BBETTY.slot_20(arg_06);
return;
}
else {
ITEM.slot_25(0x1000, arg_06);
FREE.slot_3C(1, *(arg_06));
}
return;
}