• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • The Eevee Expo Game Jam has concluded! 🎉 Head on over to the game jam forum to play through the games.
    Don't forget to come back September 21st to vote for your favorites!
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Fusion Mechanics

Resource Fusion Mechanics 1.2

Rot8er_ConeX

Trainer
Member
Joined
May 17, 2023
Posts
58
Rot8er_ConeX submitted a new resource:

Fusion Mechanics - Fuse Pokémon without adding the individual fusions to the PBS files!

Merry Christmas!

This plugin allows players the ability to fuse any two Pokémon and combine their attributes, without requiring you to include each fusion as its own species within the pokemon.txt PBS file. This is accomplished by the creation of a new FusedPokemon subclass of the Pokemon class, that stores the two Pokémon as attributes, and then calculating its stats dynamically from those pieces.

This plugin does generate sprites on-the-fly when you need them. Rather than using the...

Read more about this resource...
 
For the new sprites have you tried running this command System.reload_cache after generating the image? Just keep in mind this reloads all the game's cache so it might take some time
 
I'm getting an error that tells me "Invalid byte sequence in UTF-8" how do I fix?
 
I'm having the same issue. It's only when it tries to compile the plugin files does it give me the error. Something might have the wrong syntax somewhere?
 
I'm getting an error that tells me "Invalid byte sequence in UTF-8" how do I fix?
Try the download now.

I code in Visual Studio, which doesn't like the Pokémon é. I've changed all instances except two to a regular e now, and the two that I left behind are there for compatibility with Ludicius's animated sprite plugin
 
Try the download now.

I code in Visual Studio, which doesn't like the Pokémon é. I've changed all instances except two to a regular e now, and the two that I left behind are there for compatibility with Ludicius's animated sprite plugin
I'm still getting the same error. Would you like me to send it?
 
I'm still getting the same error. Would you like me to send it?
No need. UTF-8 errors exist because Visual Basic doesn't like the word Pokémon - namely, the letter in the exact center.

If you're not using Luduicious's Animated Pokémon System, you can go in and replace the two é with a regular e. One is found in meta.txt (on line 14) and the other in 10_Sprites.rb (on line 89).

If you are using Ludicious's Animated Pokémon System, then you could do what I said above, but that would break the Summary Screen.
 
So, I DO use Ludicious' Animated Pokemon System, and I had to implement your fix to stop the UTF-8 error. I believe their plugin has been updated to no longer contain é. However, I am now receiving an error where it just says it can't open the icon graphic, then crashes. I will keep tinkering, but I'm not 100% sure what's going on.

Edit: I got it to fuse my pokemon, but it still displays no graphic and crashes when I try to look at the pokemon summary. It appears to be with the plugin not properly creating sprites.
 
Last edited:
So, I DO use Ludicious' Animated Pokemon System, and I had to implement your fix to stop the UTF-8 error. I believe their plugin has been updated to no longer contain é. However, I am now receiving an error where it just says it can't open the icon graphic, then crashes. I will keep tinkering, but I'm not 100% sure what's going on.

Edit: I got it to fuse my pokemon, but it still displays no graphic and crashes when I try to look at the pokemon summary. It appears to be with the plugin not properly creating sprites.
So, normally, the plugin creates the sprite, but the sprite it creates is not in the game's cache so it sends errors to the console but continues playing (which leads to the first reply in this thread).

The bitmap wrapper that Ludicious adds in their Animated Pokemon System is a lot stricter, and causes crashes when you try to load a sprite that doesn't exist and/or isn't cached. I tried to fix it, but because Ludicious uses the official spelling of Pokémon within the name of the plugin, detecting the need for the fix breaks UTF-8.
 
Rot8er_ConeX updated Fusion Mechanics with a new update entry:

Bugfixes?

A few bugfixes:
  • removed UTF-8 errors from Visual Studio's dislike of the Pokémon é. This might make the plugin incompatible with the Animated Pokémon System again, but the underlying code does exist.
  • removed sprite generation error from too many arguments.
The species error does not seem to exist on my end.

Read the rest of this update entry...
 
I try the plugin only problem the standart pokemon don't apears (summary screen, battle) only the fusion sprite, i get this error on the console when its happen

Exception `TypeError' at Section078:61 - Argument 0: Expected fixnum
 
Back
Top