Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
|
|
@ -5,38 +5,23 @@ function windsurf_equip() /* entry=180 class_id=0x0337 slot=0x0A */
|
|||
var, /* [BP+0Ah] type=0x69 */
|
||||
item; /* [BP-02h] type=0x24 */
|
||||
|
||||
entry:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x020C, *(arg_06));
|
||||
if (var != 0x00FF) goto block_011B;
|
||||
|
||||
block_0115:
|
||||
goto block_0171;
|
||||
|
||||
block_011B:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x020C, *(arg_06));
|
||||
if (var == 0x00FF) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loop current_var=0xFE string_bytes=0x1 loop_type=0x2 */
|
||||
|
||||
block_0130:
|
||||
if condition goto block_016F;
|
||||
|
||||
block_0133:
|
||||
if (item != *(arg_06)) goto block_016B;
|
||||
|
||||
block_0146:
|
||||
if Item.overlaps(item, arg_06) goto block_016B;
|
||||
|
||||
block_0157:
|
||||
spawn class_0337_gotHit(0, item, arg_06);
|
||||
|
||||
block_016B:
|
||||
/* loopnext */
|
||||
goto block_0130;
|
||||
|
||||
block_016F:
|
||||
|
||||
block_0171:
|
||||
return;
|
||||
|
||||
while (!condition) {
|
||||
if (item == *(arg_06)) {
|
||||
if (!Item.overlaps(item, arg_06)) {
|
||||
spawn class_0337_gotHit(0, item, arg_06);
|
||||
}
|
||||
}
|
||||
/* loopnext */
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue