File Name: | Spinjump Turnblock |
Submitted: | 2017-01-28T08:50:08+01:00 by TheBiob |
Authors: | TheBiob |
Act As: | 130 |
Includes GFX: | No |
Description: | This block is just like the normal turnblock however when spinjumped from above it will start turning as well. Requested by Mariofan64 |
Anyway, the block is cool and all, however it has some issues:
- The sprite tables are not correctly remapped on SA-1; they do not account for the more sprites remap, and thus sprite interaction is completely ignored on SA-1.
Code
LDA $04 PHA LDA $03 PHA LDA $00 PHA LDA $9A PHA LDA $9B PHA LDA $98 PHA LDA $99 PHA [...] LDA $04 PHA LDA $05 PHA LDA $06 PHA LDA $07 PHA
This code is super slow and could benefit of PEI.
On a minor note, the sprite interaction code doesn't account for sprite state 09 like the original turn block did. It would be cool if you fixed this, but at the very least fix the above two and it should be fine.