View Single Post
  #8081    
Old March 27th, 2013 (4:09 PM).
karatekid552's Avatar
karatekid552 karatekid552 is offline
What happens if I push it?....
     
    Join Date: Nov 2012
    Location: Do you really want to know? Really?
    Gender: Male
    Nature: Bold
    Posts: 1,766
    Send a message via AIM to karatekid552 Send a message via Windows Live Messenger to karatekid552
    Quote:
    Originally Posted by CrystalStatic View Post
    Hello, PokeCommunity. I am having some trouble with this script:

    Code:
    #dynamic 0x800000
    
    #org @start
    lockall
    applymovement 0xFF @m1
    waitmovement 0x0
    message @t1 6
    applymovement 0xFF @m2
    waitmovement 0x0
    message @t2 6
    applymovement 0x7 @m3
    waitmovement 0x0
    message @t3 6
    fadesong 0x0000
    message @t4 6
    special 0x113
    applymovement 0xFF @m4
    applymovement 0x7 @m5
    waitmovement 0x0
    hidesprite 0x7
    hidesprite 0xFF
    pause 0x20
    applymovement 0x7F @m6
    waitmovement 0x0
    setflag 0x502
    setvar 0x5002 0x1
    warpmuted 0x11 0x0 0xFF 0x5 0x5
    releaseall
    end
    
    #org @m6
    #raw 0x17
    #raw 0x15
    #raw 0x15
    #raw 0x15
    #raw 0x15
    #raw 0x15
    #raw 0x15
    #raw 0x15
    #raw 0x15
    #raw 0x15
    #raw 0x15
    #raw 0x15
    #raw 0x15
    #raw 0x15
    #raw 0x15
    #raw 0x15
    #raw 0x15
    #raw 0xA
    #raw 0xA
    #raw 0xFE
    
    #org @m4
    #raw 0x8
    #raw 0x8
    #raw 0x8
    #raw 0x8
    #raw 0xB
    #raw 0x8
    #raw 0xB
    #raw 0x8
    #raw 0x8
    #raw 0x8
    #raw 0xFE
    
    #org @m5
    #raw 0x8
    #raw 0x8
    #raw 0x8
    #raw 0xB
    #raw 0x8
    #raw 0xB
    #raw 0x8
    #raw 0x8
    #raw 0x8
    #raw 0xFE
    
    #org @t4
    = \v\h01: (A... A dive?\nI don't remember that...)\p\v\h01: (Who is this man?)\pYou look kind of... lost.\nMaybe you should come to my\lplace for a while.\pWe can have some coffee or\nsomething.\pLet's go, I'll show you the way.
    
    #org @t3
    = Excuse me, are you okay? You sure\ntook a dive to the ground!
    
    #org @t2
    = \v\h01: (Somebody's coming this\nway!)
    
    #org @m3
    #raw 0x9
    #raw 0x9
    #raw 0xA
    #raw 0x9
    #raw 0x10
    #raw 0x56
    #raw 0x14
    #raw 0x9
    #raw 0x9
    #raw 0xA
    #raw 0x9
    #raw 0xFE
    
    #org @m2
    #raw 0x56
    #raw 0xFE
    
    #org @t1
    = \v\h01: (Where am I, now?\nWhere did REGIROCK go?)
    
    #org @m1
    #raw 0x3
    #raw 0x14
    #raw 0x14
    #raw 0x2
    #raw 0x14
    #raw 0x14
    #raw 0x1
    #raw 0x14
    #raw 0x14
    #raw 0x0
    #raw 0xFE
    The script works exactly how I want it to, except when it gets to the "warpmuted" command at the end. It is supposed to warp the character to an interior (house), but the game freezes on a black screen when it tries to warp the character. Any ideas?
    There are only two reasons that come to mind:

    1) Your warpmuted command is broken. (Highly unlikely)
    2) You confused Hex and Dec. 0x11 = 17d. Make sure you didn't get confused, it is a common mistake.
    __________________

    Paired with Simba