venom12
Pokemon Crystal Rain Relased
- 476
- Posts
- 18
- Years
- Age 34
- Seen Dec 28, 2023
Hi here is mi presents before christmas, i working on something big for christmas so wait :P
First gift is double battles in grass like in B/W when you go to darker grass.
Next resource editing location window replace with that def.
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.
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.
First gift is double battles in grass like in B/W when you go to darker grass.
Spoiler:
First go to PokemonField script then search for "class PBTerrain" and edit you terraintags, replace X with yours number.
Then search for
Next step. Search for def pbEncounter(enctype) and edit this line
"if $PokemonGlobal.partner" to this line to look like that.
Now almost last step replace this def to this def.
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:
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
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|| #<Add this
tag==PBTerrain::TallGrass||
tag==PBTerrain::UnderwaterGrass
end
return tag==PBTerrain::Grass||
tag==PBTerrain::GrassDB|| #<Add this
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
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.
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
@[email protected]
@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
@[email protected]
@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 @[email protected]<0
@location.dispose if @[email protected]<0
else
@window.y+=4 if @window.y<0
@location.y+=4 if @window.y<0
@frames+=1
end
end
end
def initialize(name)
@window=Window_AdvancedTextPokemon.new(name)
@window.resizeToFit(name,Graphics.width)
@window.x=0
@[email protected]
@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
@[email protected]
@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 @[email protected]<0
@location.dispose if @[email protected]<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.
Last edited: