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,58 @@
|
|||
function juiceew_use() /* entry=360 class_id=0x05B9 slot=0x01 */
|
||||
{
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
if (!Item.getFrame(arg_06)) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x4 */
|
||||
while (!condition) {
|
||||
local_05 = 1;
|
||||
local_04 = local_02;
|
||||
/* loopnext */
|
||||
}
|
||||
if (local_05) {
|
||||
spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
else {
|
||||
ITEM.slot_24(0x1000, arg_06);
|
||||
/* global_address global_id=0x1E */
|
||||
/* global_address global_id=0x1E */
|
||||
suspend;
|
||||
/* global_address global_id=0x1E */
|
||||
if (Intrinsic0061()) {
|
||||
local_06 = 0;
|
||||
}
|
||||
else {
|
||||
local_06 = 1;
|
||||
/* global_address global_id=0x1E */
|
||||
/* global_address global_id=0x1E */
|
||||
suspend;
|
||||
}
|
||||
spawn SWITCH.slot_20(pid, arg_06);
|
||||
suspend;
|
||||
if (Item.getMapNum(arg_06) == 0) {
|
||||
spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
|
||||
suspend;
|
||||
}
|
||||
/* global_address global_id=0x1E */
|
||||
while (!Actor.isBusy()) {
|
||||
spawn FREE.slot_3B(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
if (!local_06) {
|
||||
/* global_address global_id=0x1E */
|
||||
/* global_address global_id=0x1E */
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
function juiceew_cachein() /* entry=360 class_id=0x05B9 slot=0x04 */
|
||||
{
|
||||
set_info(0x0213, *(arg_06));
|
||||
process_exclude();
|
||||
if (Item.getFrame(arg_06)) {
|
||||
ITEM.slot_24(0x1000, arg_06);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
function juiceew_enterFastArea() /* entry=360 class_id=0x05B9 slot=0x0F */
|
||||
{
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue