| Posts by x-treme |
|
|
|
|
|
|
|
|
Hi, I've just made an account, but have been hacking for 3 months now, so I thought that I should post here.
I'm trying to make a custom block that changes you between Mario and Luigi, but it doesn't do anything.
Here's the code.
CodeJMP MarioBelow : JMP MarioAbove : JMP MarioSide : JMP Return : JMP Return : JMP MarioCape : JMP MarioFireBall
MarioBelow:
LDA #$19
CMP #$00 ;If the player is mario
BEQ Luigi ;Go to the make luigi code
LDA #$00 ;if not, make him mario
STA $DB3
RTL ;return
Luigi:
LDA #$01 ;make the player luigi
STA $DB3
RTL ;return
MarioAbove:
MarioSide:
MarioCape:
MarioFireBall:
RTL ;return
When I test it in SMW, it doesn't do anything when I touch it. What's wrong with it?
|
|
|
|
|
The title screen looks good. I'm not going to complain about ExGFX yet because this is a early demo. ;)
|
|
|
|
Ok, this is what I have now after listening to you guys. Now it's just a make Mario Luigi block. 
CodeJMP MarioBelow : JMP MarioAbove : JMP MarioSide : JMP Return : JMP Return : JMP MarioCape : JMP MarioFireBall
MarioBelow:
LDA $0DB3
CMP #$00
BEQ Luigi ;Go to the make luigi code
RTL ;return
Luigi:
LDA #$01 ;make the player luigi
STA $DB3
RTL ;return
MarioAbove:
MarioSide:
MarioCape:
MarioFireBall:
|
| Last edited on 2009-09-18 02:09:49 PM by x-treme. |
|
|
|
Sorry if there's lot's of stupid mistakes. I made a block that gives you a mushroom before, so I might have confused myself. XP
The new code.
CodeJMP MarioBelow : JMP MarioAbove : JMP MarioSide : JMP Return : JMP Return : JMP MarioCape : JMP MarioFireBall
MarioBelow:
LDA $0DB3
CMP #$00
BEQ Luigi ;Go to the make luigi code
STZ $0DB3
RTL ;return
Luigi:
LDA #$01 ;make the player luigi
STA $0DB3
RTL ;return
MarioAbove:
MarioSide:
MarioCape:
MarioFireBall:
RTL
I have to go to sleep in a while, so I might not reply.
|
| Last edited on 2009-09-18 02:21:14 PM by x-treme. |
|
|
|
Oh man, my mom's screaming at me to go to sleep. XP
Here's the code. I'll check the thread tomorrow.
CodeJMP MarioBelow : JMP MarioAbove : JMP MarioSide : JMP Return : JMP Return : JMP MarioCape : JMP MarioFireBall
MarioBelow:
LDA $0DB3
BEQ Luigi ;Go to the make luigi code
STZ $0DB3
RTL ;return
Luigi:
LDA #$01 ;make the player luigi
STA $0DB3
MarioAbove:
MarioSide:
MarioCape:
MarioFireBall:
RTL ;return
|
|
|
|
Originally posted by Majora252You can make the code shorter by a lot. Anyways, there's already one made. Good job coding though. And welcome to the site!
Here is the simple code, which is already submitted (by Maxx):
I tried this, and it worked, but with some glitches.
1. If I was Luigi and hit the block, it would not change the status bar name.
2. If I hit the block from the side or the top, Mario's\Luigi's pallet would turn purple, and Mario\Luigi would freeze, but the game would keep running, I mean the timer kept going.
3. When I died after the timer ran out, I ended up in Star World with a Yoshi Island pallet and couldn't move or do anything.
4. It also added, or subtracted 8450 points from my score.
Really weird.
|
| Last edited on 2009-09-19 02:23:55 AM by x-treme. |
|
| (restricted) |
|
|
|
You'll get a LUMP of coal for Christmas.
|
|
|
|
You don't make Map16Pages in YY-CHR , you do It in Lunar Magic.
First, go to the Map16Page you want to export.
Second, press F2 to export the 'Map16Page.bin' and 'Map16PageG.bin' files.
There you go! You now have the Map16Page files you need.
As for ExGFX, here's a Tutorial for ExGFX.
|
|
|
|
Well, I just made my first custom song, so I thought I could post it here. ;)
A beach or island song, made 100% in FL Studio 8 XXL.
Click here to listen to it.
|
|
|
|
I might as well introduce myself...
I'm just made a account, but have been hacking for 3-4 months now.
I know alot(exgfx, music, custom blocks and sprites) and I am learning ASM.
|
|
|
|
Wow.
That's really long. I can't even think about living for 115 years.
It's sad, but at the same time cool.
|
|
|
|
|
This is really good for your first tutorial, but I think this would be better in the Basic or Advanced Forum.
|
|
|
|
|
|
|
Can you post a picture of the pallet editor?
|
|
|
|
|
Page 2 is tileset specific. That means it show in certain tilesets.
|
|
|
|
Is the file in the ExGraphics folder?
If not, put it in there.
|
|
|
|
Did it happen after an update? The same thing happened to me to, so I did a system restore.
If not, have you tried restarting the computer?
|
|
|
|
Not to be picky, but I noticed one thing.

Shouldn't it be Luigi?
Other than that, it looks really good!
|
|
|
|
Yeah, that right i think, but remember the JMP's at the start and the RTL at the end.
To disable Time travel, I think it would be:
CodeJMP Mario : JMP Mario : JMP Mario : JMP Mario : JMP Mario : JMP Mario : JMP Return
Mario:
LDA #$00
STA $06F0
STA !Ram
Return:
RTL
|
| Last edited on 2009-10-05 01:15:08 PM by x-treme. |
|
|
|
|
|
|
|