Banner
Views: 783,761,842
Time:
17 users online: autisticsceptile1993, Duraner Hawkeye, EvanEMV, FamilyTeamProductions, FrozenQuills, GbreezeSunset, Green Jerry, h.carrell, JoshPosh, Maxodex, Minco, MiniMawile303, Nicoke42, OEOTeam, RAFAEL_M_C_, StrikeForcer,  Yoshi Master - Guests: 44 - Bots: 317 Users: 41,003 (1,569 active)
Latest: JamesD28
Tip: After changing, moving, adding or deleting a level from the overworld, use only EMPTY save files. 0s often contain the old version.Not logged in.
Sprite Palettes
Forum Index - SMW Hacking - SMW Hacking Help - Sprite Palettes
Pages: « 1 »
I've noticed that some sprite can't actually have their palettes changed in Tweaker. For example, if you change the palette of the Pokey sprite, the game will still think it uses palette A, and therefore the Pokey will still be yellow. Does anyone know how I can fix this? Thanks. #tb{:D}
It's because some sprites use hardcoded palettes.
For the pokey you should be able to change the palette with:

Code
!palette = $0A ; Valid: 8-F
org $02B795
db ((!palette-8)<<1)+1
Where do I implement that code?
Copy and paste it in a text file, then save it as .asm. Then you can patch it with Asar.

--------------------
I'm sure I'll find it
Okay. Thank you so much! #tb{^V^}
Thanks again. #tb{^V^} The reason why I asked is because I REALLY want to have green Pokeys in the game. BTW, how'd you figure out how to change the palettes for hardcoded sprites? Did you just experiment with the code? #tb{:>}
Quote
BTW, how'd you figure out how to change the palettes for hardcoded sprites?

I just looked through smw's source code for pokey's code, found the graphics routine and then just changed the part responsible for the palette.
Pages: « 1 »
Forum Index - SMW Hacking - SMW Hacking Help - Sprite Palettes

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

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


Total queries: 7

Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Talkhaus
  • SMBX Community
  • GTx0
  • Super Luigi Bros
  • ROMhacking.net
  • MFGG
  • Gaming Reinvented