mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
release 6.2
This commit is contained in:
@@ -122,6 +122,8 @@ module GameData
|
||||
new_ret.each { |bitmap| alter_bitmap_function.call(pkmn, bitmap) }
|
||||
ret = new_ret
|
||||
end
|
||||
print "hat"
|
||||
add_hat_to_bitmap(ret,pkmn.hat,pkmn.hat_x,pkmn.hat_y) if pkmn.hat
|
||||
return ret
|
||||
end
|
||||
|
||||
|
||||
@@ -52,7 +52,8 @@ module GameData
|
||||
end
|
||||
|
||||
def self.player_front_sprite_filename(tr_type)
|
||||
outfit = ($Trainer) ? $Trainer.outfit : 0
|
||||
#outfit = ($Trainer) ? $Trainer.outfit : 0
|
||||
outfit=0
|
||||
return self.check_file(tr_type, "Graphics/Trainers/", sprintf("_%d", outfit))
|
||||
end
|
||||
|
||||
@@ -61,7 +62,8 @@ module GameData
|
||||
end
|
||||
|
||||
def self.player_back_sprite_filename(tr_type)
|
||||
outfit = ($Trainer) ? $Trainer.outfit : 0 rescue 0
|
||||
#outfit = ($Trainer) ? $Trainer.outfit : 0
|
||||
outfit=0
|
||||
return self.check_file(tr_type, "Graphics/Trainers/", sprintf("_%d", outfit), "_back")
|
||||
end
|
||||
|
||||
|
||||
@@ -69,6 +69,7 @@ module GameData
|
||||
end
|
||||
|
||||
def self.get_player(id)
|
||||
return self.get.player_A
|
||||
case id
|
||||
when 0 then return self.get.player_A
|
||||
when 1 then return self.get.player_B
|
||||
|
||||
Reference in New Issue
Block a user