2016-09-30

Get Smart's "Ship of Spies", 4

This post discusses some of the slapstick humor in the Ship of Spies episodes of Get Smart.

In his Painfully Funny course, Prof. Richard Edwards said slapstick involves the following

  • Slapstick involves exaggeration
  • Slapstick is physical
  • Slapstick is ritualistic
  • Slapstick is make believe
  • Slapstick is violent

Let's look at the humor of Get Smart with these in mind.

Max and Agent 44: From the first scene with Max and Agent 44, where Agent 44 slips and almost falls in the shark-infested waters:

SMART
Oh, one more thing, 44. Do you have any idea about suspects?

44
You mean someone who might have smuggled the plans for the nuclear amphibian battleship onboard?

SMART
Exactly.

44 pulls out a slip of paper.

44
I've been on the job, 86. I got a list right here of all possible suspects.

44 slips and almost falls, but Max grabs the paper.

SMART
Careful, 44! - that was a close one.

44
Yes.

SMART
You almost dropped the list.

At this stage, we know Agent 44 is perched outside ship.


Max and 99 and Agent Kevorkian: Max and 99 discover International Control Agent Sehokian nearly dead after an attack in his cabin:

SMART
We'd better get him a doctor.

SEHOKIAN
No time. Must talk before I before I - how do you say?

SMART
- die.

SEHOKIAN
Succumb. The man who did this who-- how do you say?

SMART
- stabbed you.

SEHOKIAN
- attacked me. He-- he knew I have uncovered - how do you say?


SMART
- information?

SEHOKIAN
- evidence.

99
But --

SEHOKIAN
Please, no buts. The plans, they are not plans. They are ...

Sehokian collapses.

99
Max, he's -

SMART
- dead.

SEHOKIAN
Deceased.

99 tries to rescue Max from drowning: First, 99 gets a rope to Max so he can pull himself out of the water to her porthole. 99 ties the other end of the rope to the cabin door for security. (Small plothole: in the scene above we see Max can climb throw the portholes, yet here he can't.)
Smart's face appears in the porthole - he's wet and exhausted, hanging onto the rope.


SMART
( panting )
Fast work, 99.

99
Max, can you get through the porthole?

SMART
I don't think so.

99
Can you hang on until I get some help?

SMART
Yes, but hurry up, 99.

99
Right, Max. Max, would you like an umbrella?

SMART
No, 99, forget the umbrella. Hurry up, get help. 
I can't hang on much longer.

99
Right, Max.

99 runs over to the door.

99
But Max, the door's locked.

SMART
Shoot it off!

99
Right.
99 shots the doorknob off, which causes the knob and the rope to fly out the port hole as Smart fall out of sight.

99 
Oh, Max.

The Chief fails in the water:

At the end of the episode, the Chief visits the Evening Star. Max and 99 show him the part of the railing where Max fell overboard. It seems sturdy until Max karate chops the railing away and the Chief falls in the water.
The Chief leans on the railing.

SMART
Watch it, Chief! That's where I went overboard.

CHIEF
Oh, really? It looks solid now. They must have fixed it up. This is where the bullets hit--

Smart karate chops the railing, it breaks. CRUNCH! The Chief yells as he falls overboard. SPLASH!

99
Chief!

They even fail to rescue him:
SMART
Here it comes, Chief!

Smart ties the other end of the rope around his waist.

99
Hold on, Chief. That's it. Here we go.

The Chief grabs the life-preserver and they haul him up.

SMART
Hang on, Chief! That's it, Chief. Just a little ways more.

CHIEF
Have you got a good grip, Max?

The Chief is almost at the main deck of the ship.

SMART
My hands are slipping, Chief. I've gotta wipe them off.

CHIEF
Go right ahead, Max.

Smart lets go of the rope. SPLASH! The Chief falls back into the water. The rope around Smart's waist pulls tight, pulling Smart overboard as well. SPLASH!

2016-09-16

Get Smart's "Ship of Spies", 3

This post discusses some of the jokes in the Ship of Spies episodes from season 1 of Get Smart. The jokes below all come from part 1.

Joke: The Bartender brings Maxwell Smart a bowl of clear soup.

BARTENDER
Hey, Mack, here's your soup.

SMART
Hey, this isn't tomato soup.

The Bartender takes a catsup bottle and plops some into the soup bowl.
BARTENDER
Now it is.

This is an example of a redefinition/retitling joke. It's also an example of sarcasm/irony.

Joke: Having been shot just outside, an Old Sailor stumbles back into the bar, drops to the ground,
almost dead. He has a clue needed by Control. The Chief and Smart rush over to him.

CHIEF
Who did this? Can you tell us? Who stole the plans?

OLD SAILOR
Drink, please. Drink.

Smart runs over to a table and returns with a glass of milk.

SMART
Here you are, fella. Drink this milk.
OLD SAILOR
Is it regular or skim?

Smart sips it.

SMART
It's regular. Go ahead, drink it.

OLD SAILOR
Strict diet. Only drink skim.

The Old Man dies.

CHIEF
He's dead, Max. Do you know what this means?

SMART
Yes, Chief. Too much dieting can be a very dangerous thing.

This type of joke is Definition Through Obvious Exclusion.

Joke: Max is briefed by the Chief and Professor Parker on his upcoming trip about the Evening Star freighter.

CHIEF
Max, when you get beyond the three-mile limit, this case automatically falls under the jurisdiction of our international control section. You'll be contacted by an agent who'll give you further instructions.
SMART
How, Chief?

PROFESSOR PARKER
Possibly with this.
Professor Parker holds up a radio telephone very cleverly disguised as a revolver.
SMART
Oh, well, I certainly hope the message doesn't reach me.

This type of joke is Underplaying Damage With Understatements.

Joke: Max accidentally enters a passenger cabin that is not his own. The lights are out. As Max backs of the strange room, a gun points to his face from behind a door. Max grabs it with both hands and twists.

SMART
There's only one way to break this hold.

A second gun points to his face from behind a door.


SMART
That's the way.

I think this is an example of slap-stick, as it involves physical comedy. Max grabs the gun with a 2-handed motion, thinking his quick reflexes have subdued his opponent. In his mind, there is no way his opponent will get out of that hold. But the other hand has another gun. Instead of saying, " didn't even think of that", Max says "That's the way." It can also think of it as Definition Through Obvious Exclusion.

2016-09-05

Parsing fountain files, 2

This is a continuation of my earlier post, Parsing fountain files. In this post, we show how to use Python to parse a fountain file into a latex file using John Pate's screenplay latex class.

First, we need this code:

def fountain2latex(input_fntn_file, name=""):
    """
    Assumes John Pate's screenplay template is loaded.

    INPUT:
       input_fntn_file could be "/home/wdj/my-script.fountain"
       name could be "draft-2016-08-26"

    OUTPUT:
       latex file of script

    EXAMPLE:

    """
    script_list = character_dialog_list(input_fntn_file)[1]
    dones = []
    output_latex_file = input_fntn_file[:-10]+"-"+name+".tex"
    r = open(output_latex_file,"w")
    char_list = character_list(input_fntn_file)
    f = open(input_fntn_file,'r')
    lines = f.readlines()
    N = len(lines)
    for j in range(6):
        x = lines[j]
 if x[:6] == "Title:":
     title = x[6:]
     dones.append(j)
 if x[:7] == "Author:":
     author = x[7:]
     dones.append(j)
 if "Draft date:" in x:
     script_list[j] = "date"
     dones.append(j)
 if "Contact:" in x:
     script_list[j] = "email"
     dones.append(j)
    # start latex header
    r.write("\\documentclass{screenplay}\n")
    #r.write("\\usepackage{article}\n")
    #r.write("\\makeatletter{}\n")
    #r.write("\\g@addto@macro\\quote\\flushleft\n")
    #r.write("\\makeatother\n")
    r.write("\\begin{document}\n")
    r.write("\\title{%s}\n"%title)
    r.write("\\author{%s}\n"%author)
    r.write("\\maketitle\n")
    r.write("\\newpage")
    r.write("\\vskip .2in\n")
    # finish latex header     
    for j in range(6,N):
        x = lines[j]
 if x[0]=="#":
     r.write("%"+x)
     dones.append(j)
 if x[:3].upper() == "INT" and ("DAY" in x or "day" in x):
            r.write("\intslug[day]{"+x[4:-4]+"}")
     dones.append(j)
 if x[:3].upper() == "INT" and ("NIGHT" in x or "night" in x):
            r.write("\intslug[night]{"+x[4:-6]+"}")
     dones.append(j)
 if x[:3].upper() == "EXT" and ("DAY" in x or "day" in x):
            r.write("\extslug[day]{"+x[4:-4]+"}")
     dones.append(j)
 if x[:3].upper() == "EXT" and ("NIGHT" in x or "night" in x):
            r.write("\extslug[night]{"+x[4:-6]+"}")
     dones.append(j)
        for c in char_list:
            if c in x and len(x)==len(c)+1:
         dones.append(j)
         r.write(" \n")
         r.write("\\begin{dialogue}{"+c+"}")
  for i in range(1,N):
      if j+i"#":
   r.write(lines[j+i])
   dones.append(j+i)
      else:
          break
  r.write("\\end{dialogue}")
  r.write(" \n")
 if x[0]==".":
            r.write("\\noindent \n"+x[1:].replace("#","\#")+"\n")
     dones.append(j)
 if not(j in dones):
            r.write(x+"\n")
    f.close()
    # start latex footer
    r.write("\end{document}\n")
    r.close()
    return "finished writing: %s"%output_latex_file

This will parse a large subset of fountain into LaTeX, using John Pate's template. For example, comments must be entered with a "#" at the beginning. Secondary slugs can't be used, "DAY" or "NIGHT" must be at the end of the line. There are other features lacking. None-the-less, Big Fish is rendered as latex which compiles almost without errors:-).

Works fine under linux, which is the main thing for me. I wrote this over the labor day weekend for fun and don't plan to improve it more, but if you have suggestions, I'm happy to hear them.

Get Smart's "Ship of Spies", 2


This is part 2 of a planned series of posts on the 2-part episode The Ship of Spies (Part 1, Part 2), written by Buck Henry and Leonard Stern. They won the Emmy award in June, 1967 for Outstanding Writing Achievement in Comedy.

In this post, let's summarize the plot in The Ship of Spies, 2.

  1. The previous episode ended with Max overboard. Agent 99 desperately tries to save him by firing a rope out of her window for Max to hang onto.
    It fails when the rope gives way.
  2. But somehow Max is saved and the next day we see Max and 99 examining the railing by the main deck. It's in perfect condition, with no sign of the gunplay from the previous night.
  3. With all the suspicious activity, they decide to call the Chief. For that, they brought a hair-dryer/short wave radio.
    It doesn't look suspicious when 99 uses it, but when Max needs to talk to the Chief, people notice.
    Soon after that, a mast crashes into their deck chair and they barely escape with their life.
  4. Max decides to go to Capt. Groman's quarters to ask for his help. Max tells the Captain that somebody onboard his ship has stolen the plans for the nuclear amphibian battleship. The only clue he has is that the person makes a clip-clop sound.
    The Captain promises to listen for that sound. After Max leaves, it is revealed that the Captain wears a peg-leg which makes a clip-clop sound.
  5. Back in his cabin, Max calls 99 on his pistol/phone.
    Both 99 and Max have some sort of message written on their cabin window.
    99 gets the idea that it's a code written by Agent 44. She deciphers it using the first letters of each word: "Up on deck now." They leave to meet Agent 44 up on deck, by Max cautions 99 "But I want you to leave your stateroom without being observed by anybody."
  6. They have a hard time not being noticed. It seems everyone is leaving their cabin at the same time.
    Eventually, they sneak up the stairs.
  7. Max and 99 meet Aget 99, who's hiding in a large ventilation inlet.
    He told them Hector Baccardo was in league with Senorita Merendez. 44 also said that the plans for the nuclear amphibian battleship were not plans, but then he was shot.
  8. Max confronts Baccardo. Baccardo is not Portuguese and is not handicapped. His bulletproof saber-mounted wheelchair both protects him from Max's bullets but can be used to attack Max.
    However, Max disables him with a karate chop.
  9. Max then rushes to Capt Groman's quarters asking to use his radio to call for help. "I must contact my headquarters. I believe I have found the man who stole the plans for the nuclear amphibian battleship!"
    Capt Groman says "Mr. Smart, I'll take you to the radio room myself." However, once he hobbles around the desk with a clip-clop sound, Max sees his peg leg for the first time. There's a fight and Max shoots and misses Capt Groman.
    However, he hits the ship-in-a-bottle model behind the captain, infuriating him.
  10. Ming bursts in, dazing Max but getting shot in the cross-fire. Just as Capt Groman is about to kill Max with a peg-leg saber, 99 runs in and rescues him.
    Max concludes, "You know, it's a shame, 99. All this could have been avoided. If only he had only used his leg for good instead of evil."

  11. The episode ends with the Chief examining the railing where Max fell into the waterand they learn that Agent 44 will be okay.
    "It seems solid now." Max tests it with a karate chop.
    The Chief falls into the water.
This ends the plot summary for part 2 of the 2-part episode of Get Smart, The Ship of Spies.