summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js15
1 files changed, 2 insertions, 13 deletions
diff --git a/rules.js b/rules.js
index 8f216f5..96a9bad 100644
--- a/rules.js
+++ b/rules.js
@@ -589,21 +589,10 @@ function pass_play_to_rival() {
// === THE ACTIONS: DRAGON ===
function goto_dragon() {
- game.state = "dragon_1"
+ game.state = "dragon"
}
-states.dragon_1 = {
- inactive: "Dragon",
- prompt() {
- view.prompt = "Dragon: Move the Dragon to an oval space."
- gen_action_token(TOKEN_DRAGON)
- },
- token(_) {
- game.state = "dragon_2"
- },
-}
-
-states.dragon_2 = {
+states.dragon = {
inactive: "Dragon",
prompt() {
view.prompt = "Dragon: Move the Dragon to an oval space."