• The forums will be undergoing maintenance for a few hours starting Saturday 10AM UTC!

Help Division by 0 Error When Opening Trainer Card

MagentaGiratina

Distortion World Enthusiast
Member
Joined
Jun 16, 2019
Posts
46
Likes
6
#1
This is in Pokemon Essentials BW V3.1.1. I have added new Pokemon and done some graphical updates, but I have not changed any script sections relating to the pause menu or trainer card. This error message appears when I try opening the Trainer Card from the pause menu, and I checked the lines it cited and was still confused. Can anyone explain what exactly is going wrong here and how to fix it? All other options in the Menu (Pokemon, Pokedex, Save, and Settings) are working without error.

Code:
Exception: ZeroDivisionError
Message: divided by 0
BW_TrainerCard:33:in `/'
BW_TrainerCard:33:in `pbStartScene'
BW_TrainerCard:329:in `pbStartScreen'
BW_PauseMenu:505:in `pbStartPokemonMenu'
BW_PauseMenu:504:in `pbFadeOutIn'
BW_PauseMenu:504:in `pbStartPokemonMenu'
BW_PauseMenu:447:in `loop'
BW_PauseMenu:524:in `pbStartPokemonMenu'
Scene_Map:199:in `call_menu'
Scene_Map:170:in `update'
 
Top