• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Error] "Phantom" sprites after end credits

StCooler

Mayst thou thy peace discover.
  • 9,798
    Posts
    5
    Years
    • Seen today
    Hello;

    So, I encountered this bug when testing the end credits (yeah, I finally reached that point). I am using Essentials v18.1.
    So basically, after I run the end credits, I have a bug where some sprites remain on the screen even when I'm moving.
    Here is a video of the bug:



    So basically I am on map A, I click on an Event; the event darkens the screen and then teleports me to map B:

    Spoiler:


    On map B, the Event is an autorun, it plays the end credits, displays some text, and then brightens the screen.

    Spoiler:


    And voilà: some sprites are like "stuck" to the screen.

    A few more details:
    In the Autorun event, I have three lines:
    Code:
    $scene = Scene_Credits.new
    $scene.main
    $scene.createSpritesets
    while in the Docs, they say we only need the first line. Actually if I do this, the credits don't play.
    So I added the second line, which actually plays the credits.
    But if I do, I have countless bugs about some spriteset attributes being "nil" when trying to display some text, so I figured I would need to force to create the spritesets, hence the third line.

    Also, here is the full code for those end credits. I haven't changed anything:
    Spoiler:

    Has anyone any idea why this happens and/or how to solve this?
    Thanks in advance.
     
    Last edited:
    Back
    Top