Romancing SaGa 3/ROM map

From Data Crystal
Jump to navigation Jump to search

Functions

  • C2:0227 - (Entry point) Multiplication function using SNES register and scratch ram 09BF.
  • C2:0242 - (Entry point) Bit-munching randomization function
  • C2:C0E7 - (Entry point) Technique-learning determination function (Return value: 0xFF if failed to learn)
  • C2:C12B - Final comparison for technique learning. ($C2/C12B C5 8A CMP $8A [$00:098A])
  • FE:E853 - (JSL Entry point) Checks if character has skill at 7E:0942 in their skill list already. (Return: A = 0 if no)

Misc data

  • FE:3195 - HARD table of technique-learning chances. Skill difficulty indexes this table as such:
Index = (Skill difficulty - Monster power) + 10
If the index ends up greater than 20, the index becomes 20.
Chances to learn based on the index (hex):
28 27 27 25 24 22 1F 1D 1A 17 14 10 0D 0A 08 05 03 01 00 00 00
  • FE:3180 - EASY table of technique-learning chances. This table with greater chances is sometimes used for unknown reasons.
 Chances to learn based on the index (hex):
32 2F 2E 2C 2A 27 25 22 1F 1C 19 15 12 0F 0C 09 06 04 02 01 00