| Smalls' xkas patches |
|
Forum Index - SMW Hacking - General SMW Hacking Help - ASM & Related Topics - Smalls' xkas patches |
|
Pages: 1  |
|
|
|
| Posted on 2008-07-24 02:55:36 PM |
Link | Quote |
|
Yeah, I'm too lazy to submit these to the Patches section.
Feel free to request things, assuming that I'm equally free to completely ignore every single request.
Oh, also:
REMEMBER TO CHANGE THE "freeSpace" ADDRESS BEFORE INSERTING!
(Due to HTML crap, I had to submit them anyway)
Invincible Mario palette changer
Sets Mario's palette to F (or whatever you want) when invincible.
Mario knockback
Makes Mario get knocked backwards when hit by an enemy (instead of playing shrinking animation)
LR Hook
Disables L/R scrolling. The code also contains sections where you can add new functions for L/R.
|
| Last edited on 2008-07-24 05:59:04 PM by Smallhacker. |
|
| Posted on 2008-07-24 03:48:43 PM |
Link | Quote |
|
Hmm...okay. In my hack, I've replaced the score counter with a coin counter, using Ringodoggie's patch. I need a patch that doesn't allow more than 20000 coins (points) to be collected.
Note: The coin counter is still using the Score Counter address.
Most of the time, you can collect one coin at a time. However, there are cases when you might receive a few hundred coins. So say I currently have 19000 coins, and I hit a custom block that gives 300 coins, my coins should only go to 20000.
Thanks. ;)
|
|
| Posted on 2008-07-24 03:56:24 PM |
Link | Quote |
|
|
I would like to request a patch that does make Mario Star Mario for an amount of time, dependind on the amount of stars in the star counter, the more the stars, more time Mario stays invincible. Oh yes, press R for this function to work.
|
|
| Posted on 2008-07-24 04:41:15 PM |
Link | Quote |
|
I would like to request a patch which disables pressing down to slide down hills.
Not disabling sliding itself, but disabling pressing down to slide.
|
|
| Posted on 2008-07-24 06:00:21 PM |
Link | Quote |
|
Version 1.1 of LR Hook released. Please redownload.
The old version didn't work on levels where L/R were originally disabled. Therefore, I used my backup plan and hijacked the status bar routine instead.
|
|
| Posted on 2008-07-25 03:42:26 AM |
Link | Quote |
|
Trying the knockback patch now...
Edit: When useing the health bar, Mario wont lose a heart when dameged useing this patch, but it works fine useing a rom without the health bar.
|
| Last edited on 2008-07-25 03:54:52 AM by YamiMario. |
|
| Posted on 2008-07-25 10:58:44 AM |
Link | Quote |
|
|
Thanks Smalls. I finally got the Invincible Mario palette changer patch to work, and I finally learned how to use xkas as well.
|
|
| Posted on 2008-07-25 02:42:50 PM |
Link | Quote |
|
Wow. This is actually the first thing I've done to my hack in three weeks. Been so busy lately. Thanks for the code!
Originally posted by YamiMarioWhen useing the health bar, Mario wont lose a heart when dameged useing this patch, but it works fine useing a rom without the health bar.
Open up the health patch asm.
First, be sure to put this at the top somewhere
org $F5FC
JSL MarioFlash
and under :defines put these
!knockSpeed1 = $40
!knockSpeed2 = $C0
Then find "Hit" in the main code, and do this:
Code
Hit:
LDA !Health
DEC
BEQ Death
STA !Health
CMP #$01
BEQ Losebig ; Make you small if you are on your last hit
LDA !Powerup
CMP #$01
BMI Endhit
LDA #$01 ; Get rid of flower or cape if you have them
STA !Powerup
BRA Endhit
Losebig:
STZ !Powerup
Endhit:
LDA #!knockSpeed2
STA $7D
LDA $76
BNE Other
LDA #!knockSpeed1
STA $7B
BRA Next
Other:
LDA #!knockSpeed2
STA $7B
Next:
JML $00F5F3
Death:
STZ !Health
LDA #$09
STA $1DFB
JML $00F60F
MarioFlash:
LDA #$7F
STA $1497
RTL
ok, I'm going to get some sleep.
|
| Last edited on 2008-07-25 02:44:17 PM by 1524. |
|
| Posted on 2008-07-27 08:03:05 AM |
Link | Quote |
|
Originally posted by InvisibleCoinBlockWow. This is actually the first thing I've done to my hack in three weeks. Been so busy lately. Thanks for the code!
Originally posted by YamiMarioWhen useing the health bar, Mario wont lose a heart when dameged useing this patch, but it works fine useing a rom without the health bar.
Open up the health patch asm.
First, be sure to put this at the top somewhere
org $F5FC
JSL MarioFlash
and under :defines put these
!knockSpeed1 = $40
!knockSpeed2 = $C0
Then find "Hit" in the main code, and do this:
Code
Hit:
LDA !Health
DEC
BEQ Death
STA !Health
CMP #$01
BEQ Losebig ; Make you small if you are on your last hit
LDA !Powerup
CMP #$01
BMI Endhit
LDA #$01 ; Get rid of flower or cape if you have them
STA !Powerup
BRA Endhit
Losebig:
STZ !Powerup
Endhit:
LDA #!knockSpeed2
STA $7D
LDA $76
BNE Other
LDA #!knockSpeed1
STA $7B
BRA Next
Other:
LDA #!knockSpeed2
STA $7B
Next:
JML $00F5F3
Death:
STZ !Health
LDA #$09
STA $1DFB
JML $00F60F
MarioFlash:
LDA #$7F
STA $1497
RTL
ok, I'm going to get some sleep.
Im screwed then. I applyed the IPS version of the helth patch, and i bet it will screw up if i aply the Xkas version. D:
|
|
| Posted on 2008-07-27 01:31:39 PM |
Link | Quote |
|
|
That's because you need to set the free space.
|
|
| Posted on 2008-07-27 01:41:11 PM |
Link | Quote |
|
|
Smalls when are you going to release an .asm version of your separate Mario and Luigi graphics patch.
|
|
| Posted on 2008-07-30 02:36:55 AM |
Link | Quote |
|
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/cK8ZDrM2LzE&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/cK8ZDrM2LzE&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>
I was bored, so I made a video of knockback in action.
|
|
| Posted on 2008-07-31 07:19:20 AM |
Link | Quote |
|
Too lazy to upload:
Codelorom
header
org $009C82
LDA #$00
NOP
Disables the title screen demo playback as well as disabling the "restart title screen after a while" feature. Perfect for static title screens.
NOTE:
This will MOST LIKELY NOT WORK if you have changed the title screen demo through Lunar Magic.
|
|
| Posted on 2008-07-31 08:00:09 AM |
Link | Quote |
|
|
The knockback seems glitchy in Vertical Layer 2 levels. Freezes when Mario gets hurt, but works in all other levels.
|
|
| Posted on 2008-07-31 09:21:51 PM |
Link | Quote |
|
Hey, Smalls.
Could you please make a patch that allows coins to go to 999 (and stops there. No 1up). I know I could use the 6 digit coin thing, but it's an IPS, and I'm using the score counter anyways.
Thanks!
|
|
|
Pages: 1  |
|
|
|
|
Forum Index - SMW Hacking - General SMW Hacking Help - ASM & Related Topics - Smalls' xkas patches |