Advertiser Content

VitorBM

Male
Brazil
Seen 17 Hours Ago
Posted 4 Days Ago
8 posts
227 Days
Room Service causes your speed to slow down when Trick Room is enabled

is an item shown in this trailer for pokemon Sword and Shield
https://www.youtube.com/watch?v=uaF9iJ9bzUM
this is the error
Screenshot_3.jpg

this is the Script I put under Sticky Barb in the PokeBattle_Battle Script on the end of round.
# ROOMSERVICE
if i.hasWorkingItem(:ROOMSERVICE) && @field.effects[PBEffects::TrickRoom]>0
if self.pbCanReduceStatsStage?(PBStats::SPEED,self,false,self)
self.pbReduceStat(PBStats::SPEED,1,self,false,self,showanim)
showanim=false
end
showanim=true
pbDisplay(_INTL("Your Speed lowers"))
PBDebug.log("[Item triggered] #{i.pbThis}'s Room Service")
end


##################################################
Sorry for the bad english i used google translate.
Advertiser Content