ff3:ff3us:doc:asm:algo:basic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ff3:ff3us:doc:asm:algo:basic [2016/03/08 03:41]
madsiur created
ff3:ff3us:doc:asm:algo:basic [2019/03/25 14:30] (current)
jvh147 Monster formations
Line 3: Line 3:
 ===== Notes ===== ===== Notes =====
  
-All text algorithms were taken from Terii senshi's [[http://www.gamefaqs.com/snes/554041-final-fantasy-iii/faqs/13573]Final Fantasy III Algorithms FAQ V 2.3]]. All disassemblies code snippets credit goes to assassin, Terii senshi, Lenophis, Imzogelmo, Novalia Spirit and anyone else who has participated in commenting the disassemblies.+All text algorithms were taken from Terii senshi's [[http://www.gamefaqs.com/snes/554041-final-fantasy-iii/faqs/13573]|Final Fantasy III Algorithms FAQ V 2.3]].  
 + 
 +All disassemblies code snippets credit goes to assassin, Terii senshi, Lenophis, Imzogelmo, Novalia Spirit and anyone else who has participated in commenting the disassemblies.
  
 ===== Algorithms ===== ===== Algorithms =====
  
 ==== Damage Calculation ==== ==== Damage Calculation ====
 +
 +This algorithm has its [[ff3:ff3us:doc:asm:algo:basic:damage|own page]]. 
  
 ==== Hit Determination ==== ==== Hit Determination ====
  
 +This algorithm has its [[ff3:ff3us:doc:asm:algo:basic:hit|own page]].
 ==== Random encounters ==== ==== Random encounters ====
 +counter is a value from 0 to 65535 (?)\\
 +random is a random value from 0 to 255
 +
 +<code>
 +Each step:
 +  if on overwolrd map: counter = counter + 192;
 +  if on dungeon map: counter = counter + 112;
 +  get new random;
 +  
 +  if random < (counter / 256)
 +    fight occurs;
 +    counter = 0;
 +</code>
 +
 +Note: The moogle charm makes the counter value not increasing.
 +
 +==== Random monster formations ====
 +This algorithm has its [[ff3:ff3us:doc:asm:algo:basic:formations|own page]].
  
 ==== Averaging levels ==== ==== Averaging levels ====
  • ff3/ff3us/doc/asm/algo/basic.1457408504.txt.gz
  • Last modified: 5 years ago
  • (external edit)