Banner
Views: 943,169,085
Time:
6 users online: Klug, Mirann, Paithus, Phyll, qantuum, RPG Hacker - Guests: 59 - Bots: 114 Users: 52,445 (2,010 active)
Latest: Bigboy01
Tip: Try running your hack on various SNES emulators to see if anything is incompatible.
Not logged in.
Posts by lolcats439
lolcats439's Profile - Posts by lolcats439
Pages: « 1 2 3 4 5 6 7 8 9 10 »
Thanks smkdan, it works now!

Yoshi's island:


After entering main ow:


Edit: just one more problem. I'm using the address $13C3 to index the current submap. However, it is always 0 when starting a new game, regardless of which map you actually start on, so it shows the custom border palette of the main OW until you exit the submap. I tried using $1F11 as the index, but it makes all the colors screw up, even though it should be the same value. I also tried copying the value at $1F11 to $13C3, but the same thing happens.

Code
org !FREESPACE
LDA $1F11                 ;\ multiply submap index by 3
ASL A                     ;|
CLC                       ;|
ADC $1F11                 ;/
TAX
LDA $1EEA                 ;\ Only run if special world is passed
BPL SpecialWorldNotPassed ;/
TXA                       ;\ If special world is passed
CLC                       ;| add 15 to the submap number in A
ADC #$0015                ;|
TAX                       ;/
SpecialWorldNotPassed:


Any ideas?

Edit: fixed it.
Just one more question about my patch. Currently, it doesn't look right to change the OW border color per-submap and have the tiles behind Mario on the OW border (they are a sprite). Right now, it just removes Mario, but I think I could make it work by changing the palette of that tile to palette C, D, E or F, then just writing the custom border color to the correct RAM address directly. Question is, are any of palettes C, D, E or F unused on the OW?

Edit: nevermind, seems these are transparent colors.
http://www.smwcentral.net/?p=thread&id=18548

This thread has some more info on the Mario Start, and the Time Up and Game Over screens.
From the ROM Map:
Code
013DB	$00:91DB	1 byte	ASM	Change it to D0 to switch the "Mario/Luigi Start"


This will make it say Luigi Start when you are player 1.

For the MARIO A, etc, use Smallhacker's Misc Text Editor

Since you're replacing Mario with Luigi, you may also want the 1 player only patch.
Is it one of the No Auto Move levels? Look in Overworld > Change No-Auto-Move Levels.
Why doesn't it work when you try to do it?
Originally posted by Garis208
when in the overworld there is a border (it has flower, mushrooms and stars) around the map. (where the stage name and Mario are on) How do you change the colors?


Open the Overworld Palette editor (the blue star button). The main border color is palette 1, color 9. The border shadow colors are palette 0, colors D - F. The color of the stars, flowers, and mushrooms is palette 1, color A. The color of the level names is palette 1, color B.
Originally posted by Fourpify
Originally posted by lolcats439
Originally posted by Garis208
when in the overworld there is a border (it has flower, mushrooms and stars) around the map. (where the stage name and Mario are on) How do you change the colors?


Open the Overworld Palette editor (the blue star button). The main border color is palette 1, color 9. The border shadow colors are palette 0, colors D - F. The color of the stars, flowers, and mushrooms is palette 1, color A. The color of the level names is palette 1, color B.

im just adding to this.

if you change the overworld border color. the square around mario will still be the same color as before so you have to change Palette B Color 7 to the color of the overworld border. (You will have to sacrifice a color of OW Luigi)


Another way to fix that is top simply remove Mario from the overworld border, using this hex edit:
Code
207CF	$04:85CF	4 bytes	Overworld border	Change from 22 BD E2 00 to EA EA EA EA to remove Mario from the Overworld border


Then use Terra Stripe to edit the border to fill in the blank spot.
Originally posted by Sadistic Designer
That won't work because the blocks have to be unaffected by a silver pow.
Also they have to be instant-kill rather than just hurt mario.


Use the slope fix patch to fix that, then touching the corners of custom blocks will activate them.
That would be the Screen Scrolling Pipes.


This would be good for a forest/swamp type level.

.pal
Originally posted by Kaijyuu
Quote
There has to be an easier way to do this than doing a lot of bitch-hard, long assembly knowledge.

Nope.


Since you just need ASM code to do it, someone who has done it could post their code if they wanted.
What I always do is copy the ROM into the BTSD (or other tool) folder and add the blocks to the copy, then copy it back to the LM folder.
I am using the Shatter/Solid on POW blocks by Iceguy, and they work when Mario touches them, but when a sprite touches them, the block Mario is standing on shatters, and the POW shatter block remains. Why does this happen, and is there a block that shatters properly when touched by Mario and Sprites?

Edit: fixed it, I added this code before the Check label:/

Code
CheckSprite:
	LDA $0A		; $0A-D hold the x/y of sprite contact
	AND #$F0 	; have to clear the low nybble much like $98-9B 
	STA $9A
	LDA $0B
	STA $9B
	LDA $0C
	AND #$F0 
	STA $98		
	LDA $0D
	STA $99
If using Carol's Addmusic, insert it as Overworld music and then change the hex address to its number.
Actually, it's a simple hex edit:

Quote
07324 $00:F124 2 bytes ASM Change from D0 39 to EA EA to make munchers hurt Mario while riding Yoshi.


I submitted it to the ROM map just now.
It's a spinoff, I didn't make it.
This is weird. I'm trying to use this code using LevelASM, but Xkas GUI gives me 2 errors. The code sets the "Takes 5 fireballs to kill" bit for thwomps. Code:

Code
IceThwomps:
LDY #$0B
IceThwomps1:
LDA $14C8,y
CMP #$00
BEQ IceThwomps2
LDA $9E,y
CMP #$26
BNE IceThwomps2
LDA #$2C
TSB $190F,y
IceThwomps2:
DEY
BPL IceThwomps1
RTS


Errors:

Code
error: Levelcode.asm: line 17: invalid opcode or command [LDA $9E,y]
error: Levelcode.asm: line 21: invalid opcode or command [TSB $190F,y]


What is wrong with those codes?
Insert Success! Thanks!
Here's my level for the Difficulty category, "..Wat". It's a slightly harder version of the hardest level from my hack, Super Not Nice World.

..Wat

Edit: this is vanilla, except for an ExGFX file that has the correct graphics for the goal sphere.
Pages: « 1 2 3 4 5 6 7 8 9 10 »
lolcats439's Profile - Posts by lolcats439

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

Copyright © 2005 - 2021 - SMW Central
Legal Information - Privacy Policy - Link To Us


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy
  • sm64romhacks