| Yoshi Coin Question |
|
Forum Index - SMW Hacking - General SMW Hacking Help - Yoshi Coin Question |
|
Pages: 1  |
|
|
|
| Posted on 2010-09-27 07:26:12 PM |
Link | Quote |
|
|
Its possible to make that the yoshi coins give you a life when you have collected 3 of them?
|
|
| Posted on 2010-09-27 11:29:04 PM |
Link | Quote |
|
|
I am noob at SMW hacking but yes. It depends totally on your level of hacking.
|
|
| Posted on 2010-09-28 07:30:00 AM |
Link | Quote |
|
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. |
|
| Posted on 2010-09-28 07:44:14 AM |
Link | Quote |
|
|
All you will need is some levelASM that checks the Yoshi Coin counter and gives you a life when you have three.
|
|
| Posted on 2010-09-28 07:51:25 AM |
Link | Quote |
|
Hmm, you could try this:
CodeLDA $1422
CMP #$03
BNE +
INC $0DBE
LDA #$05
STA $1DFC
+
RTS
Put it in levelASM of course.
|
|
| Posted on 2010-09-28 08:44:46 AM |
Link | Quote |
|
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 codeheader
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.
|
|
| Posted on 2010-09-28 02:35:45 PM |
Link | Quote |
|
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. |
|
| Posted on 2010-09-28 05:21:17 PM |
Link | Quote |
|
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)
|
|
| Posted on 2010-09-28 05:25:27 PM |
Link | Quote |
|
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?
|
|
| Posted on 2010-09-28 05:39:40 PM |
Link | Quote |
|
Originally posted by marioVSshadowTry 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. |
|
| Posted on 2010-09-28 05:44:35 PM |
Link | Quote |
|
Originally posted by yoshicookiezeusOriginally posted by marioVSshadowTry 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. |
|
| Posted on 2010-09-28 07:44:28 PM |
Link | Quote |
|
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. |
|
| Posted on 2010-09-29 03:19:43 AM |
Link | Quote |
|
|
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 |