| custom sprite pallet flash |
|
Forum Index - SMW Hacking - General SMW Hacking Help - custom sprite pallet flash |
|
Pages: 1  |
|
|
|
| Posted on 2012-02-27 07:47:01 PM |
Link | Quote |
|
|
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?
|
|
| Posted on 2012-02-27 08:23:50 PM |
Link | Quote |
|
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. |
|
| Posted on 2012-02-27 08:34:53 PM |
Link | Quote |
|
|
I can't find the code! I can find ORA $64 and STA $0303,y but there's no LDA above it.
|
|
| Posted on 2012-02-27 08:37:18 PM |
Link | Quote |
|
|
Hmm... Could you put that part of the code here?
|
|
| Posted on 2012-02-27 08:53:40 PM |
Link | Quote |
|
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. |
|
| Posted on 2012-02-27 08:56:52 PM |
Link | Quote |
|
|
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...
|
|
| Posted on 2012-02-27 09:11:07 PM |
Link | Quote |
|
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...
|
|
|
Pages: 1  |
|
|
|
|
Forum Index - SMW Hacking - General SMW Hacking Help - custom sprite pallet flash |