diff options
author | Dennis <dhilhorst2000@gmail.com> | 2021-07-10 18:23:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-10 11:23:20 -0500 |
commit | 92a8e55fdd348a88a365eb389181d8e29da6dad9 (patch) | |
tree | 2467ef22cb8cf75bdf056143fab3fac4a68ef404 /data/dungeon/UnownRelic | |
parent | 386299d1f401cb939e6fe3ea16d0ca57731b2648 (diff) |
Decompiled some item related functions (#42)
* decompile sub_8091290
* decompile sub_80912c8
* rename functions / struct field
* more names
* decompile 80913A0
* decompile GetItemMove
* decompile sub_80913E0
* rename function
* decompile CanSellItem function
* rename inventory struct
* add some item check functions
* fix renaming stuff
* this file shouldnt have been here
* forgot merge conflict
* decompile more item functions
* rename some stuff
* fix HM/TM naming
* Update src/code_801AFA4.c
Use enum value for USED_TM
* Fix incorrect value
Co-authored-by: Seth Barberee <seth.barberee@gmail.com>
Diffstat (limited to 'data/dungeon/UnownRelic')
-rw-r--r-- | data/dungeon/UnownRelic/floor_id.json | 208 |
1 files changed, 104 insertions, 104 deletions
diff --git a/data/dungeon/UnownRelic/floor_id.json b/data/dungeon/UnownRelic/floor_id.json index caa3d81..4e57902 100644 --- a/data/dungeon/UnownRelic/floor_id.json +++ b/data/dungeon/UnownRelic/floor_id.json @@ -1,104 +1,104 @@ -{ - "name": "UnownRelicFloorID", - "tables": [ - { - "MainData": 1340, - "Pokemon": 600, - "Traps": 7, - "Items": 154, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 155 - }, - { - "MainData": 1341, - "Pokemon": 601, - "Traps": 7, - "Items": 154, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 155 - }, - { - "MainData": 1342, - "Pokemon": 602, - "Traps": 7, - "Items": 154, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 155 - }, - { - "MainData": 1343, - "Pokemon": 603, - "Traps": 7, - "Items": 156, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 155 - }, - { - "MainData": 1344, - "Pokemon": 604, - "Traps": 7, - "Items": 156, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 155 - }, - { - "MainData": 1345, - "Pokemon": 605, - "Traps": 7, - "Items": 156, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 155 - }, - { - "MainData": 1346, - "Pokemon": 606, - "Traps": 7, - "Items": 156, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 155 - }, - { - "MainData": 1347, - "Pokemon": 607, - "Traps": 7, - "Items": 156, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 155 - }, - { - "MainData": 1348, - "Pokemon": 608, - "Traps": 7, - "Items": 156, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 155 - }, - { - "MainData": 1349, - "Pokemon": 609, - "Traps": 9, - "Items": 156, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 155 - }, - { - "MainData": 1350, - "Pokemon": 610, - "Traps": 9, - "Items": 156, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 155 - } - ] -} +{
+ "name": "UnownRelicFloorID",
+ "tables": [
+ {
+ "MainData": 1340,
+ "Pokemon": 600,
+ "Traps": 7,
+ "Items": 154,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 155
+ },
+ {
+ "MainData": 1341,
+ "Pokemon": 601,
+ "Traps": 7,
+ "Items": 154,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 155
+ },
+ {
+ "MainData": 1342,
+ "Pokemon": 602,
+ "Traps": 7,
+ "Items": 154,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 155
+ },
+ {
+ "MainData": 1343,
+ "Pokemon": 603,
+ "Traps": 7,
+ "Items": 156,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 155
+ },
+ {
+ "MainData": 1344,
+ "Pokemon": 604,
+ "Traps": 7,
+ "Items": 156,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 155
+ },
+ {
+ "MainData": 1345,
+ "Pokemon": 605,
+ "Traps": 7,
+ "Items": 156,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 155
+ },
+ {
+ "MainData": 1346,
+ "Pokemon": 606,
+ "Traps": 7,
+ "Items": 156,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 155
+ },
+ {
+ "MainData": 1347,
+ "Pokemon": 607,
+ "Traps": 7,
+ "Items": 156,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 155
+ },
+ {
+ "MainData": 1348,
+ "Pokemon": 608,
+ "Traps": 7,
+ "Items": 156,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 155
+ },
+ {
+ "MainData": 1349,
+ "Pokemon": 609,
+ "Traps": 9,
+ "Items": 156,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 155
+ },
+ {
+ "MainData": 1350,
+ "Pokemon": 610,
+ "Traps": 9,
+ "Items": 156,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 155
+ }
+ ]
+}
|