46 lines
1.1 KiB
Text
46 lines
1.1 KiB
Text
|
|
/* synthesized appendix for BOX_NS */
|
|
/* sparse lines above preserve recovered debugger line numbers where available */
|
|
|
|
/* ===== slot 0x01 use ===== */
|
|
function box_ns_use() /* entry=26 class_id=0x0081 slot=0x01 */
|
|
{
|
|
set_info(0x0207, *(arg_06));
|
|
process_exclude();
|
|
if (!Item.getFrame(arg_06)) {
|
|
while (!Intrinsic0035(0x00A7, arg_06)) {
|
|
spawn FREE.slot_3B(pid, 2, 0x00000000);
|
|
suspend;
|
|
}
|
|
local_02 = 0;
|
|
while (local_02 > 5) {
|
|
spawn FREE.slot_3B(pid, 5, 0x00000000);
|
|
suspend;
|
|
local_02 = (1 + local_02);
|
|
}
|
|
}
|
|
else {
|
|
while (!Intrinsic0035(0x00A5, arg_06)) {
|
|
spawn FREE.slot_3B(pid, 2, 0x00000000);
|
|
suspend;
|
|
}
|
|
local_02 = 0;
|
|
while (local_02 > 5) {
|
|
spawn FREE.slot_3B(pid, 5, 0x00000000);
|
|
suspend;
|
|
local_02 = (1 + local_02);
|
|
}
|
|
}
|
|
if (Item.getMapNum(arg_06) == 0) {
|
|
if (Item.getFrame(arg_06) == 0) {
|
|
spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
|
|
suspend;
|
|
}
|
|
else {
|
|
spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
|
|
suspend;
|
|
}
|
|
return;
|
|
}
|
|
return;
|
|
}
|