The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Create & Discover > Game Development > Pokémon Essentials
Reload this Page Stopping the pokemon and HP box from moving up and down?
Sign Up Rules/FAQ Daily Battle Blogs Mark Forums Read


Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.

Reply
 
Thread Tools
  #1    
Old January 17th, 2012 (3:37 PM).
korjamer's Avatar
korjamer korjamer is offline
Pixel Artist
 
Join Date: Apr 2011
Gender: Male
Nature: Relaxed
Posts: 19
Hi, Does anyone know where in the script pokebattle_actualscene the code for moving the Pokemon and HP box up and down a pixel while you select an attack is? If so, do you know how to disable it and keep the box/Pokemon from moving? I included animated GIF files for the Pokemon sprites in my game and it looks really bad animating AND bouncing up and down.
Any ideas? I'd be really grateful for some help. Thanks in advance!
Reply With Quote

Relevant Advertising!

  #2    
Old January 26th, 2012 (11:48 AM).
venom12's Avatar
venom12 venom12 is offline
Pokemon Crystal Rain Relased
 
Join Date: Sep 2006
Age: 25
Gender: Male
Nature: Adamant
Posts: 528
Send a message via Windows Live Messenger to venom12
Simple find in Pokebattle_actualscene this class PokemonBattlerSprite < RPG:prite

then in this code
Code:
def update
   @frame+=1
   @updating=true
   if ((@frame/9).floor&1)==1 && @selected==1 # When choosing commands for this Pokémon
     @spriteYExtra=2
   else
     @spriteYExtra=0
   end
  
 end
change @spriteYExtra=2 to @spriteYExtra=0

This is for pokemon sprite now for hp box

in class pokemondatabox search for def update

search for this

Code:
 if ((@frame/10).floor&1)==1 && @selected==1 # When choosing commands for this Pokémon
     [email protected]
     [email protected]+2
   elsif ((@frame/5).floor&1)==1 && @selected==2 # When targeted or damaged
     [email protected]
     [email protected]+2
and both [email protected]+2 change to [email protected] or [email protected]+0

hope i help
Reply With Quote
  #3    
Old January 27th, 2012 (6:27 PM).
korjamer's Avatar
korjamer korjamer is offline
Pixel Artist
 
Join Date: Apr 2011
Gender: Male
Nature: Relaxed
Posts: 19
Wow, that was pretty easy! Thank you!
Reply With Quote
Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 5:01 PM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2016 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2016.