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/SolarCave | |
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/SolarCave')
-rw-r--r-- | data/dungeon/SolarCave/floor_id.json | 370 |
1 files changed, 185 insertions, 185 deletions
diff --git a/data/dungeon/SolarCave/floor_id.json b/data/dungeon/SolarCave/floor_id.json index b742d12..fc8d677 100644 --- a/data/dungeon/SolarCave/floor_id.json +++ b/data/dungeon/SolarCave/floor_id.json @@ -1,185 +1,185 @@ -{ - "name": "SolarCaveFloorID", - "tables": [ - { - "MainData": 900, - "Pokemon": 412, - "Traps": 75, - "Items": 102, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 3 - }, - { - "MainData": 901, - "Pokemon": 412, - "Traps": 76, - "Items": 102, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 3 - }, - { - "MainData": 902, - "Pokemon": 412, - "Traps": 77, - "Items": 102, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 3 - }, - { - "MainData": 903, - "Pokemon": 413, - "Traps": 78, - "Items": 102, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 3 - }, - { - "MainData": 904, - "Pokemon": 414, - "Traps": 79, - "Items": 102, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 3 - }, - { - "MainData": 905, - "Pokemon": 415, - "Traps": 80, - "Items": 102, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 3 - }, - { - "MainData": 906, - "Pokemon": 416, - "Traps": 81, - "Items": 102, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 3 - }, - { - "MainData": 907, - "Pokemon": 417, - "Traps": 81, - "Items": 102, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 3 - }, - { - "MainData": 908, - "Pokemon": 418, - "Traps": 81, - "Items": 102, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 3 - }, - { - "MainData": 909, - "Pokemon": 419, - "Traps": 81, - "Items": 103, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 3 - }, - { - "MainData": 910, - "Pokemon": 420, - "Traps": 82, - "Items": 103, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 3 - }, - { - "MainData": 911, - "Pokemon": 421, - "Traps": 82, - "Items": 103, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 3 - }, - { - "MainData": 912, - "Pokemon": 422, - "Traps": 82, - "Items": 103, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 3 - }, - { - "MainData": 913, - "Pokemon": 422, - "Traps": 82, - "Items": 103, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 3 - }, - { - "MainData": 914, - "Pokemon": 423, - "Traps": 82, - "Items": 103, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 3 - }, - { - "MainData": 915, - "Pokemon": 424, - "Traps": 83, - "Items": 104, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 3 - }, - { - "MainData": 916, - "Pokemon": 425, - "Traps": 83, - "Items": 104, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 3 - }, - { - "MainData": 917, - "Pokemon": 426, - "Traps": 83, - "Items": 104, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 3 - }, - { - "MainData": 918, - "Pokemon": 426, - "Traps": 83, - "Items": 104, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 3 - }, - { - "MainData": 919, - "Pokemon": 426, - "Traps": 84, - "Items": 104, - "KecleonShop": 1, - "MonsterRoomItems": 46, - "BuriedItems": 3 - } - ] -} +{
+ "name": "SolarCaveFloorID",
+ "tables": [
+ {
+ "MainData": 900,
+ "Pokemon": 412,
+ "Traps": 75,
+ "Items": 102,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 901,
+ "Pokemon": 412,
+ "Traps": 76,
+ "Items": 102,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 902,
+ "Pokemon": 412,
+ "Traps": 77,
+ "Items": 102,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 903,
+ "Pokemon": 413,
+ "Traps": 78,
+ "Items": 102,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 904,
+ "Pokemon": 414,
+ "Traps": 79,
+ "Items": 102,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 905,
+ "Pokemon": 415,
+ "Traps": 80,
+ "Items": 102,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 906,
+ "Pokemon": 416,
+ "Traps": 81,
+ "Items": 102,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 907,
+ "Pokemon": 417,
+ "Traps": 81,
+ "Items": 102,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 908,
+ "Pokemon": 418,
+ "Traps": 81,
+ "Items": 102,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 909,
+ "Pokemon": 419,
+ "Traps": 81,
+ "Items": 103,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 910,
+ "Pokemon": 420,
+ "Traps": 82,
+ "Items": 103,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 911,
+ "Pokemon": 421,
+ "Traps": 82,
+ "Items": 103,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 912,
+ "Pokemon": 422,
+ "Traps": 82,
+ "Items": 103,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 913,
+ "Pokemon": 422,
+ "Traps": 82,
+ "Items": 103,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 914,
+ "Pokemon": 423,
+ "Traps": 82,
+ "Items": 103,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 915,
+ "Pokemon": 424,
+ "Traps": 83,
+ "Items": 104,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 916,
+ "Pokemon": 425,
+ "Traps": 83,
+ "Items": 104,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 917,
+ "Pokemon": 426,
+ "Traps": 83,
+ "Items": 104,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 918,
+ "Pokemon": 426,
+ "Traps": 83,
+ "Items": 104,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 919,
+ "Pokemon": 426,
+ "Traps": 84,
+ "Items": 104,
+ "KecleonShop": 1,
+ "MonsterRoomItems": 46,
+ "BuriedItems": 3
+ }
+ ]
+}
|