Broken hidden items glitch: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
>Torchickens (→Cause) |
>Torchickens m (→Cause) |
||
Line 26: | Line 26: | ||
Every map has a list of "invisible objects" (things that you can interact not limited to hidden items). PCs, posters, bench people, etc. in addition to hidden items, which can be found in [https://github.com/pret/pokered/blob/cbc85b4d220b31c28266a227ff8789818631c4e9/data/hidden_objects.asm this database] that lists a pair of coordinates, with a function for those coordinates. |
Every map has a list of "invisible objects" (things that you can interact not limited to hidden items). PCs, posters, bench people, etc. in addition to hidden items, which can be found in [https://github.com/pret/pokered/blob/cbc85b4d220b31c28266a227ff8789818631c4e9/data/hidden_objects.asm this database] that lists a pair of coordinates, with a function for those coordinates. |
||
Every hidden item in the database uses the same function (called "[https://github.com/pret/pokered/blob/master/engine/overworld/hidden_items.asm HiddenItems]" in [[List of Pokémon disassembly projects|Pokémon Red disassembly]]. |
Every hidden item in the database uses the same function (called "[https://github.com/pret/pokered/blob/master/engine/overworld/hidden_items.asm HiddenItems]" in [[List of Pokémon disassembly projects|Pokémon Red disassembly]]). |
||
The function checks a second pair of coordinates in [https://github.com/pret/pokered/blob/cbc85b4d220b31c28266a227ff8789818631c4e9/data/hidden_item_coords.asm a database] with each entry stored in this way: map, y-coordinate, x-coordinate. |
The function checks a second pair of coordinates in [https://github.com/pret/pokered/blob/cbc85b4d220b31c28266a227ff8789818631c4e9/data/hidden_item_coords.asm a database] with each entry stored in this way: map, y-coordinate, x-coordinate. |