summaryrefslogtreecommitdiff
path: root/tools/gencode.js
diff options
context:
space:
mode:
authorJoël Simoneau <simoneaujoel@gmail.com>2025-03-14 11:51:11 -0400
committerJoël Simoneau <simoneaujoel@gmail.com>2025-03-14 11:51:11 -0400
commit9c6017f378483e041e2468d4323e9349bb71458a (patch)
treee52d82c4b6c185503dfabf565959f678928bd961 /tools/gencode.js
parent77dcd69d67d1569d2cb8a0bd3a3b2e5d6a5cbde9 (diff)
downloadvijayanagara-9c6017f378483e041e2468d4323e9349bb71458a.tar.gz
Update opt events
Diffstat (limited to 'tools/gencode.js')
-rw-r--r--tools/gencode.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/gencode.js b/tools/gencode.js
index e60a2cb..a68451a 100644
--- a/tools/gencode.js
+++ b/tools/gencode.js
@@ -119,6 +119,9 @@ for (let line of fs.readFileSync("events.txt", "utf-8").split("\n")) {
case "place":
emit([ "place", false, 0, line[1], line[2], line[3] ])
break
+ case "place_undo_opt":
+ emit([ "place", true, 1, line[1], line[2], line[3] ])
+ break
case "place_opt":
emit([ "place", false, 1, line[1], line[2], line[3] ])
break