Log in

I forgot my password

Latest topics
» [RMXP] Pokemon Glacial Freeze Version
Wed May 09 2012, 08:20 by oldsnake90

» Main Thread!
Wed May 02 2012, 03:44 by MrBrice51297

» [RMXP] Pokemon: Imperial Sky
Wed Apr 18 2012, 03:46 by bebi123

» Pokémon AquaHarmony
Sat Feb 11 2012, 08:16 by BANGitsTyler

» Embedded Software Solutions
Tue Feb 07 2012, 08:27 by pokemontrainer1803

» Mah Doodles and Stuff
Sun Sep 25 2011, 17:30 by pokemontrainer1803

» Overworlds BW
Sat Sep 24 2011, 04:35 by pokemontrainer1803

» Pokemon Shining Orb
Sat Sep 24 2011, 04:20 by pokemontrainer1803

» Are Blue Chrome's graphics resized or un-resized?
Sat Sep 17 2011, 21:29 by Luka S.J.

May 2012
MonTueWedThuFriSatSun
 123456
78910111213
14151617181920
21222324252627
28293031   

Calendar Calendar

Top posters
Luka S.J. (81)
 
oldsnake90 (39)
 
Chriskid198 (39)
 
pokemontrainer1803 (25)
 
Me2Hack (22)
 
neonrider (15)
 
Gamer_Xtremo (11)
 
Carmaniac (11)
 
venom12 (10)
 
RosimInc (9)
 

Other Info
One of my close friends has released his first album ever. Don't miss out on it, be sure to get it from here.
Bank Policy

Forum Costs

Cost for making a Thead: $5

Cost for posting replies: $2

Earn Points $

by logging in every day: $20

by having a friend: $30

by posting profile messages: $10

by posting resources and tutorials: $2-$5


Visit the forum shop to buy some of our products.


Venom12 X-Mas Presents

View previous topic View next topic Go down

Venom12 X-Mas Presents

Post by venom12 on Wed Dec 15 2010, 20:57

Hi i will be posting some resources probably one gift per day to 24 december. So Here are First.

First gift is double battles in grass like in B/W when you go to darker grass.

First go to PokemonField script then search for "class PBTerrain" and edit you terraintags, replace X with yours number.
Spoiler:

[spoiler]class PBTerrain
Ledge=1
Grass=2
GrassDB=X
Rock=4
DeepWater=5
StillWater=6
Water=7
Waterfall=8
WaterfallCrest=9
TallGrass=10
UnderwaterGrass=11
Ice=12
Neutral=13
RockClimb=14
RockClimbCrest=15
Sand=16
DarkGrass=17
end


Then search for
Spoiler:
def pbIsGrassTag?(tag)
return tag==PBTerrain::Grass||
tag==PBTerrain::GrassDB|| # tag==PBTerrain::TallGrass||
tag==PBTerrain::UnderwaterGrass
end


Next step. Search for def pbEncounter(enctype) and edit this line
"if $PokemonGlobal.partner" to this line to look like that.
Spoiler:
terrain=$game_player.terrain_tag
if terrain==PBTerrain::GrassDB and $Trainer.party.length>1 or $PokemonGlobal.partner


Now almost last step replace this def to this def.
Spoiler:

def pbBattleOnStepTaken
if $Trainer.party.length > 0
terrain=$game_player.terrain_tag
encounterType=$PokemonEncounters.pbEncounterType
if encounterType>=0
encounter=$PokemonEncounters.pbGenerateEncounter(encounterType)
if $PokemonEncounters.isEncounterPossibleHere?()
if $PokemonEncounters.pbCanEncounter?(encounter)
if terrain==PBTerrain::GrassDB and $Trainer.party.length>1 or $PokemonGlobal.partner
encounter2=$PokemonEncounters.pbEncounteredPokemon(encounterType)
pbDoubleWildBattle(
encounter[0],encounter[1],
encounter2[0],encounter2[1])
else
pbWildBattle(encounter[0],encounter[1])
end
end
EncounterModifier.triggerEncounterEnd()
end
end
end
end


Now last two steps are search for this "if currentTag==PBTerrain::Grass" AND DO THE LINE LOOKS LIKE THAT
if currentTag==PBTerrain::Grass || currentTag==PBTerrain::GrassDB

And finnaly last step go to PokeBattle_ActualScene and search for
"case @battle.environment" and do the line with grass like that when PBEnvironment::Grass || PBEnvironment::GrassDB that's all.[/spoiler]

Next resource editing location window replace with that def.
Spoiler:
class LocationWindow
def initialize(name)
@window=Window_AdvancedTextPokemon.new(name)
@window.resizeToFit(name,Graphics.width)
@window.x=0
@window.y=-@window.height
@window.z=99999
@window.opacity=0
@currentmap=$game_map.map_id
@location=Sprite.new(@viewport)
@location.bitmap=BitmapCache.load_bitmap("Graphics/Pictures/areaicon1.png")
@location.x=0
@location.y=-@window.height
@frames=0
end
def disposed?
@window.disposed?
@location.disposed?
end
def dispose
@window.dispose
@location.dispose
end
def update
return if @window.disposed?
@window.update
@location.update
if $game_temp.message_window_showing ||
@currentmap!=$game_map.map_id
@window.dispose
return
end
if @frames>80
@window.y-=4
@location.y-=4
@window.dispose if @window.y+@window.height<0
@location.dispose if @window.y+@window.height<0
else
@window.y+=4 if @window.y<0
@location.y+=4 if @window.y<0
@frames+=1
end
end
end


Here is how to edit HM Use sequence graphic.
First Go to if you using newest version of kit go to script called "PokemonHiddenMoves" if old "PokemonField" Find this, pbHiddenMoveAnimation(pokemon) and edit. That's all.
Spoiler:

plane=@hmuse
@hmuse=Sprite.new(@viewport)
@hmuse.bitmap=BitmapCache.load_bitmap("Graphics/Pictures/hmuse.png")
@hmuse.x=0
@hmuse.y=0


Please give credit when used.

venom12
Limited Member
Limited Member

Posts: 10
Join date: 2010-10-29
Age: 21
Location: Poland

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum