Commit Graph

225 Commits

Author SHA1 Message Date
JappaWakka 85bcb52780 Added @Level.SetRideType(int) command
Sets the Ride Type of the current map.
Possible values for "int": 0 = Depends on CanDig and CanFly tags, 1 = Can ride, 2 = Can not ride, 3 = Can't stop riding once started
2023-12-27 18:55:48 +01:00
JappaWakka 3f1b7ffc0c Added @Pokemon.Ride([pokeIndex[) command
@Pokemon.Ride([pokeIndex])
Makes a Pokémon in the player's party use the field move Ride. If the argument is left empty, the first Pokémon who knows Ride gets selected.
pokeIndex (int) [optional, defaults to -1] = the party index of a Pokémon
2023-12-27 17:13:00 +01:00
JappaWakka 845464f03c Added @Item.Use(ItemID) command
@Item.Use(ItemID)
Uses the specified item if the player has it.
2023-12-27 17:10:54 +01:00
JappaWakka 168255e1a0 If level RideType = 3, no stop once riding/biking 2023-12-27 17:09:25 +01:00
JappaWakka a1c3c6f9da Added <Pokémon.LevelAttacks(id,maxLv)> construct
<Pokémon.LevelAttacks(Index,[MaxLevel])>
Returns a string of every move the Pokémon can learn at or below a certain level
* Index (int) = Index of a Pokémon in the player's party
* MaxLevel (int) [optional] = Every move the Pokémon can learn at or below the level specified by this argument is added to the string. When this argument is left out or set to "-1", it will default to the Pokémon's current level.
2023-12-16 15:59:32 +01:00
JappaWakka e2d0996ffd Make it possible to reset the Pokémon status 2023-12-10 13:11:48 +01:00
JappaWakka 3e9c1cde9c Fixed setDayTime value not returning 2023-12-08 09:53:17 +01:00
darkfire006 168a442855 fix script.start not being loopable in while loops
this was a weird one to track down
2023-12-06 00:24:57 -06:00
JappaWakka 2a869e0b4b Added @Pokemon.SetStatus(index,status) command...
@Pokemon.SetStatus(index,status)
index = Index of the Pokémon in the player's party
status = the desired status to give the Pokémon (possible values: "brn", "frz", "prz", "psn", "bpsn", "slp", "fnt")
2023-12-04 19:05:31 +01:00
JappaWakka 864fa7f508 Implement fade into the next song in command 2023-11-28 09:53:20 +01:00
JappaWakka 22edf29445 Fix bug with music that shouldn't loop still does 2023-11-26 15:14:03 +01:00
JappaWakka a7e723f720 Add Selected Player Skin Name & Gender constructs 2023-11-23 15:09:39 +01:00
JappaWakka 03df3e36a0 Make it possible to change Hall Of Fame background 2023-11-13 20:27:02 +01: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 0860f3b63c Small tweak to Mist weather 2023-10-27 11:58:54 +02:00
JappaWakka 7b7b23260a Fix cave fog + added Mist weather 2023-10-27 11:48:56 +02:00
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