mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
Created and implemented GameData::TrainerType, fixed free text entry text mispositioning
This commit is contained in:
@@ -73,7 +73,7 @@ class PokeBattle_Battle
|
||||
end
|
||||
end
|
||||
# NOTE: Add your own Mega objects for particular NPC trainers here.
|
||||
# if isConst?(pbGetOwnerFromBattlerIndex(idxBattler).trainertype,PBTrainers,:BUGCATCHER)
|
||||
# if pbGetOwnerFromBattlerIndex(idxBattler).trainertype == :BUGCATCHER
|
||||
# return _INTL("Mega Net")
|
||||
# end
|
||||
return _INTL("Mega Ring")
|
||||
|
||||
@@ -106,11 +106,12 @@ module PokeBattle_BallAnimationMixin
|
||||
end
|
||||
# Back sprite is animated, make the Poké Ball track the trainer's hand
|
||||
coordSets = [[traSprite.x-44,traSprite.y-32],[-10,-36],[118,-4]]
|
||||
if isConst?(@trainer.trainertype,PBTrainers,:POKEMONTRAINER_Leaf)
|
||||
case @trainer.trainertype
|
||||
when :POKEMONTRAINER_Leaf
|
||||
coordSets = [[traSprite.x-30,traSprite.y-30],[-18,-36],[118,-6]]
|
||||
elsif isConst?(@trainer.trainertype,PBTrainers,:POKEMONTRAINER_Brendan)
|
||||
when :POKEMONTRAINER_Brendan
|
||||
coordSets = [[traSprite.x-46,traSprite.y-40],[-4,-30],[118,-2]]
|
||||
elsif isConst?(@trainer.trainertype,PBTrainers,:POKEMONTRAINER_May)
|
||||
when :POKEMONTRAINER_May
|
||||
coordSets = [[traSprite.x-44,traSprite.y-38],[-8,-30],[122,0]]
|
||||
end
|
||||
# Arm stretched out behind player
|
||||
|
||||
Reference in New Issue
Block a user