function requiem_for_a_dream():void{
var seasons:Array = [{name:"spring", happiness:"good"},
{name:"summer", happiness:"very good"},
{name:"fall", happiness:"bad"},
{name:"winter", happiness:"very bad"}];
var characters:Array = [{name:"Harry"},
{name:"Ellen"},
{name:"Marion"},
{name:"Tyrone"}];
for(var i:int=0; i
for(var j:int=0; j
characters[j].happiness = seasons[i].happiness;
if(seasons[i] == "winter" && characters[j] == "Harry"){
cut_off_arm(characters[j]);
}
}
}
}
requiem_for_a_dream();
var seasons:Array = [{name:"spring", happiness:"good"},
{name:"summer", happiness:"very good"},
{name:"fall", happiness:"bad"},
{name:"winter", happiness:"very bad"}];
var characters:Array = [{name:"Harry"},
{name:"Ellen"},
{name:"Marion"},
{name:"Tyrone"}];
for(var i:int=0; i
if(seasons[i] == "winter" && characters[j] == "Harry"){
cut_off_arm(characters[j]);
}
}
}
}
requiem_for_a_dream();