The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > xalien95
Reload this Page Conversation Between xalien95 and FL
Sign Up Rules/FAQ Daily Battle Blogs Mark Forums Read


Conversation Between xalien95 and FL
Showing Visitor Messages 1 to 5 of 5
  1. xalien95
    July 19th, 2013 1:34 PM
    xalien95
    I solved it in another way, but thank you for the reply n__n
  2. FL
    July 18th, 2013 4:09 PM
    FL
    You code make no sense because of elsif has no condition. Try this (untested): In PokemonFieldBefore line 'elsif $PokemonGlobal.bicycle' put

    Spoiler:
    elsif $PokemonGlobal.bicycle && !$game_player.moving?
    $game_player.character_name=meta[2] && meta[2]!="" ? meta[2] : meta[1] # Change this line to your graphic.


    In Walk_Run change
    Spoiler:
    if !moving? && [email protected]_route_forcing && $PokemonGlobal
    meta=pbGetMetadata(0,MetadataPlayerA+$PokemonGlobal.playerID)
    if $PokemonGlobal.playerID>=0 && meta &&

    to:
    Spoiler:
    if [email protected]_route_forcing && $PokemonGlobal
    meta=pbGetMetadata(0,MetadataPlayerA+$PokemonGlobal.playerID)
    if $PokemonGlobal.bicycle
    Kernel.pbUpdateVehicle
    elsif $PokemonGlobal.playerID>=0 && meta &&


    There are ways to reduce the lag, like using a variable to also record the moving? (like last_moving) before the "return" in def character_name, so you only need to call the Kernel.pbUpdateVehicle when last_moving!=moving?
  3. xalien95
    July 18th, 2013 5:16 AM
    xalien95
    I'm editing PokemonField, def Kernel.pbUpdateVehicle. It's weird it doesn't work.
    I'm adding in def character_name:

    if !moving?
    Kernel.pbUpdateVehicle
    elsif
    Kernel.pbUpdateVehicle
    end

    Hope it wont lag XD
  4. FL
    July 17th, 2013 5:50 AM
    FL
    $game_player.moving? should works. I guess that the method that you are calling isn't updated every frame (or a similar frequency). Try to use a new condition in 'def character_name'.
  5. xalien95
    July 15th, 2013 10:14 AM
    xalien95
    Hi FL ., I'm adding the charaset that will be show when the player is using bicycle but isn't moving. Well, how could I set the condition "isn't moving"? XD
    I tried with !$game_player.moving? but it doesn't work.
    I tried also Input.dir4==0 and it doesn't work.

All times are GMT -8. The time now is 6:45 AM.


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.