• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
March 28, 2024, 01:10:43 pm

News:

Don't be hasty to start your own mod; all our FFT modding projects are greatly understaffed! Find out how you can help in the Recruitment section or our Discord!


How are exit tiles chosen in the Deep Dungeon?

Started by nitwit, September 06, 2016, 12:57:47 am

nitwit

The png maps of the Deep Dungeon by jekoln at GameFAQs indicate that each map has 1 exit tile out of 5 possible tiles.  Is this a table, and has anyone located it?  Also what does the event scripting of the DD differ from other maps?

Emmy

I can probably explain better when I'm more awake, but if you look at the entry for the Game Progression Workbook compilation under the Attack.out tab for the deep dungeon battles, you'll see a couple lines that look like standard code for battles, and a bunch more lines.  Example:

0100FD01010019006600
2500000001000200000001006800000001006500040019005D00
2500000003000400000001006800010001006500040019005D00
2500000004000200000001006800020001006500040019005D00
2500000006000000000001006800030001006500040019005D00
2500000006000400000001006800040001006500040019005D00
160019005E00

First line here is pretty much the beginning line of playing any event. As in, play event 0x0066 the first thing you do.  Last line is the standard defeat all enemies condition line.  As in, if all enemies are dead, play event 0x005e.  Those 5 extra long lines set the coordinates for where the exit could be.  There's another variable in the game that randomizes which of these exits it is, and the combination of the 2 is if the player steps on one of those tiles, and the randomly chosen variable matches what is referenced in the code, play event 0x005d. 

Now something can be done about this, if that's what you're asking.  :p  I can explain better on another day.
  • Modding version: PSX

Xifanie

  • Modding version: PSX
Love what you're seeing? https://supportus.ffhacktics.com/ 💜 it's really appreciated

Anything is possible as long as it is within the hardware's limits. (ie. disc space, RAM, Video RAM, processor, etc.)
<R999> My target market is not FFT mod players
<Raijinili> remember that? it was awful