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

26 lines
652 B
Text
Raw Normal View History

2026-03-25 23:32:36 +01:00
function smalltab_gotHit() /* entry=5 class_id=0x002D slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
item; /* [BP-02h] type=0x24 */
2026-03-26 00:37:17 +01:00
set_info(0x020C, *(arg_06));
process_exclude();
FREE.slot_2C(vel, ref);
2026-03-26 00:37:17 +01:00
if (!retval) {
2026-03-25 23:32:36 +01:00
/* loopscr value_u8=0x24 */
/* loop current_var=0xFE string_bytes=0x1 loop_type=0x6 */
2026-03-26 00:37:17 +01:00
while (!condition) {
FREE.slot_20(1, 10);
FREE.slot_20((retval + 10), 10);
FREE.slot_20(retval, 10);
2026-03-26 00:37:17 +01:00
/* loopnext */
}
FREE.slot_20(1);
spawn ITEM.slot_28(pid, 0, 0, arg_06);
2026-03-25 23:32:36 +01:00
suspend;
2026-03-26 00:37:17 +01:00
}
return;
2026-03-25 23:32:36 +01:00
}