Commit Graph

227 Commits

Author SHA1 Message Date
alpaca
36cde21ce3
Adds ribbon in starter screen if mon has beat classic mode (#370)
* adds the ribbon asset, hooking it up

* works if override. need to add field on server side I imagine

* moves count to starterData, increments on win

* formatting

* increment works properly

* recursively check for prevolution

* cleaned up to use getRootSpeciesId()

* changes ribbon to gold medal version

* adds Akuma's ribbon achievements

* ribbons increment correctly

* missed ui handler update

* reorder achievements

* ribbon correct, vouchers not. currently investigating

* increments properly, but voucher reward phase not appearing

* some cleanup

* works great, need to better reflect who is getting ribbon in message and cry

* plays level fanfare, tabling cry for now

* reran items.bat

* Minor fixes

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-05-07 00:44:41 -04:00
Flashfyre
6a3ca62490 Add separate sub-legendary stats 2024-05-05 17:11:29 -04:00
Flashfyre
437cb87df9 Add separate achievements for sub-legendaries and rename pseudoLegendary field 2024-05-05 11:05:22 -04:00
Greenlamp2
d98f7733d4
Rework - Inputs management to include all gamepad mapping V2 (#429)
* rework of the input handling, including different gamepad and keyboard

* rework of the input handling, including different gamepad and keyboard

* first version of a too complex inputHandler based on phaser3-merged-input

* removed useless control management and kept it simple for our use case, investigating to put out button_XX()

* renamed inputHandler to inputController

* aggregate directions and some action into a same method + fix menu return value

* added back repeated input feature on keeping down a key

* cleanup + return type

* fix submit/action doing two things simultaneously, still same behaviour as before

* extracted UI inputs out of battle-scene

* tab -> spaces

* tab -> spaces what about now github ?

* tab -> spaces final (maybe)

* tried to fix the plugin loading issue on prod

* remove Plugins things as it's too uncertain how it works on prod

* seems old code source is indented with tab

* cleanup

* cleanup

* cleanup

* putting in an enum file the enum buttons

* fix repeating stats button + change message in event when the key is repeating

* added return type for ui-inputs

* added return type for inputs-controller

* adapted the code to integrate changes of bennybroseph
2024-05-05 10:30:00 -04:00
Benjamin Odom
3ed7649ce5
Remove Debug Code (#480)
Remove code intended only for debugging.
2024-05-05 18:45:54 +10:00
Benjamin Odom
dd76cbc7a2
Add Setting to Swap A and B on Gamepad (#474)
* Add Setting to Swap A and B on Gamepad

Added a new setting to swap the A and B button on controller. Defaults to off which retains the current behavior on live.

* Add comments
2024-05-05 01:25:57 -04:00
Alessandro Bruzzese
41f9420c90
Added Italian translations for ability.ts and other element (#471) 2024-05-04 21:00:28 -05:00
Xavion3
bc319a8eda Fix eggs during dailies 2024-05-03 10:28:40 -04:00
Flashfyre
991f097e9e Rebalance friendship and add starter friendship with candy reward 2024-05-02 17:48:08 -04:00
Flashfyre
86b0596a60 Add rogue achievement and voucher tier 2024-05-01 19:28:07 -04:00
Flashfyre
6b9542511f Add fusion luck as a separate field 2024-04-26 18:27:00 -04:00
Flashfyre
bf2a83993c Make luck independent from shininess and variant 2024-04-26 17:32:28 -04:00
Flashfyre
ef552c7ffd Fix crash with certain animated variant sprites 2024-04-26 02:00:58 -04:00
BronzeMaster5000
e3ef65523a Added german as selectable in options
Also added a comment in i18n that refers to how to add a language to the game settings menu to actually select it.
2024-04-25 21:21:44 -04:00
Flashfyre
4a703c938d Add load message handler for too many connections 2024-04-25 14:47:32 -04:00
Flashfyre
daba4e9482 Fix not updating legendary and mythical Pokemon seen stats 2024-04-25 13:20:32 -04:00
Flashfyre
1d25935aa0 Enforce trainer IDs on write requests for data integrity 2024-04-25 09:17:48 -04:00
Flashfyre
97218be59c Add back missing authorization headers 2024-04-24 19:26:04 -04:00
Flashfyre
cf3a7dca35 Comment out variant data fix to prevent ability data corruption 2024-04-24 09:26:46 -04:00
Flashfyre
e2effee43d Fix typo 2024-04-23 22:32:04 -04:00
Flashfyre
1376ea4e87 Fix initial starters not having first ability unlocked 2024-04-23 22:16:49 -04:00
PabloG02
a71392f2d6 Add Spanish localization for menu, moves and pokeballs 2024-04-23 11:58:47 -04:00
Flashfyre
26b1bb5f03 Don't increment seen shiny count for trainers 2024-04-22 11:28:13 -04:00
Flashfyre
3d9f5fb157 Protect against cross-session overwrites 2024-04-21 16:19:11 -04:00
Flashfyre
c8a9069e8b Add outdated session support and fix older migrations 2024-04-21 10:59:50 -04:00
Flashfyre
17eddd7b02 Consolidate broken variant data for players who missed 1.0.1 2024-04-20 22:30:28 -04:00
Flashfyre
fc06c4d9e1 Fix title querying with placeholder save slot 2024-04-20 18:46:36 -04:00
Flashfyre
706a85ed5b Add missing pipeline data for shiny recolors in certain screens 2024-04-19 23:37:23 -04:00
Flashfyre
0ecc46ab97 Exclude authorization header where unnecessary 2024-04-19 17:35:49 -04:00
Miguel S
95d2ad2fb4
Added language setting (#185)
* Added language setting

* Allow properly changing language

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-19 14:55:01 -04:00
Flashfyre
e17aee5d48 Fix default starter hidden ability for new accounts 2024-04-19 12:24:52 -04:00
Flashfyre
5c367db8a3 Fix ability edge case when saving starter ability data 2024-04-19 11:01:22 -04:00
Flashfyre
b546203118 Fix shiny eggs corrupting candy count 2024-04-19 01:01:57 -04:00
Flashfyre
c76f8c5e7e Add tiered shiny variants 2024-04-18 22:52:26 -04:00
Flashfyre
eab38a5ad4 Add more exp gains options 2024-04-18 00:50:04 -04:00
Hans Sorongon
0948295a98 Add option to hide exp gains after a battle 2024-04-18 00:50:04 -04:00
Flashfyre
e85179f7cd Fix gamepad support not saving 2024-04-15 22:40:27 -04:00
Flashfyre
1ff206287a Add setting for gamepad support 2024-04-15 20:13:58 -04:00
Flashfyre
0692a343a0 Fix duplicate candy count key for local 2024-04-15 19:47:12 -04:00
Flashfyre
6e59b4dd77 Prevent saving on an outdated client 2024-04-15 10:09:51 -04:00
Flashfyre
824a73ef71 Add candy system for passives and value reductions 2024-04-13 18:59:58 -04:00
Flashfyre
75075c6fab Update missing save data handling 2024-04-11 00:18:16 -04:00
Flashfyre
eb5bdb07a8 Add outage handling 2024-04-10 01:32:49 -04:00
Flashfyre
2a6042ff7e Add HP Bar Speed setting and fix Grip Claw HP skip bug 2024-04-09 15:34:57 -04:00
Flashfyre
b892a8b40e Add option to disable move animations 2024-04-09 15:06:47 -04:00
Flashfyre
5ebc351e4f Add a long-term goal 2024-04-05 22:58:40 -04:00
Flashfyre
3e99ed6bb6 Level up sound no longer pauses BGM 2024-04-04 17:43:37 -04:00
Flashfyre
326918a5f1 Add retry option (easy mode) 2024-04-04 15:22:05 -04:00
Flashfyre
075db8ae0c Show icon when saving data 2024-04-04 10:16:29 -04:00
Flashfyre
84f6456972 Use nature override property instead of overwriting base nature 2024-04-02 23:00:56 -04:00
Flashfyre
a3e09ee5cc Fix game not loading if save data is not found 2024-04-01 15:18:15 -04:00
Flashfyre
366e3e5120 Fix battle RNG varying when loading a game 2024-04-01 12:48:35 -04:00
Flashfyre
70d61700d0 Re-implement UI reskin with working legacy toggle
Re-implement UI reskin with working legacy toggle; add return to title option to menu
2024-03-31 21:14:35 -04:00
Flashfyre
30c7156c1a Revert "Add UI reskin by LJ Birdman (WiP)"
This reverts commit 0200a2688a.
2024-03-31 16:51:53 -04:00
Flashfyre
0200a2688a Add UI reskin by LJ Birdman (WiP) 2024-03-31 16:49:53 -04:00
Flashfyre
ca0ae35422 Change default game speed from 1x to 2x 2024-03-31 00:03:39 -04:00
Flashfyre
7ca5cdc21b Revert "Revert "Fix strong trainer party members often not evolving due to dividing by 0""
This reverts commit baaa00656e.
2024-03-29 20:11:52 -04:00
Flashfyre
baaa00656e Revert "Fix strong trainer party members often not evolving due to dividing by 0"
This reverts commit c59c5ca413.
2024-03-29 13:52:21 -04:00
Flashfyre
c59c5ca413 Fix strong trainer party members often not evolving due to dividing by 0 2024-03-29 13:42:54 -04:00
Flashfyre
26bef151f4 Update starter value reduction thresholds to be per-cost 2024-03-28 17:29:31 -04:00
Flashfyre
c0b1724b1e Fix not passing trainer name when loading data 2024-03-26 21:21:27 -04:00
Flashfyre
1ea0511abb Convert included JS files to modules 2024-03-25 16:10:43 -04:00
Flashfyre
4633ac2426 Add failsafe if moves fail to load 2024-03-25 14:47:41 -04:00
Flashfyre
892d99a4f9 Add 50% chance to offset gym leader wave by 10 in classic 2024-03-25 11:00:42 -04:00
Flashfyre
efa8d4f3fc Fix summon data not being loaded in on session load 2024-03-25 10:16:29 -04:00
Flashfyre
cf959c6e1b Add proper title screen and logo 2024-03-21 13:12:05 -04:00
Flashfyre
7189258095 Actually fix single battle summoning issue 2024-03-21 12:34:19 -04:00
Flashfyre
b201cf0abc Fix trainer-related crash when loading data 2024-03-21 01:05:46 -04:00
Flashfyre
a76f795cd5 Trainer updates including names and double battle pairs
Add dynamic trainer pairs; add trainer names with Bulbapedia scraping logic; add Hex Maniac trainer; make namebox stretch to fit name
2024-03-21 00:57:28 -04:00
Flashfyre
88e050581e Add score to daily run mode 2024-03-19 00:03:41 -04:00
Flashfyre
0701598be6 Add session scores 2024-03-17 11:36:19 -04:00
Flashfyre
56f4a71ca6 Add daily runs (WiP) 2024-03-16 22:06:56 -04:00
Flashfyre
81f9e2da36 Add WiP logic for daily run and fix some performance issues 2024-03-15 21:59:34 -04:00
Flashfyre
7946938828 Fix errors when loading empty slots in local mode 2024-03-15 15:56:07 -04:00
Flashfyre
00255cb09a Fully implement save slots and ""title"" screen changes
Fully implement save slots and ""title"" screen changes; fix issues with slots including clear data not working on game over and export/import not working; fix session play time not being recorded correctly
2024-03-15 15:13:32 -04:00
Flashfyre
879971ae2b Add ""title"" screen and save data slots 2024-03-14 21:49:49 -04:00
Flashfyre
623d600e13 Add wrapper for game mode 2024-03-14 16:26:57 -04:00
Flashfyre
50b9bf10a7 Add toggle for fusion palette swaps 2024-03-05 21:54:26 -05:00
Flashfyre
5efec5906a Make transfer option free 2024-03-04 23:59:15 -05:00
Flashfyre
702ac190da Don't fail to load save if somehow a move is null 2024-03-02 09:46:08 -05:00
Flashfyre
1fed59837b Fix RNG issues with egg moves 2024-03-01 22:18:39 -05:00
Flashfyre
ce60d46fd1 Fix egg move data not initializing properly 2024-03-01 19:37:32 -05:00
Flashfyre
0e0fe95d4c Fix being unable to clear boss segment without bypass 2024-03-01 12:41:47 -05:00
Flashfyre
716d8853a3 Add damage numbers feature 2024-03-01 00:27:46 -05:00
Flashfyre
f48464d48d Minor refactoring 2024-02-29 20:08:58 -05:00
Flashfyre
ffd785d534 Rebalance item weights and add Rogue tier 2024-02-28 23:13:05 -05:00
Flashfyre
8bee927e08 Remove some legacy features and fix a crash
Remove legacy autoplay and quick start features; fix crash related to leech seed on missing source
2024-02-27 15:16:06 -05:00
Flashfyre
649717a3cd Add egg moves logic 2024-02-25 12:45:41 -05:00
Flashfyre
d72dd93212 Add experimental animated sprites 2024-02-24 21:16:19 -05:00
Flashfyre
4e93f1e52c Display enemy trainer briefly when switching 2024-02-22 00:00:51 -05:00
Flashfyre
0917049fea Fix issues with out of bounds form indexes 2024-02-21 12:38:07 -05:00
Flashfyre
b054992ffa Allow selecting and ordering starter moves 2024-02-21 01:03:34 -05:00
Flashfyre
09e7fab141 Implement solution to data loss issue 2024-02-19 20:36:10 -05:00
Flashfyre
2f8df43db8 Fix some bugs and add seen Pokemon to starter screen 2024-02-18 22:21:57 -05:00
Flashfyre
b47f7b7ad2 Try rebalancing final boss by removing items 2024-02-17 11:18:53 -05:00
Flashfyre
27c09989b6 Fix crash when generated trainer battle levels mismatch with loaded data 2024-02-17 09:22:51 -05:00
Flashfyre
dadc08d16e Add Terestallization mechanics
Add Terestallization mechanics; implement Stellar type; fix bug with held item weights
2024-02-17 00:40:03 -05:00
Flashfyre
bf18b1ceb1 Add tutorial framework (WiP) 2024-02-13 18:42:11 -05:00
Flashfyre
e72ede26d8 Implement catch count based starter value decreases 2024-02-12 16:38:46 -05:00
Flashfyre
05f114c8a4 Minor UI changes 2024-02-06 23:11:00 -05:00