62 lines
1.8 KiB
Text
62 lines
1.8 KiB
Text
function stable_gotHit() /* entry=154 class_id=0x02DC slot=0x06 */
|
|
{
|
|
var
|
|
referent, /* [BP+00h] type=0x69 */
|
|
ref, /* [BP+0Ah] type=0x69 */
|
|
vel, /* [BP+0Ch] type=0x69 */
|
|
fram, /* [BP-02h] type=0x69 */
|
|
item, /* [BP-04h] type=0x24 */
|
|
thing; /* [BP-06h] type=0x24 */
|
|
|
|
set_info(0x020C, *(arg_06));
|
|
process_exclude();
|
|
fram = Item.getFrame(arg_06);
|
|
if (fram <= 8) {
|
|
return;
|
|
}
|
|
else {
|
|
class_0A0C_slot_2C(vel, ref);
|
|
if (!retval) {
|
|
/* loopscr value_u8=0x24 */
|
|
/* loopscr value_u8=0x3D */
|
|
/* loopscr value_u8=0x40 */
|
|
/* loopscr value_u8=0x25 */
|
|
/* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
|
|
while (!condition) {
|
|
if (Item.getFrame(item) >= 1) {
|
|
spawn class_0A1E_slot_28(pid, 0, 1, item);
|
|
suspend;
|
|
}
|
|
/* loopnext */
|
|
}
|
|
/* loopscr value_u8=0x24 */
|
|
/* loop current_var=0xFC string_bytes=0x1 loop_type=0x6 */
|
|
while (!condition) {
|
|
class_0A0C_slot_20(1, 10);
|
|
class_0A0C_slot_20((retval + 10), 10);
|
|
class_0A0C_slot_20(retval, 10);
|
|
/* loopnext */
|
|
}
|
|
/* loopscr value_u8=0x24 */
|
|
/* loopscr value_u8=0x3D */
|
|
/* loopscr value_u8=0x40 */
|
|
/* loopscr value_u8=0x25 */
|
|
/* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
|
|
while (!condition) {
|
|
fram = Item.getFrame(item);
|
|
if (fram >= 9) {
|
|
/* loopscr value_u8=0x24 */
|
|
/* loop current_var=0xFA string_bytes=0x1 loop_type=0x6 */
|
|
while (!condition) {
|
|
class_0A0C_slot_20(1, 10);
|
|
class_0A0C_slot_20((retval + 10), 10);
|
|
class_0A0C_slot_20(retval, 10);
|
|
/* loopnext */
|
|
}
|
|
}
|
|
/* loopnext */
|
|
}
|
|
}
|
|
}
|
|
return;
|
|
}
|