Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
|
|
@ -6,35 +6,23 @@ function fffloor2_gotHit() /* entry=96 class_id=0x01C8 slot=0x06 */
|
|||
vel, /* [BP+0Ch] type=0x69 */
|
||||
n; /* [BP-02h] type=0x24 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Item.getFrame(arg_06) != 1) || (ref > 0x0100)) goto block_0495;
|
||||
|
||||
block_048F:
|
||||
goto block_051F;
|
||||
|
||||
block_0495:
|
||||
n = ref;
|
||||
|
||||
block_049C:
|
||||
if Item.isOn(*(arg_06), n) goto block_051F;
|
||||
|
||||
block_04AF:
|
||||
if (Item.getFrame(arg_06) != 1) goto block_04C7;
|
||||
|
||||
block_04C1:
|
||||
goto block_051F;
|
||||
|
||||
block_04C7:
|
||||
class_0A0C_slot_20(pid, 8);
|
||||
spawn class_0A11_slot_2D(retval, *(arg_06), n);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
goto block_049C;
|
||||
|
||||
block_051F:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Item.getFrame(arg_06) == 1) || (ref > 0x0100)) {
|
||||
return;
|
||||
|
||||
}
|
||||
else {
|
||||
n = ref;
|
||||
while (!Item.isOn(*(arg_06), n)) {
|
||||
if (Item.getFrame(arg_06) == 1) {
|
||||
return;
|
||||
}
|
||||
class_0A0C_slot_20(pid, 8);
|
||||
spawn class_0A11_slot_2D(retval, *(arg_06), n);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue