Crusader_Decomp/USECODE/EUSECODE_extracted/pseudocode/PHIR/slot_01_use.txt

18 lines
497 B
Text

function phir_use() /* entry=295 class_id=0x04FF slot=0x01 */
{
set_info(0x0207, *(arg_06));
process_exclude();
if (!Item.getQLo(arg_06)) {
spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
if (global[0x001F] == 12) {
ITEM.slot_23(0x1000, arg_06);
spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
spawn FREE.slot_26(pid, "12e", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
}
}
return;
}