Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
|
|
@ -5,44 +5,29 @@ function nostril_equip() /* entry=237 class_id=0x043E slot=0x0A */
|
|||
event, /* [BP+0Ah] type=0x69 */
|
||||
fire; /* [BP-02h] type=0x24 */
|
||||
|
||||
entry:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (event != 0) goto block_0139;
|
||||
|
||||
block_00FF:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (event == 0) {
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x6 */
|
||||
|
||||
block_011B:
|
||||
if condition goto block_0134;
|
||||
|
||||
block_011E:
|
||||
spawn class_043E_slot_20(fire, arg_06);
|
||||
/* loopnext */
|
||||
goto block_011B;
|
||||
|
||||
block_0134:
|
||||
goto block_017A;
|
||||
|
||||
block_0139:
|
||||
if (event != 1) goto block_017A;
|
||||
|
||||
block_0141:
|
||||
if (Item.getStatus(arg_06) & 0x1000) goto block_015A;
|
||||
|
||||
block_0154:
|
||||
goto block_017A;
|
||||
|
||||
block_015A:
|
||||
class_0A1E_slot_23(0x1000, arg_06);
|
||||
spawn class_043E_slot_21(arg_06);
|
||||
goto block_017A;
|
||||
|
||||
block_017A:
|
||||
while (!condition) {
|
||||
spawn class_043E_slot_20(fire, arg_06);
|
||||
/* loopnext */
|
||||
}
|
||||
return;
|
||||
|
||||
}
|
||||
else if (event == 1) {
|
||||
if (!(Item.getStatus(arg_06) & 0x1000)) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
class_0A1E_slot_23(0x1000, arg_06);
|
||||
spawn class_043E_slot_21(arg_06);
|
||||
return;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,27 +6,17 @@ function nostril_slot_20() /* entry=237 class_id=0x043E slot=0x20 */
|
|||
count, /* [BP-02h] type=0x69 */
|
||||
fire2; /* [BP-04h] type=0x24 */
|
||||
|
||||
entry:
|
||||
set_info(1, *(arg_06));
|
||||
if Item.getQHi() goto block_0259;
|
||||
|
||||
block_0218:
|
||||
if (Item.getFrame(fire2) != 21) goto block_0256;
|
||||
|
||||
block_022D:
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
goto block_0218;
|
||||
|
||||
block_0256:
|
||||
goto block_027F;
|
||||
|
||||
block_0259:
|
||||
set_info(1, *(arg_06));
|
||||
if (!getAnimationsDisabled()) {
|
||||
while (Item.getFrame(fire2) == 21) {
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
else {
|
||||
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
|
||||
block_027F:
|
||||
class_0A1E_slot_24(0x1000, arg_06);
|
||||
return;
|
||||
|
||||
}
|
||||
class_0A1E_slot_24(0x1000, arg_06);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,36 +6,21 @@ function nostril_slot_21() /* entry=237 class_id=0x043E slot=0x21 */
|
|||
fire2, /* [BP-04h] type=0x24 */
|
||||
count; /* [BP-06h] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(1, *(arg_06));
|
||||
spawn class_0A0C_slot_32(Intrinsic00DA(pid, 15, 0), 0x00000000);
|
||||
suspend;
|
||||
if Item.getQHi() goto block_03A2;
|
||||
|
||||
block_0364:
|
||||
if (Item.getFrame(fire) != 10) goto block_039F;
|
||||
|
||||
block_0376:
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
goto block_0364;
|
||||
|
||||
block_039F:
|
||||
goto block_03C8;
|
||||
|
||||
block_03A2:
|
||||
set_info(1, *(arg_06));
|
||||
spawn class_0A0C_slot_32(UCMachine.rndRange(pid, 15, 0), 0x00000000);
|
||||
suspend;
|
||||
if (!getAnimationsDisabled()) {
|
||||
while (Item.getFrame(fire) == 10) {
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
else {
|
||||
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
|
||||
block_03C8:
|
||||
if Item.getQHi() goto block_0441;
|
||||
|
||||
block_0428:
|
||||
goto block_0457;
|
||||
|
||||
block_0441:
|
||||
|
||||
block_0457:
|
||||
}
|
||||
if (!getAnimationsDisabled()) {
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue