62 Commits

Author SHA1 Message Date
JappaWakka
f79ccb2a20 Fix Exp. All state not loaded when load game 2025-02-11 11:21:53 +01:00
JappaWakka
aa7dbc3f20 Don't save RunToggled as true if in hold mode 2025-01-29 09:26:18 +01:00
JappaWakka
b85e6162d9 Make the game remember if running was toggled 2025-01-28 11:55:52 +01:00
JappaWakka
9b942ab977 Expanded @Script.Delay with ItemCount DelayType
Also made each Script Delay be defined with an identifier so you can have multiple delays running at the same time!

* arg0 = Identifier
* arg1 = Script Path
* arg2 = Delay Type (Steps, ItemCount)
// Steps
* arg3 = Amount of steps
* arg4 = Whether to display the remaining steps in the start menu
//ItemCount
* arg3 = Item ID
* arg4 = Compare Type (Equal, Below, EqualOrBelow, Above, EqualOrAbove)
* arg5 = Item Amount

With the ItemCount type you can run a script when you do or do not have a certain amount of items
2024-12-28 19:26:01 +01:00
JappaWakka
04ae735b18 Added some .ToLower to Player savedata readings 2024-08-31 16:33:56 +02:00
JappaWakka
2c9a1ebc61 Implement Exp. All Key Item 2024-08-31 16:32:35 +02:00
JappaWakka
1e0fb98359 Fix wild encounters skipping trainer battles 2024-08-20 12:29:11 +02:00
JappaWakka
15ee853001 Added additional Warp SFX, fixed HoleBlock + sfx 2024-07-05 11:11:33 +02:00
JappaWakka
6f41946e21 Added @Player.DoWalkAnimation(bool)
Enables or disables the player's walking animation when walking or during a @player.move command.
2024-07-04 19:43:05 +02:00
JappaWakka
8479bd0fc3 Added some more text replacements 2024-05-10 18:07:31 +02:00
JappaWakka
224f9c87d7 Fix certain forms crashing pokédex 2024-04-23 11:00:32 +02:00
JappaWakka
62f6605a0f Fix some roamer bugs and crashes 2024-04-04 18:36:36 +02:00
Jasper Speelman
fdc89e31e8
Merge pull request #204 from P3D-Legacy/0.61-implementations
0.61 implementations
2024-03-28 18:03:51 +01:00
JappaWakka
f49eba341e Fix achievements not being loaded before checking 2024-02-17 11:40:38 +01:00
JappaWakka
1fbe0a14ad Move MailMan check to Player.Inventory.AddItem 2024-02-09 17:51:09 +01:00
JappaWakka
a5e68a153a Implement Custom Types 2023-12-10 20:19:14 +01:00
darkfire006
453c041199 remove archaic hotfixes and up OT clamp to 6 digits 2023-12-07 01:18:11 -06:00
JappaWakka
c0101a122a Replaced script steps thing with @script.delay
@Script.Delay(ScriptPath,DelayType,DelayValue)
Executes a script file after something happened (like having moved a certain amount of steps)

@Script.ClearDelay(ScriptPath,DelayType,DelayValue)
Clears the register created with @script.delay, preventing the script from being executed.

<script.delay(ReturnType)>
Returns a different thing depending on what you write for ReturnType:
"type" - returns what kind of trigger the script delay uses (only "steps" atm)
"script" - returns the script that will be executed after the delay ended
"value" - returns when the trigger ends, like how many steps are left for example
2023-10-30 13:28:30 +01:00
JappaWakka
dae406f887 Added Step Script commands & constructs
@Player.SetScriptSteps(stepAmount,scriptPath)
Executes a script file after having moved the given amount of steps.

@Player.ClearScriptSteps
Clears the register created with @Player.SetScriptSteps, preventing the script from being executed.

<Player.ScriptSteps>
Returns the amount of steps before the script as defined by @Player.SetScriptSteps is executed.
2023-10-29 17:59:39 +01:00
JappaWakka
edf225189d Fix for item messagegive 2023-08-10 10:31:57 +02:00
JappaWakka
d7b08ca349 Don't forget item categories in receive message 2023-08-09 14:54:17 +02:00
JappaWakka
152422903d Placed a ) in the wrong spot & forgot a space 2023-08-09 14:42:25 +02:00
JappaWakka
f8c63948d4 Localizable receive items and berries messages 2023-08-09 14:26:26 +02:00
darkfire006
a5c6144ebf fix crashes related to forms in the dex 2023-08-06 19:59:25 -05:00
JappaWakka
22cedcd6c7 Added @Pokedex.ChangeEntry(str,int,bool)
@Pokedex.ChangeEntry(PokeID,EntryType,ForceChange)

PokeID [str] = the Pokémon ID: number (e.g. 19) + optionally Data File Suffix (e.g. 19_alola) or AdditionalValue (201;0)
EntryType [int] = the type that the entry needs to be set to: 0 (undiscovered), 1 (seen), 2 (seen + caught) or 3 (seen + caught + shiny)
ForceChange [bool] = if this is set to true, the game doesn't check whether the Pokédex entry is lower than EntryType before setting it
2023-07-22 20:47:07 +02:00
JappaWakka
fab813c799 Form dex access fix 2023-07-21 17:32:20 +02:00
JappaWakka
c3fb81a4c4 Pokédex evo/form screen progress 2023-07-21 16:30:12 +02:00
darkfire006
3cadf51c31 increase max size of the dex for Gen 9 pre DLC 2023-07-17 17:05:41 -05:00
JappaWakka
6520377758 DexForm progress 2023-07-15 16:12:17 +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
darkfire006
40b844e4d9 allow for saving and loading of coins 2023-05-29 20:31:42 -05:00
JappaWakka
d13b5eb8d3 GameMode Item Preparations
Implemented GameMode Mega Stones
2023-05-29 15:33:57 +02:00
JappaWakka
cf437a1e88 Only play poison sound with poisoned pokémon 2023-05-02 13:36:57 +02:00
JappaWakka
77cfefd598 Play sound when poison pokémon lose hp when walk 2023-05-02 13:31:20 +02:00
JappaWakka
b02542ff67 Fix offline savegames not reset when quit new game 2023-04-28 09:20:27 +02:00
JappaWakka
09da089212 Fix overworldpoison 2023-04-28 09:13:04 +02:00
JappaWakka
bd647ef071 Forgot to save Player.vb 2023-02-26 12:48:42 +01:00
JappaWakka
a371268441 Remove Pokémon if it faints due to poison damage..
with the DeathInsteadOfFaint GameRule set to 1
2023-02-26 12:38:25 +01:00
JappaWakka
74d5981c22 Fixed items not being removed from inventory 2023-01-30 19:45:36 +01:00
JappaWakka
4054e7bcaa Added Harder Difficulty Gamerules + Fix OW Poison 2023-01-13 17:35:54 +01:00
JappaWakka
53e77a1c98 Added blackoutscreen when all fainted by poison 2023-01-13 17:30:44 +01:00
JappaWakka
728739760d Added GameRule "OverworldPoison"
if set to 0, no overworld poison (default)
if set to 1, overworld poison until fainted
if set to 2, overworld poison until 1 hp, then it's cured
2023-01-06 12:16:41 +01:00
JappaWakka
d2d4736039 Corrected egg hatch message 2022-09-29 20:34:18 +02:00
JappaWakka
41615fb562 Fixed GameJolt save gender saving and loading bug 2022-06-09 11:13:50 +02:00
JappaWakka
80432aea46 Fixed bug with localization tokens (description)
When returning to the main menu, the localization tokens were not getting reset to their default values.
2022-06-02 16:02:54 +02:00
JappaWakka
c1759499e4 Fixed the bug in the description
If you use the @environment.setdaytime(int) command and go back to the main menu, the daytime does not change reset to the system time, causing the main menu to show the wrong background color (e.g. Morning while it is evening)
2022-05-24 22:20:58 +02:00
JappaWakka
a017bb653d Added option for running hold/toggle mode 2022-04-19 12:05:00 +02:00
JappaWakka
a654d80a85 Using the running shoes and using ctrl to walk through walls in sandbox and debug mode is not a toggle instead of a hold 2021-10-13 20:18:26 +02:00
JappaWakka
9def5642e8 Lots of QoL changes
- You can now run up and down a slideblock.
- NPC movement type Straight is now less random and more smooth.
- When renaming the rival, the skin visible at the top changes to whatever skin is set as the rivalskin. This way, the rival is not stuck with one skin. This can be useful when the rival's skin changes based on the player's gender for example.
- Text messages that contain <token.tokenname>, where tokenname is a string from the localizations files, have the part between the <> replaced with that string now.
- Text messages that contain <button.buttonname>, where buttonname is one of the controls defined in "Saves\Keyboard.dat", will now have the part between the <> replaced with the key assigned to that control.
- Players can now be genderless instead of only either male or female in scripts.
- Which skins are available in the intro is now defined in the GameMode's definition file instead of being hard-coded
- Old New Game intro now uses the player skin data from the GameMode definition file
- The Pokémon in the old New Game now doesn't fall too far down anymore
- Scripts adjusted to match the new gender functionality
2021-10-01 15:19:04 +02:00