Pokémon Essentials v18.1 - 28th September 2020

Pokémon Essentials, version 18.1
28th September 2020
Change log
Download v18.1

Pokémon Essentials, version 18
2nd September 2020
Change log

You may remember that Essentials exists. It hasn't had a new release in nearly three years now, so you'd be forgiven for forgetting that it exists. But exist it does, and now there's a whole new version!

So what's in it?

Battle system overhaul

This whole thing started when I decided to rearrange how using a move in battle works, from "each target is attacked separately" to "the move hits all targets at once". I grossly underestimated the workload involved in this, and then things spiraled out of control and v18 became a whole battle system overhaul. Lots and lots of things have been rewritten and improved, and I can't possibly describe them all in this post.

The most notable feature is that triple battles are now supported. In fact, all battle sizes are supported, including 1v2, 3v1 and so on. (Anything above 3v3 will require you to add some extra things yourself, but the underlying code will work for those as well.)

The other most notable feature is that the effects of Gen 7 moves/items/abilities have been added. Gen 8 effects have been omitted for now, because I didn't want to add two Gens' worth of content at once. Essentials now comes with two sets of PBS files: one for Gen 5 and one for Gen 7, now with fewer mistakes and better formatting.

Battle visuals

There are move animations and common animations, and then there are "system" animations. The latter are things like "throw a Poké Ball" or "Pokémon faints" or "make the whole battle screen fade in from black at the start with everything sliding around and looking dynamic". These system animations have been greatly improved and standardised, now all using the same animation system which will eventually also be used for move/common animations because it's so much smoother and better.

Other visual changes have been made to the battle system. The command bar's background now depends on the environment rather than always being grey, data boxes (the panels with the HP/Exp bars in) now have better-looking numbers and improved bar-changing animations, and there's a splash bar announcing that an ability has triggered (which you can disable if you want). Messages can be sped up by mashing buttons.

PBS files

"trainers.txt" has a new format which is much easier to read and write (don't worry, the old format still works). This new format lets you define each of a Pokémon's IVs individually, rather than having a single number for all of them. You can also set their EVs. More properties should be easier to add in if and when they're needed.

Other PBS files get some improvements too. Formatting has been improved for added legibility, e.g. drawing a line between items in two different pockets in "items.txt"/moves of different types in "moves.txt", and indenting encounter lines in "encounters.txt". A few extra properties are definable, such as map-specific metadata for battle environments and extra positioning values for Pokémon sprites and their shadows. Move function codes are now strings rather than hex numbers, and a future update will make use of this by renaming all the 03C and 14A codes to proper English phrases that make sense.

The attributes of a trainer's Pokémon, if they aren't specifically defined in "trainers.txt", are now consistently chosen, meaning a trainer's Pokémon won't spontaneously change gender or nature if you fight them multiple times.

And more

While this wasn't a specific goal for this version, a lot of animations in the game have been made FPS-agnostic (including things like walking speed, Pokémon icon bobbing and event Wait commands). This means they won't speed up if you change the FPS, so you can play the game normally but at a higher FPS. Not everything has been affected, though, but many of the more noticeable things has been.

Similarly, a fair number of changes have been made to tackle lag. This includes the caching of data (and compiling it into better formats), simplifying calculations that are made constantly, and cutting down on unnecessary actions like checking for files when the game doesn't need to. I don't know how much of an effect this will have, but it felt good to do.

I'm fond of the Triple Triad minigame, and I've redesigned it a bit to use actual graphics for the cards rather than drawing them with code. You can now also see cards you're buying/selling, and the stats and prices on those cards are now calculated differently (they used to not care about HP and Speed at all, so Pokémon that excelled in those stats ended up with bad cards). There's much more that can be done, but that'll be in the future.

Essentials now includes a plugin manager script written by Marin, which will help third party add-ons check their compatibility with each other and with Essentials. It's worth using!

There have been loads of other code improvements, in the battle system and elsewhere. Things have been made more modular, more usable and easier to edit. There have also been plenty of bug fixes (and given how majorily the battle system has been altered, I'm sure a bunch of new bugs have been added). Check the change log for a longer, although still not comprehensive, list.

The full change log for this version is available on the wiki.

Enjoy!

Pokémon Essentials, version 18.1
28th September 2020
Change log
Download v18.1

Yes, Pokémon Essentials v18.1 has been released. It's mainly about fixing bugs that popped up in v18, but it has a few new things too. Check it out!
 
Last edited:

Marin

undead
Administrator
You've done a fantastic job with this new release Maruno, and your importance and dedication to the fangame community couldn't be overstated. I applaud your efforts and look forward to what'll be coming from you in the future.
 

ISNorden

Fan Game Creator
Member
Joined
Jul 16, 2018
Posts
8
Age
51
One file set for Gen 5 and one for Gen 7 -- what happened to 6? I would like to keep Fairy types and HMs in the Thule Region, without losing the regional-variant mechanics from Gen 7; is that possible with Essentials 18?
 

TheToxic7326

Rookie
Member
Joined
Sep 3, 2020
Posts
2
Age
19
One file set for Gen 5 and one for Gen 7 -- what happened to 6? I would like to keep Fairy types and HMs in the Thule Region, without losing the regional-variant mechanics from Gen 7; is that possible with Essentials 18?

In the PBS, Gen 6 Pokemon's data are there already.
 

Maruno

Pokémon Essentials dev
Essentials Developer
Joined
Apr 5, 2017
Posts
390
One file set for Gen 5 and one for Gen 7 -- what happened to 6? I would like to keep Fairy types and HMs in the Thule Region, without losing the regional-variant mechanics from Gen 7; is that possible with Essentials 18?
Essentials supports mechanics for both Gen 5 and the newest included Gen (which is Gen 7 now). Gen 6 is neither of these.

The Gen 7 PBS files actually include the same HMs that are in the Gen 5 files, because that's how field moves work in Essentials. All items from the Gen 5 files are included in the Gen 7 files, in fact. Some TMs have been changed but not all (i.e. they're not exactly the TMs from Gen 7), although I forget the exact differences.

Remember that the three things you described (Fairy type, HMs, regional forms) are all in separate PBS files, and you're allowed to mix and match however you want.
 

ValiantSoul

Novice
Member
Joined
Sep 12, 2020
Posts
12
Age
26
Awesome, great job on all this! Just a quick Q, how easy would it be to port an existing project over from V17 to V18, whilst not losing things like new moves and abilities in the process?
 

rippwire

Rookie
Member
Joined
Aug 6, 2020
Posts
1
Age
33
Maruno, thank you so much for this. I only started using essentials v17.xx at the beginning of lockdown. The Pokémon fangame community owes you everything!! Also a shout out the Thundaga, without your videos I wouldn't have a clue how to use essentials!!
 

EvoLi

Rookie
Member
Joined
Aug 5, 2020
Posts
7
Age
28
Maruno, thank you so much for this. I only started using essentials v17.xx at the beginning of lockdown. The Pokémon fangame community owes you everything!! Also a shout out the Thundaga, without your videos I wouldn't have a clue how to use essentials!!
I can just admit that you said, i also startes in the lockdown and Thundagas vids helped a lot (the wiki too)
 

dreamaurua

Rookie
Member
Joined
Oct 7, 2020
Posts
2
Age
30
This might seem like a noob question, but how can I update v18 to v18.1 without losing my work?
 

_pheebs

I like your funny words, magic man!
Member
Joined
Apr 10, 2017
Posts
47
Where are the PGN images for the gen 6 + 7 pokemon ?
Since Gen VI and onwards is 3D models there's no .png sprites.
Look around and you'll find some sprites.



Here is some from users on Pokécommunity.
You'll have to sort them, and insert them yourself.
 
Top