Banner
Views: 236,365,536
Time: 2013-05-23 02:02:06 AM
11 users online: o BZM, Epsilon, o Ersanio, ggamer77, HyperMario, LaughingLuigi, o Luigi-San, MaskOTerror, Pokeymeister80, Yasuo, Yoshi88 - Guests: 17 - Bots: 11Users: 22,864 (1,278 active)
Latest: h1a1r1y1
Tip: Before asking for help on the forums, make sure you've tried to figure out the problem on your own first.
Yoshi Coin Question
Forum Index - SMW Hacking - General SMW Hacking Help - Yoshi Coin Question
Pages: « 1 »
Its possible to make that the yoshi coins give you a life when you have collected 3 of them?
I am noob at SMW hacking but yes. It depends totally on your level of hacking.
It would be possible, but you will need to have some knowledge of ASM.
As far as I know there is no easier way to do that.
Last edited on 2010-09-28 07:30:45 AM by BlackEagle766.
All you will need is some levelASM that checks the Yoshi Coin counter and gives you a life when you have three.
Hmm, you could try this:

Code
LDA $1422 CMP #$03 BNE + INC $0DBE LDA #$05 STA $1DFC + RTS


Put it in levelASM of course.
If you want to change the score sequence to 1000-2000-1up-1up-1up (the default being 1000-2000-4000-8000-1up-1up-1up) for the entire game, try this instead:
Originally posted by code
header
lorom

!Coins = 3;This is how many coins you want per level.
!Startoffset = $09;This is 1000 points. To make the sequence become 4000-8000-1up-1up-1up instead of 1000-2000-1up-1up-1up, change this to $0B.

org $008FDB
CMP.b #!Coins;This is how many coins to draw in the status bar

org $00F349
CMP.b #!Coins;This is how many coins to require before setting the "Yoshi coins gotten" flag

org $00F37E
ADC.b #!Startoffset;This will change how many points Yoshi coins gives you
CMP.b #$0D-!Coins+1

Iceguy's code contains a minor bug that'll show up if you apply it and get three Yoshi coins. It'll give you 99 lives in ~1.5 seconds, assuming you stay at exactly three coins for that long.
So...

the code that Alcaro Posted its must be inserted has a patch, or level asm?

(and in case of a patch, where I have to set the freespace?)
Last edited on 2010-09-28 02:36:06 PM by Dakress.
It has to be inserted as an xkas patch

Just remember to change "!Coins = 3" and "!Startoffset = $09" to what you want them to be(reading Alcaros comments within the code should tell you what you need to change, if you need to change anything at all)
Yes you insert Alcaro's as a patch. Save it in a .ASM file and insert it using Xkas like you would any other patch. Try setting freespace in the following areas:

org $008FDB

org $00F349

org $00F37E

But if you've not inserted ASM already you shouldn't need to change it. Also Iceguy I'm no expert but did you forget to header yours?
Originally posted by marioVSshadow
Try setting freespace in the following areas:

org $008FDB

org $00F349

org $00F37E

No. Those are not freespace; those are the locations of the hex edits the patch makes. Changing them into freespace will make the patch do absolutely nothing.
Last edited on 2010-09-28 05:39:50 PM by yoshicookiezeus.
Originally posted by yoshicookiezeus
Originally posted by marioVSshadow
Try setting freespace in the following areas:

org $008FDB

org $00F349

org $00F37E

No. Those are not freespace; those are the locations of the hex edits the patch makes. Changing them into freespace will make the patch do absolutely nothing.


D'oh! Durr. Damn my tierdness. It made me screw up again.

*FACEASS*
Last edited on 2010-09-28 05:45:53 PM by MVS.
Thanks Guys, the patch works perfect.

I have a question:

Its a good idea to submit this patch in case that someone else want the same as me?(If I can,the maker it will be Alcaro)

Thanks.
Last edited on 2010-09-28 07:44:43 PM by Dakress.
I'd say this is actually worth it, but only after Alcaro Explains how "!Startoffset" works =P
Pages: « 1 »
Forum Index - SMW Hacking - General SMW Hacking Help - Yoshi Coin Question

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

Copyright © 2005 - 2013 - SMW Central
Legal Information - Link To Us


Total queries: 28

Menu