9 users online: Angelito, CrystalENVT, Jakeapus, Rainbowmon, Sariel,  Sayuri, Sixcorby, SmashNcrab, Zavok - Guests: 104 - Bots: 141
Users: 62,933 (2,659 active)
Latest user: CrystalENVT

Anti-Coin v2.0

SMW Blocks → Anti-Coin v2.0

Submission Details

Name: Anti-Coin v2.0
Authors: Erik, S.L
Version History: View
Act As: 25
Includes GFX: No
Description: The opposite of a coin - decrements the coin counter instead of incrementing it. Also generates a sound.

Erik557's update: Added functional support for the P-Switch, some new features, and SA-1 support.
Tags: coin lorom negative sa-1
Comments: 11 (jump to comments)
3.7 (3 ratings)
No rating
Download 940 bytes | 560 downloads


Comments (11)

Virusnest Link
How about if you have zero coins you lose a life if you touch it and go back to 99 coins

Edit: looked at the asm looks like it does that already
EarlGrey Link
Originally posted by C4RL0S-PR
Error installing blocks/Anticoin.asm:55: error: Unknown macro [%glitter()]

im getting the same error
Green Jerry Link
Originally posted by PUN
What is the patch for the hud used in the screenshot

New Super Mario Bros. Wii Styled Status Bar
PUN Link
What is the patch for the hud used in the screenshot
Verliezer18 Link
 Sonikku Link
Vaguely similar to the "Rupoor" from the Zelda series (Phantom Hourglass comes to mind).

Plenty of settings that could be adjusted to fit a hack's individual needs and probably would work reasonably well in a hack where coins mean more than lives or score. As a personal request, I think it'd be nice to have versions that accommodate 3/6/etc.-digit coin counters as well, but it shouldn't be hard for anybody with basic ASM experience.
 Erik Author Link
update your GPS
C4RL0S-PR Link
Error installing blocks/Anticoin.asm:55: error: Unknown macro [%glitter()]
HammerBrother Link
Also, the bug that you fixed also fixes a possible glitch where if you have exactly 1 life shown on the HUD, and keep collecting the anti-coin, you end up with 0 lives shown without dying, which is lower than the minimum number of lives the game would allow before a game over. If you keep collecting them, you'll end up with negative lives ("P5") also without dying.
 Erik Author Link
HammerBrother Link
problem: when having it to subtract lives and rollovers, If the lives goes from 1 to 0 lives would give a game over. Not when it goes from 2 to 1.

You can do this by checking if mario has 0 lives instead of 1 (in the game's memory, the number on the HUD would be +1 from it).