Crusader_Decomp/USECODE/EUSECODE_extracted/pseudocode/BROKENCW/slot_06_gotHit.txt

23 lines
608 B
Text

function brokencw_gotHit() /* entry=43 class_id=0x00D1 slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
item; /* [BP-02h] type=0x24 */
set_info(0x020C, *(arg_06));
process_exclude();
/* loopscr value_u8=0x24 */
/* loop current_var=0xFE string_bytes=0x1 loop_type=0x2 */
while (!condition) {
if (Item.getShape(item) == 0x00D1) {
}
else if ((Item.getItemFamily(item) == 6) && (Actor.isNPC(item) != 0)) {
spawn ITEM.slot_28(pid, 1, 0, item);
suspend;
}
/* loopnext */
}
return;
}