bo4p5687

Male
Việt Nam (Vietnam)
Seen 1 Hour Ago
Posted 2 Days Ago
271 posts
3.3 Years
Great scripts!
It will be better if there could be more information like weather time,field effects,pokemon special effects,etc like the official games did.
Also I guess the script haven‘t taken illusion or imposter into consideration.
Because I just want to show in one screen, so, it doesn't have space to write some informations like weather time,field effects,pokemon special effects,etc.
About 'illusion or imposter', I updated it.

bo4p5687

Male
Việt Nam (Vietnam)
Seen 1 Hour Ago
Posted 2 Days Ago
271 posts
3.3 Years
Thanks.I will check it out.I put it right above main,so I dont think about overwrite before.
Edited:There is no other'def pbCommandMenuEx' in modded scripts.
Hmm, it's weird! You can test it in PE (raw) and then after that, you check in your project with this case: Bulbasaur vs Bulbasaur then you press to start this script (button: Z - default).
If you still get error, you can fix this error with this method: Find '.capitalize' and then delete it.
Remember: delete '.capitalize'

bo4p5687

Male
Việt Nam (Vietnam)
Seen 1 Hour Ago
Posted 2 Days Ago
271 posts
3.3 Years
I delete '.capitalize',and it doesn‘t show error to me.
However,the weather didn't show too,although I started one.
PS:In raw PEv18.1 the .capitalize didnt cause error,but the weather didnt shown too.
What weather? Look at file '4 - Battle.rb' to add new effect if you need it, I dont use ZUD. So, I don't know if it overrides.
Try to do this, change these lines
		ret["Default terrain"] = @field.defaultTerrain.to_s.capitalize if @field.defaultTerrain != PBBattleTerrains::None
		ret["Terrain"] = @field.terrain.to_s.capitalize if @field.terrain != PBBattleTerrains::None
into
		ret["Default terrain"] = @field.defaultTerrain.to_s.capitalize if @field.defaultTerrain && @field.defaultTerrain != PBBattleTerrains::None
		ret["Terrain"] = @field.terrain.to_s.capitalize if @field.defaultTerrain && @field.terrain != PBBattleTerrains::None