Commit Graph

421 Commits

Author SHA1 Message Date
JappaWakka de6001a97d Switch between forms and dex entries 2023-07-18 13:51:14 +02:00
JappaWakka 47e0594bb5 Improve spacing 2023-07-18 11:17:06 +02:00
JappaWakka dae28c537a Dex Evo/Form Screen Progress + Pichu form fix 2023-07-17 18:46:06 +02:00
JappaWakka d80a9170c1 Fix Party index resetting when it shouldn't 2023-07-17 18:01:48 +02:00
darkfire006 06a76218c7 fly based on map files contained, not based on if the fly target map is visited 2023-07-16 23:30:39 -05:00
JappaWakka 6520377758 DexForm progress 2023-07-15 16:12:17 +02:00
JappaWakka 6440ff0466 Hopefully fix berrydata bugs with new saves 2023-07-15 14:17:40 +02:00
JappaWakka 3065c1960a Pokédex Form Progress 2023-07-14 20:48:32 +02:00
JappaWakka 0b69b854b9 More Pokédex form support progress 2023-07-13 16:15:19 +02:00
JappaWakka fad33eaa4a Pokédex form support progress 2023-07-12 20:09:06 +02:00
JappaWakka cb37645746 Fixed gender forms 2023-07-07 11:35:34 +02:00
JappaWakka a90ef6e6d8 A lot of progress on the softcode forms 2023-07-06 20:14:44 +02:00
JappaWakka b6ba893a5d Coin Case Cap is now a GameRule 2023-07-01 20:47:06 +02:00
JappaWakka d190ef524d @Player.AddCoins max 50000 + voltorb flip bugfix 2023-06-30 15:45:44 +02:00
JappaWakka af937955b9 New BattleAnimation type + Confuse Ray animation..
And some fixes
2023-06-26 16:36:52 +02:00
JappaWakka ab55d4d1d7 Reset setDaytime and setSeason on quit 2023-06-21 19:31:39 +02:00
JappaWakka db35572eb1 Limit Pokémon names to 12 and others to 20 chars 2023-06-14 19:10:04 +02:00
JappaWakka a0aa947c5c Added a GameMode Move property and 2 functions
* Fixed an issue with GameMode Items in battles
* Updated the example files for GameMode Items and GameMode Moves
* Maybe fixed something audio volume related

* Made it possible to disable the reduction of PP using the DeductPP (bool) property for GameModeMoves
* Added the new functions "SetTrigger" and "RemoveTrigger" for GameModeMoves:

Function "SetTrigger" checks if a Pokémon does or does not have a certain Status and prevents functions after it from executing if the Pokémon does not have the desired Status.
The function is formatted like this: Function|SetTrigger,Target,Triggers
* "Target" determines which Pokémon's Status is checked and has to be either 0 or 1 (0 = check own Pokémon, 1 = check opponent's Pokémon)
* "Triggers" determines the status effect(s) that should or should not be on the target Pokémon. You can add multiple possible status effects to check for by separating them with a semicolon (;), the values can be: "burn", "freeze", "paralyze", "poison", "badpoison", "anypoison", "sleep", "noburn", "nofreeze", "noparalyze", "nopoison", "nobadpoison", "nopoison", "nosleep"
Function "RemoveTrigger" removes such a trigger so that functions after it are executed
2023-06-13 20:22:35 +02:00
JappaWakka c287e2ce36 Fix incorrect Voltorb Flip rules 2023-06-12 16:15:45 +02:00
JappaWakka 7be2275050 Reset VoltorbFlip on Pause Menu quit 2023-06-12 15:27:30 +02:00
JappaWakka 2e26b2d0c8 Argument for registering amount of bought items
@screen.trade(storeData {itemID,amount,price}{...},canBuy [bool],canSell [bool],currencyIndicator [str],shopIdentifier [str])

shopIdentifier is the value to register to (e.g. if the shopIdentifier = apple then it will register apple_110 if you bought item 110 (pearl) from that shop)
2023-06-08 10:54:51 +02:00
JappaWakka a9ab50f472 Fix invalid menu option crash 2023-06-07 20:36:58 +02:00
JappaWakka dc744ea02a Make HM GameMode items possible 2023-06-06 20:35:05 +02:00
JappaWakka c6caf0dbbb Actually fix the water reset this time 2023-06-05 16:12:22 +02:00
JappaWakka 65ca21139b Fixed wrong item when swapping from pokémon 2023-06-04 14:05:41 +02:00
JappaWakka 63b2134ef6 Added PM chat button for PSS 2023-06-04 12:09:03 +02:00
JappaWakka aee6d641b1 Accept with mousebutton on PSS 2023-06-04 11:48:24 +02:00
JappaWakka 098feb8e0d Fix TM GameMode Item crashes 2023-06-01 12:40:58 +02:00
JappaWakka ac4e5801c2 CInt(-1).ToString -> "-1" correction 2023-05-31 12:34:22 +02:00
JappaWakka 319ad9b231 Added @item.select and <inventory.selected>
@item.select(AllowedPages,AllowedItems)
Opens an item select screen with only the specified item type pages (separated with ";", e.g. "0;1;2" or "standard;medicine;plants") and possible item IDs (single items separated with ";", or with a "-" if you want a range, e.g. "2000-2066"
Both variables are optional. If AllowedPages is empty, all pages are allowed. If AllowItems is empty, all items are allowed.

<inventory.selected>
Returns the ID of the item selected in the screen opened by @item.select(AllowedPages,AllowedItems)
2023-05-31 12:34:11 +02:00
JappaWakka bb68e96bd5 Inventory Screen tweaks 2023-05-30 16:36:32 +02:00
JappaWakka e30d5b017d Implemented GameMode Item Use, needs testing 2023-05-30 11:38:59 +02:00
JappaWakka a5a8162f5f Adjusted token and position coin counters 2023-05-30 10:39:17 +02:00
JappaWakka 5cd5e00587 Change order of VoltorbFlip messages 2023-05-30 09:59:03 +02:00
darkfire006 ddbbd21043 allow coins to be used in shops and track as stats 2023-05-29 20:32:57 -05:00
darkfire006 2e1b66a45d add back from info screen and fix a line wrap 2023-05-29 20:32:31 -05:00
JappaWakka d13b5eb8d3 GameMode Item Preparations
Implemented GameMode Mega Stones
2023-05-29 15:33:57 +02:00
JappaWakka ba98f40394 Mouse wheel can reach every item in bag now 2023-05-29 10:37:32 +02:00
JappaWakka 2a3579f684 Added menu with tutorials, removed gradients
Also improved some tokens and fixed the quit button on the How To Play tutorial image
2023-05-29 09:57:39 +02:00
JappaWakka 3b1f3075e8 Added New Level Menu and Game Info stuff
still need to test
2023-05-28 21:34:20 +02:00
JappaWakka 37580a3336 Make sure quit question reappears 2023-05-28 18:52:51 +02:00
JappaWakka 630cf4f9c9 New Level Menu preparations 2023-05-28 09:58:33 +02:00
JappaWakka 1a1e8bcf9b Fix token and quit button text 2023-05-28 09:54:20 +02:00
JappaWakka 088bb1ceb2 Incorrect Quit Correction + Localizable QuitButton
And some corrected tokens
2023-05-27 19:27:48 +02:00
JappaWakka 7d9db111d2 Missing tokens and better total coins counter 2023-05-27 17:48:32 +02:00
JappaWakka 348ba89b15 Add localization for Voltorb Flip and Coin Case 2023-05-27 16:52:36 +02:00
JappaWakka e2793e6a03 Fix TotalFlips 2023-05-27 16:23:21 +02:00
JappaWakka 39ce4458f1 Fix Consecutive Wins 2023-05-27 16:10:30 +02:00
JappaWakka 966525b14d Textbox always drawn on top, position tweak 2023-05-27 15:44:01 +02:00
JappaWakka 2314ce6834 Sound effects, jingles and some minor fixes 2023-05-27 15:40:38 +02:00
JappaWakka 4aeecc99d1 Do move memo cursor even when tile = flipped 2023-05-27 15:14:35 +02:00
JappaWakka bd38e5c2ab VoltorbScreen fully implemented! 2023-05-27 15:09:41 +02:00
JappaWakka 99bf455a6e It doesn't work perfectly but something happens 2023-05-25 18:37:37 +02:00
JappaWakka 791104ee49 Adjust positions row & column counters 2023-05-24 15:42:09 +02:00
JappaWakka e9013a9371 A lot of progress again :D
Improved implementation of quiting Voltorb Flip minigame
Properly implemented max amount of coins you can win
Implemented command to start a Voltorb Flip minigame including adding won coins to the coin case afterward
2023-05-24 14:30:38 +02:00
JappaWakka 8bf3c7daf3 Fix level drop system, adjust font, more drawing 2023-05-24 11:49:18 +02:00
JappaWakka 732103bab8 Coin counter amount animation + row & column Font 2023-05-23 15:11:22 +02:00
JappaWakka 5656e75778 Draw cursor, memo menu + button and memos on tiles 2023-05-23 14:14:15 +02:00
JappaWakka ce6d8344a6 A lot of progress on Voltorb Flip 2023-05-22 19:33:09 +02:00
JappaWakka 956c6147cd Generate sums of voltorbs & coins, rows & columns 2023-05-21 20:40:12 +02:00
JappaWakka 5ab3fe7d5b Working on the controls and cursor positioning 2023-05-19 17:02:59 +02:00
JappaWakka ff0111ecdc Started Development on Voltorb Flip
I think... if I've done everything I did so far correctly, I should have a level 1 grid of tiles, it's just not visible yet and you can't interact with it in any way, so I have no idea if it actually does what I want it to do yet XD
2023-05-18 20:25:38 +02:00
JappaWakka 5a296234f4 Fix shadow and text positions of map screen 2023-05-03 16:28:19 +02:00
JappaWakka d14ec56323 Get rid of Minifont in Map Screen 2023-05-02 19:15:20 +02:00
darkfire006 9c9ae00f39 oh wait new year.... 2023-05-02 00:56:42 -05:00
JappaWakka fc1ff4854d Custom Phone Contacts are possible in GameModes 2023-04-28 09:17:10 +02:00
JappaWakka 46c814410c Fix (destiny knot) IV inheritance 2023-04-19 14:56:57 +02:00
JappaWakka b12ae2026d Fix namerater inconsistencies 2023-04-03 19:22:42 +02:00
JappaWakka b9f6637365 Made trainer battle intros look better
And also made it so that the battleintros get skipped if the _intro music is equal to or smaller than 1 second (useful for silent intros)
I also made sure trainer sprite scaling and positioning is correct
2023-03-18 20:47:12 +01:00
JappaWakka f5143a710a Mapped Pokégear to Back button on controllers
And enabling/disabling controller input to F6
2023-02-27 12:49:52 +01:00
JappaWakka 9e991c88e4 Fix for forms getting wrong hidden ability 2023-02-26 17:40:25 +01:00
JappaWakka 2f0cccb052 Entering battle without pokémon triggers blackout 2023-02-26 17:16:39 +01:00
JappaWakka 94247a7754 Fix GameModeSelectionScreen accent colors 2023-02-26 15:21:36 +01:00
JappaWakka 5a6711f126 Prevent renaming issues with spaces 2023-02-23 12:30:24 +01:00
JappaWakka 72d653f65f Fix incorrect character list in rename screen
Also added space and a failsafe for if the name ends with a space
2023-02-02 15:59:26 +01:00
JappaWakka 5b7147c720 Added Able/Unable label when using evolution stone 2023-01-27 18:21:27 +01:00
JappaWakka 9b7e52e9e6 Fixed items usable when none are left 2023-01-27 18:20:45 +01:00
JappaWakka d3bde7eef0 Fixed some visual bugs related to pvp and trading
and replaced some fonts
2023-01-23 12:12:08 +01:00
JappaWakka 2b0531ed8a Hopefully fix egg hp > maxhp 2023-01-23 11:15:30 +01:00
JappaWakka f77961afff Remove battlescreen update from InventoryScreen 2023-01-17 18:20:52 +01:00
JappaWakka 7dedbb7ec2 Fix for non-HM field moves not visible in menu 2023-01-15 20:46:26 +01:00
JappaWakka 6562aba3de move learn Able/Unable overlapping text fix 2023-01-15 19:45:03 +01:00
JappaWakka 724ddabc88 Remove battlescreen update from party view 2023-01-15 14:34:44 +01:00
JappaWakka cc2d46153d Disable Shift BattleStyle in PvP 2023-01-15 09:34:42 +01:00
JappaWakka d0ea913902 Added GameRule for forgetting HM moves
CanForgetHM
0 = HM moves can't be forgotten
1 = HM moves can be forgotten
2023-01-14 21:04:16 +01:00
JappaWakka e14e4c660c Added gamerule for Single Use TMs
SingleUseTM
0 = Use TMs as many times as you like
1 = TMs can only be used once
2023-01-14 21:03:12 +01:00
JappaWakka 2de791ab2b Fixed blackoutscreen font 2023-01-13 17:31:17 +01:00
JappaWakka dfbaaf2b33 BattleScreen + BattleCatchScreen softlock fixes 2023-01-13 14:46:44 +01:00
JappaWakka 9970d892de Added a line break to catch message 2023-01-13 14:15:43 +01:00
JappaWakka dc454d2a68 Temporarily disabled animations for pvp battles 2023-01-13 14:09:21 +01:00
JappaWakka f260ec0900 Fix for trainer skins and pokégear trade buttons 2023-01-08 15:43:57 +01:00
JappaWakka a1a84bbe40 Fixed escape rope and teleport not stopping surf 2023-01-04 20:14:38 +01:00
JappaWakka add7f4ac6f Fixed item name not being found with localizations 2023-01-02 15:27:59 +01:00
JappaWakka 75a71fbe7b Fix Hidden Ability Evolution Crash 2022-12-06 14:34:31 +01:00
JappaWakka c0c4146607 Item Descriptions can be localized (no tokens yet) 2022-12-04 20:50:45 +01:00
JappaWakka dcf25a4817 Added Item names to localization file 2022-12-04 19:25:56 +01:00
JappaWakka afe35786a5 Fixed pokégear phone contacts overlapping text 2022-10-18 16:55:03 +02:00
JappaWakka d74103073d Fixed alignment of egg data in summaryscreen 2022-10-17 12:20:04 +02:00
JappaWakka 69a9586f31 Corrected the transfer to pc message 2022-10-13 13:26:19 +02:00
JappaWakka 683c21ba09 Made an exception to save disable rule 2022-10-06 21:24:18 +02:00
JappaWakka d4d53ba0ea Fix disabled save message not appearing 2022-09-29 21:25:38 +02:00
JappaWakka b14277a91d Added gamerule to disable saving the game 2022-09-29 20:36:09 +02:00
JappaWakka d2860b15a8 Models work better in battle now 2022-09-27 12:51:51 +02:00
JappaWakka 62d4dc3523 Updated TeachMovesScreen (descr.)
Scaled and positioned Pokémon sprites correctly
Replaced Minifont with MainFont
Positioned text correctly and made the text on buttons turn from black to white if highlighted
2022-09-22 12:48:03 +02:00
JappaWakka d84bec2fbf Updated Evolution screen scale and positioning
Also fixed minor grammar thing: a "pokemonname". I just remove the a.
2022-09-22 12:25:02 +02:00
JappaWakka 90a9f56a25 Fixed HatchEggScreen Pokémon sprite scale 2022-09-22 12:20:38 +02:00
JappaWakka f40413e4b2 Fixed bug related to water animations 2022-09-22 12:13:46 +02:00
JappaWakka c695a8c57d Fixed attack description outside box & sfx no stop 2022-09-20 14:33:09 +02:00
JappaWakka 43bfc04eff GameModes can now have different BerryData 2022-09-19 17:48:36 +02:00
JappaWakka 5209a6e768 Fixes to scale and positioning of Pokémon sprites 2022-09-15 21:11:13 +02:00
JappaWakka fd93f96cbc Rewrote a huge part of musicplayer, works now! 2022-09-13 21:01:55 +02:00
JappaWakka 4c92f343d7 Hopefully this'll fix some issues (description)
Pokémon without a CatchMethod or CatchLocation get defaulted to "Somehow obtained at" and "an unknown place" respectively.
2022-09-10 16:17:55 +02:00
JappaWakka d3c7c07a18 Removed contentpath from GameMode selection 2022-09-07 21:26:57 +02:00
JappaWakka 3cd4b43c4b Contentpacks with fonts work better now! 2022-09-07 17:13:33 +02:00
JappaWakka 9e86665e58 Added SaveOnly map tag
A map tag that disables the PokeGear and all of the menu options except Save while on the map
2022-08-29 13:01:56 +02:00
JappaWakka 531137c157 Fix softlock when pausing during catching
And a minor typo in the code
2022-08-18 14:55:52 +02:00
JappaWakka 142f2b2899 Updated/Fixed Storage System Screen sprites/models 2022-08-16 20:23:48 +02:00
JappaWakka a97ec60082 Fixed pokemon icon size in Hall of Fame screen 2022-08-12 17:10:51 +02:00
JappaWakka 8b5f3f93b6 Fixed level up screen text position and icon scale 2022-08-12 10:48:54 +02:00
JappaWakka f9a8c7fede Fixed catch location text cropping 2022-08-12 10:39:50 +02:00
JappaWakka b42e69f736 Visual bugfixes (Pokémon front/back/menu sprites) 2022-08-11 21:21:27 +02:00
JappaWakka d21f97c7b5 Various visual fixes
Fixed Pokémon icon size in various screens
Aligned the partially transparent black shape of the JoinServerScreen better
2022-08-09 20:13:03 +02:00
JappaWakka 9772dc452a Updated font and text positioning trainer card 2022-08-01 17:19:56 +02:00
JappaWakka 8a8e8fe8c3 Fixed MainMenu not resetting or applying Textures
After quitting a gamemode or after applying contentpacks
2022-08-01 17:19:23 +02:00
Jasper "JappaWakka" Speelman b258139ee8 Added Egg Hatch command
Format:
@Pokemon.Hatch(PartyIndex,[CanRename],[Message])

Description:
If the Pokémon specified in the PartyIndex argument is an egg, it hatches immediately

Arguments:
PartyIndex (int) - Index of a Pokémon in the player's party. Values can range from 0-5.
CanRename (bool) - Optional. Whether the player can rename the Pokémon or not after it hatches.
Message (str) - Optional. The message to display after the Pokémon hatches.
2022-07-22 17:32:09 +02:00
Jasper "JappaWakka" Speelman d1698db4ba Fix tokens not being reload after exiting gamemode 2022-07-22 14:46:18 +02:00
darkfire006 30a59646a8 fix wrong evolutions 2022-07-15 00:24:40 -05:00
JappaWakka 352b80db9c Any entity can have a model, model scale improved
0.1 meter in blender is now equivalent to 1/16th of a P3D unit or 1 pixel on a 16 pixels wide/tall texture. Mt Silver will need to be updated to match this scale, making the ModelEntity obsolete.

Also added Snorlax battle model
2022-07-13 00:12:16 +02:00
darkfire006 673472d424 make daycare cycles normal length again 2022-07-12 09:13:49 -05:00
JappaWakka 960c82e940 Fixed audio settings reset in the in-game options 2022-07-10 10:26:36 +02:00
darkfire006 7bff97b3f6 Update Daycare.vb
fix crash when breeding w no item
2022-07-08 16:23:51 -05:00
Jasper "JappaWakka" Speelman ed4714710e Fixed incorrectly scaled icons in summaryscreen 2022-07-08 13:41:07 +02:00
darkfire006 3345bf5ffc Engine changes to support Regional forms 2022-07-07 23:06:32 -05:00
JappaWakka 25173a22c4 Fixed OptionScreen auto-applying Audio settings 2022-07-06 21:26:13 +02:00
JappaWakka 7e5a433917 Various fixes for visual bugs 2022-06-26 19:59:12 +02:00
darkfire006 af62a74a9d 0.59 pre-release commit
update version, credits, and security numbers
2022-06-24 13:40:33 -05:00
JappaWakka 9ff6e94a1f ContentPack fixes
* Fixed ContentPack menu crashing when trying to load more than 5 Content Packs
* Fixed Texture Replacements in exceptions.dat being ignored if not the same case
* Fixed minor visual bug in the Box screen where smaller textures would be scaled incorrectly
2022-06-22 21:02:11 +02:00
JappaWakka a73bbee55b Revert "Revert "Fix for invisible ball in certain maps""
This reverts commit 49dd67c012.
2022-06-22 20:57:35 +02:00
JappaWakka 49dd67c012 Revert "Fix for invisible ball in certain maps"
This reverts commit 75bc2b7b7c.
2022-06-22 18:12:25 +02:00
JappaWakka 75bc2b7b7c
Fix for invisible ball in certain maps 2022-06-22 11:15:53 +02:00
darkfire006 638de718ed fix new game end of intro and wrong default gamemode 2022-06-19 16:04:35 -05:00
JappaWakka 0bf30358da Rival rename texture bug fix 2022-06-17 16:31:05 +02:00
JappaWakka dab417e190 DiamondDive WaterFall fix and other fixes
Added @player.stopmovement before waterfall scripts to make sure the player doesn't move further than they should
Fixed spelling error in code: NotifcationTypes -> NotificationTypes
Added commands to ScriptLibrary that were missing
2022-06-14 18:12:29 +02:00
JappaWakka c6c7ef236d Fix for texture bugs
Rival rename texture bug, potential Trainer texture bugs and Player rename texture bugs fixed
2022-06-11 14:46:21 +02:00
JappaWakka 747de3e221
Merge branch 'master' into custommoves 2022-06-10 10:26:10 +02:00
JappaWakka 813992bf51 Fix positioning of values in move summary screen 2022-06-09 13:35:54 +02:00
JappaWakka 41615fb562 Fixed GameJolt save gender saving and loading bug 2022-06-09 11:13:50 +02:00
JappaWakka c22f7d3894 If BattleAnimations = 0, skip catch animations 2022-06-06 15:00:18 +02:00
JappaWakka bc37be1374 Fix for menu screen crash 2022-06-04 16:12:03 +02:00
JappaWakka 537226be76 Map fixes and File Validation message fix 2022-06-04 15:12:29 +02:00