35 lines
817 B
Text
35 lines
817 B
Text
|
|
/* synthesized appendix for MINE_S */
|
|
/* sparse lines above preserve recovered debugger line numbers where available */
|
|
|
|
/* ===== slot 0x06 gotHit ===== */
|
|
function mine_s_gotHit() /* entry=312 class_id=0x053D slot=0x06 */
|
|
{
|
|
set_info(0x020C, *(arg_06));
|
|
process_exclude();
|
|
FREE.slot_35(arg_0C, arg_0A);
|
|
local_02 = retval;
|
|
if (!local_02) {
|
|
if (local_02 == 4) {
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
else {
|
|
local_04 = arg_0A;
|
|
if (!Item.isOn(*(arg_06), local_04)) {
|
|
if (((arg_0A < 0x00FF) && (arg_0A == World.getControlledNPCNum())) && (Item.isEntirelyOnScreen(arg_06) != 0)) {
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
return;
|
|
}
|
|
|
|
/* ===== slot 0x0A equip ===== */
|
|
function mine_s_equip() /* entry=312 class_id=0x053D slot=0x0A */
|
|
{
|
|
set_info(0x0211, *(arg_06));
|
|
process_exclude();
|
|
return;
|
|
}
|