Is there any way to replicate the ??? effect from SM/USUM?

Mashirosakura

There is only one of many.
Member
Joined
May 25, 2017
Posts
104
Age
24
So in SM/USUM when you encounter an Ultra Beast for the first time, their name is ???. After you capture it, it gets its species name revealed in the Pokédex. I was wondering if there was a way to replicate this in Essentials, but make it so that once you capture the Pokémon the name is revealed on all subsequent battles with wild versions.
 

Scyl

Ironically Unironic Edgelord Extraordinaire
Member
Joined
Apr 4, 2018
Posts
42
Just make a new case in the EncounterModifier Script. (For Encounter Modifiers, I just use variables).

Events.onWildPokemonCreate+=proc {|sender,e|
pokemon=e[0]
case $game_variables[X]
when 1
pokemon.name="???"
end
}

The "X" of course being whatever variable you tie it to. In the Event Page where you script the wild battle, just have the event change this variable to 1 and then set it back to 0
after the encounter.

http://prntscr.com/jb604a
http://prntscr.com/jb60oh
http://prntscr.com/jb60l5
 

MGriffin

Trainer
Member
Joined
May 8, 2017
Posts
95
Sure. My lazy approach would be to change PokeBattle_Pokemon to return "???" as the Pokémon's name if it's not registered in the Pokédex (i.e. owned is false); I think you can do that by turning name from an accessor into a function.
 
Top