starting on a good sequence for blergh fight.
This commit is contained in:
@@ -116,7 +116,7 @@
|
||||
(update-in entities [:room :entities target-id] (comp #(start-animation screen % :stand) (if face #(assoc % :facing face) identity))))
|
||||
|
||||
|
||||
(defn walk-straight-to [entities target-id [final-x final-y] & {:keys [update-baseline? face speed anim override-dir]}]
|
||||
(defn walk-straight-to [entities target-id [final-x final-y] & {:keys [update-baseline? face speed anim override-dir stop?]}]
|
||||
(let [{start-x :x start-y :y} (get-in @entities [:room :entities target-id])
|
||||
final-x (int final-x)
|
||||
final-y (int final-y)
|
||||
@@ -155,7 +155,9 @@
|
||||
(< (utils/dist final-x final-y from-x from-y) 1)))
|
||||
|
||||
(terminate [this screen entities]
|
||||
(stop screen entities target-id :face face))
|
||||
(if (or (nil? stop?) stop?)
|
||||
(stop screen entities target-id :face face)
|
||||
entities))
|
||||
(can-skip? [this screen entities]
|
||||
false))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user