Aslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=1872.0e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index842b.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&board=8.160e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index842b.html.zx&h^;dOKtext/htmlISO-8859-1gzip0|;dTue, 10 Mar 2020 23:59:23 GMT0 0P&h^;d Question regarding replace current map command

Author Topic: Question regarding replace current map command  (Read 1010 times)

TheNattak

  • Garula
  • *
  • Posts: 203
  • Gender: Male
  • Mike
    • View Profile
    • Return of the Dark Sorcerer
Question regarding replace current map command
« on: August 21, 2013, 03:09:54 PM »
Another odd question here.

To make a long story short, I am trying to make a tile change on map 137 Tzen Inside Collapsing House
for a bottle and the little plate tile to appear on a table, in a custom event. These tiles are in layer 2...
For some reason, even when using command 74 (Replace current map's Layer 2), it is only swapping for layer 1 tiles. It won't let me swap for layer 2 tiles and I can't figure out why!

My exact command is 74 7C 2C 01 02 *XX YY 75
*tiles

Also, while trying to figure this out I noticed that in the event where the food is put on the table by the ghost waiters on the Phantom Train that is uses this:

CB/B071: 73    Replace current map's Layer 1 at (15, 69) with the following (2 x 3) chunk, refresh immediately
CB/B076:       $37, $BA
CB/B078:       $69, $8E
CB/B07A:       $0C, $8F

But the food tiles are actually in the layer 2 tileset...how is this possible?

Any ideas on how I can get the layer 2 tiles to get swapped in or why it won't let me?

Lenophis

  • Forum Overlord
  • *
  • Posts: 1,688
  • Gender: Male
  • I sad
    • View Profile
    • Slick Productions
Re: Question regarding replace current map command
« Reply #1 on: August 22, 2013, 11:33:55 PM »
The higher bits of the X/Y coordinates hold which layer to do the tile replacement on. I don't remember which was which.

119 bugs fixed and counting.

assassin

  • Bane of Retards
  • *
  • Posts: 1,033
  • space bears are not gentle!
    • View Profile
    • My Barren Webpage
Re: Question regarding replace current map command
« Reply #2 on: August 25, 2013, 11:17:49 AM »