From 9c6017f378483e041e2468d4323e9349bb71458a Mon Sep 17 00:00:00 2001 From: Joël Simoneau Date: Fri, 14 Mar 2025 11:51:11 -0400 Subject: Update opt events --- tools/gencode.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools') 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 -- cgit v1.2.3