From 92a8e55fdd348a88a365eb389181d8e29da6dad9 Mon Sep 17 00:00:00 2001 From: Dennis Date: Sat, 10 Jul 2021 18:23:20 +0200 Subject: 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 --- data/dungeon/RockPath/floor_id.json | 82 ++++++++++++++++++------------------- 1 file changed, 41 insertions(+), 41 deletions(-) (limited to 'data/dungeon/RockPath') diff --git a/data/dungeon/RockPath/floor_id.json b/data/dungeon/RockPath/floor_id.json index 6c8aed9..5a6666e 100644 --- a/data/dungeon/RockPath/floor_id.json +++ b/data/dungeon/RockPath/floor_id.json @@ -1,41 +1,41 @@ -{ - "name": "RockPathFloorID", - "tables": [ - { - "MainData": 1121, - "Pokemon": 521, - "Traps": 10, - "Items": 123, - "KecleonShop": 1, - "MonsterRoomItems": 2, - "BuriedItems": 3 - }, - { - "MainData": 1122, - "Pokemon": 521, - "Traps": 10, - "Items": 123, - "KecleonShop": 1, - "MonsterRoomItems": 2, - "BuriedItems": 3 - }, - { - "MainData": 1123, - "Pokemon": 521, - "Traps": 10, - "Items": 123, - "KecleonShop": 1, - "MonsterRoomItems": 2, - "BuriedItems": 3 - }, - { - "MainData": 1124, - "Pokemon": 521, - "Traps": 10, - "Items": 123, - "KecleonShop": 1, - "MonsterRoomItems": 2, - "BuriedItems": 3 - } - ] -} +{ + "name": "RockPathFloorID", + "tables": [ + { + "MainData": 1121, + "Pokemon": 521, + "Traps": 10, + "Items": 123, + "KecleonShop": 1, + "MonsterRoomItems": 2, + "BuriedItems": 3 + }, + { + "MainData": 1122, + "Pokemon": 521, + "Traps": 10, + "Items": 123, + "KecleonShop": 1, + "MonsterRoomItems": 2, + "BuriedItems": 3 + }, + { + "MainData": 1123, + "Pokemon": 521, + "Traps": 10, + "Items": 123, + "KecleonShop": 1, + "MonsterRoomItems": 2, + "BuriedItems": 3 + }, + { + "MainData": 1124, + "Pokemon": 521, + "Traps": 10, + "Items": 123, + "KecleonShop": 1, + "MonsterRoomItems": 2, + "BuriedItems": 3 + } + ] +} -- cgit v1.2.3