Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
|
|
@ -5,35 +5,21 @@ function wshockew_unequip() /* entry=245 class_id=0x044E slot=0x0B */
|
|||
var, /* [BP+0Ah] type=0x69 */
|
||||
item; /* [BP-02h] type=0x24 */
|
||||
|
||||
entry:
|
||||
set_info(0x0212, *(arg_06));
|
||||
process_exclude();
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x3A */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
|
||||
|
||||
block_0115:
|
||||
if condition goto block_015F;
|
||||
|
||||
block_0118:
|
||||
if Item.isNpc(item) goto block_015B;
|
||||
|
||||
block_0127:
|
||||
if (Item.overlaps(item, arg_06) != 1) goto block_015B;
|
||||
|
||||
block_0141:
|
||||
spawn class_044E_gotHit(0, item, arg_06);
|
||||
goto block_0161;
|
||||
|
||||
block_015B:
|
||||
set_info(0x0212, *(arg_06));
|
||||
process_exclude();
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x3A */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
|
||||
while (!condition) {
|
||||
if (!Actor.isNPC(item)) {
|
||||
if (Item.overlaps(item, arg_06) == 1) {
|
||||
spawn class_044E_gotHit(0, item, arg_06);
|
||||
return;
|
||||
}
|
||||
}
|
||||
/* loopnext */
|
||||
goto block_0115;
|
||||
|
||||
block_015F:
|
||||
|
||||
block_0161:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue