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

39 lines
1 KiB
Text

function rechagew_gotHit() /* entry=64 class_id=0x0158 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();
FREE.slot_2B(vel, ref);
if (retval && (Item.getFrame(arg_06) >= 4)) {
spawn ITEM.slot_27(pid, 100, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
return;
}
else {
spawn ITEM.slot_28(pid, 0, 1, arg_06);
suspend;
FREE.slot_33(0x0254, global[0x003C]);
/* loop_selector item in nearby_items(shape=0x0158, origin=arg_06) */
while (!condition) {
/* loopnext */
}
for item in nearby_items(shape=0x015A, origin=arg_06) {
/* loopnext */
}
for item in nearby_items(shape=0x0159, origin=arg_06) {
/* loopnext */
}
for item in nearby_items(shape=0x015B, origin=arg_06) {
/* loopnext */
}
}
}
return;
}