Crusader_Decomp/USECODE/EUSECODE_extracted/pseudocode/TIMER/slot_0A_equip.txt

16 lines
320 B
Text

function timer_equip() /* entry=271 class_id=0x04C9 slot=0x0A */
{
set_info(0x0211, *(arg_06));
process_exclude();
if (arg_0A == 1) {
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
spawn TIMER.slot_20(arg_06);
}
return;
}
else if (arg_0A == 0) {
/* bit_not */
return;
}
return;
}