Crusader_Decomp/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_04_cachein.txt

36 lines
990 B
Text

function miss1egg_cachein() /* entry=353 class_id=0x090D slot=0x04 */
{
var
referent, /* [BP+00h] type=0x69 */
item, /* [BP-02h] type=0x24 */
pad2, /* [BP-04h] type=0x24 */
counter, /* [BP-06h] type=0x69 */
slot; /* [BP-08h] type=0x69 */
set_info(0x0213, *(arg_06));
process_exclude();
if (Egg.getEggId(arg_06) == 30) {
if (Game.isReleaseBuild()) {
spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
/* pop_global global_id=0x1F size=0x1 */
/* global_address global_id=0x3C */
suspend;
return;
}
else {
/* pop_global global_id=0x1F size=0x1 */
/* global_address global_id=0x3C */
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
/* global_address global_id=0x3C */
spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
suspend;
}
}
return;
}