hey, bitsy is written in js, but the internal dialogue code is something slightly different and not very well documented