Banner
Views: 959,704,425
Time:
13 users online:  Alex_X8, Angel Miranda,  Devazure, Friday_D0nat, Jolpengammler, Katerpie, Knight of Time, Lurkah, melvin_r,  quietmason,  RussianMan, Torchkas, UFrozenO - Guests: 65 - Bots: 132 Users: 53,127 (2,223 active)
Latest: Peter Games_Br
Tip: You can create fancy HDMA effects with Effect Tool if you have zero ASM knowledge.
Not logged in.
Red Coin v1.1 by Friday_D0nat
Forum Index - Valley of Bowser - Moderation Questions - Blocks - Red Coin v1.1 by Friday_D0nat
Pages: « 1 » Link
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 now a different issue with the sound effects - it's coded that if the SFX value + the current freeRAM value is greater than or equal to #$1A, then it will just play sound effect #$19. This makes it impossible to use effects #$1A+, regardless of how many coins have been collected. There's really no need to compare the sound effect value against anything - Just check the value of the freeRAM, and if the required coins haven't been collected yet, just add the current freeRAM value to the base SFX value and play it.

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
Pages: « 1 » Link
Forum Index - Valley of Bowser - Moderation Questions - Blocks - Red Coin v1.1 by Friday_D0nat

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2022 - SMW Central
Legal Information - Privacy Policy - Link To Us


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy
  • sm64romhacks