Bug fixes from Wayne's feedback. typos, tune outside jail, and coin flip hidden.

This commit is contained in:
Bryce Covert
2016-06-24 17:30:38 -07:00
parent 361d92f85f
commit 68021b05e2
3 changed files with 15 additions and 4 deletions

View File

@@ -82,9 +82,13 @@
:script (actions/get-script entities
(if (get-in @entities [:tweens :coin-y])
(do
(actions/talk entities :ego "Hey, Bubba!" :wait false)
(actions/update-entities entities (fn [entities]
(update-in entities [:tweens] dissoc :coin-y)))
(assoc-in entities [:room :entities :coin-flip :opacity] 1.0)))
(actions/talk entities :ego "Hey, Bubba!" :wait false)
(actions/update-entities entities (fn [entities]
(-> entities
(update-in [:tweens] dissoc :coin-y)
(assoc-in [:room :entities :coin-flip :opacity] 1.0))))
(actions/walk-straight-to entities :coin-flip [212 90] :update-baseline? false :speed 3.0)
(screen! dialogue/talking-screen :stop-talk)