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

@ -6,23 +6,15 @@ function valbox_slot_20() /* entry=395 class_id=0x0A19 slot=0x20 */
highByte, /* [BP-04h] type=0x69 */
keypadCode; /* [BP-06h] type=0x69 */
entry:
lowByte = (Intrinsic0111(arg_06) & 0x00FF);
/* lsh */
highByte = 8;
keypadCode = (lowByte + highByte);
if (keypadCode > 0x03E7) goto block_0134;
block_0127:
goto block_013D;
block_0131:
goto block_013D;
block_0134:
goto block_013D;
block_013D:
lowByte = (Item.getNPCNum(arg_06) & 0x00FF);
/* lsh */
highByte = 8;
keypadCode = (lowByte + highByte);
if (keypadCode <= 0x03E7) {
return;
}
else {
return;
}
return;
}