Welcome to Bulbapedia, RainingChain!
Bulbapedia bulb.png

By creating your account you are now able to edit pages, join discussions, and expand the community-driven Pokémon encyclopedia. Before you jump in, here are some ground rules:

  • Be nice to everyone. It's in the code of conduct.
  • Make good edits. Preview them before you save to make sure they're perfect the first time around.
  • Use wikicode and link templates when adding content to a page.
  • Use proper grammar and spelling, and read the manual of style.
  • You can't create a userpage until you've added to the encyclopedia. It's a privilege. See the userspace policy.
  • Use talk pages to resolve editing disputes. Don't "edit war," or constantly re-edit/undo the same thing on a page.
  • If you have a question about something, be proactive. Take a look at our FAQ. If you're still stuck, ask for help. The staff won't bite.
  • Sign all talk page posts with four tildes (~~~~). This will turn into your name and the time you wrote the comment.
  • For more handy links, see the welcome portal.
Thank you, and have a good time editing here!
  PokémonGamer* 00:51, 7 November 2015 (UTC)  
 

Stadium 2 Mystery Gift

FYI I found that these 28 numbers resulted in an uncommon decoration for Stadium 2's Mystery Gift. This disagreed with what you originally wrote, so I'm just leaving this in case you can identify any errors that still need fixing.

0
3
26
11
2
19
27
5
9
7
23
18
20
29
6
4
32
21
25
24
10
31
28
22
1
8
12
30

Tiddlywinks (talk) 17:55, 10 September 2023 (UTC)


Hello Tiddlywinks, It's actually a bit more complex than that. The game first determines a random item, then a random decoration. The number of RNG updates when determining the random item is 2 (for common items which occurs if RNG >= 25) or 3 (for uncommon, rare, very rare items).

This means that there are even less possibilities when reaching the random decoration function. It is impossible for the first RNG value picked in the decoration function to be 10, 20, 25, 30.

Cycle: ...24,151,10,225...

If the first RNG value picked in the item function is 24, RNG is 225 at the start of decoration function (+3 RNG updates). If the first RNG value picked in the item function is 151, RNG is also 225 at the start of decoration function (+2 RNG updates). The value 10 is skipped.

The probabilities in my original post were correct and had been tested with the actual code. See https://pastebin.com/psahTLEJ

Could you please revert the page back to its original probabilities? Thanks. RainingChain (talk) 12:22, 11 September 2023 (UTC)

Yup, thanks for the clarification. Tiddlywinks (talk) 13:23, 11 September 2023 (UTC)