Romancing SaGa 3/ROM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
==Functions==
==Functions==
* <tt>C2:0227</tt> - (Entry point) Multiplication function using SNES register and scratch ram 09BF.
* <tt>C2:0242</tt> - (Entry point) Bit-munching randomization function
* <tt>C2:0242</tt> - (Entry point) Bit-munching randomization function
* <tt>C2:C0E7</tt> - (Entry point) Technique-learning determination function (Return value: 0xFF if failed to learn)
* <tt>C2:C0E7</tt> - (Entry point) Technique-learning determination function (Return value: 0xFF if failed to learn)
* <tt>C2:C12B</tt> - Final comparison for technique learning. ($C2/C12B C5 8A      CMP $8A    [$00:098A])
* <tt>C2:C12B</tt> - Final comparison for technique learning. ($C2/C12B C5 8A      CMP $8A    [$00:098A])
* <tt>FE:E853</tt> - (JSL Entry point) Checks if character has skill at 7E:0942 in their skill list already. (Return: A = 0 if no)


==Misc data==
==Misc data==

Revision as of 01:35, 2 January 2018

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

  • FE3195 - 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
  • FE3180 - 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