• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Staff applications for our PokéCommunity Daily and Social Media team are now open! Interested in joining staff? Then click here for more info!
  • 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✓] Trainer Sprite Freezing Battle?

  • 60
    Posts
    9
    Years
    This is a weird question to ask. So I was writing a script that goes from text to a trainer battle. And while the text worked, the trainer battle did not. I have a video showcasing the problem below, and my script that I am using. The video shows the working text, but when I get into a battle with specific trainer, the game freezes. Now something I'm going to note, I switched the trainer sprite to a female swimmer, and it worked. I also changed the battle to a different battle and it worked. So this is telling me the Hilbert sprite is making the game crash (using pokemon ruby by the way) when I use it. If there is a solution to this problem, please inform me. No idea why a trainer sprite would freeze the game.

    Edit 1: Forgot to mention I replaced Team Magma Leader Maxie sprite with Hilbert.


    Video showcasing the problem:
    https://www.youtube.com/watch?v=9j7fMqwyi-8&feature=youtu.be

    Script being used:
    '---------------
    #org 0x80B07E
    faceplayer
    msgbox 0x880AEAC 0x6 '"???: Hello.\pJaws: My name is Jaws..."
    msgbox 0x880AEFF 0x6 '"My defeat is impossible from anyon..."
    trainerbattle 0x3 0x208 0x0 0x880B046
    release
    end


    '---------
    ' Strings
    '---------
    #org 0x80AEAC
    = ???: Hello.\pJaws: My name is Jaws. I've assembled\nthe strongest team of Pokémon.

    #org 0x80AEFF
    = My defeat is impossible from anyone.\nHm? You think you can best me?\pLet's have a go, you commoner!

    #org 0x80B046
    = Something's wrong here...
     
    Last edited:
    I solved the problem on my own. Turns out it crashes when replaced by "x" sprites, x being equal to specific sprites. What are these specific sprites? Well I can't tell you. All I know is that Maxie and Steven don't work. So I changed the Ruins Maniac Sprite to Hilbert and it worked!
     
    Back
    Top