Pages: 1
bananabread |
Posted on 05-23-19, 09:39 pm
|
Karma: 5 Posts: 1/6 Since: 05-03-19 |
I'm pretty new to the ASM hacking stuff but I'm trying to make a flappy bird kinda hack in nsmb. I got the flying stuff figured out but now I just want mario to die when it hits a pipe. I'm almost done with it but I just can't figure out how to make mario die. I tried moving the timer to 0 but that didn't work well. Can anyone help me?
_________________________ yep yep |
|
Posted on 05-24-19, 01:42 am
|
![]() Cream Cheese King Karma: 2160 Posts: 835/1379 Since: 04-24-18 |
You can change tile properties to where when Mario touches the pipe, it hurts or kills him. Go to "Tilesets" and then "Jyotyu" and you can edit all kinds of stuff in there.
_________________________ ![]() Discord Server 1 - Discord Server 2 - Youtube Channel |
newluigidev |
Posted on 05-24-19, 10:50 am
|
![]() Karma: 2426 Posts: 389/417 Since: 08-17-15 |
if you have the asm template setup, define this function (in nsmb.h and symbols): 0x020205EC
create a ptr using the function (MarioActor* player = (MarioActor*)*name of function that you just defined*) and set field 0x990 to 0x021197FC (player->unk990 = 0x021197FC;) |
bananabread |
Posted on 05-24-19, 03:40 pm
|
Karma: 5 Posts: 2/6 Since: 05-03-19 |
Thanks It worked. I couln't do it by editing the tileset because pipes and objects that hurt are incompatible
_________________________ yep yep |
|
Posted on 05-25-19, 01:41 am
|
![]() Not Edible Karma: 3416 Posts: 882/1447 Since: 02-12-16 |
Pages: 1