Usecode pseudocode

This commit is contained in:
MaddoScientisto 2026-03-26 00:37:17 +01:00
commit c12bb39437
1362 changed files with 71072 additions and 38056 deletions

View file

@ -1,24 +1,18 @@
function switchew_use() /* entry=11 class_id=0x0061 slot=0x01 */
{
entry:
set_info(0x0207, *(arg_06));
process_exclude();
spawn class_0A16_slot_20(arg_06);
if (Item.getMapNum(arg_06) != 0) goto block_016E;
block_010B:
if (Item.getFrame(arg_06) != 0) goto block_0147;
block_011D:
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
goto block_016E;
block_0147:
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
suspend;
block_016E:
return;
set_info(0x0207, *(arg_06));
process_exclude();
spawn class_0A16_slot_20(arg_06);
if (Item.getMapArray(arg_06) == 0) {
if (Item.getFrame(arg_06) == 0) {
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
return;
}
else {
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
suspend;
}
}
return;
}