Banner
Views: 934,200,683
Time:
11 users online: bd90492, CircleFriendo, Erik_The_Swift, gui, HD_DankBaron, Mariomon, meatloaf,  quietmason, tcdw, YoshTakuYT, YouFailMe - Guests: 103 - Bots: 434 Users: 52,116 (2,117 active)
Latest: lincade
Tip: Use palettes that aren't difficult to look at. Clashing, overly-bright, or overly-dim colours may make your level difficult to play.
Not logged in.
Message Boxes [Solved]
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - Message Boxes [Solved]
Pages: « 1 » Link
I'm trying to change the palette used by the message boxes' messages (slightly different issue from Shog's a few threads down). I found the following in the ROM map:

Code
$05:B21D  Properties used by message box messages in YXPCCCTT format. (Note: Lunar Magic ASM hacks render this address unused)


With the knowledge that LM disables the messages' YXPCCCTT, I decided to test it out of curiosity anyway, changing $05:B21D from $39 to $2D (palette x06 to palette x03). Sure enough, nothing changed. Ok, briefly looking through All.log and comparing it against my hack in Translhextion - where does LM make the jump to avoid this code? And so, how do you change the messages' palette?

Originally posted by SL
...actually the original message box message routine is hijacked by LM. However, I've disassembled its hack, so I can tell you how it works: it simply uploads message data at $7F837D in stripe image format.


Regardless, shouldn't I still be able to globally modify the properties of whatever tiles it's uploading?
Originally posted by Milk
Regardless, shouldn't I still be able to globally modify the properties of whatever tiles it's uploading?


Yes, because LM uses the same method as SMW uses.
Ok, so LM hijacks at $05B1A3: it puts a JSL to a custom routine and a JMP (to $05B250) to jump over a part of the original smw routine (resume at the hdma part).
The custom routine is located at $03BB90.
Well, that properties are at: $03BC1B [should be 39].

--------------------
Thanks. That did the trick and finishes off the remaining Layer 3 palette repoints I wished to achieve.
Pages: « 1 » Link
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - Message Boxes [Solved]

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