Commit Graph

140 Commits

Author SHA1 Message Date
JappaWakka 300aa87738 Fixed slideblock and waterfall 2023-02-12 18:57:20 +01:00
JappaWakka 48d3a0505b Weather render distance and color tweaks 2023-01-23 12:17:57 +01:00
JappaWakka 686cef84fe Tweaked weather colors and chances 2023-01-17 19:27:15 +01:00
JappaWakka aa982addbe Fixed Pokémon still encountering with debugwalk 2023-01-15 19:45:29 +01:00
JappaWakka f2e093072e Added failsave to fix missing Level music crash 2023-01-13 14:13:44 +01:00
JappaWakka 65e9fddb6d Stop player's money from being negative 2022-12-31 22:03:25 +01:00
JappaWakka 73727edb6c Added @Player.RemoveMoney(int) 2022-12-31 21:04:11 +01:00
JappaWakka 0432aff0e7 @Player.ShowBattleAnimations(0 or 1)
Enables or disables battle animations
2022-12-26 21:02:52 +01:00
JappaWakka 7468fb38b1 Really fix invisible offsetmapfloors 2022-12-19 06:28:02 +01:00
JappaWakka cef17ea173 Fix invisible offsetmapfloors overwriting 2022-12-19 06:08:31 +01:00
darkfire006 96f9c056b1 Revert "Fix invisible floors overwriting visible floors"
This reverts commit 4511946f27.
2022-12-18 22:57:10 -06:00
JappaWakka f3633cc0d8 Whirlpool animation textures can now be modified
Also removed a tag that wasn't used
2022-12-18 14:42:09 +01:00
JappaWakka 3dba6774d4 Foggy, Blizzard & Thunderstorm weather fixes
* During weather that reduces fog distance, fog has the correct color now based on time of day and environmenttype
* During Blizzard & Thunderstorm, the clouds are now partially transparent to blend in better with the thick fog
2022-12-10 14:03:20 +01:00
JappaWakka cc4b50f059 Check the right time 2022-12-08 17:19:54 +01:00
JappaWakka 05de30faed Fix renderdistance with different daytimes 2022-12-08 17:09:47 +01:00
JappaWakka 55412e3286 Correct some comments 2022-12-06 19:03:37 +01:00
JappaWakka 7dcc423480 Added command to change the EnvironmentType
@Environment.SetEnvironmentType(ID)

This command temporarily sets the "EnvironmentType" parameter of the current map until a map change, which also changes the sky texture and sometimes adds particles. Value can be 0-5.
0 = Outside
1 = Inside
2 = Cave
3 = Dark (also makes all entities darker)
4 = Underwater (adds air bubble particles)
5= Forest
2022-12-06 19:03:23 +01:00
JappaWakka 4ed95f00c1 Finally made LightingType 6 function correctly 2022-11-26 14:41:30 +01:00
JappaWakka 4511946f27 Fix invisible floors overwriting visible floors 2022-11-18 15:08:14 +01:00
JappaWakka 8ea37604eb @Screen.ShowImage can now scale depending on size 2022-11-15 14:56:54 +01:00
JappaWakka ac5fa28483 Added arg to force camera rotation (in 3rd person) 2022-11-02 11:49:46 +01:00
JappaWakka 3855f806bd Player is not transparent now when starting script 2022-10-18 16:04:26 +02:00
JappaWakka 57e145b668 Added argument to play a song that doesn't loop 2022-10-18 16:02:28 +02:00
JappaWakka e9b4234add Fixed fogcolor based on lighting, not daytime 2022-10-16 20:31:07 +02:00
JappaWakka 7ca13b1a8d Fixed lightingtype 1 not disabling lighting 2022-10-08 20:36:59 +02:00
JappaWakka 653fc249d1 Added PreventMovement property and commands
"@player.preventmovement" Makes the player unable to move, while still keeping control over the menu, interactions etc.
"@player.allowmovement" Gives the player back their ability to move.
2022-09-29 21:27:44 +02:00
JappaWakka d2d4736039 Corrected egg hatch message 2022-09-29 20:34:18 +02:00
JappaWakka 6bb3f596ca Level changing to wrong daytime fix 2022-09-22 18:47:57 +02:00
JappaWakka ff35093697 Fixed daytime resetting to wrong daytime 2022-09-22 12:14:20 +02:00
JappaWakka 397ae27832 Actually fixing aurora sky 2022-09-16 11:07:43 +02:00
JappaWakka 3f3836cb6f Probably fixing aurora sky 2022-09-16 11:06:20 +02:00
JappaWakka b9a7183166 Typo fixes and incorrect comments 2022-09-15 21:12:12 +02:00
JappaWakka 9c611b9339 Fixed shader entity daytime behaviour 2022-09-01 22:21: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 9ebfb0c491 Current season can now be set in map tags 2022-08-21 19:29:26 +02:00
JappaWakka 336bbf4f12 Offsetmaps can now have singles for position 2022-08-21 19:27:26 +02:00
JappaWakka 3c78459f7c Improved blizzard and thunderstorm weather skies 2022-08-16 19:02:02 +02:00
darkfire006 f4691fe20d allow forms in the @battle.wild() script 2022-08-09 10:35:24 -05:00
darkfire006 bae3a28431 Revert "Remove caps from registers"
This reverts commit 7310e3cd13.
2022-08-09 10:34:56 -05:00
darkfire006 8bdb1e9858 Revert "Registers are now case insensitive"
This reverts commit f09cd7d644.
2022-08-09 10:34:44 -05:00
darkfire006 7310e3cd13 Remove caps from registers
re Strength triggers and time registers
2022-08-06 21:49:50 -05:00
JappaWakka 0695ff6491 Fixed HatchEgg command adding 2 pokémon 2022-07-31 19:59:47 +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
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 a6070ea479 use correct shininess value for roaming mons 2022-07-12 09:14:11 -05:00
JappaWakka 1b3218bb67 Added fadein/fadeout limit argument
@Screen.ScreenFadeColor also defaults to Black if there's no argument
2022-07-07 19:32:25 +02:00
JappaWakka 88ac7fc687 Added some missing commands to the scriptlibrary 2022-07-07 19:03:19 +02:00
JappaWakka f09cd7d644 Registers are now case insensitive 2022-07-07 19:03:02 +02:00
darkfire006 a8920ab6fb region and regionalform envir constructs 2022-07-05 23:45:03 -05:00
darkfire006 56dff589e6 add regional form level tag 2022-07-05 23:44:43 -05:00