• 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!
[20.1+] Notebook

v20.1 [20.1+] Notebook 1.0.8

This resource pertains to version 20.1 of Pokémon Essentials.
Pokémon Essentials Version
v20.1 ➖
Compatibility
This plugin has been tested to work in Pokemon Essentials 20.1. I don't know if it works on 21.

For those that have looked at the wiki about the pokegear, you'll have probably seen the idea of adding a notebook as a pokegear app. Maybe, like me, haven't know how to do it nor have been able to find scripts that do it. Well, I managed to figure out a way to do so thanks to Pokémon holding Mail by Mr. Gela.

This script handles everything to make the notebook work separately from the mailbox (but not the mail) so you can still use it like in pokemon games if you want to. The script comes with the mail items and backgrounds from Black and White to use with it but you can use any background as long as you define a mail item that goes with it.

  1. Drop the contents of the zip in your game's folder.
  2. In the PBS folder, pass the mails items to your Items PBS file.
  3. Pass the notebook item to your Items PBS file (optional).
  4. Erase the script to add the notebook as a pokegear app (optional).
  5. Compile your game.
  6. Start a new game.
  1. Give the player the notebook item or the pokegear app.
  2. That's all.
  1. Download the file "Notebook with icons".
  2. Add the mails with icons to both NOTES_BACKGROUND and ICON_NOTE in the configuration. You can add them directly on the configuration file or by adding them through a script. IMPORTANT: the mail object needs the flag icon mail for this to work.
  3. Open the file "Notebook_Icons" and copy the examples for your mails.
  4. Edit the mail ID and pokémon to your liking. Be aware that the icons display any gender difference, the pokémon's form and if the pokémon is shiny (both super shiny and normal shiny), if it's a shadow pokémon or not and if it's an egg or not.
In the Configuration, set the NOTE_STORAGE_VARIABLE to the number of a variable you don't use. Change the value of the variable to add storage to the base storage.

It could be used, for example, in a shop where the player can purchase pages to stick the notes to.
Use the code NoteConfig::NOTES_BACKGROUND.push(mailID) to add mails to the array. MailID has to be the ID of a mail like this: :GRASSMAIL.

Use this to, for example, create a store where the player can purchase backgrounds.
Add this to an event:
Ruby:
Expand Collapse Copy
pbMailShop(items, mails)
pbConvertMailToNote(mails)
pbMailShop(items, mails) creates the inventory for the shop and opens it.
pbConvertMailToNote(mails) converts any mail item in the bag into a background for the notebook and the item is deleted from the bag.
items has to be an array of ids.
mails has to be an array of ids.
You can use items and mails to separate normal items from the mail items or use only one.

NOTE: the shop used for this shop has been slightly modified. You can only buy 1 item at a time and the price will change to "Sold out" if you have the item in the bag or you already purchased the background.
Ruby:
Expand Collapse Copy
item = [:NOTEBOOK]
mails = [:BRIDGEDMAIL, :BRIDGEMMAIL, :BRIDGESMAIL, :BRIDGETMAIL, :BRIDGEVMAIL, :FAVOREDMAIL, :GREETMAIL, :INQUIRYMAIL, :LIKEMAIL, :REPLYMAIL, :RSVPMAIL, :THANKSMAIL]
pbMailShop(item, mails)
pbConvertMailToNote(mails)
Ruby:
Expand Collapse Copy
mails = [:BRIDGEDMAIL, :BRIDGEMMAIL, :BRIDGESMAIL, :BRIDGETMAIL, :BRIDGEVMAIL, :FAVOREDMAIL, :GREETMAIL, :INQUIRYMAIL, :LIKEMAIL, :REPLYMAIL, :RSVPMAIL, :THANKSMAIL]
pbMailShop(nil, mails)
pbConvertMailToNote(mails)
Ruby:
Expand Collapse Copy
items = [:NOTEBOOK, :BRIDGEDMAIL, :BRIDGEMMAIL, :BRIDGESMAIL, :BRIDGETMAIL, :BRIDGEVMAIL, :FAVOREDMAIL, :GREETMAIL, :INQUIRYMAIL, :LIKEMAIL, :REPLYMAIL, :RSVPMAIL, :THANKSMAIL]
pbMailShop(items)
pbConvertMailToNote(items)
Note: if this method throws errors or doesn't work as it should (like adding items that aren't mail in the list of backgrounds for the notebook), use the method in example 1.
Use pbPCNotebook for the default mail menu.
Use pbNewNotebookScreen for the new notebook menu.
Use it to add the notebook to the player's PC (you'll have to edit the code to that PC yourself) or on other scripts.

This step should not be necessary any longer since the plugin doesn't alter the player's party anymore.
Search for that line (usually in line 678 if you haven't deleted or added anything) and add if $player.party_count > 0 like in the image below:
Credits
Mr. Gela for the base script.
Barubary for ripping Black and White mail's background.
redblueyellow for ripping Black and White mail's icons.
wrigty12 for the changes used for the mail shop.
LinKazamine for the script.
  • 1689700803083.png
    1689700803083.png
    24 KB · Views: 925
  • 1689700821386.png
    1689700821386.png
    19 KB · Views: 900
  • 1689700913194.png
    1689700913194.png
    27.3 KB · Views: 936
  • 1689700930743.png
    1689700930743.png
    9.5 KB · Views: 1,005
  • Bag with Party error solution.PNG
    Bag with Party error solution.PNG
    35 KB · Views: 497
  • 1693078058203.png
    1693078058203.png
    17.5 KB · Views: 480
  • 1693078072534.png
    1693078072534.png
    24.5 KB · Views: 476
Author
LinKazamine
Downloads
2,252
Views
2,695
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from LinKazamine

Latest updates

  1. Added missing configuration

    Added missing configuration to activate or disable the new notebook scene for Notebook with icons.
  2. 1.0.8

    Fixed the new scene code so it doesn't crash if you don't have FL's controls plugin instaled.
  3. 1.0.7

    Fixed the problem that caused a pokémon to be registered as owned when creating notes.
Back
Top