Banner
Views: 235,726,309
Time: 2013-05-18 07:09:06 AM
11 users online: BLARG, gabriel alves, GlitchMr, K1ngHacks, Lui37, natnew, o Richard Nixon, ShrooboidBrat, SilverDeoxys563, Sokobansolver, WhiteYoshiEgg - Guests: 20 - Bots: 16Users: 22,833 (1,280 active)
Latest: TheFrozenParticle
Tip: Don't just modify the original SMW overworld; start from scratch.
Custom Block Help
Forum Index - SMW Hacking - General SMW Hacking Help - Custom Block Help
Pages: « 1 »
Alright, down to business.

LDA #$07
STA $71
RTL


I figured that code would alone make Mario jump forward and very high by itself, but the screen goes black when Mario touches the block!
I have this same problem with submitted code too!
I really need help.

Oh, and it just plays the animation for Mario coming out of a diagonal pipe.
Last edited on 2010-11-05 04:28:52 PM by Aceheart.
Have you ever seen a custom block? You're missing a lot.

Also, what use would this have? It shoots you like a diagonal pipe would. You have to include the commands that indicates it's a custom block. If you don't it'll crash. These commands include:

JMP MarioBelow : JMP MarioAbove : JMP MarioSide : JMP SpriteV : JMP SpriteH : JMP MarioCape : JMP MarioFireBall

MarioAbove:
MarioBelow:
MarioSide:
SpriteV:
SpriteH:
MarioCape:
MarioFireBall:

You need all those. You don't have to set the code for each one of them individually, though. You can just stick the code at the end. (Er... At least, I'm pretty sure you can.)
Last edited on 2010-11-05 04:34:19 PM by MolSno.
Well, i looked at them, and i figured that i didn't need them.
I guess i'm stupid that way.
I'll try it.
Last edited on 2010-11-05 04:40:57 PM by Aceheart.
As Molten said you are missing the JMPs but I'd also like to add that there are 3 more that Molten didn't put including; JMP Corners : JMP HeadInside : JMP BodyInside

These new JMPs also need the command db $42 to actually work and without db $42 I do recall the block will break if those JMPs are in there.

Here is a very simple base block that all it does is make itself act solid no matter what.

Originally posted by CODE
db $42

JMP MarioBelow : JMP MarioAbove : JMP MarioSide : JMP SpriteV : JMP SpriteH : JMP CapeSpin : JMP FireBall
JMP Corners : JMP HeadInside : JMP BodyInside

MarioAbove:
MarioBelow:
MarioSide:
SpriteV:
SpriteH:
CapeSpin:
FireBall:
Corners:
HeadInside:
BodyInside:
LDY #$01
LDA #$30 ;act like tile 130
STA $1693
RTL


But as molten also said this block can be condensed and all JMPs could have the same name it make it shorter so it could be writen like this.

Originally posted by Code Again
db $42

JMP Code : JMP Code : JMP Code : JMP Code : JMP Code : JMP Code : JMP Code
JMP Code : JMP Code : JMP Code

Code:
LDY #$01
LDA #$30 ;act like tile 130
STA $1693
RTL
Pages: « 1 »
Forum Index - SMW Hacking - General SMW Hacking Help - Custom Block Help

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2013 - SMW Central
Legal Information - Link To Us


Total queries: 27

Menu