Expanded bag item documentation (Generation I): Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
>Torchickens No edit summary |
>Sherkel (Definitely offline now? Have a few more!) |
||
Line 70: | Line 70: | ||
|- |
|- |
||
| Item 36 quantity || wLastMap || D365 || D364 || The index of the last map the player was in. |
| Item 36 quantity || wLastMap || D365 || D364 || The index of the last map the player was in. |
||
|- |
|||
| Item 37 || wUnusedD366 || D366 || D365 || Unused |
|||
|- |
|||
| Item 37 quantity || wCurMapTileset || D367 || D366 || The tileset used by the current map. |
|||
|- |
|||
| Item 39 || wCurMapHeight || D368 || D367 || The height (in blocks) of the current map. |
|||
|- |
|||
| Item 39 quantity || wCurMapWidth || D369 || D368 || The width (in blocks) of the current map. |
|||
|- |
|||
| Item 40 || wMapDataPtr || D36A || D369 || The upper byte of the pointer of to the data for the current map. |
|||
|- |
|||
| Item 40 quantity || wMapDataPtr || D36B || D36A || The lower byte of the pointer to the data for the current map. |
|||
|- |
|||
| Item 41 || wMapTextPtr || D36C || D36B || The upper byte of the pointer to the text for the current map. |
|||
|- |
|||
| Item 41 quantity || wMapTextPtr || D36D || D36C || The lower byte of the pointer to the text for the current map. |
|||
|- |
|||
| Item 42 || wMapScriptPtr || D36E || D36D || The upper byte of the pointer to the script for the current map. |
|||
|- |
|||
| Item 42 quantity || wMapScriptPtr || D36F || D36E || The lower byte of the pointer to the script for the current map. |
|||
|- |
|||
| Item 43 || wMapConnections || D370 || D36F || Map connections (?) |
|||
|- |
|||
| Item 43 quantity || wMapConn1Ptr || D371 || D370 || Map connection 1 (?) |
|||
|- |
|||
| Item 44 || wNorthConnectionStripSrc || D372 || D371 || The upper byte of wNorthConnectionStripSrc (?) |
|||
|- |
|||
| Item 44 quantity || wNorthConnectionStripSrc || D373 || D372 || The lower byte of wNorthConnectionStripSrc (?) |
|||
|- |
|||
| Item 45 || wNorthConnectionDestSrc || D374 || D373 || The upper byte of the pointer to the map to the north of the current one. |
|||
|- |
|||
| Item 45 quantity || wNorthConnectionDestSrc || D375 || D374 || The lower byte of the pointer to the map to the north of the current one. |
|||
| Item 46 || wNorthConnectionStripWidth || D376 || D375 || The width of the strip connecting to the map north of the current one. (?) |
|||
|- |
|||
| Item 46 quantity || wNorthConnectedMapWidth || D377 || D376 || The width of the map to the north of the current one. |
|||
|- |
|||
| Item 47 || wNorthConnectedMapYAlignment || D378 || D377 || The Y alignment of the map north of the current one. |
|||
|- |
|||
| Item 47 quantity || wNorthConnectedMapXAlignment || D379 || D378 || The X alignment of the map to the north of the current one. |
|||
|} |
|} |
||
|} |
|} |
||
==Binary-coded decimal (BCD)== |
==Binary-coded decimal (BCD)== |
Revision as of 01:03, 21 January 2019
This article is incomplete. Please feel free to add any missing information about the subject. It is missing: {{{1}}}. |
|
Binary-coded decimal (BCD)
Binary-coded decimal is a system for encoding numbers in which hexadecimal values are read as their visual counterpart in decimal. For instance, $64 in BCD would be interpreted as 64, not 100. It is used most notably for storing the player's money. This means that a value such as $000200 (item 21 has quantity 0, item 22 is an Ultra Ball with quantity 0) will give the player 200 money.
This article or section is a stub. You can help Glitch City Wiki by expanding it. |