68 lines
1.5 KiB
Text
68 lines
1.5 KiB
Text
|
|
|
||
|
|
/* synthesized appendix for CAM_EW */
|
||
|
|
/* sparse lines above preserve recovered debugger line numbers where available */
|
||
|
|
|
||
|
|
/* ===== slot 0x06 gotHit ===== */
|
||
|
|
function cam_ew_gotHit() /* entry=99 class_id=0x01B9 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_ew_equip() /* entry=99 class_id=0x01B9 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_ew_unequip() /* entry=99 class_id=0x01B9 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_ew_enterFastArea() /* entry=99 class_id=0x01B9 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_ew_leaveFastArea() /* entry=99 class_id=0x01B9 slot=0x10 */
|
||
|
|
{
|
||
|
|
set_info(0x021C, *(arg_06));
|
||
|
|
process_exclude();
|
||
|
|
/* bit_not */
|
||
|
|
FREE.slot_3C(1, *(arg_06));
|
||
|
|
FREE.slot_3C(0x020A, *(arg_06));
|
||
|
|
return;
|
||
|
|
}
|