Sergiotarxz
New Member
- Joined
- Jan 29, 2023
- Messages
- 16
- Reaction score
- 11
Hi, I am starting this threads to show you some of the glitch behavior you can achieve with the bad handling of improper number in species which does not correspond with any pokemon, lets give it a look.
For starters we will need the last valid species from Ruby that is... Err let me look the code
439 which is a form of Unown we will start our journey from there.
Things start getting interesting as soon as we enter in the pc.
View attachment 167711
Every one of this pokemon is a different glitch pokemon which reads it's stats/name/exp needed to level up from a different memory address not planned by the game, so they can have a pretty dangerous effect in our save, well we already glitched every pokemon so there is not much less to lose.
Some of this pokemon will crash the game as soon as we put the hand over them, we are seeking those that do more interesting things.
A side note is that we only created 386 glitch pokemon more or less while you can create 65535-(NUMBER_OF_REAL_SPECIES) different ones. (0xffff in hex)
This glitchy double kick (Doble patada in spanish) boy crashes the game which is rather boring, let's look its evolutions Glitivisaur and Glitcvenasaur.
This Ivysaur is now the glitch pokemon atada, lets look what he can offer to us.
It crashed the game but in a sightly funnier way, let's keep looking.
Venasaur crashes the game on summary open also.
I kepp looking with a bunch of pokemon more and I do not find nothing funny until I look the formerly Geodude and Graveler
Graveler crashes the game in summary but Geodude allows us to give him a look and his stats are... surprising, imagine driving this little boy to lvl 100.
Ponyta is also sightly interesting
Let's give him a try in combat, I feel brave.
A direct attack with ember with did not too much damage to our enemy lvl25 duskull, but fire spin did a good amount of damage.
I take a look to the entire pc and I see that most pokemon names are based on movements and do not do any graphical glitch on hover, so lets try with higher numbers, I will change the $species variable in the code for 2000, let's pray for better luck.
This pokemons are more rebel hitmonchan crashes the game on hover and the others glitch with permanents on screen text the pc.
I am leaving this for today, I hope you enjoyed it.
For starters we will need the last valid species from Ruby that is... Err let me look the code
439 which is a form of Unown we will start our journey from there.
#!/usr/bin/env perl
use v5.34.1;
use strict;
use warnings;
use Rsaves
qw/read_save check_correct_size get_saves find_current_save_index check_correct_size find_pokemon_substruct change_gender read_pc_storage save_pc_changes enable_eon_ticket save_changes pokemon_set_shiny read_pkm_file_box/;
use Rsaves::Constants::Ruby::Global qw/$MALE $FEMALE/;
sub start {
my ( @saves_raw, $extra );
( @saves_raw[ 0, 1 ], $extra ) = read_save('ruby.sav');
check_correct_size( @saves_raw, $extra );
my @saves = get_saves(@saves_raw);
my $current_save_index = find_current_save_index(@saves);
my $save = $saves[$current_save_index];
make_all_pokemon_glitch($save);
save_changes( @saves, $extra, 'ruby1.sav' );
}
sub make_all_pokemon_glitch {
my $save = shift;
my $pc = read_pc_storage($save);
my $species = 439;
for my $box ( $pc->{boxes}->@* ) {
for my $pokemon ( $box->@* ) {
my $substructures = $pokemon->{substructures};
my $substruct0 = find_pokemon_substruct( $substructures, 0 );
if ( $substruct0->{species} ) {
$substruct0->{species} = ++$species;
}
}
}
save_pc_changes( $save, $pc );
}
start;
Things start getting interesting as soon as we enter in the pc.
View attachment 167711
Every one of this pokemon is a different glitch pokemon which reads it's stats/name/exp needed to level up from a different memory address not planned by the game, so they can have a pretty dangerous effect in our save, well we already glitched every pokemon so there is not much less to lose.
Some of this pokemon will crash the game as soon as we put the hand over them, we are seeking those that do more interesting things.
A side note is that we only created 386 glitch pokemon more or less while you can create 65535-(NUMBER_OF_REAL_SPECIES) different ones. (0xffff in hex)
This glitchy double kick (Doble patada in spanish) boy crashes the game which is rather boring, let's look its evolutions Glitivisaur and Glitcvenasaur.
This Ivysaur is now the glitch pokemon atada, lets look what he can offer to us.
It crashed the game but in a sightly funnier way, let's keep looking.
Venasaur crashes the game on summary open also.
I kepp looking with a bunch of pokemon more and I do not find nothing funny until I look the formerly Geodude and Graveler
Graveler crashes the game in summary but Geodude allows us to give him a look and his stats are... surprising, imagine driving this little boy to lvl 100.
Ponyta is also sightly interesting
Let's give him a try in combat, I feel brave.
A direct attack with ember with did not too much damage to our enemy lvl25 duskull, but fire spin did a good amount of damage.
I take a look to the entire pc and I see that most pokemon names are based on movements and do not do any graphical glitch on hover, so lets try with higher numbers, I will change the $species variable in the code for 2000, let's pray for better luck.
This pokemons are more rebel hitmonchan crashes the game on hover and the others glitch with permanents on screen text the pc.
I am leaving this for today, I hope you enjoyed it.