Crusader_Decomp/USECODE/REGRET/SHEPHERD.unk

84 lines
2 KiB
Text

/* synthesized appendix for SHEPHERD */
/* sparse lines above preserve recovered debugger line numbers where available */
/* ===== slot 0x01 use ===== */
function shepherd_use() /* entry=260 class_id=0x0463 slot=0x01 */
{
set_info(0x0207, *(arg_06));
process_exclude();
/* pop_global global_id=0x6 size=0x1 */
if (global[0x000F] == 4) {
/* str_to_ptr */
/* free_stack_string value_u8=0x0 target=[SP+00h] */
return;
}
else if (global[0x000F] == 5) {
/* str_to_ptr */
/* free_stack_string value_u8=0x0 target=[SP+00h] */
return;
}
else if (global[0x000F] == 6) {
/* str_to_ptr */
/* free_stack_string value_u8=0x0 target=[SP+00h] */
return;
}
else if (global[0x000F] == 7) {
if (!(global[0x0016])) {
/* str_to_ptr */
/* free_stack_string value_u8=0x0 target=[SP+00h] */
}
else {
/* str_to_ptr */
/* free_stack_string value_u8=0x0 target=[SP+00h] */
}
return;
}
else if (global[0x000F] == 8) {
/* str_to_ptr */
/* free_stack_string value_u8=0x0 target=[SP+00h] */
return;
}
else if (global[0x000F] == 9) {
/* str_to_ptr */
/* free_stack_string value_u8=0x0 target=[SP+00h] */
return;
}
else if (global[0x000F] == 10) {
/* str_to_ptr */
/* free_stack_string value_u8=0x0 target=[SP+00h] */
return;
}
return;
}
/* ===== slot 0x0F enterFastArea ===== */
function shepherd_enterFastArea() /* entry=260 class_id=0x0463 slot=0x0F */
{
entry:
set_info(0x021B, *(arg_06));
process_exclude();
block_01EC:
while (true) {
suspend;
local_02 = 24;
while (local_02 > 31) {
spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
local_02 = 0;
while (local_02 > 6) {
spawn FREE.slot_3B(pid, 10, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
spawn FREE.slot_3B(pid, 20, 0x00000000);
suspend;
}
block_0278:
return;
}