| 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! |
|
|
|
|
| Posted on 2007-09-01 10:30:41 PM |
Link | Quote |
|
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. |
|
| Posted on 2007-09-04 07:11:31 PM |
Link | Quote |
|
|
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.
|
|
| Posted on 2007-09-04 10:05:18 PM |
Link | Quote |
|
|
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
|
|
| Posted on 2007-09-04 10:06:56 PM |
Link | Quote |
|
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 =]
|
|
| Posted on 2007-09-04 10:16:17 PM |
Link | Quote |
|
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
|
|
| Posted on 2007-09-04 10:42:03 PM |
Link | Quote |
|
|
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?
|
|
| Posted on 2007-09-04 10:50:38 PM |
Link | Quote |
|
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. |
|
| Posted on 2007-09-04 11:25:29 PM |
Link | Quote |
|
|
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.
|
|
| Posted on 2007-09-05 05:48:34 AM |
Link | Quote |
|
|
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.
|
|
| Posted on 2007-09-05 05:54:46 AM |
Link | Quote |
|
|
Can this patch be applied on a hacked SMW game?
|
|
| Posted on 2007-09-05 08:17:29 AM |
Link | Quote |
|
Originally posted by mimicOr 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. |
|
| Posted on 2007-09-05 01:42:31 PM |
Link | Quote |
|
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. |
|
| Posted on 2007-09-05 06:04:07 PM |
Link | Quote |
|
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.
|
|
| Posted on 2007-09-05 08:11:55 PM |
Link | Quote |
|
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. |
|
| Posted on 2007-09-08 11:32:57 AM |
Link | Quote |
|
|
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.
|
|
| Posted on 2007-09-08 08:37:00 PM |
Link | Quote |
|
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
|
|
| Posted on 2007-09-13 04:52:55 PM |
Link | Quote |
|
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.
|
|
| Posted on 2007-09-13 08:47:02 PM |
Link | Quote |
|
Would it be possible to add more hearts to
Mario, like collecting heart containers in
LOZ series?
|
|
| Posted on 2007-09-13 10:29:42 PM |
Link | Quote |
|
|
hes working on it.
|
|
| Posted on 2007-09-13 11:22:34 PM |
Link | Quote |
|
|
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?
|
|
|
|
|
|
|
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! |