Story of Pointeo and Hoopiet
https://drive.google.com/file/d/11-qLgwhnsOjIgTiGkDA4wSjmJg9GT3AY/view?usp=sharing

Our story of Pointeo and Hoopiet belongs to the ‘Conversation’ part.

The story goes like this:

Hoopiet: Hello, Pointeo.
Pointeo: Hello, Hoopiet.
Hoopiet: Would you like to show me something?
Pointeo: (Nodding) Of course.
Hoopiet: (Getting closer, and waiting for the performance.)
Pointeo: (Doing something) What about this?
Hoopiet: What is that? Seriously?
Pointeo: (Sad) You don’t like my performance. (Hiding the head)
Hoopiet: (Trying to comfort Pointeo) It’s alright.
Pointeo: GO AWAY!!! I don’t like you. (Pushing Hoopiet away)
Hoopiet: (being pushed away)
Pointeo: (sad again, and hiding the head)
Hoopiet: (getting up and trying to comfort again) Sorry, actually I like the performance.
Pointeo: (getting up) Really?
Hoopiet: Hug?
Pointeo: Hug.
–the end—

    def set_pose(self, name):
        position = self.poses.get(name)
        if position is not None:
            for i, p in enumerate(position):
                if p != 9999:
                    self.set_target(i, p)
def sequence(self):
        """Demonstration sequence.  This could be decomposed further into subroutines."""
        
        self.write("Script starting.")
        self.send_cue('gains', 0.5, 1.0)   
        t = 2   
        self.send_pose('r_bow')
        self.sleep_unless_stop(t)

        self.send_pose('reset')
        self.sleep_unless_stop(t)
 
        self.send_pose('l_bow')
        self.sleep_unless_stop(t)
 
        self.send_pose('reset')
        self.sleep_unless_stop(t)
 
        self.send_pose('r_wiggle1')
        self.sleep_unless_stop(.5)
 
        self.send_pose('r_wiggle2')
        self.sleep_unless_stop(.5)

        self.send_pose('r_wiggle1')
        self.sleep_unless_stop(.5)

        self.send_pose('r_wiggle2')
        self.sleep_unless_stop(.5)

        self.send_pose('r_wiggle1')
        self.sleep_unless_stop(.5)
 
        self.send_pose('reset')
        self.sleep_unless_stop(.5)

        t = 1
        self.send_pose('l_nod')
        self.sleep_unless_stop(t)
 
        self.send_pose('reset')
        self.sleep_unless_stop(t)

        self.send_pose('l_nod')
        self.sleep_unless_stop(t)
 
        self.send_pose('reset')
        self.sleep_unless_stop(t) 

        t = 2
        self.send_pose('r_push')
        self.sleep_unless_stop(t)

        self.send_pose('l_thrust')
        self.sleep_unless_stop(.5)
 
        self.send_pose('reset')
        self.sleep_unless_stop(.5)

        self.send_pose('l_thrust')
        self.send_pose('r_jumpback')
        self.sleep_unless_stop(.5)

        self.send_pose('reset')
        self.send_pose('r_jumpback')
        
        self.sleep_unless_stop(.5)

        self.send_pose('l_thrust')
        self.sleep_unless_stop(.5)
 
        self.send_pose('reset')
        self.send_pose('r_jumpback')
        self.sleep_unless_stop(3)

        self.send_pose('reset')
        self.send_pose('l_sulk')
        self.sleep_unless_stop(2)

        self.send_pose('r_therethere')
        self.sleep_unless_stop(2)
 
        self.send_pose('l_push')
        self.send_pose('r_sulk')
        self.sleep_unless_stop(3)

        self.send_pose('l_sulk')
        self.sleep_unless_stop(3)
        '''self.send_pose('r_fall1')
        self.sleep_unless_stop(.4)
        self.send_pose('r_fall2')
        self.sleep_unless_stop(1.6)

        self.send_pose('r_getup1')
        self.sleep_unless_stop(3)

        self.send_pose('r_getup2')
        self.sleep_unless_stop(2)

        self.send_pose('r_getup3')
        self.sleep_unless_stop(2)'''

        self.send_pose('r_jumpback')
        self.sleep_unless_stop(2)

        self.send_pose('r_therethere')
        self.sleep_unless_stop(1)

        self.send_pose('r_therethere2')
        self.sleep_unless_stop(1)

        self.send_pose('r_therethere')
        self.sleep_unless_stop(1)

        self.send_pose('r_therethere2')
        self.sleep_unless_stop(1)

        self.send_pose('reset')
        self.sleep_unless_stop(t) 

        self.send_pose('r_push')
        self.sleep_unless_stop(1)

        self.send_pose('l_push')
        self.sleep_unless_stop(3)


        self.send_pose('reset')
        self.sleep_unless_stop(t) 
        self.write("Script done.")
        return
reset,0,0,0,-200
l_bow,0,-600,9999,9999
r_bow,9999,9999,0,-600
r_wiggle1,9999,9999,-100,-500
r_wiggle2,9999,9999,-400,-500
r_nod,9999,9999,-100,-400
l_nod,0,-400,9999,9999
l_thrust,-400,-800,9999,9999
r_jumpback,9999,9999,0,-200
l_sulk,-100,-1000,9999,9999
r_sulk,9999,9999,-100,-1000
r_therethere,9999,9999,-400,-800
r_therethere2,9999,9999,-600,-900
l_push,-300,-600,9999,9999
r_fall1,9999,9999,350,100
r_fall2,9999,9999,350,-800
r_push,9999,9999,-300,-600
r_getup1,9999,9999,300,-800
r_getup2,9999,9999,-300,-1200
r_getup3,9999,9999,-200,-400