mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 21:54:58 +00:00
Removes debugging logs
This commit is contained in:
@@ -12,14 +12,9 @@ class CustomSpriteExtracter < PIFSpriteExtracter
|
|||||||
def load_bitmap_from_spritesheet(pif_sprite)
|
def load_bitmap_from_spritesheet(pif_sprite)
|
||||||
body_id = pif_sprite.body_id
|
body_id = pif_sprite.body_id
|
||||||
spritesheet_file = getSpritesheetPath(pif_sprite)
|
spritesheet_file = getSpritesheetPath(pif_sprite)
|
||||||
|
|
||||||
echoln spritesheet_file
|
|
||||||
spritesheet_bitmap = AnimatedBitmap.new(spritesheet_file).bitmap
|
spritesheet_bitmap = AnimatedBitmap.new(spritesheet_file).bitmap
|
||||||
|
|
||||||
sprite_x_position,sprite_y_position =get_sprite_position_on_spritesheet(body_id,SPRITE_SIZE,COLUMNS)
|
sprite_x_position,sprite_y_position =get_sprite_position_on_spritesheet(body_id,SPRITE_SIZE,COLUMNS)
|
||||||
echoln sprite_x_position
|
|
||||||
echoln sprite_y_position
|
|
||||||
|
|
||||||
src_rect = Rect.new(sprite_x_position, sprite_y_position, SPRITE_SIZE, SPRITE_SIZE)
|
src_rect = Rect.new(sprite_x_position, sprite_y_position, SPRITE_SIZE, SPRITE_SIZE)
|
||||||
|
|
||||||
sprite_bitmap = Bitmap.new(SPRITE_SIZE, SPRITE_SIZE)
|
sprite_bitmap = Bitmap.new(SPRITE_SIZE, SPRITE_SIZE)
|
||||||
|
|||||||
@@ -312,6 +312,7 @@ end
|
|||||||
|
|
||||||
def get_random_alt_letter_for_custom(head_id, body_id, onlyMain = true)
|
def get_random_alt_letter_for_custom(head_id, body_id, onlyMain = true)
|
||||||
spriteName = _INTL("{1}.{2}", head_id, body_id)
|
spriteName = _INTL("{1}.{2}", head_id, body_id)
|
||||||
|
echoln spriteName
|
||||||
if onlyMain
|
if onlyMain
|
||||||
alts_list = list_main_sprites_letters(spriteName)
|
alts_list = list_main_sprites_letters(spriteName)
|
||||||
return nil if alts_list.empty?
|
return nil if alts_list.empty?
|
||||||
|
|||||||
Binary file not shown.
@@ -1,8 +1,2 @@
|
|||||||
1741716194
|
1741723971
|
||||||
1741716198
|
1741723972
|
||||||
1741716201
|
|
||||||
1741716206
|
|
||||||
1741716225
|
|
||||||
1741716229
|
|
||||||
1741716244
|
|
||||||
1741716248
|
|
||||||
@@ -526,3 +526,22 @@ Graphics/CustomBattlers/spritesheets/spritesheets_base/239.png
|
|||||||
Graphics/CustomBattlers/spritesheets/spritesheets_custom/239/239.png
|
Graphics/CustomBattlers/spritesheets/spritesheets_custom/239/239.png
|
||||||
Graphics/CustomBattlers/spritesheets/spritesheets_custom/187/187.png
|
Graphics/CustomBattlers/spritesheets/spritesheets_custom/187/187.png
|
||||||
Graphics/CustomBattlers/spritesheets/spritesheets_base/460.png
|
Graphics/CustomBattlers/spritesheets/spritesheets_base/460.png
|
||||||
|
Graphics/CustomBattlers/spritesheets/spritesheets_custom/356/356.png
|
||||||
|
Graphics/CustomBattlers/spritesheets/spritesheets_base/484.png
|
||||||
|
Graphics/CustomBattlers/spritesheets/spritesheets_custom/484/484.png
|
||||||
|
Graphics/CustomBattlers/spritesheets/spritesheets_base/318.png
|
||||||
|
Graphics/CustomBattlers/spritesheets/spritesheets_custom/318/318.png
|
||||||
|
Graphics/CustomBattlers/spritesheets/spritesheets_base/319.png
|
||||||
|
Graphics/CustomBattlers/spritesheets/spritesheets_custom/405/405.png
|
||||||
|
Graphics/CustomBattlers/spritesheets/spritesheets_base/481.png
|
||||||
|
Graphics/CustomBattlers/spritesheets/spritesheets_base/246.png
|
||||||
|
Graphics/CustomBattlers/spritesheets/spritesheets_custom/246/246.png
|
||||||
|
Graphics/CustomBattlers/spritesheets/spritesheets_base/14.png
|
||||||
|
Graphics/CustomBattlers/spritesheets/spritesheets_base/252.png
|
||||||
|
Graphics/CustomBattlers/spritesheets/spritesheets_base/413.png
|
||||||
|
Graphics/CustomBattlers/spritesheets/spritesheets_custom/413/413b.png
|
||||||
|
Graphics/CustomBattlers/spritesheets/spritesheets_base/191.png
|
||||||
|
Graphics/CustomBattlers/spritesheets/spritesheets_base/176.png
|
||||||
|
Graphics/CustomBattlers/spritesheets/spritesheets_custom/173/173.png
|
||||||
|
Graphics/CustomBattlers/spritesheets/spritesheets_base/402.png
|
||||||
|
Graphics/CustomBattlers/spritesheets/spritesheets_custom/418/418.png
|
||||||
|
|||||||
Reference in New Issue
Block a user