Language…
14 users online: bradcomp, Frangover, Giftshaven, Jackpot, Jaozin712, Knight of Time, Laurindo78,  Lazy, MegaSonic1999, Nirv, Peyton, Quaza, SAMYR DUTRA ARAUJO, The Cheater - Guests: 112 - Bots: 133
Users: 67,620 (2,005 active)
Latest user: Lap84

Help needed with a couple of on/off custom blocks

Link Thread Closed
Hello,

I just added Shog's version of the block spikes custom block (which has a spiked bottom and a flat top if the On/Off switch is set to Off), as well as the reverse of this block (which has a flat bottom and a spiked top if the On/Off switch is set to Off), anyway, I'm having a problem with these blocks, when the On/Off switch is set to On, the top and bottom of these blocks acts like spikes, how can I fix it so that only the bottom side of the regular one, and the top side of the reverse one have the spikes when the On/Off switch is set to On?

Thanks in advance.
You'll have to keep it like that. Only one side of the block can hurt Mario due to the jumps at the beggining. So either one side can hurt him and the other can't, or both hurt him. Or both cannot hurt him.
Your layout has been removed.
I thought for sure that doing a small tweak in the ASM file would make both blocks no longer hurt from both the top and bottom if the On/Off switch was set to On. All I recall in the asm file is, there's a spot where if the value is equal to $00, the block hurts the player, and a different spot where if the value is different from $00, that the block hurts the player. Those two areas...do they represent the On and Off settings of the On/Off switch respectively, or do I have them in reverse?

Hopefully the latter isn't the case.
Nevermind, I got some help from Shog on fixing the two blocks, they work perfectly now.

Anyway, could someone close this for me, please?
ldx #24519
stz threads,x
<blm> zsnes users are the flatearthers of emulation
Link Thread Closed