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,7 @@
|
|||
function miss6_cachein() /* entry=436 class_id=0x0912 slot=0x04 */
|
||||
{
|
||||
set_info(0x0213, *(arg_06));
|
||||
process_exclude();
|
||||
/* pop_global global_id=0xF size=0x1 */
|
||||
return;
|
||||
}
|
||||
|
|
@ -0,0 +1,131 @@
|
|||
function miss6_hatch() /* entry=436 class_id=0x0912 slot=0x07 */
|
||||
{
|
||||
set_info(0x0210, *(arg_06));
|
||||
process_exclude();
|
||||
if (Egg.getEggId(arg_06) == 1) {
|
||||
spawn FREE.slot_3B(pid, 1, 0x00000000);
|
||||
suspend;
|
||||
/* global_address global_id=0x1E */
|
||||
suspend;
|
||||
spawn FREE.slot_3B(pid, 60, 0x00000000);
|
||||
suspend;
|
||||
/* loop_selector local_02 in nearby_items(shape=0x00C0, origin=arg_06) */
|
||||
while (!condition) {
|
||||
local_06 = local_02;
|
||||
/* loopnext */
|
||||
}
|
||||
if (!local_06) {
|
||||
spawn DOOR.slot_21(pid, 1, local_06);
|
||||
suspend;
|
||||
/* global_address global_id=0x1E */
|
||||
suspend;
|
||||
/* global_address global_id=0x1E */
|
||||
suspend;
|
||||
/* global_address global_id=0x1E */
|
||||
suspend;
|
||||
/* global_address global_id=0x1E */
|
||||
suspend;
|
||||
/* global_address global_id=0x1E */
|
||||
suspend;
|
||||
spawn DOOR.slot_21(pid, 2, local_06);
|
||||
suspend;
|
||||
}
|
||||
FREE.slot_23();
|
||||
}
|
||||
if (Egg.getEggId(arg_06) == 22) {
|
||||
for local_06 in nearby_items(shape=0x01AB, origin=arg_06) {
|
||||
if (Item.getQLo(local_06) == 22) {
|
||||
spawn DOOR.slot_21(pid, 1, local_06);
|
||||
suspend;
|
||||
}
|
||||
/* loopnext */
|
||||
}
|
||||
/* global_address global_id=0x1E */
|
||||
if (!Intrinsic0061()) {
|
||||
/* global_address global_id=0x1E */
|
||||
/* global_address global_id=0x1E */
|
||||
suspend;
|
||||
}
|
||||
/* global_address global_id=0x1E */
|
||||
suspend;
|
||||
/* global_address global_id=0x1E */
|
||||
suspend;
|
||||
/* global_address global_id=0x1E */
|
||||
suspend;
|
||||
/* loop_selector local_02 in nearby_items(shape=0x053A, origin=arg_06) */
|
||||
while (!condition) {
|
||||
if (Item.getQLo(local_02) == 22) {
|
||||
FREE.slot_32(local_02, global[0x001E]);
|
||||
while ((retval > 3) && (local_04 == 10)) {
|
||||
/* global_address global_id=0x1E */
|
||||
/* global_address global_id=0x1E */
|
||||
/* global_address global_id=0x1E */
|
||||
spawn NPC.slot_22(Item.getDirFromTo16(Item.getX(pid, 1, Item.getY((Item.getY(local_02) - 32), (Item.getX(local_02) - 16)))));
|
||||
suspend;
|
||||
local_04 = (1 + local_04);
|
||||
}
|
||||
}
|
||||
/* loopnext */
|
||||
}
|
||||
/* global_address global_id=0x1E */
|
||||
suspend;
|
||||
/* global_address global_id=0x1E */
|
||||
suspend;
|
||||
spawn FREE.slot_3B(pid, 60, 0x00000000);
|
||||
suspend;
|
||||
/* loop_selector local_02 in nearby_items(shape=0x041C, origin=arg_06) */
|
||||
while (!condition) {
|
||||
if (Item.getQLo(local_02) == 22) {
|
||||
local_04 = 2;
|
||||
while (local_04 > 29) {
|
||||
spawn FREE.slot_3B(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
local_04 = (1 + local_04);
|
||||
local_04 = (1 + local_04);
|
||||
}
|
||||
}
|
||||
/* loopnext */
|
||||
}
|
||||
spawn FREE.slot_21(pid, 0x01E5, 0x00000000);
|
||||
suspend;
|
||||
spawn FREE.slot_21(pid, 0x01E6, 0x00000000);
|
||||
suspend;
|
||||
/* global_address global_id=0x1E */
|
||||
suspend;
|
||||
/* loop_selector local_02 in nearby_items(shape=0x0361, origin=arg_06) */
|
||||
while (!condition) {
|
||||
if (Item.getQLo(local_02) == 22) {
|
||||
/* global_address global_id=0x1E */
|
||||
}
|
||||
/* loopnext */
|
||||
}
|
||||
for local_02 in nearby_items(shape=0x041C, origin=arg_06) {
|
||||
/* loopnext */
|
||||
}
|
||||
spawn FREE.slot_21(pid, 0x0084, 0x00000000);
|
||||
suspend;
|
||||
spawn FREE.slot_3B(pid, 120, 0x00000000);
|
||||
suspend;
|
||||
local_04 = 1;
|
||||
while (local_04 > 3) {
|
||||
/* global_address global_id=0x1E */
|
||||
suspend;
|
||||
spawn FREE.slot_3B(pid, 20, 0x00000000);
|
||||
suspend;
|
||||
local_04 = (1 + local_04);
|
||||
}
|
||||
for local_02 in nearby_items(shape=0x041C, origin=arg_06) {
|
||||
if (Item.getQLo(local_02) == 22) {
|
||||
local_04 = 31;
|
||||
while (local_04 > 60) {
|
||||
spawn FREE.slot_3B(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
local_04 = (1 + local_04);
|
||||
local_04 = (1 + local_04);
|
||||
}
|
||||
}
|
||||
/* loopnext */
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue