File Name: | Super Mario Bros 2 (USA) - Key Sprite |
Submitted: | 2016-12-20 07:02:46 AM by Hamtaro126 |
Authors: | Hamtaro126 |
Tool: | Romi's Spritetool |
Type: | Standard |
Dynamic: | No |
Disassembly: | No |
Includes GFX: | Yes |
Description: | This is a tweak for the key (sprite $80) to make it look like SMB2 USA/Doki Doki Panic's Key sprite. Tested with both SNES9x and BSNES Plus, ZSNES may work, but I do not want to use that anymore. Just useful to someone, I dunno. Just a Note: The original key cannot be hacked to removed the sprite direction attributes thus far, Find a way to remove directional flipping from the key, and I may submit as a patch instead! |
1:
Code
LDA $02 STA $0302,x
For some reason, this OAM store is indexed by x, while it should be indexed by y.
2: When this sprite goes offscreen, the game crashes. This is because your GET_DRAW_INFO routine's INVALID part has an error in it. Changing it to
Code
fixes that.INVALID: PLA : PLA : RTS
Please fix these issues before you resubmit.