User:MrMissingNo72/Binary-coded decimal: Difference between revisions

Content deleted Content added
No edit summary
Tags: Mobile edit Mobile web edit
Tags: Mobile edit Mobile web edit
Line 3: Line 3:
== Information ==
== Information ==
Binary-coded decimal is used for money in the Generation I games. It is programmed so that a hexadecimal value represents its visual decimal equivalent; the maximum value for any money byte is 0x99 (normally 153 in decimal, is read as 99 in binary-coded decimal).
Binary-coded decimal is used for money in the Generation I games. It is programmed so that a hexadecimal value represents its visual decimal equivalent; the maximum value for any money byte is 0x99 (normally 153 in decimal, is read as 99 in binary-coded decimal).

Hexadecimal values that include any of the special hexadecimal digits (A, B, C, D, E, F) are not supported, they will show up as overworld tiles.