• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • 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.

Need Scripting help for Cutscene

  • 5
    Posts
    1
    Years
    • Seen Jun 23, 2025
    Hello i am new to decomps and there is something i dont understand you see i want to start a cutscene
    immediately after the birch intro speech and the cutscene should not involve the player how can i do that?
    I tried map script on transition but the game freezes
    If anyone can help it would be much appreciated
     
    Hello i am new to decomps and there is something i dont understand you see i want to start a cutscene
    immediately after the birch intro speech and the cutscene should not involve the player how can i do that?
    I tried map script on transition but the game freezes
    If anyone can help it would be much appreciated
    Most of the map script types run before the map has loaded and don't work if the script lasts longer than a frame. For cutscenes you would usually use MAP_SCRIPT_ON_FRAME_TABLE which runs whenever the player would have control of their character.

    To not involve the player, you can hide the player object using the hideobjectat command.

    Both of these things are mentioned in the wiki's scripting guide, so check that out if you didn't already.
     
    Most of the map script types run before the map has loaded and don't work if the script lasts longer than a frame. For cutscenes you would usually use MAP_SCRIPT_ON_FRAME_TABLE which runs whenever the player would have control of their character.

    To not involve the player, you can hide the player object using the hideobjectat command.

    Both of these things are mentioned in the wiki's scripting guide, so check that out if you didn't already.
    Thanks it worked
     
    Back
    Top