I'm working on a new sprite meant to be a mid boss of sorts. For testing purposes I use a clean ROM, empty level 105 and put the boss there. In the INIT routine I store $5E to $06F9 (empty RAM) and store #$01 to $5E (so the screen will stop moving at screen 00). However the screen stops only 8 tiles (half a screen) into screen 01.
Here's my code:
STA $63 ;Sets boss HP to 9
STA $06FB ;Preserves the original value of address $5E
STA $5E ;Locks the camera at the desired screen number
I solved it. When I tried storing #$01 to $5E instead of BOSS_SCREEN (which was set to #$01) it worked. I don't know why, but, whatever, it works.
We’re looking for level designers to work on Extra Mario World