560 Commits

Author SHA1 Message Date
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