Use gotoAndStop()
to navigate to the head scratching menu using if statements (if(var thinking:Boolean == true)
and to the heat meter: if(character.currentFrame == "scratchinghead") { var heatmeter:int ++; }
Then to win: if(heatmeter > 99) { gotoAndStop("win"); }
To check if the mouse is hovering, use MOUSE_ROLL_OVER
.