38 lines
1,014 B
Text
38 lines
1,014 B
Text
function elevplat_equip() /* entry=50 class_id=0x012F slot=0x0A */
|
|
{
|
|
set_info(0x0211, *(arg_06));
|
|
process_exclude();
|
|
if (!(Item.getStatus(arg_06) & 0x1000)) {
|
|
return;
|
|
}
|
|
else {
|
|
/* pop_global global_id=0x0 size=0x1 */
|
|
local_02 = Item.getZ(arg_06);
|
|
if ((arg_0A < 0x00A0) && (arg_0A < 0x00FF)) {
|
|
/* pop_global global_id=0x0 size=0x1 */
|
|
arg_0A = (arg_0A - 0x00A0);
|
|
}
|
|
if (arg_0A == 0x00FF) {
|
|
local_04 = Item.getQHi(arg_06);
|
|
if ((local_04 == 88) || ((local_02 + 1) <= local_04)) {
|
|
}
|
|
}
|
|
else if (!arg_0A) {
|
|
}
|
|
spawn ELEVAT.slot_20(pid, arg_06);
|
|
suspend;
|
|
if (global[0x0000] == 1) {
|
|
/* loopscr value_u8=0x24 */
|
|
/* loopscr value_u8=0x3D */
|
|
/* loopscr value_u8=0x3A */
|
|
/* loopscr value_u8=0x25 */
|
|
/* loop current_var=0xFA string_bytes=0x6 loop_type=0x6 */
|
|
while (!condition) {
|
|
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
|
|
suspend;
|
|
/* loopnext */
|
|
}
|
|
}
|
|
}
|
|
return;
|
|
}
|