Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function pick_character_image(girl:Girl):MovieClip
- {
- switch(girl.dress_id()) {
- case -1: // nude
- if(worksafe) {
- return null;
- }
- temp = int(Math.random()*3) + 1;
- return girl.get_image("menace" + temp + "Nude");
- case cItem.Swimsuit:
- return girl.get_image("menaceJobFrontSwimsuit");
- case cItem.Maid_Dress:
- return girl.get_image("menace1Maid");
- case cItem.School_Uniform:
- return girl.get_image("menace1SchoolUniform");
- case cItem.Plugsuit:
- return girl.get_image("menace1PlugSuit");
- default:
- break;
- }
- return girl.get_image("charMenace1");
- }
- function pick_job_forward(girl:Girl)
- {
- switch(girl.dress_id()) {
- case -1: // nude
- if(worksafe) {
- return null;
- }
- return girl.get_image("menace1FrontNude");
- case cItem.Swimsuit:
- return girl.get_image("menaceJobFrontSwimsuit");
- case cItem.Maid_Dress:
- return girl.get_image("menace1Maid");
- case cItem.School_Uniform:
- return girl.get_image("menace1SchoolUniform");
- case cItem.Plugsuit:
- return girl.get_image("menace1PlugSuit");
- }
- return girl.get_image("menaceJobFront1");
- }
- var picture_list = [
- new PictureEntry({
- picture_id : Picture.Character_Screen,
- func : pick_character_image
- }),
- new PictureEntry({
- picture_id : Picture.House_Job_Rest,
- name : "menace1Rest"
- }),
- new PictureEntry({
- picture_id : Picture.House_Job_Clean,
- name : "menace1Cleaning"
- }),
- new PictureEntry({
- picture_id : Picture.House_Job_Lockdown,
- nsfw : true,
- name : "menace1Lockdown"
- }),
- new PictureEntry({
- picture_id : Picture.House_Job_Whore,
- nsfw : true,
- name : "menace1Whore"
- }),
- new PictureEntry({
- picture_id : Picture.Auction1,
- nsfw : true,
- name : "menace1Nude"
- }),
- new PictureEntry({
- picture_id : Picture.Auction2,
- nsfw : true,
- name : "menace2Nude"
- }),
- new PictureEntry({
- picture_id : Picture.Auction3,
- nsfw : true,
- name : "menace3Nude"
- }),
- new PictureEntry({
- picture_id : Picture.Job_Forward,
- func : pick_job_forward
- }),
- new PictureEntry({
- picture_id : Picture.Pimp_Screen,
- nsfw : true,
- name : "menace1PimpBackalley"
- }),
- new PictureEntry({
- picture_id : Picture.Pimp_Screen_Rape,
- nsfw : true,
- func : "menace1WalkRedLightDistrictRaped"
- }),
- new PictureEntry({
- picture_id : Picture.Train_BJ,
- nsfw : true,
- random : [ "menace1JobBlowjob", "menace2StraightBlowJobJob" ]
- }),
- new PictureEntry({
- picture_id : Picture.Train_Fuck,
- nsfw : true,
- name : "menace.menace1JobFuck"
- }),
- new PictureEntry({
- picture_id : Picture.Train_Anal,
- nsfw : true,
- name : "menace.menace1JobAnal"
- }),
- /*
- * randomly mixing generics and specific images... mutter mutter
- */
- new PictureEntry({
- picture_id : Picture.Train_Anal,
- nsfw : true,
- func : function(girl:Girl) {
- if(Math.random() < 0.666) {
- var generics:cGeneric = new cGeneric();
- return generics.get_image(Picture.Train_Anal, "black", false);
- }
- return girl.get_image("menace1TitFuckJob");
- }
- }),
- new PictureEntry({
- picture_id : Picture.FemP_FemS_Strapon,
- nsfw : true,
- name : "menace1LesbianStrapOnJob"
- }),
- new PictureEntry({
- picture_id : Picture.FemP_FemS_Trib,
- nsfw : true,
- name : "menace1LesbianTribJob"
- }),
- new PictureEntry({
- picture_id : Picture.FemP_FemS_Cunn,
- nsfw : true,
- name : "menace1LesbianCunJob"
- }),
- new PictureEntry({
- picture_id : Picture.FutP_FutS_Fuck,
- nsfw : true,
- random : [ "menace1FutaOnFutaFuckingJob", "menace2FutaOnFutaFuckingJob" ]
- }),
- new PictureEntry({
- picture_id : Picture.FutP_FutS_Anal,
- nsfw : true,
- name : "menace1FutaonFutaBothJobs"
- }),
- new PictureEntry({
- picture_id : Picture.FutP_FutS_Fuck,
- nsfw : true,
- name : "menace2FutaonFutaBothJobs"
- }),
- new PictureEntry({
- picture_id : Picture.Train_MaleP_FutS_1,
- nsfw : true,
- random : [ "menace1JobBlowjob", "menace2StraightBlowJobJob" ]
- }),
- new PictureEntry({
- picture_id : Picture.Train_MaleP_FutS_2,
- nsfw : true,
- name : "menace1MaleOnFutaBlowJob"
- }),
- new PictureEntry({
- picture_id : Picture.Train_MaleP_FutS_3,
- nsfw : true,
- generic : true,
- }),
- new PictureEntry({
- picture_id : Picture.Train_FemP_FutS_1,
- nsfw : true,
- generic : true,
- }),
- new PictureEntry({
- picture_id : Picture.Train_FemP_FutS_2,
- nsfw : true,
- name : "menace1LesbianPlayerFutaSlaveTribJob"
- }),
- new PictureEntry({
- picture_id : Picture.Train_FemP_FutS_3,
- nsfw : true,
- name : "menace1LesbianOnFutaCunJob"
- }),
- new PictureEntry({
- picture_id : Picture.Train_FemP_FutS_3,
- nsfw : true,
- name : "menace1LesbianOnFutaCunJob"
- }),
- new PictureEntry({
- picture_id : Picture.Train_FutP_FemS_BJ,
- nsfw : true,
- name : "menace1FutaPlayerNotFutaGirlBlowJobJob"
- }),
- new PictureEntry({
- picture_id : Picture.Train_FutP_FemS_Fuck,
- nsfw : true,
- generic : true,
- }),
- new PictureEntry({
- picture_id : Picture.Train_FutP_FemS_Anal,
- nsfw : true,
- generic : true,
- }),
- new PictureEntry({
- picture_id : Picture.Train_FutP_FemS_Strapon,
- nsfw : true,
- generic : true,
- }),
- new PictureEntry({
- picture_id : Picture.Train_FutP_FemS_Trib,
- nsfw : true,
- generic : true,
- }),
- new PictureEntry({
- picture_id : Picture.Train_FutP_FemS_Cun,
- nsfw : true,
- generic : true,
- }),
- new PictureEntry({
- picture_id : Picture.Toys_Dildo,
- nsfw : true,
- name : "menace1DildoJob"
- }),
- new PictureEntry({
- picture_id : Picture.Toys_Anal,
- nsfw : true,
- name : "menace1AnalToyJob"
- }),
- new PictureEntry({
- picture_id : Picture.Sex_Mast_Futa,
- nsfw : true,
- random : [
- "menace1masturbateFemaleJob",
- "menace2masturbateFemaleJob",
- "menace3masturbateFemaleJob",
- "menace4masturbateFemaleJob"
- ]
- }),
- new PictureEntry({
- picture_id : Picture.Sex_Mast_Futa_Self,
- nsfw : true,
- generic : true
- }),
- ];
- /*
- * The thing here is to return the movieclip and let the caller display it
- * Much as with event data
- */
- //note character screen has to be a seprate if statement or empty arrays will crash the game
- function MenacePics(girl:Girl, pic:int):MovieClip
- {
- var temp:int = new int;
- var hairColor:String = "black";
- var hairLength:Boolean = false;
- var generics:cGeneric = new cGeneric();
- /*
- * we could do this more efficiently with an object
- * or a dictionary - but this will probably do
- */
- for(var i = 0; i < picture_list.length; i++) {
- var o:Object = picture_list[i];
- /*
- * if this is not the droid we're looking for ...
- * skip on to the next entry
- */
- if(o.picture_id != pic) {
- continue;
- }
- /*
- * First priority: worksafe
- * if nsfw is set, return null
- */
- if(worksafe && o.nsfw) {
- return null;
- }
- /*
- * After that: func tags override everything.
- * if there's a func, we run it and return what
- * it returns - no questions asked.
- */
- if(o.func != null) {
- return o.func(girl);
- }
- /*
- * OK: if it's a named clip, we load and return that
- */
- if(o.name) {
- var clip = girl.get_image(o.name);
- if(clip) {
- return clip;
- }
- trace("Error: can't find clip named " + o.name);
- }
- /*
- * if we get here, there was no clip, or it's a generic
- * or we just don't know what to do.
- * these are all the same cases as "picture_id not found"
- * so break out the loop and look for a generic
- */
- break;
- }
- var generics:cGeneric = new cGeneric();
- return generics.get_image(pic, "black", false);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement