293 Commits

Author SHA1 Message Date
JappaWakka
57e7eb2935 Attacks fail if PP is 0 before subtraction 2025-04-06 10:42:13 +02:00
JappaWakka
297821dfd7 Fix incorrect Battlemenu "Battle" token reference 2025-04-06 10:18:53 +02:00
JappaWakka
c002a20453 Fix trap ability textbox close delay in battlemenu 2025-03-28 18:33:08 +01: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
cee683452e Pokémon Properties translatable
* Summary Screen
* Catch Method & Location
* Ability Names & Descriptions
2025-02-16 10:51:54 +01:00
JappaWakka
742c43ac4d Gamepad Control tokens + Remap some Buttons
Y button doesn't work so sometimes Y and X get swapped and the one that would be Y gets mapped to Select
2025-02-15 15:49:06 +01:00
JappaWakka
b50af8744b PkMn Selection & Battle Menu translatable 2025-02-15 13:30:33 +01:00
JappaWakka
f4f8a63d93 Make paralysis actually fail moves too 2025-02-11 11:01:37 +01:00
JappaWakka
96276520e3 Fix Self Destruct 2025-02-11 11:00:49 +01:00
JappaWakka
96984213b1 Fix Infatuation....
Moves that were supposed to fail because of infatuation didn't get the fail function triggered
2025-02-11 10:58:04 +01:00
JappaWakka
b1c09a3ebb Reset Bad Poison counter when cure status 2025-02-11 09:52:37 +01:00
JappaWakka
26e2f2d279 Rename Types icon to be localizable 2025-02-05 19:37:18 +01:00
JappaWakka
940059013c Last move index is remembered in battle menu 2025-02-03 14:43:50 +01:00
JappaWakka
ef770de841 Full Heal should cure confusion for trainer too 2025-02-03 14:40:55 +01:00
JappaWakka
8e0372da30 Fix Metronome and Mirror Move Issues 2025-01-31 16:13:26 +01:00
JappaWakka
98ee3d48eb Implement metronome-like effect for GM moves 2025-01-31 14:27:17 +01:00
JappaWakka
0022bf7455 Fix crash if selecting disabled move 2025-01-28 09:10:27 +01:00
JappaWakka
736af58545 Arena Trap and similar abilities don't use turn...
when trying to run away.
Also added some french tokens I forgot to add.
2025-01-25 10:45:43 +01:00
JappaWakka
7214556dda Fix battle model offsets 2025-01-18 13:33:38 +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
e74ff7cc50 Don't scale randomness of level 0 by difficulty 2024-12-25 11:18:29 +01:00
JappaWakka
3a4535dd57 Change Trainer AI level values to be less random
* 0 = bigger chance to choose a random move
* 1 = smaller chance to choose a random move
* 2 = can switch pokémon to better matchup
2024-12-25 10:54:03 +01:00
JappaWakka
a70c4e39dd Give the other vs intro colors names as well 2024-12-14 13:31:01 +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
0415df9ee3 Fix Sleep Talk & Snore not working while asleep 2024-11-30 11:39:21 +01:00
JappaWakka
2c9a1ebc61 Implement Exp. All Key Item 2024-08-31 16:32:35 +02:00
JappaWakka
58d9acc96f Implement Catching Charm, fix Exp. Charm 2024-08-24 16:06:24 +02:00
JappaWakka
73fc0bc916 Fix BattleMenu highlighted move after Transform 2024-08-23 10:19:27 +02:00
JappaWakka
f5feba5e99 Fix abilities etc. activating before opp switched 2024-08-12 15:15:53 +02:00
JappaWakka
1c6f8cf00f Fix incorrect old stats when leveling up 2024-08-07 11:32:13 +02:00
JappaWakka
97387050c7 Fix transformed pkmn level up wrong stats & icon 2024-07-29 10:35:05 +02:00
JappaWakka
a0bcce2809 Fix Level Multiplier (decimal sep bug) 2024-07-25 10:55:53 +02:00
JappaWakka
caf99db33f Fix BattleMenu wrong position 2024-06-14 09:30:20 +02:00
JappaWakka
34fc3ffbbe Fix OnlyCaptureFirst GameRule's implementation 2024-05-22 19:23:48 +02:00
JappaWakka
25bcc154a2 Make ShinyRate & LevelMultiplier GameRules 2024-05-19 19:26:16 +02:00
JappaWakka
8479bd0fc3 Added some more text replacements 2024-05-10 18:07:31 +02:00
JappaWakka
4a16501926 Prevent BattleMenu from softlocking pvp battle...
...so that the BattleMenu can't be used until there are no more text messages displaying.
2024-05-05 15:13:15 +02: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
9d912e939b Fix various Pokémon Type check errors 2024-04-23 17:29:41 +02:00
JappaWakka
ccd1b9bb7d Update Trainer Intros 2024-04-17 15:54:00 +02:00
JappaWakka
82fee7a434 Make Fly attack animation possible 2024-04-07 19:51:37 +02:00
JappaWakka
afb752ee4f Prevent stuck in fly mode when gravity active 2024-04-07 12:19:43 +02:00
JappaWakka
e47f20ef35 Fix crash damage not happening when blocked 2024-04-07 12:17:18 +02:00
JappaWakka
6ca5a5442c Multiturn moves don't skip turns 2024-04-07 11:58:28 +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