Language…
5 users online: AntonioBaptista, AutiesRule,  Lazy, Nciktendo, otis89 - Guests: 112 - Bots: 124
Users: 70,234 (2,556 active)
Latest user: kior

Editing the sprite generated by the YI Egg Plant sprite...please help

Hi there,

I just recently inserted the YI Egg Plant sprite into my hack, and I was wondering, where in the ASM file do I configure what regular or custom sprite it generates?

Right now, the regular sprite it generates is a blue shell-less Koopa (02), but I wish to change that to the throw block sprite, can someone fill me in on what value this sprite uses, please?

My thanks in advance.
Change the extra property byte 1. This is the sprite number that it generates, so if you open the .cfg file in a .cfg editor and change the extra property byte 1 to 53, it will generate a throw block.

----------------

I'm working on a hack! Check it out here. Progress: 64/95 levels.
Ah, that did it, thanks imamelia. Methinks using a throw block shooting Egg Plant will serve me well in a couple of levels in my hack, the first of which that I'm working on right now, has some breakable hurt blocks.

I'm guessing you change extra property byte 2 in the cfg editor to edit what custom sprite the YI Egg Plant shoots out, right?
Actually, no. The extra property byte 2 determines how many of that sprite can be on the screen before the plant doesn't generate any more. Setting the extra bit makes it generate a custom sprite. I personally don't like the way smkdan designed that; the way it's set up, you can choose only one sprite number for both, so if you happen to want a custom sprite that is a different number than the normal sprite, you have to insert another instance of the sprite entirely. That shouldn't be too hard to change with a little ASM editing, though.

----------------

I'm working on a hack! Check it out here. Progress: 64/95 levels.
Ah, okay.

Well, I figured it'd be best for the Egg Plant to shoot only 1 throw block sprite at a time, but I might make some extra copies of the Egg Plant sprite (for both the asm and cfg files), as I do occasionally make an extra copy of the asm and cfg files whenever I need to change its tilemaps to use with a different set of sprites than what sprites the original was used with.