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

@ -4,44 +4,26 @@ function keypadns_use() /* entry=242 class_id=0x044B slot=0x01 */
referent, /* [BP+00h] type=0x69 */
alreadyPassed; /* [BP-01h] type=0x62 */
entry:
set_info(0x0207, *(arg_06));
process_exclude();
if (Item.getMapNum(arg_06) != 0) goto block_01CA;
block_00FD:
set_info(0x0207, *(arg_06));
process_exclude();
if (Item.getMapArray(arg_06) == 0) {
alreadyPassed = (Item.getStatus(arg_06) & 4);
if (alreadyPassed != 0) goto block_01A0;
block_0119:
if Intrinsic0000() goto block_017E;
block_0124:
block_0131:
if Item.touch(123, arg_06) goto block_016B;
block_0142:
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
goto block_0131;
block_016B:
goto block_01CA;
block_017E:
spawn class_0A0E_slot_20(pid, arg_06);
suspend;
goto block_01C7;
block_01A0:
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
block_01C7:
goto block_01CA;
block_01CA:
if (alreadyPassed == 0) {
if (!World.getAlertActive()) {
while (!AudioProcess.isSFXPlayingForObject(123, arg_06)) {
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
}
return;
}
spawn class_0A0E_slot_20(pid, arg_06);
suspend;
}
else {
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
return;
}
return;
}