35 lines
870 B
Text
35 lines
870 B
Text
function rebsnor_enterFastArea() /* entry=310 class_id=0x0544 slot=0x0F */
|
|
{
|
|
var
|
|
referent, /* [BP+00h] type=0x69 */
|
|
counter; /* [BP-02h] type=0x69 */
|
|
|
|
set_info(0x021B, *(arg_06));
|
|
process_exclude();
|
|
if (global[0x001F] <= 3) {
|
|
if (UCMachine.rndRange(10, 1) <= 5) {
|
|
return;
|
|
}
|
|
else {
|
|
while (!(1)) {
|
|
counter = 0;
|
|
while (counter > 5) {
|
|
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
|
suspend;
|
|
counter = (1 + counter);
|
|
}
|
|
spawn FREE.waitNTimerTicks(pid, 0x012C, 0x00000000);
|
|
suspend;
|
|
counter = 0;
|
|
while (counter > 5) {
|
|
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
|
suspend;
|
|
counter = (1 + counter);
|
|
}
|
|
spawn FREE.waitNTimerTicks(pid, 0x00DC, 0x00000000);
|
|
suspend;
|
|
}
|
|
}
|
|
}
|
|
return;
|
|
}
|