Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
|
|
@ -6,34 +6,23 @@ function d_cour_gotHit() /* entry=266 class_id=0x04C2 slot=0x06 */
|
|||
vel, /* [BP+0Ch] type=0x69 */
|
||||
goods; /* [BP-02h] type=0x24 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
if (Intrinsic00DA(100, 0) > 50) goto block_0108;
|
||||
|
||||
block_0102:
|
||||
goto block_01A1;
|
||||
|
||||
block_0108:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
if (UCMachine.rndRange(100, 0) <= 50) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
|
||||
|
||||
block_0118:
|
||||
if condition goto block_016A;
|
||||
|
||||
block_011B:
|
||||
while (!condition) {
|
||||
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A1E_slot_28(pid, 1, 0, goods);
|
||||
suspend;
|
||||
/* loopnext */
|
||||
}
|
||||
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A1E_slot_28(pid, 1, 0, goods);
|
||||
suspend;
|
||||
/* loopnext */
|
||||
goto block_0118;
|
||||
|
||||
block_016A:
|
||||
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
|
||||
block_01A1:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue