Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
|
|
@ -7,40 +7,24 @@ function pit_gotHit() /* entry=192 class_id=0x0364 slot=0x06 */
|
|||
item, /* [BP-02h] type=0x24 */
|
||||
n; /* [BP-04h] type=0x24 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
item = ref;
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
if retval goto block_010A;
|
||||
|
||||
block_0104:
|
||||
goto block_01CA;
|
||||
|
||||
block_010A:
|
||||
if Item.isNpc(item) goto block_01BF;
|
||||
|
||||
block_0119:
|
||||
n = ref;
|
||||
if (n != 1) goto block_018B;
|
||||
|
||||
block_012B:
|
||||
spawn class_0A0C_slot_21(pid, 98, 0x00000000);
|
||||
suspend;
|
||||
goto block_01CA;
|
||||
|
||||
block_0188:
|
||||
goto block_01BC;
|
||||
|
||||
block_018B:
|
||||
goto block_01CA;
|
||||
|
||||
block_01BC:
|
||||
goto block_01CA;
|
||||
|
||||
block_01BF:
|
||||
|
||||
block_01CA:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
item = ref;
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
if (!retval) {
|
||||
return;
|
||||
|
||||
}
|
||||
else if (!Actor.isNPC(item)) {
|
||||
n = ref;
|
||||
if (n == 1) {
|
||||
spawn class_0A0C_slot_21(pid, 98, 0x00000000);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
else {
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue