• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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.

[Scripting Question] Game freezes after event finishes

  • 4
    Posts
    255
    Days
    • Seen Apr 7, 2025
    Okay so I've thrown together some maps and some smaller events learning mapping and scripting. I'm trying to create an event where the player comes downstairs and immediately Mom moves in front of them says a bunch of stuff, and moves back to their previous position. With some help from people on reddit I got the entirety of that event working. The only issue is that after the event finishes I can't move. I've tried adjusting triggers, watching further into Thundaga's vids to see if maybe something there would help, but didn't find anything. I'm not sure why it just gets stuck and I can't do anything. Any help on figuring out the cause is sooo appreciated. Thanks in advance <3

    [PokeCommunity.com] Game freezes after event finishes
    [PokeCommunity.com] Game freezes after event finishes
    [PokeCommunity.com] Game freezes after event finishes
     
    this one is a bit of a mystery

    to test if it actually finishes, are you able to put a test text thing at the end of page 1?
    if it never runs, then your move route back is wrong

    Not relevant to the error, but will cause another if you dont fix. On page 2, there is an empty text box that runs. Get rid ot it
     
    this one is a bit of a mystery

    to test if it actually finishes, are you able to put a test text thing at the end of page 1?
    if it never runs, then your move route back is wrong

    Not relevant to the error, but will cause another if you dont fix. On page 2, there is an empty text box that runs. Get rid ot it
    omg yes okay so it didn't run the last piece of text I put in, but I'm not sure why the move wouldn't have completed. I've counted and recounted the tiles and she should end up back where she started which is here and the event space is marked right where i land after coming downstairs. Maybe I should take out the wait for moves completion after that? I'll mess around with it for now
     

    Attachments

    • [PokeCommunity.com] Game freezes after event finishes
      1741959250397.png
      52.4 KB · Views: 1
    omg yes okay so it didn't run the last piece of text I put in, but I'm not sure why the move wouldn't have completed. I've counted and recounted the tiles and she should end up back where she started which is here and the event space is marked right where i land after coming downstairs. Maybe I should take out the wait for moves completion after that? I'll mess around with it for now
    this one is a bit of a mystery

    to test if it actually finishes, are you able to put a test text thing at the end of page 1?
    if it never runs, then your move route back is wrong

    Not relevant to the error, but will cause another if you dont fix. On page 2, there is an empty text box that runs. Get rid ot it
    Found it ! For whatever reason the wait for completion event after having her move back was keeping the event from completing for whatever reason. Not sure if that's a bug or maybe just something wrong with the way I had it in the sequence, but I can at least finish the event and move forward with learning more scripting. Thanks so much !
     
    I think there's a bug with it. "Wait for move completion" likes to softlock my game also and I cant seem to figure out why so I've gotten use to trying to script around it.
     
    I think there's a bug with it. "Wait for move completion" likes to softlock my game also and I cant seem to figure out why so I've gotten use to trying to script around it.
    Erase all of your move route. Put one move, test, if it works, put another. The Wait for move completion error is usually because the NPC is trying to move in a direction with an obstacle in it. Since there's an obstacle, the NPC can't move, but the game keeps trying to move. That way, the movement is never completed. Making the moves one step at a time is a way to ensure that you aren't putting too many moves and forcing you NPC to hit the walls over and over again.
     
    Erase all of your move route. Put one move, test, if it works, put another. The Wait for move completion error is usually because the NPC is trying to move in a direction with an obstacle in it. Since there's an obstacle, the NPC can't move, but the game keeps trying to move. That way, the movement is never completed. Making the moves one step at a time is a way to ensure that you aren't putting too many moves and forcing you NPC to hit the walls over and over again.
    It would happen with NPCs that I wanted to just walk off screen and vanish. I'll give this a try though regardless but I'm not too sure that's the entire issue. Thanks for the reply. I appreciate it.
     
    It would happen with NPCs that I wanted to just walk off screen and vanish. I'll give this a try though regardless but I'm not too sure that's the entire issue. Thanks for the reply. I appreciate it.
    That's probably the problem. Your NPC must be trying to walk outside the map, but there's nothing outside the map, so he can't go anywhere. Try expanding your map in the direction your npc is walking to, or shortening the moves in your move route so that the NPC don't try to go outside the map.
     
    That's probably the problem. Your NPC must be trying to walk outside the map, but there's nothing outside the map, so he can't go anywhere. Try expanding your map in the direction your npc is walking to, or shortening the moves in your move route so that the NPC don't try to go outside the map.
    The first npc i noticed it with was placed towards the center of the map. Player had to do a spiral to him more or less. He would walk to the square just off screen and just stand there. There was nothing in his way, wasn't the edge of the map. All he had to do after hitting that spot was change graphic to none. But he just never got there.
     
    Back
    Top