Is there a way to get this to work with custom magic?
Sure, you can "JSL read3($01FFFC+1)+7" with the sprite index in x. e.g. you can put it in the magic init routine (and ensure that the sprite is being spawned with state=1 aka init).
magikoopa_magic_20.asm
Code
print "INIT ",pc
JSL read3($01FFFC+1)+7
RTL
Note that running UberASM may change where the code is, so be sure to always run Pixi again after running UberASM.
The magikoopa disassembly spawns magic in state 8. Change 08 to 01 here to spawn it in the init state:
Follow Us On