fixed issue with turning around.

This commit is contained in:
Bryce Covert
2016-06-15 20:53:57 -07:00
parent fbf4d1d64d
commit e1d72b6269

View File

@@ -326,7 +326,9 @@
(do-saved-grandma-dialogue entities))
(actions/get-script entities
(actions/walk-to entities :ego [165 45] :face :left)
(actions/do-dialogue entities :grandma "No thank you, handsome.")))
(actions/do-dialogue entities :grandma "No thank you, handsome.")
(if (get-in @entities [:room :entities :ladder])
(actions/do-stop entities :ego :face :right))))
}}
:layers {:day [(assoc (utils/get-texture "cat-tree/background.png") :x 0 :y 0 :baseline 0)
(assoc (utils/get-texture "cat-tree/tree-and-rock.png") :x 0 :y 0 :baseline 161)