Crusader_Decomp/USECODE/REGRET/CAM_NS.unk

68 lines
1.5 KiB
Text

/* synthesized appendix for CAM_NS */
/* sparse lines above preserve recovered debugger line numbers where available */
/* ===== slot 0x06 gotHit ===== */
function cam_ns_gotHit() /* entry=100 class_id=0x01BA slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
spawn WALLGUN2.slot_21(arg_0C, arg_0A, arg_06);
return;
}
/* ===== slot 0x0A equip ===== */
function cam_ns_equip() /* entry=100 class_id=0x01BA slot=0x0A */
{
set_info(0x0211, *(arg_06));
process_exclude();
if (World.getControlledNPCNum() == 0) {
spawn WALLGUN.slot_24(pid, arg_0A, World.getControlledNPCNum(), arg_06);
suspend;
return;
}
else {
spawn WALLGUN.slot_24(pid, arg_0A, global[0x001E], arg_06);
suspend;
}
return;
}
/* ===== slot 0x0B unequip ===== */
function cam_ns_unequip() /* entry=100 class_id=0x01BA slot=0x0B */
{
set_info(0x0212, *(arg_06));
process_exclude();
if (!(Item.getStatus(arg_06) & 4)) {
return;
}
else {
spawn WALLGUN.slot_27(arg_06);
}
return;
}
/* ===== slot 0x0F enterFastArea ===== */
function cam_ns_enterFastArea() /* entry=100 class_id=0x01BA slot=0x0F */
{
set_info(0x021B, *(arg_06));
process_exclude();
if (!(Item.getStatus(arg_06) & 4)) {
return;
}
else {
spawn WALLGUN.slot_27(arg_06);
}
return;
}
/* ===== slot 0x10 leaveFastArea ===== */
function cam_ns_leaveFastArea() /* entry=100 class_id=0x01BA slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
/* bit_not */
FREE.slot_3C(1, *(arg_06));
FREE.slot_3C(0x020A, *(arg_06));
return;
}