// Token: 0x060005E0 RID: 1504 RVA: 0x00034464 File Offset: 0x00032664 private static void gmBoss4EggSetActionIndependent(AppMain.GMS_BOSS4_EGG_WORK egg_work, int act_id, bool force_change) { AppMain.GMS_BOSS4_PART_ACT_INFO gms_BOSS4_PART_ACT_INFO = AppMain.gm_boss4_egg_act_id_tbl[act_id]; AppMain.OBS_OBJECT_WORK obs_OBJECT_WORK = AppMain.GMM_BS_OBJ(egg_work); AppMain.GMS_BOSS4_BODY_WORK gms_BOSS4_BODY_WORK = (AppMain.GMS_BOSS4_BODY_WORK)obs_OBJECT_WORK.parent_obj; if ((gms_BOSS4_BODY_WORK.flag[0] & 2U) != 0U) { return; } if (!force_change && (egg_work.flag & 1U) != 0U && egg_work.egg_act_id == act_id) { return; } egg_work.egg_act_id = act_id; egg_work.flag |= 1U; if (gms_BOSS4_PART_ACT_INFO.is_maintain == 0) { AppMain.GmBsCmnSetAction(obs_OBJECT_WORK, ( int )gms_BOSS4_PART_ACT_INFO.act_id, ( int )gms_BOSS4_PART_ACT_INFO.is_repeat, gms_BOSS4_PART_ACT_INFO.is_blend); } else if (gms_BOSS4_PART_ACT_INFO.is_repeat != 0) { AppMain.GMM_BS_OBJ(egg_work).disp_flag |= 4U; } obs_OBJECT_WORK.obj_3d.speed[0] = gms_BOSS4_PART_ACT_INFO.mtn_spd; obs_OBJECT_WORK.obj_3d.blend_spd = gms_BOSS4_PART_ACT_INFO.blend_spd; }
private static void gmBoss4EggSetActionIndependent( AppMain.GMS_BOSS4_EGG_WORK egg_work, int act_id, bool force_change) { AppMain.GMS_BOSS4_PART_ACT_INFO bosS4PartActInfo = AppMain.gm_boss4_egg_act_id_tbl[act_id]; AppMain.OBS_OBJECT_WORK obj_work = AppMain.GMM_BS_OBJ((object)egg_work); if (((int)((AppMain.GMS_BOSS4_BODY_WORK)obj_work.parent_obj).flag[0] & 2) != 0 || !force_change && ((int)egg_work.flag & 1) != 0 && egg_work.egg_act_id == act_id) { return; } egg_work.egg_act_id = act_id; egg_work.flag |= 1U; if (bosS4PartActInfo.is_maintain == (byte)0) { AppMain.GmBsCmnSetAction(obj_work, (int)bosS4PartActInfo.act_id, (int)bosS4PartActInfo.is_repeat, bosS4PartActInfo.is_blend); } else if (bosS4PartActInfo.is_repeat != (byte)0) { AppMain.GMM_BS_OBJ((object)egg_work).disp_flag |= 4U; } obj_work.obj_3d.speed[0] = bosS4PartActInfo.mtn_spd; obj_work.obj_3d.blend_spd = bosS4PartActInfo.blend_spd; }