34 lines
732 B
Text
34 lines
732 B
Text
function flormine_gotHit() /* entry=143 class_id=0x029F slot=0x06 */
|
|
{
|
|
var
|
|
referent, /* [BP+00h] type=0x69 */
|
|
ref, /* [BP+0Ah] type=0x69 */
|
|
vel, /* [BP+0Ch] type=0x69 */
|
|
hType, /* [BP-02h] type=0x69 */
|
|
item; /* [BP-04h] type=0x24 */
|
|
|
|
set_info(0x020C, *(arg_06));
|
|
process_exclude();
|
|
if (Item.getFrame(arg_06) <= 1) {
|
|
return;
|
|
}
|
|
else {
|
|
FREE.slot_2C(vel, ref);
|
|
hType = retval;
|
|
if (!hType) {
|
|
if (hType == 4) {
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
else {
|
|
item = ref;
|
|
if (!Item.isOn(*(arg_06), item)) {
|
|
if (((ref < 0x00FF) && (ref == getTargetNPCNumMaybe())) && (Item.isOnScreen(arg_06) != 0)) {
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return;
|
|
}
|