ff3:ff3us:doc:asm:algo:basic

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ff3:ff3us:doc:asm:algo:basic [2016/03/08 04:07]
madsiur [Random encounters]
ff3:ff3us:doc:asm:algo:basic [2019/03/25 14:30] (current)
jvh147 Monster formations
Line 17: Line 17:
 This algorithm has its [[ff3:ff3us:doc:asm:algo:basic:hit|own page]]. 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 :?: +counter is a value from 0 to 65535 (?)\\ 
-radom is a random value from 0 to 255+random is a random value from 0 to 255
  
-[code]+<code>
 Each step: Each step:
   if on overwolrd map: counter = counter + 192;   if on overwolrd map: counter = counter + 192;
-  if on dugeon map: counter = counter + 112;+  if on dungeon map: counter = counter + 112;
   get new random;   get new random;
      
Line 29: Line 29:
     fight occurs;     fight occurs;
     counter = 0;     counter = 0;
-[/code]+</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.1457410066.txt.gz
  • Last modified: 5 years ago
  • (external edit)