Expanded bag item documentation (Generation I): Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
>Torchickens
No edit summary
>Torchickens
No edit summary
Line 8: Line 8:
! Bag item/quantity !! Red/Blue address (label) !! Yellow address (label) !! Details
! Bag item/quantity !! Red/Blue address (label) !! Yellow address (label) !! Details
|-
|-
| Item 33 || D35D (wMapPalOffset) || D35C (wMapPalOffset) || The current color attribution of the map (D35D (D35C in {{Yellow}})) including 'cave darkness', which involves a D35D/D35C value of hex:06.
| Item 33 || D35D (wMapPalOffset) || D35C (wMapPalOffset) || The current color attribution of the map (D35D (D35C in {{Yellow}})) including 'cave darkness', which involves a D35D/D35C value of hex:06. See also [[play the Safari Zone in the dark glitch]].
|-
|-
| Item 33 quantity || D35E (wCurMap) || D35D (wCurMap) || The currently loaded map. Changing this alone will not change the layout of the map, but it is possible to change the map's palette and script bank to the ones associated with the new value in D35E/D this way. A [[game freeze]] may be caused by changing this value if the bank of the map script is changed to point to a problematic address for the program counter to run.
| Item 33 quantity || D35E (wCurMap) || D35D (wCurMap) || The currently loaded map. Changing this alone will not change the layout of the map, but it is possible to change the map's palette and script bank to the ones associated with the new value in D35E/D this way. A [[game freeze]] may be caused by changing this value if the bank of the map script is changed to point to a problematic address for the program counter to run.