diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-10-31 19:11:14 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-10-31 19:11:14 +0000 |
commit | b2918e33f757e32fb5c04efad6a3063f40949361 (patch) | |
tree | 52e2b0386c6398eca74eba00925932fb9bef4bea /rules.js | |
parent | 0c627a1927caa1ce7cf4e3b750c3f5536f4f4359 (diff) | |
download | 1989-dawn-of-freedom-b2918e33f757e32fb5c04efad6a3063f40949361.tar.gz |
Fix Tank Man/Tank Column not going to TST award
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -5354,6 +5354,31 @@ function vm_tank_column() { game.com_tst_position++ game.com_tst_attempted = 0 } + // Check if TST Awards occur + if (game.active === DEM) { + if (game.dem_tst_position === 3 && game.com_tst_position < 3) { + game.vm_event = 203 + goto_vm(game.vm_event) + return + } + else if (game.dem_tst_position === 4 && game.com_tst_position < 4) { + console.log('in space 4 check') + game.vm_event = 204 + goto_vm(game.vm_event) + return + } + + } else { + if (game.com_tst_position === 3 && game.dem_tst_position < 3) { + game.vm_event = 203 + goto_vm(game.vm_event) + return + } + else if (game.com_tst_position === 4 && game.dem_tst_position < 4) { + game.vm_event = 204} + goto_vm(game.vm_event) + return + } vm_next() } |