Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Test : August 10th, 2082 / 14:23
- Main menu init : 0xD091BB5C / 0x22AE9EF6
- After game start : 0xEFC2E487 / 0x8CD573FA
- IRNG seed : 0x9E0E3646
- > Unchanged Marsh and Swarm Numbers
- > So they are both generated when the game starts, i.e. after Giratina fadout
- Dig Function_2055ac0
- > Get VariableAreaAdresses
- >
- > Function_202b3d8
- if(r1 <= 0)
- r7 = 1
- r0 += 44
- if(r7 <= 6)
- r4 = 0
- RTC_ConvertDateToDay :
- [r0] : € [0-100] r3
- [r0 + 0x4] : € [1-12] r2
- [r0 + 0x8] : € [1-31] r1
- [r0 + 0xC] : € [1-7] r0
- r0 = 0x210144c
- decrease day
- r0 = [0x210144c + month*4]
- compare month with 3
- r2 = day + r0
- branch if month >= 3
- otherwise test if r3 % 4 = 3
- if not r2++
- r0 = 0x16d
- r1 = year%100 + 3
- r0 = year%100 * 0x16d + (day + r0)
- r0 = r0 + r1/4
Add Comment
Please, Sign In to add comment