- 13
- Posts
- 5
- Years
- Seen Dec 3, 2022
I need help with a problem there was a glitch with a script and i removed it now
PokeBattle_SceneConstants
Does anyone know how to fix it
PokeBattle_SceneConstants
Spoiler:
---------------------------
Pokemon Essentials
---------------------------
[Pokémon Essentials version 17.2]
Exception: RuntimeError
Message: Script error within event 0 (coords 12,10), map 32 (Overworld Test):
Exception: NameError
Message: :663:in `refreshExpLevel'uninitialized constant PokeBattle_SceneConstants::EXPGAUGESIZE
***Full script:
$PokemonGlobal.roamEncounter = nil
$PokemonTemp.nowRoaming = false
$PokemonTemp.roamerIndex = nil
$PokemonGlobal.nextBattleBGM = nil
$PokemonTemp.forceSingleBattle = false
$PokemonTemp.encounterType = 0
$game_switches[31]=false
pbSingleOrDoubleWildBattle(6,5, $game_map.events[0].map.map_id, $game_map.events[0].x, $game_map.events[0].y,0,0)
$game_switches[31]=false
$PokemonTemp.encounterType = -1
$PokemonTemp.forceSingleBattle = false
EncounterModifier.triggerEncounterEnd()
$game_map.events[0].removeThisEventfromMap
$game_map.events.delete(0)
Interpreter:243:in `pbExecuteScript'
:642:in `initialize'
:1974:in `new'
:1974:in `pbStartBattle'
PokeBattle_Battle:2367:in `pbStartBattleCore'
PokeBattle_Battle:2340:in `pbStartBattle'
VisibleOverworldPKMN:698:in `pbWildBattle'
VisibleOverworldPKMN:697:in `pbSceneStandby'
VisibleOverworldPKMN:699:in `pbWildBattle'
VisibleOverworldPKMN:696:in `pbBattleAnimation'
Interpreter:276:in `pbExecuteScript'
Interpreter:1606:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Scene_Map:163:in `update'
Scene_Map:161:in `loop'
Scene_Map:170:in `update'
Scene_Map:234:in `main'
---------------------------
OK
---------------------------
Pokemon Essentials
---------------------------
[Pokémon Essentials version 17.2]
Exception: RuntimeError
Message: Script error within event 0 (coords 12,10), map 32 (Overworld Test):
Exception: NameError
Message: :663:in `refreshExpLevel'uninitialized constant PokeBattle_SceneConstants::EXPGAUGESIZE
***Full script:
$PokemonGlobal.roamEncounter = nil
$PokemonTemp.nowRoaming = false
$PokemonTemp.roamerIndex = nil
$PokemonGlobal.nextBattleBGM = nil
$PokemonTemp.forceSingleBattle = false
$PokemonTemp.encounterType = 0
$game_switches[31]=false
pbSingleOrDoubleWildBattle(6,5, $game_map.events[0].map.map_id, $game_map.events[0].x, $game_map.events[0].y,0,0)
$game_switches[31]=false
$PokemonTemp.encounterType = -1
$PokemonTemp.forceSingleBattle = false
EncounterModifier.triggerEncounterEnd()
$game_map.events[0].removeThisEventfromMap
$game_map.events.delete(0)
Interpreter:243:in `pbExecuteScript'
:642:in `initialize'
:1974:in `new'
:1974:in `pbStartBattle'
PokeBattle_Battle:2367:in `pbStartBattleCore'
PokeBattle_Battle:2340:in `pbStartBattle'
VisibleOverworldPKMN:698:in `pbWildBattle'
VisibleOverworldPKMN:697:in `pbSceneStandby'
VisibleOverworldPKMN:699:in `pbWildBattle'
VisibleOverworldPKMN:696:in `pbBattleAnimation'
Interpreter:276:in `pbExecuteScript'
Interpreter:1606:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Scene_Map:163:in `update'
Scene_Map:161:in `loop'
Scene_Map:170:in `update'
Scene_Map:234:in `main'
---------------------------
OK
---------------------------
Does anyone know how to fix it