Banner
Views: 235,693,414
Time: 2013-05-18 01:18:44 AM
7 users online: o Alexander, mju90, Phantom Kid, Plumbers56, o S.N.N., SMW_Forever, Usetheforce - Guests: 48 - Bots: 21Users: 22,832 (1,277 active)
Latest: Lithuanian Dude
Tip: If you edit level 0, make sure you also edit level 100. Both of them are used for the bonus game.
New problem with the patch :l
Forum Index - SMW Hacking - General SMW Hacking Help - ASM & Related Topics - New problem with the patch :l
Pages: « 1 2 »
!RAM = $06FA ; RAM for red coins

Change the $06FA to another RAM Address that restarts every time you enter a level, like $08E3 or $7D. I find this strange though because the level loading routine is hacked and then RAM resets there. Have you applied any other patch that hacks the same routine, like the health patch ones?

Oh, Well I have also used the 'Metroid Health Patch', 'walljump' and 'sm64 U-Turn and LongJump' patches :o
You guys are probably going to laugh so hard you computer screen will break...How do you program...ASM...:(
A) this isn't where you would post that. I'm going to point you to a tutorial though since you apparently can't find those yourself.
http://acmlm.no-ip.org/board/thread.php?id=99

B)
Originally posted by Metriod HP Patch
org $0491DB
JML Startlevel ; Whenever you enter a level
NOP

This Hijacks the same ROM address as the red coins patch. You are also going to need to put the opening level codes together, so :
Originally posted by code
STZ !RAM ; Reset RAM on level load.
LDA #$02
STA $0DB1
PHY
LDY #$01
LDA #$01
BitCount:
BIT !MarioHeartsFound,x
BEQ NotSet
INY
NotSet:
ROL
BCC BitCount
STY !MaxHealth
LDA !MarioHealth,x
BNE HasHealth
TYA
STA !MarioHealth,x
HasHealth:
STA !Health
PLY
JML $0491E0

make this the "StartLevel" routine in your combined patch and then put these defines up with the rest of them (!RAM = $06FA etc.):
!MarioHeartsFound = $1F2C
!MaxHealth = $0DC5
!MarioHealth = $0F44
!Health = $0DC4
And that might fix your problem.
Thank you :D
Its working to perfection (tested fully)
The only problem i have is that the starting lives for File A is 13, (the rest is 5) i doubt thats related to this patch tho :P

Thanks again ^^
Pages: « 1 2 »
Forum Index - SMW Hacking - General SMW Hacking Help - ASM & Related Topics - New problem with the patch :l

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: 29

Menu