Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
|
|
@ -6,45 +6,31 @@ function g_pool_gotHit() /* entry=66 class_id=0x015D slot=0x06 */
|
|||
vel, /* [BP+0Ch] type=0x69 */
|
||||
item; /* [BP-02h] type=0x24 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
item = ref;
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
if (retval != 4) goto block_0132;
|
||||
|
||||
block_010D:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
item = ref;
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
if (retval == 4) {
|
||||
spawn class_0A1E_slot_28(pid, 1, 1, arg_06);
|
||||
suspend;
|
||||
|
||||
block_0132:
|
||||
if ((ref <= 0x0100) && (ref != Item.pop())) goto block_0150;
|
||||
|
||||
block_014A:
|
||||
goto block_01C5;
|
||||
|
||||
block_0150:
|
||||
if 1 goto block_01C5;
|
||||
|
||||
block_0158:
|
||||
/* global_address global_id=0x3C */
|
||||
if Item.use(*(arg_06)) goto block_01BC;
|
||||
|
||||
block_016C:
|
||||
class_0A0C_slot_20(8, 20);
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
|
||||
suspend;
|
||||
goto block_01C2;
|
||||
|
||||
block_01BC:
|
||||
goto block_01C5;
|
||||
|
||||
block_01C2:
|
||||
goto block_0150;
|
||||
|
||||
block_01C5:
|
||||
}
|
||||
if ((ref <= 0x0100) && (ref == getTargetNPCNumMaybe())) {
|
||||
return;
|
||||
|
||||
}
|
||||
else {
|
||||
while (!(1)) {
|
||||
/* global_address global_id=0x3C */
|
||||
if (!Item.isCentreOn(*(arg_06))) {
|
||||
class_0A0C_slot_20(8, 20);
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue