Talk:Vending machine

Add topic
Revision as of 00:13, 22 January 2014 by Kaphotics (talk | contribs) (→‎What's the chance...: HGSS, article needing update.)

What's the chance...

...of a vending machine dropping a free beverage? As in, does a vending machine have a 5% chance of giving the player an extra beverage? 10%? 1 in 8192? It would be good information to put in the article, wouldn't it? - unsigned comment from Missingno. Master (talkcontribs) 23:53, 29 July 2011 (UTC)

...anybody? - unsigned comment from Missingno. Master (talkcontribs) 13:56, 2 August 2011 (UTC)
I was also curious about this, so I did a bit of testing into this in Platinum. I bought ONE THOUSAND drinks - to make sure the results were quite accurate - and recorded how many free drinks were obtained.
The results were kind of strange though... the first 500 times yielded 14 free drinks; but the next 500 only 3. So by applying basic mathematical probability to circumstantial results, I would say the average chance is... maybe about 2%?
Anyway! To answer the question, I found it to be about 2% in Platinum... or perhaps between 2-3%... less than 5% anyway! ***shiningSteelix*** 15:40, 5 August 2011 (UTC)
(To essentially futureproof this... it's 3.125% = 100/32). B2W2 & BW just do rand(32) and if 0 give an extra.
Just fyi, XD/Colosseum do not have the "bonus" drink feature. I set a breakpoint on the RNG and got no 'calls' when buying a drink. —Kaphotics (talk) 06:55, 18 July 2013 (UTC)

Turns out in HGSS the chance is 1:64 (1.5625%)[1], not 1:32. Article can be updated. --Kaphotics (talk) 00:13, 22 January 2014 (UTC)

Return to "Vending machine" page.