User:MrMissingNo72/Binary-coded decimal: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary Tags: Mobile edit Mobile web edit |
Tags: Mobile edit Mobile web edit |
||
Line 3:
== 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).
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.
|
Revision as of 13:28, 12 July 2023
This is a guide for binary-coded decimal and its use in all Generation I games.
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).
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.