• Hi, Guest!
    Some images might be missing as we move away from using embedded images, sorry for the mess!
    From now on, you'll be required to use a third party to host images. You can learn how to add images here, and if your thread is missing images you can request them here.
    Do not use Discord to host any images you post, these links expire quickly!
Resource icon

Mystery Gift Music 1.2

Pokémon Essentials Version
v18.1 ➖
This is an add-on from Contiune Background Music but with the Mystery Gifts and my variant too, it is very similar to Contiune Background Music, but that's not it


They always wanted it to be played in the Mystery Gift Music, then I thought about it being played in the Mystery Gift Music as in the Official Games

You must have the FMod plugin if you want to use the music that I last ripped and looped and now to the tutorial on how to use it


Step 1 go to PScreen_MysteryGifts on line 261 and enter that

Ruby:
 pbBGMPlay("MysteryGift")


Step 2 go to line 269 and enter that but stay with PScreen_MysteryGift
Ruby:
 pbBGMFade(0.8)
More steps will come when I find out more

If you find bugs or errors just ask me and be careful you have to have the FmodEx plugin because the included music
was looped

Before that I made a lot of mistakes and this is the improved version of the plugin

Step 1, as always, go to PScreen_MysteryGift and find
Ruby:
 def pbDownloadMysteryGift(trainer)
  sprites={}
  viewport=Viewport.new(0,0,Graphics.width,Graphics.height)
  viewport.z=99999
and replace this to
Ruby:
def pbDownloadMysteryGift(trainer)
  sprites={}
  viewport=Viewport.new(0,0,Graphics.width,Graphics.height)
  viewport.z=99999
  pbBGMPlay("MysteryGift")
Step 2 find this
Ruby:
pbFadeOutAndHide(sprites)
  pbDisposeMessageWindow(sprites["msgwindow"])
  pbDisposeSpriteHash(sprites)
  viewport.dispose
and replace this to this
Ruby:
pbFadeOutAndHide(sprites)
  pbDisposeMessageWindow(sprites["msgwindow"])
  pbDisposeSpriteHash(sprites)
  pbBGMFade(0.8)
  viewport.dispose

have fun with the new fixes

Compatible for v17 and v18
Credits
Abdoulgaming and GameFreak for the Mystery Gift music
Author
Abdoulgaming
Downloads
901
Views
1,450
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Abdoulgaming

Latest updates

  1. Many Many Fixes

    There were too many improvements and bug fixes in the Mystery Gift Plugin New method added The...
  2. Bug Fixes

    Look at the discussion tread Because someone fixed a few bugs
Back
Top