User:MrMissingNo72/Binary-coded decimal

From Glitch City Wiki
Jump to navigation Jump to search

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.