User talk:Ajxpk: Difference between revisions

Line 68: Line 68:


You added the seed for the Berry Program Update Zigzagoon PRNG is calculated as <code>second + minute + hour</code>, but also that it has 214 possibilities. Assuming 24-hour time, the maximum seed value is <code>60 + 60 + 24 = 144</code>, meaning there are at most 144 possibilities (assuming no two seeds produce the same result). Can you explain how a seed calculated in that way can produce 214 results? --[[User:SnorlaxMonster|<span style="color:#A70000">'''Snorlax'''</span>]][[User talk:SnorlaxMonster|<span style="color:#0000A7">'''Monster'''</span>]] 05:24, 30 October 2021 (UTC)
You added the seed for the Berry Program Update Zigzagoon PRNG is calculated as <code>second + minute + hour</code>, but also that it has 214 possibilities. Assuming 24-hour time, the maximum seed value is <code>60 + 60 + 24 = 144</code>, meaning there are at most 144 possibilities (assuming no two seeds produce the same result). Can you explain how a seed calculated in that way can produce 214 results? --[[User:SnorlaxMonster|<span style="color:#A70000">'''Snorlax'''</span>]][[User talk:SnorlaxMonster|<span style="color:#0000A7">'''Monster'''</span>]] 05:24, 30 October 2021 (UTC)
The RTC data is binary-coded decimal. For example: <code>0x23 + 0x59 + 0x59 = 0xD5</code> --[[User:Ajxpk|Ajxpk]] ([[User talk:Ajxpk|talk]]) 22:23, 1 December 2021 (UTC)
164

edits