Pages: 1
|
Posted on 01-06-18, 03:02 am (rev. 1 by
|
|||
![]() Karma: 724 Posts: 228/258 Since: 10-14-11 |
Mario now has HP!
Could be handy if anybody wants to make a hack with a similar HP system to SM64. Video https://www.youtube.com/watch?v=FeT47bRFq3g Screenshots
Notes: - The player cannot become Small Mario. - The player can collect coins to restore HP (Default: 15 coins = +1HP). - HP has a cap (Default: 5HP). - Taking damage while Big Mario will result in losing some HP (Default: -1HP). - Taking damage while in Fire & Shell will result in losing the power up, HP remains unchanged. - Taking damage while Mini will still result in Mario dying, regardless of HP. Because of this, the player may now press Select to return to Big Mario. Download: HPMode.cpp |
|
Posted on 01-06-18, 05:10 am
|
![]() That MvL Hacker Karma: 1602 Posts: 563/795 Since: 04-11-15 |
Fails to compile, PlaySNDEffect is not defined in scope
_________________________ Here's my MvL Hacking thread Consider joining the NSMB DS Hacking Discord Server! #HakingNoMore |
newluigidev |
Posted on 01-06-18, 09:16 am
|
![]() Karma: 2416 Posts: 320/417 Since: 08-17-15 |
Woah, I tried doing this. Failed though. Nice job!
|
|
Posted on 01-06-18, 01:45 pm (rev. 1 by
|
![]() Karma: 724 Posts: 229/258 Since: 10-14-11 |
Posted by Ndymario Fails to compile, PlaySNDEffect is not defined in scope It fails to compile because your symbols.x file does not have that function. Add this to it. "PlaySNDEffect = 0x02012398;" |
|
Posted on 01-06-18, 09:03 pm
|
![]() That MvL Hacker Karma: 1602 Posts: 564/795 Since: 04-11-15 |
Added line to symbols.x, still doesn't work
_________________________ Here's my MvL Hacking thread Consider joining the NSMB DS Hacking Discord Server! #HakingNoMore |
|
Posted on 01-06-18, 09:46 pm
|
![]() Karma: 724 Posts: 230/258 Since: 10-14-11 |
newluigidev |
Posted on 01-06-18, 10:41 pm
|
![]() Karma: 2416 Posts: 321/417 Since: 08-17-15 |
You need to declare it in nsmb.h AND symbols.x
void PlaySNDEffect(int SoundID, void* Position); |
shibboleet |
Posted on 01-06-18, 10:42 pm
|
![]() Normal user Karma: 2023 Posts: 344/359 Since: 07-08-12 |
depends on what kind you use. there's some other PlaySNDEffect functions with overridden parameters.
in the template |
newluigidev |
Posted on 01-06-18, 10:44 pm
|
![]() Karma: 2416 Posts: 322/417 Since: 08-17-15 |
Yeah, good point. There's actually 8 SFX functions in the game.
|
byoujiin |
Posted on 01-07-18, 01:09 pm
|
![]() Karma: 16 Posts: 27/27 Since: 01-02-18 |
I feel like this makes it sort of easier.
In my opinion, 15 coins is way too low for one HP, unless coins are relatively sparse. |
|
Posted on 01-07-18, 01:32 pm
|
![]() Karma: 724 Posts: 231/258 Since: 10-14-11 |
Posted by byoujiin I feel like this makes it sort of easier. In my opinion, 15 coins is way too low for one HP, unless coins are relatively sparse. Feel free to change it, you can set it to whatever you want. |
|
Posted on 12-19-18, 08:16 pm
|
![]() Not Edible Karma: 3366 Posts: 680/1447 Since: 02-12-16 |
Pages: 1