File Name: | Red Coin v1.1 |
Submitted: | by Friday_D0nat |
Authors: | Friday_D0nat |
Act As: | 025 |
Includes GFX: | No |
Description: | A red coin, if you collect 8 (by default) of them, you get an item as a reward (flower by default). It also plays a sound effect, and it doesn't overwight the item box. Inspired by NSMB's red coins. Added SA-1 support, a way to change the amount of coins to collect for the reward (+/-), optimized the code and made it more user friendly. |
Screenshots: |
There's also a missing |!addr define for $0DC2, which on SA-1, results in a copy of the item currently in the item box being dropped (or nothing if the item box is empty), instead of the user-defined powerup.
Please test resources thoroughly, both to ensure there aren't any bugs and to make sure it works properly on all the formats it claims to support.
Additionally, there's still an instance where you're using BRL to jump to another part of the code. BRL is usually only used when jumping a greater distance (e.g. to different codes), and even then, JMP is better for that. For jumping short distances like in your block, you can use BRA, which is smaller in bytes and usually slightly faster.
This on it's own wouldn't be a rejection reason since it's only one BRL and the speed loss is minimal, but it's something worth knowing.
Tested with:
• Lunar Magic 3.21
• SA-1 Pack v1.32
• GPS V1.4.21
• Snes9x v1.60
• bsnes plus v05