Advertiser Content

WolfPP

Discord: Wolf#1235

Male
Brazil
Seen 3 Hours Ago
Posted 1 Day Ago
669 posts
1 Years
I'm trying to add this script, made by Klein Studio to my game, but give me this error:
Spoiler:

[Pokémon Essentials version 17.2]
Exception: NoMethodError
Message: undefined method `viewport1' for #<Spriteset_Map:0x9d65f40>
Water Pond Bubbles:25:in `initialize'
Water Pond Bubbles:83:in `new'
Water Pond Bubbles:83:in `putWaterBubble'
Water Pond Bubbles:124:in `increase_steps'
Game_Player:88:in `move_left'
Game_Player:406:in `update_old'
Game_Player_Visuals:71:in `follow_update'
Following Pokemon:1494:in `update'
Scene_Map:164:in `follow_update'
Scene_Map:161:in `loop'


Also, i have Shadow Overworld and it have:
unless Spriteset_Map.respond_to?(:viewport)
  class Spriteset_Map
    def viewport
      return @viewport1
    end
    
    def self.viewport
      return $scene.spriteset.viewport rescue nil
    end
  end
end
Is that the problem?

Thank you!

Juno and Ice

Developer of Pokémon Floral Tempus

Non-binary
Seen 17 Hours Ago
Posted 3 Days Ago
87 posts
1.3 Years
Put this:

def viewport1; 
    return @@viewport1; 
  end
before the line:

attr_accessor :character_sprites
Credit FL and Richard PT for this fix here.
-------------------------------------------------------------
Every story has an ending.
Just make sure yours ends well.


Discord: https://discord.gg/fpEma8R
Advertiser Content