• 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!
  • It's time to vote for your favorite Pokémon Battle Revolution protagonist in our new weekly protagonist poll! Click here to cast your vote and let us know which PBR protagonist you like most.
  • 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.

[Other] Anyone know what causes the black screen of death?

  • 1,309
    Posts
    13
    Years
    • She/Her
    • Seen Apr 16, 2025
    I saw someone post a thread like this recently, but I tried all of the solutions in there and still no luck. Wasn't sure if I'm allowed to revive resolved problem threads, so here I am!

    I've been preeetty stressed out about a bug in my hack I can't seem to fix, borderline game breaker. Basically, what's happening is that the player is supposed to warp to a certain map from a level script, but instead of doing so, the screen cuts to black and I'm on the same map. I know it's not the actual map I'm warping to that's corrupt or anything, as I can warp there from an earlier level script on the same map with no issues at all. Weirdly enough it also happens to every warp after this one, for example when I get the black screen, bring up the start menu to get it back to normal then try and leave the room through normal warp, it just dies again lol. Here's a list of things I've tried:

    - Removing level script from the map header/changing vars
    - Porting the map I want to warp to to a different map and changing the numbers just in case; same thing but a white screen
    - Different warp commands (warpmuted, etc)


    Is there something in particular that causes this, or is A-map just being weird?
     
    It could be that the ROM you are using wasn't 100% "clean", so maybe try a different ROM from a different site and do the same things?
     
    It could be that the ROM you are using wasn't 100% "clean", so maybe try a different ROM from a different site and do the same things?

    Ah, I should've probably mentioned the hack was pretty far in progress so having to restart from scratch over a single warp would be a real shame =(. It's really bizarre since it works when I do the exact same thing in an earlier part of the game. The var is set to 46 which is pretty high I know, but I was under the impression that vars could be set up to 255 so I don't know if I'm misinformed about that? Either that or there's some sort of limit to how many warps from a script you're allowed to have on a map (unlikely but just trying to think of possible reasons haha)
     
    You are able to warp and use the map normally with a warp tile, but a scripted warp breaks it down?

    1) Does the map you're warping from have more than 1 level script?
    2) Are you warping using something from the start menu?

    It kind of depends on what/when it's freezing. A lot of things happens when a warp is being processed, and it could be many things, so to answer the big question, there's no catch-all fix, rather it'd be dependant on your hack specifically.
     
    Have you done the thing in XSE where you open the level script to make sure it's 0x0 and not 0xFFFF?

    Not the best way to describe it btu if you know what I mean you'll get it.

    I know what you mean yeah, my mistake, I meant level script as in green "Script" tile, my bad!
    Sorry! I must have been half asleep when I wrote this or something lmao. I know it's not just me who gets this bug so hopefully fixing it's possible.

    You are able to warp and use the map normally with a warp tile, but a scripted warp breaks it down?

    1) Does the map you're warping from have more than 1 level script?
    2) Are you warping using something from the start menu?

    It kind of depends on what/when it's freezing. A lot of things happens when a warp is being processed, and it could be many things, so to answer the big question, there's no catch-all fix, rather it'd be dependant on your hack specifically.

    I forgot to mention it was a script tile as opposed to header level script, sorry! I'll try and be more specific, it seems to happen to me a lot so would be amazing to figure out a fix/what it is I'm doing wrong that makes it happen.

    Yeah I only have one level script in the map I'm warping from, but several script tiles. It's not called from the start menu or an item or anything, just a green S-tile. What the script contains before the warp is nothing special, few applymovements and msgboxes, setting the var then warping, standard enough. I can post my script when I get home in case I've made an error in there, but I didn't see anything glaringly obvious when I checked it. Even rescripted it from scratch and the same thing happens.

    I prefer using warpmuted since it uses a white fade/no noise as opposed to normal warps with the sound/black fade, but weirdly enough the screen still goes black at the warp stage instead of white like usual (if that makes sense).
     
    Back
    Top