Banner
Views: 235,815,911
Time: 2013-05-18 09:29:19 PM
20 users online: Aquas, Carld923, ChilledXSocks, Egadd, ErikAlay, Exor, Falconpunch, Fan-FR-, Gamma V, Jack Kitetsu, Lui37, ManuMaster654, Masterlink, MaxodeX, ninja boy, Pinci, o ShadowPhoenix, Sokobansolver, vashvaati, Vitor Vilela - Guests: 24 - Bots: 15Users: 22,838 (1,282 active)
Latest: BobNewbie
Tip: ALWAYS test anything that you've made before submitting it to SMW Central.
ASM is FUN! - YAY! MY FIRST PATCH! - I think I am really done now!
Forum Index - SMW Hacking - General SMW Hacking Help - ASM & Related Topics - ASM is FUN! - YAY! MY FIRST PATCH! - I think I am really done now!
Pages: « 1 2 3 4 5 »
Ya know, I don't know why everyone says ASM is hard. The tutorial on the wiki makes it easy.

So I made a little hack as a test... I was planing on turning it into
a SMB2/Doki Doki Panic like heart system... here is what i did so far:

Edit infinity: I finished! I submited the patch already!

I think I will put it here and only upload it again once I am sure I am 100% done with it
Last edited on 2007-09-23 08:18:44 AM by KilloZapit.
It would be really neat to have a SMW hack with health represented as hearts instead of mushrooms used to become bigger. I am also pretty sure that you could have a POW replace a potion so that a secret door can open to the alternate universe to get a heart filler. I am sort of surprised that I haven't even thought of that since many games use hearts and not physical representation as a health status.
I finished my patch! Your max hearts arn't saved in SRM though and no sprites to use to up your hearts, but that should be easy. :3
Yeah, it should be. But you'd have to tell us which RAM address that the heart meter health is stored at, that way we can create sprites and / or
blocks to write to the address =]
Hehehe Thats what the ASM is for. XD

But here is it anyway:

; defines

!Health = $0DC4
!MaxHealth = $0DC5
!MarioHealth = $0F44
!LuigiHealth = $0F45
!MarioMaxHealth = $0F46
!LuigiMaxHealth = $0F47
Dude that is one awesome patch. There is one thing i suggest though, make it so when you receive another mushroom, you gain more life. Like you add another health heart. Also what does the smwnewbar patch do?
Mushrooms heal you. If you want me to make an item give you more MAXIMUM hearts, it should be a lot more rare then a mushroom. XD

The newbar patch just contains the graphic changes without the ASM, so you can use it to apply the ASM too if you wanna change it.

Actualy maybe I should make collecting 5 dragon coins do it since you can only do that once per level right? Still would be far too easy. The max the bar has room to display is 8 hearts ya know, unless I move lives
and use the next line too. XD
Last edited on 2007-09-04 10:55:15 PM by KilloZapit.
8 lives is good. Maybe, you could change it so that each dragon coin gives you a heart, and maybe use the feather or fire flower to heal you. Better yet, change the poison mushroom sprite and let that only heal you, use the 5 dragon coins to give you hearts only.
Or how about every time you get a 3 up moon, you get one heart since most reasonable hackers hide 3 up moons there is usually one per world.
Can this patch be applied on a hacked SMW game?
Originally posted by mimic
Or how about every time you get a 3 up moon, you get one heart since most reasonable hackers hide 3 up moons there is usually one per world.
Yes, that seems like the best way. I've always thought that the dragon coins should behave like cherries, but that would qualify as a totally separate patch altogether.

KilloZapit: There's one thing that you seem to have overlooked. When you start the game, you have three hearts and you're small. To make it more like SMB2, Mario/Luigi should start out big. But then again, if you make items that change the maximum number of hearts, the default number should be 2.
Last edited on 2007-09-05 08:19:10 AM by Mattrizzle.
I still think a custom sprite would be the best. This patch is intended so other people can use it in their hacks anyway. But 3-up moons are still a good idea.

Well I DID think about starting you big, but I commented it out at the last moment. (Note: If I ever make a full hack, I will probobly have you start big and always stay big unless you eat a poison mushroom-like powerup that makes you small. Sorta like Super Bonk's candy)

One bug I just found... dieing in a pit dosn't effect your hearts at all. OOpsy.

Last edited on 2007-09-05 01:44:51 PM by KilloZapit.
I must say I love the patch but there are a few bugs that need to be worked out.
1. If your Big Mario and you have a mushroom in reserve, you can keep hitting select to have it drop down and refill you your bar. A temporary work around this is to disable the item reserve for now...
2. As mentioned before if you gonna start off as small Mario you really should only have 1 heart, otherwise it makes it seem like its a glitch.

As for the idea of gaining max hearts, I like mimics idea of replacing the 3-up moon. I'd go that path...

Reini: No it can't, It glitches up the gfx.
Oopsy, it should only give you a item if you get it at max HP... I will fix...

Edit: New bugfix version uploaded. :3

Edit2: Actualy I think if you apply the patch to a lunar magic edited rom it should work, but it didn't seem to work when I used lunar magic to edit it afterwards. Weirdly I got a really odd bug once where the start level where it blabs at you spawned a mushroom then rent right of the screen and just sat there and didn't go on with the text box. >_>
Last edited on 2007-09-07 09:21:30 PM by KilloZapit.
I found a bug. When you're Fire Mario and if you have two hearts and if you collect a mushroom, health replenishes, but the game instantly freezes, but not the music.
O_o Didn't crash for me, but it did do something odd. I think I fixed it.

I think I will put it here and only upload it again once I am sure I am 100% done with it
I updated it slightly, now it will save your max hearts in sram. The values for the max health are now:

!MarioMaxHealth = $1F2C
!LuigiMaxHealth = $1F2D

Note: I am pretty sure those bytes arn't used for anything, but I may be wrong.
Would it be possible to add more hearts to
Mario, like collecting heart containers in
LOZ series?
hes working on it.
Yeah, although I probobly will have custom sprites to do it... although 3-up moons are a nice idea, I really want to save what ones you collect in SRAM.... I could just expand SRAM to include the dragon coin flags... I think 3-up moons might set flags there too... not sure. Also, Lunar Magic seems to overwrite my code or visa versa. I thought it was smart enough not to do that. >_< Anyone know where I could put my code so that it's safe from that?
Pages: « 1 2 3 4 5 »
Forum Index - SMW Hacking - General SMW Hacking Help - ASM & Related Topics - ASM is FUN! - YAY! MY FIRST PATCH! - I think I am really done now!

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

Menu