35 lines
859 B
Text
35 lines
859 B
Text
|
|
/* synthesized appendix for G_POOL */
|
|
/* sparse lines above preserve recovered debugger line numbers where available */
|
|
|
|
/* ===== slot 0x06 gotHit ===== */
|
|
function g_pool_gotHit() /* entry=75 class_id=0x015D slot=0x06 */
|
|
{
|
|
set_info(0x020C, *(arg_06));
|
|
process_exclude();
|
|
local_02 = arg_0A;
|
|
FREE.slot_35(arg_0C, arg_0A);
|
|
if (retval == 4) {
|
|
spawn ITEM.slot_2A(pid, 1, 1, arg_06);
|
|
suspend;
|
|
}
|
|
if ((arg_0A <= 0x0100) && (arg_0A == World.getControlledNPCNum())) {
|
|
return;
|
|
}
|
|
else {
|
|
while (!(1)) {
|
|
/* global_address global_id=0x1E */
|
|
if (!Item.isCentreOn(*(arg_06))) {
|
|
FREE.slot_20(8, 20);
|
|
/* global_address global_id=0x1E */
|
|
/* global_address global_id=0x1E */
|
|
spawn FREE.slot_3B(pid, 60, 0x00000000);
|
|
suspend;
|
|
}
|
|
else {
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
return;
|
|
}
|