FadeSound

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search

{60} FadeSound

FadeSound(x00,TIM)

Progressively fade sounds and music until they stop playing completely.

Warning: This does NOT work on sounds generated by {6B} BGSound.


See also: {21} SoundEffect{22} SwitchTrack


Unknown : Byte (hex)

Never used, always x00.

  • x0F = Fade over a much longer period of time? Only if Time is equal to 60?
    • x01 = Adds 256 frames to fading length?
    • x02 = Adds 512 frames to fading length?
    • x03 = Adds 768 frames to fading length?
    • x04 = Adds 1024 frames to fading length?
    • x05 = Adds 1280 frames to fading length?
    • x06 = Adds 1536 frames to fading length?
    • x07 = Adds 1792 frames to fading length?
    • x08 = Adds 2048 frames to fading length?
    • x09 = Adds 2304 frames to fading length?
    • x0A-x0F = Immediately kill music?
  • x10 = Only cut down music volume by a certain amount? Only if Time is equal to 60?
  • x20 = No change?
  • x40 = No change?
  • x80 = No change?


Time : Byte (unsigned)

Time assigned in frames to complete the instruction. One frame is the equivalent of 1/60th of a second.

  • 030 = 0,5 second
  • 060 = 1 second
  • 120 = 2 seconds
  • 180 = 3 seconds
  • 255 = 4,25 seconds