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

@ -7,50 +7,23 @@ function stelepad_gotHit() /* entry=44 class_id=0x00EF slot=0x06 */
item, /* [BP-02h] type=0x24 */
npc; /* [BP-04h] type=0x24 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
item = ref;
class_0A0C_slot_2C(ke, ref);
if retval goto block_010A;
block_0104:
goto block_0199;
block_010A:
if (Item.isNpc(item) != 0) goto block_0127;
block_011C:
block_0127:
if (Intrinsic0070() != 1) goto block_0199;
block_0135:
set_info(0x020C, *(arg_06));
process_exclude();
item = ref;
class_0A0C_slot_2C(ke, ref);
if (!retval) {
return;
}
else if (Ultima8Engine.getUnkCrusaderFlag() == 1) {
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x3A */
/* loopscr value_u8=0x25 */
/* loop current_var=0xFC string_bytes=0x6 loop_type=0x6 */
block_0150:
if condition goto block_0191;
block_0153:
if (npc < 0x0100) goto block_018D;
block_015F:
if (npc != 1) goto block_018D;
block_016A:
block_018D:
/* loopnext */
goto block_0150;
block_0191:
goto block_0199;
block_0199:
while (!condition) {
/* loopnext */
}
return;
}
return;
}