Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
|
|
@ -8,57 +8,34 @@ function grenegg_hatch() /* entry=349 class_id=0x0909 slot=0x07 */
|
|||
counter, /* [BP-08h] type=0x69 */
|
||||
wp; /* [BP-0Dh] type=0x24 */
|
||||
|
||||
entry:
|
||||
set_info(0x0210, *(arg_06));
|
||||
process_exclude();
|
||||
/* 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=0x2 */
|
||||
|
||||
block_0109:
|
||||
if condition goto block_0129;
|
||||
|
||||
block_010C:
|
||||
if (Item.getFrame(item) != 0) goto block_0125;
|
||||
|
||||
block_011E:
|
||||
source = item;
|
||||
|
||||
block_0125:
|
||||
set_info(0x0210, *(arg_06));
|
||||
process_exclude();
|
||||
/* 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=0x2 */
|
||||
while (!condition) {
|
||||
if (Item.getFrame(item) == 0) {
|
||||
source = item;
|
||||
}
|
||||
/* loopnext */
|
||||
goto block_0109;
|
||||
|
||||
block_0129:
|
||||
/* 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=0x2 */
|
||||
|
||||
block_0149:
|
||||
if condition goto block_0169;
|
||||
|
||||
block_014C:
|
||||
if (Item.getFrame(item) != 0) goto block_0165;
|
||||
|
||||
block_015E:
|
||||
dest = item;
|
||||
|
||||
block_0165:
|
||||
}
|
||||
/* 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=0x2 */
|
||||
while (!condition) {
|
||||
if (Item.getFrame(item) == 0) {
|
||||
dest = item;
|
||||
}
|
||||
/* loopnext */
|
||||
goto block_0149;
|
||||
|
||||
block_0169:
|
||||
if (source && dest) goto block_01F0;
|
||||
|
||||
block_017C:
|
||||
wp = Intrinsic0013(dest);
|
||||
local_0B = Item.legal_create(dest);
|
||||
}
|
||||
if (!(source && dest)) {
|
||||
wp = Item.getX(dest);
|
||||
local_0B = Item.getY(dest);
|
||||
local_09 = Item.getZ(dest);
|
||||
|
||||
block_01F0:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue