Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Super Mario World hacking: labmaster | 3 guests
Acmlm's Board - I2 Archive - Super Mario World hacking - Object 0C - Black Piranha Plant
  
User name:
Password:
Reply:
 

UserPost
HyperLamer
Posts: 3322/8210
I don't think anyone would really mind, it's not like this was totally spam. Now if I understand correctly you want the black piranha plant object to become a coin when the blue Pow is pressed? There must be a table in the ROM somewhere that tells it what to turn into what... *does some quick searching* Hmm, can't find it, but I made a list of Map16 numbers:

Blue POW - Changed:
132 -> 2B (Brown blocks -> coins)
2B -> 132 (Coins -> brown blocks)

Revealed:
27, 28 (Door)
29 (Coin block)
2A (Coin)
?? (Note blocks, obj 3)

Considering that, IIRC, the only tiles that get switched are 0x132 and 0x2B, it might be a good idea to do some searching with the hex for the 'CMP' opcode followed by those; also keep an eye out for 0x119 as this is the 'key' number - XORing those two numbers by this will give the other number. (0x132 ^ 0x119 = 0x2B and vice-versa.) And of course 0xC800, being the RAM address Map16 starts at in both banks 0x7E and 0x7F, would be another one to look for. I might do some more searching later but right now I have some bathroom-related business to take care of.
Xkeeper
Posts: -2531/-863
Yay, spam, and I happen to be extremely hungry after skipping breakfast
Kario
Posts: 1220/2082
Originally posted by Pikachu025
Sorry for bumping such an old topic, but it'd better that open up a new one, correct?


No
Pikachu025
Posts: 27/96
Sorry for bumping such an old topic, but it'd better that open up a new one, correct? I still haven't found a way to do so. I checked every block in Blocktool, but no one seems to help. Also, I cannot find the Tracer-Program, so I'm not able to use that. Can anyone *please* help me?
cpubasic13
Posts: 800/1346
Originally posted by Luigi-San
Originally posted by Kyouji Craw
Eh, Luigi-San just spammed. He thinks he is the supreme rom-hacker, which we all know he definitly is not.


^Quote Fixed^


I fixed it.

Well... uhh... if memory serves me right, isnt there a block in Blocktool that when a POW is activated, it turns into the next block in the Map16? I would check that first. If not, trace for the code for when a blue POW is activated and when a grey POW is activated. That could help somewhat, as tiles have to be told to change to certain occasions...
Luigi-San
Posts: 119/736
Originally posted by Kyouji Craw
Eh, don't trust what Kyouji Craw has to say. His input is... Never useful.


^Quote Fixed^
Alastor the Stylish
Posts: 3923/7620
Eh, don't trust what Luigi-San has to say. His input is... Never useful.
Pikachu025
Posts: 22/96
Yeah, I know. But Lunar Magic calls them "".
Luigi-San
Posts: 116/736
You do know that the black piranha plants are Munchers, right?
Pikachu025
Posts: 21/96
Originally posted by Kyouji Craw
You'd also have to find the bytes for the animation to be changed by blue POW as well, if it works anything like the ExAnimation provided by Lunar Magic, but... Doesn't seem too impossible.

The animation is no problem as I'm using other graphics for the plants using the Extended Animation-Thing. I'll just use "Blue POW" instead of "Silver POW".
Still haven't found a way to change them to coins with the blue POW, tough.
Alastor the Stylish
Posts: 3382/7620
What? Raven, you read him wrong. He just wants the black piranha plants to turn to coins when hitting the blue POW instead of silver so it'll be more like SMB3, which he can use for puzzles. I think it's a pretty cool idea, actually. I do not know what byte controls which POW changes it... You'd also have to find the bytes for the animation to be changed by blue POW as well, if it works anything like the ExAnimation provided by Lunar Magic, but... Doesn't seem too impossible.
Cruel Justice
Posts: 478/1384
Why would you want the pow to be blue anyways? It's rather pointless if you'd ask me. The player would think that the pow is blue and will cause the used blocks to change into coins. Don't be surprised if you get any bad comments hitting you in the face.

Unless you change the code in ASM to make the pow work both ways, it's a complete waste of time.
Pikachu025
Posts: 20/96
Yeah, changing the colors wouldn't work. I want to make a POW like in SMB3, that changes block to coins (and vice-versa) AND changes Piranhas to coins, to make some Frozen-Coin and -Piranhas-Puzzles.
Alastor the Stylish
Posts: 3333/7620
Originally posted by Cheveyo Chowilawu
Originally posted by Davis
Change the colors? How would changing the colors... Do... You know what I'm not even gonna bother to sort through the logic of that statement. I'll be on AIM if anyone needs me...
Basically, swapping the colors of the blue and silver P Switches.

But I think Silver has other effects that a Blue doesn't anyway. If not, then that would fix the problem...
Oh, heh, I thought he meant change the colors of the piranha plants.

Still that suggestion is pretty stupid...

Oh and... See I was thinking tile 0C for some reason. Yeah, my mistake...
Tamarin Calanis
Posts: 206/1802
Originally posted by Davis
Change the colors? How would changing the colors... Do... You know what I'm not even gonna bother to sort through the logic of that statement. I'll be on AIM if anyone needs me...
Basically, swapping the colors of the blue and silver P Switches.

But I think Silver has other effects that a Blue doesn't anyway. If not, then that would fix the problem...
Pikachu025
Posts: 19/96
<- 0C - Black Piranha Plant :p
I'm pretty sure that just changing one byte in the Block's code will solve this problem, but I don't know where the code for the block is >.<
Alastor the Stylish
Posts: 3330/7620
Change the colors? How would changing the colors... Do... You know what I'm not even gonna bother to sort through the logic of that statement. I'll be on AIM if anyone needs me...
ExKay
Posts: 350/1114
You can use ASM or just change the colors, which will work with the Blue POW you want, otherwise some sprite palettes will be messed up.
Alastor the Stylish
Posts: 3329/7620
You would accomplish this via ASM hacking. Also, I'm pretty sure the black piranha plant is 12F, not 0C. C is the right side of a climbing net, I believe...
Pikachu025
Posts: 18/96
Well, as you know, these things turn into Coins when a Silver POW is activated. I'd like them to turn into coins when a Blue POW is pressed, and not a silver one.
How do I do this?
Acmlm's Board - I2 Archive - Super Mario World hacking - Object 0C - Black Piranha Plant


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.005 seconds.