News for hackers. Stuff that matters.
Re:Disassembly of Pokémon Red by lordlicorice on Monday January 16, 2012 @08:14PM (#3473352)
Correct me if I'm wrong, but I think he's saying that you can change the Red version of the game into the Blue version by just changing the two constants.
Re:Disassembly of Pokémon Red by kanzure on Monday January 16, 2012 @08:19PM (#3473362)
Not yet. When stag019 is done incorporating his red/blue differences, the blue make target will compile correctly. Then the blue ROM md5 will be added to the README. But until then, the blue make target is definitely not working.
Re:Disassembly of Pokémon Red by lordlicorice on Monday January 16, 2012 @08:30PM (#3473380)
I just mean that wollw's comment doesn't make sense. An assemble-time IF checking for _RED or _BLUE just means that it's easier to switch between Red and Blue.
Re:Disassembly of Pokémon Red by wollw on Monday January 16, 2012 @08:46PM (#3473417)
The original comment seemed to trivialize the differences between the games. If you wanted to you could say something similar about any conditional branch but doing so completely ignores the differences between the branches. Assemble time checking for _RED and _BLUE makes it easy to switch between versions sure, but the it doesn't say anything about the actual differences (large or small) between the versions. A simple flag like that can be used to build vastly different programs. Also, given that those flags are macros to begin with tells me we don't even know if that was how the originals were differentiated; you can't really disassemble a macro.

edit: I don't mean to be an ass about this. There's certainly a sort of poetic quality to the use of a flag like that to switch between versions but I just thought it was worth also pointing out the work it took to do so.