View Single Post
Old June 11th, 2009 (4:31 AM).
adiktus's Avatar
adiktus adiktus is offline
    Join Date: May 2008
    Nature: Hardy
    Posts: 248
    Originally Posted by jebees View Post
    Hack of fire red
    I'm using XSE
    And here's my scipt. Btw its a level sciprt
    #dynamic 0x800AE6
    #org @start
    setvar 0x7002 0x1
    pause 0x20
    setflag 0x1000
    applymovement 0x01 @move
    waitmovement 0x0
    msgbox @1 0x6
    applymovement 0x01 @move1
    waitmovement 0x0
    #org @move
    #raw 0x11
    #raw 0x11
    #raw 0x13
    #raw 0x03
    #raw 0xFE
    #org @move1
    #raw 0x10
    #raw 0x10
    #raw 0x12
    #raw 0xFE

    #org @1
    = [red_fr]Grandma[black_fr]: Good morning sweetie. Did\nyou sleep good? You must've been\ltired from the trip from Orre.\p\v\h01: Yeah grandma. The guest\lroom is really comfortable.\p[red_fr]Grandma[black_fr]: Good, now, before you can\lgo off and play with your cousin,-\p\v\h01: Wait, when do I get my\lpokemon grandma, my parents promised\lme I would get one here.\p[red_fr]Grandma[black_fr]: Okay, since you really\lwant one, go to Dr. Cean's lab up\lnorth of here and tell him that I\lsent you. It should be pretty easy\lto find. But after you're\ldone come back down here to my\lhouse. I have a favor of you.\p\v\h01:Okay grandma, see you\llater!
    #org @end

    Wheni come into the room, everything works and such, but when the script is done, there's a textbox, showing random mumbo jumbo and symbols and such.
    So any idea on how to stop said problem from happening?
    Well, if the above suggestions don't work, maybe this would help? Dunno... :\

    Um, do you have a hex editor?

    If so, open it and load the rom. In amap, go to the map with the level script, and then non professional header view.. Select the level script, then note the offset under "Script offset:" and go to that offset in the hex editor. There should be something like "02 70 01 00 XX XX XX 08" where XX is a pointer to the level script itself (the offset of the level script, reversed). Post the next 2 bytes after 08 here.

    If not, open that offset (same, non-prof header view, under "Script offset") in xse and post what the decompiled script is. :\
    *´¨) Love life! Get paid!! Get laid!!!!
    ¸.´¸.*´¨) ¸.*¨) I'm the DiStOrTeD one
    (¸.´ (¸.` * ..:¨¨**¤°¨¨°...............