Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
|
|
@ -7,58 +7,33 @@ function mtaregg_hatch() /* entry=343 class_id=0x0903 slot=0x07 */
|
|||
hiValue, /* [BP-06h] type=0x69 */
|
||||
loValue; /* [BP-08h] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x0210, *(arg_06));
|
||||
process_exclude();
|
||||
id = 0;
|
||||
hiValue = 0;
|
||||
loValue = 0;
|
||||
id = Intrinsic003F(arg_06);
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x42 */
|
||||
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
|
||||
|
||||
block_0131:
|
||||
if condition goto block_01E9;
|
||||
|
||||
block_0134:
|
||||
loValue = Intrinsic00D9(item);
|
||||
if (id != loValue) goto block_01E5;
|
||||
|
||||
block_0153:
|
||||
hiValue = Item.callEvent0A(item);
|
||||
if (hiValue != 1) goto block_0182;
|
||||
|
||||
block_0169:
|
||||
spawn class_0903_slot_20(74, 0, item, arg_06);
|
||||
goto block_01E5;
|
||||
|
||||
block_0182:
|
||||
if (hiValue != 2) goto block_01A3;
|
||||
|
||||
block_018A:
|
||||
spawn class_0903_slot_20(74, 4, item, arg_06);
|
||||
goto block_01E5;
|
||||
|
||||
block_01A3:
|
||||
if (hiValue != 3) goto block_01C4;
|
||||
|
||||
block_01AB:
|
||||
spawn class_0903_slot_20(74, 8, item, arg_06);
|
||||
goto block_01E5;
|
||||
|
||||
block_01C4:
|
||||
if (hiValue != 4) goto block_01E5;
|
||||
|
||||
block_01CC:
|
||||
spawn class_0903_slot_20(74, 12, item, arg_06);
|
||||
goto block_01E5;
|
||||
|
||||
block_01E5:
|
||||
set_info(0x0210, *(arg_06));
|
||||
process_exclude();
|
||||
id = 0;
|
||||
hiValue = 0;
|
||||
loValue = 0;
|
||||
id = Egg.getEggId(arg_06);
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x42 */
|
||||
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
|
||||
while (!condition) {
|
||||
loValue = Item.getQLo(item);
|
||||
if (id == loValue) {
|
||||
hiValue = Item.getQHi(item);
|
||||
if (hiValue == 1) {
|
||||
spawn class_0903_slot_20(74, 0, item, arg_06);
|
||||
}
|
||||
else if (hiValue == 2) {
|
||||
spawn class_0903_slot_20(74, 4, item, arg_06);
|
||||
}
|
||||
else if (hiValue == 3) {
|
||||
spawn class_0903_slot_20(74, 8, item, arg_06);
|
||||
}
|
||||
else if (hiValue == 4) {
|
||||
spawn class_0903_slot_20(74, 12, item, arg_06);
|
||||
}
|
||||
}
|
||||
/* loopnext */
|
||||
goto block_0131;
|
||||
|
||||
block_01E9:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue