View Single Post
  #7374    
Old October 20th, 2012 (4:46 PM).
Renegade's Avatar
Renegade Renegade is offline
Time for real life...
     
    Join Date: Nov 2011
    Location: United States
    Gender: Male
    Nature: Careful
    Posts: 998
    I have a question. Hope someone can answer.

    I'm having a problem with this script working as a level script:

    Code:
    #dynamic 0x800000
    
    #org @start
    checktrainerflag 0x2B2
    if 0x1 goto @go
    release
    end
    
    #org @go
    lockall
    pause 0x20
    applymovement 0xE @m1
    waitmovement 0x0
    pause 0x10
    applymovement 0xFF @m2
    waitmovement 0x0
    pause 0x20
    message @t1 6
    pause 0x20
    message @t2 6
    pause 0x20
    applymovement 0xE @m3
    waitmovement 0x0
    applymovement 0xFF @m4
    waitmovement 0x0
    pause 0x20
    message @t3 6
    pause 0x10
    showsprite 0xF
    clearflag 0x563
    pause 0x10
    applymovement 0xFF @m5
    waitmovement 0x0
    pause 0x10
    hidesprite 0xF
    setflag 0x563
    giveitem 0x175 0x1 MSG_OBTAIN
    message @t4 6
    pause 0x20
    message @t5 6
    applymovement 0xE @m6
    waitmovement 0x0
    hidesprite 0xE
    setflag 0x562
    setvar 0x5032 0x1
    releaseall
    end
    
    #org @m6
    #raw 0x20
    #raw 0x20
    #raw 0x20
    #raw 0x20
    #raw 0x20
    #raw 0xFE
    
    #org @t5
    = \c\h01\h02Argh, forget this place!\nUs black suits will NOT give up,\lhear me?!
    
    #org @m5
    #raw 0x49
    #raw 0x49
    #raw 0xFE
    
    #org @t4
    = \c\h01\h02That \c\h01\h06DARK DIAMOND\c\h01\h02 is a\nvery powerful object.\pIf only I could collect\nall eight of them...\pThen my boss would be\nso proud of me...
    
    #org @m4
    #raw 0x3
    #raw 0xFE
    
    #org @m3
    #raw 0x2
    #raw 0xFE
    
    #org @t3
    = \c\h01\h02But you defeated me.\nI can't believe my whole\lcrew of men were defeated\lby a kid...\pArgh, the boss is going\nto be so upset!\pAnyways, take it.\nI'll just find another one.
    
    #org @t2
    = \c\h01\h02What happened with my machine...\nWhy did it self-destruct like\lthat?\pI don't understand...
    
    #org @t1
    = \c\h01\h08HYPHIS\c\h01\h02: The... The HQ...
    
    #org @m2
    #raw 0x1
    #raw 0xFE
    
    #org @m1
    #raw 0x62
    #raw 0xFE
    Whenever I step into the map, my game just freezes. I'm not sure why. Any solutions?

    Thanks for your time in advanced.
    __________________