Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -0,0 +1,27 @@
|
|||
function slideew_gotHit() /* entry=261 class_id=0x0466 slot=0x06 */
|
||||
{
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
local_01 = 0;
|
||||
local_02 = -3;
|
||||
if (!Item.getQHi(arg_06)) {
|
||||
local_02 = 3;
|
||||
}
|
||||
FREE.slot_35(arg_0C, arg_0A);
|
||||
if (!retval) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
local_04 = arg_0A;
|
||||
local_05 = Item.isOn(*(arg_06), local_04);
|
||||
local_06 = 1;
|
||||
if (Item.getQHi(arg_06) == 0x00FF) {
|
||||
local_06 = 0;
|
||||
}
|
||||
if (!(local_05 && local_06)) {
|
||||
spawn CONVEYOR.slot_20(pid, local_02, local_01, arg_06);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
function slideew_equip() /* entry=261 class_id=0x0466 slot=0x0A */
|
||||
{
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (arg_0A == 0) {
|
||||
FREE.slot_3C(0x0205, *(arg_06));
|
||||
return;
|
||||
}
|
||||
else if (arg_0A == 1) {
|
||||
FREE.slot_3C(0x0205, *(arg_06));
|
||||
spawn CONVEYOR.slot_20(-3, 0, arg_06);
|
||||
return;
|
||||
}
|
||||
else if (arg_0A == 2) {
|
||||
FREE.slot_3C(0x0205, *(arg_06));
|
||||
spawn CONVEYOR.slot_20(3, 0, arg_06);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue