43 lines
1,013 B
Text
43 lines
1,013 B
Text
|
|
/* synthesized appendix for D_FREIGH */
|
|
/* sparse lines above preserve recovered debugger line numbers where available */
|
|
|
|
/* ===== slot 0x01 use ===== */
|
|
function d_freigh_use() /* entry=187 class_id=0x0360 slot=0x01 */
|
|
{
|
|
set_info(0x0207, *(arg_06));
|
|
process_exclude();
|
|
if (!(Item.getStatus(arg_06) & 0x1000)) {
|
|
return;
|
|
}
|
|
else {
|
|
spawn FREE.slot_49(pid, *(arg_06), 0x00000000);
|
|
suspend;
|
|
/* dword_to_word */
|
|
if (!process_result) {
|
|
ITEM.slot_24(0x1000, arg_06);
|
|
}
|
|
}
|
|
return;
|
|
}
|
|
|
|
/* ===== slot 0x06 gotHit ===== */
|
|
function d_freigh_gotHit() /* entry=187 class_id=0x0360 slot=0x06 */
|
|
{
|
|
set_info(0x020C, *(arg_06));
|
|
process_exclude();
|
|
FREE.slot_35(arg_0C, arg_0A);
|
|
if ((retval == 4) || (Game.isViolenceEnabled() != 0)) {
|
|
return;
|
|
}
|
|
else {
|
|
/* loopscr value_u8=0x24 */
|
|
/* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
|
|
while (!condition) {
|
|
if (Item.getShape(local_02) == 0x0111) {
|
|
}
|
|
/* loopnext */
|
|
}
|
|
}
|
|
return;
|
|
}
|