Banner
Views: 882,595,734
Time:
22 users online: Aldehyde,  Anorakun,  brickblock369, cur, Dan2point5,  dtothefourth, FireSeraphim, Galactic Spear, h.carrell, idealiter,  JamesD28, jardeson01, Kazefbr, Koopster, Mirann, MistaX88,  NopeContest, om_nomnom, PhantasyReal, solgaleo35,  Stivi, Truxton - Guests: 74 - Bots: 74 Users: 49,441 (2,427 active)
Latest: SnippoAU
Tip: Use palettes that don't burn the eyes. A blazing bright yellow and a night-black are not pleasant.Not logged in.
50 coin level end
Forum Index - SMW Hacking - SMW Hacking Help - 50 coin level end
Pages: « 1 » Link
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)

--------------------
Legacy ports zip (now that those went down because Dropbox)
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 ?
Pages: « 1 » Link
Forum Index - SMW Hacking - SMW Hacking Help - 50 coin level end

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

Copyright © 2005 - 2021 - 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