Pseudocode decompialtion improvements and docs

This commit is contained in:
MaddoScientisto 2026-03-26 22:10:48 +01:00
commit 589bfc31ef
1898 changed files with 60634 additions and 6597 deletions

View file

@ -0,0 +1,28 @@
function nostril_equip() /* entry=242 class_id=0x043E slot=0x0A */
{
set_info(0x0211, *(arg_06));
process_exclude();
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) {
spawn NOSTRIL.slot_20(local_02, arg_06);
/* loopnext */
}
return;
}
else if (arg_0A == 1) {
if (!(Item.getStatus(arg_06) & 0x1000)) {
return;
}
else {
ITEM.slot_24(0x1000, arg_06);
spawn NOSTRIL.slot_21(arg_06);
return;
}
}
return;
}

View file

@ -0,0 +1,17 @@
function nostril_slot_20() /* entry=242 class_id=0x043E slot=0x20 */
{
set_info(1, *(arg_06));
spawn STEAM.slot_22(local_04);
if (!Intrinsic006A()) {
while (Item.getFrame(local_04) == 21) {
spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
}
else {
spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
}
ITEM.slot_25(0x1000, arg_06);
return;
}

View file

@ -0,0 +1,21 @@
function nostril_slot_21() /* entry=242 class_id=0x043E slot=0x21 */
{
set_info(1, *(arg_06));
spawn FREE.slot_3B(UCMachine.rndRange(pid, 15, 0), 0x00000000);
suspend;
spawn STEAM.slot_22(local_02);
if (!Intrinsic006A()) {
while (Item.getFrame(local_02) == 10) {
spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
}
else {
spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
}
if (!Intrinsic006A()) {
return;
}
return;
}