Advertiser Content

Zeak6464

Zeak #3205 - Discord

Age 26
Male
USA
Seen 4 Hours Ago
Posted 7 Hours Ago
719 posts
6.4 Years
Thanks to Rot8er_ConeX
Original Concept : http://www.pokecommunity.com/showthread.php?t=354015

This script allows the player to become the pokemon sprite if pokemon used the move or is in party

-----------------------------------------------------
you want to go in the scripts to PField_Field, around line 1601 you'll find the following code:

def Kernel.pbUpdateVehicle
  meta=pbGetMetadata(0,MetadataPlayerA+$PokemonGlobal.playerID)
  if meta
    if $PokemonGlobal.diving
      $game_player.character_name=pbGetPlayerCharset(meta,5) # Diving graphic
    elsif $PokemonGlobal.surfing
      if pbHasSpecies?(:GYARADOS)
        trainer=$Trainer if !trainer
        outfit=trainer ? trainer.outfit : 0
        if outfit==0
          $game_player.character_name=Settings::GyaraSurfFileName[$PokemonGlobal.playerID]
        else
          $game_player.character_name=Settings::GyaraSurfFileName[$PokemonGlobal.playerID]+"_"+outfit.to_s
        end
      else
        $game_player.character_name=pbGetPlayerCharset(meta,3) # Surfing graphic
      end
    elsif $PokemonGlobal.bicycle
      $game_player.character_name=pbGetPlayerCharset(meta,2) # Bicycle graphic
    else
      $game_player.character_name=pbGetPlayerCharset(meta,1) # Regular graphic
    end
  end
end
Add the stuff in red.

Then you need to add this somewhere above Main
module Settings
  GyaraSurfFileName = [
    "boy_surfGyara", # Player A
    "girl_surfGyara", # Player B
    "", # Player C
    "", # Player D
    "", # Player E
    "", # Player F
  ]
end
You can change the file names. But whatever you do name them to, you need an image of the same name in Graphics/Characters/

This can also be used for HM-Surf & Bike

WolfPP

Discord: Wolf#1235

Male
Brazil
Seen 4 Hours Ago
Posted 4 Hours Ago
672 posts
1 Years
Sorry about the ress but i want to put in my game.

So, im usin v17.2 and i did everything (search to 'def Kernel.pbUpdateVehicle' and i found in Game_Player section script) but when i surf nothing happens (normal surf).

The image:

https://www.deviantart.com/jynxedones/art/Brendan-Gyarados-Swim-Sprite-553572420

ty ty!
Male
Việt Nam (Vietnam)
Seen March 8th, 2019
Posted January 7th, 2019
80 posts
1.3 Years
Sorry about the ress but i want to put in my game.

So, im usin v17.2 and i did everything (search to 'def Kernel.pbUpdateVehicle' and i found in Game_Player section script) but when i surf nothing happens (normal surf).

The image:

https://www.deviantart.com/jynxedones/art/Brendan-Gyarados-Swim-Sprite-553572420

ty ty!
Did you put the image in folder Graphics\Characters ? And did the name is boy_surfGyara (boy) or girl_surfGyara (girl) ?
Male
Việt Nam (Vietnam)
Seen March 8th, 2019
Posted January 7th, 2019
80 posts
1.3 Years
https://imgur.com/a/VgoRqA1

Please can you check?

PS: And yes, i have the pokemon in my party lol
And did you add this code ?
module Settings
  GyaraSurfFileName = [
    "boy_surfGyara", # Player A
    "girl_surfGyara", # Player B
    "", # Player C
    "", # Player D
    "", # Player E
    "", # Player F
  ]
end
if you didn't, add this somewhere

WolfPP

Discord: Wolf#1235

Male
Brazil
Seen 4 Hours Ago
Posted 4 Hours Ago
672 posts
1 Years
And did you add this code ?
module Settings
  GyaraSurfFileName = [
    "boy_surfGyara", # Player A
    "girl_surfGyara", # Player B
    "", # Player C
    "", # Player D
    "", # Player E
    "", # Player F
  ]
end
if you didn't, add this somewhere
i did...

Above 'Main' and below 'Game_Player'.

WolfPP

Discord: Wolf#1235

Male
Brazil
Seen 4 Hours Ago
Posted 4 Hours Ago
672 posts
1 Years
Ok! And you can show me what code did you add in "def Kernel.pbUpdateVehicle"?
Sure! Really Thanks to help me <3 in Game_Player script

def Kernel.pbUpdateVehicle
  meta=pbGetMetadata(0,MetadataPlayerA+$PokemonGlobal.playerID)
  if meta
    if $PokemonGlobal.diving
      $game_player.character_name=pbGetPlayerCharset(meta,5) # Diving graphic
    elsif $PokemonGlobal.surfing
      if pbHasSpecies?(:GYARADOS)
        trainer=$Trainer if !trainer
        outfit=trainer ? trainer.outfit : 0
        if outfit==0
          $game_player.character_name=Settings::GyaraSurfFileName[$PokemonGlobal.playerID]
        else
          $game_player.character_name=Settings::GyaraSurfFileName[$PokemonGlobal.playerID]+"_"+outfit.to_s
        end
      else
      $game_player.character_name=pbGetPlayerCharset(meta,3) # Surfing graphic
      end
    elsif $PokemonGlobal.bicycle
      $game_player.character_name=pbGetPlayerCharset(meta,2) # Bicycle graphic
    else
      $game_player.character_name=pbGetPlayerCharset(meta,1) # Regular graphic
    end
  end
end
Male
Việt Nam (Vietnam)
Seen March 8th, 2019
Posted January 7th, 2019
80 posts
1.3 Years
Sure! Really Thanks to help me <3 in Game_Player script

def Kernel.pbUpdateVehicle
  meta=pbGetMetadata(0,MetadataPlayerA+$PokemonGlobal.playerID)
  if meta
    if $PokemonGlobal.diving
      $game_player.character_name=pbGetPlayerCharset(meta,5) # Diving graphic
    elsif $PokemonGlobal.surfing
      if pbHasSpecies?(:GYARADOS)
        trainer=$Trainer if !trainer
        outfit=trainer ? trainer.outfit : 0
        if outfit==0
          $game_player.character_name=Settings::GyaraSurfFileName[$PokemonGlobal.playerID]
        else
          $game_player.character_name=Settings::GyaraSurfFileName[$PokemonGlobal.playerID]+"_"+outfit.to_s
        end
      else
      $game_player.character_name=pbGetPlayerCharset(meta,3) # Surfing graphic
      end
    elsif $PokemonGlobal.bicycle
      $game_player.character_name=pbGetPlayerCharset(meta,2) # Bicycle graphic
    else
      $game_player.character_name=pbGetPlayerCharset(meta,1) # Regular graphic
    end
  end
end
So strange! In your party, did you have Gyarados ? If you did, I don't know why your image don't show.

WolfPP

Discord: Wolf#1235

Male
Brazil
Seen 4 Hours Ago
Posted 4 Hours Ago
672 posts
1 Years
So strange! In your party, did you have Gyarados ? If you did, I don't know why your image don't show.

https://imgur.com/a/VgoRqA1

Please can you check?

PS: And yes, i have the pokemon in my party lol
I try to put him my first pokemon. Nothin happens too...

My feels for me :/

EDIT:

LOL i put Rock Climb Overworld in my game:

https://www.pokecommunity.com/showthread.php?t=413241

That is it? And how can "fix" that o.o


EDIT2:
REALLY FOK YEARH

def Kernel.pbUpdateVehicle
  meta=pbGetMetadata(0,MetadataPlayerA+$PokemonGlobal.playerID)
  if meta
    if $PokemonGlobal.diving
      $game_player.character_name=pbGetPlayerCharset(meta,5) # Diving graphic
    elsif $PokemonGlobal.surfing
      if pbHasSpecies?(:GYARADOS)
        trainer=$Trainer if !trainer
        outfit=trainer ? trainer.outfit : 0
        if outfit==0
          $game_player.character_name=Settings::GyaraSurfFileName[$PokemonGlobal.playerID]
        else
          $game_player.character_name=Settings::GyaraSurfFileName[$PokemonGlobal.playerID]+"_"+outfit.to_s
        end
      else
      $game_player.character_name=pbGetPlayerCharset(meta,3) # Surfing graphic
      end
    elsif $PokemonGlobal.rockclimbing
      $game_player.character_name=pbGetPlayerCharset(meta,3) # Rock Climb graphic
    elsif $PokemonGlobal.bicycle
      $game_player.character_name=pbGetPlayerCharset(meta,2) # Bicycle graphic
    else
      $game_player.character_name=pbGetPlayerCharset(meta,1) # Regular graphic
    end
  end
end
I have my Gyarados,

ty ty!

https://imgur.com/a/un2Jn4L

But have a whale down -.- How can i remove?
Male
Việt Nam (Vietnam)
Seen March 8th, 2019
Posted January 7th, 2019
80 posts
1.3 Years
I try to put him my first pokemon. Nothin happens too...

My feels for me :/

EDIT:

LOL i put Rock Climb Overworld in my game:

https://www.pokecommunity.com/showthread.php?t=413241

That is it? And how can "fix" that o.o
Find def Kernel.pbUpdateVehicle
and change
elsif $PokemonGlobal.surfing
 $game_player.character_name=pbGetPlayerCharset(meta,3) # Surfing graphic
into
elsif $PokemonGlobal.surfing
      if pbHasSpecies?(:GYARADOS)
        trainer=$Trainer if !trainer
        outfit=trainer ? trainer.outfit : 0
        if outfit==0
          $game_player.character_name=Settings::GyaraSurfFileName[$PokemonGlobal.playerID]
        else
          $game_player.character_name=Settings::GyaraSurfFileName[$PokemonGlobal.playerID]+"_"+outfit.to_s
        end
      else
        $game_player.character_name=pbGetPlayerCharset(meta,3) # Surfing graphic
      end

WolfPP

Discord: Wolf#1235

Male
Brazil
Seen 4 Hours Ago
Posted 4 Hours Ago
672 posts
1 Years
Find def Kernel.pbUpdateVehicle
and change
elsif $PokemonGlobal.surfing
 $game_player.character_name=pbGetPlayerCharset(meta,3) # Surfing graphic
into
elsif $PokemonGlobal.surfing
      if pbHasSpecies?(:GYARADOS)
        trainer=$Trainer if !trainer
        outfit=trainer ? trainer.outfit : 0
        if outfit==0
          $game_player.character_name=Settings::GyaraSurfFileName[$PokemonGlobal.playerID]
        else
          $game_player.character_name=Settings::GyaraSurfFileName[$PokemonGlobal.playerID]+"_"+outfit.to_s
        end
      else
        $game_player.character_name=pbGetPlayerCharset(meta,3) # Surfing graphic
      end
ty ty!

So how can i remove this whale (normal surf)? And how can put refresh to followin pokemon (by mj74) when i surf with Gyarados, i mean, my pikachu until follow me into the water lol
Male
Việt Nam (Vietnam)
Seen March 8th, 2019
Posted January 7th, 2019
80 posts
1.3 Years
ty ty!

So how can i remove this whale (normal surf)? And how can put refresh to followin pokemon (by mj74) when i surf with Gyarados, i mean, my pikachu until follow me into the water lol
You can try find the method in "class Sprite_SurfBase"
And rewrite this for the case "in your party, there are Gyarados".
Moreover, about the following script, find $PokemonGlobal.surfing and change the condition for yourself.
Advertiser Content