The Binding of Isaac (Flash)

preview version

Yet another attempt to finally make any sense in this atrocious codebase. One sane idea that should bring us to a spectacular result: TypeScript is a superset of ECMAScript, as well as ActionScript. Thus, we can expect a pretty seamless transcription of _.as to _.ts without any major quirks. Originally, this game was written in ActionScript 2.0. I obtained my own copy of the game from Steam and decompiled it using JPEXS Free Flash Decompiler. The 20.0.0 version has made it easier to understand. I took the liberty to introduce a global scope by the name of _this. Overall, it’s quite painful and all. Anyway, the game’s logic is situated in the 6765th sprite. Everything else comprises helper functions, animations, and menu logic. There have been some previous attempts to understand this codebase