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/SnowPath/floor_id.json | 82 ++++++++++++++++++------------------- 1 file changed, 41 insertions(+), 41 deletions(-) (limited to 'data/dungeon/SnowPath') diff --git a/data/dungeon/SnowPath/floor_id.json b/data/dungeon/SnowPath/floor_id.json index e7c8b23..6cc72ec 100644 --- a/data/dungeon/SnowPath/floor_id.json +++ b/data/dungeon/SnowPath/floor_id.json @@ -1,41 +1,41 @@ -{ - "name": "SnowPathFloorID", - "tables": [ - { - "MainData": 1125, - "Pokemon": 522, - "Traps": 10, - "Items": 124, - "KecleonShop": 1, - "MonsterRoomItems": 2, - "BuriedItems": 3 - }, - { - "MainData": 1126, - "Pokemon": 523, - "Traps": 10, - "Items": 124, - "KecleonShop": 1, - "MonsterRoomItems": 2, - "BuriedItems": 3 - }, - { - "MainData": 1127, - "Pokemon": 524, - "Traps": 10, - "Items": 124, - "KecleonShop": 1, - "MonsterRoomItems": 2, - "BuriedItems": 3 - }, - { - "MainData": 1128, - "Pokemon": 525, - "Traps": 10, - "Items": 125, - "KecleonShop": 1, - "MonsterRoomItems": 2, - "BuriedItems": 3 - } - ] -} +{ + "name": "SnowPathFloorID", + "tables": [ + { + "MainData": 1125, + "Pokemon": 522, + "Traps": 10, + "Items": 124, + "KecleonShop": 1, + "MonsterRoomItems": 2, + "BuriedItems": 3 + }, + { + "MainData": 1126, + "Pokemon": 523, + "Traps": 10, + "Items": 124, + "KecleonShop": 1, + "MonsterRoomItems": 2, + "BuriedItems": 3 + }, + { + "MainData": 1127, + "Pokemon": 524, + "Traps": 10, + "Items": 124, + "KecleonShop": 1, + "MonsterRoomItems": 2, + "BuriedItems": 3 + }, + { + "MainData": 1128, + "Pokemon": 525, + "Traps": 10, + "Items": 125, + "KecleonShop": 1, + "MonsterRoomItems": 2, + "BuriedItems": 3 + } + ] +} -- cgit v1.2.3