555 Commits

Author SHA1 Message Date
JappaWakka
f94a01c7b1 Merge with currently translatable parts progress 2025-07-05 14:56:17 +02:00
Eagle
504d8a175b 3rd pass refactor of storage system menu
Fixed mistakes in resolved conflict and changed signature of `TakeItemPokemon()` to optionally give the caller the responsibility of handling message logging.
Minor shrinking of logic and syntax.
Rearranged some conditional blocks for readability and terseness.
Added numerous local variables to give context to magic values and reduce line length in more extreme cases.
Changed `PokemonWrapper.GetPokemon()` to a read-only property to simplify syntax on use.
Added `DrawPokemonIcon()` to unify drawing of box/party pokemon icons.
Inlined `BoxPokemonCount()` after it was simplified.
2025-07-05 03:29:59 +02:00
Eagle
59733b10df
Merge branch 'master' into PokemonStorageRefactors
Signed-off-by: Eagle <34673@users.noreply.github.com>
2025-07-05 02:21:35 +02:00
JappaWakka
95fb9bb952 Fix item removal msg not showing upon release pkmn 2025-07-02 10:30:49 +02:00
Eagle
d14bed83cd Second pass refactor of storage system menu
Unification of wallpaper (removal of `MenuEntry.TAG` as it's no longer necessary) and filtering handling as well as minor logic compacting and syntax shrinking missed in the first refactor. 1926 -> 1719 lines.
2025-06-28 07:33:56 +02:00
Eagle
12a08025f9 First pass refactor of storage system menu
Per-function logic and syntax shrinking, inlining of single-use one-liner functions, addition of variables in some places to reduce line width and increase clarity, merging of filtering regions as they got smaller.
Vertical whitespaces have been temporarily added to help with diffing. 2712 -> 1926 lines.
2025-06-22 17:18:42 +02:00
JappaWakka
378e3f38dc Made Pokédex filters translatable 2025-05-30 11:16:16 +02:00
JappaWakka
808001ceec You can now have regional wild defeat music 2025-05-30 10:48:17 +02:00
JappaWakka
ff1d21f115 Added @System.ReplaceTextures(File) ...
With this command you can add texture replacements similar to how a content pack replaces textures.
This is especially useful when, for example, you have multiple supported languages and want to replace certain textures with localized versions.
The file that is required is in the same format as the exceptions.dat file in content packs, but only supports texture replacement entries.
The replaced texture list is cleared when quitting the current save game.
Content Packs should still work, even with the replaced textures.
2025-05-29 17:20:52 +02:00
JappaWakka
66b78158e3 Fix spacing on TeachMovesScreen 2025-05-23 18:23:22 +02:00
JappaWakka
1217ead8fd PokéMart/shop interface is now translatable 2025-05-23 11:01:35 +02:00
JappaWakka
12115e7d51 Map Screen fixes, Translatability + Fly dialogue 2025-05-22 19:34:55 +02:00
JappaWakka
667fab564f Make GameMode Names & Desc's Translatable 2025-05-22 19:12:36 +02:00
JappaWakka
7a838d92b4 Make map screen location name more readable...
Added a partially transparent black box behind the name of the location that's being pointed to on the map screen to make the name better readable on white backgrounds
2025-05-04 15:43:04 +02:00
JappaWakka
8427a5ff07 Adjust the EVs/IVs text in code too 2025-05-02 13:11:45 +02:00
JappaWakka
8850ecb6ec Make summary screen view switch hint box wider 2025-05-02 10:22:07 +02:00
JappaWakka
a1a17596ef Allow joystick left/right in summary screen 2025-05-02 10:21:22 +02:00
JappaWakka
2625347a3d Name/Rename screen can be translated 2025-04-25 10:55:16 +02:00
JappaWakka
3318e02c67 Don't add default berrydata on custom gamemodes 2025-04-20 18:21:55 +02:00
JappaWakka
2620084c76 Add an even faster textbox speed 2025-04-20 18:21:13 +02:00
JappaWakka
a43d9d8354 Remember dex order/filter select menu indexes 2025-04-19 19:00:06 +02:00
JappaWakka
be0d5f09db Make some string offsets in dex dynamic 2025-04-12 15:05:27 +02:00
JappaWakka
e83a77d23f Fix Main Menu GM assets load from options actually
it didn't do so before
2025-04-04 14:26:52 +02:00
JappaWakka
de6a9fd411 Fix gamemode custom music not reloading/replacing 2025-04-04 14:26:01 +02:00
JappaWakka
bdd9761d53 Adjust space width one more time and tweak screens 2025-03-31 19:13:31 +02:00
JappaWakka
e7c3281a34 Show correct location name in habitat dex 2025-03-31 19:12:53 +02:00
JappaWakka
a3e44cd510 Fix OT & ID No. usage to make more sense 2025-03-28 18:48:06 +01:00
JappaWakka
6eff647b8f Fix Main Menu GameMode assets load from options...
When clicking on a save profile while in the options submenu, the gamemode wasn't loaded immediately
2025-03-28 18:37:01 +01:00
JappaWakka
f9949ae6d0 Make space character wider to improve readability 2025-03-28 18:34:57 +01:00
JappaWakka
4c20805d75 Reload the tokens a little more often...
in the main menu so that the correct location name immediately shows up on gamemode saves.
2025-03-23 16:03:58 +01:00
JappaWakka
071301432b Make Save Screen Localizable 2025-03-23 16:02:46 +01:00
JappaWakka
43528154c4 Update and improve Fonts (mainly for accent chars) 2025-03-22 13:29:10 +01:00
JappaWakka
af89b308c7 Fixed some buttons and bumpers/triggers...
Back/Select instead of Y button as Y button doesn't work and Triggers instead of Bumpers to make sure the chat box doesn't open during Voltorb Flip or PC Box switching
2025-03-20 17:40:01 +01:00
JappaWakka
62fbec7c43 Don't log music missing when checking night music 2025-03-17 17:34:20 +01:00
JappaWakka
cff7dd2083 Fix required exp. number text position 2025-03-15 10:21:31 +01:00
JappaWakka
5fd6ca1e38 Fix Battle Box crash when taking item 2025-03-15 10:07:21 +01:00
JappaWakka
fcff6fe74e Removed some duplicate/unused tokens 2025-03-14 15:45:04 +01:00
JappaWakka
ba3c3c7f23 Remove duplicate yes/no tokens 2025-03-14 15:24:02 +01:00
JappaWakka
9be1e7838b Clean up trading screen a little 2025-02-28 11:03:36 +01:00
JappaWakka
2400d68fb6 Fixes for Selling Items in TradeScreen...
The base price of a sellable item can now be set as well, even if an item is not in stock.
2025-02-22 19:00:06 +01:00
Yong Jian Ming
fb368e0f2d
Fix the overworld rendering when inventory is opened. 2025-02-21 22:27:01 +08:00
Max Rigout
d9da71c812 cleanup 2025-02-20 16:43:31 -05:00
Max Rigout
e6d78d1d3b added flexibility to the night theme system, removed metadata from the night themes, added night themes to the project files 2025-02-20 16:40:55 -05:00
Max Rigout
644d2c64ef
Merge branch 'P3D-Legacy:master' into master 2025-02-20 14:34:10 -05:00
Max Rigout
d7735f33ba fixed bug with kanto wild battle music at night 2025-02-20 12:50:11 -05:00
JappaWakka
9fce336574 Make some room for summaryscreen translations 2025-02-19 18:44:17 +01:00
Max Rigout
7a920335d4 added night theme for wild battles 2025-02-18 16:55:56 -05:00
JappaWakka
cee683452e Pokémon Properties translatable
* Summary Screen
* Catch Method & Location
* Ability Names & Descriptions
2025-02-16 10:51:54 +01:00
JappaWakka
d9b7e2258b Revert "Use [ ] instead of < > for pkmn catchinfo tokens.."
This reverts commit 2fa95df3e7dc573c925cd02c3a7b96fb07b924dc.
2025-02-15 19:10:09 +01:00
JappaWakka
2fa95df3e7 Use [ ] instead of < > for pkmn catchinfo tokens..
If you use <system.token()> for the CatchMethod and CatchLocation values, they would get permanently replaced with the token values but by using [system.token()] you can make them change based on the current language even when you change.
2025-02-15 18:53:52 +01:00