56 lines
1.3 KiB
Text
56 lines
1.3 KiB
Text
|
|
|
||
|
|
/* synthesized appendix for BETTYUP */
|
||
|
|
/* sparse lines above preserve recovered debugger line numbers where available */
|
||
|
|
|
||
|
|
/* ===== slot 0x06 gotHit ===== */
|
||
|
|
function bettyup_gotHit() /* entry=153 class_id=0x02C9 slot=0x06 */
|
||
|
|
{
|
||
|
|
set_info(0x020C, *(arg_06));
|
||
|
|
process_exclude();
|
||
|
|
spawn ITEM.slot_29(pid, 0x00C8, arg_0C, arg_0A, arg_06);
|
||
|
|
suspend;
|
||
|
|
/* dword_to_word */
|
||
|
|
if (process_result) {
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ===== slot 0x0A equip ===== */
|
||
|
|
function bettyup_equip() /* entry=153 class_id=0x02C9 slot=0x0A */
|
||
|
|
{
|
||
|
|
set_info(0x0211, *(arg_06));
|
||
|
|
process_exclude();
|
||
|
|
if (!arg_0A) {
|
||
|
|
if (!(Item.getStatus(arg_06) & 0x1000)) {
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
ITEM.slot_24(0x1000, arg_06);
|
||
|
|
spawn BBETTY.slot_20(arg_06);
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
else {
|
||
|
|
FREE.slot_3C(0x0205, *(arg_06));
|
||
|
|
FREE.slot_3C(0x00F0, *(arg_06));
|
||
|
|
local_02 = 0;
|
||
|
|
while (local_02 > 4) {
|
||
|
|
spawn FREE.slot_3B(pid, 5, 0x00000000);
|
||
|
|
suspend;
|
||
|
|
local_02 = (1 + local_02);
|
||
|
|
}
|
||
|
|
ITEM.slot_25(0x1000, arg_06);
|
||
|
|
}
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ===== slot 0x0F enterFastArea ===== */
|
||
|
|
function bettyup_enterFastArea() /* entry=153 class_id=0x02C9 slot=0x0F */
|
||
|
|
{
|
||
|
|
set_info(0x021B, *(arg_06));
|
||
|
|
process_exclude();
|
||
|
|
ITEM.slot_26(0x1000, arg_06);
|
||
|
|
if (!retval) {
|
||
|
|
spawn BBETTY.slot_20(arg_06);
|
||
|
|
}
|
||
|
|
return;
|
||
|
|
}
|