Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
|
|
@ -10,40 +10,28 @@ function convflr_gotHit() /* entry=128 class_id=0x022C slot=0x06 */
|
|||
a, /* [BP-05h] type=0x62 */
|
||||
b; /* [BP-06h] type=0x62 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
xdir = 0;
|
||||
ydir = -3;
|
||||
if Item.isOn(arg_06) goto block_0211;
|
||||
|
||||
block_020A:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
xdir = 0;
|
||||
ydir = -3;
|
||||
if (!Item.getQHi(arg_06)) {
|
||||
ydir = 3;
|
||||
|
||||
block_0211:
|
||||
class_0A0C_slot_2C(v, ref);
|
||||
if retval goto block_0229;
|
||||
|
||||
block_0223:
|
||||
goto block_029C;
|
||||
|
||||
block_0229:
|
||||
item = ref;
|
||||
a = Item.getQHi(*(arg_06), item);
|
||||
b = 1;
|
||||
if (Item.isOn(arg_06) != 0x00FF) goto block_0266;
|
||||
|
||||
block_025F:
|
||||
b = 0;
|
||||
|
||||
block_0266:
|
||||
if (a && b) goto block_029C;
|
||||
|
||||
block_0277:
|
||||
spawn class_0A04_slot_20(pid, ydir, xdir, arg_06);
|
||||
suspend;
|
||||
|
||||
block_029C:
|
||||
}
|
||||
class_0A0C_slot_2C(v, ref);
|
||||
if (!retval) {
|
||||
return;
|
||||
|
||||
}
|
||||
else {
|
||||
item = ref;
|
||||
a = Item.IsOn(*(arg_06), item);
|
||||
b = 1;
|
||||
if (Item.getQHi(arg_06) == 0x00FF) {
|
||||
b = 0;
|
||||
}
|
||||
if (!(a && b)) {
|
||||
spawn class_0A04_slot_20(pid, ydir, xdir, arg_06);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue