206 Commits

Author SHA1 Message Date
JappaWakka
ed6d2d6f11 Make <system.button()> and KeyBindings consistent 2025-07-02 15:02:06 +02:00
JappaWakka
b03fa9f0fc Added BlackOutScript actions map tag
{"BlackOutScript"{str[ScriptPath]}}
will execute the specified script after blacking/whiting out
2025-07-01 08:00:54 +02:00
darkfire006
96ffc3e85b first and biggest Pike commit!
win conditions for challenge not done, only 2/9 room types scripted and need npcs in the 3 rooms and then copied. Endless mode needs to be configured from being a copy of challenge
2025-06-29 23:12:04 -05:00
JappaWakka
ff1d21f115 Added @System.ReplaceTextures(File) ...
With this command you can add texture replacements similar to how a content pack replaces textures.
This is especially useful when, for example, you have multiple supported languages and want to replace certain textures with localized versions.
The file that is required is in the same format as the exceptions.dat file in content packs, but only supports texture replacement entries.
The replaced texture list is cleared when quitting the current save game.
Content Packs should still work, even with the replaced textures.
2025-05-29 17:20:52 +02:00
JappaWakka
ff50de4bdd Forgot to add IsReady to setdifficullty command 2025-04-18 14:41:46 +02:00
JappaWakka
41c5d35864 Add @Player.SetDifficullty(int) command 2025-04-17 19:30:56 +02:00
JappaWakka
17c559d723 Forgot a thing 2025-03-28 14:32:35 +01:00
JappaWakka
1c9effb03f Handing over items is localizable 2025-03-17 19:15:37 +01:00
JappaWakka
d01af0ad9d Prevent crash if clearing nonexistent scriptdelay 2025-02-22 12:41:38 +01:00
JappaWakka
253e4b50f3 Failsave for money command 2025-02-21 15:28:41 +01:00
JappaWakka
cee683452e Pokémon Properties translatable
* Summary Screen
* Catch Method & Location
* Ability Names & Descriptions
2025-02-16 10:51:54 +01:00
JappaWakka
d529b58409 More PkMn Selection translatability 2025-02-15 13:48:22 +01:00
JappaWakka
574a3eb8eb Fix for pokédex descriptions and species 2025-02-13 09:50:50 +01:00
JappaWakka
e62791ca05 Did the Pokédex entries and species the right way 2025-02-12 15:51:12 +01:00
JappaWakka
52bd699e34 Pokédex entries and species are now translatable 2025-02-12 13:30:45 +01:00
JappaWakka
885f7f80d6 Reset textcolor upon game exit, update Scr.Library 2025-02-03 17:38:04 +01:00
JappaWakka
37cc3a7556 Fix some pokédex constructs and add 2 new ones...
Also update the scriptlibrary for dopokedex.
`<Pokedex.PokemonCaught(ID)>` Returns if the specified Pokémon has been caught.
`<Pokedex.PokemonSee(ID)>` Returns if the specified Pokémon has been seen.
2025-01-28 11:17:53 +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
369cd8a187 Make Keyboard key names translatable
For the <system.button()> construct
2024-12-20 11:34:34 +01:00
JappaWakka
13a47b5276 Fixed bug where construct didn't return anything
Forgot to add Return to ReturnBoolean() for <Level.LoadOffsetMaps>
2024-12-16 16:32:09 +01:00
JappaWakka
c19a7b06cd Scriptlibrary tweaks 2024-11-03 19:36:07 +01:00
JappaWakka
9522656df9 Added <Player.LastRestPlace> construct
Returns the last rest location the player has visited in the following format: "map.dat,x,y,z".
2024-09-28 10:06:55 +02:00
JappaWakka
10cc749328 Add @NPC.SetScale(npcID,X,Y,Z)
Works the same way as @Entity.SetScale()
2024-09-20 10:55:06 +02:00
JappaWakka
e81237bd64 Support for forms in cries and interactions 2024-08-25 18:32:06 +02:00
JappaWakka
93f8d63aaf ModelPath can be parsed for constructs 2024-08-14 14:47:44 +02:00
JappaWakka
e065eb575a Added <Level.LoadOffsetMaps>
(Bool) Returns if OffsetMaps are being loaded (based on the Offset Map Quality option in the Options Menu).
2024-08-14 14:10:18 +02:00
JappaWakka
6908c4a72d Fix battle intro music looping + command fix 2024-07-25 10:43:16 +02:00
JappaWakka
46cb18974d Fix warp sound for 2 arguments in command 2024-07-21 14:48:55 +02:00
JappaWakka
c2bb993a40 Prevent freeze if error in overworldpokemon cmd 2024-07-16 12:45:41 +02:00
JappaWakka
36ba9c6875 Added some missing commands to the scriptlibrary 2024-07-14 18:37:27 +02:00
JappaWakka
b53ee169e5 Added command @Player.RemoveItemData()
@Player.RemoveItemData(LevelPath,ItemIndex)
Makes the specified item index of the specified map spawn again after it has been found.
LevelPath (str) - Path to the map file (including .dat) relative to "Content\Maps\"
ItemIndex (int) - Index of the ItemObject on the map (first argument in the object's AdditionalValue)
2024-07-14 17:29:13 +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
f4354a9922 Make it possible to check if pkmn can learn attack
@pokemon.select has an extra argument. If it is set to an attack ID, it will be visible which Pokémon can learn that move while selecting.

Added @Pokemon.CanLearnAttack(PartyIndex,AttackID)
Returns if the Pokémon can learn the specified move.
2024-05-14 11:02:47 +02:00
JappaWakka
8479bd0fc3 Added some more text replacements 2024-05-10 18:07:31 +02:00
JappaWakka
d5d291bdda Added @Player.QuitGame(doFade) command
Quits the game and goes back to the Main Menu (with optionally a fade out and in)
2024-04-26 09:51:59 +02:00
JappaWakka
0d36580015 Make <Pokedex.DexSeen(int)> include caught 2024-04-24 19:12:57 +02:00
JappaWakka
2d65ce8ce1 Hopefully fix the regionweather changing later 2024-04-24 18:31:02 +02:00
JappaWakka
81f05a3bd1 Added <System.FileExists(FilePath)> construct
Returns if the specified file (including extension) exists (relative to the GameMode's ContentPath).
2024-04-22 19:25:07 +02:00
JappaWakka
86428f8055 Add construct <Pokemon.FullyHealed([partyID])>
Checks if a specific Pokémon or all Pokémon in the party are fully healed.
2024-04-21 09:10:23 +02:00
JappaWakka
a0fd0f061a Fix @pokemon.setstatus to none 2024-04-07 19:49:27 +02:00
JappaWakka
1bef17409e Add <Pokemon.IsRoaming(RoamerID)>
Checks if the given roaming Pokémon is still active.
2024-04-07 08:56:49 +02:00
JappaWakka
86cdffdd76 Name of Attack is shown after TM/HM item name...
and when you @item.messagegive an HM, the Receive_HM jingle plays as well
2024-04-06 19:30:15 +02:00
JappaWakka
62f6605a0f Fix some roamer bugs and crashes 2024-04-04 18:36:36 +02:00
JappaWakka
65ec57d27b Change RoamingID from int to str 2024-04-04 17:52:47 +02:00
JappaWakka
f280c5718c Update @Pokemon.NewRoaming(...) command...
@Pokemon.NewRoaming(RoamerID,PokémonID,Level,regionID,startLevelFile,MusicLoop,[Shiny],[ScriptPath])

RoamerID & ScriptPath are new.
* RoamerID (int) = A required identifier for the roaming Pokémon, can be used in scripts.
* ScriptPath (str) = Path to a script file to execute after every encounter with any roaming Pokémon
2024-04-04 17:49:46 +02:00
JappaWakka
2cbe35552c Roamers can have forms now 2024-04-04 09:48:25 +02:00
JappaWakka
88d72bb451 Implemented script after catch or defeat roamer 2024-04-02 11:06:33 +02:00
JappaWakka
9ffa127999 Correct script library command 2024-04-01 20:08:25 +02:00
JappaWakka
8b0b977665 Made it possible to fade into @music.forceplay 2024-03-29 18:54:53 +01:00