øAslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=2011.msg22485e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index816b.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=2011.0e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index816b.html.zxž-g^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈ@&BrOKtext/htmlISO-8859-1gzip8:ÖrÿÿÿÿÿÿÿÿTue, 10 Mar 2020 06:19:33 GMT0ó°° ®0®P®€§²ð®ž-g^r Some palette tricks (Lava glow, Trippy Tower of Babil, Big Whale)

Author Topic: Some palette tricks (Lava glow, Trippy Tower of Babil, Big Whale)  (Read 1176 times)

avalanche

  • Mom Bomb
  • *
  • Posts: 122
    • View Profile
Here are a few more palette tricks used by the game, in addition to those posted in the FF4kster thread a while back.  (http://slickproductions.org/forum/index.php?topic=1713.msg22009#msg22009)

15:C4D3 - Lava pulsating glow.
When in the underground, palette 1 (0-based) is overwritten every frame, pulled from one of 4 consecutive palettes stored at 14:FA16 (ROM A7C16).  The pulse pattern which says which of the 4 to use at any moment is defined by an 8-byte entry at 15:C503 (ROM AC703).

15:C3C3 - Big Whale running lights in flight.
When flying in the whale, just one color of the palette used by the whale is overwritten, pulled in sequence from an 8-color table at 15:C3E0 (ROM AC5E0).

15:C3F0 - Psychedelic trippy Tower of Babil colors.
When event flag 66 is set (after Kain steals the crystal), and when in either the Overworld or Underground, the frame counter byte itself is used to make a funky color entry and written to the palette used by the Tower tiles.  Oddly the tower tiles use a different palette index for the two different worlds, but the effect is the same.  Black is used instead when the flag isn't set.


I can't imagine these would be very useful to anyone.  But if anybody wanted to say, turn the Underground into something that wasn't so yellow and lava-ish, there ya go!  Of course, these kinds of routines could certainly be modified or mimicked to add pulsing or other effects to different maps entirely.

Grimoire LD

  • FF4 Hacker
  • *
  • Posts: 1,684
    • View Profile
Re: Some palette tricks (Lava glow, Trippy Tower of Babil, Big Whale)
« Reply #1 on: February 11, 2015, 05:17:51 PM »
Rather neat to know regardless, especially for the case you mentioned of not having the second Overworld map being so lava-y. Though the Laval Pulsating glow is also used in Sylph's Cave isn't it? Though that's green. Or is that a different set up?

avalanche

  • Mom Bomb
  • *
  • Posts: 122
    • View Profile
Re: Some palette tricks (Lava glow, Trippy Tower of Babil, Big Whale)
« Reply #2 on: February 13, 2015, 01:30:07 PM »
Rather neat to know regardless, especially for the case you mentioned of not having the second Overworld map being so lava-y. Though the Laval Pulsating glow is also used in Sylph's Cave isn't it? Though that's green. Or is that a different set up?

Similar effect, but not applied in the same routine. See the link in the first post for the sylph glow and others.

Grimoire LD

  • FF4 Hacker
  • *
  • Posts: 1,684
    • View Profile
Re: Some palette tricks (Lava glow, Trippy Tower of Babil, Big Whale)
« Reply #3 on: February 13, 2015, 11:28:08 PM »
...hah. I guess I shouldn't be surprised that FFIV would take the essentially same visual cue and make another routine for it. It seems rather par for the course at this point,