Crusader_Decomp/USECODE/EUSECODE_extracted/pseudocode/GRENEGG/slot_07_hatch.txt
2026-03-26 00:37:17 +01:00

41 lines
1 KiB
Text

function grenegg_hatch() /* entry=349 class_id=0x0909 slot=0x07 */
{
var
referent, /* [BP+00h] type=0x69 */
item, /* [BP-02h] type=0x24 */
source, /* [BP-04h] type=0x24 */
dest, /* [BP-06h] type=0x24 */
counter, /* [BP-08h] type=0x69 */
wp; /* [BP-0Dh] type=0x24 */
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 */
}
/* 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 */
}
if (!(source && dest)) {
wp = Item.getX(dest);
local_0B = Item.getY(dest);
local_09 = Item.getZ(dest);
}
return;
}