60 lines
1.3 KiB
Text
60 lines
1.3 KiB
Text
function pepsins_use() /* entry=30 class_id=0x009A slot=0x01 */
|
|
{
|
|
var
|
|
referent, /* [BP+00h] type=0x69 */
|
|
item, /* [BP-02h] type=0x24 */
|
|
x, /* [BP-04h] type=0x69 */
|
|
y, /* [BP-06h] type=0x69 */
|
|
z, /* [BP-08h] type=0x69 */
|
|
wp; /* [BP-0Dh] type=0x24 */
|
|
|
|
entry:
|
|
set_info(0x0207, *(arg_06));
|
|
process_exclude();
|
|
x = 0;
|
|
y = 1;
|
|
wp = Intrinsic0013(arg_06);
|
|
local_0B = (Item.legal_create(arg_06) + 32);
|
|
local_09 = (Item.getZ(arg_06) + 32);
|
|
if (Intrinsic00DA(100, 0) > 50) goto block_01E4;
|
|
|
|
block_0140:
|
|
if Item.getSurfaceWeight(wp, 0, 0x0343, item) goto block_01E1;
|
|
|
|
block_0156:
|
|
suspend;
|
|
/* 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=0x2 */
|
|
|
|
block_01A0:
|
|
if condition goto block_01DF;
|
|
|
|
block_01A3:
|
|
if (Item.getStatus(item) & 0x0080) goto block_01DB;
|
|
|
|
block_01B6:
|
|
spawn class_0A1E_slot_28(pid, 1, 0, item);
|
|
suspend;
|
|
|
|
block_01DB:
|
|
/* loopnext */
|
|
goto block_01A0;
|
|
|
|
block_01DF:
|
|
|
|
block_01E1:
|
|
goto block_0240;
|
|
|
|
block_01E4:
|
|
if Item.getSurfaceWeight(wp, 0, 0x0579, item) goto block_0240;
|
|
|
|
block_01FA:
|
|
suspend;
|
|
|
|
block_0240:
|
|
return;
|
|
|
|
}
|