summaryrefslogtreecommitdiff
path: root/data/dungeon/MtFreeze
diff options
context:
space:
mode:
authorDennis <dhilhorst2000@gmail.com>2021-07-10 18:23:20 +0200
committerGitHub <noreply@github.com>2021-07-10 11:23:20 -0500
commit92a8e55fdd348a88a365eb389181d8e29da6dad9 (patch)
tree2467ef22cb8cf75bdf056143fab3fac4a68ef404 /data/dungeon/MtFreeze
parent386299d1f401cb939e6fe3ea16d0ca57731b2648 (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/MtFreeze')
-rw-r--r--data/dungeon/MtFreeze/floor_id.json280
-rw-r--r--data/dungeon/MtFreeze/pokemon_found.json432
2 files changed, 356 insertions, 356 deletions
diff --git a/data/dungeon/MtFreeze/floor_id.json b/data/dungeon/MtFreeze/floor_id.json
index 9fc3948..3cd5011 100644
--- a/data/dungeon/MtFreeze/floor_id.json
+++ b/data/dungeon/MtFreeze/floor_id.json
@@ -1,140 +1,140 @@
-{
- "name": "MtFreezeFloorID",
- "tables": [
- {
- "MainData": 107,
- "Pokemon": 72,
- "Traps": 3,
- "Items": 32,
- "KecleonShop": 28,
- "MonsterRoomItems": 2,
- "BuriedItems": 3
- },
- {
- "MainData": 108,
- "Pokemon": 72,
- "Traps": 3,
- "Items": 32,
- "KecleonShop": 28,
- "MonsterRoomItems": 2,
- "BuriedItems": 3
- },
- {
- "MainData": 109,
- "Pokemon": 73,
- "Traps": 3,
- "Items": 32,
- "KecleonShop": 28,
- "MonsterRoomItems": 2,
- "BuriedItems": 3
- },
- {
- "MainData": 110,
- "Pokemon": 73,
- "Traps": 3,
- "Items": 33,
- "KecleonShop": 28,
- "MonsterRoomItems": 2,
- "BuriedItems": 3
- },
- {
- "MainData": 111,
- "Pokemon": 73,
- "Traps": 3,
- "Items": 33,
- "KecleonShop": 28,
- "MonsterRoomItems": 2,
- "BuriedItems": 3
- },
- {
- "MainData": 112,
- "Pokemon": 74,
- "Traps": 3,
- "Items": 33,
- "KecleonShop": 28,
- "MonsterRoomItems": 2,
- "BuriedItems": 3
- },
- {
- "MainData": 113,
- "Pokemon": 75,
- "Traps": 3,
- "Items": 33,
- "KecleonShop": 28,
- "MonsterRoomItems": 2,
- "BuriedItems": 3
- },
- {
- "MainData": 114,
- "Pokemon": 76,
- "Traps": 3,
- "Items": 33,
- "KecleonShop": 28,
- "MonsterRoomItems": 2,
- "BuriedItems": 3
- },
- {
- "MainData": 115,
- "Pokemon": 76,
- "Traps": 3,
- "Items": 33,
- "KecleonShop": 28,
- "MonsterRoomItems": 2,
- "BuriedItems": 3
- },
- {
- "MainData": 116,
- "Pokemon": 76,
- "Traps": 3,
- "Items": 33,
- "KecleonShop": 28,
- "MonsterRoomItems": 2,
- "BuriedItems": 3
- },
- {
- "MainData": 117,
- "Pokemon": 76,
- "Traps": 3,
- "Items": 33,
- "KecleonShop": 28,
- "MonsterRoomItems": 2,
- "BuriedItems": 3
- },
- {
- "MainData": 118,
- "Pokemon": 77,
- "Traps": 3,
- "Items": 33,
- "KecleonShop": 28,
- "MonsterRoomItems": 2,
- "BuriedItems": 3
- },
- {
- "MainData": 119,
- "Pokemon": 78,
- "Traps": 3,
- "Items": 33,
- "KecleonShop": 28,
- "MonsterRoomItems": 2,
- "BuriedItems": 3
- },
- {
- "MainData": 120,
- "Pokemon": 78,
- "Traps": 3,
- "Items": 33,
- "KecleonShop": 28,
- "MonsterRoomItems": 2,
- "BuriedItems": 3
- },
- {
- "MainData": 121,
- "Pokemon": 78,
- "Traps": 3,
- "Items": 33,
- "KecleonShop": 28,
- "MonsterRoomItems": 2,
- "BuriedItems": 3
- }
- ]
-}
+{
+ "name": "MtFreezeFloorID",
+ "tables": [
+ {
+ "MainData": 107,
+ "Pokemon": 72,
+ "Traps": 3,
+ "Items": 32,
+ "KecleonShop": 28,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 108,
+ "Pokemon": 72,
+ "Traps": 3,
+ "Items": 32,
+ "KecleonShop": 28,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 109,
+ "Pokemon": 73,
+ "Traps": 3,
+ "Items": 32,
+ "KecleonShop": 28,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 110,
+ "Pokemon": 73,
+ "Traps": 3,
+ "Items": 33,
+ "KecleonShop": 28,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 111,
+ "Pokemon": 73,
+ "Traps": 3,
+ "Items": 33,
+ "KecleonShop": 28,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 112,
+ "Pokemon": 74,
+ "Traps": 3,
+ "Items": 33,
+ "KecleonShop": 28,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 113,
+ "Pokemon": 75,
+ "Traps": 3,
+ "Items": 33,
+ "KecleonShop": 28,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 114,
+ "Pokemon": 76,
+ "Traps": 3,
+ "Items": 33,
+ "KecleonShop": 28,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 115,
+ "Pokemon": 76,
+ "Traps": 3,
+ "Items": 33,
+ "KecleonShop": 28,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 116,
+ "Pokemon": 76,
+ "Traps": 3,
+ "Items": 33,
+ "KecleonShop": 28,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 117,
+ "Pokemon": 76,
+ "Traps": 3,
+ "Items": 33,
+ "KecleonShop": 28,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 118,
+ "Pokemon": 77,
+ "Traps": 3,
+ "Items": 33,
+ "KecleonShop": 28,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 119,
+ "Pokemon": 78,
+ "Traps": 3,
+ "Items": 33,
+ "KecleonShop": 28,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 120,
+ "Pokemon": 78,
+ "Traps": 3,
+ "Items": 33,
+ "KecleonShop": 28,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ },
+ {
+ "MainData": 121,
+ "Pokemon": 78,
+ "Traps": 3,
+ "Items": 33,
+ "KecleonShop": 28,
+ "MonsterRoomItems": 2,
+ "BuriedItems": 3
+ }
+ ]
+}
diff --git a/data/dungeon/MtFreeze/pokemon_found.json b/data/dungeon/MtFreeze/pokemon_found.json
index bdd07d0..413e22c 100644
--- a/data/dungeon/MtFreeze/pokemon_found.json
+++ b/data/dungeon/MtFreeze/pokemon_found.json
@@ -1,216 +1,216 @@
-{
- "tables": [{
- "name": "MtFreeze_1F_2F_Pokemon",
- "pokemon": [
- {
- "species": "SPECIES_PINECO",
- "level": 18,
- "probability": 1111
- },
- {
- "species": "SPECIES_SWABLU",
- "level": 18,
- "probability": 4445
- },
- {
- "species": "SPECIES_KECLEON",
- "level": 90,
- "probability": 0
- },
- {
- "species": "SPECIES_SHELGON",
- "level": 19,
- "probability": 4444
- },
- {
- "species": "SPECIES_DECOY",
- "level": 1,
- "probability": 0
- }
- ]
- }, {
- "name": "MtFreeze_3F_5F_Pokemon",
- "pokemon": [
- {
- "species": "SPECIES_SEEL",
- "level": 18,
- "probability": 2759
- },
- {
- "species": "SPECIES_PINECO",
- "level": 18,
- "probability": 689
- },
- {
- "species": "SPECIES_PUPITAR",
- "level": 17,
- "probability": 1035
- },
- {
- "species": "SPECIES_SWABLU",
- "level": 18,
- "probability": 2758
- },
- {
- "species": "SPECIES_KECLEON",
- "level": 90,
- "probability": 0
- },
- {
- "species": "SPECIES_SHELGON",
- "level": 19,
- "probability": 2759
- },
- {
- "species": "SPECIES_DECOY",
- "level": 1,
- "probability": 0
- }
- ]
- }, {
- "name": "MtFreeze_6F_Pokemon",
- "pokemon": [
- {
- "species": "SPECIES_SEEL",
- "level": 18,
- "probability": 3333
- },
- {
- "species": "SPECIES_SWABLU",
- "level": 18,
- "probability": 3334
- },
- {
- "species": "SPECIES_KECLEON",
- "level": 90,
- "probability": 0
- },
- {
- "species": "SPECIES_SHELGON",
- "level": 19,
- "probability": 3333
- },
- {
- "species": "SPECIES_DECOY",
- "level": 1,
- "probability": 0
- }
- ]
- }, {
- "name": "MtFreeze_7F_Pokemon",
- "pokemon": [
- {
- "species": "SPECIES_SEEL",
- "level": 18,
- "probability": 2857
- },
- {
- "species": "SPECIES_VIGOROTH",
- "level": 20,
- "probability": 2857
- },
- {
- "species": "SPECIES_ZANGOOSE",
- "level": 18,
- "probability": 2857
- },
- {
- "species": "SPECIES_KECLEON",
- "level": 90,
- "probability": 0
- },
- {
- "species": "SPECIES_CHIMECHO",
- "level": 22,
- "probability": 1429
- },
- {
- "species": "SPECIES_DECOY",
- "level": 1,
- "probability": 0
- }
- ]
- }, {
- "name": "MtFreeze_8F_11F_Pokemon",
- "pokemon": [
- {
- "species": "SPECIES_VIGOROTH",
- "level": 20,
- "probability": 4000
- },
- {
- "species": "SPECIES_ZANGOOSE",
- "level": 18,
- "probability": 4000
- },
- {
- "species": "SPECIES_KECLEON",
- "level": 90,
- "probability": 0
- },
- {
- "species": "SPECIES_CHIMECHO",
- "level": 22,
- "probability": 2000
- },
- {
- "species": "SPECIES_DECOY",
- "level": 1,
- "probability": 0
- }
- ]
- }, {
- "name": "MtFreeze_12F_Pokemon",
- "pokemon": [
- {
- "species": "SPECIES_SLAKING",
- "level": 15,
- "probability": 4000
- },
- {
- "species": "SPECIES_ZANGOOSE",
- "level": 18,
- "probability": 4000
- },
- {
- "species": "SPECIES_KECLEON",
- "level": 90,
- "probability": 0
- },
- {
- "species": "SPECIES_CHIMECHO",
- "level": 22,
- "probability": 2000
- },
- {
- "species": "SPECIES_DECOY",
- "level": 1,
- "probability": 0
- }
- ]
- }, {
- "name": "MtFreeze_13F_15F_Pokemon",
- "pokemon": [
- {
- "species": "SPECIES_SLAKING",
- "level": 15,
- "probability": 5000
- },
- {
- "species": "SPECIES_SEVIPER",
- "level": 19,
- "probability": 5000
- },
- {
- "species": "SPECIES_KECLEON",
- "level": 90,
- "probability": 0
- },
- {
- "species": "SPECIES_DECOY",
- "level": 1,
- "probability": 0
- }
- ]
- }]
-}
+{
+ "tables": [{
+ "name": "MtFreeze_1F_2F_Pokemon",
+ "pokemon": [
+ {
+ "species": "SPECIES_PINECO",
+ "level": 18,
+ "probability": 1111
+ },
+ {
+ "species": "SPECIES_SWABLU",
+ "level": 18,
+ "probability": 4445
+ },
+ {
+ "species": "SPECIES_KECLEON",
+ "level": 90,
+ "probability": 0
+ },
+ {
+ "species": "SPECIES_SHELGON",
+ "level": 19,
+ "probability": 4444
+ },
+ {
+ "species": "SPECIES_DECOY",
+ "level": 1,
+ "probability": 0
+ }
+ ]
+ }, {
+ "name": "MtFreeze_3F_5F_Pokemon",
+ "pokemon": [
+ {
+ "species": "SPECIES_SEEL",
+ "level": 18,
+ "probability": 2759
+ },
+ {
+ "species": "SPECIES_PINECO",
+ "level": 18,
+ "probability": 689
+ },
+ {
+ "species": "SPECIES_PUPITAR",
+ "level": 17,
+ "probability": 1035
+ },
+ {
+ "species": "SPECIES_SWABLU",
+ "level": 18,
+ "probability": 2758
+ },
+ {
+ "species": "SPECIES_KECLEON",
+ "level": 90,
+ "probability": 0
+ },
+ {
+ "species": "SPECIES_SHELGON",
+ "level": 19,
+ "probability": 2759
+ },
+ {
+ "species": "SPECIES_DECOY",
+ "level": 1,
+ "probability": 0
+ }
+ ]
+ }, {
+ "name": "MtFreeze_6F_Pokemon",
+ "pokemon": [
+ {
+ "species": "SPECIES_SEEL",
+ "level": 18,
+ "probability": 3333
+ },
+ {
+ "species": "SPECIES_SWABLU",
+ "level": 18,
+ "probability": 3334
+ },
+ {
+ "species": "SPECIES_KECLEON",
+ "level": 90,
+ "probability": 0
+ },
+ {
+ "species": "SPECIES_SHELGON",
+ "level": 19,
+ "probability": 3333
+ },
+ {
+ "species": "SPECIES_DECOY",
+ "level": 1,
+ "probability": 0
+ }
+ ]
+ }, {
+ "name": "MtFreeze_7F_Pokemon",
+ "pokemon": [
+ {
+ "species": "SPECIES_SEEL",
+ "level": 18,
+ "probability": 2857
+ },
+ {
+ "species": "SPECIES_VIGOROTH",
+ "level": 20,
+ "probability": 2857
+ },
+ {
+ "species": "SPECIES_ZANGOOSE",
+ "level": 18,
+ "probability": 2857
+ },
+ {
+ "species": "SPECIES_KECLEON",
+ "level": 90,
+ "probability": 0
+ },
+ {
+ "species": "SPECIES_CHIMECHO",
+ "level": 22,
+ "probability": 1429
+ },
+ {
+ "species": "SPECIES_DECOY",
+ "level": 1,
+ "probability": 0
+ }
+ ]
+ }, {
+ "name": "MtFreeze_8F_11F_Pokemon",
+ "pokemon": [
+ {
+ "species": "SPECIES_VIGOROTH",
+ "level": 20,
+ "probability": 4000
+ },
+ {
+ "species": "SPECIES_ZANGOOSE",
+ "level": 18,
+ "probability": 4000
+ },
+ {
+ "species": "SPECIES_KECLEON",
+ "level": 90,
+ "probability": 0
+ },
+ {
+ "species": "SPECIES_CHIMECHO",
+ "level": 22,
+ "probability": 2000
+ },
+ {
+ "species": "SPECIES_DECOY",
+ "level": 1,
+ "probability": 0
+ }
+ ]
+ }, {
+ "name": "MtFreeze_12F_Pokemon",
+ "pokemon": [
+ {
+ "species": "SPECIES_SLAKING",
+ "level": 15,
+ "probability": 4000
+ },
+ {
+ "species": "SPECIES_ZANGOOSE",
+ "level": 18,
+ "probability": 4000
+ },
+ {
+ "species": "SPECIES_KECLEON",
+ "level": 90,
+ "probability": 0
+ },
+ {
+ "species": "SPECIES_CHIMECHO",
+ "level": 22,
+ "probability": 2000
+ },
+ {
+ "species": "SPECIES_DECOY",
+ "level": 1,
+ "probability": 0
+ }
+ ]
+ }, {
+ "name": "MtFreeze_13F_15F_Pokemon",
+ "pokemon": [
+ {
+ "species": "SPECIES_SLAKING",
+ "level": 15,
+ "probability": 5000
+ },
+ {
+ "species": "SPECIES_SEVIPER",
+ "level": 19,
+ "probability": 5000
+ },
+ {
+ "species": "SPECIES_KECLEON",
+ "level": 90,
+ "probability": 0
+ },
+ {
+ "species": "SPECIES_DECOY",
+ "level": 1,
+ "probability": 0
+ }
+ ]
+ }]
+}