(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
04-23-23 06:05 AM
0 users currently in The Pit of Despair.
Acmlm's Board - I3 Archive - The Pit of Despair - Poison Reserve Mushroom New poll | | Thread closed
Add to favorites | Next newer thread | Next older thread
User Post
Sparx

Waddle Doo








Since: 11-18-05
From: San Diego

Last post: 5920 days
Last view: 5907 days
Skype
Posted on 01-02-06 07:44 PM Link
Is there a way to make it so that the mushroom in your reserve box hurts you, but only in a certain level?
Kailieann



 





Since: 11-18-05

Last post: 5907 days
Last view: 5907 days
Posted on 01-02-06 07:57 PM Link
You'd need to edit the mushroom's ASM script to be level-specific. It actually shouldn't be too difficult, but that's assuming you're reasonably good at ASM tracing and coding.
Either way, there's no way that doesn't fall under the realm of advanced hacking.
Sparx

Waddle Doo








Since: 11-18-05
From: San Diego

Last post: 5920 days
Last view: 5907 days
Skype
Posted on 01-02-06 08:14 PM Link
I can do one part... I just don't know how to make it level specific.
Kailieann



 





Since: 11-18-05

Last post: 5907 days
Last view: 5907 days
Posted on 01-02-06 08:32 PM Link
You'd need to find where the current level number is stored in the RAM -- or, failing that, install BMF's levelnum.ips as included with the LevelASM/Level Name hacks, in which case the current level number will be stored in $010B.

After that, you'd need to copy the Mushroom's ASM script to a blank spot in the ROM and change the original script to

JSL *new script location*
RTS

Then for the new script, start it off with something like this:

LDA *level number*
CMP *level where Mushroom is poisonous*
BNE *original script*
JSR/JSL *hurt script location*
RTL
[original script]

And then at the hurt script location, the new damage-causing script.

Note that the Mushroom's ASM pointer is used by a few other sprites, so you'll have to isolate the portions of the script that are used specifically by the Mushroom.
Sparx

Waddle Doo








Since: 11-18-05
From: San Diego

Last post: 5920 days
Last view: 5907 days
Skype
Posted on 01-02-06 08:54 PM Link
Ok, it's "poison" now. The idea of the level is that toxic powder is emanating from crates, spreading through the air, poisoning everything in the area. Even the mushrooms. Thanks!
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - The Pit of Despair - Poison Reserve Mushroom | Thread closed


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.020 seconds; used 366.75 kB (max 436.55 kB)