82 lines
2 KiB
Text
82 lines
2 KiB
Text
|
|
/* synthesized appendix for JUICEEW */
|
|
/* sparse lines above preserve recovered debugger line numbers where available */
|
|
|
|
/* ===== slot 0x01 use ===== */
|
|
function juiceew_use() /* entry=360 class_id=0x05B9 slot=0x01 */
|
|
{
|
|
set_info(0x0207, *(arg_06));
|
|
process_exclude();
|
|
if (!Item.getFrame(arg_06)) {
|
|
return;
|
|
}
|
|
else {
|
|
/* loopscr value_u8=0x24 */
|
|
/* loopscr value_u8=0x3D */
|
|
/* loopscr value_u8=0x40 */
|
|
/* loopscr value_u8=0x25 */
|
|
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x4 */
|
|
while (!condition) {
|
|
local_05 = 1;
|
|
local_04 = local_02;
|
|
/* loopnext */
|
|
}
|
|
if (local_05) {
|
|
spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
|
|
suspend;
|
|
return;
|
|
}
|
|
else {
|
|
ITEM.slot_24(0x1000, arg_06);
|
|
/* global_address global_id=0x1E */
|
|
/* global_address global_id=0x1E */
|
|
suspend;
|
|
/* global_address global_id=0x1E */
|
|
if (Intrinsic0061()) {
|
|
local_06 = 0;
|
|
}
|
|
else {
|
|
local_06 = 1;
|
|
/* global_address global_id=0x1E */
|
|
/* global_address global_id=0x1E */
|
|
suspend;
|
|
}
|
|
spawn SWITCH.slot_20(pid, arg_06);
|
|
suspend;
|
|
if (Item.getMapNum(arg_06) == 0) {
|
|
spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
|
|
suspend;
|
|
}
|
|
/* global_address global_id=0x1E */
|
|
while (!Actor.isBusy()) {
|
|
spawn FREE.slot_3B(pid, 2, 0x00000000);
|
|
suspend;
|
|
}
|
|
if (!local_06) {
|
|
/* global_address global_id=0x1E */
|
|
/* global_address global_id=0x1E */
|
|
suspend;
|
|
}
|
|
}
|
|
}
|
|
return;
|
|
}
|
|
|
|
/* ===== slot 0x04 cachein ===== */
|
|
function juiceew_cachein() /* entry=360 class_id=0x05B9 slot=0x04 */
|
|
{
|
|
set_info(0x0213, *(arg_06));
|
|
process_exclude();
|
|
if (Item.getFrame(arg_06)) {
|
|
ITEM.slot_24(0x1000, arg_06);
|
|
}
|
|
return;
|
|
}
|
|
|
|
/* ===== slot 0x0F enterFastArea ===== */
|
|
function juiceew_enterFastArea() /* entry=360 class_id=0x05B9 slot=0x0F */
|
|
{
|
|
set_info(0x021B, *(arg_06));
|
|
process_exclude();
|
|
return;
|
|
}
|