Language…
5 users online: BabaYegha, masl, Oskise, sinseiga, Tsquare07 - Guests: 228 - Bots: 293
Users: 64,795 (2,375 active)
Latest user: mathew

[SOLVED] How do I change the palettes of which Mario's fire ball uses?

  • Pages:
  • 1
  • 2
Yo, how do I change the palette that this fire ball uses (not edit the current palette itself).




YouTube Twitter Twitch
It would probably be easier to rearrange your level's palette instead.

You could edit the rom addresses that set it's palette, but that would affect the entire game.
i believe either ASM, hex editing, or custom palette are the only ways to fix your problem.

P.S. I'd ask someone other than me to make the ASM code.
Hello there, here is my new blog. I will usually update it every day.
My Pokemon:

Party Image cause I feel lazy.
Originally posted by Kaijyuu
You could edit the rom addresses that set it's palette, but that would affect the entire game.


I'm willing to try it. How?



YouTube Twitter Twitch
I think Mario's fireballs use palette row A... someone correct me if I'm wrong.
Your layout has been removed.
Originally posted by The Thunder
I think Mario's fireballs use palette row A... someone correct me if I'm wrong.


How do I CHANGE the palette it uses? Instead of row A or whatever it is.



YouTube Twitter Twitch
Lately, the ROM map has been feeling lonely :(

Originally posted by ROM map
1235F | $02:A15F | 4 bytes | Mario Tilemap | Fireball tiles' palette/gfx page/priority/flip (May also affect the small flame left by Hopping Flame.)


You'll need to know Hex, how to work a hex editor, and have knowledge of YXPPCCCT
Originally posted by Ladida
Lately, the ROM map has been feeling lonely :(

Originally posted by ROM map
1235F | $02:A15F | 4 bytes | Mario Tilemap | Fireball tiles' palette/gfx page/priority/flip (May also affect the small flame left by Hopping Flame.)


You'll need to know Hex, how to work a hex editor, and have knowledge of YXPPCCCT


I know hex, I have a sprite palette changer but I don't know what number sprite a fireball is. I know what I need to do now, but I can't find which number sprite Mario's fireball uses.



YouTube Twitter Twitch
value
------------------------
00---palette 8 GFX01/02
01---palette 8 GFX03/04
02---palette 9 GFX01/02
03---palette 9 GFX03/04
04---palette A GFX01/02
05---palette A GFX03/04
06---palette B GFX01/02
07---palette B GFX03/04
08---palette C GFX01/02
09---palette C GFX03/04
0A---palette D GFX01/02
0B---palette D GFX03/04
0C---palette E GFX01/02
0D---palette E GFX03/04
0E---palette F GFX01/02
0F---palette F GFX03/04
Help?


My YouTube Channel

Baby Luigi in YI (out)

SMAS SMB3 Styled SMW GFX (WIP)

Current Project
Originally posted by Link13
value
------------------------
00---palette 8 GFX01/02
01---palette 8 GFX03/04
02---palette 9 GFX01/02
03---palette 9 GFX03/04
04---palette A GFX01/02
05---palette A GFX03/04
06---palette B GFX01/02
07---palette B GFX03/04
08---palette C GFX01/02
09---palette C GFX03/04
0A---palette D GFX01/02
0B---palette D GFX03/04
0C---palette E GFX01/02
0D---palette E GFX03/04
0E---palette F GFX01/02
0F---palette F GFX03/04
Help?


Kinda, but I don't know what sprite number Mario's fireball is. I need to change it to row C.



YouTube Twitter Twitch
Originally posted by Link13
08---palette C GFX01/02

[/something that took me about five seconds to find]
<blm> zsnes users are the flatearthers of emulation
Originally posted by Alcaro
Originally posted by Link13
08---palette C GFX01/02

[/something that took me about five seconds to find]


Sprite address "08" is "Green Koopa, flying left" not Mario's fireball.



YouTube Twitter Twitch
Mario's fireball is not a normal sprite, it's an extended sprite, which means it cannot be edited with Tweaker. The only way would be to use a hex editor to change the palette. With your ROM opened in a hex editor, search for address x1235F. You will find 04 04 C4 C4. This is in YXPPCCCT format which goes like this, in binary:

Y = Y-flip
X = X-flip
P = Priority. For sprites, there are two of these.
C = Palette. There are 3 of these, which allows for 8 sprite palettes.
T = Page. For layers, there are 2 of these, one which is unused.

In Windows Calculator, if you put it on Hex, and put 04, then switch to Bin, it would say 100, or 00000100. This is in YXPPCCCT, so the only bit that is set is the second C bit. So it's like this: 0 | 0 | 00 | 010 | 0

If we look at the CCC part, these are the values.
000 = palette 8
001 = palette 9
010 = palette A
011 = palette B
100 = palette C
101 = palette D
110 = palette E
111 = palette F

Place one of those in place of 010. Say you wanted palette C. You would use 100 instead, which would make it 00001000, or 1000. Put that in Windows Calculator in BIN, then swithc to Hex. You would see 8, or 08. Put that value in place of 04 in the hex editor where you see 04, so it's like 08 08 C4 C4. Now, to make it easier, just change the C4s to C8s. And voila, you have the fireballs using palette C.


Note to self: Now THAT has got to be the longest post I've ever written. I'm exhausted.


Edit: My 500th post, now blown by the breeze...
Originally posted by Ladida
Note to self: Now THAT has got to be the longest post I've ever written. I'm exhausted.


Great! Now where might I find x1235F?
I put a red box over what I was stupidly looking for.




YouTube Twitter Twitch
Change the size of the window to see every address.
Originally posted by Link13
Change the size of the window to see every address.


Sure, take my whole screen why don't you. xD
I think I need to convert the hexadecimals but I'm confused as to which address I'm supposed to be converting.




YouTube Twitter Twitch
Instead of manually searching, you can jump straight to the address. Go to 'Offset', and click on Jump to. In the box, you will put x1235F, and then hit enter. There, you jumped straight to the address!
Sorry. I forgot to mention to make it small. Like skinny.
Originally posted by Ladida
Instead of manually searching, you can jump straight to the address. Go to 'Offset', and click on Jump to. In the box, you will put x1235F, and then hit enter. There, you jumped straight to the address!


OMG!

Cool, thanks. According to this "x1235F" is "1233C".




YouTube Twitter Twitch
I didn't mean that kinda short. Something like this:
------------
|_________X|
------------
|000000/40^|
|000001/00I|
|000002/00I|
|000003/00I|
|000004/00I|
|000005/00I|
|000006/00I|
|000007/00\/|
-------------
  • Pages:
  • 1
  • 2