Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
|
|
@ -1,9 +1,7 @@
|
|||
function conveyor_leaveFastArea() /* entry=374 class_id=0x0A04 slot=0x10 */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x0205, *(arg_06));
|
||||
return;
|
||||
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x0205, *(arg_06));
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,14 +17,14 @@ function conveyor_slot_20() /* entry=374 class_id=0x0A04 slot=0x20 */
|
|||
set_info(0x0205, *(arg_06));
|
||||
counter = 0;
|
||||
counter = Item.getFrame(arg_06);
|
||||
if (Item.touch(115, arg_06) != 0) goto block_013E;
|
||||
if (AudioProcess.isSFXPlayingForObject(115, arg_06) != 0) goto block_013E;
|
||||
|
||||
block_0131:
|
||||
|
||||
block_013E:
|
||||
suspend;
|
||||
areThereItems = 0;
|
||||
if Item.getCX(arg_06) goto block_019E;
|
||||
if Item.getQHi(arg_06) goto block_019E;
|
||||
|
||||
block_0161:
|
||||
counter = (counter - 1);
|
||||
|
|
@ -75,20 +75,20 @@ function conveyor_slot_20() /* entry=374 class_id=0x0A04 slot=0x20 */
|
|||
if condition goto block_0304;
|
||||
|
||||
block_0215:
|
||||
t = Intrinsic0016(cargo_item);
|
||||
t = Item.getShape(cargo_item);
|
||||
if ((t != 0x0476) && (t != 0x04D0)) goto block_0300;
|
||||
|
||||
block_0239:
|
||||
a = Item.getQHi(*(arg_06), cargo_item);
|
||||
wp = (Intrinsic0013(cargo_item) + xdir);
|
||||
local_0C = (Item.legal_create(cargo_item) + ydir);
|
||||
a = Item.IsOn(*(arg_06), cargo_item);
|
||||
wp = (Item.getX(cargo_item) + xdir);
|
||||
local_0C = (Item.getY(cargo_item) + ydir);
|
||||
local_0A = Item.getZ(cargo_item);
|
||||
if (!Item.pop(0, 1, wp, cargo_item)) goto block_02CB;
|
||||
if (!legalMoveToPoint(0, 1, wp, cargo_item)) goto block_02CB;
|
||||
|
||||
block_029F:
|
||||
|
||||
block_02CB:
|
||||
b = Item.getQHi(*(arg_06), cargo_item);
|
||||
b = Item.IsOn(*(arg_06), cargo_item);
|
||||
areThereItems = 1;
|
||||
if ((a != 1) && (b != 0)) goto block_0300;
|
||||
|
||||
|
|
@ -107,7 +107,7 @@ function conveyor_slot_20() /* entry=374 class_id=0x0A04 slot=0x20 */
|
|||
goto block_0386;
|
||||
|
||||
block_0355:
|
||||
if (Item.touch(115, arg_06) != 0) goto block_0376;
|
||||
if (AudioProcess.isSFXPlayingForObject(115, arg_06) != 0) goto block_0376;
|
||||
|
||||
block_0369:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue