• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Eevee Expo's webhost has been having technical issues since Nov. 20th and you might be unable to connect to our site. Staff are also facing issues connecting, so please send a DM to Cat on-site or through Discord directly for faster service!
Pokémon Amie

Resource Pokémon Amie 1.7

Gardenette

Cooltrainer
Member
Joined
May 30, 2022
Posts
156
Gardenette submitted a new resource:

Pokémon Amie - Port to 20.1 of Pokémon Amie from Gen 6 for Essentials

This is a port to 20.1 of this resource: https://www.pokecommunity.com/threads/pokemon-amie-refresh-essentials-v18.439558/

From BhagyaJyoti's post:
  • Interact with your Pokemon and play with them.
  • Access the menu as you wish, either from PokeGear, or while OW Pokemon interaction or both.
  • Evolve Eevee based on affection, like in actual games...

Read more about this resource...
 

Gardenette

Cooltrainer
Member
Joined
May 30, 2022
Posts
156
Gardenette updated Pokémon Amie with a new update entry:

"A plugin called 'Pokemon Amie' already exists"

I don't know why I didn't get this error until earlier tonight, but when compiling the plugin again, I got the error "A plugin called 'Pokemon Amie' already exists."
I removed the following section from 'Pokemon Amie.rb":

Removed code:
Expand Collapse Copy
# Plugin Manager Support
PluginManager.register({
  :name    => "Pokémon Amie",
  :version => "1.6",
  :link    => "https://www.pokecommunity.com/showthread.php?t=439558",
  :credits => ["Bhagya Jyoti","Pizza...

Read the rest of this update entry...
 

BiggusWeeabus

"What's so funny about Biggus Dickus?"
Member
Joined
Sep 1, 2020
Posts
105
I get this error when I try to use a healing item from the bag:

Ruby:
Expand Collapse Copy
[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]

Exception: NameError
Message: undefined local variable or method `restoreHP' for nil:NilClass

Backtrace:
303:UI_PokemonAmie:173:in `pbHPItem'
250:Item_Effects:412:in `block in <main>'
035:Event_Handlers:227:in `trigger'
249:Item_Utilities:84:in `triggerUseOnPokemon'
249:Item_Utilities:678:in `block (2 levels) in pbUseItem'
249:Item_Utilities:659:in `loop'
249:Item_Utilities:659:in `block in pbUseItem'
082:MessageConfig:570:in `pbFadeOutIn'
249:Item_Utilities:655:in `pbUseItem'
[B2W2 Bag] UI_Bag.rb:542:in `block in pbStartScreen'
 

Gardenette

Cooltrainer
Member
Joined
May 30, 2022
Posts
156
I'll look into this today
I get this error when I try to use a healing item from the bag:

Ruby:
Expand Collapse Copy
[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]

Exception: NameError
Message: undefined local variable or method `restoreHP' for nil:NilClass

Backtrace:
303:UI_PokemonAmie:173:in `pbHPItem'
250:Item_Effects:412:in `block in <main>'
035:Event_Handlers:227:in `trigger'
249:Item_Utilities:84:in `triggerUseOnPokemon'
249:Item_Utilities:678:in `block (2 levels) in pbUseItem'
249:Item_Utilities:659:in `loop'
249:Item_Utilities:659:in `block in pbUseItem'
082:MessageConfig:570:in `pbFadeOutIn'
249:Item_Utilities:655:in `pbUseItem'
[B2W2 Bag] UI_Bag.rb:542:in `block in pbStartScreen'
 

BiggusWeeabus

"What's so funny about Biggus Dickus?"
Member
Joined
Sep 1, 2020
Posts
105
I'll look into this today
Unrelated to the bag issue, but I also get this error saying the PokemonAmieRefresh method is undefined in every instance where i try to call it

Ruby:
Expand Collapse Copy
[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]

Script error in event 22 (coords 40,20), map 80 (Santalune City)
Exception: NoMethodError
Message: undefined method `PokemonAmieRefresh' for #<Interpreter @event_id: 22>

***Full script:
PokemonAmieRefresh(0)

Backtrace:
(eval):1:in `execute_script'
033:Interpreter:143:in `eval'
033:Interpreter:143:in `execute_script'
034:Interpreter_Commands:1112:in `command_355'
034:Interpreter_Commands:116:in `execute_command'
033:Interpreter:133:in `block in update'
033:Interpreter:90:in `loop'
033:Interpreter:90:in `update'
032:Scene_Map:166:in `block in update'
032:Scene_Map:165:in `loop'
 

Gardenette

Cooltrainer
Member
Joined
May 30, 2022
Posts
156
Unrelated to the bag issue, but I also get this error saying the PokemonAmieRefresh method is undefined in every instance where i try to call it

Ruby:
Expand Collapse Copy
[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]

Script error in event 22 (coords 40,20), map 80 (Santalune City)
Exception: NoMethodError
Message: undefined method `PokemonAmieRefresh' for #<Interpreter @event_id: 22>

***Full script:
PokemonAmieRefresh(0)

Backtrace:
(eval):1:in `execute_script'
033:Interpreter:143:in `eval'
033:Interpreter:143:in `execute_script'
034:Interpreter_Commands:1112:in `command_355'
034:Interpreter_Commands:116:in `execute_command'
033:Interpreter:133:in `block in update'
033:Interpreter:90:in `loop'
033:Interpreter:90:in `update'
032:Scene_Map:166:in `block in update'
032:Scene_Map:165:in `loop'
Fixed the hpItem from bag error I believe
Also I had a typo in the usage section.
To call the script, it's a lowercase p at the front.
I updated the instructions on the post.
 
Last edited:

BiggusWeeabus

"What's so funny about Biggus Dickus?"
Member
Joined
Sep 1, 2020
Posts
105
Fixed the hpItem from bag error I believe
Also I had a typo in the usage section.
To call the script, it's a lowercase p at the front.
I updated the instructions on the post.
The fix worked, and I should have realized the typo to point it out when I've checked the "def pokemonAmieRefresh", my bad lol.

Anyway, I'm getting this error when trying to pick an item in the Amie:
Ruby:
Expand Collapse Copy
[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]

Exception: NoMethodError
Message: undefined method `mask' for #<BitmapWrapper>

Backtrace:
[Luka's Scripting Utilities] script.rb:527:in `mask'
[Pokémon Amie] Pokemon Amie.rb:1092:in `pbAmieMouse'
[Pokémon Amie] Pokemon Amie.rb:1404:in `block in pbStartAmie'
[Pokémon Amie] Pokemon Amie.rb:1396:in `loop'
[Pokémon Amie] Pokemon Amie.rb:1396:in `pbStartAmie'
[Pokémon Amie] Pokemon Amie.rb:1421:in `block in pokemonAmieRefresh'
082:MessageConfig:570:in `pbFadeOutIn'
[Pokémon Amie] Pokemon Amie.rb:1418:in `pokemonAmieRefresh'
279:UI_PauseMenu:270:in `block (2 levels) in <main>'
082:MessageConfig:570:in `pbFadeOutIn'
 

Gardenette

Cooltrainer
Member
Joined
May 30, 2022
Posts
156
Getting this error when trying to pick an item in the Amie:

Ruby:
Expand Collapse Copy
[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]

Exception: NoMethodError
Message: undefined method `mask' for #<BitmapWrapper>

Backtrace:
[Luka's Scripting Utilities] script.rb:527:in `mask'
[Pokémon Amie] Pokemon Amie.rb:1092:in `pbAmieMouse'
[Pokémon Amie] Pokemon Amie.rb:1404:in `block in pbStartAmie'
[Pokémon Amie] Pokemon Amie.rb:1396:in `loop'
[Pokémon Amie] Pokemon Amie.rb:1396:in `pbStartAmie'
[Pokémon Amie] Pokemon Amie.rb:1421:in `block in pokemonAmieRefresh'
082:MessageConfig:570:in `pbFadeOutIn'
[Pokémon Amie] Pokemon Amie.rb:1418:in `pokemonAmieRefresh'
279:UI_PauseMenu:270:in `block (2 levels) in <main>'
082:MessageConfig:570:in `pbFadeOutIn'
Do you have Luka's scripting utilities installed separately? If you do, that might be causing some sort of conflict. In which case I will download his scripting utilities and troubleshoot
 

BiggusWeeabus

"What's so funny about Biggus Dickus?"
Member
Joined
Sep 1, 2020
Posts
105
Do you have Luka's scripting utilities installed separately? If you do, that might be causing some sort of conflict. In which case I will download his scripting utilities and troubleshoot
Yes, it appears the mask script is slightly different in the current Scripting Utilities
 

Gardenette

Cooltrainer
Member
Joined
May 30, 2022
Posts
156
Gardenette updated Pokémon Amie with a new update entry:

Bug Fixes 12/27/2023

Fixed an incompatibility with Luka SJ's Scripting Utilities
Added Luka SJ to credits. For some reason he wasn't credited originally even though his "mask" method from his scripting utilities was copied into the Amie script.
I renamed the method "mask" in Pokemon Amie.rb rather than made Luka SJ's Scripting Utilities a requirement to run this plugin. The only thing from his scripting utilities that the script uses is the mask method I believe.

Read the rest of this update entry...
 

BiggusWeeabus

"What's so funny about Biggus Dickus?"
Member
Joined
Sep 1, 2020
Posts
105
Should be good now. I made sure to download Luka's Scripting Utilities just to make sure the crash happens before the change and doesn't happen after the change.
Everything appears to be working as intended now, thanks!
I will check out how to make affection affect things like evolution on my end and share them, would be cool things to include in the installation instructions
 

fncjinta

Novice
Member
Joined
Sep 30, 2023
Posts
24
1704456599946.png
1704456615601.png

Hello, if I understood correctly, the background should appear but it always appears black. I do not know what I'm doing wrong.
 

fncjinta

Novice
Member
Joined
Sep 30, 2023
Posts
24
You are right since pompt warns that the specific background that I use is missing in that path, I looked for the background and put it in the plugin folder and it worked perfectly.
Another question I wanted to tell you is if it is possible to implement it in the menu
1704460340539.png
 
Back
Top