Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
|
|
@ -6,69 +6,52 @@ function energy_use() /* entry=329 class_id=0x0582 slot=0x01 */
|
|||
fule, /* [BP-04h] type=0x69 */
|
||||
item; /* [BP-06h] type=0x24 */
|
||||
|
||||
entry:
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
set_info(0x00F0, 0);
|
||||
/* global_address global_id=0x3C */
|
||||
if (Intrinsic0081() != 0x09C4) goto block_0110;
|
||||
|
||||
block_0105:
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
set_info(0x00F0, 0);
|
||||
/* global_address global_id=0x3C */
|
||||
if (MainActor.getMaxEnergy() == 0x09C4) {
|
||||
fule = 0x03E8;
|
||||
goto block_0157;
|
||||
|
||||
block_0110:
|
||||
}
|
||||
else {
|
||||
/* global_address global_id=0x3C */
|
||||
if (Intrinsic0081() != 0x1388) goto block_012C;
|
||||
|
||||
block_0121:
|
||||
fule = 0x07D0;
|
||||
goto block_0157;
|
||||
|
||||
block_012C:
|
||||
/* global_address global_id=0x3C */
|
||||
if (Intrinsic0081() != 0x2710) goto block_0148;
|
||||
|
||||
block_013D:
|
||||
fule = 0x0BB8;
|
||||
goto block_0157;
|
||||
|
||||
block_0148:
|
||||
/* global_address global_id=0x3C */
|
||||
|
||||
block_0157:
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
if Intrinsic0081(Intrinsic0082()) goto block_01D7;
|
||||
|
||||
block_0175:
|
||||
if (MainActor.getMaxEnergy() == 0x1388) {
|
||||
fule = 0x07D0;
|
||||
}
|
||||
else {
|
||||
/* global_address global_id=0x3C */
|
||||
if (MainActor.getMaxEnergy() == 0x2710) {
|
||||
fule = 0x0BB8;
|
||||
}
|
||||
else {
|
||||
/* global_address global_id=0x3C */
|
||||
}
|
||||
}
|
||||
}
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
if (!MainActor.getMaxEnergy(Actor.getMana())) {
|
||||
spawn class_0A0C_slot_21(pid, 0x00B0, 0x00000000);
|
||||
suspend;
|
||||
goto block_02AC;
|
||||
|
||||
block_01D7:
|
||||
return;
|
||||
}
|
||||
else {
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
if Intrinsic0081((Intrinsic0082() + fule)) goto block_0242;
|
||||
|
||||
block_01F8:
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
spawn class_0A0C_slot_21(pid, 0x010D, 0x00000000);
|
||||
suspend;
|
||||
goto block_0286;
|
||||
|
||||
block_0242:
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
spawn class_0A0C_slot_21(pid, 0x010D, 0x00000000);
|
||||
suspend;
|
||||
|
||||
block_0286:
|
||||
if (!MainActor.getMaxEnergy((Actor.getMana() + fule))) {
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
spawn class_0A0C_slot_21(pid, 0x010D, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
else {
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
spawn class_0A0C_slot_21(pid, 0x010D, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
|
||||
block_02AC:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue