Thank you! I really appreciate it!Ah damn.
I won't be able to fix that for a day or two.
But I'll try to do it this weekend.
I think I know what the issue is. But I won't be in my pc for a bit.
Sorry for the trouble.
$PokemonTemp.terrainEffectsBg = terrainbd
Thank you! I really appreciate it!
- Fixed a bug caused by me forgetting to comment out one line.
I apologise
Hi BIGFriv, I tried again and it's working smoothly with the fields you created!
I was trying to add a new field called "Mountain", but the field announcement is not showing up. The battle bg and bases load properly and appear when I enter battle.
I checked and I followed every step carefully, but i'm not sure if i'm just changing the bg without any effect, I changed it in the metadata of the map.
I have not edited the battle effects script, I just want to know if I am loading the field properly in battle or if I am just loading the bg I want.
If you can please help me identify why I am not able to see the announcement, I will be very thankful!
Here's a copy of the field effects graphics copy in my game and the specific part of field announcements.
Note that for my game it is #4.
Thank you very much, I really appreciate your help!
"
elsif backdropFilename == "mountain_bg" #Mountain
fieldbd = 4
"
Instead of "mountain_bg" make it be "mountain"
Yeah, you'd just add them in item handlers like you would any other item.Would adding seed effects as an optional choice by the scripter be possible?
BattleHandlers::TerrainStatBoostItem.add(:ELECTRICSEED,
proc { |item,battler,battle|
next false if battle.field.terrain!=PBBattleTerrains::Electric
next false if !battler.pbCanRaiseStatStage?(PBStats::DEFENSE,battler)
itemName = PBItems.getName(item)
battle.pbCommonAnimation("UseItem",battler)
next battler.pbRaiseStatStageByCause(PBStats::DEFENSE,1,battler,itemName)
}
)
# Snow Warning
BattleHandlers::AbilityOnSwitchIn.add(:SNOWWARNING,
proc { |ability,battler,battle|
$PokemonTemp.fieldEffectsBg = 4 # Winter Field
@battle.scene.pbChangeBGSprite
@battle.pbDisplay(_INTL("Snow covered the field!"))
}
)
That should work yeah!Testing, this look good?
Code:# Snow Warning BattleHandlers::AbilityOnSwitchIn.add(:SNOWWARNING, proc { |ability,battler,battle| $PokemonTemp.fieldEffectsBg = 4 # Winter Field @battle.scene.pbChangeBGSprite @battle.pbDisplay(_INTL("Snow covered the field!")) } )
Thanks bro. I wanted to use Field Effects for some of the Gyms in my game, will be sure to credit you.That should work yeah!