• 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?".
  • 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.

[ARCHIVE] Simple Questions (SEARCH BEFORE ASKING A QUESTION)

Status
Not open for further replies.

Akiba

[img]http://i.imgur.com/o3RYT4v.png[/img]
4,262
Posts
13
Years
  • If you are having a lot of trouble with XSE, I would recommend using PKSV-UI.

    I had to switch to it after someone tampered with my computer's Unicode libraries.

    I personally prefer PKSV, actually.
     

    Shadowraze

    ur mum
    794
    Posts
    11
    Years
  • Does anyone know why this midi sounds distorted after it's assembled into Sappy?
    It sounds fine in Anvil Studio.

    View attachment 68372

    It's probably because you haven't used the right voicegroup.

    Try editing the instruments in Anvil Studio according to the voicegroup you're gonna use. If you wanna see the group of voicegroups see Magnius' documentation in the Research & Development Forum.
     

    Wobbu

    bunger bunger bunger bunger
    2,794
    Posts
    12
    Years
  • Nope, I wish that was the problem. It's a different type of distortion, not the beeps and square noises. No matter what instruments I use, the problem persists.
     

    Shadowraze

    ur mum
    794
    Posts
    11
    Years
  • Nope, I wish that was the problem. It's a different type of distortion, not the beeps and square noises. No matter what instruments I use, the problem persists.

    Are you sure you did everything right? From the compiling, inserting, etc.?

    Or maybe the error is from your Sappy version or your Mid2Agb program. :/
     

    Wobbu

    bunger bunger bunger bunger
    2,794
    Posts
    12
    Years
  • Yeah, the problem lies within the actual tracks of the midi. I've had this problem before with other midis, but I've managed to fix those. I can't fix this certain one for some reason. The attachment that I uploaded was just two tracks of the entire midi. The other five tracks play fine.
     

    Akiba

    [img]http://i.imgur.com/o3RYT4v.png[/img]
    4,262
    Posts
    13
    Years
  • How do I make a custom starter event in XSE?
    You can create a sequence in which givepokemon is utilized.

    As for the originally programmed choosing of Pokemon, you'd have to Hex Edit/A-Text the special.
     
    534
    Posts
    11
    Years
    • Age 26
    • Seen Jul 24, 2023
    I have a question!

    How do I make a level script run one time only?

    And if it helps, here's my script:
    Code:
    #dynamic 0x750000
    
    #org @start
    lock
    checkflag 0x6
    if 0x1 goto @ended
    fadescreen 0x1
    preparemsg @msg1
    waitmsg
    multichoice 0x0 0x0 0x01 0x1
    copyvar 0x8000 0x800D
    compare 0x8000 0x0
    if 0x1 goto @fire
    compare 0x8000 0x1
    if 0x1 goto @wind
    compare 0x8000 0x2
    if 0x1 goto @lightning
    compare 0x8000 0x3
    if 0x1 goto @earth
    compare 0x8000 0x4
    if 0x1 goto @water
    release
    end
    
    #org @ended
    release
    end
    
    #org @fire
    setflag 0x1
    goto @go1
    release
    end
    
    #org @wind
    setflag 0x2
    goto @go2
    release
    end
    
    #org @lightning
    setflag 0x3
    goto @go3
    release
    end
    
    #org @earth
    setflag 0x4
    goto @go4
    release
    end
    
    #org @water
    setflag 0x5
    goto @go5
    release
    end
    
    #org @go1
    msgbox @msg2 0x6
    setflag 0x6
    fadescreen 0x0
    setvar 0x4000 0x1
    release
    end
    
    #org @go2
    msgbox @msg3 0x6
    setflag 0x6
    fadescreen 0x0
    setvar 0x4000 0x1
    release
    end
    
    #org @go3
    msgbox @msg4 0x6
    setflag 0x6
    fadescreen 0x0
    setvar 0x4000 0x1
    release
    end
    
    #org @go4
    msgbox @msg5 0x6
    setflag 0x6
    fadescreen 0x0
    setvar 0x4000 0x1
    release
    end
    
    #org @go5
    msgbox @msg6 0x6
    setflag 0x6
    fadescreen 0x0
    setvar 0x4000 0x1
    release
    end
    
    #org @msg1
    = Choose a town you want to start\nyour adventure from.
    
    #org @msg2
    = You have chosen the Fire Town.\nGood luck on your journey!
    
    #org @msg3
    = You have chosen the Wind Town.\nGood luck on your journey!
    
    #org @msg4
    = You have chosen the Lightning\nTown. Good luck on your journey!
    
    #org @msg5
    = You have chosen the Earth Town.\nGood luck on your journey!
    
    #org @msg6
    = You have chosen the Water Town.\nGood luck on your journey!
     
    534
    Posts
    11
    Years
    • Age 26
    • Seen Jul 24, 2023
    You need to set the same variable that you put in the Flag number box in Amap at the end of your script.

    Ah yes! I did that. Actually it runs perfectly BUT what I actually want to happen is, once I exit the map and return to it, it wouldn't happen again BUT what happens is the opposite! When I exit and return the same thing happens again!
     

    Aemirch

    Hobbler
    26
    Posts
    10
    Years
  • Ah yes! I did that. Actually it runs perfectly BUT what I actually want to happen is, once I exit the map and return to it, it wouldn't happen again BUT what happens is the opposite! When I exit and return the same thing happens again!
    Set another variable, then? Or a flag.
     

    Aemirch

    Hobbler
    26
    Posts
    10
    Years
  • Still not working. :( Maybe I just have to make two maps. One with the level script one without. :(
    Is the script type correct? As in, type 02 (it says something about validating values)-- and, check if the map has other scripts that resets offsets or pointers and if it does, delete said script.
     

    Shadowraze

    ur mum
    794
    Posts
    11
    Years
  • I have a question!

    How do I make a level script run one time only?

    And if it helps, here's my script:
    Code:
    #dynamic 0x750000
    
    #org @start
    lock
    checkflag 0x6
    if 0x1 goto @ended
    fadescreen 0x1
    preparemsg @msg1
    waitmsg
    multichoice 0x0 0x0 0x01 0x1
    copyvar 0x8000 0x800D
    compare 0x8000 0x0
    if 0x1 goto @fire
    compare 0x8000 0x1
    if 0x1 goto @wind
    compare 0x8000 0x2
    if 0x1 goto @lightning
    compare 0x8000 0x3
    if 0x1 goto @earth
    compare 0x8000 0x4
    if 0x1 goto @water
    release
    end
    
    #org @ended
    release
    end
    
    #org @fire
    setflag 0x1
    goto @go1
    release
    end
    
    #org @wind
    setflag 0x2
    goto @go2
    release
    end
    
    #org @lightning
    setflag 0x3
    goto @go3
    release
    end
    
    #org @earth
    setflag 0x4
    goto @go4
    release
    end
    
    #org @water
    setflag 0x5
    goto @go5
    release
    end
    
    #org @go1
    msgbox @msg2 0x6
    setflag 0x6
    fadescreen 0x0
    setvar 0x4000 0x1
    release
    end
    
    #org @go2
    msgbox @msg3 0x6
    setflag 0x6
    fadescreen 0x0
    setvar 0x4000 0x1
    release
    end
    
    #org @go3
    msgbox @msg4 0x6
    setflag 0x6
    fadescreen 0x0
    setvar 0x4000 0x1
    release
    end
    
    #org @go4
    msgbox @msg5 0x6
    setflag 0x6
    fadescreen 0x0
    setvar 0x4000 0x1
    release
    end
    
    #org @go5
    msgbox @msg6 0x6
    setflag 0x6
    fadescreen 0x0
    setvar 0x4000 0x1
    release
    end
    
    #org @msg1
    = Choose a town you want to start\nyour adventure from.
    
    #org @msg2
    = You have chosen the Fire Town.\nGood luck on your journey!
    
    #org @msg3
    = You have chosen the Wind Town.\nGood luck on your journey!
    
    #org @msg4
    = You have chosen the Lightning\nTown. Good luck on your journey!
    
    #org @msg5
    = You have chosen the Earth Town.\nGood luck on your journey!
    
    #org @msg6
    = You have chosen the Water Town.\nGood luck on your journey!

    Change the var that you're using since 0x4000 resets it's value once you enter/leave the map.
     
    Status
    Not open for further replies.
    Back
    Top