Banner
Views: 235,739,714
Time: 2013-05-18 09:12:09 AM
18 users online: Alcaro, BS187, dov36, Gloomy Star, jBuildz17, o Ladida, leod, MarioBros980, Marioplayer, o Mippish, Mister Kirby, Neidave, o RPG Hacker, ShadowFire, SilverDeoxys563, Sokobansolver, telinc1, Vitor Vilela - Guests: 34 - Bots: 10Users: 22,833 (1,279 active)
Latest: TheFrozenParticle
Tip: Take advantage of easy to install Patches in your hack. Both of the Classic Piranha Plant Fix patches should be considered if you are going to use Classic Piranha Plants in your hack.
custom sprite pallet flash
Forum Index - SMW Hacking - General SMW Hacking Help - custom sprite pallet flash
Pages: « 1 »
I changed a custom sprite's pallet using the cfg editor, but when I use that custom sprite, the pallet is still the original pallet for a half second, then changes back to the pallet I want it to. Is there any way to fix this?
I think that you also need to edit the ASM file. Just look for this in your ASM file.

Code
LDA #$XX ORA $64 STA $0303,y


If you want the sprite to have palette 8: LDA #$00
If you want the sprite to have palette 9: LDA #$02
If you want the sprite to have palette A: LDA #$04
If you want the sprite to have palette B: LDA #$06
If you want the sprite to have palette C: LDA #$08
If you want the sprite to have palette D: LDA #$0A
If you want the sprite to have palette E: LDA #$0C
If you want the sprite to have palette F: LDA #$0E

Anyways, you should put that part of the code here, I don't know if your sprite has priority or X/Y flip, etc...
Last edited on 2012-02-27 08:25:22 PM by New Hacker.
I can't find the code! I can find ORA $64 and STA $0303,y but there's no LDA above it.
Hmm... Could you put that part of the code here?
This is from WYE's FLUDD:
http://pastebin.com/Qijq6340
Yeah, sorry that I put most of the code in there.

yczedit: don't post huge blocks of code directly in the forums
Last edited on 2012-02-28 03:04:44 AM by yoshicookiezeus.
What if you add an LDA #$XX (one from the list I gave you) before every ORA $64? If that doesn't work, then I can't help you, I don't understand the code...
Nope. Doesn't work, unless I suddenly develop a taste for glitched graphics. Although I did like seeing a glitched Mario body as fludd's head... #w{=D}
Pages: « 1 »
Forum Index - SMW Hacking - General SMW Hacking Help - custom sprite pallet flash

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