Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
|
|
@ -1,39 +1,27 @@
|
|||
function surcamew_use() /* entry=284 class_id=0x04DE slot=0x01 */
|
||||
{
|
||||
entry:
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
if (Item.getStatus(arg_06) & 0x1000) goto block_01E7;
|
||||
|
||||
block_01E1:
|
||||
goto block_029B;
|
||||
|
||||
block_01E7:
|
||||
/* global_address global_id=0x3C */
|
||||
if (Item.getType((Item.getNpcNum(arg_06) != 4)) != 25) goto block_028D;
|
||||
|
||||
block_020A:
|
||||
if (global[0x002C] != 0) goto block_0275;
|
||||
|
||||
block_0217:
|
||||
/* pop_global global_id=0x2C size=0x1 */
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
|
||||
suspend;
|
||||
|
||||
block_0275:
|
||||
/* bit_not */
|
||||
goto block_029B;
|
||||
|
||||
block_028A:
|
||||
goto block_029B;
|
||||
|
||||
block_028D:
|
||||
spawn class_04DE_slot_20(arg_06);
|
||||
|
||||
block_029B:
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
if (!(Item.getStatus(arg_06) & 0x1000)) {
|
||||
return;
|
||||
|
||||
}
|
||||
else {
|
||||
/* global_address global_id=0x3C */
|
||||
if (Actor.getMap((Item.getQLo(arg_06) == 4)) != 25) {
|
||||
if (global[0x002C] == 0) {
|
||||
/* pop_global global_id=0x2C size=0x1 */
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
|
||||
suspend;
|
||||
}
|
||||
/* bit_not */
|
||||
return;
|
||||
}
|
||||
else {
|
||||
spawn class_04DE_slot_20(arg_06);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue