Jump to content

Broken hidden items glitch: Difference between revisions

>Torchickens
No edit summary
>Torchickens
Line 24:
 
==Cause==
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]].
 
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.
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.