Pokémon Mystery Dungeon - Money
To determine the amount of money each money item contains in a dungeon.
Base Money
See the dungeon floor data.
Process
The following process is performed:
A = Random integer from 1 through 99 D = Base Money * 40 C = 0 Do B = Value in table below based on A If B <= D Money = B Process is finished Else A = A/2 C = C+1 End If While C < 200 If C = 200 Money = 6
Practically speaking, a dungeon floor’s base money determines the maximum value that a money item could have, according to the table below. For example, if a floor’s base money is 10, then no money item can exceed a value of 400. (Neither A nor B below correspond to a floor’s base money.)
Lookup Table
The process uses the lookup table below.
A | B | A | B | A | B | A | B |
---|---|---|---|---|---|---|---|
0 | 4 | 25 | 202 | 50 | 466 | 75 | 768 |
1 | 6 | 26 | 206 | 51 | 478 | 76 | 778 |
2 | 10 | 27 | 214 | 52 | 482 | 77 | 794 |
3 | 14 | 28 | 218 | 53 | 502 | 78 | 802 |
4 | 22 | 29 | 226 | 54 | 514 | 79 | 818 |
5 | 26 | 30 | 254 | 55 | 526 | 80 | 838 |
6 | 34 | 31 | 262 | 56 | 538 | 81 | 842 |
7 | 38 | 32 | 274 | 57 | 542 | 82 | 862 |
8 | 46 | 33 | 278 | 58 | 554 | 83 | 866 |
9 | 58 | 34 | 298 | 59 | 562 | 84 | 878 |
10 | 62 | 35 | 302 | 60 | 566 | 85 | 886 |
11 | 74 | 36 | 314 | 61 | 586 | 86 | 898 |
12 | 82 | 37 | 326 | 62 | 614 | 87 | 914 |
13 | 86 | 38 | 334 | 63 | 622 | 88 | 922 |
14 | 94 | 39 | 346 | 64 | 626 | 89 | 926 |
15 | 106 | 40 | 358 | 65 | 634 | 90 | 934 |
16 | 118 | 41 | 362 | 66 | 662 | 91 | 958 |
17 | 122 | 42 | 382 | 67 | 674 | 92 | 974 |
18 | 134 | 43 | 386 | 68 | 694 | 93 | 982 |
19 | 142 | 44 | 394 | 69 | 698 | 94 | 998 |
20 | 146 | 45 | 398 | 70 | 706 | 95 | 1000 |
21 | 158 | 46 | 422 | 71 | 718 | 96 | 1100 |
22 | 166 | 47 | 446 | 72 | 734 | 97 | 1300 |
23 | 178 | 48 | 454 | 73 | 746 | 98 | 1500 |
24 | 194 | 49 | 458 | 74 | 758 | 99 | 20000 |