79 Commits

Author SHA1 Message Date
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
JappaWakka
fe6098fc7b Properly fix the BattleAnim Memory Leak now...
I didn't do it right the first time lol
2025-03-17 17:48:54 +01:00
JappaWakka
5012313ca8 Fix Battle Animation Memory Leak 2025-03-17 17:33:50 +01:00
JappaWakka
2640ec070f Make it possible to scale + rotated pkmn models
PokeModelScale|Value - Scale all Pokémon models in battle by value (sng), default  = 1
PokeModelRotation|xRot,zRot - Rotate all Pokémon models by the specified radians. Y rotation is dynamically controlled by the game so I didn't want to mess with that.
2024-11-30 11:45:59 +01:00
JappaWakka
eca6a70ed6 Added MaxVisibleVertices to debug display
Show how many of the maximum amount of vertices are actually being drawn (which only happens when they're visible)
2024-05-05 13:17:06 +02:00
JappaWakka
c2f3eeff22 Don't show textbox if not lost item after battle 2024-05-05 09:39:10 +02:00
JappaWakka
56e436d69e Remove battle screen resetting weather for safari 2024-05-05 09:19:13 +02:00
JappaWakka
9873f15aa5 Fix items lost if switch pokémon after knocked off 2024-05-01 13:26:29 +02:00
JappaWakka
ee05af333c Added an exclamation mark at the end 2024-04-29 16:49:27 +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
88d72bb451 Implemented script after catch or defeat roamer 2024-04-02 11:06:33 +02:00
JappaWakka
bb78bb3543 Fix battle music crashes 2024-02-25 18:52:28 +01:00
JappaWakka
8661684927 Temporarily Disable Chat during PVP 2024-02-19 19:30:53 +01:00
JappaWakka
290d400823 catch should despawn roamers though 2024-02-18 09:44:32 +01:00
JappaWakka
8b483a636b Fixed roamers despawn without catch/defeat/flee 2024-02-18 09:42:33 +01:00
JappaWakka
16a83441d9 Fixs some music bugs...
Fixed delay when unpausing the game while current level has no musicloop defined
Fixed silence (caused by undefined musicloop) overriding currently playing song when unpausing
2024-01-07 13:35:17 +01:00
JappaWakka
3e9c1cde9c Fixed setDayTime value not returning 2023-12-08 09:53:17 +01:00
JappaWakka
4f1a940d9e Fix Mega forms not resetting after battle 2023-12-04 13:31:37 +01:00
JappaWakka
d9c26c8550 Implemented Rage Fist attack 2023-12-03 19:34:24 +01:00
JappaWakka
1e16a5dcc4 Pokémon forms play the right cry in battle now 2023-11-04 15:16:25 +01:00
JappaWakka
25bda8826a Make wild pkmn uncatchable if catchrate = -1 2023-09-22 11:09:35 +02:00
JappaWakka
d9eb12d341 Fix for softlocks and other battle bugs 2023-09-03 16:39:48 +02:00
JappaWakka
0eddb70011 Bring back fading out music with switching maps 2023-08-29 19:20:54 +02:00
JappaWakka
e23ba807eb Fix camera facing the wrong way in PVP switch 2023-08-22 20:13:24 +02:00
JappaWakka
888371c914 Some battle fixes & move implementations
* Baton Pass, Volt Switch, Parting Shot and U-Turn technically work, however the camera is aimed at the wrong pokémon
* Fixed softlock when the PVP client selects a move before the host has finished the battle intro dialogue
2023-08-21 18:43:40 +02:00
JappaWakka
6e8067b30b Fix battlescreen interaction while in chatscreen 2023-08-04 10:15:18 +02:00
Yong Jian Ming
7cd60cc3ad
Add BasicEffectWithAlphaTest 2023-07-30 18:05:08 +08:00
JappaWakka
bda8fbc833 Fix BattleMapOffset hopefully 2023-07-26 10:33:21 +02:00
JappaWakka
bce86162ef Fix Battle Music being played in the overworld 2023-07-22 11:43:06 +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
f1aeb43b75 Fix Pokémon not falling in battle 2023-06-27 14:23:12 +02:00
JappaWakka
af937955b9 New BattleAnimation type + Confuse Ray animation..
And some fixes
2023-06-26 16:36:52 +02:00
JappaWakka
030f5a5c74 Fix a wrong color 2023-06-22 14:28:24 +02:00
JappaWakka
3200dd9d15 Fix Daytimes when set by command 2023-06-21 19:28:35 +02:00
JappaWakka
a386be5eb6 Added psychic anim & made background anims work
and also added Ice Punch assets to project
2023-06-21 19:24:43 +02:00
JappaWakka
62fea61236 Fix battlescreen having wrong daytime sky 2023-06-21 19:22:24 +02:00
JappaWakka
a6d9a21b72 Fix some GameMode Item stuff 2023-06-21 19:21:34 +02:00
JappaWakka
92e611adcb Update battle while in chat 2023-06-07 20:36:41 +02:00
JappaWakka
d13b5eb8d3 GameMode Item Preparations
Implemented GameMode Mega Stones
2023-05-29 15:33:57 +02:00
JappaWakka
0ae62ceaef Have both double trainer npcs show up in battle 2023-02-27 20:25:16 +01:00
JappaWakka
b75de6fe5e Fixed BattleMapOffset not being set to 0 2023-02-23 12:27:48 +01:00
JappaWakka
8f372b16f2 Fix item swap duplication (for real hopefully) 2023-01-27 13:17:25 +01:00
JappaWakka
7e7dae0d20 Fixed trick/item duplication and protean 2023-01-18 20:06:21 +01:00
JappaWakka
cdccbfcc67 Fix for Trick and Recycle 2023-01-15 11:40:43 +01:00
JappaWakka
cc2d46153d Disable Shift BattleStyle in PvP 2023-01-15 09:34:42 +01:00
JappaWakka
77271a4b67 Forgot some battle animation things 2023-01-14 20:58:17 +01:00
JappaWakka
dfbaaf2b33 BattleScreen + BattleCatchScreen softlock fixes 2023-01-13 14:46:44 +01:00
JappaWakka
dc454d2a68 Temporarily disabled animations for pvp battles 2023-01-13 14:09:21 +01:00
JappaWakka
7ae9ebaa50 Multimove Bug Fixed 2023-01-13 14:07:35 +01:00