summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/rules.js b/rules.js
index db0960d..5c196a5 100644
--- a/rules.js
+++ b/rules.js
@@ -5,6 +5,8 @@
// TODO: sort blocks in battle screen!
+// TODO: pause after battle ends (ui maybe?)
+
exports.scenarios = [
"Third Crusade"
];
@@ -3197,12 +3199,6 @@ function setup_game() {
// VIEW
-function compare_block_initiative(a, b) {
- let aa = BLOCKS[a].combat;
- let bb = BLOCKS[b].combat;
- return (aa < bb) ? -1 : (aa > bb) ? 1 : 0;
-}
-
function make_battle_view() {
let battle = {
FR: [], FC: [], FF: [],