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,27 @@
|
|||
function holo_use() /* entry=355 class_id=0x05AD slot=0x01 */
|
||||
{
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
if (Item.getFrame(arg_06) == 0) {
|
||||
spawn FREE.slot_3B(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
else if (Item.getFrame(arg_06) == 1) {
|
||||
/* 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=0x6 */
|
||||
while (!condition) {
|
||||
/* loopnext */
|
||||
}
|
||||
spawn FREE.slot_3B(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
else {
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
function holo_gotHit() /* entry=355 class_id=0x05AD slot=0x06 */
|
||||
{
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
if (Item.getFrame(arg_06) <= 1) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
FREE.slot_35(arg_0C, arg_0A);
|
||||
if (!retval) {
|
||||
spawn ITEM.slot_2A(pid, 0, 1, arg_06);
|
||||
suspend;
|
||||
/* 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=0x6 */
|
||||
while (!condition) {
|
||||
/* loopnext */
|
||||
}
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
function holo_equip() /* entry=355 class_id=0x05AD slot=0x0A */
|
||||
{
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (Item.getFrame(arg_06) == 2) {
|
||||
return;
|
||||
}
|
||||
else if (arg_0A == 0) {
|
||||
/* 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=0x6 */
|
||||
while (!condition) {
|
||||
/* loopnext */
|
||||
}
|
||||
spawn FREE.slot_3B(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
else if (arg_0A == 1) {
|
||||
spawn FREE.slot_3B(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
function holo_enterFastArea() /* entry=355 class_id=0x05AD slot=0x0F */
|
||||
{
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue