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

23 lines
604 B
Text

function fallingc_gotHit() /* entry=10 class_id=0x005F 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=0x6 */
while (!condition) {
if (Item.getShape(item) == 95) {
}
else if ((Item.getItemFamily(item) == 6) && (Actor.isNPC(item) != 0)) {
spawn ITEM.slot_28(pid, 1, 0, item);
suspend;
}
/* loopnext */
}
return;
}