For line 310 change exist for exits!
For lines 317 and 319 you have to add @CHARACTER enters from left to screen x (whatever screen you want them to stand at: left, right, etc)
*To hug: You have to spot both characters close to each. For example:
@CHARACTER1 moves to layer 1
@CHARACTER1 stands screen center AND CHARACTER faces left AND CHARACTER1 is hug_neutral_rear AND CHARACTER2 stands upscreen right AND CHARACTER2 faces left AND CHARACTER2 is hug_neutral