Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
|
|
@ -6,32 +6,21 @@ function elevator_release() /* entry=124 class_id=0x021E slot=0x09 */
|
|||
item, /* [BP-04h] type=0x24 */
|
||||
door; /* [BP-06h] type=0x24 */
|
||||
|
||||
entry:
|
||||
set_info(0x020D, *(arg_06));
|
||||
process_exclude();
|
||||
w = Intrinsic0057(arg_06);
|
||||
if (w != 0) goto block_0FB5;
|
||||
|
||||
block_0F3C:
|
||||
set_info(0x020D, *(arg_06));
|
||||
process_exclude();
|
||||
w = Item.getSurfaceWeight(arg_06);
|
||||
if (w == 0) {
|
||||
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x42 */
|
||||
/* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
|
||||
|
||||
block_0F82:
|
||||
if condition goto block_0FB3;
|
||||
|
||||
block_0F85:
|
||||
door = item;
|
||||
spawn class_0A06_slot_21(pid, 2, door);
|
||||
suspend;
|
||||
/* loopnext */
|
||||
goto block_0F82;
|
||||
|
||||
block_0FB3:
|
||||
|
||||
block_0FB5:
|
||||
return;
|
||||
|
||||
while (!condition) {
|
||||
door = item;
|
||||
spawn class_0A06_slot_21(pid, 2, door);
|
||||
suspend;
|
||||
/* loopnext */
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue