View Single Post
  #2    
Old September 23rd, 2012 (9:32 AM).
FL's Avatar
FL FL is offline
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
Posts: 1,576
1,2-In PokeBattle_ActualScene change
Code:
    if @animatingHP
      if @currenthp<@endhp
        @currenthp+=1
      elsif @currenthp>@endhp
        @currenthp-=1
      end
      refresh
      @animatingHP=false if @[email protected]
    end
    if @animatingEXP
      if [email protected]
        @[email protected]
      elsif @currentexp<@endexp
        @currentexp+=1
      elsif @currentexp>@endexp
        @currentexp-=1
      end
      refresh
      if @[email protected]
        if @currentexp==PokeBattle_Scene::EXPGAUGESIZE
to
Code:
  hpspeed=4 # hp speed here, put 1000 for instantaneous
  if @animatingHP
   if @currenthp<@endhp
    if(@[email protected]<hpspeed)
     @[email protected]
    else
     @currenthp+=hpspeed
    end
   elsif @currenthp>@endhp
    if(@[email protected]<hpspeed)
     @[email protected]
    else
     @currenthp-=hpspeed
    end
   end
   refresh
   @animatingHP=false if @[email protected]
  end
  if @animatingEXP
   expspeed # exp speed here
   if [email protected]
    @[email protected]
   elsif @currentexp<@endexp
    @currentexp+=expspeed
   elsif @currentexp>@endexp
    @currentexp-=expspeed
   end
   refresh
   if @currentexp>[email protected]
    if @currentexp>=PokeBattle_Scene::EXPGAUGESIZE
3-Yes, use @currenthp minus @endhp.
Reply With Quote