Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -13,24 +13,22 @@ function mtaregg_hatch() /* entry=343 class_id=0x0903 slot=0x07 */
|
|||
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 */
|
||||
/* loop_selector item in selector_0x42(arg0=0x01F2, arg1=0x01F3, arg2=(20 * 32), origin=arg_06) */
|
||||
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);
|
||||
spawn MTAREGG.slot_20(74, 0, item, arg_06);
|
||||
}
|
||||
else if (hiValue == 2) {
|
||||
spawn class_0903_slot_20(74, 4, item, arg_06);
|
||||
spawn MTAREGG.slot_20(74, 4, item, arg_06);
|
||||
}
|
||||
else if (hiValue == 3) {
|
||||
spawn class_0903_slot_20(74, 8, item, arg_06);
|
||||
spawn MTAREGG.slot_20(74, 8, item, arg_06);
|
||||
}
|
||||
else if (hiValue == 4) {
|
||||
spawn class_0903_slot_20(74, 12, item, arg_06);
|
||||
spawn MTAREGG.slot_20(74, 12, item, arg_06);
|
||||
}
|
||||
}
|
||||
/* loopnext */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue