Language…
8 users online: anoMaly666, anonimzwx, Dan2point5, DanMario24YT, Gamet2004, Saela, Scags, Tomi P - Guests: 271 - Bots: 391
Users: 64,795 (2,378 active)
Latest user: mathew

50 coin level end

if you already have enouth coins from previous levels, the level ends instantly. how do i fix that ?
Patch it with this
You beat me to it mockingod!
Check out my Youtube page
Taking a small break
Originally posted by ThereAreSevenLevels
You beat me to it mockingod!


O check the layout requests section scroll all the way down or press CTRL-F then type in Mockingod.

EDIT: find teh one that is 'close' to the end.
Or have Mario start in another room/level where he must use the zerocoin block in the Blocks section.

World Community Grid: Thread | Team
 
i just want mario to start with 0 coins in the levels where you need to collect a certain amount of coins, and how do you patch it with that anyway ?
and the zero coin block, how would you force someone to hit it ?
To force someone to hit the 0 coin block, you can simply place it right at Mario's starting location in whichever level you want him to begin with 0 coins. Make sure the block can be touched from both the sides and above/below.

As for the patch linked earlier in this thread .. it is an ASM patch, so you will need to use Xkas to patch it to your ROM. Of course, that particular patch will not only reset your coins at the beginning of every level, but also your powerups/item box. Your best bet would be to use a custom block (or even some LevelASM init code which stores 00 to the coin counter at the beginning of certain levels only).
well, i found a custom sprite that does take away all your coins at the beggining of the level, it's right at tye bottom of the list. now what i need to know is what do you have to change to make it so that the level ends at a differant amount of coins ?
Look into the 50 coins level end's ASM file. There should be a code labeled something like "number of coins needed". I've never actually looked at that particular ASM file, but it's usually like that.
so what do i do, copy paste the asm and the cfg file, rename them and change the amount of coins needed in the asm file ?
Hmmmm..... pretty simple code actually...

OPEN THE ASM FILE, THEN EDIT THIS PART!

Code
dcb "INIT"
dcb "MAIN"

LDA $0DBF	; Load coins
CMP #50		; If 50 are collected...
BCC Return	; Continue

STZ $0DBF	; Store zero to the coin counter
LDA #$FF	; \ End
STA $1493	; / Level
LDA #$0C	; Passed level music, change to 0B for passed boss music
STA $1DFB	; Plays music

Return:
RTL


Deleted the top part with all of ";"

But see where is says "If 50 are collected"? By it, it says "CMP #50" I think you have to change that "50" to whatever, I suggest you do not do 100...
i tried that, it still ends at 50 coins...
Originally posted by pkhaxor
i tried that, it still ends at 50 coins...

This must works! Maybe you won't runned again Sprite-Tool (I guess it's spritetool)
Glitch.Mr, I don't think sprite tool would screw up, its just the person using it.

phhaxor, did you save the ASM file?
yes, i did.
Did you re-insert the sprite?
yep, that too. does it work for you when you edit it ?