From ee7d5c4e217dae3c92d56ce6972c9a0c1b6b2f22 Mon Sep 17 00:00:00 2001 From: Hay1tsme Date: Thu, 13 Jun 2024 14:14:07 -0400 Subject: [PATCH] pokken: readd mysql_charset to profile and pokemon data --- titles/pokken/data/fighters.json | 140 +++++++++++++++++++++++++++++++ titles/pokken/data/support.json | 3 + titles/pokken/schema/profile.py | 4 +- 3 files changed, 146 insertions(+), 1 deletion(-) create mode 100644 titles/pokken/data/fighters.json create mode 100644 titles/pokken/data/support.json diff --git a/titles/pokken/data/fighters.json b/titles/pokken/data/fighters.json new file mode 100644 index 0000000..cc22c32 --- /dev/null +++ b/titles/pokken/data/fighters.json @@ -0,0 +1,140 @@ +{ + "448": { + "name_en": "Lucario", + "name_jp": "ルカリオ", + "type": 0, + "artwork": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/448.png" + }, + "25": { + "name_en": "Pikachu", + "name_jp": "ピカチュウ", + "type": 0, + "artwork": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/25.png" + }, + "68": { + "name_en": "Machamp", + "name_jp": "カイリキー", + "type": 1, + "artwork": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/68.png" + }, + "282": { + "name_en": "Gardevoir", + "name_jp": "サーナイト", + "type": 2, + "artwork": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/282.png" + }, + "461": { + "name_en": "Weavile", + "name_jp": "マニューラ", + "type": 3, + "artwork": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/461.png" + }, + "245": { + "name_en": "Suicune", + "name_jp": "スイクン", + "type": 0, + "artwork": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/245.png" + }, + "6": { + "name_en": "Charizard", + "name_jp": "リザードン", + "type": 1, + "artwork": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/6.png" + }, + "94": { + "name_en": "Gengar", + "name_jp": "ゲンガー", + "type": 2, + "artwork": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/94.png" + }, + "257": { + "name_en": "Blaziken", + "name_jp": "バシャーモ", + "type": 0, + "artwork": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/257.png" + }, + "4029": { + "name_en": "Pikachu Libre", + "name_jp": "マスクド・ピカチュウ", + "type": 3, + "artwork": "https://archives.bulbagarden.net/media/upload/thumb/6/63/Pokk%C3%A9n_Pikachu_Libre.png/663px-Pokk%C3%A9n_Pikachu_Libre.png" + }, + "254": { + "name_en": "Sceptile", + "name_jp": "ジュカイン", + "type": 3, + "artwork": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/254.png" + }, + "609": { + "name_en": "Chandelure", + "name_jp": "シャンデラ", + "type": 1, + "artwork": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/609.png" + }, + "150": { + "name_en": "Mewtwo", + "name_jp": "ミュウツー", + "type": 0, + "artwork": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/150.png" + }, + "10150": { + "name_en": "Shadow Mewtwo", + "name_jp": "ダークミュウツー", + "type": 2, + "artwork": "https://archives.bulbagarden.net/media/upload/7/7a/Pokk%C3%A9n_Shadow_Mewtwo.png" + }, + "445": { + "name_en": "Garchomp", + "name_jp": "ガブリアス", + "type": 1, + "artwork": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/445.png" + }, + "654": { + "name_en": "Braixen", + "name_jp": "テールナー", + "type": 0, + "artwork": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/654.png" + }, + "491": { + "name_en": "Darkrai", + "name_jp": "ダークライ", + "type": 2, + "artwork": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/491.png" + }, + "212": { + "name_en": "Scizor", + "name_jp": "ハッサム", + "type": 1, + "artwork": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/212.png" + }, + "453": { + "name_en": "Croagunk", + "name_jp": "グレッグル", + "type": 3, + "artwork": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/453.png" + }, + "395": { + "name_en": "Empoleon", + "name_jp": "エンペルト", + "type": 0, + "artwork": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/395.png" + }, + "724": { + "name_en": "Decidueye", + "name_jp": "ジュナイパー", + "type": 0, + "artwork": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/724.png" + }, + "681": { + "name_en": "Aegislash", + "name_jp": "ギルガルド", + "type": 2, + "artwork": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/681.png" + }, + "9": { + "name_en": "Blastoise", + "name_jp": "カメックス", + "type": 1, + "artwork": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/9.png" + } +} \ No newline at end of file diff --git a/titles/pokken/data/support.json b/titles/pokken/data/support.json new file mode 100644 index 0000000..a514dfe --- /dev/null +++ b/titles/pokken/data/support.json @@ -0,0 +1,3 @@ +{ + +} \ No newline at end of file diff --git a/titles/pokken/schema/profile.py b/titles/pokken/schema/profile.py index f66ebb6..2976ff7 100644 --- a/titles/pokken/schema/profile.py +++ b/titles/pokken/schema/profile.py @@ -61,7 +61,7 @@ profile = Table( Column("navi_trainer", Integer), Column("navi_version_id", Integer), Column("aid_skill_list", JSON), # Repeated, Integer - Column("aid_skill", Integer), + Column("aid_skill", Integer), # Cheer skill, 6 of them, unlocked by lucky bonus Column("comment_text_id", Integer), Column("comment_word_id", Integer), Column("latest_use_pokemon", Integer), @@ -100,6 +100,7 @@ profile = Table( Column("battle_num_vs_cpu", Integer), # 2 Column("win_cpu", Integer), Column("battle_num_tutorial", Integer), # 1? + mysql_charset="utf8mb4" ) pokemon_data = Table( @@ -123,6 +124,7 @@ pokemon_data = Table( Column("bp_point_def", Integer), Column("bp_point_sp", Integer), UniqueConstraint("user", "illustration_book_no", name="pokken_pokemon_uk"), + mysql_charset="utf8mb4" )