Merge branch 'main' into main
31
.github/workflows/tests.yml
vendored
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
name: Tests
|
||||||
|
|
||||||
|
on:
|
||||||
|
# Trigger the workflow on push or pull request,
|
||||||
|
# but only for the main branch
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main # Trigger on push events to the main branch
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main # Trigger on pull request events targeting the main branch
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
run-tests: # Define a job named "run-tests"
|
||||||
|
name: Run tests # Human-readable name for the job
|
||||||
|
runs-on: ubuntu-latest # Specify the latest Ubuntu runner for the job
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Check out Git repository # Step to check out the repository
|
||||||
|
uses: actions/checkout@v4 # Use the checkout action version 4
|
||||||
|
|
||||||
|
- name: Set up Node.js # Step to set up Node.js environment
|
||||||
|
uses: actions/setup-node@v4 # Use the setup-node action version 4
|
||||||
|
with:
|
||||||
|
node-version: 20 # Specify Node.js version 20
|
||||||
|
|
||||||
|
- name: Install Node.js dependencies # Step to install Node.js dependencies
|
||||||
|
run: npm ci # Use 'npm ci' to install dependencies
|
||||||
|
|
||||||
|
- name: tests # Step to run tests
|
||||||
|
run: npm run test:silent
|
1
.gitignore
vendored
@ -34,6 +34,7 @@ src/data/battle-anim-data.ts
|
|||||||
src/overrides.ts
|
src/overrides.ts
|
||||||
|
|
||||||
coverage
|
coverage
|
||||||
|
/.vs
|
||||||
|
|
||||||
# Local Documentation
|
# Local Documentation
|
||||||
/typedoc
|
/typedoc
|
||||||
|
@ -46,7 +46,14 @@ Check out [Github Issues](https://github.com/pagefaultgames/pokerogue/issues) to
|
|||||||
- Keisuke Ito
|
- Keisuke Ito
|
||||||
- Arata Iiyoshi
|
- Arata Iiyoshi
|
||||||
- Atsuhiro Ishizuna
|
- Atsuhiro Ishizuna
|
||||||
|
- Pokémon HeartGold/SoulSilver
|
||||||
- Pokémon Black/White 2
|
- Pokémon Black/White 2
|
||||||
|
- Pokémon X/Y
|
||||||
|
- Pokémon Omega Ruby/Alpha Sapphire
|
||||||
|
- Pokémon Sun/Moon
|
||||||
|
- Pokémon Ultra Sun/Ultra Moon
|
||||||
|
- Pokémon Sword/Shield
|
||||||
|
- Pokémon Scarlet/Violet
|
||||||
- Firel (Custom Metropolis and Laboratory biome music)
|
- Firel (Custom Metropolis and Laboratory biome music)
|
||||||
- Lmz (Custom Jungle biome music)
|
- Lmz (Custom Jungle biome music)
|
||||||
|
|
||||||
|
@ -19,6 +19,11 @@
|
|||||||
font-family: 'emerald';
|
font-family: 'emerald';
|
||||||
src: url('./fonts/pokemon-emerald-pro.ttf') format('truetype');
|
src: url('./fonts/pokemon-emerald-pro.ttf') format('truetype');
|
||||||
}
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'unifont';
|
||||||
|
src: url('./fonts/unifont-15.1.05.otf') format('opentype');
|
||||||
|
size-adjust: 70%;
|
||||||
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'pkmnems';
|
font-family: 'pkmnems';
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
"test": "vitest run",
|
"test": "vitest run",
|
||||||
"test:cov": "vitest run --coverage",
|
"test:cov": "vitest run --coverage",
|
||||||
"test:watch": "vitest watch --coverage",
|
"test:watch": "vitest watch --coverage",
|
||||||
|
"test:silent": "vitest run --silent",
|
||||||
"eslint": "eslint --fix .",
|
"eslint": "eslint --fix .",
|
||||||
"eslint-ci": "eslint .",
|
"eslint-ci": "eslint .",
|
||||||
"docs": "typedoc"
|
"docs": "typedoc"
|
||||||
|
BIN
public/audio/bgm/battle_alola_champion.mp3
Normal file
BIN
public/audio/bgm/battle_alola_elite.mp3
Normal file
BIN
public/audio/bgm/battle_bb_elite.mp3
Normal file
BIN
public/audio/bgm/battle_champion_geeta.mp3
Normal file
BIN
public/audio/bgm/battle_champion_kieran.mp3
Normal file
BIN
public/audio/bgm/battle_champion_nemona.mp3
Normal file
BIN
public/audio/bgm/battle_galar_champion.mp3
Normal file
BIN
public/audio/bgm/battle_galar_elite.mp3
Normal file
BIN
public/audio/bgm/battle_galar_gym.mp3
Normal file
BIN
public/audio/bgm/battle_hoenn_elite.mp3
Normal file
BIN
public/audio/bgm/battle_kalos_champion.mp3
Normal file
BIN
public/audio/bgm/battle_kalos_elite.mp3
Normal file
BIN
public/audio/bgm/battle_kalos_gym.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_arceus.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_birds_galar.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_calyrex.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_deoxys.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_dia_pal.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_dusk_dawn.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_entei.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_giratina.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_glas_spec.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_gro_kyo.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_ho_oh.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_kanto.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_lake_trio.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_loyal_three.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_lugia.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_ogerpon.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_pecharunt.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_raikou.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_rayquaza.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_regis_g6.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_ruinous.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_sinnoh.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_sol_lun.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_suicune.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_tapu.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_terapagos.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_ub.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_ultra_nec.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_xern_yvel.mp3
Normal file
BIN
public/audio/bgm/battle_legendary_zac_zam.mp3
Normal file
BIN
public/audio/bgm/battle_paldea_elite.mp3
Normal file
BIN
public/audio/bgm/battle_paldea_gym.mp3
Normal file
BIN
public/audio/bgm/battle_plasma_grunt.mp3
Normal file
BIN
public/audio/bgm/encounter_plasma_grunt.mp3
Normal file
BIN
public/fonts/unifont-15.1.05.otf
Normal file
13175
public/images/items.json
Before Width: | Height: | Size: 125 KiB After Width: | Height: | Size: 50 KiB |
BIN
public/images/items/blank_memory.png
Normal file
After Width: | Height: | Size: 405 B |
BIN
public/images/items/blank_plate.png
Normal file
After Width: | Height: | Size: 308 B |
Before Width: | Height: | Size: 396 B After Width: | Height: | Size: 396 B |
Before Width: | Height: | Size: 411 B After Width: | Height: | Size: 411 B |
BIN
public/images/items/draco_plate.png
Normal file
After Width: | Height: | Size: 308 B |
Before Width: | Height: | Size: 378 B After Width: | Height: | Size: 378 B |
BIN
public/images/items/dread_plate.png
Normal file
After Width: | Height: | Size: 308 B |
BIN
public/images/items/earth_plate.png
Normal file
After Width: | Height: | Size: 308 B |
Before Width: | Height: | Size: 397 B After Width: | Height: | Size: 397 B |
Before Width: | Height: | Size: 386 B After Width: | Height: | Size: 386 B |
Before Width: | Height: | Size: 391 B After Width: | Height: | Size: 391 B |
Before Width: | Height: | Size: 390 B After Width: | Height: | Size: 390 B |
BIN
public/images/items/fist_plate.png
Normal file
After Width: | Height: | Size: 308 B |
BIN
public/images/items/flame_plate.png
Normal file
After Width: | Height: | Size: 308 B |
Before Width: | Height: | Size: 381 B After Width: | Height: | Size: 381 B |
Before Width: | Height: | Size: 393 B After Width: | Height: | Size: 393 B |
Before Width: | Height: | Size: 385 B After Width: | Height: | Size: 385 B |
Before Width: | Height: | Size: 383 B After Width: | Height: | Size: 383 B |
Before Width: | Height: | Size: 375 B After Width: | Height: | Size: 375 B |
BIN
public/images/items/icicle_plate.png
Normal file
After Width: | Height: | Size: 308 B |
BIN
public/images/items/insect_plate.png
Normal file
After Width: | Height: | Size: 308 B |
BIN
public/images/items/iron_plate.png
Normal file
After Width: | Height: | Size: 308 B |
BIN
public/images/items/legend_plate.png
Normal file
After Width: | Height: | Size: 343 B |
BIN
public/images/items/meadow_plate.png
Normal file
After Width: | Height: | Size: 308 B |
Before Width: | Height: | Size: 334 B |
BIN
public/images/items/mind_plate.png
Normal file
After Width: | Height: | Size: 308 B |
BIN
public/images/items/pixie_plate.png
Normal file
After Width: | Height: | Size: 367 B |
Before Width: | Height: | Size: 385 B After Width: | Height: | Size: 385 B |
Before Width: | Height: | Size: 390 B After Width: | Height: | Size: 390 B |
Before Width: | Height: | Size: 383 B After Width: | Height: | Size: 383 B |
BIN
public/images/items/sky_plate.png
Normal file
After Width: | Height: | Size: 308 B |
BIN
public/images/items/splash_plate.png
Normal file
After Width: | Height: | Size: 308 B |
BIN
public/images/items/spooky_plate.png
Normal file
After Width: | Height: | Size: 308 B |
Before Width: | Height: | Size: 387 B After Width: | Height: | Size: 387 B |
BIN
public/images/items/stone_plate.png
Normal file
After Width: | Height: | Size: 308 B |
BIN
public/images/items/toxic_plate.png
Normal file
After Width: | Height: | Size: 308 B |
Before Width: | Height: | Size: 381 B After Width: | Height: | Size: 381 B |
BIN
public/images/items/zap_plate.png
Normal file
After Width: | Height: | Size: 308 B |
@ -1,18 +0,0 @@
|
|||||||
{
|
|
||||||
"0": {
|
|
||||||
"737373": "737373",
|
|
||||||
"ffffff": "ffffff",
|
|
||||||
"101010": "101010",
|
|
||||||
"b5b5bd": "b5b5bd",
|
|
||||||
"8442ad": "282828",
|
|
||||||
"5a3173": "121212",
|
|
||||||
"294a31": "294a31",
|
|
||||||
"4a9c42": "5fd054",
|
|
||||||
"422152": "000000",
|
|
||||||
"ffc500": "ffc500",
|
|
||||||
"42733a": "317c25",
|
|
||||||
"6b4229": "6b4229",
|
|
||||||
"ad7b4a": "ad7b4a",
|
|
||||||
"deb56b": "deb56b"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,18 +0,0 @@
|
|||||||
{
|
|
||||||
"0": {
|
|
||||||
"5a3a73": "121212",
|
|
||||||
"8442ad": "282828",
|
|
||||||
"101010": "101010",
|
|
||||||
"422152": "000000",
|
|
||||||
"737373": "737373",
|
|
||||||
"ffffff": "ffffff",
|
|
||||||
"b5b5bd": "b5b5bd",
|
|
||||||
"294a31": "294a31",
|
|
||||||
"4a9c42": "5fd054",
|
|
||||||
"deb56b": "ffc500",
|
|
||||||
"42733a": "317c25",
|
|
||||||
"ad7b4a": "ad7b4a",
|
|
||||||
"6b4229": "6b4229",
|
|
||||||
"de3a29": "deb56b"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,19 +0,0 @@
|
|||||||
{
|
|
||||||
"0": {
|
|
||||||
"737373": "737373",
|
|
||||||
"101010": "101010",
|
|
||||||
"b5b5bd": "878787",
|
|
||||||
"ffffff": "ffffff",
|
|
||||||
"102152": "521010",
|
|
||||||
"5a42ad": "992828",
|
|
||||||
"29426b": "6b2929",
|
|
||||||
"5284a5": "952f2f",
|
|
||||||
"63c5ff": "ff6363",
|
|
||||||
"313131": "313131",
|
|
||||||
"31317b": "3a1111",
|
|
||||||
"4a4a4a": "4a4a4a",
|
|
||||||
"212121": "212121",
|
|
||||||
"ffc55a": "ffc55a",
|
|
||||||
"d69431": "d69431"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,18 +0,0 @@
|
|||||||
{
|
|
||||||
"0": {
|
|
||||||
"192952": "521010",
|
|
||||||
"737373": "6a0d0d",
|
|
||||||
"ffffff": "ffffff",
|
|
||||||
"101010": "101010",
|
|
||||||
"5a4aad": "952f2f",
|
|
||||||
"b5b5bd": "a49696",
|
|
||||||
"3a3a84": "3a1111",
|
|
||||||
"5284a5": "7c0b0b",
|
|
||||||
"29426b": "6b2929",
|
|
||||||
"63c5ff": "c83f3f",
|
|
||||||
"d69431": "ffc55a",
|
|
||||||
"ffc55a": "d69431",
|
|
||||||
"313131": "313131",
|
|
||||||
"212121": "212121"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,18 +0,0 @@
|
|||||||
{
|
|
||||||
"0": {
|
|
||||||
"b5b5bd": "999999",
|
|
||||||
"737373": "737373",
|
|
||||||
"101010": "101010",
|
|
||||||
"ffffff": "d0d0d0",
|
|
||||||
"6b213a": "838383",
|
|
||||||
"bd4a52": "380d5f",
|
|
||||||
"a55a3a": "451c6a",
|
|
||||||
"f77b42": "69418e",
|
|
||||||
"633110": "2c2c2c",
|
|
||||||
"ffce63": "9386ff",
|
|
||||||
"4a2919": "191919",
|
|
||||||
"634231": "2c143a",
|
|
||||||
"84634a": "311e42",
|
|
||||||
"943142": "0b0b0b"
|
|
||||||
}
|
|
||||||
}
|
|