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/FrostyGrotto | |
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/FrostyGrotto')
-rw-r--r-- | data/dungeon/FrostyGrotto/floor_id.json | 100 | ||||
-rw-r--r-- | data/dungeon/FrostyGrotto/pokemon_found.json | 94 |
2 files changed, 97 insertions, 97 deletions
diff --git a/data/dungeon/FrostyGrotto/floor_id.json b/data/dungeon/FrostyGrotto/floor_id.json index 2b8c806..886b207 100644 --- a/data/dungeon/FrostyGrotto/floor_id.json +++ b/data/dungeon/FrostyGrotto/floor_id.json @@ -1,50 +1,50 @@ -{ - "name": "FrostyGrottoFloorID", - "tables": [ - { - "MainData": 102, - "Pokemon": 70, - "Traps": 3, - "Items": 30, - "KecleonShop": 28, - "MonsterRoomItems": 2, - "BuriedItems": 3 - }, - { - "MainData": 103, - "Pokemon": 70, - "Traps": 3, - "Items": 30, - "KecleonShop": 28, - "MonsterRoomItems": 2, - "BuriedItems": 3 - }, - { - "MainData": 104, - "Pokemon": 70, - "Traps": 3, - "Items": 30, - "KecleonShop": 28, - "MonsterRoomItems": 2, - "BuriedItems": 3 - }, - { - "MainData": 105, - "Pokemon": 70, - "Traps": 3, - "Items": 31, - "KecleonShop": 28, - "MonsterRoomItems": 2, - "BuriedItems": 3 - }, - { - "MainData": 106, - "Pokemon": 71, - "Traps": 3, - "Items": 31, - "KecleonShop": 28, - "MonsterRoomItems": 2, - "BuriedItems": 3 - } - ] -} +{
+ "name": "FrostyGrottoFloorID",
+ "tables": [
+ {
+ "MainData": 102,
+ "Pokemon": 70,
+ "Traps": 3,
+ "Items": 30,
+ "KecleonShop": 28,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 103,
+ "Pokemon": 70,
+ "Traps": 3,
+ "Items": 30,
+ "KecleonShop": 28,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 104,
+ "Pokemon": 70,
+ "Traps": 3,
+ "Items": 30,
+ "KecleonShop": 28,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 105,
+ "Pokemon": 70,
+ "Traps": 3,
+ "Items": 31,
+ "KecleonShop": 28,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 106,
+ "Pokemon": 71,
+ "Traps": 3,
+ "Items": 31,
+ "KecleonShop": 28,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ }
+ ]
+}
diff --git a/data/dungeon/FrostyGrotto/pokemon_found.json b/data/dungeon/FrostyGrotto/pokemon_found.json index 241f094..65ad404 100644 --- a/data/dungeon/FrostyGrotto/pokemon_found.json +++ b/data/dungeon/FrostyGrotto/pokemon_found.json @@ -1,47 +1,47 @@ -{ - "tables": [{ - "name": "FrostyGrotto_1F_4F_Pokemon", - "pokemon": [ - { - "species": "SPECIES_RHYHORN", - "level": 16, - "probability": 5000 - }, - { - "species": "SPECIES_KECLEON", - "level": 90, - "probability": 0 - }, - { - "species": "SPECIES_METANG", - "level": 17, - "probability": 5000 - }, - { - "species": "SPECIES_DECOY", - "level": 1, - "probability": 0 - } - ] - }, { - "name": "FrostyGrotto_5F_Pokemon", - "pokemon": [ - { - "species": "SPECIES_ARTICUNO", - "level": 33, - "probability": 10000 - }, - { - "species": "SPECIES_KECLEON", - "level": 90, - "probability": 0 - }, - { - "species": "SPECIES_DECOY", - "level": 1, - "probability": 0 - } - ] - } - ] -} +{
+ "tables": [{
+ "name": "FrostyGrotto_1F_4F_Pokemon",
+ "pokemon": [
+ {
+ "species": "SPECIES_RHYHORN",
+ "level": 16,
+ "probability": 5000
+ },
+ {
+ "species": "SPECIES_KECLEON",
+ "level": 90,
+ "probability": 0
+ },
+ {
+ "species": "SPECIES_METANG",
+ "level": 17,
+ "probability": 5000
+ },
+ {
+ "species": "SPECIES_DECOY",
+ "level": 1,
+ "probability": 0
+ }
+ ]
+ }, {
+ "name": "FrostyGrotto_5F_Pokemon",
+ "pokemon": [
+ {
+ "species": "SPECIES_ARTICUNO",
+ "level": 33,
+ "probability": 10000
+ },
+ {
+ "species": "SPECIES_KECLEON",
+ "level": 90,
+ "probability": 0
+ },
+ {
+ "species": "SPECIES_DECOY",
+ "level": 1,
+ "probability": 0
+ }
+ ]
+ }
+ ]
+}
|