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

@ -2,7 +2,7 @@ function pplate2_gotHit() /* entry=86 class_id=0x0199 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
class_0A1D_slot_35(arg_0C, arg_0A);
FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
return;
}
@ -17,15 +17,15 @@ function pplate2_gotHit() /* entry=86 class_id=0x0199 slot=0x06 */
return;
}
else if (Item.getMapNum(arg_06) == 0) {
spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
while (!(1)) {
if (Item.getSurfaceWeight(arg_06) == 0) {
spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
else {
spawn class_0A17_slot_20(pid, 1, *(arg_06), arg_06);
spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
return;
}
@ -35,7 +35,7 @@ function pplate2_gotHit() /* entry=86 class_id=0x0199 slot=0x06 */
else {
while (!(1)) {
if (Item.getSurfaceWeight(arg_06) == 0) {
spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
else {

View file

@ -4,16 +4,16 @@ function pplate2_equip() /* entry=86 class_id=0x0199 slot=0x0A */
process_exclude();
local_02 = Item.getFrame(arg_06);
if (!(local_02 & 1)) {
spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
spawn class_0A17_slot_20(pid, 1, *(arg_06), arg_06);
spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
return;
}
else {
spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
spawn class_0A17_slot_20(pid, 0, *(arg_06), arg_06);
spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
return;