Commit Graph

258 Commits

Author SHA1 Message Date
JappaWakka f7fd221ce9 Fix ForceCameraTurn 2023-10-10 09:47:05 +02:00
JappaWakka 3468db7f21 Allow for different animated backdrops 2023-10-05 13:36:02 +02:00
JappaWakka 241cb8af9c Fix NPCs updating too often 2023-10-03 09:43:58 +02:00
JappaWakka 5747c2f1ce Added pkmn gender constructs + fix hidden grotto 2023-09-03 18:47:15 +02:00
JappaWakka 062b14220c More effectively parse pkmn add commands 2023-08-31 16:39:07 +02:00
JappaWakka 0eddb70011 Bring back fading out music with switching maps 2023-08-29 19:20:54 +02:00
JappaWakka 13493287ba Fix localization bugs 2023-08-11 12:06:07 +02:00
JappaWakka f92373d447 Add @Entity.SetModel(ID,ModelPath) 2023-08-09 20:22:36 +02:00
JappaWakka 15f57d8bc5 Make plural names localizable + item found 2023-08-09 16:20:16 +02:00
JappaWakka 59b2205418 Remove linebreak in item name if it's there 2023-08-09 14:46:15 +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
JappaWakka 78cd53d745 Added <system.scripttrigger>
Returns what triggered the current script (NPCInSight, NPCInteract, ScriptBlockWalkOn, ScriptBlockInteract, Notification, PhoneReceive, PhoneCall, StartScript, ScriptCommand, StrengthTrigger, MapScript, ChatCommand).
2023-08-06 16:17:05 +02:00
darkfire006 d9473e5454 reset call flag to blank after script 2023-08-06 00:17:43 -05:00
JappaWakka e8e27c727e Voltorb Flip coin case cap won't prevent game 2023-08-01 20:05:52 +02:00
JappaWakka 3e51436c0e Make Mailman Trophy achievable 2023-08-01 11:17:54 +02:00
JappaWakka d66da7f1e8
Merge pull request #201 from jianmingyong/BasicEffectWithAlphaTest
Add BasicEffectWithAlphaTest
2023-07-30 13:28:06 +02:00
Yong Jian Ming 7cd60cc3ad
Add BasicEffectWithAlphaTest 2023-07-30 18:05:08 +08:00
JappaWakka 84313dc429 Fix some things related to pokémon commands 2023-07-30 10:39:48 +02:00
JappaWakka 6fe581dff9 Add @player.removefrontieremblem(str,bool) 2023-07-28 13:06:04 +02:00
JappaWakka bded481df8 Customizable Frontier Emblems 2023-07-28 12:35:00 +02:00
JappaWakka 5c3cbe89c1 Last argument notificationpopup forces accept
Also you can't move or turn the camera when a notificationpopup is forced
And you can't pitch the camera up and down anymore while in a script
2023-07-27 15:50:45 +02:00
JappaWakka 72bdc2976a Fixed @entity.setscale for entities with model 2023-07-26 09:30:47 +02:00
JappaWakka af2831673e Mail sender name and ot constructs 2023-07-25 14:11:41 +02:00
JappaWakka fdcbdfa62b Add mail delete menu + modern buttons 2023-07-25 12:48:43 +02:00
JappaWakka b73023e416 Forgot to actually set the pokedexdata 2023-07-22 21:17:37 +02: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 7b06b2571a Fix @Player.TurntoAsync for thirdperson 2023-07-22 11:23:27 +02:00
JappaWakka d9fe5cdb09 Fix localization tokens for catchlocation/method 2023-07-21 16:32:08 +02:00
JappaWakka c3fb81a4c4 Pokédex evo/form screen progress 2023-07-21 16:30:12 +02:00
JappaWakka 1a4de5bc97 Form name only when mega evolve or in pokedex
Also:
Added form switch tip in pokedex
Turned some single positions into integers in pokedex
2023-07-18 18:38:36 +02:00
JappaWakka fad33eaa4a Pokédex form support progress 2023-07-12 20:09:06 +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 4a7c89cf53 Update ScriptLibrary 2023-06-30 17:56:26 +02:00
JappaWakka d190ef524d @Player.AddCoins max 50000 + voltorb flip bugfix 2023-06-30 15:45:44 +02:00
JappaWakka 20e456ead8 Return regular pokémon name if no nickname 2023-06-27 15:50:57 +02:00
JappaWakka 4d65d4bbc8 Fix some commands & script library 2023-06-26 19:23:13 +02:00
JappaWakka a24568cd41 Added @Pokemon.LevelUp(LevelAmount)
This command levels a Pokémon up by the amount of levels (integer) specified in LevelAmount.
If a Pokémon could learn one or more moves on any of the levels between its original level and its level after the command, the command will allow the player to teach each of those moves.
2023-06-22 14:28:12 +02:00
JappaWakka 9971ed1d5f Added @Pokemon.AddEV(pokeIndex,evStat,evValue)
Adds the evValue argument to the Effort Value stat of a Pokémon in the player's party and makes sure it's legal.
2023-06-17 11:51:35 +02:00
JappaWakka 0e8170a449 @Music.ForcePlay(song) & @Music.Unforce
@Music.ForcePlay(song)
Changes the currently playing music to a new one and prevents the music from being changed by warps or surfing/riding and such.

@Music.Unforce
Allows warps and surfing/riding etc. to change the music again.
2023-06-17 11:37:08 +02:00
JappaWakka 31834572b0 Reset level when exiting voltorb flip screen 2023-06-12 18:08:25 +02:00
JappaWakka 2e0966dd04 Reset Camera speed for run or ride in scripts 2023-06-11 20:36:41 +02:00
JappaWakka b91a5f586f Removed unused tokens 2023-06-09 12:11:03 +02:00
JappaWakka 09be466c3c Fixed the build error because of script v1 2023-06-08 16:14:48 +02:00
JappaWakka f627d9dd55 Update ScriptLibrary 2023-06-08 11:02:48 +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 4805bb2836 Made NPC Trade CatchMethod & Location localizable
Also fixed catchlocation with Pokémon add commands
2023-06-04 18:18:33 +02:00
JappaWakka 6e1d409a9d Made CatchLocation And CatchMethod Localizable 2023-06-02 10:56:58 +02:00
JappaWakka 315d250405 Added <player.name> to the pokemon add commands 2023-06-01 16:02:04 +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
darkfire006 4e4b1bac73 add juice properties to berries 2023-05-30 17:54:26 -05:00
darkfire006 a11f46dcd6 coin scripts 2023-05-29 20:33:16 -05:00
darkfire006 ddbbd21043 allow coins to be used in shops and track as stats 2023-05-29 20:32:57 -05:00
JappaWakka d13b5eb8d3 GameMode Item Preparations
Implemented GameMode Mega Stones
2023-05-29 15:33:57 +02:00
JappaWakka 348ba89b15 Add localization for Voltorb Flip and Coin Case 2023-05-27 16:52:36 +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 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 c8cf5caeac Fix Structure offset inside another structure 2023-05-13 19:58:12 +02:00
JappaWakka ba2a970b11 Make it possible to spawn NPC w/ rival/playerskin 2023-05-09 18:27:27 +02:00
JappaWakka b23c0455e6 Added missing run key from <system.button(str)> 2023-05-02 11:26:14 +02:00
JappaWakka 52ee3da1a2 @npc.spawn has argument for moverectangles now 2023-04-28 09:21:04 +02:00
JappaWakka 489af57626 Hopefully fix waterfalls this time 2023-04-20 15:54:53 +02:00
JappaWakka b12ae2026d Fix namerater inconsistencies 2023-04-03 19:22:42 +02:00
JappaWakka 17ef30605c Fixed wrong bugcatchingconstest item pickup type..
By adding the IsOutside map Property
2023-04-01 09:15:57 +02:00
JappaWakka 2f0cccb052 Entering battle without pokémon triggers blackout 2023-02-26 17:16:39 +01:00
JappaWakka daef33a886 Prevent wild & trainer battles without pokémon
when the player has no Pokémon in their team, wild and trainer battle commands don't do anything
2023-02-26 15:26:07 +01:00
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