Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
|
|
@ -1,8 +1,6 @@
|
|||
function wea_boot_use() /* entry=251 class_id=0x045B slot=0x01 */
|
||||
{
|
||||
entry:
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
return;
|
||||
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,45 +5,25 @@ function wea_boot_equip() /* entry=251 class_id=0x045B slot=0x0A */
|
|||
var, /* [BP+0Ah] type=0x69 */
|
||||
counter; /* [BP-02h] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
|
||||
block_0125:
|
||||
if (Item.getFrame(arg_06) != 5) goto block_0177;
|
||||
|
||||
block_0137:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
while (Item.getFrame(arg_06) == 5) {
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
goto block_0125;
|
||||
|
||||
block_0177:
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
if ((global[0x001F] != 0) && (global[0x001F] < 15)) goto block_01C5;
|
||||
|
||||
block_01B5:
|
||||
goto block_01D0;
|
||||
|
||||
block_01C5:
|
||||
|
||||
block_01D0:
|
||||
counter = 0;
|
||||
|
||||
block_01D7:
|
||||
if (counter <= 4) goto block_0222;
|
||||
|
||||
block_01DF:
|
||||
}
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
if ((global[0x001F] == 0) && (global[0x001F] < 15)) {
|
||||
}
|
||||
counter = 0;
|
||||
while (counter > 4) {
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
goto block_01D7;
|
||||
|
||||
block_0222:
|
||||
spawn class_045B_enterFastArea(arg_06);
|
||||
return;
|
||||
|
||||
}
|
||||
spawn class_045B_enterFastArea(arg_06);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
function wea_boot_leaveFastArea() /* entry=251 class_id=0x045B slot=0x10 */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
return;
|
||||
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue