Page 1 of 1
How to Expand a Player's Heart Capacity?
Posted: Mon Apr 03, 2017 8:49 pm
by PersonNamedUser
How do you increase how many hearts the player can have at time? Is there a way to?
Re: How to Expand a Player's Heart Capacity?
Posted: Mon Apr 03, 2017 9:20 pm
by PixelPest
You'd have to write a script to check when a player is powering down (I think it's 0x122 == 2) and have a counter that forces a power-up state (also based on 0x122) when it is equal to a certain number and have it decrease when the mem value is 0x122 and killing the player when it equals 0. For the graphic itself, you'd have to undraw the HUD, redraw the HUD, and draw your heart system
Re: How to Expand a Player's Heart Capacity?
Posted: Tue Apr 04, 2017 5:12 am
by Hoeloe
There's an API on the LunaLua wiki called HUDofTime, which expands the heart capabilities of Link. I'd suggest looking at how that does it.