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,51 @@
|
|||
function energy_use() /* entry=341 class_id=0x0582 slot=0x01 */
|
||||
{
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
set_info(0x00F0, 0);
|
||||
/* global_address global_id=0x1E */
|
||||
if (MainActor.getMaxEnergy() == 0x09C4) {
|
||||
local_04 = 0x03E8;
|
||||
}
|
||||
else {
|
||||
/* global_address global_id=0x1E */
|
||||
if (MainActor.getMaxEnergy() == 0x1388) {
|
||||
local_04 = 0x07D0;
|
||||
}
|
||||
else {
|
||||
/* global_address global_id=0x1E */
|
||||
if (MainActor.getMaxEnergy() == 0x2710) {
|
||||
local_04 = 0x0BB8;
|
||||
}
|
||||
else {
|
||||
/* global_address global_id=0x1E */
|
||||
}
|
||||
}
|
||||
}
|
||||
/* global_address global_id=0x1E */
|
||||
/* global_address global_id=0x1E */
|
||||
if (!MainActor.getMaxEnergy(Actor.getMana())) {
|
||||
spawn FREE.slot_21(pid, 0x01A7, 0x00000000);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
else {
|
||||
/* global_address global_id=0x1E */
|
||||
/* global_address global_id=0x1E */
|
||||
if (!MainActor.getMaxEnergy((Actor.getMana() + local_04))) {
|
||||
/* global_address global_id=0x1E */
|
||||
/* global_address global_id=0x1E */
|
||||
spawn FREE.slot_21(pid, 0x010D, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
else {
|
||||
/* global_address global_id=0x1E */
|
||||
/* global_address global_id=0x1E */
|
||||
spawn FREE.slot_21(pid, 0x010D, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
spawn FREE.slot_3B(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue