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/HowlingForest | |
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/HowlingForest')
-rw-r--r-- | data/dungeon/HowlingForest/floor_id.json | 280 |
1 files changed, 140 insertions, 140 deletions
diff --git a/data/dungeon/HowlingForest/floor_id.json b/data/dungeon/HowlingForest/floor_id.json index e24db95..71262ba 100644 --- a/data/dungeon/HowlingForest/floor_id.json +++ b/data/dungeon/HowlingForest/floor_id.json @@ -1,140 +1,140 @@ -{ - "name": "HowlingForestFloorID", - "tables": [ - { - "MainData": 1257, - "Pokemon": 576, - "Traps": 10, - "Items": 148, - "KecleonShop": 1, - "MonsterRoomItems": 2, - "BuriedItems": 3 - }, - { - "MainData": 1258, - "Pokemon": 576, - "Traps": 10, - "Items": 148, - "KecleonShop": 1, - "MonsterRoomItems": 2, - "BuriedItems": 3 - }, - { - "MainData": 1259, - "Pokemon": 576, - "Traps": 10, - "Items": 148, - "KecleonShop": 1, - "MonsterRoomItems": 2, - "BuriedItems": 3 - }, - { - "MainData": 1260, - "Pokemon": 577, - "Traps": 10, - "Items": 149, - "KecleonShop": 1, - "MonsterRoomItems": 2, - "BuriedItems": 3 - }, - { - "MainData": 1261, - "Pokemon": 578, - "Traps": 10, - "Items": 149, - "KecleonShop": 1, - "MonsterRoomItems": 2, - "BuriedItems": 3 - }, - { - "MainData": 1262, - "Pokemon": 578, - "Traps": 10, - "Items": 149, - "KecleonShop": 1, - "MonsterRoomItems": 2, - "BuriedItems": 3 - }, - { - "MainData": 1263, - "Pokemon": 579, - "Traps": 10, - "Items": 150, - "KecleonShop": 1, - "MonsterRoomItems": 2, - "BuriedItems": 3 - }, - { - "MainData": 1264, - "Pokemon": 579, - "Traps": 10, - "Items": 150, - "KecleonShop": 1, - "MonsterRoomItems": 2, - "BuriedItems": 3 - }, - { - "MainData": 1265, - "Pokemon": 580, - "Traps": 10, - "Items": 150, - "KecleonShop": 1, - "MonsterRoomItems": 2, - "BuriedItems": 3 - }, - { - "MainData": 1266, - "Pokemon": 580, - "Traps": 10, - "Items": 150, - "KecleonShop": 1, - "MonsterRoomItems": 2, - "BuriedItems": 3 - }, - { - "MainData": 1267, - "Pokemon": 581, - "Traps": 10, - "Items": 150, - "KecleonShop": 1, - "MonsterRoomItems": 2, - "BuriedItems": 3 - }, - { - "MainData": 1268, - "Pokemon": 582, - "Traps": 10, - "Items": 150, - "KecleonShop": 1, - "MonsterRoomItems": 2, - "BuriedItems": 3 - }, - { - "MainData": 1269, - "Pokemon": 582, - "Traps": 10, - "Items": 150, - "KecleonShop": 1, - "MonsterRoomItems": 2, - "BuriedItems": 3 - }, - { - "MainData": 1270, - "Pokemon": 583, - "Traps": 10, - "Items": 150, - "KecleonShop": 1, - "MonsterRoomItems": 2, - "BuriedItems": 3 - }, - { - "MainData": 1271, - "Pokemon": 584, - "Traps": 10, - "Items": 150, - "KecleonShop": 1, - "MonsterRoomItems": 2, - "BuriedItems": 3 - } - ] -} +{
+ "name": "HowlingForestFloorID",
+ "tables": [
+ {
+ "MainData": 1257,
+ "Pokemon": 576,
+ "Traps": 10,
+ "Items": 148,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 1258,
+ "Pokemon": 576,
+ "Traps": 10,
+ "Items": 148,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 1259,
+ "Pokemon": 576,
+ "Traps": 10,
+ "Items": 148,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 1260,
+ "Pokemon": 577,
+ "Traps": 10,
+ "Items": 149,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 1261,
+ "Pokemon": 578,
+ "Traps": 10,
+ "Items": 149,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 1262,
+ "Pokemon": 578,
+ "Traps": 10,
+ "Items": 149,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 1263,
+ "Pokemon": 579,
+ "Traps": 10,
+ "Items": 150,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 1264,
+ "Pokemon": 579,
+ "Traps": 10,
+ "Items": 150,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 1265,
+ "Pokemon": 580,
+ "Traps": 10,
+ "Items": 150,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 1266,
+ "Pokemon": 580,
+ "Traps": 10,
+ "Items": 150,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 1267,
+ "Pokemon": 581,
+ "Traps": 10,
+ "Items": 150,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 1268,
+ "Pokemon": 582,
+ "Traps": 10,
+ "Items": 150,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 1269,
+ "Pokemon": 582,
+ "Traps": 10,
+ "Items": 150,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 1270,
+ "Pokemon": 583,
+ "Traps": 10,
+ "Items": 150,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 1271,
+ "Pokemon": 584,
+ "Traps": 10,
+ "Items": 150,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ }
+ ]
+}
|