Advertiser Content
Seen 4 Weeks Ago
Posted June 12th, 2019
1 posts
37 Days
In pokemon essentials, in the process of instaling EBS, i recieved the following error:

Exception: NameError
Message: uninitialized constant VIEWPORT_HEIGHT
EliteBattle EntryAnimation:101:in `pbBattleAnimation'
PField_Battles:96:in `pbWildBattle_ebs'
EliteBattle EntryAnimation:221:in `pbWildBattle'
PField_Field:387:in `pbBattleOnStepTaken'
PField_Field:368:in `pbOnStepTaken'
Game_Player:461:in `update_old'
Game_Player_Visuals:71:in `follow_update'
Follow Pokemon:1463:in `update'
Scene_Map:162:in `follow_update'
Scene_Map:159:in `loop'

in the entryanimation script it says the following:

If you'd like to use just the new transitions from EBS for your project,
# you'll also need to copy over the EliteBattle_Sprites section of the scripts
# to your project, as well as the configurations for the following constants:
# - VIEWPORT_HEIGHT
# - VIEWPORT_OFFSET

I have placed the elite battle sprites script, but i do not know what to do about the configuration of viewport height and the viewport offset
help please!

CharizardThree3

DarkPlatinum Developer

Male
Canada
Seen 15 Hours Ago
Posted 1 Week Ago
102 posts
1.2 Years
In pokemon essentials, in the process of instaling EBS, i recieved the following error:

Exception: NameError
Message: uninitialized constant VIEWPORT_HEIGHT
EliteBattle EntryAnimation:101:in `pbBattleAnimation'
PField_Battles:96:in `pbWildBattle_ebs'
EliteBattle EntryAnimation:221:in `pbWildBattle'
PField_Field:387:in `pbBattleOnStepTaken'
PField_Field:368:in `pbOnStepTaken'
Game_Player:461:in `update_old'
Game_Player_Visuals:71:in `follow_update'
Follow Pokemon:1463:in `update'
Scene_Map:162:in `follow_update'
Scene_Map:159:in `loop'

in the entryanimation script it says the following:

If you'd like to use just the new transitions from EBS for your project,
# you'll also need to copy over the EliteBattle_Sprites section of the scripts
# to your project, as well as the configurations for the following constants:
# - VIEWPORT_HEIGHT
# - VIEWPORT_OFFSET

I have placed the elite battle sprites script, but i do not know what to do about the configuration of viewport height and the viewport offset
help please!
Have you installed Luka's Utilities?

Vendily

Female
Seen 1 Hour Ago
Posted 20 Hours Ago
896 posts
3.9 Years
Fan Games Post
Attention grabbing Quote
Hey Andrzinho14! Welcome to PokeCommunity!

I've moved your thread because the Scripts & Tutorials Section is for, well, Scripts & Tutorials! You can ask questions either here, or if it's related to a script/tutorial, in the relevant thread in the other section.

Advertiser Content