KH2FM Random Number
Address 0034D8A8
This address can be adjusted relatively easly because it does not move too often.
For example, Terra uses Rising Sun if we go to the battle immediately after turning on PS2.
It is because this address is fixed in this case.
Besides, in the opening of Critical Mode Speedrun, this address is manipulated to fix Dusk's action.
In the opening of Data Org Speedrun, this address is manipulated to fix Xaldin's action.
■Effects
- Mainly, it affects on actions of enemies.
Example. Forced revenge of Data Xaldin 3rd stage.
00000000 ~ 4CCCCCCC : jump
4CCCCCCD ~ B3333333 : wind → DM
B3333334 ~ FFFFFFFF : DM
■Timing of moving
- Mainly, it moves when enemies start a new action.
■Motion
Linear congruential generators.
a1 = 00000001, an+1 = an × 10DCD mod 100000000
00000001 → 00010dcd → 1c587629 → a6ffb3d5 → ···.
Address 003638D0
■Effects
- Drive to Anti Form or not
- Initial position of the Bulky Vendor
- Rooms which has 2 patterns of enemies (Heartlesses or Nobodies)
■Timing of moving
- Every frames untill we select New Game or select save data.
- Attack to enemies
- Drive and Return
- Go to rooms which has 2 patterns of enemies
■Motion
Linear congruential generators.
a1 = 00010dcd, an+1 = an × 10DCD mod 100000000
00010dcd → 1c587629 → a6ffb3d5 → ···.