0 Members and 2 Guests are viewing this topic.
Quote from: DJ Omnimaga on September 29, 2010, 01:17:09 pmNice so far ^^. You may want to fix going out of the screen, though In the final version, when I have level loading working, that'll be a cue to go to the next level. Until then, WALLS. ^_^
Nice so far ^^. You may want to fix going out of the screen, though
12:00 as 12 AM?
Shaved 216 bytes off the executable Not bad, considering saving 216 bytes in a 1519-byte executable is 15% gone with just code optimizations.
sub(CY,3If r₆
If sub(CY,3
By the way, just to clarify something: a lot of the optimizations were just code order and logic optimizations, but a decently sized part of the optimization was that I changed how subroutine CY works. Instead of storing the result into r6, it now simply returns the value directly to where it was called. I adjusted all your existing calls to subroutine CY already, but in the future, instead of doing something like:Code: [Select]sub(CY,3If r₆Just do:Code: [Select]If sub(CY,3And just a note, using sub() like this can sometimes cause an argument error when compiling if you leave out the closing parenthesis. If you get this error, just add the closing parenthesis. (Press PRGM when the error is displayed to go to the exact point in the code where you need to add the parenthesis)